/* =========================================================================
   ACORDA — Landing Page
   Faithful implementation of the Claude Design reference (Obsidian Slate &
   Burnished Silver). Styling and copy are the reference's; the only additions
   are an "enhancements" block at the end for motion polish (no visual/copy
   changes to the design itself).
   ========================================================================= */
:root{
  --ink:#0B0D0E; --ink-2:#0E1113; --slate:#121517; --slate-2:#171B1E;
  --silver:#8A9598; --silver-2:#6B7578; --chrome:#C9D1D3; --white:#FFFFFF;
  --text-soft:#C2C9CB;
  --line:rgba(255,255,255,.085); --line-2:rgba(255,255,255,.16); --line-3:rgba(255,255,255,.05);
  --font-display:'Geist',system-ui,sans-serif;
  --font-body:'Geist',system-ui,sans-serif;
  --font-mono:'Geist Mono',ui-monospace,monospace;
  --glow:1.3;
  --maxw:1200px;
  --pad-x:clamp(22px,5vw,72px);
  --reveal-dur:.85s;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html,body{margin:0;padding:0;}
body{
  background:var(--ink);
  color:var(--white);
  font-family:var(--font-body);
  font-weight:300;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
::selection{ background:rgba(201,209,211,.22); }
h1,h2,h3,p{margin:0;}
a{color:inherit;text-decoration:none;}

/* ---------- shared ---------- */
.metal{
  background:linear-gradient(174deg,#F6F8F9 2%,#D2DADC 30%,#9AA4A7 62%,#778184 84%,#AAB3B6 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.mono{ font-family:var(--font-mono); }
.eyebrow{ font-family:var(--font-mono); font-size:13px; letter-spacing:.28em;
  text-transform:uppercase; color:var(--silver); font-weight:400; }
.rule{ height:1px; background:var(--line); border:0; width:100%; }
.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding-inline:var(--pad-x); }

/* ---------- nav ---------- */
.nav{ position:fixed; inset:0 0 auto 0; z-index:100; height:72px;
  display:flex; align-items:center;
  border-bottom:1px solid transparent; transition:background .4s ease, border-color .4s ease, backdrop-filter .4s ease; }
.nav.scrolled{ background:rgba(11,13,14,.72); border-bottom-color:var(--line);
  -webkit-backdrop-filter:blur(18px) saturate(140%); backdrop-filter:blur(18px) saturate(140%); }
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; }
.brand{ display:flex; align-items:center; gap:13px; }
.brand .dot{ width:9px; height:9px; border-radius:50%;
  background:radial-gradient(circle at 30% 30%,#EAF0F1,#7E888B); box-shadow:0 0 14px rgba(201,209,211,.4); }
.brand .name{ font-family:var(--font-display); font-weight:500; font-size:20px; letter-spacing:-.01em; }
.nav-right{ display:flex; align-items:center; gap:26px; }
.stealth-pill{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:.2em; text-transform:uppercase; white-space:nowrap;
  color:var(--silver); border:1px solid var(--line-2); border-radius:999px; padding:6px 13px; display:flex; align-items:center; gap:8px; }
.stealth-pill i{ width:6px; height:6px; border-radius:50%; background:#8fb39a; box-shadow:0 0 8px #8fb39a; }
.btn{ font-family:var(--font-body); font-size:14.5px; font-weight:500; letter-spacing:-.005em;
  border-radius:6px; padding:10px 18px; cursor:pointer; border:1px solid transparent;
  transition:transform .18s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
  display:inline-flex; align-items:center; gap:9px; }
.btn-primary{ background:linear-gradient(180deg,#F2F5F6,#C7CFD1); color:#0B0D0E;
  box-shadow:0 1px 0 rgba(255,255,255,.4) inset, 0 6px 20px rgba(0,0,0,.35); }
.btn-primary:hover{ transform:translateY(-1px); box-shadow:0 1px 0 rgba(255,255,255,.5) inset, 0 10px 28px rgba(0,0,0,.45); }
.btn-ghost{ background:transparent; border-color:var(--line-2); color:var(--text-soft); }
.btn-ghost:hover{ border-color:rgba(255,255,255,.34); color:#fff; transform:translateY(-1px); }
.btn .arr{ transition:transform .2s ease; }
.btn:hover .arr{ transform:translate(3px,-0px); }

/* ---------- aurora: hero + problem share one continuous backdrop ---------- */
.aurora{ position:relative; }
.aurora-field{ position:absolute; left:50%; transform:translateX(-50%); top:6%;
  width:min(1900px,170vw); height:132vh; pointer-events:none; z-index:0;
  /* fade the field out toward its lower edge so the glow doesn't hard-clip */
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 46%,transparent 86%);
          mask-image:linear-gradient(180deg,#000 0%,#000 46%,transparent 86%); }
.aurora::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:64%;
  background:linear-gradient(180deg, transparent 0%, rgba(11,13,14,.4) 46%, rgba(11,13,14,.85) 78%, var(--ink) 100%);
  pointer-events:none; z-index:0; }

/* ---------- hero ---------- */
.hero{ position:relative; z-index:1; min-height:100svh; display:flex; align-items:center;
  padding-top:72px; }
.hero .wrap{ position:relative; z-index:2; }
.hero-grid{ position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(80% 60% at 80% -10%, rgba(150,162,165,.06), transparent 55%); }
.hero-inner{ max-width:1040px; }
.hero h1{ font-family:var(--font-display); font-weight:300;
  font-size:clamp(54px,9.2vw,150px); line-height:.92; letter-spacing:-.045em; }
.hero .tagline{ font-family:var(--font-display); font-weight:300;
  font-size:clamp(23px,3.3vw,43px); line-height:1.1; letter-spacing:-.025em;
  color:var(--white); max-width:28ch; margin-top:clamp(24px,4vw,44px); text-wrap:balance; }
.hero .sub{ font-size:clamp(17px,1.5vw,21px); line-height:1.5; color:var(--silver);
  max-width:50ch; margin-top:28px; font-weight:300; }
.hero-cta{ margin-top:clamp(34px,4vw,46px); display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.hero-cta .note{ font-family:var(--font-mono); font-size:12.5px; letter-spacing:.04em; color:var(--silver-2); }
.scroll-cue{ position:absolute; left:50%; bottom:30px; transform:translateX(-50%); z-index:2;
  font-family:var(--font-mono); font-size:11px; letter-spacing:.3em; text-transform:uppercase; color:var(--silver-2);
  display:flex; flex-direction:column; align-items:center; gap:10px; }
.scroll-cue .ln{ width:1px; height:40px; background:linear-gradient(var(--silver-2),transparent); animation:cuePulse 2.6s ease-in-out infinite; }
@keyframes cuePulse{ 0%,100%{opacity:.3; transform:scaleY(.7)} 50%{opacity:1; transform:scaleY(1)} }

.arcs ellipse{ fill:none; }
@media (prefers-reduced-motion:no-preference){
  .arcs{ animation:breathe 7.5s ease-in-out infinite; }
}
body.reduce-motion .arcs{ animation:none !important; }
@keyframes breathe{ 0%,100%{opacity:.6} 50%{opacity:1} }

/* ---------- section frame ---------- */
section.band{ position:relative; z-index:1; padding-block:clamp(96px,13vw,184px); }
#problem{ padding-top:clamp(28px,4vw,56px); }
.band + .band{ border-top:1px solid var(--line); }
.sec-head{ display:flex; flex-direction:column; gap:22px; }
.sec-num{ font-family:var(--font-mono); font-size:12.5px; letter-spacing:.26em; color:var(--silver-2); }
.sec-title{ font-family:var(--font-display); font-weight:300;
  font-size:clamp(33px,5vw,62px); line-height:1.04; letter-spacing:-.03em; max-width:18ch; text-wrap:balance; }
.lead{ font-size:clamp(18px,1.7vw,23px); line-height:1.55; color:var(--text-soft); font-weight:300; max-width:62ch; }
.lead.dim{ color:var(--silver); }
.lead strong{ color:#E7EBEC; font-weight:500; }

/* ---------- problem stats ---------- */
.stat-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:clamp(56px,7vw,88px);
  background:var(--line); border:1px solid var(--line); border-radius:6px; overflow:hidden; }
.stat-cell{ background:var(--ink); padding:clamp(28px,3.4vw,44px) clamp(24px,3vw,40px); display:flex; flex-direction:column; gap:16px; }
.stat-num{ font-family:var(--font-display); font-weight:300; font-size:clamp(46px,6vw,82px); line-height:.95; letter-spacing:-.03em; }
.stat-lab{ font-size:16px; line-height:1.5; color:var(--silver); font-weight:300; max-width:34ch; }
.stat-src{ font-family:var(--font-mono); font-size:11px; letter-spacing:.12em; color:var(--silver-2); text-transform:uppercase; margin-top:auto; padding-top:6px; }

/* ---------- thesis ---------- */
.thesis-words{ display:flex; flex-direction:column; margin-top:clamp(40px,5vw,64px); }
.thesis-word{ display:flex; align-items:baseline; gap:clamp(18px,3vw,42px);
  font-family:var(--font-display); font-weight:300; font-size:clamp(48px,9vw,128px);
  line-height:1.04; letter-spacing:-.045em; padding-block:clamp(14px,1.6vw,22px); }
.thesis-word .ix{ font-family:var(--font-mono); font-size:clamp(13px,1vw,17px); letter-spacing:.2em;
  color:var(--silver-2); transform:translateY(-.7em); font-weight:400; flex:none; }
.thesis-foot{ margin-top:clamp(46px,5vw,70px); border-top:1px solid var(--line); padding-top:46px; }
.thesis-foot p{ font-size:clamp(18px,1.6vw,22px); line-height:1.55; color:var(--text-soft); max-width:none; font-weight:300; }
.thesis-foot p strong{ color:#E7EBEC; font-weight:500; }

/* ---------- credibility band ---------- */
.cred{ display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(40px,6vw,90px); align-items:center; }
.cred .lead{ max-width:38ch; }
.venues-label{ display:block; font-family:var(--font-mono); font-size:11.5px; letter-spacing:.2em;
  text-transform:uppercase; color:var(--silver-2); }
.venues{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.venue{ font-family:var(--font-mono); font-size:13px; letter-spacing:.12em; color:var(--text-soft);
  border:1px solid var(--line-2); border-radius:6px; padding:9px 15px; transition:border-color .25s ease, color .25s ease, transform .25s ease; }
.venue:hover{ border-color:rgba(255,255,255,.34); color:#fff; transform:translateY(-2px); }
.cred-aside{ display:flex; flex-direction:column; gap:1px; background:var(--line);
  border:1px solid var(--line); border-radius:6px; overflow:hidden; }
.cred-item{ background:var(--ink); padding:24px 28px; display:flex; flex-direction:column; gap:8px; }
.cred-item .k{ font-family:var(--font-mono); font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--silver-2); }
.cred-item .v{ font-size:18.5px; color:#E2E7E8; font-weight:300; line-height:1.4; }

/* ---------- founders ---------- */
.team-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(20px,2.6vw,34px); margin-top:clamp(48px,6vw,76px); }
.founder{ display:flex; flex-direction:column; gap:18px; }
.founder .face{ width:100%; aspect-ratio:1/1; border-radius:8px; overflow:hidden;
  border:1px solid var(--line); background:linear-gradient(180deg,var(--slate-2),var(--slate));
  filter:grayscale(1) contrast(1.02); transition:filter .5s ease, transform .5s ease, border-color .5s ease; }
.founder:hover .face{ filter:grayscale(0) contrast(1); transform:translateY(-3px); border-color:var(--line-2); }
.founder .face img{ width:100%; height:100%; object-fit:cover; display:block; }
.founder .f-name{ font-family:var(--font-display); font-weight:400; font-size:clamp(18px,1.5vw,21px); letter-spacing:-.01em; color:#EDF0F1; }
.founder .f-role{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--silver-2); margin-top:7px; }
@media (max-width:760px){ .team-row{ grid-template-columns:repeat(2,1fr); } }

/* ---------- approach (high-level pipeline) ---------- */
#approach .flow{ width:100%; height:clamp(120px,15vw,190px); margin:clamp(46px,6vw,82px) 0 clamp(40px,5vw,64px); display:block; overflow:visible; }
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:6px; overflow:hidden; }
.step{ background:var(--ink); padding:clamp(28px,3.2vw,42px) clamp(24px,2.6vw,36px); display:flex; flex-direction:column; gap:14px; }
.step-n{ font-family:var(--font-mono); font-size:13px; letter-spacing:.2em; color:var(--silver-2); }
.step-t{ font-family:var(--font-display); font-weight:400; font-size:clamp(21px,2vw,27px); letter-spacing:-.02em; color:#EDF0F1; }
.step-d{ font-size:16.5px; line-height:1.55; color:var(--silver); font-weight:300; }
@media (max-width:760px){ .steps{ grid-template-columns:1fr; } }

/* ---------- contact ---------- */
#contact{ position:relative; }
.contact-grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(48px,7vw,110px); align-items:start; margin-top:clamp(50px,6vw,76px); }
.contact-left .sec-title{ max-width:14ch; }
.contact-left .lead{ margin-top:26px; max-width:40ch; }
.contact-meta{ margin-top:46px; display:flex; flex-direction:column; gap:22px; }
.contact-meta a.mail{ font-family:var(--font-display); font-size:clamp(22px,2.4vw,30px); font-weight:300; letter-spacing:-.02em;
  color:var(--white); display:inline-flex; align-items:center; gap:12px; width:fit-content; transition:color .2s; }
.contact-meta a.mail:hover{ color:var(--chrome); }
.contact-meta a.mail .arr{ color:var(--silver-2); transition:transform .2s; }
.contact-meta a.mail:hover .arr{ transform:translateX(4px); color:var(--chrome); }
.contact-meta .where{ font-family:var(--font-mono); font-size:12.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--silver-2); }

.form{ display:flex; flex-direction:column; gap:20px;
  background:linear-gradient(180deg,var(--slate-2),var(--slate)); border:1px solid var(--line);
  border-radius:10px; padding:clamp(28px,3.4vw,40px); }
.frow{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ display:flex; flex-direction:column; gap:9px; }
.field.full{ grid-column:1/-1; }
.field label{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--silver); }
.field label .opt{ color:var(--silver-2); text-transform:none; letter-spacing:.04em; }
.field input, .field select, .field textarea{
  font-family:var(--font-body); font-size:16px; font-weight:300; color:var(--white);
  background:rgba(255,255,255,.025); border:1px solid var(--line-2); border-radius:6px;
  padding:13px 14px; outline:none; transition:border-color .2s ease, background .2s ease, box-shadow .2s ease; width:100%; }
.field textarea{ resize:vertical; min-height:108px; line-height:1.5; }
.field input::placeholder, .field textarea::placeholder{ color:var(--silver-2); }
.field input:focus, .field select:focus, .field textarea:focus{
  border-color:rgba(201,209,211,.5); background:rgba(255,255,255,.05);
  box-shadow:0 0 0 3px rgba(201,209,211,.08); }
.field select{ appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'><path fill='%238A9598' d='M0 0h12L6 7z'/></svg>");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:36px; }
.field select option{ background:#121517; color:#fff; }
.form .btn-primary{ justify-content:center; width:100%; padding:15px; font-size:15.5px; margin-top:4px; }
.form-foot{ font-size:13px; color:var(--silver-2); line-height:1.5; }
.form-foot a{ color:var(--silver); text-decoration:underline; text-underline-offset:2px; }
.form-success{ display:none; flex-direction:column; gap:18px; align-items:flex-start;
  background:linear-gradient(180deg,var(--slate-2),var(--slate)); border:1px solid var(--line-2);
  border-radius:10px; padding:clamp(34px,4vw,52px); min-height:340px; justify-content:center; }
.form-success .chk{ width:46px; height:46px; border-radius:50%; border:1px solid var(--line-2);
  display:flex; align-items:center; justify-content:center; }
.form-success h3{ font-family:var(--font-display); font-weight:300; font-size:30px; letter-spacing:-.02em; }
.form-success p{ color:var(--silver); font-size:16.5px; line-height:1.55; max-width:40ch; }
body.sent .form{ display:none; }
body.sent .form-success{ display:flex; }

/* ---------- footer ---------- */
footer{ border-top:1px solid var(--line); padding-block:46px; }
footer .wrap{ display:flex; align-items:center; justify-content:flex-end; gap:24px; flex-wrap:wrap; }
.foot-brand{ display:flex; align-items:center; gap:11px; font-family:var(--font-display); font-weight:500; font-size:17px; }
.foot-meta{ font-family:var(--font-mono); font-size:12px; letter-spacing:.1em; color:var(--silver-2); display:flex; gap:22px; flex-wrap:wrap; }

/* ---------- reveal ---------- */
[data-reveal]{ opacity:1; transform:none; }
/* default (sections): gradual — slower settle, gentle ramp-up, a touch more delay */
.reveal-js [data-reveal]{ opacity:0; transform:translateY(16px); transition:opacity 1.5s cubic-bezier(.4,0,.25,1), transform 1.5s cubic-bezier(.4,0,.25,1); transition-delay:calc(var(--rd,0s) + .08s); will-change:opacity,transform; }
/* hero keeps its original, slightly crisper cascade (loved as-is) */
.reveal-js .hero [data-reveal]{ transform:translateY(20px); transition:opacity var(--reveal-dur) cubic-bezier(.16,.7,.3,1), transform var(--reveal-dur) cubic-bezier(.16,.7,.3,1); transition-delay:var(--rd,0s); }
.reveal-js [data-reveal].in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ [data-reveal]{ opacity:1 !important; transform:none !important; transition:none; } }
body.reduce-motion [data-reveal]{ opacity:1 !important; transform:none !important; transition:none; }

/* ---------- responsive ---------- */
@media (max-width:900px){
  .stat-row{ grid-template-columns:1fr; }
  .cred{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .nav-right .stealth-pill{ display:none; }
}
@media (max-width:560px){
  .frow{ grid-template-columns:1fr; }
  .nav-right .btn-ghost{ display:none; }
}

/* =========================================================================
   ENHANCEMENTS — motion polish only. No design or copy changes.
   ========================================================================= */

/* magnetic buttons are nudged by JS; keep the transform smooth and composited */
.btn[data-magnetic]{ will-change:transform; }

/* pipeline flow: JS draws the strokes in on scroll (dash set in JS) */
.flow .flow-end-ring{ transform-box:fill-box; transform-origin:center; opacity:0; }
@media (prefers-reduced-motion:no-preference){
  /* ripple: starts at the node's radius and expands outward as it fades */
  .flow .flow-end-ring{ animation:ripple 2.8s ease-out infinite; }
}
@keyframes ripple{
  0%   { opacity:0;   transform:scale(1);   }
  18%  { opacity:.55;                        }
  100% { opacity:0;   transform:scale(2.7); }
}

/* approach tiles reveal after the diagram has fully drawn (JS adds .in) — a touch slower */
.reveal-js .steps[data-reveal]{ transition-duration:1.9s; transition-delay:0s; }

/* gentle continuous drift on the resonance arcs (layered over the CSS breathe) */
.arcs{ transform-box:fill-box; transform-origin:840px 1280px; }

/* respect reduce-motion for every JS-driven flourish */
body.reduce-motion .flow .flow-end-ring{ animation:none !important; opacity:.4; transform:scale(1.5); }
@media (prefers-reduced-motion:reduce){
  .flow .flow-end-ring{ opacity:.4; transform:scale(1.5); }
}
