/* ============================================================
   Tanya Bharara — portfolio
   Editorial minimal + signal motif. Mobile-first, responsive.
   ============================================================ */

:root {
  --paper:      #F7F5F0;
  --paper-2:    #F1ECE2;
  --ink:        #16161A;
  --ink-soft:   #2A2A30;
  --graphite:   #6B6B72;
  --graphite-2: #8A8A90;
  --line:       rgba(20,20,26,.14);
  --line-2:     rgba(20,20,26,.08);
  --accent:     #2B2BEE;
  --accent-ink: #1A1AC4;
  --dark:       #121216;
  --dark-2:     #1A1A20;
  --paper-on-dark: #EDEBE4;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --hand:  "Caveat", cursive;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 80px);
  --radius: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: no-preference) { html.lenis, html.lenis body { height: auto; } }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { width: 100%; }

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* paper grain */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Typography helpers ---------- */
.section-kicker {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--graphite); margin-bottom: 26px;
}
.section-kicker span { color: var(--accent); }
.section-kicker--light { color: var(--paper-on-dark); }
.section-kicker--light span { color: #8f8fff; }
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1.04; letter-spacing: -.02em;
  max-width: 16ch;
}
.section-title--light { color: var(--paper-on-dark); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: .5em;
  font: 500 .95rem/1 var(--sans); letter-spacing: .01em;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); cursor: pointer;
  transition: transform .18s var(--ease), background .2s, box-shadow .2s, color .2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--ink); --fg: var(--paper); }
.btn--primary:hover { box-shadow: 0 12px 30px rgba(20,20,26,.22); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { --fg: var(--paper-on-dark); border-color: rgba(237,235,228,.28); }
.btn--light:hover { border-color: var(--paper-on-dark); }
.btn--lg { padding: 17px 30px; font-size: 1.02rem; }
.linklike { background: none; border: none; font: inherit; color: var(--accent); cursor: pointer; border-bottom: 1px solid currentColor; padding: 0; }
.ico { width: 18px; height: 18px; flex: none; }
.badge-ico { width: 19px; height: 19px; vertical-align: -.28em; color: var(--accent); }
.dictate svg { width: 15px; height: 15px; }
.orb__icon svg { width: 34px; height: 34px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gut);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, padding .3s;
}
.nav.is-scrolled { border-color: var(--line-2); padding-top: 11px; padding-bottom: 11px; }
.nav__mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.06rem; letter-spacing: -.01em; color: var(--ink); }
.nav__wave { width: 40px; height: 18px; color: var(--accent); }
.nav__wave .wv { transition: transform .3s var(--ease); transform-origin: center; }
.nav__links { display: none; gap: 28px; font-size: .92rem; color: var(--graphite); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after { content:""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0; background: var(--accent); transition: width .25s var(--ease); }
.nav__links a:hover::after { width: 100%; }

/* fixed hand-drawn voice cue (bottom-left) — on/off affordance */
.voice-cue {
  position: fixed; left: clamp(16px, 3vw, 34px); bottom: clamp(18px, 4vh, 30px); z-index: 96;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: none; border: none; padding: 6px; color: var(--accent);
  opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.voice-cue.is-ready { opacity: .95; transform: translateY(0); }
.voice-cue:hover { color: var(--accent-ink); }
.voice-cue__arrow { width: 40px; height: auto; }
.voice-cue__arrow .draw { stroke-dasharray: 220; stroke-dashoffset: 220; }
.voice-cue.is-ready .draw { animation: draw 1s .2s var(--ease) forwards; }
.voice-cue__dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.voice-cue__text { font-family: var(--hand); font-size: 1.4rem; line-height: 1; transform: rotate(-3deg); white-space: nowrap; }
.voice-cue.is-on .voice-cue__arrow { display: none; }
.voice-cue.is-on .voice-cue__dot { display: inline-block; animation: cue-pulse 1.4s ease-in-out infinite; }
@keyframes cue-pulse { 0%,100%{opacity:1; transform:scale(1)} 50%{opacity:.35; transform:scale(.8)} }
@keyframes pulse-ring { 0%{box-shadow:0 0 0 0 rgba(43,43,238,.4)} 70%{box-shadow:0 0 0 9px rgba(43,43,238,0)} 100%{box-shadow:0 0 0 0 rgba(43,43,238,0)} }

/* ============================================================
   VOICE HUD
   ============================================================ */
.hud {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(28px);
  z-index: 95; display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; border-radius: 999px; max-width: min(92vw, 560px);
  box-shadow: 0 18px 50px rgba(20,20,26,.3);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .35s var(--ease);
}
.hud.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.hud__eq { display: flex; align-items: center; gap: 3px; height: 22px; }
.hud__eq i { display: block; width: 3px; height: 6px; background: #8f8fff; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.hud__eq i:nth-child(2){animation-delay:.15s} .hud__eq i:nth-child(3){animation-delay:.3s} .hud__eq i:nth-child(4){animation-delay:.45s} .hud__eq i:nth-child(5){animation-delay:.6s}
@keyframes eq { 0%,100%{height:6px} 50%{height:20px} }
.hud__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.hud__label { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #8f8fff; }
.hud__transcript { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* fx + doodles */
.fx-canvas { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.doodle-ball { position: fixed; z-index: 121; width: 46px; height: 46px; left: -90px; top: 30%; pointer-events: none; opacity: 0; }
.doodle-ball svg { width: 100%; height: 100%; }

/* ---------- Cartoony floating command suggestions ---------- */
.suggest-layer { position: fixed; inset: 0; z-index: 93; pointer-events: none; overflow: hidden; }
.suggest { position: absolute; max-width: 66vw; color: var(--accent); opacity: 0; will-change: transform, opacity; }
.suggest__say { font-family: var(--mono); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--graphite); display: block; margin-bottom: 2px; }
.suggest__text { font-family: var(--hand); font-weight: 700; font-size: clamp(1.4rem, 3.6vw, 2.15rem); line-height: 1; white-space: nowrap; display: inline-block; text-shadow: 0 0 7px var(--paper), 0 1px 0 var(--paper), 0 0 2px var(--paper); }
.suggest__say { text-shadow: 0 0 6px var(--paper), 0 0 3px var(--paper); }
.suggest__u { display: block; width: 100%; height: 11px; margin-top: -3px; overflow: visible; }
.suggest__u path { stroke: currentColor; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-dasharray: 240; stroke-dashoffset: 240; }
.suggest.in { animation: pop-in .8s var(--ease) forwards; }
.suggest.in .suggest__text { animation: wobble 3.4s .8s ease-in-out infinite; }
.suggest.out { animation: pop-out 1.05s var(--ease) forwards; }
@keyframes pop-in { 0%{opacity:0; transform: var(--rot,rotate(0)) scale(.72)} 65%{opacity:1; transform: var(--rot,rotate(0)) scale(1.04)} 100%{opacity:1; transform: var(--rot,rotate(0)) scale(1)} }
@keyframes pop-out { 0%{opacity:1} 100%{opacity:0; transform: var(--rot,rotate(0)) scale(.94) translateY(-14px)} }
@keyframes wobble { 0%,100%{transform: rotate(-1.6deg)} 50%{transform: rotate(1.6deg)} }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--gut) 90px; overflow: hidden; }
.hero__wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero__inner { position: relative; z-index: 2; max-width: 20ch; width: 100%; max-width: 900px; }
.hero__eyebrow { font-family: var(--mono); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--graphite); margin-bottom: 22px; }
.hero__title {
  font-family: var(--serif); font-weight: 380; letter-spacing: -.03em; line-height: .98;
  font-size: clamp(2.9rem, 11vw, 8.2rem);
}
.hero__title span { display: block; }
.hero__title em { color: var(--accent); font-style: italic; }
.hero__lead { margin-top: 30px; max-width: 46ch; font-size: clamp(1.02rem, 2vw, 1.28rem); color: var(--ink-soft); }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--graphite); }
.scroll-cue svg { width: 18px; height: 18px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ---------- Scrawl hints ---------- */
.scrawl { position: absolute; z-index: 3; color: var(--accent); pointer-events: none; opacity: 0; transition: opacity .5s; }
body[data-voice="on"] .scrawl.is-live { opacity: .92; }
.scrawl__text { font-family: var(--hand); font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.05; transform: rotate(-4deg); display: inline-block; }
.scrawl__arrow { width: clamp(70px, 9vw, 120px); height: auto; }
.scrawl__arrow .draw { stroke-dasharray: 400; stroke-dashoffset: 400; }
.scrawl.is-live .draw { animation: draw 1.1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.scrawl--hero { right: clamp(16px, 8vw, 120px); bottom: clamp(90px, 16vh, 180px); text-align: center; display: none; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: clamp(80px,12vh,150px) 0; }
.about__statement { font-family: var(--serif); font-weight: 380; font-size: clamp(1.7rem, 4.4vw, 3rem); line-height: 1.1; letter-spacing: -.02em; max-width: 22ch; }
.about__statement em { color: var(--accent); }
.about__body { margin-top: 28px; max-width: 60ch; color: var(--ink-soft); font-size: clamp(1rem,1.6vw,1.16rem); }
.stats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 56px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1; letter-spacing: -.02em; }
.stat__label { font-size: .86rem; color: var(--graphite); }
.about__badge { margin-top: 34px; font-size: 1rem; color: var(--ink-soft); }

/* ============================================================
   WORK / CASES
   ============================================================ */
.work { padding: clamp(60px,9vh,110px) 0; }
.section-title { }
.cases { list-style: none; margin-top: 54px; display: flex; flex-direction: column; gap: 1px; background: var(--line-2); border-block: 1px solid var(--line-2); }
.case { position: relative; background: var(--paper); padding: clamp(30px,5vw,64px) var(--gut); display: grid; gap: 18px; transition: background .3s; }
.case:hover { background: var(--paper-2); }
.case__index { position: absolute; top: clamp(24px,4vw,48px); right: var(--gut); font-family: var(--mono); font-size: .8rem; color: var(--graphite-2); }
.case__head { }
.case__title { font-family: var(--serif); font-weight: 420; font-size: clamp(1.7rem, 4vw, 2.7rem); letter-spacing: -.02em; line-height: 1.02; }
.case__org { font-family: var(--mono); font-size: .78rem; letter-spacing: .05em; color: var(--graphite); margin-top: 8px; }
.case__desc { font-size: clamp(1.05rem,1.9vw,1.3rem); max-width: 60ch; color: var(--ink-soft); }
.case__points { list-style: none; display: grid; gap: 12px; max-width: 68ch; }
.case__points li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: .98rem; }
.case__points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--accent); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li { font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--graphite); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.case__aside { font-size: .9rem; color: var(--graphite); }
.case__aside a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ============================================================
   EXPERIENCE
   ============================================================ */
.exp { padding: clamp(70px,10vh,130px) 0; }
.timeline { list-style: none; margin-top: 48px; }
.tl { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 26px 0; border-top: 1px solid var(--line); }
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl__when { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--graphite); }
.tl__body h3 { font-family: var(--serif); font-weight: 420; font-size: clamp(1.2rem,2.6vw,1.6rem); letter-spacing: -.01em; }
.tl__body h3 span { color: var(--graphite); font-family: var(--sans); font-size: .82em; font-weight: 400; }
.tl__body p { margin-top: 8px; max-width: 66ch; color: var(--ink-soft); font-size: .98rem; }

/* ============================================================
   VOICE LAB (dark)
   ============================================================ */
.lab { background: var(--dark); color: var(--paper-on-dark); padding: clamp(80px,12vh,150px) 0; position: relative; }
.lab__intro { margin-top: 26px; max-width: 58ch; color: #B9B7B0; font-size: clamp(1rem,1.7vw,1.18rem); }
.lab__intro strong { color: var(--paper-on-dark); }
.lab__panel { position: relative; margin-top: 44px; border: 1px solid rgba(237,235,228,.14); border-radius: 20px; padding: clamp(24px,4vw,44px); overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.lab__wave { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.lab__controls { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; min-height: 180px; justify-content: center; }
.lab__live { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.orb { position: relative; width: 92px; height: 92px; border-radius: 50%; border: none; cursor: pointer; background: radial-gradient(circle at 30% 30%, #4a4aff, #1a1ac4); color: #fff; font-size: 32px; display: grid; place-items: center; transition: transform .15s; }
.orb:active, .orb.is-rec { transform: scale(.94); }
.orb__ring { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(143,143,255,.5); opacity: 0; }
.orb.is-rec .orb__ring { animation: orb-ring 1.3s ease-out infinite; }
@keyframes orb-ring { 0%{opacity:.7; transform:scale(1)} 100%{opacity:0; transform:scale(1.5)} }
.lab__io { width: 100%; max-width: 560px; display: grid; gap: 16px; }
.lab__field { display: grid; gap: 6px; }
.lab__field span, .lab__sel { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #8f8fff; }
.lab__heard { font-family: var(--serif); font-size: clamp(1.2rem,3vw,1.8rem); color: var(--paper-on-dark); min-height: 1.4em; line-height: 1.3; }
.lab__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; justify-content: space-between; }
.lab__sel { display: grid; gap: 6px; }
.lab__sel select { font-family: var(--sans); font-size: .9rem; background: var(--dark-2); color: var(--paper-on-dark); border: 1px solid rgba(237,235,228,.2); border-radius: 10px; padding: 10px 12px; }
.lab__type { width: 100%; background: var(--dark-2); color: var(--paper-on-dark); border: 1px solid rgba(237,235,228,.2); border-radius: 10px; padding: 12px 14px; font: 400 1rem var(--sans); }
.lab__type::placeholder { color: #77756e; }
.lab__status { font-family: var(--mono); font-size: .78rem; color: #9a988f; min-height: 1.2em; text-align: center; }
.lab__note { margin-top: 26px; font-size: .84rem; color: #86847c; max-width: 62ch; }

/* ============================================================
   TOOLKIT
   ============================================================ */
.toolkit { padding: clamp(70px,10vh,130px) 0; }
.tk-grid { display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 48px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.tk { background: var(--paper); padding: 30px clamp(22px,3vw,38px); }
.tk h3 { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.tk p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }

/* ============================================================
   RECOGNITION
   ============================================================ */
.beyond { padding: clamp(70px,10vh,130px) 0; }
.beyond__grid { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 48px; }
.award { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px,4vw,42px); overflow: hidden; background: var(--paper); }
.award__spot { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(43,43,238,.16), transparent 70%); top: -160px; right: -120px; opacity: 0; transition: opacity .6s; pointer-events: none; }
.award.is-spot .award__spot { opacity: 1; animation: spot 1.6s var(--ease); }
@keyframes spot { 0%{transform:scale(.4) translate(40px,40px); opacity:0} 40%{opacity:1} 100%{transform:scale(1) translate(0,0); opacity:1} }
.award h3 { font-family: var(--serif); font-weight: 420; font-size: clamp(1.3rem,2.8vw,1.9rem); letter-spacing: -.01em; }
.award p { margin-top: 12px; color: var(--ink-soft); max-width: 52ch; }
.beyond__list { list-style: none; display: grid; gap: 14px; align-content: start; }
.beyond__list li { padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; font-size: 1rem; color: var(--ink-soft); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: clamp(70px,10vh,130px) 0 clamp(60px,8vh,100px); }
.contact__lead { margin-top: 20px; max-width: 50ch; color: var(--ink-soft); font-size: clamp(1rem,1.7vw,1.16rem); }
.contact__cols { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 48px; align-items: start; }
@media (min-width: 820px) { .contact__cols { grid-template-columns: 1.1fr .9fr; gap: 44px; } }
.cform { display: grid; gap: 18px; }
.cform__field { display: grid; gap: 8px; }
.cform__field label { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.cform__field input, .cform__field textarea { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; font: 400 1rem var(--sans); color: var(--ink); resize: vertical; transition: border-color .2s, box-shadow .2s; }
.cform__field input:focus, .cform__field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43,43,238,.14); }
.cform__field.is-dictating input, .cform__field.is-dictating textarea { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43,43,238,.2); }
.cform__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 2px; }
.cform__status { font-family: var(--mono); font-size: .8rem; color: var(--accent); min-height: 1.1em; }
.cform__hint { font-size: .84rem; color: var(--graphite); line-height: 1.6; }
.cform__hint em { color: var(--ink); font-style: normal; font-weight: 500; }

/* contact card (right) */
.reachcard { border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 30px); background: var(--surface); display: grid; align-content: start; }
.reachcard__title { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); margin-bottom: 8px; }
.reachrow { display: grid; gap: 3px; padding: 15px 0; border-top: 1px solid var(--line-2); transition: padding-left .2s var(--ease); }
.reachrow:first-of-type { border-top: none; }
.reachrow:hover { padding-left: 6px; }
.reachrow__k { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite-2); }
.reachrow__v { font-weight: 500; color: var(--ink); word-break: break-word; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { padding: clamp(40px,7vh,80px) 0 40px; border-top: 1px solid var(--line); }
.foot__inner { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot__wave { width: 140px; height: 26px; color: var(--accent); opacity: .7; }
.foot p { font-size: .88rem; color: var(--graphite); }
.foot__made a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(10px); z-index: 130; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; font-size: .9rem; max-width: 88vw; opacity: 0; transition: opacity .3s, transform .3s; box-shadow: 0 14px 40px rgba(0,0,0,.28); }
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   MOTION (reveal) base
   ============================================================ */
.reveal, [data-reveal] { opacity: 0; transform: translateY(22px); }
.is-in .reveal, [data-reveal].is-in, .reveal.is-in { opacity: 1; transform: none; }

/* Voice-mode: heightened state */
body[data-voice="on"] { --accent: #2B2BEE; }
body[data-voice="on"] .hero__wave { opacity: 1; }
.cmd-flash {
  position: fixed; left: 50%; top: 42%; transform: translate(-50%,-50%) scale(.8);
  z-index: 125; font-family: var(--serif); font-size: clamp(2rem,7vw,4.4rem); color: var(--accent);
  pointer-events: none; opacity: 0; letter-spacing: -.02em; text-align: center; padding: 0 20px;
}
.cmd-flash.is-show { animation: cmd 1.1s var(--ease) forwards; }
@keyframes cmd { 0%{opacity:0; transform:translate(-50%,-50%) scale(.8)} 18%{opacity:1; transform:translate(-50%,-50%) scale(1)} 78%{opacity:1} 100%{opacity:0; transform:translate(-50%,-50%) scale(1.04)} }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 680px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .scrawl--hero { display: block; }
  .foot__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .beyond__grid { grid-template-columns: 1.3fr .9fr; align-items: start; }
}
@media (min-width: 820px) {
  .nav__links { display: flex; }
  .tk-grid { grid-template-columns: 1fr 1fr; }
  .tl { grid-template-columns: 200px 1fr; gap: 30px; align-items: baseline; }
}
@media (min-width: 1024px) {
  .case { grid-template-columns: 1.1fr 1fr; grid-template-areas: "head desc" "points points" "chips aside"; column-gap: 40px; }
  .case__head { grid-area: head; } .case__desc { grid-area: desc; align-self: end; }
  .case__points { grid-area: points; margin-top: 8px; } .chips { grid-area: chips; } .case__aside { grid-area: aside; text-align: right; align-self: center; }
}

/* mobile niceties */
@media (max-width: 520px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hud { bottom: 14px; padding: 10px 14px; gap: 10px; }
  .hud__transcript { font-size: .8rem; }
  .voice-cue { bottom: 14px; }
  .voice-cue__text { font-size: 1.18rem; }
  .voice-cue__arrow { width: 32px; }
  .suggest { max-width: 80vw; }
  .suggest__text { white-space: normal; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, [data-reveal] { opacity: 1 !important; transform: none !important; }
  .scroll-cue svg, .hud__eq i, .orb.is-rec .orb__ring, .voice-cue.is-on .voice-cue__dot { animation: none !important; }
  .voice-cue .draw { stroke-dashoffset: 0 !important; animation: none !important; }
  .cmd-flash.is-show { animation: none; opacity: 0; }
  .suggest { transition: opacity .3s; }
  .suggest.in { animation: none !important; opacity: 1; }
  .suggest.in .suggest__text { animation: none !important; }
  .suggest.out { animation: none !important; opacity: 0; }
  * { scroll-behavior: auto !important; }
}
