/* v2 preview (2026-11-05): the components the premium expansion adds, on top of premium.css (same design system:
   Switzer + Atkinson, 12-col grid, hairlines not cards, bands black / white / green, 18px photos, 12px controls,
   arrow lists, no icons, no numbering, no charts). */

/* ---------- nav: dropdowns (plain text panel on smoked glass, hairlines; button + aria-expanded, Esc closes) ---------- */
.hdr nav { gap: 2px; }
.dd { position: relative; }
.dd-b { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 14px 14px; background: none; border: 0; color: var(--on-ink); font: 500 17px/1 var(--text); cursor: pointer; }
.dd-b::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); }
.dd-b:hover::after, .dd.cur .dd-b::after, .dd.open .dd-b::after { transform: none; }
.dd.cur .dd-b { font-weight: 700; }
.dd .cv { flex: none; width: 7px; height: 7px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.35s var(--ease), margin 0.35s var(--ease); }
.dd.open .cv { margin-top: 4px; transform: rotate(-135deg); }
.dd-p { position: absolute; z-index: 70; top: calc(100% + 12px); left: 2px; min-width: 300px; padding: 6px 24px; background: rgba(11, 11, 11, 0.94); -webkit-backdrop-filter: saturate(150%) blur(18px); backdrop-filter: saturate(150%) blur(18px);  /* the header (view-transition-name) clips the blur, so the smoke is mostly in the tint */ border: 1px solid var(--rule-ink); border-radius: var(--r); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.22s ease, transform 0.35s var(--ease), visibility 0s linear 0.35s; }
.dd.open .dd-p { opacity: 1; visibility: visible; transform: none; transition: opacity 0.22s ease, transform 0.35s var(--ease), visibility 0s; }
html:not(.js) .dd:hover .dd-p, html:not(.js) .dd:focus-within .dd-p { opacity: 1; visibility: visible; transform: none; }
.dd-p li + li { border-top: 1px solid var(--rule-ink); }
.hdr nav .dd-p a { display: block; padding: 15px 0; white-space: nowrap; font: 500 17px/1.3 var(--text); }
.hdr nav .dd-p a::after { content: none; }
.hdr nav .dd-p a:hover, .hdr nav .dd-p a[aria-current] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hdr nav .dd-p a[aria-current] { font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .dd-p, .dd.open .dd-p, .dd .cv { transition: none; } }

/* the 6 nav items need the room: tighter steps on small laptops, the phone menu below 1100px */
@media (max-width: 1280px) {
  .hdr .in { gap: 20px; }
  .hdr nav a, .dd-b { padding: 14px 10px; font-size: 16px; }
  .hdr nav a::after, .dd-b::after { left: 10px; right: 10px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .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; }
}
/* phone menu: 8 items, a flat list (spec) */
@media (max-width: 1100px) { .mnav a.big { padding: 13px 0; font-size: clamp(28px, 6.6vw, 36px); line-height: 1.1; } .mnav .btn { flex: none; margin-top: 28px; } }
.mnav a.big[aria-current="true"] { color: var(--lime); }

/* ---------- hero: who it is for, above the headline (spec 2.1, Q34) ---------- */
.hero-pre { margin-bottom: clamp(20px, 2.2vw, 30px); font: 500 17px/1.4 var(--text); color: var(--on-ink); }

/* ---------- results: industry tabs (text, underline, role=tab) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 34px; margin: calc(-1 * clamp(24px, 3vw, 48px)) 0 clamp(40px, 4vw, 56px); border-bottom: 1px solid var(--rule-paper); }
html:not(.js) .tabs { display: none; }
.tabs button { position: relative; min-height: 52px; padding: 0; background: none; border: 0; color: var(--on-paper-2); font: 500 18px/1.2 var(--text); cursor: pointer; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--on-paper); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.tabs button[aria-selected="true"] { color: var(--on-paper); font-weight: 700; }
.tabs button[aria-selected="true"]::after { transform: none; }
@media (hover: hover) { .tabs button:hover { color: var(--on-paper); } .tabs button:hover::after { transform: none; height: 1px; } .tabs button[aria-selected="true"]:hover::after { height: 2px; } }
.tabs button:focus-visible { outline: 3px solid var(--g-text); outline-offset: 4px; border-radius: 4px; }
.rgrid.filtered .rc:nth-child(n) { display: block; }
.rgrid .rc.off, .rgrid.filtered .rc.off { display: none; }
.ind-lnk { margin-top: 48px; }
@media (max-width: 700px) { .tabs { gap: 0 24px; } .tabs button { min-height: 48px; font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .tabs button::after { transition: none; } }

/* ---------- results on every inner page: all cards show; dark cards on black bands ---------- */
.rgrid.fixed .rc:nth-child(n) { display: block; }
.ink .rc .t, .ink .rc .d { color: var(--on-ink-2); }
.ink .rc .d { border-top-color: var(--rule-ink); }
.duo + .rgrid { margin-top: clamp(64px, 7vw, 104px); }
@media (min-width: 961px) {
  .rgrid.few { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: calc((100% - 11 * 24px) / 12 * 5 + 24px * 5); }
  .duo + .rgrid.few { margin-top: 64px; }
}

/* ---------- what we do: a link under each service ---------- */
.svc-more { margin-top: 18px; }
.green .lnk { color: var(--on-green); }

/* ---------- duo band: heading left (5 of 12), content right (7 of 12) ---------- */
.h2i { font: 600 clamp(36px, 3.7vw, 58px)/1.07 var(--display); letter-spacing: -0.015em; }
.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.duo > h2 { grid-column: 1 / span 5; padding-right: 24px; }
.duo > .sc { grid-column: 6 / -1; }
@media (min-width: 961px) { .duo > h2 { position: sticky; top: 116px; } }
@media (min-width: 961px) { .duo.wide > h2 { grid-column: 1 / span 6; } .duo.wide > .sc { grid-column: 7 / -1; } }  /* the homepage .h2 size needs 6 columns */
.sc p.big, .after p.big, .acc p.big { font-size: clamp(20px, 1.55vw, 24px); line-height: 1.5; }
.sc p.big + p.big { margin-top: 22px; }
.sc > .arw.rows:first-child, .sc > .faq:first-child { margin-top: 6px; }
.sc p.big + .arw.rows { margin-top: 32px; }
p.after, .sc .after { margin-top: 32px; }
div.after { margin-top: clamp(40px, 4vw, 56px); max-width: var(--span8); }
div.after p + p { margin-top: 16px; }
@media (max-width: 960px) {
  .duo > h2, .duo > .sc { grid-column: 1 / -1; }
  .duo > h2 { padding-right: 0; margin-bottom: 32px; }
  div.after { max-width: none; }
}

/* ---------- arrow lists as hairline rows (the fit-list look), on every band ---------- */
.arw.rows { border-top: 1px solid var(--rule-paper); }
.arw.rows li { margin: 0; padding: 20px 0 20px 34px; border-bottom: 1px solid var(--rule-paper); font-size: 20px; line-height: 1.5; }
.arw.rows li + li { margin-top: 0; }
.arw.rows li::before { top: 20px; }
.paper .arw.rows li::before { color: var(--g-text); }
.ink .arw.rows, .ink .arw.rows li { border-color: var(--rule-ink); }
.ink .arw.rows li::before { color: var(--lime); }
.green .arw.rows, .green .arw.rows li { border-color: var(--rule-green); }
@media (max-width: 700px) { .arw.rows li { font-size: 18px; padding: 18px 0 18px 30px; } .arw.rows li::before { top: 18px; } }

/* ---------- time-labelled rows (Week 1, Day 30, Step 1 ...): label, heading, line; no numbering ---------- */
.tl { border-top: 1px solid var(--rule-paper); }
.tl li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--rule-paper); }
.tl-l { grid-column: 1 / span 3; padding-right: 16px; font: 700 17px/1.4 var(--text); color: var(--on-paper-2); }
.tl h3 { grid-column: 4 / span 4; padding-right: 16px; font-size: clamp(23px, 1.9vw, 29px); line-height: 1.22; letter-spacing: -0.008em; }
.tl-d { grid-column: 8 / -1; font-size: 20px; line-height: 1.5; color: var(--on-paper-2); }
.ink .tl, .ink .tl li { border-color: var(--rule-ink); }
.ink .tl-l, .ink .tl-d { color: var(--on-ink-2); }
.green .tl, .green .tl li { border-color: var(--rule-green); }
.green .tl-l, .green .tl-d { color: var(--on-green-2); }
@media (max-width: 960px) {
  .tl li { display: block; padding: 26px 0; }
  .tl h3 { margin-top: 8px; padding-right: 0; }
  .tl-d { margin-top: 10px; }
}
@media (max-width: 700px) { .tl-d { font-size: 18px; } .tl-l { font-size: 16px; } }

/* ---------- FAQ on black bands and inside a split ---------- */
.ink .faq { border-bottom-color: var(--rule-ink); }
.ink .faq details { border-top-color: var(--rule-ink); }
.ink .faq .pm { color: var(--on-ink); }
.ink .faq details p { color: var(--on-ink-2); }
.ink .faq summary:focus-visible { outline-color: var(--lime); }
.sc .faq summary:first-child { padding-top: 22px; }

/* ---------- 2 columns of arrow rows (what we count, what we need / count on) ---------- */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 7vw, 128px); }
.cols2 h3 { padding-bottom: 22px; border-bottom: 1px solid var(--rule-paper); font-size: clamp(24px, 2.1vw, 32px); line-height: 1.22; letter-spacing: -0.006em; }
.cols2 .arw.rows { border-top: 0; }
.ink .cols2 h3 { border-bottom-color: var(--rule-ink); }
@media (max-width: 960px) { .cols2 { grid-template-columns: minmax(0, 1fr); } .cols2 > div + div { margin-top: 64px; } }

/* ---------- short blocks (h3 + 1 paragraph), 2 or 3 across ---------- */
.blocks { display: grid; gap: 56px clamp(32px, 5vw, 96px); }
.blocks.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blocks.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blocks article { padding-top: 32px; border-top: 1px solid var(--rule-paper); }
.blocks h3 { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.2; letter-spacing: -0.008em; }
.blocks p { margin-top: 14px; font-size: 20px; line-height: 1.55; color: var(--on-paper-2); }
.ink .blocks article { border-top-color: var(--rule-ink); }
.ink .blocks p { color: var(--on-ink-2); }
@media (max-width: 960px) { .blocks.n2, .blocks.n3 { grid-template-columns: minmax(0, 1fr); gap: 44px; } }
@media (max-width: 700px) { .blocks p { font-size: 18px; } }

/* ---------- services index rows ---------- */
.srows { border-bottom: 1px solid var(--rule-paper); }
.srow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: clamp(40px, 4.4vw, 64px) 0; border-top: 1px solid var(--rule-paper); }
.srow > h2 { grid-column: 1 / span 5; padding-right: 24px; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.1; letter-spacing: -0.014em; }
.srow > div { grid-column: 6 / -1; }
.srow .get { font: 700 clamp(20px, 1.6vw, 23px)/1.35 var(--text); }
.srow .get + p { margin-top: 12px; font-size: 20px; line-height: 1.55; color: var(--on-paper-2); }
.srow .after { margin-top: 20px; }
@media (max-width: 960px) { .srow > h2, .srow > div { grid-column: 1 / -1; } .srow > div { margin-top: 18px; } }
@media (max-width: 700px) { .srow .get + p { font-size: 18px; } }

/* ---------- industries index: 2 by 2, plain number rows ---------- */
.iblocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(40px, 7vw, 128px); }
.iblk { padding: 40px 0 64px; border-top: 1px solid var(--rule-paper); }
.iblk > h2 { font-size: clamp(30px, 2.8vw, 44px); line-height: 1.1; letter-spacing: -0.014em; }
.iblk > p:not(.after) { margin-top: 16px; font-size: 20px; line-height: 1.55; color: var(--on-paper-2); }
.nums { margin: 28px 0 0; border-bottom: 1px solid var(--rule-paper); }
.nums div { display: grid; grid-template-columns: max-content 1fr; align-items: baseline; column-gap: 18px; padding: 16px 0; border-top: 1px solid var(--rule-paper); }
.nums dt { font: 600 clamp(28px, 2.4vw, 38px)/1.1 var(--display); letter-spacing: -0.015em; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 3.5em; }
.nums dd { margin: 0; font-size: 18px; line-height: 1.45; color: var(--on-paper-2); }
.iblk .after { margin-top: 24px; }
@media (max-width: 960px) { .iblocks { grid-template-columns: minmax(0, 1fr); } .iblk { padding-bottom: 56px; } }
@media (max-width: 700px) { .nums div { column-gap: 14px; } .nums dd { font-size: 17px; } }

/* ---------- About: markets as type (V7), lists in rows, the numbers band ---------- */
.about-rows .arw.rows { margin-top: 20px; }
.about-rows .arw.rows li { font-size: 20px; }
.mkts { margin-top: 8px; }
.mkt { padding-top: 28px; }
.mkt + .mkt { margin-top: 8px; border-top: 1px solid var(--rule-paper); }
.mkt h3 { font: 700 17px/1.3 var(--text); color: var(--on-paper-2); }
.about-rows .mkt .places { margin-top: 10px; font: 600 clamp(30px, 2.8vw, 44px)/1.12 var(--display); letter-spacing: -0.016em; color: var(--on-paper); }
.mkt .places span { display: inline-block; margin-right: 0.2em; }
.about-rows .mkt .places { text-wrap: balance; }
.about-rows .mkt p + p { margin-top: 12px; }
.mkts + p { margin-top: 28px; }
.stats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.stats.two + .plat-head { margin-top: clamp(80px, 8vw, 128px); }
@media (max-width: 700px) { .about-rows .arw.rows li { font-size: 18px; } .stats.two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Creative: the wall of real ads (V2, PREVIEW): one still grid, same size and corners ---------- */
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; margin-top: clamp(64px, 7vw, 104px); }
.wall .ad { margin: 0; }
.wall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: #e8e8e6; }
.wall figcaption { margin-top: 12px; font-size: 16px; line-height: 1.35; color: var(--on-paper-2); }
@media (max-width: 1100px) { .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }

/* ---------- closing: the quiet "How it works" link after the guarantee ---------- */
.gty .gty-lnk { font-weight: 400; color: var(--on-green); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; white-space: nowrap; }
.gty .gty-lnk:hover { text-decoration-thickness: 2px; }

/* ---------- Accessibility page ---------- */
.acc { max-width: var(--span8); }
.acc .big { margin-top: 44px; }
.acc .big a { color: var(--g-text); font-weight: 700; text-underline-offset: 4px; }
.acc .small { margin-top: 16px; font-size: 17px; color: var(--on-paper-2); }
@media (max-width: 960px) { .acc { max-width: none; } }

/* ---------- footer: Services, Industries, Company, Legal, Office ---------- */
.ftr .ftop { margin-bottom: clamp(44px, 4.4vw, 64px); }
.ftr .cols5 { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 40px 32px; }
.ftr .cols5 h2 { margin-bottom: 12px; font: 700 16px/1.3 var(--text); color: var(--on-ink-2); }
.ftr .cols5 h2 a { color: var(--on-ink-2); text-decoration: none; padding: 0; font-size: 16px; }
.ftr .cols5 h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr .cols5 li a { display: inline-block; padding: 6px 0; font-size: 17px; text-decoration: none; white-space: nowrap; }
.ftr .cols5 li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr .cols5 p { font-size: 17px; line-height: 1.6; color: var(--on-ink); }
.ftr .cols5 p a { text-decoration: underline; text-underline-offset: 4px; }
.ftr .cols5 p.sm { margin-top: 10px; font-size: 16px; color: var(--on-ink-2); white-space: nowrap; }
.ftr .bot p { color: var(--on-ink-2); font-size: 16px; }
@media (max-width: 1320px) { .ftr .cols5 { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; } }  /* 11-06: the longer industry item no longer fits 5 across below 1320 */
@media (max-width: 700px) {
  .ftr .cols5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .ftr .cols5 > div:last-child { grid-column: 1 / -1; }
  .ftr .cols5 li a { white-space: normal; padding: 7px 0; }
}


/* ---------- round 2 (11-05) ---------- */
/* short blocks on a green band (How we build ads.) */
.green .blocks article { border-top-color: var(--rule-green); }
.green .blocks p { color: var(--on-green-2); }
.sc p.big.after { margin-top: 28px; }
/* industry pages: a row of real ads on the green band */
.wall.row { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: clamp(48px, 5vw, 80px); }
.green .wall figcaption { color: var(--on-green-2); }
@media (max-width: 700px) { .wall.row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Websites and SEO: pages we've built. Desktop shot with the phone shot over its lower corner; hairline edges, no device
   chrome, no shadow; rows alternate left and right */
.sites { display: grid; row-gap: clamp(72px, 8vw, 128px); }
.site { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin: 0; }
.site .shots, .site figcaption { grid-column: 1 / span 9; }
.site.alt .shots, .site.alt figcaption { grid-column: 4 / -1; }
.shots { position: relative; padding: 0 12% 7% 0; }
.shots img { border-radius: var(--r); box-shadow: 0 0 0 1px rgba(11, 11, 11, 0.12); background: #eee; }
.shots .sd { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shots .sm { position: absolute; right: 0; bottom: 0; width: 24%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border: 6px solid var(--paper); box-shadow: 0 0 0 1px rgba(11, 11, 11, 0.14); border-radius: 24px; }
.site figcaption { margin-top: 28px; }
.site .sb { font-size: 20px; line-height: 1.4; color: var(--on-paper-2); }
.site .sb b { color: var(--on-paper); font-weight: 700; }
.site figcaption p + p { margin-top: 6px; font-size: 20px; line-height: 1.5; color: var(--on-paper-2); }
.site .dom { font-size: 17px; }
@media (max-width: 960px) { .site .shots, .site figcaption, .site.alt .shots, .site.alt figcaption { grid-column: 1 / -1; } }
@media (max-width: 700px) { .shots { padding: 0 14% 12% 0; } .shots .sm { width: 32%; border-width: 4px; border-radius: 16px; } .site .sb, .site figcaption p + p { font-size: 18px; } .site .dom { font-size: 16px; } }

/* ---------- round 3: RevLoop diagram (How we measure revenue, "Built in-house.", black band) ----------
   Hairlines only, 1px grey; the sales return is the 1 green path (1.5px). Node labels Switzer 600 20px, arrow labels
   Atkinson 16px. The middle layer is the only outlined shape (hairline, 18px corners, no fill). Open chevrons. */
.dg { margin: clamp(56px, 6vw, 88px) 0 0; }
.dg-vis { position: relative; }
.dg-top { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(0, 2.25fr) minmax(0, 2.5fr) minmax(0, 2.25fr) minmax(0, 2.5fr); align-items: stretch; }
.dg-h { font: 600 24px/1.2 var(--display); letter-spacing: -0.01em; color: var(--on-ink); }
.dg-s { margin-top: 4px; font-size: 16px; line-height: 1.3; color: var(--on-ink-2); }
.dg-col { align-self: center; margin-top: 68px; }
.dg-top .dg-r .dg-h, .dg-top .dg-r li { padding-left: 20px; }  /* the column's hairlines run to the bracket; the words keep their distance */
.dg-col ul { margin-top: 14px; }
.dg-col li, .dg-panel li { font: 600 20px/1.25 var(--display); letter-spacing: -0.005em; color: var(--on-ink-2); }
.dg-col li { padding: 10px 0; border-top: 1px solid var(--rule-ink); }
.dg-mid { display: flex; flex-direction: column; }
.dg-panel { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; margin-top: 14px; padding: 8px 24px; border: 1px solid rgba(244, 243, 239, 0.34); border-radius: var(--r); }
.dg-panel li { padding: 12px 0; color: var(--on-ink); }
.dg-panel li + li { border-top: 1px solid var(--rule-ink); }
.dg-ar { position: relative; align-self: center; margin-top: 68px; display: flex; flex-direction: column; gap: 40px; }
.ln { position: relative; }
.ln .lb { display: block; height: 20px; margin-bottom: 8px; font-size: 16px; line-height: 20px; text-align: center; white-space: nowrap; color: var(--on-ink-2); }
.ln .line { position: relative; display: block; height: 0; border-top: 1px solid var(--on-ink-2); }
.ln.gn .lb { color: var(--lime); }
.ln.gn .line { border-top: 1.5px solid var(--lime); }
.ln.r .line::after, .ln.l .line::before, .ln.d .line::after { content: ""; position: absolute; width: 9px; height: 9px; border: 0 solid currentColor; }
.ln.gr .line { color: var(--on-ink-2); }
.ln.gn .line { color: var(--lime); }
.ln.r .line::after { right: 0; top: -5px; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.ln.l .line::before { left: 0; top: -5.75px; border-width: 0 0 1.5px 1.5px; transform: rotate(45deg); }
.dg-ar1 .line { margin-right: 12px; }
.dg-ar2 .line { margin-left: 12px; }
/* brackets: A1/A4 meet the left column as a whole, A2/A3 the right column */
.dg-ar::before { content: ""; position: absolute; top: 28px; bottom: 0; width: 1px; background: var(--on-ink-2); }
.dg-ar1::before { left: 0; }
.dg-ar2::before { right: 0; }
/* A5 down to Revenue Ledger, under the panel */
.dg-down, .dg-bot { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(0, 2.25fr) minmax(0, 2.5fr) minmax(0, 2.25fr) minmax(0, 2.5fr); }
.dg-down > .ln, .dg-bot > div { grid-column: 3; }
.ln.d { display: flex; align-items: center; height: 72px; padding-left: 28px; }
.ln.d .line { position: absolute; left: 28px; top: 0; bottom: 6px; height: auto; width: 0; border-top: 0; border-left: 1px solid var(--on-ink-2); }
.ln.d .line::after { left: -5px; bottom: 0; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.ln.d .lb { margin: 0 0 0 18px; text-align: left; }
.dg-bot { margin-top: 8px; border-top: 1px solid var(--rule-ink); padding-top: 18px; }
.dg-back { display: none; }
.dg figcaption { margin-top: 36px; font-size: 17px; line-height: 1.5; color: var(--on-ink-2); max-width: var(--span8); }
/* the green return draws once, right to left (A3 then A4); still with reduced motion or no JS */
.js .dg .ln.gn .line { transform: scaleX(0); transform-origin: right center; transition: transform 0.6s var(--ease); }
.js .dg.in .dg-ar2 .ln.gn .line { transform: none; transition-delay: 0.35s; }
.js .dg.in .dg-ar1 .ln.gn .line { transform: none; transition-delay: 0.95s; }
@media (prefers-reduced-motion: reduce) { .js .dg .ln.gn .line { transform: none; transition: none; } }
@media (max-width: 960px) { .dg figcaption { max-width: none; } }
@media (max-width: 1100px) { .dg-col li, .dg-panel li { font-size: 18px; } .dg-panel { padding: 6px 16px; } .ln .lb { font-size: 16px; white-space: normal; height: auto; min-height: 20px; } }

/* phones and small tablets (<820px): 1 column; grey arrows point down; the green return runs up the left margin */
@media (max-width: 819px) {
  .dg-top { display: block; position: relative; padding-left: 44px; }
  .dg-col, .dg-ar { margin: 0; padding: 0; }
  .dg-l ul { display: flex; flex-wrap: wrap; row-gap: 4px; margin-top: 10px; }
  .dg-l li { padding: 0; border: 0; white-space: nowrap; }
  .dg-l li:not(:last-child)::after { content: "\00B7"; content: "\00B7" / ""; margin: 0 9px; color: var(--on-ink-2); }
  .dg-r li { padding: 8px 0; }
  .dg-top .dg-r .dg-h, .dg-top .dg-r li { padding-left: 0; }
  .dg-mid { display: block; }
  .dg-panel { display: block; padding: 4px 18px; }
  .dg-panel li { padding: 10px 0; }
  .dg-ar { display: block; padding: 4px 0; }
  .dg-ar::before { display: none; }
  .ln.gn { display: none; }
  .ln.gr.r { display: flex; align-items: center; height: 64px; padding-left: 28px; }
  .ln.gr.r .lb { margin: 0 0 0 0; text-align: left; height: auto; }
  .ln.gr.r .line { position: absolute; left: 10px; top: 6px; bottom: 6px; height: auto; width: 0; margin: 0; border-top: 0; border-left: 1px solid var(--on-ink-2); }
  .ln.gr.r .line::after { right: auto; top: auto; left: -5px; bottom: 0; border-width: 0 1px 1px 0; transform: rotate(45deg); }
  .dg-down, .dg-bot { display: block; padding-left: 44px; }
  .ln.d { height: 64px; padding-left: 28px; }
  .ln.d .line { left: 10px; top: 6px; }
  .ln.d .lb { margin-left: 0; }
  .dg-bot { margin-top: 0; padding-top: 14px; }
  /* green return: from "Your systems" up to "Ad platforms", chevron pointing up, label reads bottom to top */
  .dg-top::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 24px; width: 0; border-left: 1.5px solid var(--lime); }
  .dg-top::after { content: ""; position: absolute; left: 1.5px; top: 10px; width: 9px; height: 9px; border-top: 1.5px solid var(--lime); border-left: 1.5px solid var(--lime); transform: rotate(45deg); }
  .dg-back { display: block; position: absolute; left: 13px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 16px; line-height: 20px; white-space: nowrap; color: var(--lime); }
  .js .dg .dg-top::before { transform: scaleY(0); transform-origin: center bottom; transition: transform 1.2s var(--ease) 0.3s; }
  .js .dg.in .dg-top::before { transform: none; }
  .dg-h { font-size: 22px; }
  .dg figcaption { margin-top: 28px; font-size: 17px; }
}
@media (max-width: 819px) and (prefers-reduced-motion: reduce) { .js .dg .dg-top::before { transform: none; transition: none; } }

/* RevLoop tool rows: name left; "Connects" / "You get" labels in their own column, like the step labels */
.tools { margin-top: clamp(64px, 7vw, 104px); border-bottom: 1px solid var(--rule-ink); }
.tool { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 32px 0; border-top: 1px solid var(--rule-ink); }
.tool h3 { grid-column: 1 / span 4; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.2; letter-spacing: -0.008em; }
.tool dl { grid-column: 5 / -1; margin: 0; }
.tool dl > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); column-gap: 24px; align-items: baseline; }
.tool dl > div + div { margin-top: 14px; }
.tool dt { font: 700 17px/1.5 var(--text); color: var(--on-ink-2); }
.tool dd { margin: 0; font-size: 20px; line-height: 1.5; color: var(--on-ink); }
@media (max-width: 960px) { .tool { display: block; } .tool dl { margin-top: 14px; } }
@media (max-width: 700px) { .tool dl > div { display: block; } .tool dd { margin-top: 2px; font-size: 18px; } .tool dt { font-size: 16px; } }

/* ---------- video ads (Kevin 11-05): poster, a quiet Play button, inline, muted, controls, only on click; 18px corners ---------- */
.vids { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; margin-top: clamp(48px, 5vw, 80px); }
.vid { margin: 0; }
.vbox { position: relative; overflow: hidden; border-radius: var(--r); background: #151515; }
.vbox video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vplay { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 16px; border: 0; border-radius: var(--r-sm); background: rgba(11, 11, 11, 0.8); color: #F4F3EF; font: 700 16px/1 var(--text); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color 0.2s, color 0.2s; }
.vplay[hidden] { display: none; }
.vplay .tri { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.vplay:hover { background: var(--lime); color: var(--ink); }
.vplay:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.vid figcaption { margin-top: 12px; font-size: 16px; line-height: 1.35; color: var(--on-paper-2); }
.ink .vid figcaption { color: var(--on-ink-2); }
.green .vid figcaption { color: var(--on-green-2); }
@media (max-width: 1100px) { .vids { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .vids { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } .vplay { left: 10px; bottom: 10px; height: 44px; padding: 0 14px 0 12px; } }

/* inner page heads: long titles stay on the dark part of the star trails (text over the photo 7:1+, pixel-checked) */
.pg-hero .pg-h1 { max-width: var(--span8); }
.pg-hero .pg-sub { max-width: var(--span9); }
@media (max-width: 960px) { .pg-hero .pg-h1, .pg-hero .pg-sub { max-width: none; } }

/* industry pages: the industry's best video beside its ad row (video 4 columns, ads 3 by 2 in 8) */
.adv { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; margin-top: clamp(48px, 5vw, 80px); }
.adv > .vid { grid-column: 1 / span 4; }
.adv > .wall { grid-column: 5 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; margin-top: 0; }
@media (max-width: 960px) { .adv { display: block; } .adv > .vid { max-width: 420px; } .adv > .wall { margin-top: 40px; } }
@media (max-width: 700px) { .adv > .vid { max-width: none; } .adv > .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }

/* text links inside a paragraph flow as text, so a long one wraps with its arrow on the last word (never an arrow alone);
   the padding keeps a tall tap area */
p > a.lnk { display: inline; padding: 12px 0; line-height: 1.5; }
p > a.lnk .ar { margin-left: 4px; }

/* text-only result cards (medical: no patient photos): 4 across, the number leads */
.rgrid.tonly { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 48px; }
.rgrid.tonly .rc { padding-top: 24px; border-top: 1px solid var(--rule-paper); }
.rgrid.tonly .rc .n { margin-top: 0; }
@media (max-width: 1100px) { .rgrid.tonly { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .rgrid.tonly { grid-template-columns: minmax(0, 1fr); } }

/* video ads, gallery style (Kevin 11-05): poster layered over the video until it really plays, then a 300ms cross-fade;
   no player chrome of any kind; a very small scale on hover or focus; reduced motion = still poster */
.vid { outline: none; }
.vbox { transform: translateZ(0); transition: transform 0.4s var(--ease); }
.vbox video, .vbox .vposter { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.vbox .vposter { z-index: 1; transition: opacity 0.3s ease; }
.vid.on .vposter { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .vid:hover .vbox { transform: scale(1.02); } }
.vid:focus-visible .vbox { transform: scale(1.02); outline: 3px solid var(--lime); outline-offset: 4px; }
.paper .vid:focus-visible .vbox { outline-color: var(--g-text); }
.vbox video::-webkit-media-controls, .vbox video::-webkit-media-controls-panel, .vbox video::-webkit-media-controls-start-playback-button,
.vbox video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
@media (prefers-reduced-motion: reduce) { .vbox, .vbox .vposter { transition: none; } .vid:hover .vbox, .vid:focus-visible .vbox { transform: none; } }

/* the video gallery: 6 vertical films, 3 across, even gaps (Kevin 11-05: "fancier", a gallery not a player row) */
.vids { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
@media (max-width: 700px) { .vids { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }
.sc .adv.solo { display: block; margin-top: 40px; }
.sc .adv.solo > .vid { max-width: 400px; }

/* ---------- visuals pass (Kevin 11-05: "too text heavy without images or things to show"): product shots and photos ----------
   .pshot = a real screenshot on its stage (or a photo), 18px corners; never the same image twice on a page */
.pshot { margin: 0; }
.pshot img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.sc > .pshot { margin-top: clamp(40px, 4.5vw, 64px); }
.phrow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(56px, 6vw, 88px); }
.phrow > * { grid-column: 4 / -1; }
.phrow.pic > * { grid-column: 4 / span 6; }
.phrow.pic img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 960px) { .phrow > *, .phrow.pic > * { grid-column: 1 / -1; } }
/* thumbnails at the top of each service (homepage, services index) */
.pshot.thumb { margin: 0 0 28px; }
.pshot.thumb img { aspect-ratio: 16 / 10; object-fit: cover; }
.srow .pshot.thumb { max-width: 680px; }
/* industries index: a photo at the top of each industry */
.iph { margin-bottom: 28px; }
.iph figure { margin: 0; }
.iph img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
/* What we count: 3 real photos, 1 per kind of sale */
.strip3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 3.5vw, 48px); }
.strip3 figure { margin: 0; }
.strip3 img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.strip3 figcaption { margin-top: 10px; font-size: 16px; line-height: 1.35; color: var(--on-ink-2); }
.paper .strip3 figcaption { color: var(--on-paper-2); }
@media (max-width: 560px) { .strip3 { gap: 10px; } .strip3 figcaption { font-size: 15px; } }  /* 15px floor (Kevin) */
/* real ads inside a column or under rows: 4 across, 2 on phones */
.wall.in { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; margin-top: clamp(32px, 3.5vw, 48px); }
.phrow .wall.in { margin-top: 0; }
.ink .wall figcaption { color: var(--on-ink-2); }
@media (max-width: 700px) { .wall.in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } }
/* 2 show videos under the campaign steps */
.phrow.vids2 .vids { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; max-width: 560px; }
/* RevLoop tool rows with a screen: words 5 columns, the shot 7, alternating sides */
.tool.has-shot { align-items: center; row-gap: 28px; padding: clamp(40px, 4.5vw, 64px) 0; }
.tool.has-shot .tx { grid-column: 1 / span 5; }
.tool.has-shot .tx dl { margin-top: 20px; }
.tool.has-shot .pshot { grid-column: 6 / -1; }
.tool.has-shot.flip .tx { grid-column: 8 / -1; grid-row: 1; }
.tool.has-shot.flip .pshot { grid-column: 1 / span 7; grid-row: 1; }
.tool.has-shot .tx dl > div { grid-template-columns: 6.5rem minmax(0, 1fr); }
@media (max-width: 960px) { .tool.has-shot { display: block; } .tool.has-shot .pshot { margin-top: 28px; } }

/* ---------- 11-06 RevLoop diagram, simplified (Alex revloop_general part 3): Ad platforms | RevLoop(TM) | Your sales,
   a grey lane right, a green lane back, 1 hairline down to "Spend to revenue, in a single view". Same hairline rules. ---------- */
.dg2 .dg-col { margin-top: 0; align-self: center; }
.dg2 .dg-ar { margin-top: 0; gap: 48px; }
.dg2 .dg-ar::before { top: 28px; }
.dg2 .dg-mid { justify-content: center; }
.dg2 .dg-panel { flex: none; margin-top: 0; padding: 44px 24px; text-align: center; }
.dg2 .ln.d { padding-left: 0; }
.dg2 .ln.d .line { left: 50%; }
.dg2 .dg-bot { margin-top: 6px; padding-top: 0; border-top: 0; text-align: center; }
.dg2 .dg-bot > div { grid-column: 2 / span 3; }
.dg2 .dg-bot .dg-h { font-size: 20px; }
.rl-lines { max-width: var(--span8); margin-top: clamp(48px, 5vw, 72px); }
.rl-lines .arw li { color: var(--on-ink); }
@media (max-width: 819px) {
  .dg2 .dg-panel { padding: 16px 18px; text-align: left; }
  .dg2 .ln.d .line { left: 10px; }
  .dg2 .ln.d { padding-left: 28px; }
  .dg2 .dg-bot { text-align: left; }
}
.ind-more { margin-top: clamp(40px, 4vw, 56px); max-width: var(--span8); }

/* 11-06: 4 result cards (medical page) sit 4 across on wide screens, 2 + 2 below that, never 3 + 1 */
@media (min-width: 1101px) { .rgrid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 701px) and (max-width: 1100px) { .rgrid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 11-06: industry "Results." bands use a heading row, so 2 cards start at the left, 3 columns wide */
@media (min-width: 961px) { .sec-head + .rgrid.few { margin-left: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 11-06 night structure pass (Kevin: "too divided", "cluttered"): fewer, fuller bands ----------
   Related parts share 1 band colour and are spaced apart, instead of a new colour band for every heading. */
.part + .part { margin-top: clamp(104px, 10vw, 160px); }
.part > .sec-head { margin-bottom: clamp(48px, 5vw, 80px); }
.part > .duo + .wall, .part > .duo + .adv { margin-top: clamp(56px, 6vw, 88px); }
.part > .duo + .wall.row { margin-top: clamp(56px, 6vw, 88px); }
.part > .blocks + .pshot, .part > .blocks + figure { margin-top: clamp(56px, 6vw, 88px); }
/* what you get, with the why: title + 1 sentence per row */
.items { border-top: 1px solid var(--rule-paper); }
.items li { padding: 26px 0 28px; border-bottom: 1px solid var(--rule-paper); }
.items h3 { font: 600 clamp(22px, 1.75vw, 26px)/1.25 var(--display); letter-spacing: -0.008em; }
.items p { margin-top: 8px; font-size: 20px; line-height: 1.55; color: var(--on-paper-2); }
.ink .items, .ink .items li { border-color: var(--rule-ink); }
.ink .items p { color: var(--on-ink-2); }
.green .items, .green .items li { border-color: var(--rule-green); }
.green .items p { color: var(--on-green-2); }
.sc > .items:first-child { margin-top: 6px; }
@media (max-width: 700px) { .items li { padding: 22px 0 24px; } .items p { font-size: 18px; } }
/* Fable design review (11-06 night): parts closer than bands, headings tied to what follows, quieter sub-heads */
.part + .part { margin-top: var(--sec); }
@media (max-width: 700px) { .part + .part { margin-top: 72px; } }
.part > .sec-head, .sec-head:has(+ .rgrid.fixed) { margin-bottom: clamp(40px, 4vw, 56px); }
.part > .sec-head.stack { margin-bottom: clamp(48px, 5vw, 72px); }
.sc > .items + .wall.row.in { margin-top: clamp(40px, 4vw, 56px); }
.cols2 h3 { font-size: clamp(20px, 1.5vw, 24px); padding-bottom: 16px; }
.cols2 { max-width: var(--span8); column-gap: clamp(40px, 5vw, 80px); }
.items h3 { font-size: clamp(20px, 1.5vw, 22px); }
@media (min-width: 1101px) { .part > .duo + .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 16px; } }

/* 11-06 night: performance media leads "What we do." (Kevin: "most of what we do ... make that part KICKASS"): text beside a reel
   of real ads we've run; the other 3 services sit in a row of 3 under it. Reels also on the performance media and live events pages. */
.pmx { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding: 48px 0 clamp(72px, 7vw, 104px); border-top: 1px solid var(--rule-green); }
.pmx-txt { grid-column: 1 / span 4; }
.pmx-k { font: 700 16px/1.3 var(--text); letter-spacing: 0.04em; text-transform: uppercase; color: var(--on-green-2); }
.pmx-h { margin-top: 14px; font-size: clamp(40px, 3.7vw, 56px); line-height: 1.04; letter-spacing: -0.022em; }
.pmx .get { margin-top: 18px; }
.pmx .reel { grid-column: 6 / -1; }
.reel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rt { margin: 0; min-width: 0; }
.rt-box { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--r); background: #0d3324; }
.paper .rt-box { background: #e8e8e6; }
.rt-box img, .rt-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rt-poster { transition: opacity 0.6s var(--ease); }
.rt.on .rt-poster { opacity: 0; }
.rt figcaption { margin-top: 12px; font-size: 16px; line-height: 1.35; color: var(--on-paper-2); }
.green .rt figcaption { color: var(--on-green-2); }
.ink .rt figcaption { color: var(--on-ink-2); }
.reel6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.reel3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: var(--span9); gap: 24px; }
.svc.svc3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 3vw, 48px); }
.svc.svc3 h3 { font-size: clamp(26px, 2.1vw, 32px); }
.svc.svc3 .get { font-size: clamp(19px, 1.4vw, 21px); }
.svc.svc3 .arw li { font-size: 18px; }
@media (max-width: 1100px) {
  .pmx-txt { grid-column: 1 / -1; max-width: var(--span9); }
  .pmx .reel { grid-column: 1 / -1; margin-top: 48px; }
  .svc.svc3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .reel, .reel6, .reel3 { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); scrollbar-width: none; }
  .reel::-webkit-scrollbar { display: none; }
  .rt { flex: 0 0 46%; scroll-snap-align: start; }
  .svc.svc3 { grid-template-columns: minmax(0, 1fr); }
  .pmx { padding-top: 36px; }
  .pmx-h { font-size: 40px; }
}

/* 11-07: Codex photos on the service cards; performance media leads with 1 big photo; an audit button under the services (CRO) */
.pmx .pmx-img { grid-column: 6 / -1; margin: 0; }
.pmx .pmx-img img { aspect-ratio: 16 / 10; object-fit: cover; }
.svc-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; margin-top: clamp(56px, 6vw, 88px); padding-top: clamp(36px, 4vw, 48px); border-top: 1px solid var(--rule-green); }
.svc-cta-h { font: 600 clamp(26px, 2.4vw, 36px)/1.15 var(--display); letter-spacing: -0.015em; color: var(--on-green); }
.svc-cta-p { margin-top: 10px; font-size: 18px; line-height: 1.5; color: var(--on-green-2); }
.svc-cta .close-cta { margin-top: 0; flex: none; }
@media (max-width: 1100px) {
  .pmx .pmx-img { grid-column: 1 / -1; margin-top: 40px; }
}
@media (max-width: 760px) {
  .svc-cta { display: block; }
  .svc-cta .close-cta { margin-top: 24px; }
}
@media (max-width: 1100px) { .pmx .pmx-img { order: -1; margin: 0 0 36px; } }  /* phones/tablets: photo first, like the other service cards */
.svc-cta { flex-wrap: wrap; }
.svc-cta .qz-inline { flex: 1 0 100%; }  /* the quiz opens full width under the line, not squeezed beside it */

/* ===== 11-07 declutter (Alex spec 2-5). Homepage: 4 result cards + a quiet logo row, 4 equal service cards, the fit list on
   white, the guarantee as the biggest line of the offer. Results index: compact cards per group. Group pages: eyebrow link. */
/* results: the group name under each homepage card, the "See all" link, compact cards on the Results index */
.rc .g { margin-top: 10px; }
.rc .g .lnk { min-height: 44px; font-size: 17px; }
.res-all, .grp-more { margin-top: clamp(40px, 4vw, 56px); }
.rgrid.home4 { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
.rgrid.home4 .rc .n, .rgrid.cmp .rc .n { font-size: clamp(40px, 3.6vw, 60px); }
.rgrid.home4 .rc .l, .rgrid.cmp .rc .l { font-size: 18px; }
.rgrid.cmp { row-gap: 56px; }
.rgrid.cmp.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rgrid.cmp.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .rgrid.home4, .rgrid.cmp.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 960px) { .rgrid.cmp.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .rgrid.home4, .rgrid.cmp.c3, .rgrid.cmp.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }  /* 2x2 on phones */
  .rgrid.home4 .rc .n, .rgrid.cmp .rc .n { margin-top: 16px; font-size: clamp(32px, 9vw, 40px); }
  .rgrid.home4 .rc .l, .rgrid.cmp .rc .l { margin-top: 8px; font-size: 16px; line-height: 1.35; }
  .rgrid.home4 .rc .t, .rgrid.cmp .rc .t { font-size: 15px; }
  .rgrid.home4 .rc .g .lnk { font-size: 16px; gap: 6px; }
  .rgrid.home4 .rc figure .lg, .rgrid.cmp .rc figure .lg { top: 12px; left: 12px; width: calc(var(--lw) * 0.62); }
}
/* the logo row under the results: 9 marks, 1 line, no names (names are the logos' labels) */
.logos { margin-top: clamp(72px, 7vw, 112px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--rule-paper); display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; }
.logos-h { flex: none; font: 700 17px/1.3 var(--text); color: var(--on-paper-2); }
.logos-l { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 20px; max-width: 900px; }
.logos-l svg { display: block; width: 28px; height: 28px; color: #303236; }
@media (max-width: 960px) {
  .logos { display: block; }
  .logos-l { margin-top: 24px; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 16px 8px; justify-items: center; max-width: none; }
}
@media (max-width: 700px) { .logos-l { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 24px; } .logos-l svg { width: 26px; height: 26px; } }
/* What we do: 4 equal cards, 2x2 (stacked on phones); same 16:10 visual box for photos and drawn cards */
.svc.svc4 { row-gap: 0; }
.svc.svc4 article { padding-bottom: clamp(56px, 6vw, 88px); }
.svc.svc4 .pshot.thumb { margin-bottom: 32px; }
.svc.svc4 h3 { font-size: clamp(28px, 2.4vw, 38px); }
.svc.svc4 .get { margin-top: 12px; font-weight: 400; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.45; }
.svc.svc4 .svc-more { margin-top: 14px; }
@media (min-width: 961px) { .svc.svc4 article:nth-last-child(-n+2) { padding-bottom: 0; } }
/* FAQ: the link under the list */
.faq-after { margin-top: clamp(32px, 3vw, 44px); }
/* Is this a fit? on white */
.paper .fit h3 { border-bottom-color: var(--on-paper); }
.paper .fit .no h3 { border-bottom-color: var(--rule-paper); }
.paper .fit li { border-bottom-color: var(--rule-paper); }
.paper .fit .no li, .paper .fit .no h3 { color: var(--on-paper-2); }
.paper .fit .arw li::before { color: var(--g-text); }
.paper .fit .arw.x li::before { color: var(--on-paper-2); }
/* the offer: the guarantee is the biggest line after the heading, right above the button */
.close .gty.gty-big { margin-top: clamp(48px, 5vw, 72px); max-width: 22em; font: 600 clamp(28px, 2.8vw, 44px)/1.15 var(--display); letter-spacing: -0.02em; color: var(--on-green); text-wrap: balance; }
.close .gty.gty-big + .close-cta { margin-top: clamp(28px, 3vw, 36px); }
/* group pages: the "Results" eyebrow above the H1 links back to results.html */
.pg-eb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-ink-2); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pg-eb a:hover { color: var(--on-ink); text-decoration-thickness: 2px; }
.pg-eb { margin-bottom: 10px; }
/* how-we-measure-revenue fallback story (only when measure_vis has no revloop_band_v6): text rows, empty right column */
.st { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-paper); }
.st > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 5vw, 96px); padding: clamp(40px, 4vw, 64px) 0; border-bottom: 1px solid var(--rule-paper); }
.st-k { font: 700 16px/1.3 var(--text); color: var(--g-text); }
.st-tx h3 { margin-top: 10px; font: 600 clamp(26px, 2.4vw, 38px)/1.12 var(--display); letter-spacing: -0.014em; text-wrap: balance; }
.st-p { margin-top: 14px; font-size: 20px; line-height: 1.5; color: var(--on-paper-2); max-width: 30em; }
.st-more { margin-top: 16px; }
.st-note { margin: -24px 0 32px; font: 700 15px/1.3 var(--text); color: var(--on-paper-2); }
.st-recap { margin-top: clamp(48px, 5vw, 80px); max-width: 22em; font: 600 clamp(28px, 3vw, 48px)/1.15 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
@media (max-width: 900px) { .st > li { grid-template-columns: minmax(0, 1fr); } .st-pic { display: none; } .st-p { font-size: 18px; } }
/* Performance media card (owner 11-07): the 9 platforms on a black panel, same 16:10 box and 18px corners as the other visuals */
.pmlg { container-type: inline-size; }
.pmlg-in { aspect-ratio: 16 / 10; display: flex; flex-direction: column; padding: 5cqw 6.5cqw; background: var(--ink); color: var(--on-ink); border-radius: var(--r); }
.pmlg-h { font: 700 16px/1.3 var(--text); color: #A6A6A1; }
.pmlg-l { list-style: none; margin: 2cqw 0 0; padding: 0; flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); align-items: center; justify-items: center; }
.pmlg-l li { display: flex; flex-direction: column; align-items: center; gap: clamp(6px, 1.6cqw, 12px); min-width: 0; text-align: center; }
.pmlg-l svg { display: block; width: clamp(22px, 5.2cqw, 34px); height: clamp(22px, 5.2cqw, 34px); color: var(--on-ink); }
.pmlg-l span { font: 500 15px/1.2 var(--text); color: var(--on-ink-2); white-space: nowrap; }
@media (max-width: 560px) {  /* phones: the panel grows to fit 3x3 with air (cards are stacked, so no height to match side by side) */
  .pmlg-in { aspect-ratio: auto; min-height: calc((100vw - 2 * var(--gut)) * 0.625); padding: 22px 20px 26px; }
  .pmlg-l { margin-top: 18px; row-gap: 22px; grid-template-columns: repeat(3, auto); justify-content: space-between; padding: 0 2px; }  /* columns as wide as their names: "The Trade Desk" stays on 1 line */
  .pmlg-l svg { width: 24px; height: 24px; }
}
/* small phones (360): the homepage section headings fit the screen ("Common questions." is glued by typeset and ran 17px wide) */
@media (max-width: 380px) { .h2 { font-size: 34px; } }

/* ===== 11-08 review cuts. What we do = a typographic list (title left, line + link right, hairlines), then "How we measure
   revenue." after a hairline in the same green band. No card visuals. */
.svc-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule-green); }
.svc-list li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: baseline; padding: clamp(32px, 3.4vw, 48px) 0; border-top: 1px solid var(--rule-green); }
.svc-list h3 { grid-column: 1 / span 6; padding-right: 24px; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -0.012em; }
.svc-list li > div { grid-column: 7 / -1; }
.svc-list .get { font: 400 clamp(20px, 1.55vw, 24px)/1.45 var(--text); color: var(--on-green); }
.svc-list .svc-more { margin-top: 10px; }
.svc-ms { margin-top: clamp(80px, 8vw, 128px); }
@media (max-width: 960px) {
  .svc-list li { display: block; }
  .svc-list h3 { padding-right: 0; }
  .svc-list .get { margin-top: 12px; font-size: 19px; }
}
/* 11-08: group pages with 2 result cards start at the left (the visible heading went in 11-07, a hidden H2 sits before the grid) */
@media (min-width: 961px) { .vh + .rgrid.few { margin-left: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 11-08: the group link under each homepage result card stays on 1 line on phones ("Health and medical" is the longest) */
@media (max-width: 700px) { .rgrid.home4 .rc .g .lnk { font-size: 15px; gap: 5px; white-space: nowrap; } .rgrid.home4 .rc .g .lnk .ar { margin-left: 0; } }
@media (max-width: 380px) { .rgrid.home4 .rc .g .lnk .ar { display: none; } }
/* 11-08: the Creative page ad wall (6 ads under its heading) sits 6 across on wide screens, 3 + 3 below (was 4 + 2), no double gap */
.part > .sec-head + .wall { margin-top: 0; }
@media (min-width: 1101px) { .part > .sec-head + .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 16px; } }
/* 11-08 homepage What we do (Kevin: "more engaging with more visual stuff"): 4 rows, real work beside each service, sides swap row by row */
.svx { list-style: none; margin: 0; padding: 0; display: grid; row-gap: clamp(80px, 9vw, 136px); }
.svx-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.svx-tx { grid-column: 1 / span 5; grid-row: 1; }
.svx-vis { grid-column: 6 / -1; grid-row: 1; min-width: 0; }
.svx-row:nth-child(even) .svx-tx { grid-column: 8 / -1; }
.svx-row:nth-child(even) .svx-vis { grid-column: 1 / span 7; }
.svx h3 { font-size: clamp(32px, 3.1vw, 48px); line-height: 1.1; letter-spacing: -0.014em; text-wrap: balance; }
.svx .get { margin-top: 14px; font: 400 clamp(20px, 1.55vw, 24px)/1.45 var(--text); color: var(--on-green); }
.svx .svc-more { margin-top: 18px; }
.vx { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; }
.vx > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vx-reel { display: flex; align-items: center; justify-content: center; gap: 3%; padding: 7.5% 0; background: var(--ink); }
.vx-reel .rt { flex: none; height: 100%; }
.vx-reel .rt-box { height: 100%; width: auto; border-radius: var(--r-sm); background: #1b1b1b; }
.vx-ms { container-type: inline-size; display: flex; flex-direction: column; justify-content: center; padding: 0 8%; background: var(--ink); color: var(--on-ink); }
.vx-k { font: 700 clamp(15px, 2.5cqw, 18px)/1.3 var(--text); color: var(--on-ink-2); }
.vx-bars { list-style: none; margin: 6cqw 0 0; padding: 0; display: grid; row-gap: 5cqw; }
.vx-bars li { display: grid; grid-template-columns: 25cqw minmax(0, 1fr) 12cqw; align-items: center; column-gap: 3cqw; }
.vx-p { display: flex; align-items: center; gap: 2.2cqw; font: 600 clamp(15px, 3.7cqw, 27px)/1 var(--display); white-space: nowrap; }
.vx-p svg { flex: none; width: 1em; height: 1em; }
.vx-b { display: block; height: clamp(10px, 2.6cqw, 18px); border-radius: 3px; background: rgba(244, 243, 239, 0.12); overflow: hidden; }
.vx-b i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left center; transition: transform 1.3s var(--ease) 0.4s; }
.vx-bars li:nth-child(2) .vx-b i { transition-delay: 0.55s; }
.vx-bars li:nth-child(3) .vx-b i { transition-delay: 0.7s; }
.svx-vis.in .vx-b i { transform: none; }
.vx-bars b { font: 600 clamp(17px, 4.5cqw, 33px)/1 var(--display); text-align: right; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .vx-b i { transform: none; transition: none; } }
@media (max-width: 960px) {
  .svx { row-gap: 72px; }
  .svx-row { display: flex; flex-direction: column; align-items: stretch; }
  .svx-vis { order: -1; margin-bottom: 28px; }
  .svx h3 { font-size: 30px; }
  .svx .get { margin-top: 10px; font-size: 19px; }
}
/* 11-08 pm (Kevin: "make the images a bit smaller so they better fit"): visuals 6 of 12 columns, 1 empty column between */
.svx-tx { grid-column: 1 / span 5; }
.svx-vis { grid-column: 7 / -1; }
.svx-row:nth-child(even) .svx-tx { grid-column: 8 / -1; }
.svx-row:nth-child(even) .svx-vis { grid-column: 1 / span 6; }
/* Performance media: Meta amount spent, drawn from real API numbers, campaign names hidden; reads like a white report screen */
.vx-meta { container-type: inline-size; display: flex; flex-direction: column; justify-content: center; padding: 0 7%; background: var(--paper); color: var(--on-paper); font-family: var(--text); }
.vm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 3.2cqw; border-bottom: 1px solid var(--rule-paper); }
.vm-b { display: flex; align-items: center; gap: 1.8cqw; font: 700 clamp(15px, 3.4cqw, 22px)/1 var(--display); }
.vm-b svg { width: 1.25em; height: 1.25em; color: #0866FF; }
.vm-d { font: 500 clamp(15px, 2.4cqw, 16px)/1.2 var(--text); color: var(--on-paper-2); white-space: nowrap; }
.vm-h { display: flex; justify-content: space-between; padding: 3cqw 0 1.4cqw; font: 700 clamp(15px, 2.3cqw, 15px)/1.2 var(--text); color: var(--on-paper-2); }
.vm-rows { list-style: none; margin: 0; padding: 0; }
.vm-rows li { display: flex; align-items: center; justify-content: space-between; gap: 4cqw; padding: 2.1cqw 0; border-top: 1px solid rgba(11, 11, 11, 0.08); }
.vm-rows i { display: block; height: clamp(9px, 2cqw, 12px); width: var(--w); max-width: 50%; border-radius: 3px; background: #d9dbdf; filter: blur(1.5px); }
.vm-rows b { font: 600 clamp(15px, 3.1cqw, 21px)/1 var(--text); font-variant-numeric: tabular-nums; }
.vm-tot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 1.6cqw; padding-top: 3cqw; border-top: 2px solid var(--on-paper); }
.vm-tot span { font: 700 clamp(15px, 2.8cqw, 18px)/1 var(--text); }
.vm-tot b { font: 700 clamp(22px, 5.6cqw, 40px)/1 var(--display); letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .vx-meta { aspect-ratio: auto; padding: 22px 20px; } .vm-rows li { padding: 9px 0; } .vm-h { padding: 12px 0 6px; } .vm-tot { padding-top: 12px; margin-top: 6px; } .vm-top { padding-bottom: 12px; } }
/* 11-08 pm: the $1 example sits in a panel as tall as its content (no empty black box) */
.vx-ms { aspect-ratio: auto; padding: 7.5% 8%; }
.vx-p { font-size: clamp(15px, 3.9cqw, 28px); }
.vx-bars b { font-size: clamp(17px, 4.6cqw, 34px); }
/* 11-08 pm (Kevin: "section still looks very choppy"): What we do = 2x2 grid; every visual sits on the same black stage, same size,
   text under it in the same place. 1 column on phones. */
.sv4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(64px, 7vw, 104px) clamp(24px, 3vw, 48px); }
.sv4-i { min-width: 0; }
.stage { container-type: inline-size; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 6.5%; border-radius: var(--r); background: var(--ink); }
.stage > * { width: 100%; }
.sv4 h3 { margin-top: 28px; font-size: clamp(26px, 2.3vw, 36px); line-height: 1.12; letter-spacing: -0.012em; }
.sv4 .get { margin-top: 10px; font: 400 clamp(19px, 1.4vw, 22px)/1.45 var(--text); color: var(--on-green); }
.sv4 .svc-more { margin-top: 14px; }
.stage .vx { aspect-ratio: auto; border-radius: var(--r-sm); }
.stage .vx > img { aspect-ratio: 16 / 10; border-radius: var(--r-sm); }
.stage .vx-ms { padding: 0 2%; background: none; }
.stage .vx-meta { padding: 4.6cqw 5.4cqw; }
.stage .vm-rows li { padding: 1.7cqw 0; }
.stage .shots { padding: 0 11% 6% 0; }
.stage .shots img { box-shadow: none; }
.stage .shots .sm { border-color: var(--ink); border-width: 5px; }
@media (max-width: 960px) {
  .sv4 { grid-template-columns: minmax(0, 1fr); row-gap: 64px; }
  .stage { aspect-ratio: auto; min-height: calc((100vw - 2 * var(--gut)) * 0.625); padding: 22px 20px; }
  .sv4 h3 { margin-top: 24px; font-size: 30px; }
  .sv4 .get { font-size: 19px; }
}
/* stage fix: every stage holds its 16:10 box (content fits inside, nothing makes 1 stage taller than its neighbour) */
.stage { overflow: hidden; padding: 6% 6%; }
.stage .vx.vx-img { height: 100%; }
.stage .vx.vx-img > img { height: 100%; aspect-ratio: auto; object-fit: cover; }
.stage .shots { width: 80%; }
.sv4-i.in .vx-b i { transform: none; }
.vx-bars li { grid-template-columns: 25cqw minmax(0, 1fr) 15cqw; }
@media (max-width: 960px) { .stage { overflow: visible; } .stage .shots { width: 100%; } .stage .vx.vx-img, .stage .vx.vx-img > img { height: auto; } .stage .vx.vx-img > img { aspect-ratio: 16 / 10; } }
/* 11-08 pm: Performance media = 2 real screenshots (Google top left, Meta bottom right), white UI on the black stage */
.proof { display: flex; flex-direction: column; gap: 3.4cqw; }
.proof img { display: block; width: 78%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.proof .pf0 { align-self: flex-start; }
.proof .pf1 { align-self: flex-end; }
/* 2 short lines under each service */
.sv4-l { margin-top: 16px; }
.sv4-l li { font-size: clamp(17px, 1.2vw, 19px); line-height: 1.45; color: var(--on-green-2); }
.sv4-l li + li { margin-top: 8px; }
.sv4 .sv4-l + .svc-more { margin-top: 18px; }
@media (max-width: 960px) { .proof img { width: 88%; } }
/* 11-08 late: Performance media = the real Ads Manager money columns. Shown whole, then (premium.js adds .zoom when the stage is
   75% on screen) it zooms into the totals row: spent vs purchases value fill the stage. No JS or reduced motion = the zoomed view.
   Numbers below are in stage widths (cqw): image 50.73cqw wide (1033 x 1120 px), zoom 3.7x onto x 165-619 px, bottom row kept. */
.stage.st-pz { position: relative; padding: 0; overflow: hidden; aspect-ratio: 16 / 10; background: #fff; }
.pz { position: absolute; inset: 0; background: var(--ink); }
.pz img { position: absolute; left: 24.64cqw; top: 3.75cqw; width: 50.73cqw; max-width: none; height: auto; border-radius: 6px; transform-origin: 0 0; transform: translate(-49.62cqw, -144.6cqw) scale(3.7); }
.js .pz:not(.zoom) img { transform: none; }
.pz.zoom img { transition: transform 1.9s cubic-bezier(0.65, 0, 0.2, 1); }
@media (prefers-reduced-motion: reduce) { .js .pz:not(.zoom) img { transform: translate(-49.62cqw, -144.6cqw) scale(3.7); } .pz.zoom img { transition: none; } }
@media (max-width: 960px) { .stage.st-pz { aspect-ratio: 16 / 10; min-height: 0; padding: 0; } }
/* 11-08 late: Performance media = the Ads Manager card (date, the 2 headers, the totals), big and sharp on the stage; the full
   money table it comes from sits faint behind it */
.stage.st-pc { position: relative; overflow: hidden; }
.pc { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.1; filter: blur(1.5px) grayscale(1); }
.pc-card { position: relative; width: 88%; height: auto; border-radius: 12px; box-shadow: 0 1.5cqw 5cqw rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08); }
@media (max-width: 960px) { .stage.st-pc { aspect-ratio: 16 / 10; min-height: 0; padding: 0; } .pc-card { width: 92%; } }
/* Websites: a drawn laptop (screen in a dark bezel, silver base with the opening notch) holding the roofing page */
.lap { width: 80%; margin: 0 auto; }
.lap-scr { padding: 2.1cqw 2.1cqw 2.6cqw; border-radius: 2.4cqw 2.4cqw 0.6cqw 0.6cqw; background: #1c1c1e; box-shadow: inset 0 0 0 1px #3a3a3c; }
.lap-scr img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 0.4cqw; }
.lap-base { position: relative; width: 116%; margin-left: -8%; height: 2.3cqw; border-radius: 0.2cqw 0.2cqw 1.6cqw 1.6cqw / 0.2cqw 0.2cqw 1.4cqw 1.4cqw; background: linear-gradient(#e3e3e6, #b4b4b9 60%, #8d8d93); }
.lap-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 42%; transform: translateX(-50%); border-radius: 0 0 0.9cqw 0.9cqw; background: #a2a2a8; }
@media (max-width: 960px) { .lap { width: 88%; } }
/* 11-08 night: Websites + Measurement = full-bleed photos (Codex laptop / phone, real screens composited in) */
.stage.st-ph { position: relative; padding: 0; }
.st-ph > .ph { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .stage.st-ph { aspect-ratio: 16 / 10; min-height: 0; padding: 0; } }
/* 11-08 night: back to 4 services (Paid social, Paid search, Creative, Websites) in the 2x2 grid; the 3-service wide row is gone */
.srch img { display: block; width: 100%; max-width: 960px; height: auto; border-radius: var(--r); }
/* 11-08 night (Kevin: "common questions section and the one below it look weird, readability not being main focus").
   FAQ: questions in the reading font (not the display face), answers open, calmer heading. Audit band: 2 columns on
   desktop (pitch + button left, what the audit shows in a panel right), so the right half is no longer empty. */
#faq .h2 { font-size: clamp(36px, 3.4vw, 52px); }
.faq summary h3 { font: 600 clamp(21px, 1.6vw, 24px)/1.35 var(--display); letter-spacing: -0.004em; text-wrap: pretty; }  /* Switzer is the only web font, so it reads the same on every phone */
.faq summary { padding: 28px 0 10px; }
.faq details:not([open]) summary { padding-bottom: 28px; }
.faq .pm { margin-top: 4px; }
.faq details p { padding-bottom: 30px; font-size: clamp(18px, 1.25vw, 20px); line-height: 1.6; }
@media (hover: hover) { .faq summary:hover h3 { text-decoration-thickness: 1.5px; text-underline-offset: 5px; } }
@media (max-width: 700px) { .faq summary { padding: 24px 0 8px; } .faq details:not([open]) summary { padding-bottom: 24px; } .faq summary h3 { font-size: 19px; } .faq details p { font-size: 17px; padding-bottom: 26px; } }
/* 11-08 night: the audit band sells the 90-Day Growth Plan book (work/vis/growth_plan.jpg, _build/art/home1108/cover.html on a Codex
   book photo). Desktop: words left, the book right. Phones: heading, line, book (square crop), what's inside, guarantee, button. */
.close .gp { margin: clamp(32px, 4vw, 48px) 0 0; }
.close #close-h { text-wrap: balance; }
.close .gp img { display: block; width: 100%; height: auto; border-radius: var(--r); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
@media (max-width: 960px) { .close .gp { max-width: 440px; } }  /* 11-08 night: tablet e-book, shown whole (4:5) */
@media (min-width: 961px) {
  .close .wrap:has(> .gp) { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: clamp(56px, 6vw, 120px);
    grid-template-areas: "h gp" "ld gp" "cv gp" "gt gp" "ct gp"; align-items: start; }
  .close .wrap:has(> .gp) > h2 { grid-area: h; }
  .close .wrap:has(> .gp) > .lede { grid-area: ld; }
  .close .wrap:has(> .gp) > .covers { grid-area: cv; }
  .close .wrap:has(> .gp) > .gty { grid-area: gt; }
  .close .wrap:has(> .gp) > .close-cta { grid-area: ct; }
  .close .wrap:has(> .gp) > .gp { grid-area: gp; align-self: center; margin-top: 0; }
  .close .wrap:has(> .gp) > .qz-inline { grid-column: 1 / -1; }
  .close .covers ul { max-width: none; }
}
/* 11-08 night readability pass (Kevin: "IMPROVE READABILITY overall"). The body font in --text (Public Sans) was never loaded, so
   phones fell back to Helvetica and Macs to whatever was installed. It is self-hosted now (OFL, assets/fonts/LICENSE-public-sans.md),
   so every device reads the same face. Plus: more line spacing, a 68ch reading line, and nothing under 17px. */
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
body { line-height: 1.6; }
.lede, .sec-head.stack .intro, .hero .lede { line-height: 1.5; }
.sv4 .get { line-height: 1.5; }
.sv4-l li, .covers li, .arw li, .items p, .rc .d, .ct-steps p, .qz-steps p { line-height: 1.6; }
.items p, .duo .sc p, .prose p, .prose li { max-width: 68ch; }
.rc .t, .hero-cta .note, .close .note, .ct-steps p, .ct-q, .qz-err, .qz-steps p, .ftr .cols a, .ftr .cols p, .prose table { font-size: 18px; }
.post .meta, .post-hero .meta, .qz-label, .qz-n, .qz-fld label, .qz-note, .qz-under, .plats span, .ftr .cols h2, .ftr .cols p.sm, .ftr .bot,
.ftr .bot a, .pg-eb, .toc h2, .toc a, .prose figcaption, .stats dd, .hdr .btn { font-size: 17px; }
.prose p, .prose li { font-size: clamp(19px, 1.3vw, 20px); line-height: 1.7; }
@media (max-width: 700px) { body { font-size: 18px; } .lede, .sec-head.stack .intro { font-size: 20px; } }
/* 11-08 night (Kevin: "how do people who sell ebooks show their book, make it like that ... more spaced out"): 1 standing 3D e-book
   (charcoal cover, transparent PNG-to-WebP from _build/art/home1108/ebook3d.html), no frame, no photo, room around it */
.close .gp img { border-radius: 0; box-shadow: none; }
.close .gp { justify-self: center; width: 100%; max-width: 400px; }
@media (min-width: 961px) { .close .wrap:has(> .gp) > .gp { max-width: 480px; justify-self: center; } }
@media (max-width: 960px) { .close .gp { max-width: 320px; margin: clamp(36px, 8vw, 48px) auto 0; } }

/* ===== 11-09 readability pass (Kevin: "text size, readability, qa, lines being interrupted") ===== */
/* closing heading beside the e-book: 2 lines on laptops, not "Get your / free 90-Day / Growth Plan." */
@media (min-width: 961px) { .close .wrap:has(> .gp) > h2 { font-size: clamp(40px, 4.3vw, 64px); } }
/* contact page heading: 2 lines in its column */
@media (min-width: 1025px) { .ct-head h1 { font-size: clamp(44px, 3.5vw, 52px); } }
/* guarantee line: more air between its 2-3 lines */
.close .gty.gty-big { line-height: 1.22; }
/* RevLoop "numbers are for illustration" note: up to the 16px floor */
.v6-note { font-size: 16px; }
/* blog articles: about 75 characters a line (was about 88) */
.prose p, .prose li { max-width: 62ch; }
/* tablet footer: the office address gets 2 columns, so it stops wrapping word by word */
@media (max-width: 1320px) and (min-width: 701px) { .ftr .cols5 > div:last-child { grid-column: span 2; } }
@media (max-width: 960px) {
  /* "What we need from you" / "What you can count on": full width on phones, not a 2/3-width strip */
  .cols2 { max-width: none; }
}
@media (max-width: 600px) {
  /* stats: the label stays on 1 line */
  .stats dd { white-space: nowrap; }
  /* quiz answers: short answers fit on 1 line instead of breaking in half */
  .qz-opts button { gap: 10px; padding: 14px 16px; font-size: 17px; }
}
/* measure.css loads after this file: raise specificity so the note and table lines take the fix */
.v6-band .v6-note { font-size: 16px; }
.v6-band .v6t-a { line-height: 1.22; }
/* small laptops (961-1279px): 2 columns where 3-4 made 25-character lines */
@media (min-width: 961px) and (max-width: 1279px) {
  .rgrid.fixed:not(.home4):not(.cmp):not(.few), .rgrid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rgrid.few { margin-left: 0; }
  .blocks.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols2 { max-width: none; }
}

/* ===== 11-09 CRO pass on the homepage closing band (Kevin: "this whole thing kind of hard to read ... simplicity, ease of read and
   flow is #1"). Order: heading, 1 line, 3 short points, button, the promise in small type right under the button (it no longer
   competes with the heading), book beside it on laptops and after it on phones. Heading to button went from ~1,000px to ~480px. ===== */
.close .covers { margin-top: clamp(28px, 3vw, 40px); }
.close .covers p { margin-bottom: 8px; font-size: 18px; }
.close .covers li { padding-top: 7px; padding-bottom: 7px; border-top: 0; font-size: 20px; line-height: 1.45; }
.close .covers .arw li::before { top: 7px; }
.close .covers .arw li + li { margin-top: 0; }
.close .close-cta { margin-top: clamp(32px, 3.4vw, 44px); }
.close .gty.gty-sm { margin-top: 16px; max-width: 34em; font: 400 18px/1.5 var(--text); letter-spacing: 0; color: var(--on-green-2); }
@media (min-width: 961px) {
  .close .wrap:has(> .gp) { grid-template-areas: "h gp" "ld gp" "cv gp" "ct gp" "gt gp"; align-content: center; }
  .close .wrap:has(> .gp) > .gp { max-width: 420px; }
}
@media (max-width: 960px) {
  .close .gp { max-width: 240px; margin: 48px auto 0; }
  .close .covers li { font-size: 19px; }
}
/* phones: "Get your free / 90-Day Growth Plan." in 2 lines (was 3 with "90-Day" alone) */
@media (max-width: 600px) { .close .wrap:has(> .gp) > h2 { font-size: clamp(30px, 8.8vw, 36px); } }

/* ===== 11-09 CRO type scale (Kevin: "the way it looks, text size wise ... size wise etc, overall, OPTIMIZED FOR CRO").
   1 calmer scale for the whole site: headings were 5x the body (hero 99px, h2s 49-72px in 5 different sizes), so they shouted over
   the words and the button. Now: hero 84px, page titles 64px, every section heading 50px, card titles 24-32px, body 18-20px,
   main buttons 64px tall, a little less air between bands so the page flows. Phones keep their own sizes where set. ===== */
:root { --sec: clamp(72px, 7.6vw, 108px); }
.hero h1 { font-size: clamp(44px, 5.8vw, 88px); }
.pg-h1 { font-size: clamp(40px, 4.4vw, 64px); }
.post-hero h1 { font-size: clamp(36px, 3.9vw, 56px); }
.h2, .h2i, #faq .h2, .close h2, .close.sm h2, .close .wrap:has(> .gp) > h2 { font-size: clamp(32px, 3.5vw, 50px); }
.svx h3 { font-size: clamp(24px, 2.2vw, 32px); }
.blocks h3 { font-size: clamp(22px, 1.75vw, 26px); }
.v6-band .v6-tx h3 { font-size: clamp(24px, 2vw, 30px); }
.rc .n { font-size: clamp(40px, 3.7vw, 56px); }
.stats dt { font-size: clamp(32px, 3.3vw, 48px); }
.sv4-l li { font-size: 19px; }
main .btn { height: 64px; padding: 0 34px; font-size: 19px; }
@media (max-width: 600px) {
  .close .wrap:has(> .gp) > h2 { font-size: clamp(30px, 8.8vw, 34px); }   /* "Get your free / 90-Day Growth Plan." stays 2 lines */
  .sv4-l li { font-size: 18px; }
}

/* ===== 11-09 100% zoom pass (Kevin reviewed at 80%, now at 100%: "stuff is looking too big ... be mindful so not too much scrolling
   is needed either, but ensure that everyone can read it, even olders, or people with vision problems"). Reading text stays easy
   (body 18px everywhere, phones too; nothing under 16px; 7:1 contrast), headings and band spacing come down a step = less scrolling. ===== */
:root { --sec: clamp(64px, 6.6vw, 96px); }
.hero { padding-top: clamp(56px, 6.5vw, 104px); }
.pg-hero { padding: clamp(56px, 5.6vw, 88px) 0 clamp(48px, 4.6vw, 72px); }
.hero h1 { font-size: clamp(44px, 5.3vw, 78px); }
.pg-h1 { font-size: clamp(38px, 3.9vw, 58px); }
.post-hero h1 { font-size: clamp(34px, 3.5vw, 50px); }
.h2, .h2i, #faq .h2, .close h2, .close.sm h2, .close .wrap:has(> .gp) > h2 { font-size: clamp(31px, 3.1vw, 44px); }
.svx h3 { font-size: clamp(22px, 1.9vw, 28px); }
.v6-band .v6-tx h3 { font-size: clamp(22px, 1.8vw, 26px); }
.rc .n { font-size: clamp(38px, 3.3vw, 48px); }
.stats dt { font-size: clamp(30px, 3vw, 44px); }
.blocks p, .faq details p, .items p, .covers li, .close .covers li, .svc .arw li, .arw li, .sv4-l li, .duo p, .about-rows p, .v6-band .v6-p { font-size: 18px; }
.hero .lede, .pg-sub, .sec-head.stack .intro, .close .lede { font-size: clamp(19px, 1.45vw, 21px); }
.prose p, .prose li { font-size: 19px; }
main .btn { height: 60px; padding: 0 30px; font-size: 18px; }
@media (max-width: 600px) { .close .wrap:has(> .gp) > h2 { font-size: clamp(28px, 8.4vw, 33px); } }

/* ===== 11-09 Fable service pages (paid social, paid search, creative, websites and SEO; <main class="svcp">). Cold design check
   against the Hormozi order (promise, proof, value, 1 ask), CRO and the 100% zoom scale. 1: the growth plan button sits in the
   page head, so the 1 action is on screen before any scrolling (the first button used to be 4,000-6,000px down). 2: "What changes
   when we take over" was 2 columns in the left 2/3 of the page with an empty right third; full width now, each column about 70
   characters. 3: reading lines in What you get and the FAQ capped near 75 characters (were 90+ on laptops). 4: creative page: the
   6 videos sit under the statics in 1 row of 6 (hover or touch plays), horizontal scroll on phones, not 2 rows of 780px films. ===== */
.pg-cta { margin-top: clamp(28px, 2.8vw, 40px); }
.pg-hero .qz-inline .qz { margin-top: clamp(28px, 2.8vw, 40px); }
.svcp .cols2 { max-width: none; column-gap: clamp(48px, 6vw, 96px); }
.svcp .items p, .svcp .faq details p { max-width: 58ch; }
.svcp .wall + .vids { margin-top: clamp(28px, 3vw, 40px); }
@media (min-width: 1101px) { .svcp .vids.vids6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 16px; } }
@media (max-width: 700px) {
  .svcp .vids.vids6 { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); scrollbar-width: none; }
  .svcp .vids.vids6::-webkit-scrollbar { display: none; }
  .svcp .vids.vids6 .vid { flex: 0 0 46%; scroll-snap-align: start; }
  .svcp .wall + .vids { margin-top: 28px; }
}
.svcp .items p, .svcp .faq details p { text-wrap: pretty; }
/* tablets and small laptops (900-1100px): the creative page work stays 1 row of 6 statics + 1 row of 6 videos, not 2 rows of 3 big tiles each */
@media (min-width: 900px) and (max-width: 1100px) {
  .svcp .part > .sec-head + .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 14px; }
  .svcp .vids.vids6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 14px; }
}

/* ===== 11-09 website mockups on Websites and SEO ("Pages we've built."): 1 row per brand. Laptops: the desk scene (8 of 12 columns)
   beside the phone-in-hand shot (4 of 12), equal height. Phones: the <picture> swaps the scene for the phone shot, so the page is
   readable on a phone screen; the separate phone image hides. ===== */
.sites2 { display: grid; row-gap: clamp(56px, 6vw, 96px); }
.s2 { margin: 0; }
.s2-pics { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(12px, 1.4vw, 20px); align-items: stretch; }
.s2-pics picture, .s2-pics img { display: block; width: 100%; height: 100%; }
.s2-pics img { object-fit: cover; border-radius: var(--r); }
.s2 figcaption { margin-top: 24px; max-width: 58ch; }
.s2 .sb { font-size: 19px; line-height: 1.4; color: var(--on-paper-2); }
.s2 .sb b { color: var(--on-paper); font-weight: 700; }
.s2 figcaption p + p { margin-top: 6px; font-size: 18px; line-height: 1.55; color: var(--on-paper-2); }
.s2 .dom { font-size: 16px; }
@media (max-width: 700px) {
  .s2-pics { grid-template-columns: minmax(0, 1fr); }
  .s2-phone { display: none !important; }
  .s2-pics img { height: auto; }
}

/* ===== 11-09 "Our work." row on Websites and SEO (Kevin: "make smaller, all 3 of them same row ... add ssg, ergysstudio, and the best
   roofing landing page, and people can scroll them through"): 3 sites per view on laptops, swipe on phones; each frame shows the top
   of the real page and scrolls through it on hover or tap. No device chrome, no shadows: a hairline frame. ===== */
.wk { position: relative; }
.wk-nav { display: flex; justify-content: flex-end; gap: 8px; margin: -8px 0 20px; }
.wk-nav button { width: 48px; height: 48px; border: 1px solid var(--rule-paper); border-radius: 50%; background: transparent; color: var(--on-paper); font-size: 20px; line-height: 1; cursor: pointer; }
.wk-nav button:hover { border-color: var(--on-paper); }
.wk-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3); column-gap: 24px; margin: 0; padding: 0 0 8px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.wk-row::-webkit-scrollbar { display: none; }
.wk-it { scroll-snap-align: start; }
.wk-it figure { margin: 0; }
.wk-frame { display: block; width: 100%; padding: 0; aspect-ratio: 5 / 4; overflow: hidden; border: 1px solid var(--rule-paper); border-radius: 14px; background: #f3f3f1; cursor: pointer; }
.wk-frame img { display: block; width: 100%; height: auto; transform: translateY(0); transition: transform var(--d, 6s) cubic-bezier(0.45, 0, 0.55, 1); }
.wk-it.go .wk-frame img { transform: translateY(var(--y, 0)); }
.wk-it figcaption { margin-top: 14px; font-size: 18px; line-height: 1.4; color: var(--on-paper-2); }
.wk-it figcaption b { color: var(--on-paper); font-weight: 700; }
@media (max-width: 960px) { .wk-row { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .wk-row { grid-auto-columns: 84%; column-gap: 16px; } .wk-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .wk-frame img { transition: none; } }
/* arrows sit on the intro line's right edge, not in their own gap */
@media (min-width: 601px) { #pages .sec-head { padding-right: 120px; } .wk-nav { position: absolute; right: 0; top: -72px; margin: 0; } }
