/* Next Level 360, premium build (2026-11-04). Kevin: "re-build the page like a super premium agency, assume a $15K+ retainer".
   Benchmarked against Locomotive, Collins, Instrument, Huge, Basic/Dept, Koto, Metalab, Wpromote, Power, CTC, Pilothouse
   (captures: ~/.local/state/nl360/research/2026-11-04_premium_agency_homepages/).
   Premium = big confident type, wide grid, hairline rules, real work photos, few colours, slow motion, nothing decorative.
   Kevin's rules kept: nothing under 15px, every text 7:1 or better, bands alternate black / white / green and never repeat,
   no pills, no icon tiles, no check tiles, no numbering, no drawn mockups, no card shadows.
   Display: Switzer (Fontshare, ITF Free Font License, self-hosted). Text: Atkinson Hyperlegible Next, digits from Public Sans. */

@font-face { font-family: "Switzer"; src: url("fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0B0B0B;            /* black bands */
  --paper: #FFFFFF;          /* white bands (cold review 11-04: cream + neon + black read as a 2024 template) */
  --paper-2: #F1F1EF;        /* hover tint on paper */
  --green: #135437;          /* green bands */
  --lime: #4ADE80;           /* the logo green: accents on black only */
  --g-text: #145A3A;         /* green text on paper, 7.4:1 */
  --on-paper: #0B0B0B;
  --on-paper-2: #303236;     /* 12.8:1 on white (readability pass 11-04) */
  --on-ink: #F4F3EF;
  --on-ink-2: #CDCDC7;       /* 12.6:1 on black */
  --on-green: #F4F3EF;       /* 8:1 on green */
  --on-green-2: #EEF5F1;     /* 8:1 on green */
  --rule-ink: rgba(244, 243, 239, 0.2);
  --rule-paper: rgba(11, 11, 11, 0.16);
  --rule-green: rgba(244, 243, 239, 0.3);
  --display: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: "Public Sans", "Atkinson Hyperlegible Next", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(20px, 4.4vw, 64px);
  --max: 1440px;
  --sec: clamp(96px, 10vw, 168px);
  --ease: cubic-bezier(0.2, 0.7, 0, 1);
  --r: 18px;                 /* photos and panels (Kevin 11-04: 'a little too squareish') */
  --r-sm: 12px;              /* buttons, options, inputs: soft, never a pill */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--on-ink); font: 400 19px/1.5 var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
p, li, dd { text-wrap: pretty; }  /* no 1-word last lines (Kevin: don't break sentences when you don't have to) */
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; }
[id] { scroll-margin-top: 88px; }
::selection { background: var(--lime); color: var(--ink); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--paper); color: var(--ink); padding: 14px 18px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--g-text); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.band { padding: var(--sec) 0; }
.band.tight { padding: clamp(80px, 8vw, 128px) 0; }
.ink { background: var(--ink); color: var(--on-ink); }
.paper { background: var(--paper); color: var(--on-paper); }
.green { background: var(--green); color: var(--on-green); }

/* type */
.h2 { font: 600 clamp(40px, 4.6vw, 72px)/1.06 var(--display); letter-spacing: -0.016em; }
.h2s { font: 600 clamp(32px, 3vw, 48px)/1.1 var(--display); letter-spacing: -0.012em; }
.lede { font-size: clamp(20px, 1.55vw, 24px); line-height: 1.45; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(56px, 6vw, 96px); }
.lnk { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font: 700 17px/1.2 var(--text); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.lnk:hover { text-decoration-thickness: 2px; }

/* buttons: rectangles, never pills (Kevin 10-30) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 60px; padding: 0 30px; border: 0; border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font: 700 18px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 0.25s, color 0.25s; }
.btn .ar { display: inline-block; transition: transform 0.35s var(--ease); }
.btn:hover .ar { transform: translateX(5px); }
.ink .btn:hover, .hdr .btn:hover { background: var(--lime); }
.paper .btn { background: var(--ink); color: var(--paper); }
.paper .btn:hover { background: var(--g-text); }
.green .btn { background: var(--paper); color: var(--ink); }
.green .btn:hover { background: #fff; }
.btn.line { background: transparent; color: inherit; border: 1px solid currentColor; }
.paper .btn.line:hover { background: var(--ink); color: var(--paper); }

/* header */
.hdr { position: sticky; top: 0; z-index: 60; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.hdr.scrolled { border-bottom-color: var(--rule-ink); }
.hdr .in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); height: 84px; display: flex; align-items: center; gap: 32px; }
.hdr .logo { display: block; flex: none; }
.hdr .logo img { height: 23px; width: auto; }
.hdr nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.hdr nav a { position: relative; padding: 14px 14px; font: 500 17px/1 var(--text); text-decoration: none; color: var(--on-ink); }
.hdr nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.hdr nav a:hover::after, .hdr nav a[aria-current]::after { transform: none; }
.hdr nav a[aria-current] { font-weight: 700; }
.hdr .btn { height: 48px; padding: 0 22px; font-size: 16px; gap: 10px; }
.hdr .menu-btn { display: none; height: 48px; padding: 0 4px 0 16px; background: none; border: 0; color: var(--on-ink); font: 700 17px/1 var(--text); cursor: pointer; }
.mnav { display: none; }

/* hero */
.hero { padding: clamp(64px, 8.4vw, 136px) 0 clamp(40px, 4vw, 64px); }
.hero h1 { font-size: clamp(46px, 6.9vw, 112px); line-height: 1.03; letter-spacing: -0.022em; }
.hero h1 .g { color: var(--lime); }
.hero h1 .t1 { display: block; }
@media (min-width: 701px) { .hero h1 .g { white-space: nowrap; } }
.hero h1 .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.hero h1 .wd > span { display: inline-block; }
.hero .lede { margin-top: clamp(28px, 2.8vw, 40px); color: var(--on-ink); text-wrap: pretty; }
.hero-cta { margin-top: clamp(28px, 2.8vw, 40px); max-width: 640px; }
.hero-cta .note { margin-top: 16px; color: var(--on-ink-2); font-size: 17px; line-height: 1.5; }
.hero-cta .note span + span::before { content: " "; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(72px, 8vw, 128px) 0 0; border-top: 1px solid var(--rule-ink); }
.stats div { padding: 30px 24px 0 0; }
.stats div + div { padding-left: 28px; border-left: 1px solid var(--rule-ink); }
.stats dt { font: 600 clamp(38px, 3.7vw, 58px)/1.05 var(--display); letter-spacing: -0.015em; white-space: nowrap; }
.stats dd { margin: 12px 0 0; color: var(--on-ink-2); font-size: 18px; line-height: 1.4; }

/* results: one uniform grid, every result with its photo (Kevin 11-04: "no pics?", "too many results visible").
   6 show on laptops, 4 on tablets, 3 on phones; "Show all 15 results" opens the rest. */
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 24px; align-items: start; }
.rgrid:not(.all) .rc:nth-child(n+7) { display: none; }
.rc figure { position: relative; margin: 0; overflow: hidden; background: #1a1a1a; border-radius: var(--r); isolation: isolate; }
.rc figure img.ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.4s var(--ease); }
.rc figure::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 50%; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0)); pointer-events: none; }
.rc figure .lg { position: absolute; z-index: 2; top: 18px; left: 18px; width: auto; height: auto; max-height: 50px; max-width: 150px; }
.rc .n { margin-top: 24px; font: 600 clamp(48px, 4.4vw, 68px)/1 var(--display); letter-spacing: -0.02em; }
.rc .l { margin-top: 12px; font: 700 19px/1.35 var(--text); }
.rc .t { margin-top: 6px; color: var(--on-paper-2); font-size: 17px; line-height: 1.45; }
.rc .d { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule-paper); color: var(--on-paper-2); font-size: 18px; line-height: 1.5; }
@media (hover: hover) { .rc:hover figure img.ph { transform: scale(1.035); } }
.more { margin-top: 56px; }

/* what we do: Kevin's option G (4 services, big names + 1 line, 2 columns, thin rules, no picture), premium scale */
.svc { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 7vw, 128px); }
.svc article { padding: 40px 0 64px; border-top: 1px solid var(--rule-green); }
.svc h3 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.14; letter-spacing: -0.01em; }
.svc .get { margin-top: 16px; font: 700 clamp(20px, 1.6vw, 23px)/1.35 var(--text); color: var(--on-green); }
.svc .arw { margin-top: 18px; }
.svc .arw li { color: var(--on-green); font-size: 20px; line-height: 1.45; }

/* certified platforms */
.plat-head { margin-bottom: clamp(40px, 4vw, 64px); }
.plats { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); }
.plats li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px 6px; text-align: center; }
.plats svg { width: 34px; height: 34px; color: var(--on-ink); }
.plats span { font-size: 16px; line-height: 1.3; color: var(--on-ink-2); }

/* common questions: always open (Kevin), 2 columns of full-width rows */
.faq { max-width: 900px; border-bottom: 1px solid var(--rule-paper); }
.faq article { padding: 34px 0 40px; border-top: 1px solid var(--rule-paper); }
.faq h3 { font-size: clamp(25px, 2.1vw, 32px); line-height: 1.22; letter-spacing: -0.006em; }
.faq p { margin-top: 16px; color: var(--on-paper-2); font-size: 20px; line-height: 1.55; }

/* is this a fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 7vw, 128px); }
.fit h3 { padding-bottom: 22px; border-bottom: 1px solid var(--on-ink); font-size: clamp(24px, 2.1vw, 32px); line-height: 1.22; letter-spacing: -0.006em; }
.fit .no h3 { border-bottom-color: var(--rule-ink); }
.fit li { padding: 20px 0 20px 34px; border-bottom: 1px solid var(--rule-ink); font-size: 20px; line-height: 1.45; }
.fit .no li, .fit .no h3 { color: var(--on-ink-2); }

/* closing */
.close h2 { font-size: clamp(44px, 5.6vw, 88px); line-height: 1.05; letter-spacing: -0.018em; }
.close .lede { margin-top: clamp(28px, 3vw, 44px); color: var(--on-green); text-wrap: pretty; }
.covers { margin-top: clamp(36px, 3.6vw, 56px); }
.covers ul { max-width: 720px; }
.covers p { margin-bottom: 10px; font: 700 19px/1.35 var(--text); color: var(--on-green); }
.covers li { padding: 14px 0; border-top: 1px solid var(--rule-green); font-size: 19px; line-height: 1.45; }
/* email box: a white field with the button inside it (CRO: obviously typeable; email-first step, Hormozi) */
.em { display: flex; align-items: center; gap: 6px; max-width: 640px; padding: 6px; background: #fff; border-radius: 16px; }
.em input { flex: 1; min-width: 0; height: 58px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 400 19px/1 var(--text); }
.em input::placeholder { color: #4A4C50; opacity: 1; }
.em input:focus { outline: none; }
.em .vh { color: var(--ink); }  /* hidden label sits on the white box */
.em:focus-within { box-shadow: 0 0 0 3px var(--lime); }
form.em .btn { flex: none; height: 58px; padding: 0 26px; background: var(--lime); color: var(--ink); }
form.em .btn:hover { background: var(--ink); color: #fff; }
.paper .em { box-shadow: 0 0 0 1px rgba(11,11,11,0.35); }
.paper .em:focus-within { box-shadow: 0 0 0 3px var(--g-text); }
.close .em { margin-top: clamp(36px, 3.6vw, 56px); }
.gty { margin-top: 20px; font: 700 19px/1.4 var(--text); color: var(--on-green); }

.close .note { margin-top: 8px; color: var(--on-green-2); font-size: 17px; }
.close .note span + span::before { content: " "; }

/* blog cards: photo, topic, title, link */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.post a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post .im { overflow: hidden; background: #ddd; border-radius: var(--r); isolation: isolate; }
.post .im img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.post .meta { margin-top: 20px; color: var(--on-paper-2); font-size: 16px; }
.post .meta i { font-style: normal; padding: 0 8px; }
.post h3 { margin-top: 12px; font-size: clamp(23px, 1.9vw, 29px); line-height: 1.22; letter-spacing: -0.006em; text-wrap: pretty; }
.post .go { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 22px; font: 700 17px/1.2 var(--text); }
.post .ar { display: inline-block; transition: transform 0.35s var(--ease); }
@media (hover: hover) {
  .post a:hover .im img { transform: scale(1.04); }
  .post a:hover h3, .post a:hover h2 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
  .post a:hover .ar { transform: translateX(5px); }
}

/* footer */
.ftr { background: var(--ink); color: var(--on-ink); padding: clamp(64px, 6vw, 96px) 0 32px; border-top: 1px solid var(--rule-ink); }
.ftr .big { font: 600 clamp(30px, 3.6vw, 56px)/1.08 var(--display); letter-spacing: -0.03em; }
.ftr .big a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
.ftr .big a:hover { color: var(--lime); }
.ftr .cols { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 40px 24px; }
.ftr .cols p a { text-decoration: underline; text-underline-offset: 4px; padding: 0; }
.ftr .cols h2 { margin-bottom: 12px; font: 700 16px/1.3 var(--text); color: var(--on-ink-2); }
.ftr .cols a { display: inline-block; padding: 6px 0; font-size: 17px; text-decoration: none; }
.ftr .cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr .cols p { font-size: 17px; line-height: 1.6; color: var(--on-ink); }
.ftr .cols p.sm { margin-top: 10px; font-size: 16px; color: var(--on-ink-2); }
.ftr .logo img { height: 26px; width: auto; }
.ftr .bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: clamp(56px, 6vw, 96px); color: var(--on-ink-2); font-size: 16px; }
.ftr .bot a { display: inline-flex; align-items: center; min-height: 48px; color: var(--on-ink); font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }

/* motion: slow, once, never looping (Kevin: nothing that auto-moves) */
.js .hero h1.split .wd > span { transform: translateY(110%); transition: transform 1.2s var(--ease); }
.js.loaded .hero h1.split .wd > span { transform: none; }
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rc figure img.ph { transform: scale(1.08); }
.js .rc.in figure img.ph { transform: none; }
.js .rv.d1 { transition-delay: 0.08s; } .js .rv.d2 { transition-delay: 0.16s; } .js .rv.d3 { transition-delay: 0.24s; }
/* speed (Kevin 11-15 'fix speed score'): the hero text is the page's largest paint, so it shows at once instead of
   waiting for premium.js to fade it in (mobile LCP was 10.9 s). The headline keeps its word-by-word rise. */
.js .hero .rv { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero h1.split .wd > span, .js .rv, .js .rc figure img.ph { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* contact page: the 6-question audit request (same quiz and logic as the main site, premium skin) */
.ct { padding: clamp(56px, 6vw, 104px) 0 var(--sec); }
.ct-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 24px; align-items: start; }
.ct-head { grid-column: 1 / span 5; grid-row: 1; }
.ct-more { grid-column: 1 / span 5; grid-row: 2; }
.ct-head h1 { font-size: clamp(42px, 4.6vw, 72px); line-height: 1.06; letter-spacing: -0.016em; }
.ct-head .lede { margin-top: 26px; color: var(--on-ink); }
.ct-head .lede span { display: block; }
.ct-steps { border-top: 1px solid var(--rule-ink); }
.ct-steps li { padding: 22px 0; border-bottom: 1px solid var(--rule-ink); }
.ct-steps h2 { font-size: 23px; line-height: 1.25; letter-spacing: -0.01em; }
.ct-steps p { margin-top: 6px; color: var(--on-ink-2); font-size: 17px; line-height: 1.5; }
.ct-q { margin-top: 32px; color: var(--on-ink-2); font-size: 17px; line-height: 1.5; }
.ct-q a { color: var(--on-ink); font-weight: 700; text-underline-offset: 4px; }
.ct-quiz { grid-column: 7 / -1; grid-row: 1 / span 2; }
.qz { position: relative; background: var(--paper); color: var(--on-paper); padding: clamp(28px, 3.4vw, 52px); min-height: 640px; border-radius: 24px; }
.qz .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qz-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.qz-label, .qz-n { font: 700 16px/1.3 var(--text); color: var(--on-paper-2); }
.qz-bar { height: 4px; margin-top: 16px; border-radius: 4px; overflow: hidden; background: var(--rule-paper); }
.qz-bar span { display: block; height: 100%; width: 0; background: var(--on-paper); transition: width 0.5s var(--ease); }
.qz-body { margin-top: 40px; }
.qz-body h2 { font-size: clamp(28px, 2.5vw, 38px); line-height: 1.16; letter-spacing: -0.01em; outline: none; }
.qz-hint { margin-top: 14px; color: var(--on-paper-2); font-size: 18px; line-height: 1.5; }
.qz-opts { display: grid; gap: 10px; margin-top: 32px; }
.qz-opts button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: 16px 22px; border: 1px solid rgba(11,11,11,0.32); border-radius: var(--r-sm); background: #fff; color: var(--on-paper); font: 500 19px/1.35 var(--text); text-align: left; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.qz-opts button::after { content: "\2192"; content: "\2192" / ""; flex: none; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.35s var(--ease); }
@media (hover: hover) {
  .qz-opts button:hover { border-color: var(--on-paper); }
  .qz-opts button:hover::after { opacity: 1; transform: none; }
}
.qz-opts button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.qz-opts button[aria-checked="true"]::after { opacity: 1; transform: none; }
.qz-fields { display: grid; gap: 20px; margin-top: 32px; }
.qz-fld label { display: block; margin-bottom: 8px; font: 700 16px/1.3 var(--text); }
.qz-fld input { width: 100%; height: 58px; padding: 0 18px; border: 1px solid rgba(11,11,11,0.45); border-radius: var(--r-sm); background: #fff; color: var(--on-paper); font: 400 19px/1 var(--text); }
.qz-fld input::placeholder { color: #5E6064; opacity: 1; }
.qz-fld input:focus { outline: 3px solid var(--g-text); outline-offset: 1px; border-color: var(--on-paper); }
.qz-note { margin-top: 8px; color: var(--on-paper-2); font-size: 16px; }
.qz-err { min-height: 0; margin-top: 16px; color: #8F1D14; font-weight: 700; font-size: 17px; }
.qz-err:empty { display: none; }
.qz-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; }
.qz-back { min-height: 48px; padding: 0; background: none; border: 0; color: var(--on-paper); font: 700 17px/1 var(--text); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.qz-back[hidden], .qz-next[hidden] { display: none; }
.qz-nav .qz-next { margin-left: auto; }
.qz .btn { background: var(--ink); color: #fff; }  /* the quiz panel is light: dark button, never light-on-light */
.qz .btn:hover { background: var(--g-text); color: #fff; }
.qz-under { margin-top: 18px; color: var(--on-paper-2); font-size: 16px; }
.qz.done { min-height: 0; }
.qz-ok { display: flex; gap: 18px; align-items: flex-start; }
.qz-ok svg { flex: none; margin-top: 6px; color: var(--g-text); }
.qz-steps { margin-top: 36px; border-top: 1px solid var(--rule-paper); }
.qz-steps li { display: block; padding: 20px 0; border-bottom: 1px solid var(--rule-paper); }
.qz-steps .num { display: none; }
.qz-steps h3 { font: 700 19px/1.4 var(--text); }
.qz-steps p { margin-top: 6px; color: var(--on-paper-2); font-size: 17px; line-height: 1.5; }

/* tablet */
@media (max-width: 1100px) {
  .hdr nav a { padding: 14px 10px; }
  .hdr nav a::after { left: 10px; right: 10px; }
  .plats { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 8px; }
  .ct-head, .ct-more, .ct-quiz { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 960px) {
  .hdr nav, .hdr .in > .btn { display: none; }
  .hdr .menu-btn { display: inline-flex; align-items: center; margin-left: auto; }
  .mnav { position: fixed; inset: 84px 0 0 0; z-index: 59; display: flex; flex-direction: column; padding: 24px var(--gut) 40px; background: var(--ink); color: var(--on-ink); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s 0.4s; overflow-y: auto; }
  .menu-open .mnav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.4s var(--ease); }
  .menu-open body { overflow: hidden; }
  .mnav a.big { display: block; padding: 16px 0; border-bottom: 1px solid var(--rule-ink); font: 600 40px/1.05 var(--display); letter-spacing: -0.03em; text-decoration: none; }
  .mnav .btn { margin-top: 36px; width: 100%; }
  .mnav p { margin-top: 24px; color: var(--on-ink-2); font-size: 17px; }
  .mnav p a { color: var(--on-ink); font-weight: 700; }
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rgrid:not(.all) .rc:nth-child(n+5) { display: none; }
  .svc, .faq, .fit { grid-template-columns: minmax(0, 1fr); }
  .fit .no { margin-top: 64px; }
  .posts { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .post .go { padding-top: 20px; }
  .ftr .cols { grid-template-columns: 1fr 1fr; }
  .ftr .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  body { font-size: 18px; }
  .hdr .in { height: 72px; }
  .mnav { inset: 72px 0 0 0; }
  [id] { scroll-margin-top: 76px; }
  .hero h1 { font-size: min(56px, calc((100vw - 40px) / 6.8)); line-height: 1; letter-spacing: -0.035em; }
  .hero h1 .t1 { display: inline; }
  .hero-cta { width: 100%; }
  .hero-cta .note span, .close .note span { display: block; }
  .hero-cta .note span + span::before { content: none; }
  .covers ul { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); border-top: 0; margin-top: 48px; }
  .stats div, .stats div + div { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-left: 0; border-top: 1px solid var(--rule-ink); }
  .stats dt { flex: none; min-width: 5.2em; font-size: 32px; }
  .stats dd { margin: 0; font-size: 16px; }
  .rgrid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .rgrid:not(.all) .rc:nth-child(n+4) { display: none; }
  .rc .n { font-size: 60px; }
  .more { margin-top: 44px; }
  .more .btn { width: 100%; }
  .svc article { padding: 32px 0 48px; }
  .plats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plats li { padding: 20px 4px; gap: 12px; }
  .faq article { padding: 30px 0 44px; }
  .em { flex-direction: column; align-items: stretch; }
  .em input { height: 56px; }
  form.em .btn { width: 100%; }
  .close .note span { display: block; }
  .close .note span + span::before { content: none; }
  .ftr .cols { grid-template-columns: minmax(0, 1fr); }
  .qz { padding: 26px 20px 28px; min-height: 0; }
  .qz-opts button { min-height: 60px; padding: 14px 18px; font-size: 18px; }
  .qz-nav .qz-next { width: 100%; }
  .qz-nav { flex-wrap: wrap-reverse; }
}

/* contact page on green (follows the homepage's green closing band; footer black after it) */
.ct.green .ct-head .lede { color: var(--on-green); }
.ct.green .ct-steps { border-top-color: var(--rule-green); }
.ct.green .ct-steps li { border-bottom-color: var(--rule-green); }
.ct.green .ct-steps p { color: var(--on-green-2); }
.qz :focus-visible { outline-color: var(--g-text); }

/* inner pages (About, legal, 404, blog): same words as the 10-30 site, this design */
.pg-hero { padding: clamp(64px, 7vw, 120px) 0 clamp(56px, 6vw, 96px); }
.pg-h1 { font-size: clamp(46px, 5.8vw, 92px); line-height: 1.05; letter-spacing: -0.018em; text-wrap: balance; }
.pg-h1.sm { font-size: clamp(40px, 4.6vw, 72px); }
.pg-h1 .g { color: var(--lime); }
.pg-eb { margin-bottom: 22px; font: 700 16px/1.3 var(--text); color: var(--on-ink-2); }
.pg-sub { margin-top: 26px; text-wrap: pretty; color: var(--on-ink); font-size: clamp(20px, 1.55vw, 24px); line-height: 1.45; }
.pg-img { margin: clamp(48px, 5vw, 80px) 0 0; overflow: hidden; border-radius: var(--r); }
.pg-img img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.rows2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.rows2 article { grid-column: 4 / span 8; padding: 40px 0 56px; border-top: 1px solid var(--rule-paper); }
.rows2 article:last-child { border-bottom: 1px solid var(--rule-paper); }
.rows2 h2 { font-size: clamp(30px, 2.8vw, 44px); line-height: 1.08; letter-spacing: -0.025em; }
.rows2 p { margin-top: 18px; font-size: clamp(19px, 1.45vw, 22px); line-height: 1.55; color: var(--on-paper); }
.rows2 p + p { margin-top: 14px; }

.close.sm h2 { font-size: clamp(40px, 5vw, 80px); text-wrap: balance; }
.close.sm .lede { margin-top: 26px; color: var(--on-green); text-wrap: pretty; }
.close.sm .em { margin-top: clamp(32px, 4vw, 56px); }
.close.sm .note { margin-top: 18px; }
.close.sm .cta { margin-top: 36px; }

.doc-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.toc { grid-column: 1 / span 3; position: sticky; top: 112px; }
.toc h2 { font: 700 16px/1.3 var(--text); color: var(--on-paper-2); margin-bottom: 12px; }
.toc ol { border-top: 1px solid var(--rule-paper); }
.toc li { border-bottom: 1px solid var(--rule-paper); }
.toc a { display: block; padding: 10px 0; font-size: 16px; line-height: 1.4; text-decoration: none; color: var(--on-paper); }
.toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.doc .prose { grid-column: 5 / span 8; }

.prose { color: var(--on-paper); font-size: 20px; line-height: 1.65; max-width: 68ch; }
.prose > * + * { margin-top: 20px; }
.prose p.lead { font-size: clamp(21px, 1.6vw, 24px); line-height: 1.5; }
.prose h2 { margin-top: 56px; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.12; letter-spacing: -0.022em; }
.prose h3 { margin-top: 36px; font-size: clamp(22px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -0.012em; }
.prose h2 + *, .prose h3 + * { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--g-text); }
.prose a { color: var(--g-text); font-weight: 700; text-underline-offset: 4px; }
.prose strong, .prose b { font-weight: 700; }
.prose aside.note { margin-top: 32px; padding: 22px 26px; border-radius: var(--r-sm); background: var(--paper-2); }
.prose aside.note p { margin: 0; }
.prose blockquote { margin: 40px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--on-paper); }
.prose blockquote p { font: 500 clamp(24px, 2vw, 30px)/1.3 var(--display); letter-spacing: -0.015em; }
.prose figure { margin: 36px 0; }
.prose figure img { width: 100%; border-radius: var(--r); }
.prose figcaption { margin-top: 10px; font-size: 16px; color: var(--on-paper-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 17px; }
.prose th, .prose td { padding: 12px 10px; border-bottom: 1px solid var(--rule-paper); text-align: left; vertical-align: top; }

.post-hero .ph-in { max-width: 980px; }
.post-hero .back { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font: 700 17px/1.2 var(--text); color: var(--on-ink); text-decoration: underline; text-underline-offset: 5px; }
.post-hero .meta { margin-top: 36px; color: var(--on-ink-2); font-size: 16px; }
.post-hero .meta i, .posts .meta i { font-style: normal; padding: 0 8px; }
.post-hero h1 { margin-top: 16px; font-size: clamp(40px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.post-hero .dek { margin-top: 26px; text-wrap: pretty; color: var(--on-ink); font-size: clamp(20px, 1.55vw, 23px); line-height: 1.5; }
.art-in { max-width: 860px; margin: 0 auto; }
.art-in > figure { margin: 0 0 clamp(40px, 4vw, 64px); }
.art-in > figure img { width: 100%; border-radius: var(--r); }
.art .prose { margin: 0 auto; }

.posts.all { row-gap: 64px; }
.posts.all h2 { margin-top: 12px; font-size: clamp(24px, 2vw, 30px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: pretty; }
.posts.all .sum { margin-top: 14px; color: var(--on-paper-2); font-size: 18px; line-height: 1.5; }

.nf { padding-top: clamp(96px, 12vw, 200px); padding-bottom: clamp(96px, 12vw, 200px); }
.nf .pg-h1 { font-size: clamp(96px, 16vw, 240px); }
.nf .lede { margin-top: 24px; color: var(--on-paper); }
.nf .act { margin-top: 40px; }

@media (max-width: 960px) {
  .rows2 article { grid-column: 1 / -1; }
  .toc { position: static; grid-column: 1 / -1; margin-bottom: 48px; }
  .doc .prose { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .pg-img img { aspect-ratio: 4 / 3; }
  .prose { font-size: 18px; }
  .close.sm .cta .btn { width: 100%; }
}

/* end of each article: 3 more articles, so readers keep moving (Kevin 11-04: "ease of read and navigation") */
.keep { margin-top: clamp(80px, 8vw, 128px); padding-top: 40px; border-top: 1px solid var(--on-paper); }
.keep > h2 { margin-bottom: 36px; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.05; letter-spacing: -0.025em; }
.art .keep .posts { max-width: none; }
.mnav a.big[aria-current] { color: var(--lime); }

/* phones and tablets: one button that stays reachable once the hero has scrolled away (hidden near any other email box,
   the closing band and the footer, and on the audit page itself) */
.sticky { display: none; }
@media (max-width: 960px) {
  .sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 11, 11, 0.97); border-top: 1px solid var(--rule-ink); transform: translateY(110%); visibility: hidden; transition: transform 0.35s var(--ease), visibility 0s linear 0.35s; }
  .sticky.on { transform: none; visibility: visible; transition: transform 0.35s var(--ease); }
  .sticky .btn { width: 100%; height: 54px; }
  .menu-open .sticky { visibility: hidden; }
}
/* the audit page header: logo only */
.hdr.min .in { justify-content: flex-start; }

/* section intro under a heading (one line where it fits) */
.sec-head.stack { display: block; }
.sec-head.stack .intro { margin-top: 22px; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.45; text-wrap: pretty; }
.green .intro { color: var(--on-green); }

/* arrow lists (Kevin likes the right arrow over bullets) */
.arw li { position: relative; padding-left: 30px; }
.arw li + li { margin-top: 10px; }
.arw li::before { content: "\2192"; content: "\2192" / ""; position: absolute; left: 0; top: 0; font-weight: 700; }
.green .arw li::before { color: #fff; }
.covers .arw li + li { margin-top: 0; }
.covers .arw li::before { top: 14px; }

/* photos behind 2 sections, under a dark overlay (Kevin 11-04: "images on the back of some sections ... transparent with dark overlay").
   Hero: star trails (circles = 360, predictable motion) on the right, solid dark under every word (7:1 checked by pixel sampling).
   Green bands stay plain (Kevin 11-04: mountains behind "Let's look at your ads." made no sense and were hard to read). */
.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.bg-trails::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/pr/bg_trails.jpg") 0% 22% / max(150%, 1500px) auto no-repeat; }  /* circles centred at ~75% across, right of the words */
.bg-trails::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(11,11,11,0.97) 0%, rgba(11,11,11,0.95) 66%, rgba(11,11,11,0.6) 84%, rgba(11,11,11,0.4) 100%),
  linear-gradient(0deg, #0B0B0B 0%, rgba(11,11,11,0.94) 30%, rgba(11,11,11,0) 62%); }
.js .bg-trails::before { transform: scale(1.06); transition: transform 7s var(--ease); }
.js.loaded .bg-trails::before { transform: none; }
@media (max-width: 700px) {
  .bg-trails::before { background-position: 72% 18%; background-image: url("../img/pr/bg_trails_m.jpg"); }  /* 11-15 speed: 1000 px copy under the 80-97% phone overlay */
  .bg-trails::after { background: linear-gradient(180deg, rgba(11,11,11,0.8) 0%, rgba(11,11,11,0.93) 28%, rgba(11,11,11,0.97) 55%, #0B0B0B 100%); }
}
@media (prefers-reduced-motion: reduce) { .js .bg-trails::before { transform: none; transition: none; } }

/* arrows where a list needs one (Kevin 11-04): fit lists (arrow = yes, cross = no), what happens next on the audit page,
   and the steps after the quiz. Decorative, so hidden from screen readers. */
.fit .arw li + li { margin-top: 0; }
.fit .arw li::before { top: 20px; color: var(--lime); }
.fit .arw.x li::before { content: "\00D7"; content: "\00D7" / ""; color: var(--on-ink-2); font-size: 22px; line-height: 1.2; }
.ct-steps li { position: relative; padding-left: 34px; }
.ct-steps li::before { content: "\2192"; content: "\2192" / ""; position: absolute; left: 0; top: 22px; font: 700 19px/1.3 var(--text); color: #fff; }
.qz-steps li { position: relative; padding-left: 32px; }
.qz-steps li::before { content: "\2192"; content: "\2192" / ""; position: absolute; left: 0; top: 20px; font: 700 19px/1.4 var(--text); color: var(--g-text); }
@media (max-width: 700px) { .prose { font-size: 18px; } }

/* the audit quiz, opened in place (Kevin 11-05: "people just click it, and then the quiz expands right there ... make it look good").
   Grid rows 0fr -> 1fr animates to the real height; the button and its note fold away; each quiz screen eases in. */
.qz-inline { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows 0.55s var(--ease), opacity 0.3s ease, visibility 0s linear 0.55s; }
.qz-inline.open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows 0.7s var(--ease), opacity 0.45s ease 0.1s, visibility 0s; }
.qz-inline > .qz-in { min-height: 0; overflow: hidden; }
.qz-inline .qz { min-height: 0; max-width: 720px; margin: 0; }
.hero .qz-inline .qz { margin-top: clamp(28px, 2.8vw, 40px); }
.close .qz-inline .qz { margin-top: clamp(28px, 3vw, 44px); }
.hero-cta, .close-cta { display: grid; justify-items: start; grid-template-rows: 1fr; transition: opacity 0.3s ease, grid-template-rows 0.5s var(--ease), margin 0.5s var(--ease); }
.hero-cta > *, .close-cta > * { min-height: 0; }
.qz-off { opacity: 0; pointer-events: none; height: 0; margin-top: 0 !important; overflow: hidden; }
.qz-open { height: 64px; padding: 0 34px; font-size: 19px; background: var(--lime); color: var(--ink); }
.qz-open:hover { background: #fff; color: var(--ink); }
.green .qz-open:hover { background: #fff; }
.close-cta { margin-top: clamp(36px, 3.6vw, 56px); }
.close-cta .gty { margin-top: 22px; }
.close-cta .note { margin-top: 6px; }
.qz-top { align-items: center; }
.qz-label .qz-n:not(:empty)::before { content: "\00B7"; margin: 0 10px; }
.qz-close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 12px; background: none; border: 0; color: var(--on-paper); font: 700 17px/1 var(--text); cursor: pointer; }
.qz-close span { font-size: 26px; line-height: 1; font-weight: 400; }
.qz-close:hover { text-decoration: underline; text-underline-offset: 4px; }
.qz-body.swap { animation: qzIn 0.4s var(--ease) both; }
@keyframes qzIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .qz-open { width: 100%; height: 60px; }
  .hero-cta, .close-cta { justify-items: stretch; }
  .qz-inline .qz { padding: 22px 18px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .qz-inline, .qz-inline.open, .hero-cta, .close-cta { transition: none; }
  .qz-body.swap { animation: none; }
}

/* hero key visual (11-05): Kevin's logo arrows as 2 windows onto Earth at night. Prompts by Fable, image by Codex CLI
   (16 made, this one picked: logo + the planet he liked, empty black where the words sit). Desktop: right side, never
   behind a word. Phones and tablets: a band at the top that fades into black before the headline. */
.bg-art::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/pr/hero_art.jpg") right -3vw top 46% / auto 80% no-repeat; }
.bg-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0B0B0B 0%, #0B0B0B 56%, rgba(11,11,11,0) 66%); }
.hero.bg-art .lede { max-width: min(860px, 58vw); }
.js .bg-art::before { opacity: 0; transform: translateX(28px); transition: opacity 1.6s ease 0.2s, transform 2.4s var(--ease) 0.2s; }
.js.loaded .bg-art::before { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .hero.bg-art { padding-top: calc(min(100vw, 760px) * 0.6); }
  .bg-art::before { background: url("../img/pr/hero_art_m.jpg") center top / min(100%, 760px) auto no-repeat; }
  .bg-art::after { background: linear-gradient(180deg, rgba(11,11,11,0) 0, rgba(11,11,11,0) calc(min(100vw, 760px) * 0.36), #0B0B0B calc(min(100vw, 760px) * 0.6)); }
  .hero.bg-art .lede { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .js .bg-art::before { opacity: 1; transform: none; transition: none; } }

/* hero (Kevin 11-05: "My favorite ... is E ... Just use the planet. Just remove the arrows"): Earth at night from orbit
   (NASA, public domain), natural colours, on the right and in the back; every word stays on near-black (pixel-checked 7:1+). */
.bg-earth::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/pr/earth_bg.jpg") 100% 30% / max(118%, 1500px) auto no-repeat; }
.bg-earth::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(11,11,11,0.97) 0%, rgba(11,11,11,0.95) 62%, rgba(11,11,11,0.62) 82%, rgba(11,11,11,0.45) 100%),
  linear-gradient(0deg, #0B0B0B 0%, rgba(11,11,11,0.94) 24%, rgba(11,11,11,0) 58%); }
.js .bg-earth::before { opacity: 0; transform: scale(1.04); transition: opacity 1.4s ease 0.15s, transform 4s var(--ease) 0.15s; }
.js.loaded .bg-earth::before { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .bg-earth::before { background: url("../img/pr/earth_bg.jpg") 70% 0 / auto 330px no-repeat; }
  .bg-earth::after { background: linear-gradient(180deg, rgba(11,11,11,0.8) 0%, rgba(11,11,11,0.93) 20%, rgba(11,11,11,0.97) 45%, #0B0B0B 100%); }
}
@media (prefers-reduced-motion: reduce) { .js .bg-earth::before { opacity: 1; transform: none; transition: none; } }

/* premium pass (Kevin 11-05: "make it even more premium ... motion graphics ... effects")
   - numbers in tabular figures, so the count-up never jitters
   - the planet drifts slower than the page on scroll (depth), set by premium.js as --py
   - the header turns to smoked glass once the page scrolls (white text stays 12:1 over any band)
   - pages cross-fade into each other (View Transitions), the header stays put */
.stats dt, .rc .n { font-variant-numeric: tabular-nums; }
.bg-earth::before { background-position: 100% calc(30% + var(--py, 0px)); }
@media (max-width: 960px) { .bg-earth::before { background-position: 70% calc(0px + var(--py, 0px)); } }
.hdr.scrolled { background: rgba(11, 11, 11, 0.86); -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hdr.scrolled { background: var(--ink); } }
@view-transition { navigation: auto; }
.hdr { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.38s; animation-timing-function: cubic-bezier(0.2, 0.7, 0, 1); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* About (Kevin 11-05: "a long picture on the left and then our story, how we think, and what we value on the right").
   Photo: "Between buildings" by Justin Main, Unsplash via Wikimedia Commons, CC0. It stays in view while the rows scroll. */
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.about-img { grid-column: 1 / span 5; position: sticky; top: 112px; margin: 0; overflow: hidden; border-radius: var(--r); background: #1a1a1a; }
.about-img img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.about-rows { grid-column: 7 / -1; }
.about-rows article { padding: 0 0 52px; }
.about-rows article + article { padding-top: 40px; border-top: 1px solid var(--rule-paper); }
.about-rows h2 { font-size: clamp(30px, 2.8vw, 44px); line-height: 1.08; letter-spacing: -0.016em; }
.about-rows p { margin-top: 18px; font-size: clamp(19px, 1.45vw, 21px); line-height: 1.6; color: var(--on-paper); }
.about-rows p + p { margin-top: 14px; }
@media (max-width: 960px) {
  .about-img { grid-column: 1 / -1; position: static; margin-bottom: 48px; }
  .about-img img { aspect-ratio: 4 / 5; max-height: 72vh; }
  .about-rows { grid-column: 1 / -1; }
}
.close.sm .cta .btn { background: var(--lime); color: var(--ink); }  /* same green button as the homepage */
.close.sm .cta .btn:hover { background: #fff; }
/* CRO pass (11-05): on phones the About photo is a short band, so the story starts on the first screen */
@media (max-width: 960px) {
  .about-img img { aspect-ratio: 1 / 1; max-height: none; object-position: 50% 0%; }  /* the whole CN Tower, spire to base, nothing cut (Kevin 11-05) */
  .about-img { margin-bottom: 40px; }
}
.close.sm .close-cta { margin-top: clamp(32px, 4vw, 48px); }
.close.sm .close-cta .note { margin-top: 12px; }
@media (min-width: 701px) and (max-width: 960px) { .about-img { max-width: 560px; } }  /* tablets: the square photo never fills the screen */

/* About on phones and tablets (Kevin 11-05: "text has priority ... put the text first"): the story comes first and the whole
   photo (CN Tower, nothing cropped) closes the section; desktop keeps the tall photo on the left. */
@media (max-width: 960px) {
  .about-grid { display: flex; flex-direction: column; }
  .about-rows { order: 1; }
  .about-img { order: 2; width: 100%; max-width: 520px; margin: 8px auto 0; }
  .about-img img { aspect-ratio: 2 / 3; object-position: 50% 50%; }
}
.btn.qz-open { background: var(--lime); color: var(--ink); }  /* the quiz button is green on every band */
.btn.qz-open:hover { background: #fff; color: var(--ink); }

/* FAQ: closed by default, click a question to open it (Kevin 11-05). Plus turns to minus; the answer slides open where the
   browser supports it (interpolate-size), and simply appears elsewhere. */
.faq { interpolate-size: allow-keywords; }
.faq article { display: none; }
.faq details { border-top: 1px solid var(--rule-paper); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.25; letter-spacing: -0.006em; }
.faq .pm { position: relative; flex: none; width: 22px; height: 22px; color: var(--on-paper); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.4s var(--ease); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq details p { margin: 0; padding: 0 56px 32px 0; color: var(--on-paper-2); font-size: 20px; line-height: 1.55; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (hover: hover) { .faq summary:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; } }
.faq summary:focus-visible { outline: 3px solid var(--g-text); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 700px) { .faq summary { padding: 22px 0; } .faq details p { padding-right: 0; font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } .faq .pm::after { transition: none; } }

/* the audit form, premium (Kevin 11-05: "is that the most good looking a form can be? ... integrate with page ... still easy for CRO").
   A dark panel that belongs to the page (black on the hero, black on the green bands), a lit top edge, big tap targets,
   brand-green progress and selection, screens that slide forward and back. Every text 9:1+. */
.qz { background: #121312; color: var(--on-ink); border: 1px solid rgba(244, 243, 239, 0.14); border-radius: 24px; box-shadow: inset 0 1px 0 rgba(244, 243, 239, 0.08); }
.green .qz { background: #0B0B0B; border-color: rgba(244, 243, 239, 0.12); }
.qz-label { color: var(--on-ink); }
.qz-label .qz-n, .qz-n { color: var(--on-ink-2); }
.qz-bar { height: 3px; background: rgba(244, 243, 239, 0.14); }
.qz-bar span { background: var(--lime); border-radius: 3px; }
.qz-body h2 { color: var(--on-ink); font-size: clamp(28px, 2.6vw, 40px); }
.qz-hint { color: var(--on-ink-2); }
.qz-opts { gap: 12px; }
.qz-opts.two { grid-template-columns: 1fr 1fr; }
.qz-opts button { min-height: 66px; padding: 18px 22px; border: 1px solid rgba(244, 243, 239, 0.2); border-radius: 14px; background: rgba(244, 243, 239, 0.04); color: var(--on-ink); font: 500 19px/1.35 var(--text); transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.2s var(--ease); }
@media (hover: hover) {
  .qz-opts button:hover { border-color: var(--lime); background: rgba(74, 222, 128, 0.08); }
}
.qz-opts button:active { transform: scale(0.985); }
.qz-opts button[aria-checked="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.qz-fld label { color: var(--on-ink); }
.qz-fld input { height: 62px; padding: 0 20px; border: 1px solid rgba(244, 243, 239, 0.24); border-radius: 14px; background: rgba(244, 243, 239, 0.05); color: var(--on-ink); font-size: 20px; }
.qz-fld input::placeholder { color: #B4B4AE; }
.qz-fld input:focus { outline: 2px solid var(--lime); outline-offset: 1px; border-color: transparent; }
.qz-note { color: var(--on-ink-2); }
.qz-err { color: #FFA394; }
.qz .btn, .qz .btn:hover { background: var(--lime); color: var(--ink); }
.qz .btn:hover { background: #fff; }
.qz .btn { height: 60px; padding: 0 30px; border-radius: 14px; }
.qz-back { color: var(--on-ink); }
.qz-close { color: var(--on-ink); }
.qz-under { color: var(--on-ink-2); }
.qz-under a { color: var(--on-ink); }
.qz :focus-visible { outline-color: var(--lime); }
.qz-ok svg { color: var(--lime); }
.qz-steps { border-top-color: rgba(244, 243, 239, 0.14); }
.qz-steps li { border-bottom-color: rgba(244, 243, 239, 0.14); }
.qz-steps h3 { color: var(--on-ink); }
.qz-steps p { color: var(--on-ink-2); }
.qz-steps li::before { color: var(--lime); }
.qz-body.swap-f { animation: qzF 0.45s var(--ease) both; }
.qz-body.swap-b { animation: qzB 0.45s var(--ease) both; }
@keyframes qzF { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes qzB { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .qz-opts.two { grid-template-columns: minmax(0, 1fr); }  /* phones: 1 answer per row, nothing wraps */
  .qz-opts button { min-height: 60px; padding: 14px 16px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .qz-body.swap-f, .qz-body.swap-b { animation: none; } }

/* ===== design-principles pass (Fable ruling 11-05, Kevin: "the FAQ ... the text does not go as far as the section above") =====
   One grid: every capped width is a column span of the same 12-column grid, so right edges meet.
   One rhythm: one band spacing, two row paddings. One type scale: 20 body / 17 secondary / 16 labels. One kit: 60px page
   buttons, 12px control corners, 18px photos, 24px for the quiz panel. */
:root {
  --span6: calc((100% - 11 * 24px) / 12 * 6 + 24px * 5);
  --span7: calc((100% - 11 * 24px) / 12 * 7 + 24px * 6);
  --span8: calc((100% - 11 * 24px) / 12 * 8 + 24px * 7);
  --span9: calc((100% - 11 * 24px) / 12 * 9 + 24px * 8);
  --sec: clamp(88px, 8.5vw, 120px);
}
.hero-cta, .em { max-width: var(--span6); }
.qz-inline .qz { max-width: var(--span6); }
.covers ul { max-width: var(--span7); }
.faq { max-width: none; }  /* full width like every section above it (Kevin 11-05); the answers keep a 68ch reading line */
.art-in { max-width: var(--span8); }
.post-hero .ph-in { max-width: var(--span9); }
.faq details p { max-width: 68ch; padding-right: 0; }
@media (max-width: 960px) { .qz-inline .qz, .hero-cta, .em, .covers ul, .faq, .art-in, .post-hero .ph-in { max-width: none; } }

/* rhythm */
.band.tight { padding: var(--sec) 0; }
.hero { padding-bottom: var(--sec); }
.covers li, .ct-steps li, .qz-steps li { padding-top: 20px; padding-bottom: 20px; }
.covers .arw li::before { top: 20px; }
.ct-steps li::before { top: 20px; }
.faq summary { padding: 24px 0; }

/* type scale */
body { font-size: 20px; }
.rc .l { font-size: 20px; }
.rc .d { font-size: 20px; line-height: 1.5; }
.covers li { font-size: 20px; }
.about-rows p, .rows2 p { font-size: 20px; }
.stats dd { font-size: 17px; }
.post .meta, .post-hero .meta { font-size: 17px; }
.qz-hint { font-size: 17px; }
@media (max-width: 700px) {
  body { font-size: 18px; }
  .rc .l, .rc .d, .covers li, .svc .arw li, .fit li, .faq details p, .about-rows p { font-size: 18px; }
  .rc .t, .stats dd, .hero-cta .note, .close .note, .post .meta, .qz-hint { font-size: 16px; }
}

/* one button kit */
.btn.qz-open { height: 60px; }
.qz-opts button, .qz-fld input, .qz .btn { border-radius: 12px; }
.em { border-radius: 12px; }
.em input { border-radius: 8px; }
.more .lnk { padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
.more .lnk .ar { transition: transform 0.35s var(--ease); }
@media (hover: hover) { .more .lnk:hover .ar { transform: translateY(3px); } }

/* platforms hang from the same left and right edges as everything else */
.plats { grid-template-columns: repeat(9, auto); justify-content: space-between; }
.plats li { align-items: flex-start; text-align: left; padding: 28px 0; }
@media (max-width: 1100px) { .plats { grid-template-columns: repeat(5, minmax(0, 1fr)); justify-content: stretch; } .plats li { padding: 20px 0; border: 0; margin: 0; } }
@media (max-width: 700px) { .plats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* one rule weight per band */
.fit h3 { border-bottom-color: var(--rule-ink); }
.keep { border-top-color: var(--rule-paper); }

/* FAQ: the plus sits on the question's first line */
.faq summary { align-items: flex-start; }
.faq .pm { margin-top: calc(clamp(22px, 1.9vw, 28px) * 0.625 - 11px); }

/* closing: the guarantee reads before the button, at the lede size */
.close .gty { margin-top: clamp(28px, 3vw, 40px); font: 700 clamp(20px, 1.55vw, 24px)/1.4 var(--text); color: var(--on-green); }
.close .gty + .close-cta { margin-top: 24px; }

/* blog head on phones: heading, then the cards, then "All articles" */
.more-lnk { display: none; margin-top: 36px; }
@media (max-width: 700px) {
  #blog .sec-head .lnk { display: none; }
  .more-lnk { display: block; }
}

/* phone stats: one table, labels on one column line */
@media (max-width: 700px) {
  .stats div, .stats div + div { display: grid; grid-template-columns: 6.15em 1fr; align-items: baseline; column-gap: 12px; font-size: 29px; }
  .stats dt { min-width: 0; font-size: 29px; }
  .stats dd { font-size: 16px; }
}

/* phone sticky button never covers the last row of a section */
@media (max-width: 960px) { html.has-sticky body { padding-bottom: 74px; } html.has-sticky { scroll-padding-bottom: 74px; } }

/* opened quiz on desktop (Kevin 11-05: "form still looks out of place in desktop ... it takes only half screen at the left"):
   it spans the full content width like every section, the question sits on the left and the answers on the right,
   so it reads as one wide panel instead of a half-width card. Phones and tablets keep the single column. */
@media (min-width: 1101px) {
  .qz-inline .qz { max-width: none; padding: 40px 48px 36px; }
  .qz-inline .qz-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; align-items: start; }
  .qz-inline .qz-body > h2, .qz-inline .qz-body > .qz-hint, .qz-inline .qz-body > .qz-ok { grid-column: 1; }
  .qz-inline .qz-body > .qz-opts, .qz-inline .qz-body > .qz-fields, .qz-inline .qz-body > .qz-steps { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .qz-inline .qz-body > .qz-steps { border-top: 0; }
  .qz-inline .qz-body > .qz-steps li:first-child { padding-top: 0; }
  .qz-inline .qz-body > .qz-steps li:first-child::before { top: 0; }
  .qz-inline .qz-nav { margin-top: 28px; }
  .qz-inline .qz-nav .qz-back { margin-right: auto; }
  .qz-inline .qz-nav .qz-next { margin-left: auto; }
  .qz-inline .qz-under { max-width: none; text-align: right; }
}
.qz h2 { text-wrap: balance; } .qz-hint { text-wrap: pretty; }

/* result logos (Kevin 11-05, cold review: "different sizes", "homemade"): one corner, one visual weight; build.py sizes each
   logo by its ink area and passes the width as --lw */
.rc figure .lg { width: var(--lw); height: auto; max-width: none; max-height: none; top: 20px; left: 20px; }

/* client quotes, right under the results (Kevin 11-05: "do the current placeholders we had"; placeholders until real quotes) */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.qt { display: flex; flex-direction: column; margin: 0; padding-top: 28px; border-top: 1px solid var(--rule-ink); }
.qt .qm { display: block; height: 30px; margin-bottom: 18px; font: 600 72px/0.82 var(--display); color: var(--lime); }
.qt blockquote { margin: 0; }
.qt p { font: 500 clamp(22px, 1.75vw, 27px)/1.38 var(--display); letter-spacing: -0.008em; color: var(--on-ink); text-wrap: pretty; }
.qt figcaption { margin-top: auto; padding-top: 28px; font-size: 17px; line-height: 1.4; }
.qt figcaption b { display: block; font-weight: 700; color: var(--on-ink); }
.qt figcaption span { display: block; margin-top: 4px; color: var(--on-ink-2); }
@media (max-width: 960px) { .quotes { grid-template-columns: minmax(0, 1fr); gap: 44px; } .qt figcaption { padding-top: 22px; } }
.rc figure::before { height: 52%; background: linear-gradient(180deg, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.38) 48%, rgba(0,0,0,0) 100%); }  /* one even dark corner under every logo */

/* polish pass (Kevin 11-05: "spacing and everything, where u break sentences, how things look ... ensure all is amazing").
   Headings break into even lines (no 1-word last line); build.py also keeps the last 2 words of every paragraph together,
   numbers with their word, and one apostrophe style. */
h1, h2, h3, h4, .rc .l { text-wrap: balance; }
.hero h1 { text-wrap: wrap; }   /* the hero keeps its 2 set lines on laptops; on phones it flows */
.plats span, .ftr .cols a, .ftr .cols p.sm { white-space: nowrap; }
/* even space at the bottom of the services band (the last row no longer adds its own 64px under the band padding) */
@media (min-width: 961px) { .svc article:nth-last-child(-n+2) { padding-bottom: 0; } }
@media (max-width: 960px) { .svc article:last-child { padding-bottom: 0; } }
/* the small note under every big button sits at the same distance */
.close-cta .note, .close.sm .close-cta .note { margin-top: 16px; }
.post h3, .posts.all h2, .faq summary h3 { text-wrap: balance; }
.qz-opts button, .qz-hint { text-wrap: balance; }   /* quiz answers never leave 1 word on its own line */
.prose h2 + h3 { margin-top: 22px; }   /* a section title and its first sub-title no longer touch */
