/* ==========================================================================
   VIBE — design system, 2026 rebuild
   Anthropic structure on a dark ground. Extracted from hero.html so every
   page shares one source of truth; hero.html links this and keeps only its
   canvas-hero rules inline.

   Rules of the system:
     · surface #07080E, flat. No ambient blobs, no glass, no glow stacks.
     · the brand gradient appears ONCE per screen, on one word or one object.
     · mono uppercase micro-labels carry the "lab" read.
     · hairlines at 8-10% alpha instead of cards and shadows.
   ========================================================================== */

   renders as a flat rectangle — and those rectangles ARE the logo. Raising the
   camera is the whole reveal. Nothing is swapped, nothing morphs.

   Changed from skyline.html (the prototype):
     · Materials. The city is near-neutral graphite, lit by one direction.
       Colour is reserved for the ~7% of buildings that are instrumented
       venues, which read as embers. Previously every roof was tinted, which
       is why it looked like a heat map rather than a city.
     · Depth. Per-face vertical gradients, soft contact shadows, facade
       banding on towers, parapet highlights, and a neutral fog that fades the
       far city INTO the page background instead of sitting on top of it.
     · Post. The magenta haze and river wash are gone; bloom is half as strong.
     · Camera. Slower, wider, higher. The type arrives while the city settles.
--------------------------------------------------------------------------- */
@font-face { font-family:'Pepi'; src:url('../fonts/Pepi-Light.otf') format('opentype');    font-weight:300; font-display:swap; }
@font-face { font-family:'Pepi'; src:url('../fonts/Pepi-Regular.otf') format('opentype');  font-weight:400; font-display:swap; }
@font-face { font-family:'Pepi'; src:url('../fonts/Pepi-Medium.otf') format('opentype');   font-weight:500; font-display:swap; }
@font-face { font-family:'Pepi'; src:url('../fonts/Pepi-SemiBold.otf') format('opentype'); font-weight:600; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/Inter-Black.ttf') format('truetype'); font-weight:900; font-display:swap; }
/* Korbin Bold — content headers. NOT the hero H1, which stays Pepi.
   Licensed release (219 glyphs), replacing the Fontspring demo that shipped
   until 2026-09-21. The demo carried 95 glyphs: no em/en dash, no curly
   quotes, no © · × …, which is why headings had to be kept ASCII.
   woff2 first (19 KB); the ttf is the fallback for anything that cannot
   take it. Arrows (←↑→↓) are absent from BOTH releases — keep them out
   of Korbin text. */
@font-face { font-family:'Korbin';
  src:url('../fonts/Korbin-Bold.woff2') format('woff2'),
      url('../fonts/Korbin-Bold.ttf') format('truetype');
  font-weight:700; font-display:swap; }
/* Code Saver — data, values, stats, micro-labels. TRIAL LICENCE: personal use
   only. Buy a commercial licence from dharmatype.com before this deploys. */
@font-face { font-family:'CodeSaver'; src:url('../fonts/CodeSaver-Regular.otf') format('opentype'); font-weight:400; font-display:swap; }

:root{
  --ink:        #07080E;
  --fg:         #F4F3F8;
  --fg-2:       #A9AABC;
  --fg-3:       #6E7085;
  --line:       rgba(226,228,255,0.10);
  --line-2:     rgba(226,228,255,0.20);
  --g-orange:   #FF6B1A;
  --g-pink:     #E91E63;
  --g-magenta:  #D61E7C;
  --g-purple:   #B026FF;
  --grad:       linear-gradient(45deg,#FF6B1A 0%,#E91E63 38%,#D61E7C 62%,#B026FF 100%);
  --gutter:     clamp(22px,5.2vw,80px);
  --maxw:       1340px;
  --mono:       'CodeSaver', ui-monospace,'SF Mono',SFMono-Regular,Menlo,monospace;
  --display:    'Korbin', 'Pepi', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans:       'Pepi',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --ease:       cubic-bezier(.16,1,.3,1);
}
*,*::before,*::after{ margin:0; padding:0; box-sizing:border-box; }
html{ background:var(--ink); }
body{
  font-family:var(--sans); background:var(--ink); color:var(--fg);
  line-height:1.55; -webkit-font-smoothing:antialiased;
}
canvas,svg,img{ display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }


/* ---------- nav ---------- */
.nav{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  width:100%; max-width:var(--maxw); margin:0 auto; padding:24px var(--gutter);
}
/* the hero fades its nav in with the reveal; every other page shows it at once */
.nav--intro{
  opacity:0; transform:translateY(-8px);
  transition:opacity .9s var(--ease), transform .9s var(--ease);
}
.nav--intro.on{ opacity:1; transform:none; }
.brand{ display:flex; align-items:center; gap:11px; }
.brand img{ width:21px; height:auto; }
.brand b{
  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight:900; font-size:19px; letter-spacing:-.035em; line-height:1;
  text-transform:lowercase;
}
.nav nav{ display:flex; gap:32px; font-size:14.5px; color:var(--fg-2); }
.nav nav a{ transition:color .25s var(--ease); }
.nav nav a:hover{ color:var(--fg); }
.pill{
  font-size:14px; font-weight:500; padding:9px 19px; border-radius:99px;
  background:var(--fg); color:var(--ink);
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.pill:hover{ transform:translateY(-1px); opacity:.9; }
/* ---- the menu button + the mobile panel ----
   Below 900px the nav links used to be `display:none` with nothing in their
   place, so a phone could not reach About/Research/Network/App/Venues from
   the header at all -- the footer was the only way through the site.
   The SAME <nav> becomes the panel rather than a duplicated list, so the
   links stay one source of truth and keep their `aria-current`. */
.menu-btn{ display:none; }

@media (max-width:900px){
  .menu-btn{
    display:inline-flex; flex-direction:column; justify-content:center; gap:5px;
    width:44px; height:44px; margin-right:calc(var(--gutter) * -0.32);
    padding:0 10px; background:none; border:0; cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .menu-btn span{
    display:block; height:1.5px; width:100%; background:var(--fg); border-radius:2px;
    transition:transform .34s var(--ease), opacity .2s var(--ease);
  }
  .menu-btn[aria-expanded="true"] span:first-child{ transform:translateY(3.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child{ transform:translateY(-3.25px) rotate(-45deg); }

  /* The header stays above the panel so the mark and the close button are
     reachable while it is open. The panel is a CHILD of .nav, so raising
     .nav alone is not enough -- a positioned descendant paints above its
     parent's own content. The three header items need their own z-index
     inside that context. */
  .nav{ position:relative; z-index:70; }
  .nav > .brand, .nav > .pill, .nav > .menu-btn{ position:relative; z-index:80; }

  .nav nav{
    position:fixed; inset:0; z-index:60;
    display:flex; flex-direction:column; gap:0;
    padding:clamp(84px,22vw,104px) var(--gutter) 40px;
    background:var(--ink); font-size:inherit;
    overflow-y:auto; overscroll-behavior:contain;
    opacity:0; visibility:hidden; pointer-events:none;
    transform:translateY(-10px);
    transition:opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
  }
  .nav nav.open{ opacity:1; visibility:visible; pointer-events:auto; transform:none; }
  .nav nav a{
    font-family:var(--display); font-size:clamp(25px,7.4vw,34px); letter-spacing:-.02em;
    color:var(--fg); padding:18px 0; border-bottom:1px solid var(--line);
  }
  .nav nav a[aria-current="page"]{ color:var(--fg-3); }
  body.menu-open{ overflow:hidden; }
}



.eyebrow{
  display:inline-flex; align-items:center; gap:11px;
  font-family:var(--mono); font-size:10px; font-weight:500;
  letter-spacing:.2em; text-transform:uppercase; color:var(--fg-3);
}
.eyebrow i{
  width:6px; height:6px; border-radius:50%; background:var(--g-pink);
  box-shadow:0 0 0 3px rgba(233,30,99,.15);
  animation:breathe 3.4s ease-in-out infinite;
}
@keyframes breathe{ 0%,100%{ opacity:1 } 50%{ opacity:.45 } }

h1{
  font-weight:400; letter-spacing:-.035em; line-height:.97;
  font-size:clamp(36px, 5.0vw, 72px);
  max-width:21ch;
}

h1 .grad{
  background:var(--grad); -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
.lede{
  font-size:clamp(16px,1.3vw,19px); font-weight:300; line-height:1.6;
  color:var(--fg-2); max-width:44ch;
}
.cta{ display:flex; align-items:center; gap:13px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:13px 22px; border-radius:99px; font-size:15px; font-weight:500;
  background:var(--fg); color:var(--ink);
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.btn:hover{ transform:translateY(-1px); opacity:.92; }
.btn svg{ width:15px; height:15px; }
.btn.ghost{
  background:none; color:var(--fg); border:1px solid var(--line-2);
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.btn.ghost:hover{ border-color:var(--line-2); background:rgba(226,228,255,.06); transform:none; }


/* ========================= below the fold ========================= */
.sec{ border-top:1px solid var(--line); }
.sec .in{ max-width:var(--maxw); margin:0 auto; padding:clamp(72px,10vw,150px) var(--gutter); }

.lbl{
  font-family:var(--mono); font-size:10px; font-weight:500;
  letter-spacing:.2em; text-transform:uppercase; color:var(--fg-3);
}
h2{
  font-family:var(--display); font-weight:700; letter-spacing:-.022em;
  line-height:1.04; font-size:clamp(28px,3.9vw,54px); max-width:17ch;
}
h2 .grad{ background:var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.sec-head{ display:grid; gap:clamp(18px,2vw,26px); margin-bottom:clamp(44px,5.5vw,84px); }
.sec-head p{
  font-size:clamp(15.5px,1.25vw,18px); font-weight:300; line-height:1.62;
  color:var(--fg-2); max-width:56ch;
}
.split{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:clamp(30px,6vw,88px); align-items:start; }
@media (max-width:920px){ .split{ grid-template-columns:1fr; } }

/* hairline card grid */
.cards{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px; background:var(--line); border:1px solid var(--line); }
@media (max-width:860px){ .cards{ grid-template-columns:1fr; } }
.card{ background:var(--ink); padding:clamp(24px,2.6vw,38px); display:grid; gap:11px; align-content:start; }
.card .k{ font-family:var(--mono); font-size:9.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--fg-3); }
.card h3{ font-family:var(--display); font-size:clamp(17px,1.55vw,21px); font-weight:700; letter-spacing:-.015em; margin-top:4px; }
.card p{ font-size:14.5px; font-weight:300; color:var(--fg-2); line-height:1.6; }

/* ---- 02 the instrument ---- */
.meter{ display:grid; gap:18px; }
.meter .meta{ display:flex; justify-content:space-between; align-items:baseline; gap:16px;
  font-family:var(--mono); font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--fg-3); }
.bars{ display:grid; grid-template-columns:repeat(5,1fr); gap:clamp(9px,1.4vw,18px);
  align-items:end; height:clamp(210px,26vw,340px); }
/* the capsule is narrower than its column: the label under it needs the full
   column width for two-line precinct names, the bar does not */
.bar{ position:relative; height:100%; width:78%; justify-self:center; }
.bar .track{ position:absolute; inset:0; border-radius:99px;
  background:rgba(226,228,255,.022); border:1px solid rgba(226,228,255,.09); }
.bar .fill{ position:absolute; left:0; right:0; bottom:0; border-radius:99px; height:14%;
  opacity:.88; background:var(--grad);
  background-size:var(--gw) var(--gh); background-position:var(--gx) bottom;
  transition:height 2.6s var(--ease); }
.bar-labels{ display:grid; grid-template-columns:repeat(5,1fr); gap:clamp(9px,1.4vw,18px); }
.bar-labels div{ border-top:1px solid var(--line); padding-top:11px; }
.bar-labels .n{ display:block; font-family:var(--mono); font-size:9.5px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--fg-3); min-height:3.3em; line-height:1.35; }
.bar-labels .p{ font-family:var(--mono); font-size:clamp(15px,1.4vw,19px); font-weight:400; letter-spacing:0; margin-top:5px; display:block; }

/* ---- 03 the work ---- */
.work{ border-top:1px solid var(--line); }
.work a, .work div.row{
  display:grid; grid-template-columns:minmax(0,7fr) minmax(0,4fr) 26px; gap:clamp(18px,3vw,48px);
  align-items:baseline; padding:clamp(22px,2.4vw,32px) 0; border-bottom:1px solid var(--line);
  transition:background .3s var(--ease), padding-left .3s var(--ease);
}
.work a:hover{ background:rgba(226,228,255,.025); padding-left:14px; }
.work h3{ font-family:var(--display); font-size:clamp(17px,1.7vw,23px); font-weight:700; letter-spacing:-.018em; }
.work .sub{ font-size:14px; font-weight:300; color:var(--fg-2); line-height:1.55; }
.work .meta{ font-family:var(--mono); font-size:9.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--fg-3); margin-top:8px; }
.work .arw{ color:var(--fg-3); font-size:15px; justify-self:end; }
.work a:hover .arw{ color:var(--fg); }
@media (max-width:820px){
  .work a, .work div.row{ grid-template-columns:1fr; gap:10px; }
  .work .arw{ display:none; }
}
.figure{ display:inline-flex; align-items:baseline; gap:9px; margin-top:12px; }
.figure b{ font-family:var(--mono); font-size:clamp(21px,2.2vw,31px); font-weight:400; letter-spacing:-.01em;
  background:var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.figure span{ font-family:var(--mono); font-size:9.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--fg-3); }

/* ---- 04 the network ---- */
.chain{ display:grid; gap:1px; background:var(--line); border:1px solid var(--line); }
.link{ background:var(--ink); padding:clamp(20px,2.2vw,30px) clamp(22px,2.4vw,34px);
  display:grid; grid-template-columns:44px minmax(0,1fr) minmax(0,1.1fr); gap:clamp(16px,2.4vw,34px); align-items:center; }
.link .ix{ font-family:var(--mono); font-size:9.5px; letter-spacing:.14em; color:var(--fg-3); }
.link .nm{ font-family:var(--display); font-size:clamp(15px,1.4vw,19px); font-weight:700; letter-spacing:-.015em; }
.link .nm em{ font-style:normal; display:block; font-family:var(--mono); font-size:9.5px;
  letter-spacing:.14em; text-transform:uppercase; color:var(--fg-3); margin-top:6px; }
.link p{ font-size:14px; font-weight:300; color:var(--fg-2); line-height:1.6; }
@media (max-width:760px){ .link{ grid-template-columns:1fr; gap:10px; } }

/* ---- 05 products ---- */
.prods{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px;
  background:var(--line); border:1px solid var(--line); }
@media (max-width:860px){ .prods{ grid-template-columns:1fr; } }
.prod{ background:var(--ink); padding:clamp(26px,2.8vw,40px); display:grid; gap:13px; align-content:start; min-height:clamp(240px,22vw,300px); }
.prod .tagrow{ display:flex; align-items:center; gap:10px; }
.prod .pill-s{ font-family:var(--mono); font-size:9px; letter-spacing:.14em; text-transform:uppercase;
  padding:4px 9px; border-radius:99px; border:1px solid var(--line-2); color:var(--fg-3); }
.prod .pill-s.live{ border-color:rgba(233,30,99,.45); color:#FF8FB4; }
.prod h3{ font-family:var(--display); font-size:clamp(20px,1.9vw,26px); font-weight:700; letter-spacing:-.02em; }
.prod p{ font-size:14.5px; font-weight:300; color:var(--fg-2); line-height:1.6; }
.prod .go{ margin-top:auto; padding-top:16px; font-size:14px; color:var(--fg-2);
  display:inline-flex; align-items:center; gap:8px; transition:color .25s var(--ease); }
.prod:hover .go{ color:var(--fg); }

/* ---- close ---- */
.close .in{ padding-block:clamp(90px,12vw,180px); }
.close h2{ font-size:clamp(32px,5.4vw,80px); max-width:15ch; letter-spacing:-.035em; }
.close .cta{ margin-top:clamp(30px,4vw,52px); }

/* ---- footer ---- */
footer{ border-top:1px solid var(--line); }
footer .in{ max-width:var(--maxw); margin:0 auto; padding:clamp(48px,5vw,76px) var(--gutter) 34px;
  display:grid; grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr)); gap:clamp(28px,4vw,60px); }
@media (max-width:820px){ footer .in{ grid-template-columns:1fr 1fr; } }
footer .col h4{ font-family:var(--mono); font-size:9.5px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--fg-3); font-weight:500; margin-bottom:16px; }
footer .col a{ display:block; font-size:14px; font-weight:300; color:var(--fg-2); padding:5px 0; }
footer .col a:hover{ color:var(--fg); }
footer .sig .brand{ display:inline-flex; }
footer .sig p{ font-size:13.5px; font-weight:300; color:var(--fg-3); line-height:1.6; max-width:34ch; margin-top:14px; }
footer .base{ max-width:var(--maxw); margin:0 auto; padding:0 var(--gutter) 30px;
  display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap;
  font-family:var(--mono); font-size:9.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--fg-3); }

/* The extruded mark IS the footer wordmark -- it replaced the small
   logo+text lockup rather than sitting under the footer as a separate band.
   The art shipped on a baked rgb(7,7,15) ground (one unit off the page
   surface, but still a rectangle), so it is keyed to transparent and
   composites straight onto the surface.
   It stays a link to home, so it keeps a real alt rather than aria-hidden. */
footer .sig .brand--mark{ display:block; width:max-content; max-width:100%; }
footer .sig .brand--mark img{
  display:block; height:auto; width:clamp(150px,15vw,208px);
  transition:opacity .4s var(--ease);
}
footer .sig .brand--mark:hover img{ opacity:.86; }
footer .sig .brand--mark + p{ margin-top:20px; }

/* ---- scroll reveal ---- */
.rise{ opacity:0; transform:translateY(18px); }
.rise.shown{ opacity:1; transform:none; transition:opacity .9s var(--ease), transform .9s var(--ease); }

@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
</style>
/* ==========================================================================
   Interior pages
   ========================================================================== */
.nav nav a[aria-current="page"]{ color:var(--fg); }

.page-head{ border-bottom:1px solid var(--line); }
.page-head .in{
  max-width:var(--maxw); margin:0 auto;
  padding:clamp(56px,7vw,110px) var(--gutter) clamp(48px,6vw,90px);
  display:grid; gap:clamp(20px,2.4vw,30px); justify-items:start;
}
.page-head h1{ max-width:16ch; }
.page-head .lede{ font-size:clamp(17px,1.45vw,21px); max-width:52ch; }

/* two-column prose */
.duo{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(28px,5vw,80px); }
@media (max-width:820px){ .duo{ grid-template-columns:1fr; } }
.duo p{ font-size:15.5px; font-weight:300; line-height:1.68; color:var(--fg-2); }
.duo p + p{ margin-top:16px; }

/* a plain hairline list of statements */
.rules{ border-top:1px solid var(--line); }
.rules div{
  display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:clamp(18px,3vw,48px); align-items:baseline;
  padding:clamp(20px,2.2vw,30px) 0; border-bottom:1px solid var(--line);
}
@media (max-width:820px){ .rules div{ grid-template-columns:1fr; gap:10px; } }
.rules h3{
  font-family:var(--display); font-weight:700; letter-spacing:-.015em;
  font-size:clamp(16px,1.5vw,20px);
}
.rules p{ font-size:14.5px; font-weight:300; line-height:1.62; color:var(--fg-2); }

/* what it does / never does */
.versus{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px;
  background:var(--line); border:1px solid var(--line); }
@media (max-width:760px){ .versus{ grid-template-columns:1fr; } }
.versus > div{ background:var(--ink); padding:clamp(24px,2.8vw,40px); }
.versus h3{
  font-family:var(--mono); font-size:10px; letter-spacing:.18em;
  text-transform:uppercase; color:var(--fg-3); font-weight:400; margin-bottom:20px;
}
.versus li{ list-style:none; font-size:15px; font-weight:300; color:var(--fg-2);
  padding:11px 0 11px 26px; position:relative; border-top:1px solid var(--line); line-height:1.5; }
.versus li:first-of-type{ border-top:0; }
.versus li::before{
  content:''; position:absolute; left:2px; top:19px;
  width:10px; height:1px; background:var(--fg-3);
}
.versus .no li::before{ background:var(--g-pink); width:10px; }
.versus .no li{ color:var(--fg-2); }

/* numbered stat row */
.stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:1px; background:var(--line); border:1px solid var(--line); }
.stats > div{ background:var(--ink); padding:clamp(22px,2.4vw,32px); }
.stats .v{ font-family:var(--mono); font-size:clamp(24px,2.6vw,36px); letter-spacing:-.02em; }
.stats .v .grad{ background:var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.stats .k{ font-family:var(--mono); font-size:9.5px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--fg-3); margin-top:10px; }

/* a simple ordered walk-through */
.steps{ display:grid; gap:1px; background:var(--line); border:1px solid var(--line); }
.steps > div{ background:var(--ink); padding:clamp(22px,2.4vw,34px);
  display:grid; grid-template-columns:52px minmax(0,1fr); gap:clamp(14px,2vw,30px); align-items:start; }
.steps .n{ font-family:var(--mono); font-size:10px; letter-spacing:.14em; color:var(--fg-3); padding-top:5px; }
.steps h3{ font-family:var(--display); font-weight:700; font-size:clamp(16px,1.5vw,20px);
  letter-spacing:-.015em; margin-bottom:8px; }
.steps p{ font-size:14.5px; font-weight:300; line-height:1.62; color:var(--fg-2); max-width:62ch; }

/* ==========================================================================
   INFORMATION CONTAINERS — hover
   One treatment, one set of tokens, every panel on the site. A cell lifts by
   a few percent, its hairline warms toward the brand, and a single 1px brand
   edge draws along the top. No glow, no scale, no shadow: this system is
   hairlines and flat surfaces, and a hover is not the place to stop being
   that. The whole move is about 4% of surface luminance.

   The four-stop brand gradient still appears only once per screen. This is a
   two-stop tint of it, on ONE element at a time, only while the pointer is on
   it, and gone the moment it leaves.

   Selector list is deliberately explicit rather than a shared .panel class:
   these containers are already built and shipping, and a blanket rule would
   also catch the grid wrappers, whose background IS the hairline.
   ========================================================================== */
:root{
  --hv-wash:  rgba(176,38,255,.05);    /* the surface lift, violet end       */
  --hv-line-a:rgba(176,38,255,.42);    /* top edge, violet                   */
  --hv-line-b:rgba(233,30,99,.42);     /* top edge, magenta                  */
  --hv-rule:  rgba(196,120,255,.22);   /* the warmed hairline                */
}

.card, .prod, .link, .way, .stats > div, .steps > div, .work a, .work div.row{
  position:relative; isolation:isolate;
  transition:background-color .3s var(--ease), box-shadow .3s var(--ease),
             padding-left .3s var(--ease);
}
.card::before, .prod::before, .link::before, .way::before,
.stats > div::before, .steps > div::before,
.work a::before, .work div.row::before{
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(var(--hv-wash), var(--hv-wash));
  opacity:0; transition:opacity .3s var(--ease);
}
.card::after, .prod::after, .link::after, .way::after,
.stats > div::after, .steps > div::after,
.work a::after, .work div.row::after{
  content:''; position:absolute; left:0; right:0; top:0; height:1px;
  z-index:1; pointer-events:none;
  background:linear-gradient(90deg, var(--hv-line-a), var(--hv-line-b));
  opacity:0; transform:scaleX(.35); transform-origin:left center;
  transition:opacity .3s var(--ease), transform .45s var(--ease);
}
.card:hover::before, .prod:hover::before, .link:hover::before, .way:hover::before,
.stats > div:hover::before, .steps > div:hover::before,
.work a:hover::before, .work div.row:hover::before{ opacity:1; }

.card:hover::after, .prod:hover::after, .link:hover::after, .way:hover::after,
.stats > div:hover::after, .steps > div:hover::after,
.work a:hover::after, .work div.row:hover::after{ opacity:1; transform:scaleX(1); }

/* the hairline between cells warms where the pointer is — the grid gap is a
   1px background showing through, so it is reached with a ring rather than a
   border, which would change the cell's box */
.card:hover, .prod:hover, .link:hover, .way:hover,
.stats > div:hover, .steps > div:hover{ box-shadow:0 0 0 1px var(--hv-rule); }

/* .work rows already had a neutral wash and a nudge; keep the nudge, let the
   shared tint replace the wash so the two treatments are the same one */
.work a:hover{ background:none; padding-left:14px; }

@media (prefers-reduced-motion: reduce){
  .card::after, .prod::after, .link::after, .way::after,
  .stats > div::after, .steps > div::after,
  .work a::after, .work div.row::after{ transition:opacity .01s; transform:scaleX(1); }
}

/* ==========================================================================
   LEGAL DOCUMENTS — privacy policy, terms
   A policy is read by someone looking for one clause, not admired, so this is
   a reading column with a contents rail beside it and nothing else. The
   display face is dropped for headings here: Korbin is ASCII-only and legal
   text is full of the characters it cannot set.
   ========================================================================== */
.doc{ max-width:var(--maxw); margin:0 auto; padding:clamp(48px,6vw,86px) var(--gutter) clamp(80px,10vw,150px);
  display:grid; grid-template-columns:200px minmax(0,1fr); gap:clamp(34px,6vw,90px); align-items:start; }
@media (max-width:900px){ .doc{ grid-template-columns:1fr; gap:34px; } }

.doc-toc{ position:sticky; top:96px; display:grid; gap:2px; }
@media (max-width:900px){ .doc-toc{ position:static; } }
.doc-toc b{ display:block; font-family:var(--mono); font-size:9.5px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--fg-3); font-weight:400; margin-bottom:10px; }
.doc-toc a{ font-family:var(--mono); font-size:10.5px; letter-spacing:.04em; color:var(--fg-3);
  padding:5px 0; line-height:1.45; transition:color .2s var(--ease); }
.doc-toc a:hover{ color:var(--fg); }

.doc-body{ max-width:74ch; }
.doc-body h2{
  font-family:var(--sans); font-size:clamp(19px,1.8vw,24px); font-weight:500; letter-spacing:-.018em;
  margin-top:clamp(44px,5vw,70px); padding-top:clamp(20px,2.4vw,30px); border-top:1px solid var(--line);
  scroll-margin-top:96px;
  /* the display scale caps h2 at 17ch so a section title breaks like a poster.
     A clause heading is a label, and its rule has to run the column. */
  max-width:none; line-height:1.25;
}
.doc-body > h2:first-child{ margin-top:0; border-top:0; padding-top:0; }
.doc-body h3{
  font-family:var(--sans); font-size:16px; font-weight:500; letter-spacing:-.01em;
  color:var(--fg); margin-top:30px;
}
.doc-body p{ font-size:15px; font-weight:300; line-height:1.72; color:var(--fg-2); margin-top:14px; }
.doc-body ul{ margin-top:14px; display:grid; gap:9px; }
.doc-body li{
  list-style:none; position:relative; padding-left:20px;
  font-size:15px; font-weight:300; line-height:1.62; color:var(--fg-2);
}
.doc-body li::before{
  content:''; position:absolute; left:0; top:.62em; width:7px; height:1px; background:var(--fg-3);
}
.doc-body li b{ color:var(--fg-2); font-weight:500; }
.doc-body a{ color:var(--fg); text-decoration:underline; text-underline-offset:3px;
  text-decoration-color:var(--line-2); }
.doc-body a:hover{ text-decoration-color:var(--fg); }
/* the all-caps liability clauses are set as written; they are not shouting,
   they are a legal convention, so they get the mono face and a smaller size
   rather than the full display weight */
.doc-body .caps{ font-family:var(--mono); font-size:12.5px; line-height:1.72; letter-spacing:.02em;
  color:var(--fg-2); }
.doc-stamp{ font-family:var(--mono); font-size:9.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--fg-3); }

/* ---------- contact ---------- */
.ways{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));
  gap:1px; background:var(--line); border:1px solid var(--line); }
.way{ background:var(--ink); padding:clamp(24px,2.8vw,40px); display:grid; gap:11px; align-content:start; }
.way .k{ font-family:var(--mono); font-size:9.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--fg-3); }
.way h3{ font-family:var(--display); font-size:clamp(17px,1.6vw,22px); font-weight:700; letter-spacing:-.015em; }
.way p{ font-size:14.5px; font-weight:300; color:var(--fg-2); line-height:1.6; }
.way .go{ margin-top:6px; font-size:14.5px; color:var(--fg); display:inline-flex; align-items:center; gap:8px;
  word-break:break-word; }
.way .go svg{ width:15px; height:15px; flex:none; }

/* ==========================================================================
   MOBILE PASS  (2026-09-21)
   Everything here is phone-only; the desktop composition is untouched.
   ========================================================================== */
@media (max-width:900px){

  /* --- micro-label legibility ---
     The mono labels are 9-9.5px with .14-.18em tracking. That reads on a
     large display at desk distance; on a phone the size is marginal AND the
     tracking works against it, because loose tracking at small sizes breaks
     the word into letters. Up to 11px, tracking eased to .12em. */
  .card .k, .bar-labels .n, .work .meta, .figure span, .link .ix, .link .nm em,
  footer .col h4, footer .base, .stats .k, .doc-toc b, .doc-stamp, .way .k,
  .eyebrow, .lbl{
    font-size:11px; letter-spacing:.12em;
  }
  .prod .pill-s{ font-size:10.5px; letter-spacing:.1em; }

  /* --- touch targets ---
     Footer links were 14px type with 5px padding: about a 24px target, well
     under the 44px guideline, and they sit in a two-column grid where a miss
     hits the neighbour. */
  footer .col a{ padding:11px 0; }
  /* The header wordmark and the attribution link are real links at 25px and
     17px tall. Padding grows the touch target; the negative margin gives the
     space back to the layout, so neither row gets taller. */
  .nav > .brand{ padding:10px 0; margin:-10px 0; }
  footer .base a{ display:inline-block; padding:9px 0; margin:-9px 0; }
  footer .col h4{ margin-bottom:10px; }
  .doc-toc a{ padding:9px 0; }
  .pill{ padding:12px 21px; }

  /* the footer mark is the one thing that should NOT grow on a phone */
  footer .sig .brand--mark img{ width:min(52vw,190px); }
  footer .sig .brand--mark + p{ margin-top:16px; }
}

/* very narrow phones: two columns of footer links get tight */
@media (max-width:430px){
  footer .in{ grid-template-columns:1fr 1fr; gap:26px 18px; }
  footer .sig{ grid-column:1 / -1; }
  footer .base{ flex-direction:column; gap:8px; }
}
