/* Kavea D Guptaa, portfolio (story). Phone first. Content visible without JS. */
:root{
  --sand:#F4EFE6; --sand-2:#EDE7DA; --sand-3:#E3DACA; --paper:#FBF9F5;
  --ink:#18213A; --ink-75:rgba(24,33,58,.84); --ink-55:rgba(24,33,58,.6); --line:rgba(24,33,58,.14);
  --indigo:#1F3355; --indigo-2:#2A4170; --on:#F4EFE6; --on-75:rgba(244,239,230,.86); --on-line:rgba(244,239,230,.2);
  --ox:#6E2430; --blush:#E9C9BE; --clay:#C9877D;
  --display:"Instrument Serif", Georgia, serif;
  --sans:"Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut:20px; --wrap:1180px;
  --ease:cubic-bezier(.2,.7,.2,1);
}
@media (min-width:768px){ :root{ --gut:40px; } }
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{ background:var(--sand); color:var(--ink); font-family:var(--sans); font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:clip; }
img,svg{ display:block; max-width:100%; }
a{ color:inherit; }
.wrap{ max-width:calc(var(--wrap) + 2*var(--gut)); margin:0 auto; padding-inline:var(--gut); }
.d{ font-family:var(--display); font-weight:400; letter-spacing:-.01em; line-height:1.02; }
.d i, .d em{ font-style:italic; color:var(--ox); }
.dark .d i,.dark .d em{ color:var(--blush); }
.kick{ font-size:13px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--ox); }
.dark .kick{ color:var(--blush); }
.lead{ font-size:clamp(17px,1.1vw + 13px,20px); line-height:1.55; color:var(--ink-75); max-width:34em; }
.dark{ background:var(--indigo); color:var(--on); }
.dark .lead{ color:var(--on-75); }
.sec{ padding-block:72px; }
@media (min-width:900px){ .sec{ padding-block:120px; } }
.skip{ position:absolute; left:-999px; } .skip:focus{ left:8px; top:8px; background:var(--ink); color:var(--sand); padding:10px 14px; z-index:99; }

/* nav */
.nav{ position:sticky; top:0; z-index:50; }
.nav::before{ content:""; position:absolute; inset:0; background:rgba(244,239,230,.9); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); z-index:-1; }
.nav__in{ display:flex; align-items:center; justify-content:space-between; height:64px; }
.mark{ display:flex; align-items:center; gap:10px; text-decoration:none; min-height:44px; }
.mark img{ width:34px; height:34px; border-radius:50%; object-fit:cover; }
.mark span{ font-family:var(--display); font-size:22px; line-height:1; }
.links{ display:flex; gap:2px; }
.links a{ display:inline-flex; align-items:center; min-height:44px; padding:0 12px; text-decoration:none; font-size:15px; font-weight:500; color:var(--ink-75); border-radius:999px; }
.links a[aria-current]{ color:var(--ink); background:var(--sand-3); }
.links a.cta{ background:var(--indigo); color:var(--on); margin-left:6px; }
@media (max-width:520px){ .links a:not(.cta){ padding:0 9px; font-size:14px; } .links a.cta{ display:none; } }

/* buttons */
.btn{ display:inline-flex; align-items:center; gap:10px; min-height:52px; padding:0 24px; border-radius:999px; background:var(--indigo); color:var(--on); text-decoration:none; font-weight:600; font-size:16px; transition:transform .2s var(--ease), background .2s; }
.btn:hover{ transform:translateY(-2px); background:var(--ox); }
.btn--light{ background:var(--on); color:var(--ink); }
.btn--light:hover{ background:var(--blush); }
.tlink{ display:inline-flex; align-items:center; gap:8px; min-height:44px; font-weight:600; color:var(--ox); text-decoration:none; border-bottom:1.5px solid currentColor; }
.dark .tlink{ color:var(--blush); }

/* ===== HERO ===== */
.hero{ position:relative; padding-top:28px; overflow:hidden; }
.hero__grid{ display:grid; gap:8px; }
@media (min-width:960px){ .hero__grid{ grid-template-columns:1.05fr .95fr; align-items:end; gap:40px; min-height:calc(100vh - 64px); max-height:900px; } }
.hero h1{ font-size:clamp(46px, 7.6vw + 14px, 104px); margin-top:14px; }
.hero .lead{ margin-top:20px; }
.hero__acts{ display:flex; flex-wrap:wrap; gap:10px 22px; align-items:center; margin-top:28px; }
.hero__copy{ padding-bottom:28px; }
@media (min-width:960px){ .hero__copy{ padding-bottom:96px; } }
.hero__art{ position:relative; height:520px; }
@media (min-width:960px){ .hero__art{ height:min(780px, calc(100vh - 64px)); } }
.arch{ position:absolute; left:50%; bottom:0; transform:translateX(-50%); width:min(88%,460px); height:88%; background:var(--indigo); border-radius:999px 999px 0 0; }
.arch::after{ content:""; position:absolute; inset:14px 14px 0; border:1px solid rgba(244,239,230,.25); border-bottom:0; border-radius:999px 999px 0 0; }
.hero__me{ position:absolute; left:50%; bottom:0; transform:translateX(-50%); height:92%; width:auto; max-width:none; filter:drop-shadow(0 30px 40px rgba(24,33,58,.25)); }
.chip{ position:absolute; z-index:3; background:var(--paper); border-radius:16px; padding:12px 14px; box-shadow:0 18px 40px -18px rgba(24,33,58,.4); max-width:210px; }
.chip b{ display:block; font-family:var(--display); font-size:30px; font-weight:400; line-height:1; color:var(--ink); }
.chip span{ display:block; font-size:13.5px; line-height:1.35; color:var(--ink-75); margin-top:4px; }
.chip--a{ left:0; top:12%; }
.chip--b{ right:0; top:44%; }
.chip--c{ left:4%; bottom:8%; }
@media (min-width:960px){ .chip--a{ left:-4%; } .chip--b{ right:-2%; } }
@media (max-width:420px){ .chip{ max-width:168px; padding:10px 12px; } .chip b{ font-size:25px; } .chip span{ font-size:13px; } }

/* marquee of what she works on */
.ticker{ background:var(--indigo); color:var(--on); overflow:hidden; border-block:1px solid var(--on-line); }
.ticker__in{ display:flex; gap:36px; width:max-content; padding:16px 0; animation:tick 38s linear infinite; }
.ticker span{ font-family:var(--display); font-size:26px; white-space:nowrap; display:flex; align-items:center; gap:36px; }
.ticker span::after{ content:""; width:8px; height:8px; border-radius:50%; background:var(--clay); }
@keyframes tick{ to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){ .ticker__in{ animation:none; flex-wrap:wrap; width:auto; padding-inline:var(--gut); } }

/* ===== TIMELINE ===== */
.tl__head{ display:grid; gap:14px; margin-bottom:40px; }
@media (min-width:900px){ .tl__head{ grid-template-columns:1fr 1fr; align-items:end; gap:60px; } }
.tl__head h2{ font-size:clamp(38px,4vw + 16px,72px); }
.tl{ position:relative; display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; padding:8px var(--gut) 24px; margin-inline:calc(var(--gut) * -1); scroll-padding-inline:var(--gut); scrollbar-width:thin; }
.tl::before{ content:""; position:absolute; left:var(--gut); right:0; top:76px; height:2px; background:repeating-linear-gradient(90deg,var(--ink) 0 6px,transparent 6px 12px); opacity:.25; min-width:2000px; }
.stop{ position:relative; flex:0 0 250px; scroll-snap-align:start; }
.stop__yr{ font-family:var(--display); font-size:44px; line-height:1; height:56px; }
.stop__dot{ width:16px; height:16px; border-radius:50%; background:var(--sand); border:3px solid var(--ink); margin:14px 0 18px; position:relative; z-index:1; }
.stop--big .stop__dot{ background:var(--ox); border-color:var(--ox); box-shadow:0 0 0 6px rgba(110,36,48,.15); }
.stop__card{ background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:18px; min-height:190px; }
.stop--big .stop__card{ background:var(--indigo); color:var(--on); border-color:var(--indigo); }
.stop__card h3{ font-size:17px; font-weight:600; line-height:1.3; }
.stop__card p{ font-size:15px; color:var(--ink-75); margin-top:8px; line-height:1.5; }
.stop--big .stop__card p{ color:var(--on-75); }
.stop__card img{ width:100%; height:120px; object-fit:cover; border-radius:10px; margin-top:12px; }
.tl__hint{ font-size:14px; color:var(--ink-55); margin-top:6px; }
@media (min-width:1200px){ .tl__hint{ display:none; } }

/* ===== SCENES (story) ===== */
.scene{ display:grid; gap:28px; align-items:center; }
@media (min-width:900px){ .scene{ grid-template-columns:1fr 1fr; gap:80px; } .scene--flip .scene__art{ order:2; } }
.scene h2{ font-size:clamp(38px,3.8vw + 16px,68px); margin-top:12px; }
.scene p{ margin-top:16px; }
.scene__art{ position:relative; }
.frame{ border-radius:24px; overflow:hidden; background:var(--sand-3); }
.frame img{ width:100%; height:100%; object-fit:cover; }
.polar{ background:var(--paper); padding:10px 10px 38px; border-radius:6px; box-shadow:0 24px 50px -24px rgba(24,33,58,.45); position:relative; }
.polar figcaption{ position:absolute; left:12px; right:12px; bottom:9px; font-size:14px; color:var(--ink-75); }
.polar img{ width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:3px; }
.stack{ position:relative; max-width:460px; margin-inline:auto; padding:0 6% 14%; }
.stack .polar:first-child{ transform:rotate(-3deg); width:78%; }
.stack .polar:nth-child(2){ position:absolute; right:0; bottom:0; width:52%; transform:rotate(4deg); }
.facts{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:26px; }
.fact{ border-top:2px solid var(--ink); padding-top:10px; }
.fact b{ display:block; font-family:var(--display); font-weight:400; font-size:clamp(30px,2.6vw + 14px,44px); line-height:1; }
.fact span{ display:block; font-size:14px; color:var(--ink-75); margin-top:6px; line-height:1.35; }
.dark .fact{ border-color:var(--on); } .dark .fact span{ color:var(--on-75); }

/* system diagram */
.diagram{ background:var(--paper); border-radius:24px; padding:20px; border:1px solid var(--line); }
.diagram__row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.diagram figure{ margin:0; }
.diagram figcaption{ font-size:14px; line-height:1.4; color:var(--ink-75); margin-top:10px; }
.diagram figcaption b{ display:block; color:var(--ink); font-size:15px; }
.diagram svg{ width:100%; height:auto; background:var(--sand); border-radius:16px; }

/* quote band */
.quote{ text-align:center; }
.quote p{ font-family:var(--display); font-size:clamp(34px,4.4vw + 12px,76px); line-height:1.05; max-width:16ch; margin:0 auto; }
.quote p i{ color:var(--blush); }
.quote span{ display:block; margin-top:22px; font-size:15px; color:var(--on-75); }

/* next / outro */
.next{ display:grid; gap:24px; align-items:center; }
@media (min-width:900px){ .next{ grid-template-columns:1.2fr .8fr; } }
.next h2{ font-size:clamp(40px,4.6vw + 14px,84px); }
.next .polar{ max-width:340px; transform:rotate(2deg); margin-inline:auto; }

/* footer */
.foot{ background:var(--indigo); color:var(--on-75); padding:40px 0; border-top:1px solid var(--on-line); }
.foot__in{ display:flex; flex-wrap:wrap; gap:14px 28px; align-items:center; justify-content:space-between; }
.foot b{ font-family:var(--display); font-weight:400; font-size:28px; color:var(--on); }
.foot nav{ display:flex; gap:6px; flex-wrap:wrap; }
.foot a{ display:inline-flex; align-items:center; min-height:44px; padding:0 10px; text-decoration:none; color:var(--on); }

/* ===== WORK PAGE ===== */
.phero{ padding-top:44px; }
.phero h1{ font-size:clamp(46px,6.6vw + 14px,104px); max-width:14ch; }
.phero .lead{ margin-top:18px; }
.role{ display:grid; gap:20px; }
@media (min-width:960px){ .role{ grid-template-columns:.9fr 1.1fr; gap:64px; align-items:center; } }
.role h2{ font-size:clamp(38px,3.6vw + 16px,64px); }
.cmp{ display:grid; gap:12px; }
@media (min-width:640px){ .cmp{ grid-template-columns:1fr 1fr; } }
.cmp__card{ border-radius:22px; padding:20px; background:var(--paper); border:1px solid var(--line); }
.cmp__card--me{ background:var(--indigo); color:var(--on); border-color:var(--indigo); }
.cmp__card h3{ font-size:15px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
.cmp__card ul{ list-style:none; margin-top:14px; display:grid; gap:10px; }
.cmp__card li{ display:grid; grid-template-columns:22px 1fr; gap:8px; font-size:15.5px; line-height:1.45; }
.cmp__card li::before{ content:"×"; font-weight:700; color:var(--clay); }
.cmp__card--me li::before{ content:"✓"; color:var(--blush); }
.cmp__card--me li{ color:var(--on-75); } .cmp__card--me li b{ color:var(--on); }

.cases__head{ max-width:760px; margin-bottom:36px; }
.cases__head h2{ font-size:clamp(38px,3.8vw + 16px,68px); margin-top:10px; }
.cases__head p{ margin-top:14px; }
.case{ display:grid; gap:0; border-radius:26px; overflow:hidden; border:1px solid var(--line); background:var(--paper); }
.case + .case{ margin-top:16px; }
@media (min-width:900px){ .case{ grid-template-columns:1.05fr .95fr; } }
.case__viz{ background:var(--sand-2); padding:24px; display:flex; flex-direction:column; justify-content:center; min-height:280px; }
.case__body{ padding:24px; }
@media (min-width:900px){ .case__viz,.case__body{ padding:40px; } }
.case__who{ display:inline-block; font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--ox); }
.case__body h3{ font-family:var(--display); font-weight:400; font-size:clamp(30px,2.4vw + 16px,44px); line-height:1.05; margin-top:10px; }
.case__steps{ list-style:none; display:grid; gap:12px; margin-top:20px; }
.case__steps li{ display:grid; grid-template-columns:96px 1fr; gap:12px; font-size:15.5px; line-height:1.5; padding-top:12px; border-top:1px solid var(--line); }
.case__steps li b{ font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-55); padding-top:3px; }
@media (max-width:420px){ .case__steps li{ grid-template-columns:1fr; gap:2px; } }
/* viz: dots */
.dots{ display:grid; grid-template-columns:repeat(25,1fr); gap:4px; }
.dots i{ aspect-ratio:1; border-radius:50%; background:var(--ink); opacity:.85; }
.viz__cap{ display:flex; justify-content:space-between; align-items:flex-end; gap:12px; margin-top:16px; }
.viz__cap b{ font-family:var(--display); font-weight:400; font-size:44px; line-height:1; }
.viz__cap span{ font-size:14px; color:var(--ink-75); line-height:1.35; }
.viz__cap .zero{ color:var(--ox); text-align:right; }
/* viz: bars */
.bars{ display:grid; gap:16px; }
.bar__lab{ display:flex; justify-content:space-between; font-size:14.5px; color:var(--ink-75); margin-bottom:6px; }
.bar__lab b{ color:var(--ink); }
.bar{ height:30px; border-radius:8px; background:rgba(24,33,58,.08); overflow:hidden; }
.bar i{ display:block; height:100%; border-radius:8px; background:var(--ink); }
.bar i.ox{ background:var(--ox); }
/* viz: split coin */
.split{ display:flex; height:64px; border-radius:12px; overflow:hidden; }
.split span{ display:flex; align-items:center; justify-content:center; font-size:13.5px; font-weight:600; color:var(--on); text-align:center; line-height:1.2; padding:0 6px; }
.split__note{ font-size:14px; color:var(--ink-75); margin-top:12px; }

.reviews{ display:grid; gap:14px; }
@media (min-width:900px){ .reviews{ grid-template-columns:1.3fr 1fr; } }
.rev{ border-radius:24px; padding:26px; background:var(--indigo-2); color:var(--on); display:flex; flex-direction:column; justify-content:space-between; gap:20px; }
.rev--big{ background:var(--paper); color:var(--ink); border:1px solid var(--line); }
.rev blockquote{ font-family:var(--display); font-size:clamp(24px,1.6vw + 16px,34px); line-height:1.2; }
.rev--big blockquote{ font-size:clamp(30px,2.6vw + 16px,50px); }
.rev figcaption{ font-size:14.5px; color:var(--on-75); }
.rev--big figcaption{ color:var(--ink-75); }
.revcol{ display:grid; gap:14px; }
.score{ display:flex; align-items:baseline; gap:12px; margin-top:20px; }
.score b{ font-family:var(--display); font-weight:400; font-size:64px; line-height:1; }
.score span{ color:var(--ink-75); font-size:15px; max-width:18em; }

/* ===== ABOUT ===== */
.mosaic{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
@media (min-width:900px){ .mosaic{ grid-template-columns:repeat(4,1fr); grid-auto-rows:220px; gap:14px; } .m-tall{ grid-row:span 2; } .m-wide{ grid-column:span 2; } }
.mosaic figure{ position:relative; margin:0; border-radius:18px; overflow:hidden; background:var(--sand-3); min-height:180px; }
.mosaic img{ width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.mosaic figcaption{ position:absolute; left:10px; right:10px; bottom:10px; background:rgba(251,249,245,.94); border-radius:10px; padding:8px 10px; font-size:13.5px; line-height:1.35; color:var(--ink); }
.beliefs{ display:grid; gap:12px; }
@media (min-width:900px){ .beliefs{ grid-template-columns:repeat(3,1fr); gap:16px; } }
.belief{ border-radius:22px; padding:24px; background:var(--indigo-2); }
.belief p:first-child{ font-family:var(--display); font-size:30px; line-height:1.1; color:var(--on); }
.belief p + p{ margin-top:12px; color:var(--on-75); font-size:15.5px; }
.reach{ display:grid; gap:12px; }
@media (min-width:760px){ .reach{ grid-template-columns:repeat(3,1fr); } }
.reach a{ display:flex; flex-direction:column; gap:6px; padding:22px; border-radius:22px; background:var(--paper); border:1px solid var(--line); text-decoration:none; transition:transform .2s var(--ease), border-color .2s; }
.reach a:hover{ transform:translateY(-3px); border-color:var(--ink); }
.reach b{ font-family:var(--display); font-weight:400; font-size:32px; line-height:1; }
.reach span{ font-size:15px; color:var(--ink-75); }

/* reveal: content visible without JS */
.js .rv{ opacity:0; transform:translateY(24px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .js .rv{ opacity:1; transform:none; } }

/* ---- v2 fixes ---- */
.hero h1{ font-size:clamp(44px, 5.6vw + 14px, 88px); line-height:1.04; max-width:12ch; }
.hero__art{ height:auto; display:flex; flex-direction:column; align-items:center; gap:14px; padding-bottom:40px; }
.archimg{ width:min(100%,420px); aspect-ratio:4/5; border-radius:999px 999px 24px 24px; overflow:hidden; background:var(--indigo); padding:10px; }
.archimg img{ width:100%; height:100%; object-fit:cover; object-position:35% 70%; border-radius:999px 999px 16px 16px; }
.chips{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; width:min(100%,420px); }
.chips .chip{ position:static; max-width:none; padding:12px; border:1px solid var(--line); box-shadow:none; }
.chips .chip b{ font-size:28px; }
@media (min-width:960px){
  .hero__grid{ min-height:0; max-height:none; align-items:center; padding-block:40px 64px; }
  .hero__copy{ padding-bottom:0; }
  .hero__art{ padding-bottom:0; }
  .archimg{ width:440px; }
  .chips{ width:440px; }
}
.ticker{ display:flex; align-items:center; }
.ticker__lab{ flex:none; padding:0 18px 0 var(--gut); font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--blush); background:var(--indigo); position:relative; z-index:1; max-width:110px; line-height:1.3; }
@media (min-width:768px){ .ticker__lab{ max-width:none; } }
.tl__head{ align-items:start; }
.tl{ display:grid; grid-template-columns:1fr; gap:0; overflow:visible; padding:0; margin:0; }
.tl::before{ content:""; position:absolute; left:7px; top:8px; bottom:8px; right:auto; width:2px; height:auto; min-width:0; background:repeating-linear-gradient(180deg,var(--ink) 0 6px,transparent 6px 12px); opacity:.25; }
.stop{ display:grid; grid-template-columns:16px 1fr; column-gap:18px; padding-bottom:18px; flex:none; }
.stop__dot{ grid-column:1; grid-row:1; margin:12px 0 0; }
.stop__yr{ grid-column:2; grid-row:1; height:auto; font-size:40px; margin-bottom:10px; }
.stop__card{ grid-column:2; min-height:0; }
@media (min-width:900px){
  .tl{ grid-template-columns:repeat(4,1fr); gap:16px; }
  .tl::before{ left:0; right:0; top:68px; bottom:auto; width:auto; height:2px; background:repeating-linear-gradient(90deg,var(--ink) 0 6px,transparent 6px 12px); }
  .stop{ display:flex; flex-direction:column; padding:0; }
  .stop__yr{ font-size:48px; height:56px; margin:0; }
  .stop__dot{ margin:4px 0 22px; }
  .stop__card{ flex:1; }
}
.stack{ display:grid; grid-template-columns:1.25fr 1fr; gap:14px; padding:0; align-items:start; }
.stack .polar:first-child{ width:auto; transform:rotate(-2deg); }
.stack .polar:nth-child(2){ position:relative; width:auto; right:auto; bottom:auto; transform:rotate(3deg); margin-top:64px; }
.polar figcaption{ font-size:13.5px; }

.archimg{ padding:6px; }
.archimg img{ object-position:50% 30%; }
.hero__copy{ align-self:center; }
.ticklab{ font-size:12.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-55); padding-bottom:10px; }
.ticker__lab{ display:none; }
.ticker{ -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.tl__head{ grid-template-columns:1fr !important; max-width:820px; }
.stop__big{ display:block; font-weight:400; font-size:56px; line-height:1; margin-top:10px; color:var(--blush); }
.hero .tlink{ align-self:center; }

.next .polar{ width:100%; max-width:380px; }
.next h2 + .lead{ margin-top:24px; }
.diagram{ background:transparent; border:0; padding:0; }
.diagram__row{ gap:14px; }
.diagram svg{ background:var(--sand); }
.diagram figcaption{ color:var(--on-75); font-size:15px; }
.diagram figcaption b{ color:var(--on); font-size:16px; margin-bottom:2px; }
@media (max-width:520px){ .diagram__row{ grid-template-columns:1fr; } }
.scene__art .stack{ max-width:520px; }
.polar{ padding:10px 10px 12px; }
.polar figcaption{ position:static; margin-top:9px; line-height:1.35; }
.kick,.fact span,.d{ text-wrap:balance; }
.diagram svg{ aspect-ratio:240/200; }
.ticker{ -webkit-mask-image:none; mask-image:none; }
.ticker__in{ -webkit-mask-image:none; }

/* ===== v3: visualisations in the site's own language ===== */
.viz svg{ width:100%; height:auto; overflow:visible; }
figure.world,figure.chart,figure.stage,figure.venn,figure.flow{ margin:0; }
.world{ max-width:560px; margin:0 0 44px; }
.world svg,.chart svg,.stage svg,.venn svg,.flow svg,.vs svg{ width:100%; height:auto; overflow:visible; }
.world figcaption,.chart figcaption,.venn figcaption,.flow figcaption,.stage figcaption{ font-size:15px; line-height:1.45; color:var(--ink-75); margin-top:12px; max-width:30em; }
.dark .chart figcaption{ color:var(--on-75); }
.chart{ max-width:520px; margin-inline:auto; padding-top:8px; }
.tl__lab{ font-size:13px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--ox); margin:0 0 18px; padding-top:14px; border-top:1px solid var(--line); }
.tl + .tl__lab{ margin-top:34px; }
@media (min-width:900px){ .tl + .tl__lab{ margin-top:48px; } }
.stage{ max-width:520px; margin:28px 0 8px; }
.next .stage + .lead{ margin-top:14px; }

/* mela vs shop */
.vs{ display:grid; gap:14px; }
@media (min-width:860px){ .vs{ grid-template-columns:1fr 1fr; gap:48px; } }
.vs__col{ border-top:1.5px solid var(--ink); padding-top:16px; }
.vs__col--me{ border-color:var(--ox); }
.vs__tag{ font-family:var(--display); font-size:30px; line-height:1.1; }
.vs__col--me .vs__tag{ color:var(--ox); font-style:italic; }
.vs svg{ margin:18px 0 14px; max-width:420px; }
.vs__col p:last-child{ font-size:16.5px; line-height:1.55; color:var(--ink-75); max-width:32em; }
.vs__note{ margin-top:30px; font-family:var(--display); font-size:clamp(24px,1.6vw + 16px,34px); line-height:1.2; max-width:26em; }

/* inner page hero */
.phero{ padding-top:36px; padding-bottom:56px; }
.phero__grid{ display:grid; gap:28px; align-items:center; }
@media (min-width:960px){ .phero__grid{ grid-template-columns:1.15fr .85fr; gap:64px; } }
.phero h1{ font-size:clamp(44px,5.6vw + 14px,92px); line-height:1.04; max-width:13ch; margin-top:14px; }
.phero .lead{ margin-top:16px; }
.phero .polar{ max-width:360px; margin-inline:auto; transform:rotate(2deg); width:100%; }
.phero .archimg{ margin-inline:auto; max-width:380px; }

.shead{ max-width:820px; margin-bottom:36px; }
.shead h2{ font-size:clamp(36px,3.6vw + 16px,66px); margin-top:10px; }
.shead .lead{ margin-top:14px; }

/* 8 things I own */
.owns{ list-style:none; display:grid; grid-template-columns:1fr; gap:0; counter-reset:o; }
@media (min-width:640px){ .owns{ grid-template-columns:1fr 1fr; column-gap:32px; } }
@media (min-width:1000px){ .owns{ grid-template-columns:repeat(4,1fr); } }
.owns li{ counter-increment:o; border-top:1.5px solid var(--ink); padding:14px 0 22px; display:grid; grid-template-columns:44px 1fr; gap:8px; align-items:baseline; }
.owns li::before{ content:counter(o,decimal-leading-zero); font-family:var(--display); font-size:28px; line-height:1; color:var(--ox); }
.owns b{ display:block; font-family:var(--display); font-weight:400; font-size:25px; line-height:1.1; }
.owns span{ display:block; font-size:15px; color:var(--ink-75); margin-top:6px; line-height:1.45; }
.dark .owns li{ border-color:var(--on-line); } .dark .owns li::before{ color:var(--blush); } .dark .owns span{ color:var(--on-75); }

/* venn */
.split2{ display:grid; gap:32px; align-items:center; }
@media (min-width:900px){ .split2{ grid-template-columns:1fr 1fr; gap:72px; } }
.venn{ max-width:460px; margin-inline:auto; width:100%; }
.means{ list-style:none; display:grid; gap:0; margin-top:22px; }
.means li{ border-top:1px solid var(--line); padding:12px 0; font-size:16.5px; display:grid; grid-template-columns:28px 1fr; }
.means li::before{ content:"→"; color:var(--ox); }
.means li:last-child{ border-bottom:1px solid var(--line); }

/* step lines: diagnose build run, roadmap, clarity call */
.line{ position:relative; display:grid; gap:0; list-style:none; }
.line::before{ content:""; position:absolute; left:7px; top:10px; bottom:10px; width:1.5px; background:currentColor; opacity:.3; }
.line li{ position:relative; padding:0 0 26px 40px; }
.line li::before{ content:""; position:absolute; left:0; top:8px; width:16px; height:16px; border-radius:50%; background:var(--sand); border:1.5px solid currentColor; box-sizing:border-box; }
.dark .line li::before{ background:var(--indigo); }
.line li.hot::before{ background:var(--ox); border-color:var(--ox); }
.dark .line li.hot::before{ background:var(--blush); border-color:var(--blush); }
.line .k{ font-family:var(--display); font-size:34px; line-height:1.05; display:block; }
.line li.hot .k{ color:var(--ox); font-style:italic; } .dark .line li.hot .k{ color:var(--blush); }
.line p{ font-size:16px; line-height:1.55; color:var(--ink-75); margin-top:6px; max-width:30em; }
.dark .line p{ color:var(--on-75); }
@media (min-width:900px){
  .line{ grid-auto-flow:column; grid-auto-columns:1fr; gap:28px; }
  .line::before{ left:0; right:0; top:7px; bottom:auto; width:auto; height:1.5px; }
  .line li{ padding:40px 0 0; }
  .line li::before{ top:0; }
}
.line__note{ margin-top:10px; font-size:15px; color:var(--ink-55); }
.dark .line__note{ color:var(--on-75); }

/* numbers I track */
.tracks{ display:grid; grid-template-columns:1fr 1fr; gap:0 18px; }
@media (min-width:900px){ .tracks{ grid-template-columns:repeat(4,1fr); gap:0 28px; } }
.tracks div{ border-top:1px solid var(--line); padding:14px 0 18px; font-family:var(--display); font-size:24px; line-height:1.12; }
.tracks div:nth-child(1),.tracks div:nth-child(2){ border-top:1.5px solid var(--ink); }
@media (min-width:900px){ .tracks div:nth-child(-n+4){ border-top:1.5px solid var(--ink); } }
.tracks div b{ color:var(--ox); font-weight:400; font-style:italic; }
.changes{ list-style:none; display:grid; gap:0; margin-top:8px; }
.changes li{ border-top:1px solid var(--on-line); padding:14px 0; font-size:17px; color:var(--on-75); display:grid; grid-template-columns:28px 1fr; }
.changes li::before{ content:"✓"; color:var(--blush); }

/* proof stories */
.proofs{ display:grid; gap:16px; }
@media (min-width:960px){ .proofs{ grid-template-columns:repeat(3,1fr); gap:20px; } }
.proof{ background:var(--paper); border:1px solid var(--line); border-radius:22px; padding:22px; display:flex; flex-direction:column; }
.proof__num{ font-family:var(--display); font-size:64px; line-height:1; color:var(--ox); }
.proof__who{ font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-55); margin-top:6px; }
.proof__viz{ margin:18px 0; min-height:120px; display:flex; align-items:center; }
.proof__viz svg{ width:100%; height:auto; overflow:visible; }
.proof__viz img{ width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:12px; }
.proof blockquote{ font-family:var(--display); font-size:23px; line-height:1.22; margin-top:auto; }
.days{ display:grid; grid-template-columns:repeat(10,1fr); gap:6px; width:100%; }
.days i{ aspect-ratio:1; border-radius:50%; border:1.5px solid var(--ink); opacity:.55; }
.days i:last-child{ background:var(--ox); border-color:var(--ox); opacity:1; }

/* reviews */
.revs{ display:grid; gap:14px; }
@media (min-width:760px){ .revs{ grid-template-columns:1fr 1fr; } }
@media (min-width:1100px){ .revs{ grid-template-columns:repeat(3,1fr); } }
.revs figure{ margin:0; border-top:1.5px solid var(--on); padding-top:16px; }
.revs blockquote{ font-family:var(--display); font-size:clamp(23px,1.2vw + 16px,29px); line-height:1.2; color:var(--on); }
.revs figcaption{ margin-top:12px; font-size:14.5px; color:var(--blush); }

/* about: facts row */
.bignums{ display:grid; grid-template-columns:1fr 1fr; gap:18px 14px; }
@media (min-width:900px){ .bignums{ grid-template-columns:repeat(4,1fr); } }
.bignums .fact b{ font-size:clamp(40px,3vw + 20px,64px); }
.life{ display:grid; gap:14px; grid-template-columns:1fr 1fr; }
@media (min-width:900px){ .life{ grid-template-columns:repeat(4,1fr); } }
.life figure{ margin:0; }
.life img{ width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:16px; }
.life figcaption{ font-size:14.5px; line-height:1.4; color:var(--ink-75); margin-top:10px; }
.life figcaption b{ display:block; font-family:var(--display); font-weight:400; font-size:23px; color:var(--ink); line-height:1.1; margin-bottom:3px; }
.cta-end{ text-align:left; }
.cta-end h2{ font-size:clamp(40px,4.6vw + 14px,84px); max-width:14ch; }
.cta-end .lead{ margin-top:18px; }
.tedx{ display:inline-flex; align-items:baseline; gap:10px; margin-top:24px; }
.tedx b{ font-family:var(--display); font-weight:400; font-size:44px; line-height:1; color:var(--blush); }
.tedx span{ color:var(--on-75); font-size:15px; }
.dark .reach a{ color:var(--ink); border-color:transparent; } .dark .reach span{ color:var(--ink-75); }
/* v3 readability: nothing under 14px */
.kick,.tl__lab,.proof__who,.ticklab{ font-size:14px; }
.chips .chip span,.chip span{ font-size:14px; }
.polar figcaption{ font-size:14px; }
@media (max-width:420px){ .chips .chip{ padding:10px; } .chips .chip b{ font-size:25px; } }
.world{ margin-bottom:52px; } .world figcaption{ margin-top:16px; }
.next .stage{ margin-top:36px; }
.foot nav{ margin-left:-10px; }
.story-top{ display:grid; gap:0; }
@media (min-width:1000px){ .story-top{ grid-template-columns:1.25fr .75fr; gap:64px; align-items:end; margin-bottom:56px; } .story-top .tl__head{ margin-bottom:0; } .story-top .world{ margin:0; } }
.tl__lab{ padding-top:18px; }
.chart figcaption{ padding-left:11%; }
.vs__note{ margin-top:48px; }
.proof__viz{ flex:1; justify-content:center; }
.proof blockquote{ margin-top:0; }
.revs{ column-gap:40px; row-gap:36px; }
.cta-end h2{ max-width:20ch; }
figure.world{ margin:0 0 52px; }
@media (min-width:1000px){ figure.world{ margin:0; } }

/* hero clarity pass */
.hero h1{ max-width:16ch; }
.hero .lead{ max-width:30em; }
@media (max-width:959px){ .archimg{ width:min(78%,320px); } .hero__art{ padding-bottom:28px; } }
.chips .chip span{ text-wrap:balance; }
