/* Field Notes: calm reading surfaces (Insights, articles, case studies) on the
   approved homepage system. Solid world,Archivo display,Geist body,hairline
   rules,glass only on small cards and the call to action. Values measured from
   the live homepage; tokens shared with journal-index.css (--jb-*). */
body.fn-surface{
  --fn-ink:#faf7fc; --fn-body:#e6dfecc7; --fn-soft:#e6dfec; --fn-mute:#e6dfecab; --fn-acc:#00ee7a; --fn-edge:#ffffff14;
  --fn-glass:#18203380; --fn-glass-weak:#18203338; --fn-shadow:inset 0 1px 0 #ffffff0f,0 12px 28px #05091638;
  --fn-g:var(--jb-gutter,clamp(24px,5.5vw,112px)); --fn-max:1440px; --fn-ease:cubic-bezier(.23,1,.32,1);
  background:#080b12!important;
}
.fn-surface .jb-atmosphere{display:none}
body.fn-surface .fn{display:block;max-width:var(--fn-max);margin:0 auto;padding:0 var(--fn-g) 24px;color:var(--fn-ink)}
body.fn-surface .fn img{max-width:100%;height:auto}
body.fn-surface .fn-eyebrow{font:600 12px/1.5 Archivo,sans-serif;letter-spacing:.3px;color:var(--fn-soft)}
body.fn-surface .fn-title{font:900 clamp(40px,5vw,76px)/.98 Archivo,sans-serif;letter-spacing:-.045em;margin:16px 0 0;text-wrap:balance}
body.fn-surface .fn-title-article{font-size:clamp(36px,4vw,56px);line-height:1.02}
body.fn-surface .fn-acc{color:var(--fn-acc)}
body.fn-surface .fn-standfirst{font:400 clamp(18px,1.6vw,22px)/1.45 Geist,sans-serif;color:var(--fn-soft);margin-top:18px;max-width:46ch;text-wrap:pretty}
body.fn-surface .fn-meta{font:500 14px/1.45 Geist,sans-serif;color:var(--fn-mute)}
body.fn-surface .fn-notice{margin-top:24px}

/* Pills (match the header buttons) */
.fn-pill{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 24px;border-radius:50px;border:1px solid var(--fn-edge);background:linear-gradient(135deg,#00ee7a1f,#b9c8e708),var(--fn-glass);box-shadow:var(--fn-shadow);font:800 13px/1 Archivo,sans-serif;letter-spacing:.025em;text-transform:uppercase;white-space:nowrap;color:var(--fn-ink);transition:background-color 150ms var(--fn-ease),border-color 150ms var(--fn-ease),transform 150ms var(--fn-ease)}
body.fn-surface .fn-pill svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.fn-surface .fn-pill-dark{background:#101015}
body.fn-surface .fn-pill:hover{border-color:#00ee7a59}
body.fn-surface .fn-pill:active{transform:scale(.98)}
body.fn-surface .fn-play{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--fn-acc);flex:none}
body.fn-surface .fn-play svg{width:14px;height:14px;fill:#080b12;stroke:none}
body.fn-surface .fn-pill-play{padding-left:6px}

/* Index (Insights and case studies) */
.fn-index-top{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:end;padding:96px 0 56px;border-bottom:1px solid var(--fn-edge)}
body.fn-surface .fn-index-top .fn-standfirst{margin:0;justify-self:end}
body.fn-surface .fn-rows{list-style:none;margin:0;padding:0}
body.fn-surface .fn-row{position:relative;display:grid;grid-template-columns:90px minmax(0,1fr) 300px;gap:40px;align-items:center;padding:34px 0;border-bottom:1px solid var(--fn-edge)}
body.fn-surface .fn-num{font:900 44px/1 Archivo,sans-serif;letter-spacing:-.04em;color:#e6dfec80;transition:color 150ms var(--fn-ease)}
body.fn-surface .fn-row h2{font:800 clamp(24px,2.4vw,34px)/1.12 Archivo,sans-serif;letter-spacing:-.035em;margin:8px 0 0;text-wrap:balance}
body.fn-surface .fn-row h2 a::after{content:"";position:absolute;inset:0;z-index:2}
body.fn-surface .fn-row-sub{color:var(--fn-soft);font-size:17px;line-height:1.5;margin-top:10px;max-width:60ch}
body.fn-surface .fn-row-media{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:14px;border:1px solid var(--fn-edge)}
body.fn-surface .fn-row-case{align-items:start;padding:44px 0}
body.fn-surface .fn-row-case .fn-meta{margin-top:16px}
body.fn-surface .fn-row-case .fn-pill{margin-top:24px}
body.fn-surface .fn-row-case .fn-row-media{aspect-ratio:auto;object-fit:contain;background:#05070c}
body.fn-surface .fn-row:hover .fn-num,body.fn-surface .fn-row:focus-within .fn-num{color:var(--fn-acc)}
body.fn-surface .fn-row:hover h2 a{color:var(--fn-acc)}
body.fn-surface .fn-row h2 a:focus-visible{outline:2px solid var(--fn-acc);outline-offset:6px;border-radius:6px}
body.fn-surface .fn-empty{padding:48px 0;color:var(--fn-soft)}
body.fn-surface .fn-pager{padding:32px 0}
body.fn-surface .fn-index-cta{margin-top:72px}

/* Split layout: sticky rail + reading column */
.fn-split{display:grid;grid-template-columns:240px minmax(0,700px);gap:clamp(40px,6vw,96px);justify-content:center;margin-top:72px}
body.fn-surface .fn-article .fn-split{margin-top:clamp(56px,7vw,96px)}
body.fn-surface .fn-rail{position:sticky;top:32px;align-self:start;display:flex;flex-direction:column;gap:24px;padding-top:6px}
body.fn-surface .fn-rail-talk{align-self:flex-start}
body.fn-surface .fn-back{font:500 14px Geist,sans-serif;color:var(--fn-mute)}
body.fn-surface .fn-back:hover{color:var(--fn-acc)}
body.fn-surface .fn-author{display:flex;gap:12px;align-items:center}body.fn-surface .fn-author img{width:44px;height:44px;border-radius:50%;border:1px solid var(--fn-edge)}
body.fn-surface .fn-author-name{font:800 15px/1.3 Archivo,sans-serif}
body.fn-surface .fn-facts{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:0;font-size:14px}body.fn-surface .fn-facts dt{color:var(--fn-mute)}body.fn-surface .fn-facts dd{margin:0}
body.fn-surface .fn-chapters ol{list-style:none;margin:0;padding:0;display:grid;gap:12px}
body.fn-surface .fn-chapters a{display:flex;gap:10px;font:500 14px/1.4 Geist,sans-serif;color:var(--fn-mute);transition:color 150ms var(--fn-ease)}
body.fn-surface .fn-chapters a:hover,body.fn-surface .fn-chapters a[aria-current="true"]{color:var(--fn-ink)}
body.fn-surface .fn-chapters a[aria-current="true"] .fn-chapter-num{color:var(--fn-acc)}
body.fn-surface .fn-chapter-num{font:600 12px/1.6 Archivo,sans-serif;color:#e6dfec80;flex:none;width:20px}

/* Reading column */
.fn-body{min-width:0}
body.fn-surface .fn-hero-media{margin:0}
body.fn-surface .fn-hero-media img{display:block;width:100%;height:auto;border-radius:20px;border:1px solid var(--fn-edge)}
body.fn-surface .fn-article-head{margin-bottom:44px}body.fn-surface .fn-article-meta{margin-top:20px}
body.fn-surface .fn-article .fn-standfirst{max-width:none}
body.fn-surface .fn-prose{margin-top:44px;font:400 19px/1.7 Geist,sans-serif;color:var(--fn-ink);max-width:68ch}
body.fn-surface .fn-prose p{margin:0 0 1.15em}
body.fn-surface .fn-prose h2{font:800 28px/1.15 Archivo,sans-serif;letter-spacing:-.03em;margin:1.6em 0 .6em}
body.fn-surface .fn-prose h3{font:800 22px/1.2 Archivo,sans-serif;letter-spacing:-.02em;margin:1.4em 0 .5em}
body.fn-surface .fn-prose a{color:var(--fn-acc);text-decoration:underline;text-underline-offset:4px}
body.fn-surface .fn-prose ul,body.fn-surface .fn-prose ol{padding-left:1.2em;margin:0 0 1.15em}

/* Case study */
.fn-hero{padding:96px 0 0}
body.fn-surface .fn-summary{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--fn-edge);border-bottom:1px solid var(--fn-edge);margin:44px 0 0}
body.fn-surface .fn-summary div{padding:24px 28px 24px 0}body.fn-surface .fn-summary div+div{padding-left:28px;border-left:1px solid var(--fn-edge)}
body.fn-surface .fn-summary dt{font:800 17px/1.25 Archivo,sans-serif;margin-bottom:8px}body.fn-surface .fn-summary dd{margin:0;color:var(--fn-soft);font-size:15px;line-height:1.5}
body.fn-surface .fn-chapter{padding-top:72px;scroll-margin-top:24px}
body.fn-surface .fn-chapter h2,body.fn-surface .fn-closing h2{font:800 clamp(28px,2.6vw,40px)/1.08 Archivo,sans-serif;letter-spacing:-.035em;margin:12px 0 24px;text-wrap:balance}
body.fn-surface .fn-p{font:400 18px/1.7 Geist,sans-serif;color:var(--fn-ink);margin:0 0 1.1em;max-width:68ch}
body.fn-surface .fn-ticks{list-style:none;padding:0;margin:0 0 28px;display:grid;gap:10px}
body.fn-surface .fn-ticks li{display:flex;gap:12px;font-size:17px;line-height:1.5}
body.fn-surface .fn-ticks li::before{content:"";flex:none;width:18px;height:18px;margin-top:3px;border-radius:50%;border:1.5px solid var(--fn-acc);background:radial-gradient(circle,var(--fn-acc) 0 3px,transparent 4px)}
body.fn-surface .fn-label{font:800 20px/1.25 Archivo,sans-serif;letter-spacing:-.02em;margin:32px 0 12px}
body.fn-surface .fn-cards{list-style:none;padding:0;margin:8px 0 8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.fn-surface .fn-cards li{border-radius:22px;border:1px solid var(--fn-edge);background:var(--fn-glass-weak);padding:24px}
body.fn-surface .fn-cards h4{font:800 18px/1.2 Archivo,sans-serif;margin:0 0 10px;text-wrap:balance}
body.fn-surface .fn-cards p{color:var(--fn-soft);font-size:15px;line-height:1.55}
body.fn-surface .fn-signals li{background:var(--fn-glass);box-shadow:var(--fn-shadow)}
body.fn-surface .fn-pair,body.fn-surface .fn-figure{margin:36px 0 0}
body.fn-surface .fn-pair img,body.fn-surface .fn-figure img{display:block;width:100%;height:auto;border-radius:18px;border:1px solid var(--fn-edge)}
body.fn-surface .fn-pair figcaption{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:18px}
body.fn-surface .fn-pair figcaption p{font-size:15px;color:var(--fn-soft);line-height:1.55;margin-top:10px}
body.fn-surface .fn-pair + .fn-p{margin-top:20px}
body.fn-surface .fn-tag{display:inline-block;font:800 12px/1 Archivo,sans-serif;letter-spacing:.3px;padding:6px 10px;border-radius:50px;border:1px solid var(--fn-edge);color:var(--fn-soft)}
body.fn-surface .fn-tag-on{color:#080b12;background:var(--fn-acc);border-color:var(--fn-acc)}
body.fn-surface .fn-figure-title{font:800 22px/1.2 Archivo,sans-serif;letter-spacing:-.025em;margin:0}
body.fn-surface .fn-figure-text{color:var(--fn-soft);font-size:17px;line-height:1.55;margin:8px 0 16px!important}
body.fn-surface .fn-figure figcaption{font-size:13px;line-height:1.5;color:var(--fn-mute);margin-top:10px}
body.fn-surface .fn-closing{padding-top:72px}

/* Call to action and next case */
body.fn-surface .fn-next{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:center;margin-top:72px;padding-top:40px;border-top:1px solid var(--fn-edge)}
body.fn-surface .fn-next h2{font:800 clamp(28px,2.6vw,40px)/1.05 Archivo,sans-serif;letter-spacing:-.035em;margin:10px 0 0}
body.fn-surface .fn-next p:not(.fn-eyebrow){color:var(--fn-soft);margin-top:10px}
body.fn-surface .fn-next img{width:100%;border-radius:16px;border:1px solid var(--fn-edge)}
body.fn-surface .fn-next:hover h2{color:var(--fn-acc)}

/* Shared footer */
.fn-surface .je-footer{max-width:var(--fn-max);margin:80px auto 0;padding:28px var(--fn-g) 48px;border-top:0;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font:500 13px Geist,sans-serif;color:var(--fn-mute)}
body.fn-surface .je-footer-nav{display:flex;gap:24px;flex-wrap:wrap}
body.fn-surface .je-footer-nav a{color:var(--fn-ink,#faf7fc)}
body.fn-surface .je-footer-nav a:hover,body.fn-surface .je-footer-talk{color:var(--fn-acc,#00ee7a)!important}

@media(max-width:1023px){
  body.fn-surface .fn-split{grid-template-columns:minmax(0,700px)}
  body.fn-surface .fn-rail{position:static;flex-direction:row;flex-wrap:wrap;align-items:center;gap:16px 24px;padding-bottom:28px;border-bottom:1px solid var(--fn-edge)}
  body.fn-surface .fn-case .fn-rail{display:none}
  body.fn-surface .fn-row{grid-template-columns:64px minmax(0,1fr) 220px;gap:24px}
}
@media(max-width:700px){
  body.fn-surface .fn-index-top{grid-template-columns:1fr;gap:18px;padding:48px 0 32px}body.fn-surface .fn-index-top .fn-standfirst{justify-self:start}
  body.fn-surface .fn-row{grid-template-columns:1fr;gap:14px;padding:28px 0}
  body.fn-surface .fn-num{font-size:28px}
  body.fn-surface .fn-row-media{order:-1}
  body.fn-surface .fn-split{margin-top:40px}
  body.fn-surface .fn-article .fn-rail{display:none}
  body.fn-surface .fn-hero{padding-top:48px}
  body.fn-surface .fn-summary{grid-template-columns:1fr}body.fn-surface .fn-summary div,body.fn-surface .fn-summary div+div{padding:18px 0;border-left:0}body.fn-surface .fn-summary div+div{border-top:1px solid var(--fn-edge)}
  body.fn-surface .fn-cards{grid-template-columns:1fr}
  body.fn-surface .fn-pair figcaption{grid-template-columns:1fr}
  body.fn-surface .fn-prose{font-size:18px}
  body.fn-surface .fn-next{grid-template-columns:1fr}
  body.fn-surface .fn-chapter{padding-top:56px}
  .fn-surface .je-footer{display:block}body.fn-surface .je-footer-nav{margin-top:12px}
}
@media(prefers-reduced-motion:reduce){.fn *{transition:none!important}}

/* Review fixes (stage 7, round 1) */
@media(min-width:1024px){body.fn-surface .fn-article-meta{display:none}}
@media(max-width:700px){
  body.fn-surface .fn-row-media{order:0;aspect-ratio:21/9}
}
body.fn-surface .fn-chapter-num{color:#e6dfec8f}
body.fn-surface .fn-chapter:focus{outline:none}
body.fn-surface .fn-zoom{display:block;cursor:zoom-in;border-radius:18px}
body.fn-surface .fn-card-title{font:800 18px/1.2 Archivo,sans-serif;margin:0 0 10px;text-wrap:balance}
body.fn-surface .fn-back-inline{display:none;margin-bottom:24px}
@media(max-width:1023px){
  body.fn-surface .fn-back-inline{display:inline-block}
  body.fn-surface .fn-case .fn-rail{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:0 0 28px;margin-bottom:8px;border-bottom:1px solid var(--fn-edge)}
  body.fn-surface .fn-case .fn-rail::before{content:"Contents";font:600 12px/1.5 Archivo,sans-serif;letter-spacing:.3px;color:var(--fn-soft)}
  body.fn-surface .fn-case .fn-chapters ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}
  body.fn-surface .fn-case .fn-chapters a{min-height:32px;align-items:center}
  body.fn-surface .fn-case .fn-rail-talk{display:none}
}
@media(max-width:700px){body.fn-surface .je-footer-nav a{display:inline-flex;min-height:44px;align-items:center}}

/* ===== Reading content finish (run 2026-11-14-reading-content, Gate A "H") =====
   Articles and case studies: body copy in the second ink tier (--fn-body), full ink for what leads; outline section
   numerals; key lines and closing questions marked as paragraph block styles (is-style-statement, is-style-ask);
   the article rail as a reading map; More insights; the café "Book a call" box. */

/* Article prose */
body.fn-surface .fn-prose{counter-reset:fn-sec;color:var(--fn-body);line-height:1.75}
body.fn-surface .fn-prose p{text-wrap:pretty}
body.fn-surface .fn-prose > p:first-child{font:400 22px/1.55 Geist,sans-serif;color:var(--fn-ink)}
body.fn-surface .fn-prose h2{counter-increment:fn-sec;font:800 34px/1.1 Archivo,sans-serif;letter-spacing:-.035em;margin:1.9em 0 .6em;color:var(--fn-ink);scroll-margin-top:32px}
body.fn-surface .fn-prose h2::before{content:counter(fn-sec,decimal-leading-zero);display:block;font:900 76px/.85 Archivo,sans-serif;letter-spacing:-.04em;color:transparent;-webkit-text-stroke:1.2px #e6dfec8c;margin-bottom:6px}
/* Key line: indented under a green dash, between hairlines */
body.fn-surface .fn-prose p.is-style-statement{position:relative;font:600 20px/1.5 Geist,sans-serif;color:var(--fn-ink);margin:1.5em 0;padding:20px 0 20px 40px;border-top:1px solid var(--fn-edge);border-bottom:1px solid var(--fn-edge);text-wrap:balance}
body.fn-surface .fn-prose p.is-style-statement::before{content:"";position:absolute;left:0;top:34px;width:20px;height:2px;border-radius:2px;background:var(--fn-acc)}
body.fn-surface .fn-prose p.is-style-statement:has(+ p.is-style-ask){border-bottom:0;padding-bottom:0;margin-bottom:0}
/* Closing question: after one hairline, in ink */
body.fn-surface .fn-prose p.is-style-ask{font:500 21px/1.55 Geist,sans-serif;color:var(--fn-ink)}
body.fn-surface .fn-prose p:not(.is-style-ask) + p.is-style-ask{margin-top:2.2em;padding-top:30px;border-top:1px solid var(--fn-edge)}

/* Case studies */
body.fn-surface .fn-case :is(.fn-p,.fn-ticks li,.fn-figure-text,.fn-pair figcaption p){color:var(--fn-body);text-wrap:pretty}
body.fn-surface .fn-case .fn-p.fn-lead{font:500 20px/1.6 Geist,sans-serif;color:var(--fn-ink)}
body.fn-surface .fn-chapter .fn-eyebrow{font:700 13px/1.4 Archivo,sans-serif;color:var(--fn-acc)}
body.fn-surface .fn-signals li{box-shadow:inset 0 1px 0 #00ee7a4d,var(--fn-shadow)}

/* "Book a call" box: text and the green button on solid night, the approved café frame on the right */
.fn-cta{position:relative;isolation:isolate;overflow:hidden;container-type:inline-size;display:grid;grid-template-columns:minmax(0,1fr) 44%;align-items:center;gap:22px 28px;margin-top:56px;padding:36px 40px;border-radius:24px;border:1px solid #ffffff1a;background:#0b1019}
.fn-cta::after{content:"";position:absolute;top:0;right:0;bottom:0;width:50%;z-index:-1;background:url(../moon-city/media/cafe-atlas-v2-r2-960.webp) 22% 28% / cover no-repeat;background-image:image-set(url(../moon-city/media/cafe-atlas-v2-r2-960.webp) 1x,url(../moon-city/media/cafe-atlas-v2-r2-1920.webp) 2x);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 40%);mask-image:linear-gradient(90deg,transparent 0,#000 40%)}
.fn-cta > div{grid-column:1;grid-row:1}
.fn-cta > .fn-pill{grid-column:1;grid-row:2;justify-self:start}
body.fn-surface .fn-cta .fn-eyebrow{color:var(--fn-soft);font-weight:800}
body.fn-surface .fn-cta-title{font:800 36px/1.08 Archivo,sans-serif;letter-spacing:-.035em;margin:10px 0 0}
body.fn-surface .fn-cta p:not(.fn-eyebrow){color:var(--fn-soft);margin-top:10px;text-wrap:pretty}
body.fn-surface .fn-cta .fn-pill-book{min-height:56px;padding:0 30px;background:#00ee7a;border-color:#00ee7a;color:#080b12;box-shadow:0 0 26px 2px #00ee7a40}
@media(hover:hover) and (pointer:fine){body.fn-surface .fn-cta .fn-pill-book:hover{background:#00ee7a;box-shadow:0 0 30px 4px #00ee7a73}}
/* A narrow box (the article column near 1024px) steps the title down so it keeps to two lines */
@container (min-width: 521px) and (max-width: 590px){body.fn-surface .fn-cta-title{font-size:29px}}

/* Article rail (1024px and up): back, author, date and reading time, the reading map, Let's Talk, More insights */
@media(min-width:1024px){
 body.fn-surface .fn-article .fn-rail{gap:0;padding-top:4px}
 body.fn-surface .fn-rail .fn-back{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;margin-bottom:22px;font:700 13px/1 Archivo,sans-serif;color:var(--fn-soft);transition:color 150ms var(--fn-ease)}
 body.fn-surface .fn-rail .fn-author{align-items:center;gap:14px;padding:22px 0;border-top:1px solid var(--fn-edge)}
 body.fn-surface .fn-rail .fn-author img{width:52px;height:52px;flex:none;border-color:#ffffff24}
 body.fn-surface .fn-rail .fn-author-name{font:800 17px/1.2 Archivo,sans-serif;letter-spacing:-.01em;color:var(--fn-ink)}
 body.fn-surface .fn-rail .fn-author .fn-meta{font:400 13px/1.45 Geist,sans-serif;color:var(--fn-mute);margin-top:2px}
 body.fn-surface .fn-rail .fn-facts{display:flex;flex-wrap:wrap;align-items:baseline;gap:0;padding:16px 0 0;border-top:1px solid var(--fn-edge)}
 body.fn-surface .fn-rail .fn-facts dt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;font:500 13px/1.4 Geist,sans-serif}
 body.fn-surface .fn-rail .fn-facts dd{font:500 13px/1.4 Geist,sans-serif;color:var(--fn-soft);white-space:nowrap}
 body.fn-surface .fn-rail .fn-facts dd:last-of-type::before{content:"·";margin:0 8px;color:var(--fn-mute)}
 .fn-toc{padding:22px 0 24px}
 .fn-toc ol{position:relative;list-style:none;margin:0;padding:0 0 0 24px;display:grid;gap:14px}
 .fn-toc ol::before,.fn-toc ol::after{content:"";position:absolute;left:4px;top:8px;bottom:8px;width:2px;border-radius:2px;background:#ffffff1f}
 .fn-toc ol::after{background:var(--fn-acc);transform-origin:50% 0;transform:scaleY(var(--p,0))}
 .fn-toc li{position:relative}
 .fn-toc li::before{content:"";position:absolute;left:-24px;top:.42em;z-index:1;width:10px;height:10px;border-radius:50%;background:#080b12;box-shadow:inset 0 0 0 1.5px #ffffff4d}
 .fn-toc li:has(a[data-read])::before{box-shadow:inset 0 0 0 5px var(--fn-acc)}
 .fn-toc li:has(a[aria-current])::before{background:var(--fn-acc);box-shadow:inset 0 0 0 1.5px var(--fn-acc),0 0 0 4px #00ee7a2e}
 .fn-toc a{display:flex;gap:10px;border-radius:8px;font:500 14px/1.4 Geist,sans-serif;color:var(--fn-mute);transition:color 150ms var(--fn-ease)}
 .fn-toc-n{flex:none;width:20px;font:800 12px/1.6 Archivo,sans-serif;color:#e6dfec8f}
 .fn-toc a[aria-current="true"]{color:var(--fn-ink)}
 .fn-toc a[aria-current="true"] .fn-toc-n{color:var(--fn-acc)}
 .fn-more-rail{margin-top:24px;padding-top:18px;border-top:1px solid var(--fn-edge)}
 .fn-more-rail .fn-more-title{margin:0 0 12px;font:700 13px/1.4 Archivo,sans-serif;color:var(--fn-soft)}
 .fn-more-rail ul{list-style:none;margin:0;padding:0}
 .fn-more-rail li{border-top:1px solid var(--fn-edge)}
 .fn-more-rail a{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:center;padding:12px 0;border-radius:8px;color:var(--fn-soft);transition:color 150ms var(--fn-ease)}
 body.fn-surface .fn-more-rail img{width:56px;height:40px;object-fit:cover;border-radius:10px;border:1px solid var(--fn-edge);transition:filter 200ms var(--fn-ease)}
 .fn-more-rail .fn-more-t{font:500 13.5px/1.35 Geist,sans-serif}
 .fn-more-end{display:none}
 @media(hover:hover) and (pointer:fine){
  body.fn-surface .fn-rail .fn-back:hover{color:var(--fn-ink)}
  body.fn-surface .fn-rail .fn-back:hover span{border-color:#00ee7a73;color:var(--fn-acc);transform:translateX(-3px)}
  .fn-toc a:hover,.fn-more-rail a:hover{color:var(--fn-ink)}
  .fn-more-rail a:hover img{filter:brightness(1.12)}
 }
}
/* Short windows: a tighter map and two posts, so the whole rail stays in view */
@media(min-width:1024px) and (max-height:860px){.fn-more-rail li:nth-child(n+3){display:none}}
@media(min-width:1024px) and (max-height:760px){.fn-toc{padding:14px 0 16px}.fn-toc ol{gap:10px}.fn-more-rail a{padding:9px 0}}
/* The round back button, wherever the back link shows */
body.fn-surface .fn-back span{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--fn-edge);font-size:14px;transition:transform 220ms var(--fn-ease),border-color 220ms var(--fn-ease),color 220ms var(--fn-ease)}

/* Below 1024px: no map; the back link sits above the eyebrow; More insights follows the box */
@media(max-width:1023px){
 .fn-toc,.fn-more-rail{display:none}
 body.fn-surface .fn-back-inline{display:inline-flex;align-items:center;gap:10px;font:700 13px/1 Archivo,sans-serif;color:var(--fn-soft)}
 .fn-more-end{margin-top:40px;padding-top:24px;border-top:1px solid var(--fn-edge)}
 .fn-more-end .fn-more-title{margin:0 0 16px;font:800 20px/1.2 Archivo,sans-serif;letter-spacing:-.02em;color:var(--fn-ink)}
 .fn-more-end ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
 .fn-more-end a{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:center;border-radius:8px;color:var(--fn-soft)}
 body.fn-surface .fn-more-end img{width:96px;height:60px;object-fit:cover;border-radius:14px;border:1px solid var(--fn-edge)}
 .fn-more-end .fn-more-t{font:600 15px/1.4 Geist,sans-serif}
}
/* Tablet strip (701-1023px): the rail's parts in one row, one back link only */
@media(min-width:701px) and (max-width:1023px){
 body.fn-surface .fn-article .fn-rail{gap:18px 28px}
 body.fn-surface .fn-article .fn-rail > .fn-back{display:none}
 body.fn-surface .fn-rail .fn-author img{width:44px;height:44px}
 body.fn-surface .fn-rail .fn-author-name{font:800 16px/1.2 Archivo,sans-serif}
 body.fn-surface .fn-rail .fn-facts{grid-template-columns:max-content max-content;grid-auto-flow:column;grid-template-rows:auto auto;gap:2px 24px}
 body.fn-surface .fn-rail .fn-facts dt{font:500 12px/1.4 Geist,sans-serif;color:var(--fn-mute)}
 body.fn-surface .fn-rail .fn-facts dd{font:800 15px/1.3 Archivo,sans-serif;color:var(--fn-ink);white-space:nowrap}
 body.fn-surface .fn-article-meta{display:none}
}
/* Phone byline: portrait beside the existing line */
body.fn-surface .fn-article-meta{display:flex;align-items:center;gap:10px}
.fn-byline-avatar{width:32px;height:32px;flex:none;border-radius:50%;border:1px solid var(--fn-edge)}
@media(min-width:701px){body.fn-surface .fn-article-meta{display:none}}

/* Phones */
@media(max-width:700px){
 body.fn-surface .fn-prose > p:first-child{font-size:20px}
 body.fn-surface .fn-prose h2{font-size:27px;text-wrap:balance}
 body.fn-surface .fn-prose h2::before{font-size:56px}
 body.fn-surface .fn-prose p.is-style-statement{font-size:19px;padding-left:34px}
 .fn-cta{grid-template-columns:1fr;padding:28px 28px 200px}
 .fn-cta > .fn-pill{justify-self:stretch}
 .fn-cta::after{top:auto;left:0;width:auto;height:210px;background-position:22% 22%;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 55%);mask-image:linear-gradient(180deg,transparent 0,#000 55%)}
 body.fn-surface .fn-cta-title{font-size:28px}
 body.fn-surface .fn-cta .fn-pill-book{width:100%;justify-content:center;white-space:nowrap;padding:0 20px}
}
@media(prefers-reduced-motion:reduce){body.fn-surface .fn-back span{transition:none;transform:none!important}}
/* Stage E fixes: the booking arrow never shrinks; small phones keep the long label on one line */
body.fn-surface .fn-cta .fn-pill-book svg{flex:none}
@media(max-width:380px){body.fn-surface .fn-cta .fn-pill-book{padding:0 16px;letter-spacing:.01em;gap:8px}}
/* Very short windows: one More insights post and no role line, so the back link stays in view */
@media(min-width:1024px) and (max-height:680px){.fn-more-rail li:nth-child(n+2){display:none}body.fn-surface .fn-rail .fn-author .fn-meta{display:none}body.fn-surface .fn-rail .fn-author{padding:16px 0}}
/* Rounded focus ring on the back links, matching the other rail links */
body.fn-surface :is(.fn-back,.fn-back-inline){border-radius:8px}
@media(max-width:340px){body.fn-surface .fn-cta .fn-pill-book{white-space:normal;text-align:center;line-height:1.25;padding:12px 18px}body.fn-surface .fn-cta .fn-pill-book :is(.pill-label,.fx-roll){white-space:normal;height:auto;overflow:visible}body.fn-surface .fn-cta .fn-pill-book .fx-roll-b{display:none}}

/* ===== Case study finish (run 2026-11-14-case-study-pages, Gate A "N") =====
   Case studies share the article language (outline section numerals, the reading map) and lead with what was done:
   the facts as one solid opening card, ticks in ink, supporting cards open, results as numbered outcomes, green accent
   phrases in the title and chapter headings (rendered by case_heading()). */

/* At a glance: one solid card (the same night surface as the Book a call box), three equal facts */
body.fn-surface .fn-case .fn-summary{margin-top:40px;border:1px solid #ffffff1a;border-radius:24px;background:#0b1019;overflow:hidden}
body.fn-surface .fn-case .fn-summary div{padding:28px 28px 30px}
body.fn-surface .fn-case .fn-summary div+div{padding-left:28px;border-left:1px solid var(--fn-edge)}
body.fn-surface .fn-case .fn-summary dt{font:800 19px/1.25 Archivo,sans-serif;letter-spacing:-.015em;color:var(--fn-ink);margin-bottom:8px;text-wrap:balance}
body.fn-surface .fn-case .fn-summary dd{font:400 15px/1.55 Geist,sans-serif;color:var(--fn-body);max-width:75ch}

/* Chapter opener: outline numeral with the short label beside it, then the heading */
body.fn-surface .fn-case .fn-chapter{padding-top:56px}
body.fn-surface .fn-case .fn-chapter > .fn-eyebrow{display:flex;align-items:flex-end;gap:14px;font:700 13px/1.4 Archivo,sans-serif;color:var(--fn-soft)}
body.fn-surface .fn-chapter-n{font:900 76px/.85 Archivo,sans-serif;letter-spacing:-.04em;color:transparent;-webkit-text-stroke:1.2px #e6dfec8c}
body.fn-surface .fn-chapter-lab{padding-bottom:6px}
body.fn-surface .fn-case .fn-chapter h2{margin-top:8px}

/* Ticks lead: ink, two columns from 1024px (an odd last item spans both) */
body.fn-surface .fn-case ul.fn-ticks li{color:var(--fn-ink);font-size:16px}
@media(min-width:1024px){body.fn-surface .fn-case .fn-ticks{grid-template-columns:1fr 1fr;gap:14px 32px}body.fn-surface .fn-case .fn-ticks li:last-child:nth-child(odd){grid-column:1 / -1}}

/* Supporting cards: open bordered cards with air */
body.fn-surface .fn-case .fn-cards:not(.fn-signals){gap:16px;margin-top:16px}
body.fn-surface .fn-case .fn-cards:not(.fn-signals) li{padding:28px 24px 24px;background:none;box-shadow:none}
body.fn-surface .fn-case .fn-cards:not(.fn-signals) .fn-card-title{font-size:18px;margin:0 0 10px;text-wrap:balance}
body.fn-surface .fn-case .fn-cards:not(.fn-signals) p{font-size:15px;line-height:1.55;color:var(--fn-body)}

/* Results: numbered outcome rows, the page's only large green numerals */
body.fn-surface .fn-case .fn-signals{grid-template-columns:1fr 1fr;gap:0 40px;margin-top:8px;counter-reset:fn-sig}
body.fn-surface .fn-case .fn-signals li{counter-increment:fn-sig;display:grid;grid-template-columns:72px 1fr;column-gap:8px;align-content:start;padding:22px 0;border:0;border-top:1px solid var(--fn-edge);border-radius:0;background:none;box-shadow:none}
body.fn-surface .fn-case .fn-signals li::before{content:counter(fn-sig,decimal-leading-zero);grid-row:1 / 3;font:900 44px/1 Archivo,sans-serif;letter-spacing:-.03em;color:transparent;-webkit-text-stroke:1.2px var(--fn-acc)}
body.fn-surface .fn-case .fn-signals .fn-card-title{font-size:19px;margin:0 0 6px}
body.fn-surface .fn-case .fn-signals p{color:var(--fn-body)}

/* Next case: the last word and the arrow stay together; the arrow nudges on hover and keyboard focus */
body.fn-surface .fn-case .fn-next{grid-template-columns:minmax(0,1fr) minmax(220px,300px)}
body.fn-surface .fn-next-last{white-space:nowrap}
body.fn-surface .fn-next-last::after{content:"→" / "";display:inline-block;margin-left:.3em;transition:transform 220ms var(--fn-ease)}
body.fn-surface .fn-next img{transition:filter 220ms var(--fn-ease)}
body.fn-surface .fn-next:focus-visible .fn-next-last::after{transform:translateX(6px)}
@media(hover:hover) and (pointer:fine){body.fn-surface .fn-next:hover .fn-next-last::after{transform:translateX(6px)}body.fn-surface .fn-next:hover img{filter:brightness(1.1)}}

/* Case rail as a reading map (1024px and up): the track fills as you read; read and current chapters */
@media(min-width:1024px){
 body.fn-surface .fn-case .fn-chapters ol{position:relative;padding-left:24px;gap:14px}
 body.fn-surface .fn-case .fn-chapters ol::before,body.fn-surface .fn-case .fn-chapters ol::after{content:"";position:absolute;left:4px;top:8px;bottom:8px;width:2px;border-radius:2px;background:#ffffff1f}
 body.fn-surface .fn-case .fn-chapters ol::after{background:var(--fn-acc);transform-origin:50% 0;transform:scaleY(var(--p,0))}
 body.fn-surface .fn-case .fn-chapters li{position:relative}
 body.fn-surface .fn-case .fn-chapters li::before{content:"";position:absolute;left:-24px;top:.42em;z-index:1;width:10px;height:10px;border-radius:50%;background:#080b12;box-shadow:inset 0 0 0 1.5px #ffffff4d}
 body.fn-surface .fn-case .fn-chapters li:has(a[data-read])::before{box-shadow:inset 0 0 0 5px var(--fn-acc)}
 body.fn-surface .fn-case .fn-chapters li:has(a[aria-current="true"])::before{background:var(--fn-acc);box-shadow:inset 0 0 0 1.5px var(--fn-acc),0 0 0 4px #00ee7a2e}
 body.fn-surface .fn-case .fn-chapters a{border-radius:8px}
}

/* Tablet and small laptop (701-1199px): tighter fact padding; cards two across */
@media(min-width:701px) and (max-width:1199px){
 body.fn-surface .fn-case .fn-summary div{padding:24px 20px 26px}
 body.fn-surface .fn-case .fn-summary div+div{padding-left:20px}
 body.fn-surface .fn-case .fn-cards:not(.fn-signals){grid-template-columns:repeat(2,minmax(0,1fr))}
 body.fn-surface .fn-case .fn-cards:not(.fn-signals) li:last-child:nth-child(odd){grid-column:1 / -1}
}
/* Phones */
@media(max-width:700px){
 body.fn-surface .fn-case .fn-summary div,body.fn-surface .fn-case .fn-summary div+div{padding:22px;border-left:0}
 body.fn-surface .fn-case .fn-summary div+div{border-top:1px solid var(--fn-edge)}
 body.fn-surface .fn-chapter-n{font-size:56px}
 body.fn-surface .fn-case .fn-cards:not(.fn-signals){grid-template-columns:1fr;gap:12px}
 body.fn-surface .fn-case .fn-cards:not(.fn-signals) li{padding:18px}
 body.fn-surface .fn-case .fn-cards:not(.fn-signals) .fn-card-title{font-size:17px;margin-bottom:8px}
 body.fn-surface .fn-case .fn-signals{grid-template-columns:1fr}
 body.fn-surface .fn-case .fn-signals li{grid-template-columns:60px 1fr}
 body.fn-surface .fn-case .fn-signals li::before{font-size:36px}
 body.fn-surface .fn-case .fn-next{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){body.fn-surface .fn-next-last::after,body.fn-surface .fn-next img{transition:none!important;transform:none!important}}

/* Stage E fixes (case study finish): no tap flash on Field Notes links; a rounded ring for the next-case block; facts stack on narrow tablets */
body.fn-surface a{-webkit-tap-highlight-color:transparent}
body.fn-surface .fn-next:focus-visible{border-radius:20px;outline-offset:10px}
@media(min-width:701px) and (max-width:900px){body.fn-surface .fn-case .fn-summary{grid-template-columns:1fr}body.fn-surface .fn-case .fn-summary div,body.fn-surface .fn-case .fn-summary div+div{padding:22px 24px;border-left:0}body.fn-surface .fn-case .fn-summary div+div{border-top:1px solid var(--fn-edge)}}
