/* =========================================================
   VENTURE FOUNDRY — Design System
   A foundry casts raw material into precision form.
   We forge startups and ISVs into sellable solutions at scale.
   Palette: charcoal/slate (the cast metal) + ember orange (the forge).
   ========================================================= */

:root{
  /* --- Core palette --- */
  --ink:        #14181D;   /* primary dark surface */
  --ink-soft:   #1B2128;   /* near-black, body text on paper */
  --ink-2:      #1F262E;   /* elevated dark card */
  --ink-3:      #262E37;   /* hairline-adjacent dark surface */
  --slate:      #4A5460;   /* logo grey / secondary ink */
  --slate-soft: #6B7682;   /* muted on dark */
  --steel:      #97A1AB;   /* muted text on dark */
  --paper:      #F7F4EE;   /* warm light background */
  --paper-2:    #EFE8DA;   /* deeper warm card */
  --paper-3:    #E4DCC9;   /* warm border on paper */
  --ember:      #C2551B;   /* primary brand orange */
  --ember-2:    #E2752E;   /* lighter orange / gradient stop */
  --ember-3:    #F4954A;   /* glow highlight */
  --ember-deep: #8E3A12;   /* shadowed orange */

  --line-on-dark: rgba(247,244,238,0.10);
  --line-on-dark-strong: rgba(247,244,238,0.18);
  --line-on-paper: rgba(27,33,40,0.10);
  --line-on-paper-strong: rgba(27,33,40,0.16);

  /* --- Type --- */
  --f-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --container: 1180px;
  --gutter: clamp(24px, 5vw, 64px);

  --ease: cubic-bezier(.22,.68,0,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html,body{ margin:0; padding:0; }
body{
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font-family: inherit; }

::selection{ background: var(--ember); color: #fff; }

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible{
  outline: 2px solid var(--ember-2);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* =========================================================
   EYEBROW / LABEL UTILITY — mono, tracked, stamped-metal feel
   ========================================================= */
.eyebrow{
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ember-2);
}
.eyebrow::before{
  content:'';
  width: 18px; height: 1px;
  background: var(--ember-2);
  display:inline-block;
}
.eyebrow.on-paper{ color: var(--ember); }
.eyebrow.muted{ color: var(--steel); }
.eyebrow.muted::before{ background: var(--steel); }

/* =========================================================
   NAV
   ========================================================= */
.site-nav{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  padding: 20px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled{
  background: rgba(20,24,29,0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 13px 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between; gap: 24px;
  position: relative; z-index: 101;
}
.nav-brand{ display:flex; align-items:center; gap:11px; }
.nav-brand img{ height: 30px; width:auto; }
.nav-brand .wordmark{
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18.5px;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
}
.nav-brand .wordmark em{ color: var(--ember-3); font-style: normal; }

.nav-links{ display:flex; align-items:center; gap: 34px; }
.nav-links a{
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  transition: color .25s var(--ease);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover{ color:#fff; }
.nav-links a.current{ color: var(--ember-3); }

.btn{
  display: inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn-ember{
  background: linear-gradient(135deg, var(--ember-2), var(--ember-deep));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 22px -10px rgba(194,85,27,0.65);
}
.btn-ember:hover{ transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 12px 28px -10px rgba(194,85,27,0.8); }
.btn-ghost-dark{
  border-color: var(--line-on-dark-strong);
  color: #fff;
  background: transparent;
}
.btn-ghost-dark:hover{ border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.04); }
.btn-ghost-paper{
  border-color: var(--line-on-paper-strong);
  color: var(--ink-soft);
  background: transparent;
}
.btn-ghost-paper:hover{ border-color: var(--ember); color: var(--ember); }
.btn-sm{ padding: 10px 18px; font-size: 11.5px; }

.nav-cta-mobile{ display:none; }
.nav-burger{
  display:none; position:relative; z-index:101;
  width:36px; height:36px; align-items:center; justify-content:center;
  background:transparent; border:none; cursor:pointer; padding:0;
}
.nav-burger svg{ transition: opacity .2s var(--ease); }
.nav-burger::before, .nav-burger::after{
  content:''; position:absolute; left:7px; width:22px; height:1.6px; background:#fff;
  opacity:0; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
body.menu-open .nav-burger svg{ opacity:0; }
body.menu-open .nav-burger::before, body.menu-open .nav-burger::after{ opacity:1; }
body.menu-open .nav-burger::before{ transform: rotate(45deg); }
body.menu-open .nav-burger::after{ transform: rotate(-45deg); }
.mobile-menu{ display:none; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 200px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before{
  /* forge glow ambient */
  content:'';
  position:absolute; z-index:-2; top:-30%; right:-10%;
  width: 70vw; height: 70vw; max-width: 900px; max-height:900px;
  background: radial-gradient(circle, rgba(194,85,27,0.20), rgba(194,85,27,0) 65%);
  pointer-events:none;
}
.hero::after{
  content:'';
  position:absolute; z-index:-2; inset:0;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0) 70%);
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,0.85fr);
  gap: 48px;
  align-items: center;
}
.hero-eyebrow{ margin-bottom: 26px; }
.hero h1{
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #fff;
}
.hero h1 em{
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--ember-3), var(--ember) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede{
  margin-top: 26px;
  max-width: 50ch;
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--steel);
}
.hero-ctas{ display:flex; gap:16px; margin-top: 40px; flex-wrap:wrap; }
.hero-meta{
  margin-top: 56px;
  display:flex; gap: 34px; flex-wrap:wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line-on-dark);
}
.hero-meta div{ font-family: var(--f-mono); font-size: 12px; color: var(--slate-soft); letter-spacing:.04em; }
.hero-meta strong{ display:block; color:#fff; font-size: 13.5px; font-weight:500; margin-bottom:4px; letter-spacing: 0.02em;}

/* pour-line signature graphic */
.hero-mark{ position:relative; }
.hero-mark svg{ width:100%; height:auto; overflow:visible; }
.pour-line{
  fill:none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pour-line.l1{ stroke:#3A434D; stroke-width:3; }
.pour-line.l2{ stroke:#525C68; stroke-width:3; }
.pour-line.l3{ stroke: url(#emberGrad); stroke-width:3.4; }
.pour-dot{ fill: var(--ember-3); }

.draw{
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: drawLine 2.2s var(--ease) forwards;
}
.draw.delay1{ animation-delay: .15s; }
.draw.delay2{ animation-delay: .32s; }
@keyframes drawLine{ to{ stroke-dashoffset: 0; } }
.hero-mark .pulse{
  opacity:0;
  animation: fadeUp 1s var(--ease) forwards;
  animation-delay: 1.9s;
}
@keyframes fadeUp{ from{ opacity:0; transform: translateY(6px);} to{ opacity:1; transform:none; } }

/* =========================================================
   SECTION SCAFFOLDING
   ========================================================= */
section{ position:relative; }
.sec{ padding: 108px 0; }
.sec-tight{ padding: 80px 0; }
.on-dark{ background: var(--ink); color: #fff; }
.on-paper{ background: var(--paper); color: var(--ink-soft); }
.on-paper-2{ background: var(--paper-2); color: var(--ink-soft); }

.sec-head{ max-width: 680px; margin-bottom: 56px; }
.sec-head h2{
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-top: 18px;
}
.sec-head h2 em{ font-style: italic; font-weight: 500; color: var(--ember); }
.on-dark .sec-head h2 em{ color: var(--ember-3); }
.sec-head p{ margin-top: 18px; font-size: 17px; color: var(--slate-soft); max-width: 56ch; }
.on-dark .sec-head p{ color: var(--steel); }

.rule{
  height:1px; border:none;
  background: linear-gradient(90deg, var(--slate) 0%, var(--ember) 55%, var(--ember-3) 100%);
  opacity:.55;
}
.rule.on-paper{ background: linear-gradient(90deg, rgba(27,33,40,0.18) 0%, var(--ember) 55%, var(--ember-3) 100%); opacity:.7;}

/* =========================================================
   TRUST / PROGRAMS STRIP
   ========================================================= */
.strip{
  background: var(--ink-2);
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  padding: 26px 0;
  overflow:hidden;
}
.strip-row{
  display:flex; align-items:center; gap:42px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--steel);
  flex-wrap: wrap;
  justify-content: center;
}
.strip-row span.dot{ color: var(--ember-2); }

/* =========================================================
   BRIDGE / FLOW DIAGRAM
   ========================================================= */
.bridge-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center;
}
.bridge-copy p + p{ margin-top:16px; }
.bridge-copy p{ color: var(--slate-soft); font-size: 16.5px; }
.bridge-list{ margin-top: 28px; display:grid; gap: 14px; }
.bridge-list li{
  display:flex; gap:12px; align-items:flex-start;
  font-size: 15.5px; color: var(--ink-soft);
}
.bridge-list svg{ flex:none; margin-top:3px; }

.flow{
  background: var(--ink);
  border-radius: 18px;
  padding: 40px 30px;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(20,24,29,0.45);
}
.flow-node{
  display:flex; align-items:center; gap:14px;
  padding: 16px 18px;
  background: var(--ink-2);
  border: 1px solid var(--line-on-dark);
  border-radius: 12px;
  position:relative; z-index:2;
}
.flow-node .ic{
  width:38px; height:38px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  background: var(--ink-3); flex:none;
}
.flow-node strong{ display:block; color:#fff; font-size:14.5px; font-weight:600; letter-spacing:.01em; }
.flow-node span{ display:block; color: var(--steel); font-size:12.5px; margin-top:2px; }
.flow-node.accent{ border-color: rgba(226,117,46,0.4); background: linear-gradient(135deg, rgba(226,117,46,0.14), rgba(194,85,27,0.05)); }
.flow-node.accent .ic{ background: linear-gradient(135deg, var(--ember-2), var(--ember-deep)); }
.flow-connector{
  width:1px; height: 30px; margin: 0 0 0 37px;
  background: linear-gradient(180deg, var(--slate), var(--ember));
  position:relative; z-index:1;
}

/* =========================================================
   TIER / PROCESS CARDS
   ========================================================= */
.tiers{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tier-card{
  background: #fff;
  border: 1px solid var(--line-on-paper);
  border-radius: 16px;
  padding: 34px 30px 30px;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.tier-card:hover{ transform: translateY(-5px); box-shadow: 0 24px 48px -28px rgba(27,33,40,0.28); border-color: rgba(194,85,27,0.35); }
.tier-num{
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--ember);
  letter-spacing: .08em;
  display:flex; align-items:center; gap:10px;
  margin-bottom: 22px;
}
.tier-num::after{ content:''; height:1px; flex:1; background: var(--line-on-paper-strong); }
.tier-card h3{
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
}
.tier-card p.desc{ color: var(--slate-soft); font-size: 15px; margin-bottom: 20px; }
.tier-card ul{ display:grid; gap:10px; }
.tier-card ul li{
  font-size: 14px; color: var(--ink-soft);
  display:flex; gap:9px; align-items:flex-start;
  padding-top: 10px;
  border-top: 1px solid var(--line-on-paper);
}
.tier-card ul li:first-child{ border-top:none; padding-top:0; }
.tier-card ul li svg{ flex:none; margin-top:3px; }
.tier-foot{
  margin-top: 22px; padding-top:18px; border-top:1px dashed var(--line-on-paper-strong);
  font-family: var(--f-mono); font-size: 11.5px; color: var(--steel); letter-spacing:.04em;
}

/* =========================================================
   STAT BAND
   ========================================================= */
.stats{
  display:grid; grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--line-on-dark);
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}
.stat-cell{ background: var(--ink); padding: 38px 30px; }
.stat-cell .num{
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(26px,2.6vw,34px);
  background: linear-gradient(100deg, #fff, var(--ember-3) 130%);
  -webkit-background-clip: text; background-clip:text; color:transparent;
}
.stat-cell .lab{ margin-top: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing:.04em; color: var(--steel); line-height:1.5; }

/* =========================================================
   WHO ITS FOR
   ========================================================= */
.fit-grid{ display:grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items:start; }
.fit-list{ display:grid; gap:0; }
.fit-list li{
  display:flex; gap:16px; align-items:flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--line-on-paper);
}
.fit-list li:first-child{ border-top:none; padding-top:0; }
.fit-list .tag{
  font-family: var(--f-mono); font-size:11px; letter-spacing:.06em;
  color: var(--ember); border:1px solid rgba(194,85,27,0.35); border-radius:999px;
  padding: 5px 11px; flex:none; margin-top:2px; text-transform: uppercase;
}
.fit-list h4{ font-family: var(--f-display); font-weight:600; font-size:18px; margin-bottom:5px; }
.fit-list p{ color: var(--slate-soft); font-size: 14.5px; }

.not-card{
  background: var(--ink); color:#fff; border-radius:18px; padding: 34px 30px;
}
.not-card h4{ font-family: var(--f-mono); font-size:12px; letter-spacing:.08em; color: var(--steel); text-transform:uppercase; margin-bottom:18px;}
.not-card ul{ display:grid; gap:16px; }
.not-card li{ font-size:14.5px; line-height:1.55; color: var(--steel); padding-left:16px; position:relative; }
.not-card li::before{ content:''; position:absolute; left:0; top:8px; width:6px; height:1px; background: var(--ember-3); }
.not-card li b{ color:#fff; font-weight:500; }

/* =========================================================
   FOUNDERS (teaser on index, full on about)
   ========================================================= */
.founders{ display:grid; grid-template-columns: repeat(2,1fr); gap: 30px; }
.founder-card{
  background:#fff; border:1px solid var(--line-on-paper); border-radius: 18px; overflow:hidden;
  display:grid; grid-template-columns: 180px 1fr;
}
.founder-card .ph{ position:relative; overflow:hidden; background: var(--ink); }
.founder-card .ph img{ width:100%; height:100%; object-fit:cover; filter: grayscale(28%) contrast(1.06); }
.founder-card .ph::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(160deg, rgba(194,85,27,0.18), rgba(20,24,29,0.22));
  mix-blend-mode: multiply;
}
.founder-body{ padding: 26px 24px; }
.founder-body .role{ font-family: var(--f-mono); font-size:11px; letter-spacing:.07em; color: var(--ember); text-transform:uppercase; }
.founder-body h3{ font-family: var(--f-display); font-size:21px; font-weight:600; margin-top:6px; }
.founder-body p{ font-size:14px; color: var(--slate-soft); margin-top:10px; }
.founder-link{ margin-top:14px; display:inline-flex; align-items:center; gap:7px; font-family: var(--f-mono); font-size:11.5px; color: var(--ink-soft); border-bottom:1px solid var(--line-on-paper-strong); padding-bottom:3px;}
.founder-link:hover{ color: var(--ember); border-color: var(--ember); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band{
  background: linear-gradient(120deg, var(--ink) 0%, #20140C 120%);
  color:#fff; border-radius: 22px; padding: 64px 56px;
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band::before{
  content:''; position:absolute; right:-80px; top:-80px; width:280px; height:280px; border-radius:50%;
  background: radial-gradient(circle, rgba(226,117,46,0.35), transparent 70%);
}
.cta-band h2{ font-family: var(--f-display); font-weight:600; font-size: clamp(26px,3vw,36px); max-width:18ch; line-height:1.15; }
.cta-band p{ color: var(--steel); margin-top:10px; max-width: 46ch; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--ink); color: var(--steel); padding: 72px 0 30px; border-top: 1px solid var(--line-on-dark); }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img{ height: 30px; margin-bottom:18px; }
.footer-brand p{ font-size: 14px; max-width: 30ch; color: var(--slate-soft); }
.footer-col h5{ font-family: var(--f-mono); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:#fff; margin-bottom:18px; }
.footer-col ul{ display:grid; gap:11px; }
.footer-col a{ font-size:14px; color: var(--steel); transition: color .2s; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  padding-top: 26px; border-top:1px solid var(--line-on-dark);
  font-size: 12.5px; color: var(--slate-soft);
}
.footer-bottom .legal-note{ max-width: 70ch; font-size:11.5px; line-height:1.6; color: var(--slate-soft); }
.footer-social{ display:flex; gap:14px; }
.footer-social a{ width:34px; height:34px; border:1px solid var(--line-on-dark-strong); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ border-color: var(--ember-2); color: var(--ember-3); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal-stagger > *{ opacity:0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform:none; }
.reveal-stagger.in > *:nth-child(1){ transition-delay: .03s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay: .11s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay: .19s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay: .27s; }

/* =========================================================
   ABOUT PAGE SPECIFIC
   ========================================================= */
.about-hero{ padding: 188px 0 90px; background: var(--ink); color:#fff; position:relative; overflow:hidden; }
.about-hero::before{
  content:''; position:absolute; z-index:0; top:-20%; left:-10%;
  width: 60vw; height:60vw; max-width:760px; max-height:760px;
  background: radial-gradient(circle, rgba(194,85,27,0.16), transparent 65%);
}
.about-hero-inner{ position:relative; z-index:1; max-width: 920px; }
.pull-quote{
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.32;
  margin-top: 24px;
  color: #fff;
}
.pull-quote em{ color: var(--ember-3); font-style: italic; }

.story-grid{ display:grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.story-grid .num-label{ font-family: var(--f-mono); font-size:12.5px; color: var(--ember); letter-spacing:.08em; }
.story-copy p{ font-size: 16.5px; color: var(--ink-soft); }
.story-copy p + p{ margin-top: 18px; }
.story-copy strong{ font-weight: 600; }

.founders-full{ display:grid; gap: 56px; }
.founder-full{
  display:grid; grid-template-columns: 300px 1fr; gap: 44px; align-items:start;
}
.founder-full .ph{
  position:relative; border-radius: 18px; overflow:hidden; aspect-ratio: 1/1;
  background: var(--ink);
}
.founder-full .ph img{ width:100%; height:100%; object-fit:cover; filter: grayscale(25%) contrast(1.05); }
.founder-full .ph::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(165deg, rgba(226,117,46,0.16), rgba(20,24,29,0.28) 80%);
  mix-blend-mode: multiply;
}
.founder-full .ph .frame{
  position:absolute; inset:14px; border:1px solid rgba(255,255,255,0.35); border-radius:10px; pointer-events:none;
}
.founder-full-body .role{ font-family: var(--f-mono); font-size:12px; letter-spacing:.08em; color: var(--ember); text-transform:uppercase; }
.founder-full-body h3{ font-family: var(--f-display); font-weight:600; font-size: 30px; margin-top:8px; }
.founder-full-body .tagline{ font-family: var(--f-body); font-style:italic; color: var(--slate-soft); font-size: 16px; margin-top: 6px; }
.founder-full-body p.bio{ margin-top:18px; color: var(--ink-soft); font-size:15.5px; max-width: 64ch; }
.founder-full-body p.bio + p.bio{ margin-top: 12px; }
.chips{ display:flex; flex-wrap:wrap; gap:9px; margin-top: 18px; }
.chip{
  font-family: var(--f-mono); font-size:11px; letter-spacing:.04em;
  border:1px solid var(--line-on-paper-strong); border-radius:999px; padding:6px 12px; color: var(--ink-soft);
}
.founder-links{ margin-top:20px; display:flex; gap:14px; align-items:center; }
.founder-links a{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--f-mono); font-size:12px; color: var(--ink-soft);
  border-bottom: 1px solid var(--line-on-paper-strong); padding-bottom:3px;
}
.founder-links a:hover{ color: var(--ember); border-color: var(--ember); }

.principles{ display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.principle{ padding: 0; }
.principle .ic{
  width:46px; height:46px; border-radius:12px;
  background: var(--ink); display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.principle h4{ font-family: var(--f-display); font-weight:600; font-size:18px; margin-bottom:8px; }
.principle p{ font-size: 14px; color: var(--slate-soft); }

.compliance-card{
  display:grid; grid-template-columns: 1fr 1fr; gap:0;
  background:#fff; border:1px solid var(--line-on-paper); border-radius:18px; overflow:hidden;
}
.compliance-card .cc-copy{ padding: 44px 40px; }
.compliance-card .cc-list{ padding: 44px 40px; background: var(--paper-2); }
.cc-list dl{ display:grid; gap:18px; }
.cc-list dt{ font-family: var(--f-mono); font-size:11px; letter-spacing:.06em; color: var(--ember); text-transform:uppercase; }
.cc-list dd{ margin:4px 0 0; font-size:15px; color: var(--ink-soft); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-mark{ order:-1; max-width: 420px; margin: 0 auto 10px; }
  .hero{ padding-top: 150px; }
  .bridge-grid{ grid-template-columns:1fr; gap:40px; }
  .tiers{ grid-template-columns:1fr; }
  .stats{ grid-template-columns: repeat(2,1fr); }
  .fit-grid{ grid-template-columns:1fr; }
  .founders{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .story-grid{ grid-template-columns:1fr; gap:24px; }
  .founder-full{ grid-template-columns:1fr; }
  .founder-full .ph{ max-width: 280px; }
  .principles{ grid-template-columns: repeat(2,1fr); }
  .compliance-card{ grid-template-columns:1fr; }
}

@media (max-width: 760px){
  .nav-links{ display:none; }
  .nav-cta-desktop{ display:none; }
  .nav-burger{ display:flex; }
  .mobile-menu{
    position:fixed; inset:0; z-index: 99;
    background: var(--ink); flex-direction:column; padding: 110px 32px 40px;
    gap: 6px;
  }
  body.menu-open .mobile-menu{ display:flex; }
  .mobile-menu a{
    font-family: var(--f-display); font-size: 28px; color:#fff; padding: 14px 0;
    border-bottom: 1px solid var(--line-on-dark);
  }
  .mobile-menu .btn{ margin-top: 26px; align-self:stretch; width:100%; white-space:normal; text-align:center; }
  .hero{ padding-top:130px; padding-bottom: 80px; }
  .hero-ctas{ flex-direction:column; align-items:stretch; }
  .hero-ctas .btn{ width:100%; }
  .sec{ padding: 72px 0; }
  .cta-band{ padding: 40px 26px; flex-direction:column; align-items:flex-start; }
  .cta-actions{ width:100%; }
  .cta-actions .btn{ flex:1; }
  .footer-grid{ grid-template-columns:1fr; gap:30px; }
  .principles{ grid-template-columns:1fr; }
  .stats{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px){
  .founder-card{ grid-template-columns: 1fr; }
  .founder-card .ph{ aspect-ratio: 16/9; }
}

/* =========================================================
   2026-10 UPDATE — JOURNEY MAP, ENGINES, LOOP
   ========================================================= */
.wrap.wide{ max-width: 1320px; }
.nav-links{ gap: 26px; }

/* ---- Journey (redesigned process slide) ---- */
.journey{ background: var(--ink); position: relative; overflow: hidden; isolation: isolate; }
.journey::before{
  content:''; position:absolute; z-index:-1; top:-25%; left:-12%; width:60vw; height:60vw; max-width:760px; max-height:760px;
  background: radial-gradient(circle, rgba(194,85,27,0.14), transparent 65%); pointer-events:none;
}
.jmap{ display:grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 12px; }
.jstep{
  position: relative;
  display:flex; flex-direction:column;
  background: var(--ink-2);
  border: 1px solid var(--line-on-dark);
  border-radius: 16px;
  padding: 22px 18px 18px;
  min-height: 372px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.jstep:hover{ transform: translateY(-4px); border-color: rgba(226,117,46,0.45); background: #222A33; }
.jstep:not(:last-child)::after{
  content:''; position:absolute; top: 40px; right:-13px; width:13px; height:1px; background: var(--ember-2);
}
.jstep:not(:last-child)::before{
  content:''; position:absolute; top: 37px; right:-14px; width:6px; height:6px; border-radius:50%; background: var(--ember-2); z-index:2;
}
.jtop{ display:flex; justify-content:space-between; align-items:flex-start; }
.jnum{
  width: 36px; height: 36px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--f-mono); font-weight:600; font-size:15px; color:#fff;
  background: linear-gradient(135deg, var(--ember-2), var(--ember-deep));
  box-shadow: 0 6px 16px -6px rgba(194,85,27,0.7);
  position:absolute; top:20px; left:18px;
}
.jicon{ position:absolute; top:20px; right:16px; width:28px; height:28px; color: var(--ember-3); opacity:.9; }
.jicon svg{ width:100%; height:100%; display:block; }
.jkick{
  margin-top: 56px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing:.12em; text-transform: uppercase; color: var(--ember-3);
}
.jstep h3{
  font-family: var(--f-display); font-weight:600; font-size: 19px; line-height:1.2; color:#fff; margin: 8px 0 12px;
}
.jstep p{ font-size: 13.5px; line-height:1.55; color: var(--steel); flex:1; }
.jtag{
  margin-top: 18px; padding: 11px 12px; text-align:center;
  border: 1px dashed rgba(247,244,238,0.26); border-radius: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing:.03em; color:#fff; line-height:1.4;
}
.jstep.final{
  background: linear-gradient(165deg, rgba(226,117,46,0.30), rgba(142,58,18,0.42) 90%);
  border-color: rgba(244,149,74,0.55);
}
.jstep.final .jnum{ background: var(--amber, #F2A33D); color: var(--ink); box-shadow: 0 6px 16px -6px rgba(242,163,61,0.7); }
.jstep.final p{ color: #F1E6DA; }
.jstep.final .jtag{ border-color: rgba(255,255,255,0.45); }

/* ---- Engine lanes beneath the journey ---- */
.lanes-head{
  display:flex; align-items:center; gap:16px; margin: 44px 0 16px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing:.14em; text-transform:uppercase; color: var(--steel);
}
.lanes-head::after{ content:''; flex:1; height:1px; background: var(--line-on-dark-strong); }
.lanes{
  display:grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 10px 12px;
}
.lane{
  display:flex; flex-wrap:wrap; align-items:baseline; gap: 2px 12px;
  padding: 12px 16px 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(226,117,46,0.28);
  border-left: 3px solid var(--ember-2);
  background: linear-gradient(100deg, rgba(226,117,46,0.20), rgba(226,117,46,0.05));
}
.lane strong{ font-family: var(--f-display); font-weight:600; font-size: 15.5px; color:#fff; }
.lane-range{ font-family: var(--f-mono); font-size: 10.5px; letter-spacing:.1em; text-transform:uppercase; color: var(--ember-3); }
.lane-desc{ flex-basis:100%; font-size: 12.5px; line-height:1.5; color: var(--steel); }
.ln-source { grid-column: 1 / 2; grid-row: 1; }
.ln-onboard{ grid-column: 1 / 4; grid-row: 2; }
.ln-market { grid-column: 3 / 6; grid-row: 3; }
.ln-channel{ grid-column: 5 / 8; grid-row: 4; }
.ln-pipe   { grid-column: 4 / 8; grid-row: 5; }
.ln-vis    { grid-column: 1 / 8; grid-row: 6; background: linear-gradient(100deg, rgba(244,149,74,0.26), rgba(226,117,46,0.06)); }
.ln-source .lane-desc{ font-size: 12px; }

.jband{
  margin-top: 30px; padding: 24px 32px; border-radius: 16px;
  background: linear-gradient(110deg, #2B343E, #232B34);
  border: 1px solid var(--line-on-dark-strong);
  font-family: var(--f-display); font-style: italic; font-weight:500;
  font-size: clamp(19px, 2.2vw, 26px); color:#fff; line-height:1.3;
}

/* ---- Engines ---- */
.engine-card .desc strong{
  display:block; color: var(--ink-soft); font-family: var(--f-display); font-weight:600; font-size: 16.5px; margin-bottom: 5px;
}
.engine-card .desc{ font-size: 14.5px; }
.engines-grid .tier-card{ display:flex; flex-direction:column; }
.engines-grid .tier-card ul{ flex:1; align-content:start; }

.loop{
  margin-top: 56px; padding: 36px 38px; border-radius: 20px;
  background: var(--ink); color:#fff; position:relative; overflow:hidden;
}
.loop::before{
  content:''; position:absolute; right:-90px; top:-90px; width:300px; height:300px; border-radius:50%;
  background: radial-gradient(circle, rgba(226,117,46,0.26), transparent 70%);
}
.loop-title{ font-family: var(--f-mono); font-size: 12px; letter-spacing:.14em; text-transform:uppercase; color: var(--ember-3); position:relative; }
.loop-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 22px; position:relative; }
.loop-item{ display:flex; gap: 14px; align-items:flex-start; }
.loop-n{
  flex:none; width: 30px; height:30px; border-radius:50%; border:1px solid rgba(244,149,74,0.55);
  display:flex; align-items:center; justify-content:center; font-family: var(--f-mono); font-size: 12.5px; color: var(--ember-3);
}
.loop-item h4{ font-family: var(--f-display); font-weight:600; font-size: 17.5px; color:#fff; margin: 3px 0 6px; }
.loop-item p{ font-size: 13.5px; line-height:1.6; color: var(--steel); }

/* ---- About: team card without a photo ---- */
.founder-full .ph.mark{ background: var(--ink); }
.founder-full .ph.mark img{ object-fit: contain; padding: 24%; filter:none; }

/* ---- Responsive additions ---- */
@media (max-width: 1100px){
  .nav-cta-desktop{ display:none; }
  .nav-links{ gap: 18px; }
  .jmap{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .jstep{ min-height: 0; }
  .jstep.final{ grid-column: 1 / -1; }
  .jstep:not(:last-child)::after, .jstep:not(:last-child)::before{ display:none; }
  .lanes{ display:flex; flex-direction:column; }
  .lane{ width:100%; }
}
@media (max-width: 980px){
  .engines-grid{ grid-template-columns: repeat(2, 1fr); }
  .loop-grid{ grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px){
  .engines-grid{ grid-template-columns: 1fr; }
  .jmap{ grid-template-columns: 1fr; }
  .loop{ padding: 28px 24px; }
  .jband{ padding: 20px 22px; }
}
.nav-links a{ white-space: nowrap; }
.eyebrow.on-paper{ background: transparent; }
.nav-inner.wrap{ max-width: 1320px; }
.nav-links a{ font-size: 12px; letter-spacing: .05em; }
.strip-row{ gap: 26px; }
@media (max-width: 1100px){ .strip-row{ gap: 18px; } }

/* ---- Simplified 5-step journey ---- */
.jmap{ grid-template-columns: repeat(5, minmax(0,1fr)); }
.jstep{ min-height: 290px; }
.lanes{ grid-template-columns: repeat(5, minmax(0,1fr)); }
.ln-source { grid-column: 1 / 2; grid-row: 1; }
.ln-onboard{ grid-column: 1 / 3; grid-row: 2; }
.ln-market { grid-column: 2 / 4; grid-row: 3; }
.ln-channel{ grid-column: 4 / 6; grid-row: 4; }
.ln-pipe   { grid-column: 3 / 6; grid-row: 5; }
.ln-vis    { grid-column: 1 / 6; grid-row: 6; }
@media (max-width: 1100px){
  .jmap{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .jstep{ min-height: 0; }
}
@media (max-width: 760px){ .jmap{ grid-template-columns: 1fr; } }

/* =========================================================
   POSITIONING — org-chart style flow (full width, branches below)
   ========================================================= */
.bridge-grid{ grid-template-columns: 1fr; gap: 56px; align-items: start; }
.bridge-list{ grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.flow-tree{ padding: 52px 40px 48px; }
.tree-top{ max-width: 560px; margin: 0 auto; }
.tree-stem{ width:1px; height: 30px; margin: 0 auto; background: var(--steel); opacity:.55; }
.tree-branches{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.tree-branch{ position:relative; padding: 30px 12px 0; }
.tree-branch::before{ content:""; position:absolute; top:0; left:0; right:0; height:1px; background: var(--steel); opacity:.55; }
.tree-branch:first-child::before{ left:50%; }
.tree-branch:last-child::before{ right:50%; }
.tree-branch::after{ content:""; position:absolute; top:0; left:50%; width:1px; height:30px; background: var(--steel); opacity:.55; }
.tree-branch .flow-node{ height:100%; }
@media (max-width: 900px){
  .bridge-list{ grid-template-columns: 1fr; }
  .flow-tree{ padding: 36px 22px; }
  .tree-branches{ grid-template-columns: 1fr; }
  .tree-branch{ padding: 22px 0 0; }
  .tree-branch::before{ display:none; }
  .tree-branch::after{ height:22px; }
}

/* =========================================================
   BRAND LOGO (reversed lockup on dark) + LEGAL PAGES
   ========================================================= */
.nav-brand .brand-logo{ height: 60px; width:auto; display:block; transition: height .35s var(--ease); }
.site-nav.scrolled .nav-brand .brand-logo{ height: 48px; }
.footer-brand img{ height: 72px; width:auto; margin-bottom: 20px; }
@media (max-width: 760px){
  .nav-brand .brand-logo{ height: 44px; }
  .site-nav.scrolled .nav-brand .brand-logo{ height: 38px; }
  .footer-brand img{ height: 54px; }
}
.footer-bottom .legal-links{ display:flex; gap:10px; margin-top:10px; font-size:12.5px; color: var(--steel); }
.footer-bottom .legal-links a{ color: var(--steel); border-bottom:1px solid transparent; transition: color .2s, border-color .2s; }
.footer-bottom .legal-links a:hover{ color:#fff; border-color: rgba(255,255,255,.35); }

.legal-doc{ max-width: 760px; margin: 0 auto; }
.legal-doc .updated{ font-family: var(--f-mono); font-size: 12px; letter-spacing:.08em; text-transform:uppercase; color: var(--slate-soft); margin-bottom: 28px; }
.legal-doc h2{ font-family: var(--f-display); font-size: 24px; margin: 38px 0 10px; color: var(--ink); }
.legal-doc p{ color: var(--ink-soft); font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.legal-doc ul{ margin: 0 0 16px 20px; list-style: disc; }
.legal-doc ul li{ color: var(--ink-soft); font-size:16px; line-height:1.7; margin-bottom:6px; }
.legal-doc a{ color: var(--ember); border-bottom: 1px solid rgba(194,85,27,.35); }
.footer-col .li-link{ display:inline-flex; align-items:center; gap:8px; }
.footer-col .li-link svg{ flex:none; }

/* =========================================================
   INTRO SPLASH (home page, once per browser session)
   ========================================================= */
.splash{
  position: fixed; inset: 0; z-index: 9999;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  animation: vfSplashOut .8s ease forwards;
  animation-delay: 3.2s;
}
.splash-logo{
  width: clamp(200px, 36vw, 480px); height: auto;
  opacity: 0; transform: scale(.88);
  animation: vfLogoIn .6s var(--ease) forwards, vfBreathe 2.2s ease-in-out .6s 1;
}
.splash-skip{
  position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: #97a1ab; display: flex; align-items: center; gap: 7px;
  opacity: 0; animation: vfFadeIn .5s ease forwards; animation-delay: 1.2s;
}
@keyframes vfLogoIn{ to{ opacity:1; transform:scale(1); } }
@keyframes vfBreathe{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.032); } }
@keyframes vfSplashOut{ to{ opacity:0; visibility:hidden; } }
@keyframes vfFadeIn{ to{ opacity:1; } }
.splash.gone{ animation: vfSplashOut .4s ease forwards !important; animation-delay: 0s !important; }
.no-splash .splash{ display: none; }
@media (prefers-reduced-motion: reduce){ .splash{ display: none; } }

/* Hero logo (stacked lockup, reversed for dark) */
.hero-mark .hero-logo{
  width: 100%; max-width: 540px; height: auto; display:block; margin-left:auto;
  filter: drop-shadow(0 18px 50px rgba(226,117,46,.18));
  opacity:0; transform: translateY(14px) scale(.97);
  animation: vfHeroLogo 1.1s var(--ease) .3s forwards;
}
@keyframes vfHeroLogo{ to{ opacity:1; transform:none; } }
@media (max-width: 900px){ .hero-mark .hero-logo{ margin:0 auto; max-width:320px; } }
@media (prefers-reduced-motion: reduce){ .hero-mark .hero-logo{ animation:none; opacity:1; transform:none; } }
.hero-mark{ align-self:center; }

/* =========================================================
   LIGHT NAV + PROPER LOGO ON WHITE
   ========================================================= */
.site-nav{ background:#fff; border-bottom:1px solid rgba(27,33,40,.08); padding: 14px 0; }
.site-nav.scrolled{
  background: rgba(255,255,255,.96); border-bottom:1px solid rgba(27,33,40,.10);
  box-shadow: 0 6px 24px -14px rgba(20,24,29,.25); padding: 10px 0;
}
.nav-links a{ color: var(--ink-soft); }
.nav-links a:hover{ color: var(--ember); }
.nav-links a.current{ color: var(--ember); }
.nav-burger{ color: var(--ink); }
.nav-burger::before, .nav-burger::after{ background: var(--ink); }
.nav-brand .brand-logo{ height: 54px; }
.site-nav.scrolled .nav-brand .brand-logo{ height: 46px; }
.hero{ padding-top: 150px; }
@media (max-width: 760px){
  .nav-brand .brand-logo, .site-nav.scrolled .nav-brand .brand-logo{ height: 40px; }
  .hero{ padding-top: 118px; }
}
/* footer logo on a white plate */
.footer-brand img{ background:#fff; border-radius: 12px; padding: 12px 18px; height: 84px; width:auto; box-sizing:border-box; }

/* Trust band */
.trust-band{ max-width: 860px; margin: 0 auto; text-align:center; }
.trust-band .eyebrow{ justify-content:center; }
.trust-band blockquote{
  font-family: var(--f-display); font-weight:500; font-size: clamp(26px,3.4vw,40px); line-height:1.2;
  color: var(--ink); margin: 18px 0 18px; letter-spacing:-.01em;
}
.trust-band blockquote em{ color: var(--ember); font-style: italic; }
.trust-sub{ font-family: var(--f-mono); font-size: 12px; letter-spacing:.06em; text-transform:uppercase; color: var(--steel); }

/* Enquiry form */
.cta-band{ align-items:flex-start; }
.cta-form{ flex: 1 1 380px; max-width: 520px; display:flex; flex-direction:column; gap:14px; position:relative; z-index:1; }
.cta-form label{ display:flex; flex-direction:column; gap:6px; font-family: var(--f-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color: rgba(255,255,255,.7); }
.cta-form .f-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.cta-form input, .cta-form textarea{
  font: 400 15px/1.4 var(--f-body, Inter, sans-serif); text-transform:none; letter-spacing:0;
  background: rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.18); color:#fff;
  border-radius: 10px; padding: 12px 14px; width:100%; box-sizing:border-box;
}
.cta-form input:focus, .cta-form textarea:focus{ outline:none; border-color: var(--ember-3); background: rgba(255,255,255,.1); }
.cta-form textarea{ resize: vertical; min-height: 84px; }
.cta-form .btn{ align-self:flex-start; margin-top:4px; }
.cta-form .f-note{ font-size:12.5px; color: rgba(255,255,255,.6); margin:0; max-width:none; }
.cta-form .f-note a{ color: var(--ember-3); text-decoration: underline; }
.cta-form .f-status{ margin:0; font-size:14px; color: var(--ember-3); min-height:1em; }
.cta-form .hp{ position:absolute; left:-9999px; height:0; overflow:hidden; }
@media (max-width: 760px){ .cta-form{ max-width:none; width:100%; } .cta-form .f-row{ grid-template-columns:1fr; } .cta-form .btn{ align-self:stretch; } }

/* Hero: lines graphic restored, larger; meta row spans full width */
.hero-grid{ grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); gap: 32px 24px; }
.hero-mark{ align-self:center; margin-top:0; }
.hero-mark svg{ width: 112%; max-width:none; margin-left:-2%; height:auto; overflow:visible; }
.hero-meta.hero-meta-row{
  grid-column: 1 / -1; margin-top: 28px; padding-top: 30px;
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
@media (max-width: 900px){
  .hero-mark svg{ width:100%; margin-left:0; }
  .hero-meta.hero-meta-row{ grid-template-columns:1fr; gap:20px; }
}
.hero h1{ text-wrap: balance; }
.hero h1 em{ white-space: nowrap; }
.hero h1 em{ padding-right: .14em; margin-right: -.1em; }

/* ---- Mobile menu fix: light full-screen panel, no backdrop-filter containing block ---- */
.site-nav, .site-nav.scrolled{ -webkit-backdrop-filter:none; backdrop-filter:none; }
body.menu-open{ overflow:hidden; }
@media (max-width: 760px){
  .mobile-menu{
    background:#fff; overflow-y:auto; -webkit-overflow-scrolling:touch;
    padding: 96px 28px 40px;
  }
  .mobile-menu a{ color: var(--ink); border-bottom:1px solid var(--line-on-paper); }
  .mobile-menu .btn{ color:#fff; border-bottom:none; }
  body.menu-open .site-nav{ background:#fff; box-shadow:none; }
}
@media (max-width: 760px){
  .mobile-menu .btn{ font-family: var(--f-mono); font-size: 12.5px; padding: 16px 22px; margin-top: 30px; }
}

/* ---- Mobile hero fix (override of desktop grid) ---- */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; gap: 28px; }
  .hero-mark{ order: 0; max-width: 420px; margin: 0 auto; width:100%; }
  .hero-mark svg{ width:100%; margin-left:0; }
  .hero h1{ white-space: normal; }
  .hero h1 em{ white-space: normal; padding-right:0; margin-right:0; }
}
.site-nav.scrolled{ background:#fff; }

/* ---- Org chart: centre node content ---- */
.flow-tree .flow-node{ justify-content:center; text-align:center; }
.flow-tree .flow-node > div:not(.ic){ text-align:center; }
