/*
Theme stylesheet 2.0 (redesign). Source of truth for the approved design system:
HOMEPAGE-EXPERIMENT-2026-10-13/approved/sf-approved-2026-10-14-d28.css + sf-pages-approved-2026-10-14-d28.css,
assembled 2026-10-14. Sections: fonts, design system (sf.css), interior components (sf-pages.css),
homepage robot hero, then WordPress-only additions in assets/css/site-wp.css.
Edit this file directly from now on; regenerate site.min.css with esbuild (docs/releasing.md).
*/
/* Self-hosted Google Fonts (OFL), Latin subset, variable weights. Source: fonts.googleapis.com css2, 2026-10-14. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/v2/Inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/v2/JetBrainsMono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/v2/SourceSerif4-Italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/v2/SourceSerif4-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ======================= design system (sf.css) ======================= */
/* SLIDEFACTORY shared styles (in WordPress: theme style.css). Approved 2026-10-13. */
/* Layout: one 1200px column, generous vertical rhythm, hairline dividers between bands, almost no boxes.
   Brand: SLIDEFACTORY navy + signal blue. Type: Source Serif 4 display (optical sizes, italic for emphasis),
   Inter body, JetBrains Mono for eyebrows/meta. */
:root {
  --bg: #fbfcfd;
  --bg-2: #f1f5f8;
  --fg: #10293d;
  --muted: #3b4f61;
  --faint: rgba(16, 41, 61, .55);
  --line: rgba(16, 41, 61, .09);
  --line-strong: rgba(16, 41, 61, .2);
  --glow-1: rgba(5, 131, 242, .07); --glow-2: rgba(14, 202, 212, .12); --dot: rgba(16, 41, 61, .10); --dot-strong: rgba(16, 41, 61, .2);
  --panel: #10293d; --panel-glow: rgba(5, 131, 242, .45);
  --pdx-sky1: #c9e1f5; --pdx-sky2: #dbecf9; --pdx-sun: #ffd27a; --pdx-mtn: #6892b6; --pdx-snow: #ffffff;
  --pdx-hill: #7aa0c3; --pdx-city: #163a56; --pdx-river: #49a0f0; --pdx-shine: #e6f3ff; --pdx-bank: #1a3d58;
  --pdx-tree: #112d44; --pdx-cloud: #ffffff; --pdx-win: #ffd27a; --pdx-train: #0583f2; --pdx-night: 0;
  --pdx-city2: #336390; --pdx-city3: #4e7aa3; --pdx-city4: #88aecf; --pdx-pink: #e9a293; --pdx-stripe: #d6e8f6; --pdx-laser: #ff4f6d;
  --hero-still: none;
  --accent: #0583f2;
  --accent-ink: #ffffff;
  --spark: #ffae00;
  --accent-2: #0a5bd1;
  --card: #ffffff;
  --display: "Source Serif 4", Georgia, ui-serif, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 1280px;
  --gutter: clamp(16px, 2.5vw, 24px);
  --band: clamp(96px, 10vw, 144px);
  --r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1824; --bg-2: #0f2232; --fg: #eaf1f6; --muted: #b3c2ce; --faint: rgba(234, 241, 246, .55);
    --line: rgba(255, 255, 255, .09); --line-strong: rgba(255, 255, 255, .22); --glow-1: rgba(62, 160, 255, .08); --glow-2: rgba(47, 211, 220, .09); --dot: rgba(234, 241, 246, .08); --dot-strong: rgba(234, 241, 246, .14); --panel: #12304a; --panel-glow: rgba(62, 160, 255, .4); --hero-still: none; --pdx-sky1: #061320; --pdx-sky2: #17344d; --pdx-sun: #e9eef3; --pdx-mtn: #152a3e; --pdx-snow: #9fb4c6; --pdx-hill: #1b3247; --pdx-city: #050e17; --pdx-river: #0f3657; --pdx-shine: #5aa8ec; --pdx-bank: #040b12; --pdx-tree: #02070c; --pdx-cloud: #c9d6e2; --pdx-win: #ffcf6e; --pdx-train: #3ea0ff; --pdx-night: 1; --pdx-city2: #0c2033; --pdx-city3: #0f2438; --pdx-city4: #284867; --pdx-pink: #7a4246; --pdx-stripe: #24435c; --pdx-laser: #ff5c7a; --accent: #3ea0ff; --accent-ink: #06121c; --spark: #ffb81f; --accent-2: #7cc0ff; --card: #0f2030;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1824; --bg-2: #0f2232; --fg: #eaf1f6; --muted: #b3c2ce; --faint: rgba(234, 241, 246, .55);
  --line: rgba(255, 255, 255, .09); --line-strong: rgba(255, 255, 255, .22); --glow-1: rgba(62, 160, 255, .08); --glow-2: rgba(47, 211, 220, .09); --dot: rgba(234, 241, 246, .08); --dot-strong: rgba(234, 241, 246, .14); --panel: #12304a; --panel-glow: rgba(62, 160, 255, .4); --hero-still: none; --pdx-sky1: #061320; --pdx-sky2: #17344d; --pdx-sun: #e9eef3; --pdx-mtn: #152a3e; --pdx-snow: #9fb4c6; --pdx-hill: #1b3247; --pdx-city: #050e17; --pdx-river: #0f3657; --pdx-shine: #5aa8ec; --pdx-bank: #040b12; --pdx-tree: #02070c; --pdx-cloud: #c9d6e2; --pdx-win: #ffcf6e; --pdx-train: #3ea0ff; --pdx-night: 1; --pdx-city2: #0c2033; --pdx-city3: #0f2438; --pdx-city4: #284867; --pdx-pink: #7a4246; --pdx-stripe: #24435c; --pdx-laser: #ff5c7a; --accent: #3ea0ff; --accent-ink: #06121c; --spark: #ffb81f; --accent-2: #7cc0ff; --card: #0f2030;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--band); }
.band--tint { background: var(--bg-2); }
/* hero -> first section: same content-width hairline as between bands */
.hero + .band { padding-top: 0; }
.hero + .band > .wrap { padding-top: var(--band); background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
/* hairline between two untinted sections, drawn at content width */
.band:not(.band--tint) + .band:not(.band--tint) { padding-top: 0; }
.band:not(.band--tint) + .band:not(.band--tint) > .wrap { padding-top: var(--band); background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.hero h1 .eyebrow, .band-head > div > .eyebrow:first-child, .faq-grid > div > .eyebrow, .cta-box .eyebrow, .clients > .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.hero h1 .eyebrow::before, .band-head > div > .eyebrow:first-child::before, .faq-grid > div > .eyebrow::before, .cta-box .eyebrow::before, .clients > .eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.875rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -.01em; margin: 14px 0 0; text-wrap: balance; }
.lede { color: var(--muted); max-width: 60ch; margin: 20px 0 0; font-size: 1.125rem; line-height: 1.625; }
.lede + .lede { margin-top: 12px; }
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-bottom: 56px; }
.band-head > div { min-width: 0; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; color: var(--muted); }
.textlink .arr { transition: transform .2s ease; }
.textlink:hover .arr { transform: translateX(4px); }
.textlink:hover { color: var(--accent); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px; font-weight: 500; font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { border: 1px solid var(--line-strong); padding-block: 12px; }
.btn--ghost:hover { border-color: var(--fg); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.logo { color: var(--fg); display: inline-flex; }
.logo { align-items: center; gap: 10px; }
.logo-mark { width: 30px; height: 30px; background: currentColor; -webkit-mask: url(../img/v2/sf-logo.png) center / contain no-repeat; mask: url(../img/v2/sf-logo.png) center / contain no-repeat; }
.logo-word { font: 600 15px var(--body); letter-spacing: .12em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav > .has-panel > button { font: 500 13px var(--body); color: color-mix(in srgb, var(--fg) 65%, transparent); padding: 7px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav > .has-panel > button:hover, .has-panel.open > button { color: var(--fg); background: var(--bg-2); }
.nav > a[aria-current="page"] { color: var(--fg); background: var(--bg-2); }
.chev { width: 10px; height: 10px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 8px 14px; font-size: 13px; border-radius: 6px; background: none; color: var(--fg); border: 1px solid color-mix(in srgb, var(--fg) 75%, transparent); }
.header-cta .btn:hover { background: var(--fg); color: var(--bg); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 600 13px var(--body); color: var(--fg); cursor: pointer; }

/* Header motion (10-22): one pill glides between the top links and comes to rest on the
   current page; a figure rides the logo slide, the chevron springs, the CTA fills from the left.
   Transforms only, so nothing in the header changes size. The global reduced-motion rule
   turns all of it into instant state changes. */
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); }
/* Logo rider: on hover a little figure drops in from above the page, lands on the slide's
   platform, rides the chute down, launches off the runout into a backflip and fades out.
   site.js adds .is-riding for one run per hover. The route is one continuous curve
   (offset-path, in the 30px mark's coordinates) and the spin runs on its own clock in one
   direction only, so speed never drops to zero mid-air. Browsers without offset-path
   skip the ride. */
.logo-slide { position: relative; display: inline-flex; }
.logo-rider { display: none; }
@supports (offset-path: path("M0 0")) {
  .logo-rider { display: block; position: absolute; left: 0; top: 0; width: 9px; height: 8px; color: var(--accent); opacity: 0; pointer-events: none;
    offset-path: path("M15 -60 L15 7 L13.6 8 L8.3 23 Q6.5 24.6 3 24.6 Q-13 -6 -30 20"); offset-anchor: 50% 100%; offset-rotate: 0deg; }
  /* Spin and squash live on the svg so they turn the figure in place, not around the route's origin. */
  .logo-rider svg { display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 100%; }
  .logo.is-riding .logo-rider { animation: logo-ride-path 1.8s forwards, logo-ride-fade 1.8s forwards; }
  .logo.is-riding .logo-rider svg { animation: logo-ride-spin 1.8s forwards, logo-ride-land 1.8s; }
}
/* Distances along the route: platform 67px, bottom of the runout 90.3px, end 135.8px.
   The slide ends fast and the flight starts at that same speed. */
@keyframes logo-ride-path {
  0%   { offset-distance: 0px; animation-timing-function: cubic-bezier(.5, 0, 1, 1); }
  17%  { offset-distance: 67px; }
  24%  { offset-distance: 67px; animation-timing-function: cubic-bezier(.35, .1, .8, .6); }
  56%  { offset-distance: 90.3px; animation-timing-function: cubic-bezier(.3, .57, .7, .9); }
  100% { offset-distance: 135.8px; }
}
@keyframes logo-ride-spin {
  0%, 24% { rotate: 0deg; animation-timing-function: ease-in-out; }
  31%, 49% { rotate: -62deg; animation-timing-function: cubic-bezier(.45, 0, .6, 1); }
  100% { rotate: 358deg; }
}
@keyframes logo-ride-land {
  0%, 16% { scale: 1; }
  18% { scale: 1.15 .8; }
  23%, 100% { scale: 1; }
}
@keyframes logo-ride-fade {
  0%, 82% { opacity: 1; }
  100% { opacity: 0; }
}
.nav > a, .nav > .has-panel > button { transition: color .15s, background-color .15s, transform .2s var(--spring); }
.nav > a:active, .nav > .has-panel > button:active { transform: scale(.95); }
.chev { transition: transform .4s var(--spring); }
.has-panel > button:hover .chev { transform: translateY(1.5px); }
.has-panel.open > button .chev { transform: rotate(180deg); }
.header-cta .btn { background-image: linear-gradient(var(--fg), var(--fg)); background-repeat: no-repeat; background-position: left center; background-size: 0% 100%; transition: background-size .35s cubic-bezier(.2, .7, .2, 1), color .2s .05s, transform .2s var(--spring); }
.header-cta .btn:hover { background-size: 100% 100%; }
.header-cta .btn:active { transform: scale(.96); }
.nav-pill { display: none; }
.nav > .is-lit { color: var(--fg); }
@media (min-width: 1021px) {
  .nav { position: relative; isolation: isolate; }
  .nav-pill { display: block; position: absolute; left: 0; top: 0; z-index: -1; border-radius: 999px; background: color-mix(in srgb, var(--fg) 7%, transparent); pointer-events: none; opacity: 0; transition: transform .38s var(--spring), width .38s var(--spring), height .38s var(--spring), opacity .18s; }
  .nav-pill.is-on { opacity: 1; }
  .nav-pill.no-glide { transition: opacity .18s; }
  /* With the pill running, it replaces the per-link hover and current-page backgrounds. */
  .nav.has-pill > a, .nav.has-pill > .has-panel > button { background: none; }
}

/* ---------- What We Do mega panel ---------- */
.panel { position: absolute; left: 0; right: 0; top: 100%; padding-top: 6px; }
.site-header .panel > .wrap { display: block; padding-block: 0; }
.panel-card {
  --mm-shadow: 0 1px 2px rgba(16, 41, 61, .06), 0 28px 56px -16px rgba(16, 41, 61, .22);
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
  border-radius: var(--r);
  box-shadow: var(--mm-shadow);
  overflow-x: hidden; overflow-y: auto;
  max-height: calc(100dvh - 88px);
  animation: mm-in .18s cubic-bezier(.2, .7, .2, 1);
}
@keyframes mm-in { from { opacity: 0; transform: translateY(-6px); } }
/* Categories settle in one after another as the panel opens. */
.mm-grid > li { animation: mm-in .3s cubic-bezier(.2, .7, .2, 1) backwards; }
.mm-grid > li:nth-child(2) { animation-delay: .03s; }
.mm-grid > li:nth-child(3) { animation-delay: .06s; }
.mm-grid > li:nth-child(4) { animation-delay: .09s; }
.mm-grid > li:nth-child(5) { animation-delay: .12s; }
.mm-grid > li:nth-child(n+6) { animation-delay: .15s; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .panel-card { --mm-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 28px 56px -16px rgba(0, 0, 0, .6); }
}
:root[data-theme="dark"] .panel-card { --mm-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 28px 56px -16px rgba(0, 0, 0, .6); }

.mm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.mm-grid > li { background: var(--card); min-width: 0; }
.mm-cat { padding: 24px 28px 26px; }

.mm-head { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; align-items: center; border-radius: 10px; }
.mm-head:focus-visible { outline-offset: 4px; }
.mm-ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--fg) 6%, var(--card)); color: var(--fg); transition: background .15s, color .15s; }
.mm-ico .ico { width: 18px; height: 18px; transition: transform .4s var(--spring); }
.mm-head:hover .mm-ico .ico, .mm-head:focus-visible .mm-ico .ico { transform: rotate(-8deg) scale(1.1); }
.mm-text { min-width: 0; display: grid; gap: 2px; }
.mm-title { font: 600 15px/1.3 var(--body); letter-spacing: -.005em; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.mm-title::after { content: "\2192"; display: inline-block; margin-left: 6px; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.mm-desc { font: 400 13px/1.4 var(--body); color: color-mix(in srgb, var(--fg) 62%, var(--card)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-head:hover .mm-title, .mm-head:focus-visible .mm-title { color: var(--accent); }
.mm-head:hover .mm-title::after, .mm-head:focus-visible .mm-title::after { opacity: 1; transform: none; }
.mm-head:hover .mm-ico, .mm-head:focus-visible .mm-ico { background: color-mix(in srgb, var(--accent) 14%, var(--card)); color: var(--accent); }

.mm-links { list-style: none; margin: 14px 0 0; padding: 0 0 0 50px; display: grid; gap: 2px; }
.mm-links a { display: block; padding: 5px 10px; margin-inline: -10px; border-radius: 6px; font: 400 14px/1.35 var(--body); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .12s, color .12s; }
.mm-links a:hover { background: color-mix(in srgb, var(--fg) 5%, var(--card)); color: var(--fg); }
.mm-links a:focus-visible { outline-offset: 0; }
.mm-links a[aria-current="page"] { color: var(--fg); font-weight: 500; }

.mm-grid > .mm-local { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 14px 28px; background: color-mix(in srgb, var(--fg) 3.5%, var(--card)); }
.mm-local .eyebrow { color: var(--muted); }
.mm-local .mm-all { margin-left: auto; font-size: 13.5px; }
.mm-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mm-chips a { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); background: var(--card); font: 500 13px/1.3 var(--body); color: var(--muted); transition: border-color .12s, color .12s; }
.mm-chips a:hover { border-color: var(--accent); color: var(--accent); }

@media (min-width: 1021px) and (max-width: 1180px) {
  .mm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .site-header.menu-open .nav { max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .panel { position: static; padding-top: 0; }
  .site-header .panel > .wrap { padding: 0 0 8px; }
  .panel-card { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; max-height: none; animation: none; }
  .mm-grid { grid-template-columns: minmax(0, 1fr); gap: 0; background: none; }
  .mm-grid > li { background: none; animation: none; }
  .mm-cat { padding: 14px 0 12px; border-top: 1px solid var(--line); }
  .mm-head { grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; }
  .mm-ico { width: 30px; height: 30px; border-radius: 8px; }
  .mm-ico .ico { width: 16px; height: 16px; }
  .mm-desc, .mm-title::after { display: none; }
  .mm-title { white-space: normal; }
  .mm-links { margin-top: 6px; padding-left: 42px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .mm-links a { padding: 9px 10px; font-size: 15px; white-space: normal; }
  .mm-grid > .mm-local { background: none; padding: 16px 0 4px; border-top: 1px solid var(--line); }
  .mm-local .mm-all { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 560px) {
  .mm-links { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) 28px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(38% 50% at 80% 40%, var(--glow-1), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 78% 35%, #000 0%, transparent 75%); mask-image: radial-gradient(60% 70% at 78% 35%, #000 0%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 0; font-weight: 400; }
.hero h1 .eyebrow { display: flex; width: fit-content; margin-bottom: 18px; font-size: 12px; color: var(--muted); }
.hero h1 .title { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(2.85rem, 6vw, 4.75rem); line-height: 1.04; letter-spacing: -.02em; font-variation-settings: "opsz" 60; text-wrap: balance; }
.hero h1 .title em { font-style: italic; font-weight: 600; color: var(--accent); }
.hero .sub { margin: 28px 0 0; max-width: 52ch; font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-visual { position: relative; margin: 0; aspect-ratio: 4 / 3; max-width: 100%; background: var(--hero-still) center / cover no-repeat; }
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .4s ease; }
.hero-visual.live canvas { opacity: 1; }
.hero-visual.live { background-image: none; }

.glance { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 0; }
.stat { display: block; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 32px; }
.stat .num { font-family: var(--display); font-weight: 600; font-size: clamp(2.25rem, 3.4vw, 3rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; color: var(--fg); }
.stat .num .sfx { color: var(--accent); }
.stat-todo { color: var(--faint) !important; text-decoration: underline dashed var(--line-strong); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.stat p { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 24ch; transition: color .2s; }
.stat .arr { display: inline-block; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.stat:hover p { color: var(--accent); }
.stat:hover .arr { opacity: 1; transform: none; }

/* ---------- services list ---------- */
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc li { border-bottom: 1px solid var(--line); }
.svc a { display: grid; grid-template-columns: 3rem minmax(0, .8fr) minmax(0, 1.3fr) 2.5rem; gap: 8px 24px; align-items: start; padding: 32px 0; }
.svc .ico { margin-top: 22px; }
.svc .name .n { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--faint); margin-bottom: 6px; }
.svc .desc strong { display: block; color: var(--fg); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.svc .go { margin-top: 22px; }
.svc a:hover h3 { color: var(--accent); }
.svc .ico { width: 22px; height: 22px; color: var(--muted); transition: color .2s; }
.svc a:hover .ico { color: var(--accent); }
.svc h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; transition: color .2s; letter-spacing: -.01em; }
.svc .desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 62ch; }
.svc .go { justify-self: end; color: var(--faint); transition: transform .2s, color .2s; }
.svc a:hover .go { color: var(--accent); transform: translateX(4px); }
.local { margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.local a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.local a:hover { text-decoration-color: var(--accent); }

/* ---------- reel ---------- */
.reel-feature { margin-bottom: clamp(40px, 5vw, 56px); }
.reel { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; background: var(--bg-2); }
.reel video { width: 100%; height: 100%; display: block; object-fit: cover; }
.reel-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 56px; padding: 0 22px 0 18px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); display: inline-flex; align-items: center; gap: 10px; font: 500 14px var(--body); cursor: pointer; box-shadow: 0 12px 32px -12px rgba(16, 41, 61, .45); transition: transform .2s ease; }
.reel-play:hover { transform: translate(-50%, -50%) scale(1.04); }
.reel-play svg { width: 18px; height: 18px; }
.reel.playing .reel-play { display: none; }
.reel-foot { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.reel-foot p { margin: 0; }
.pdx { margin: 0 0 56px; border-radius: 20px; overflow: hidden; aspect-ratio: 10 / 3; max-width: 100%; background: var(--pdx-sky2); }
.pdx canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 720px) { .pdx { margin-bottom: 36px; border-radius: 14px; } }

/* ---------- client logos ---------- */
.clients { margin-top: clamp(64px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--line); }
.logos { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 48px; column-gap: 40px; align-items: center; }
.logos li { display: flex; justify-content: center; align-items: center; min-height: 48px; }
.logo-mark-c { display: block; max-width: 140px; color: var(--faint); background: currentColor; -webkit-mask-image: var(--m); mask-image: var(--m); -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* ---------- work 2x2 ---------- */
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 36px); }
.proj { display: block; }
.proj figure { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-2); }
.proj figure.fit img { object-fit: contain; padding: 6% 4%; }
.proj figure.media--knockout { background: none; }
.proj:hover figure.fit img { transform: scale(1.02); }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proj:hover img { transform: scale(1.035); }
.proj .meta { margin-top: 20px; }
.proj h3 { margin: 10px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.375rem, 2vw, 1.625rem); font-weight: 600; line-height: 1.2; letter-spacing: -.005em; }
.proj p { margin: 10px 0 0; color: var(--muted); font-size: 15px; max-width: 54ch; }
.proj .tag { color: var(--fg); font-weight: 500; font-size: 15.5px; margin-top: 6px; }
.proj .result { display: block; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.proj .more { display: inline-flex; gap: 8px; margin-top: 14px; font-weight: 500; font-size: 14px; }
.proj:hover .more { color: var(--accent); }
.proj:hover .more .arr { transform: translateX(4px); }
.proj .more .arr { transition: transform .2s ease; }
.proj .result b { color: var(--fg); font-weight: 500; margin-right: 10px; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.step, .step + .step { padding: 20px 0 0; border-top: 1px solid var(--line); }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.step h3 { margin: 14px 0 0; font: 600 1.35rem/1.2 var(--display); }
.step p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.quote { margin: 0; padding: 28px 0 0; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 22px; }
.quote blockquote { margin: 0; font: italic 400 1.2rem/1.6 var(--display); color: color-mix(in srgb, var(--fg) 85%, transparent); }
.quote figcaption { margin-top: auto; display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.band--tint .quote .who { color: var(--fg); font-weight: 600; font-size: 14px; }
.quote .src { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.quote .src a { flex-basis: 100%; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.quote .src a:hover { color: var(--accent); }
.quote .rating { color: var(--fg); letter-spacing: 1px; font-size: 12px; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.post { display: flex; flex-direction: column; }
.post figure { margin: 0; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post:hover img { transform: scale(1.04); }
.post .eyebrow { margin-top: 18px; display: block; }
.post h3 { margin: 10px 0 0; font: 600 1.3rem/1.3 var(--display); text-wrap: balance; }
.post:hover h3 { color: var(--accent); }
.post p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
/* FAQ heading column locks while the questions scroll (same as .split); off once the grid stacks */
@media (min-width: 1021px) { .faq-grid > :first-child { position: sticky; top: calc(68px + 32px); } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 500; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 22px; height: 22px; position: relative; color: var(--faint); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 1.5px; background: currentColor; transition: transform .2s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 62ch; }
.faq details p + p { margin-top: -10px; }

/* ---------- cta ---------- */
.cta { text-align: left; }
.cta-box { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px 64px; align-items: center; }
.cta .h2 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); max-width: 80%; }
.cta-side { display: grid; gap: 18px; justify-items: start; }
.cta-side p { margin: 0; color: var(--muted); font-size: 14.5px; }
.cta-side .mono { font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--fg); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 72px 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.foot-grid p { color: var(--muted); max-width: 34ch; margin: 18px 0 0; }
.foot-grid h4 { margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid li a { color: var(--muted); }
.foot-grid li a:hover { color: var(--fg); }
.foot-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; border-top: 0; padding-top: 0; }
  .stat, .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .stat .num { font-size: 2rem; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .logo-mark-c { transform: scale(.85); }
}
@media (max-width: 1020px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header.menu-open .nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; }
  .site-header.menu-open .nav > a, .site-header.menu-open .nav > .has-panel > button { font-size: 16px; padding: 12px 0; border-radius: 0; width: 100%; justify-content: space-between; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews, .posts { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .faq-grid, .cta-box { grid-template-columns: minmax(0, 1fr); }
  .cta .h2 { max-width: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .band-head { grid-template-columns: minmax(0, 1fr); }
  .svc a { grid-template-columns: 2.25rem minmax(0, 1fr) 1.25rem; padding: 24px 0; align-items: start; }
  .svc .ico, .svc .go { margin-top: 20px; }
  .svc .desc { grid-column: 2 / 3; }
  .svc .go { grid-row: 1; grid-column: 3; }
  .work { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 28px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Phones: keep the header on one line (Work with us stays in the hero, menu and footer) */
@media (max-width: 600px) { .header-cta .btn { display: none; } }

/* ======================= interior components (sf-pages.css) ======================= */
/* SLIDEFACTORY interior page components: Industries, Work, About, Contact (2026-10-13).
   Loads AFTER assets/sf.css and only adds what sf.css lacks. Tokens only (light + dark come from sf.css).
   Rules kept from the approved homepage: no gradients or glows, no dot grid, no dark panels,
   hairlines in var(--line), flat var(--bg-2) tints, Source Serif 4 600 headings, mono eyebrows.
   Spec + markup patterns: plans/design-four-pages-2026-10-13.md */

:root {
  --header-h: 68px;                         /* sticky header height (measured 68px at 1400), used by the sticky chip bar + anchor offsets */
  --danger: #b42318;                        /* form errors only */
  --field-line: color-mix(in srgb, var(--fg) 50%, var(--card)); /* input borders: 3:1 against the field (WCAG 1.4.11) */
  --r-lg: 20px;                             /* image + card radius used by .proj / .reel */
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --danger: #ff8a80; } }
:root[data-theme="dark"] { --danger: #ff8a80; }

/* ---------- utilities ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* the homepage's short blue rule, usable on any eyebrow */
.eyebrow--rule { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.eyebrow--rule::before { content: ""; flex: none; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -.01em; margin: 12px 0 0; text-wrap: balance; }
ol.steps, ul.steps { list-style: none; margin: 0; padding: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* a titled block inside a band, below the band's main content (same rhythm as .clients) */
.subsection { margin-top: clamp(64px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--line); }
.subsection > .eyebrow:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.subsection > .eyebrow:first-child::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
/* left heading / right content, same proportions as .faq-grid */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; }
.split .h3 { margin-top: 0; }
/* heading column locks while the right column scrolls (matches About); off once the split stacks */
@media (min-width: 901px) { .split > :first-child { position: sticky; top: calc(var(--header-h) + 32px); } }

/* ---------- breadcrumb ---------- */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font: 400 13px/1.4 var(--body); color: var(--faint); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current="page"] { color: var(--faint); }

/* ---------- interior hero (no 3D, no dot grid, no glow) ---------- */
.page-hero { padding-block: 24px clamp(56px, 7vw, 96px); }
.page-hero .crumbs { margin-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { margin: 0; }
/* eyebrow sits ABOVE the h1 (not inside it) so each H1 matches the SEO plan word for word */
.page-hero .ph-eyebrow { display: flex; width: fit-content; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12px; line-height: 1; color: var(--muted); }
.page-hero .ph-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.ph-extra > .eyebrow { display: block; margin-bottom: 4px; }
.page-hero .title { display: block; max-width: 75%; font-family: var(--display); font-weight: 600; font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.06; letter-spacing: -.02em; font-variation-settings: "opsz" 60; text-wrap: pretty; }
.page-hero .title em { font-style: italic; font-weight: 600; color: var(--accent); }
.page-hero .sub { margin: 24px 0 0; max-width: 80ch; font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.625; color: var(--muted); }
.page-hero .sub + .sub { margin-top: 12px; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-hero .chips { margin-top: 32px; }
.page-hero .reel-feature { margin: clamp(48px, 6vw, 72px) 0 0; }
/* split hero: text left, media or form right. Top-aligned by default; --center for short text beside an image */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.page-hero-grid > * { min-width: 0; }
.page-hero-grid--center { align-items: center; }
.page-hero-grid .title { max-width: 16ch; }
.page-hero-grid .sub { max-width: 58ch; }
.ph-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1; background: var(--bg-2); }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
/* contact layout: text + reach list share the left column, the form spans both rows on the right */
.page-hero-grid--form { grid-template-areas: "text form" "extra form"; grid-template-rows: auto 1fr; }
.page-hero-grid--form > .ph-text { grid-area: text; }
.page-hero-grid--form > .form-card { grid-area: form; }
.page-hero-grid--form > .ph-extra { grid-area: extra; align-self: start; margin-top: clamp(32px, 4vw, 48px); }
/* first band after an interior hero: same content-width hairline as the homepage */
.page-hero + .band:not(.band--tint) { padding-top: 0; }
.page-hero + .band:not(.band--tint) > .wrap { padding-top: var(--band); background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }

/* ---------- chips (filter buttons and jump links share one look) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 15px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); background: var(--card); color: var(--muted); font: 500 13.5px/1.2 var(--body); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip .n { font: 500 11px/1 var(--mono); color: var(--faint); }
.chip[aria-pressed="true"] .n { color: color-mix(in srgb, var(--bg) 65%, transparent); }
/* filter bar above a project grid; add --sticky to pin it under the header on wide screens */
.chipbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(32px, 4vw, 48px); padding-block: 12px; border-bottom: 1px solid var(--line); background: var(--bar-bg, var(--bg)); }
.band--tint .chipbar { --bar-bg: var(--bg-2); }
.chipbar--sticky { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 10; }
.filter-status { margin: 0; font: 500 12px/1.4 var(--mono); color: var(--faint); white-space: nowrap; }
.chip-groups { display: grid; gap: 10px; min-width: 0; }
.chips--industry { align-items: center; }
.chips-label { flex: none; min-width: 64px; margin-right: 4px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.chipbar .chips { align-items: center; }
/* UX pass 10-22: the status names the active filter; Clear sits beside it once a filter is on */
/* status gets its own line under the chips so its changing length never moves the rows or jumps sides */
.chipbar .filter-status { flex-basis: 100%; min-height: 1.4em; white-space: normal; }
.filter-clear { margin-left: 10px; padding: 0; border: 0; background: none; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.filter-clear:hover { color: var(--fg); }

/* ---------- project cards: smaller variants of the homepage .proj ---------- */
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4.5vw, 56px) clamp(20px, 2.5vw, 32px); }
.pgrid > li { min-width: 0; display: flex; }
.pgrid > li[hidden] { display: none; }
.pgrid > li > .proj { flex: 1; }
.pgrid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px clamp(16px, 2vw, 24px); }
.proj--sm figure, .proj--xs figure { border-radius: var(--r); }
.proj--sm .meta { margin-top: 18px; }
.proj--sm .eyebrow { display: block; }
.proj--sm h3 { margin-top: 8px; font-size: clamp(1.1875rem, 1.6vw, 1.3125rem); line-height: 1.25; text-wrap: balance; }
.proj--sm p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; }
.proj--sm .result { margin-top: 12px; line-height: 1.5; }
/* cards in a grid row share one baseline: the "View project" link sits at the bottom of every card */
.proj--sm, .proj--xs { display: flex; flex-direction: column; }
.proj--sm .meta, .proj--xs .meta { flex: 1; display: flex; flex-direction: column; }
.proj--sm .more { align-self: flex-start; margin-top: auto; padding-top: 12px; }
.proj--xs .meta { margin-top: 14px; }
.proj--xs .eyebrow { display: block; font-size: 10.5px; }
.proj--xs h3 { margin-top: 6px; font: 600 15px/1.35 var(--body); letter-spacing: 0; }
.proj--xs p { margin-top: 4px; font-size: 13.5px; line-height: 1.5; }
.proj--xs:hover h3 { color: var(--accent); }
/* project without an image: client logo on a flat tile */
.proj figure.logo-tile { display: grid; place-items: center; }
.proj figure.logo-tile .logo-mark-c { width: 56%; max-width: 160px; height: auto; color: var(--muted); transition: transform .6s ease; }
.proj:hover figure.logo-tile .logo-mark-c { transform: scale(1.035); }
.band--tint .proj figure { background: var(--card); }

/* ---------- image + text row (industries, studio) ---------- */
.rows { display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: stretch; }
.row > * { min-width: 0; }
.rows > .row + .row { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.row--flip > .row-media { order: 2; }
/* Image fills the full height of its row (portrait when the text column is tall), centred.
   Per image: --fit (cover | contain) and --pos (focal point) = ACF fields image_fit + image_focus. */
.row-media { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(320px, 32vw, 440px); background: var(--bg-2); }
.row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--fit, cover); object-position: var(--pos, 50% 50%); }
.row-media--contain { --fit: contain; background: var(--card); }
.row-media--contain img { padding: var(--pad, 6%); }
.row-media--3x2 { aspect-ratio: 3 / 2; }
.row-media.fit img { object-fit: contain; padding: 6% 4%; }
.band--tint .row-media { background: var(--card); }
/* blue rule = section-head eyebrows only (not the "Featured Work" label inside the proof card) */
.row-text > .eyebrow:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.row-text > .eyebrow:first-child::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.row-text .h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.row-text .lede { font-size: 1.0625rem; }
.row-text > .textlink { margin-top: 20px; }
.row-text .links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; }

/* proof card inside a row: one or more client results */
.proof { margin-top: 28px; padding: 6px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.proof-item { padding-block: 18px; }
.proof-item + .proof-item { border-top: 1px solid var(--line); }
.proof-item .eyebrow { display: block; }
.proof-client { margin: 6px 0 0; font-weight: 600; font-size: 15.5px; line-height: 1.35; color: var(--fg); }
.proof-result { margin: 6px 0 0; font: 400 12.5px/1.55 var(--mono); color: var(--muted); }
.proof-result b { margin-right: 10px; font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); }
.proof-item .textlink { margin-top: 10px; font-size: 13.5px; }

/* ---------- checklist (rules, working terms) ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks li strong { color: var(--fg); font-weight: 600; }
.checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
/* three titled checklists side by side, same top rule as .step */
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.rule { min-width: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.rule .eyebrow { display: block; }
.rule h3 { margin: 14px 0 0; font: 600 1.35rem/1.2 var(--display); }
.rule .checks { margin-top: 18px; }

/* ---------- three steps (contact "what happens next") ---------- */
.steps.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- fact grid (label / value) ---------- */
.facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.fact { min-width: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.fact dt { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.fact dd { margin: 10px 0 0; }
.fact .val { font-family: var(--display); font-weight: 600; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -.01em; color: var(--fg); font-variant-numeric: lining-nums tabular-nums; overflow-wrap: anywhere; }
.fact .val a:hover { color: var(--accent); }
.fact .note { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.fact .note a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.fact .note a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.fact--wide { grid-column: span 2; }
.fact--full { grid-column: 1 / -1; }
/* list variant: label left, value right, one per row (contact "other ways to reach us") */
.facts--list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.facts--list .fact { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 4px 24px; align-items: baseline; padding-block: 16px; }
.facts--list .fact:last-child { border-bottom: 1px solid var(--line); }
.facts--list dd { margin: 0; }
.facts--list .val { font: 500 16px/1.5 var(--body); letter-spacing: 0; }
.facts--list .note { grid-column: 2; margin-top: 0; }

/* ---------- dated timeline (rows share the .svc rhythm: 32px padding, hairlines) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tl-item { display: grid; grid-template-columns: 9rem minmax(0, .8fr) minmax(0, 1.3fr); gap: 8px 24px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line); }
.tl-item > * { min-width: 0; }
.tl-year { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.tl-item h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em; }
.tl-body { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 62ch; }
.tl-body p { margin: 0; }
.tl-body p + p { margin-top: 10px; }
.tl-body a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.tl-body a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* ---------- people ---------- */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); }
.person { min-width: 0; margin: 0; }
.person-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r); background: var(--bg-2); }
.person h3 { margin: 14px 0 0; font: 600 15px/1.35 var(--body); color: var(--fg); }
.person-role { margin: 2px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.person--lead { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px 28px; align-items: start; }
.person--lead .person-img { border-radius: var(--r-lg); }
.person--lead .eyebrow { display: block; }
.person--lead h3 { margin: 8px 0 0; font: 600 clamp(1.375rem, 2vw, 1.625rem)/1.2 var(--display); letter-spacing: -.01em; }
.person--lead .person-bio { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.person--lead .textlink { margin-top: 14px; }
.team { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px clamp(16px, 2.5vw, 32px); }
.team > li { min-width: 0; }

/* ---------- callout (book, free SEO report): light bordered box, never a dark panel ---------- */
.callout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 28px clamp(32px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.callout > * { min-width: 0; }
.callout .eyebrow:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.callout .eyebrow:first-child::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.callout .h3 em { font-style: italic; }
.callout p { margin: 12px 0 0; max-width: 60ch; color: var(--muted); font-size: 15px; line-height: 1.6; }
.callout-side { display: grid; gap: 14px; justify-items: start; }
.callout-side p { margin: 0; font-size: 13.5px; }
/* optional cover image (book) as a third, narrow column */
.callout--cover { grid-template-columns: minmax(0, 160px) minmax(0, 1.3fr) minmax(0, .7fr); }
.callout-cover { margin: 0; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.callout-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- one-line link list (contact: browse by service) ---------- */
.linkline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; margin-top: clamp(40px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
.linkline .eyebrow { flex: none; }
.linkline ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 14.5px; }
.linkline li { display: inline-flex; align-items: baseline; }
.linkline li + li::before { content: "\00B7"; margin: 0 12px; color: var(--faint); }
.linkline a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.linkline a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* ---------- form ---------- */
.form-card { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.form-card > .eyebrow:first-child { display: block; }
.form-card .h3 { margin: 8px 0 0; }
.form { display: grid; gap: 20px; margin-top: 28px; }
.form-card > .form:first-child { margin-top: 0; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 500 14px/1.4 var(--body); color: var(--fg); }
.field .opt { font: 400 12px/1.4 var(--mono); color: var(--faint); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; margin: 0; padding: 12px 14px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--card); color: var(--fg); font: 400 16px/1.4 var(--body); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 144px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fg); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; pointer-events: none; background: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.field-hint { margin: 0; font-size: 13px; line-height: 1.45; color: var(--faint); }
.field-error { display: none; margin: 0; font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--danger); }
.field.is-invalid .field-error { display: block; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea,
.field [aria-invalid="true"] { border-color: var(--danger); }
.field.is-invalid input:focus, .field.is-invalid select:focus, .field.is-invalid textarea:focus,
.field [aria-invalid="true"]:focus { border-color: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 20%, transparent); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-note { margin: 0; max-width: 44ch; font-size: 13px; line-height: 1.5; color: var(--faint); }
.form-note a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.form .btn { border: 0; cursor: pointer; font-family: var(--body); }
.form-status { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- responsive (breakpoints match sf.css: 1020 / 900 / 720 / 560) ---------- */
@media (max-width: 1180px) {
  .pgrid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(20px, 2.5vw, 32px); }
}
@media (max-width: 1020px) {
  .page-hero-grid, .page-hero-grid--form { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; grid-template-rows: none; }
  .page-hero-grid--form > .ph-text, .page-hero-grid--form > .form-card, .page-hero-grid--form > .ph-extra { grid-area: auto; }
  .page-hero-grid--form > .ph-extra { align-self: start; }
  .page-hero-grid .title { max-width: 20ch; }
  .page-hero .title { max-width: none; }
  .ph-media { aspect-ratio: 3 / 2; max-width: 720px; }
  .form-card { max-width: 720px; }
  .steps.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts--list { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .callout, .callout--cover { grid-template-columns: minmax(0, 1fr); }
  .callout-cover { width: 140px; }
}
@media (max-width: 900px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row-media { min-height: 0; aspect-ratio: var(--ratio-sm, 4 / 3); }
  .row--flip > .row-media { order: 0; }
  .rules { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .founders { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .tl-item { grid-template-columns: 6rem minmax(0, 1fr); }
  .tl-item .tl-body { grid-column: 2; }
}
@media (max-width: 720px) {
  :root { --header-h: 110px; } /* header measured 109px at 390 wide (logo, button and menu wrap) */
  .chipbar--sticky { position: static; }
  /* each Work filter row becomes one sideways-scrolling line; the right-edge fade shows there is more */
  .chip-groups { width: 100%; }
  .chipbar .chips { flex-wrap: nowrap; overflow-x: auto; padding-right: 40px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .chipbar .chips::-webkit-scrollbar { display: none; }
  .chipbar .chip { flex: none; white-space: nowrap; }
  .chipbar .chips-label { position: sticky; left: 0; z-index: 1; align-self: stretch; display: flex; align-items: center; min-width: 0; margin-right: 0; padding-right: 10px; background: var(--bar-bg, var(--bg)); }
  .steps.steps--3 { grid-template-columns: minmax(0, 1fr); }
  .checks--2 { grid-template-columns: minmax(0, 1fr); }
  .tl-item { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 24px 0; }
  .tl-item .tl-body { grid-column: auto; margin-top: 4px; }
  .facts--list .fact { grid-template-columns: minmax(0, 1fr); }
  .facts--list .note { grid-column: auto; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .pgrid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fact--wide { grid-column: auto; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .person--lead { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; }
  .person--lead .person-img { border-radius: var(--r); }
  .chip { min-height: 40px; }
  .filter-status { white-space: normal; }
}

/* Keep headshots square even when width/height attributes are set */
.person-img { height: auto; }

/* ---------- Carousel: shows 4 cards at a time, arrows page through the rest (scroll-snap, works without JS as a swipeable row) ---------- */
.carousel-track { list-style: none; margin: 0; padding: 0 0 4px; display: grid; grid-auto-flow: column; --gap: clamp(16px, 2vw, 24px); gap: var(--gap);
  grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > li { scroll-snap-align: start; min-width: 0; display: flex; }
.carousel-track > li > .proj { flex: 1; }
.band-head-side { display: flex; align-items: center; gap: 24px; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); color: var(--fg); display: grid; place-items: center; cursor: pointer; font: 500 16px/1 var(--body); transition: border-color .15s, color .15s, opacity .15s; }
.carousel-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 1020px) { .carousel-track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.4); } }
@media (max-width: 600px) { .carousel-track { grid-auto-columns: 78%; } .carousel-nav { display: none; } }

/* Logo block used as its own band (no top margin/rule of its own) */
.clients--flush { margin-top: 0; padding-top: 0; border-top: 0; }
.band-head + .logos { margin-top: 0; }

/* Proof card additions: tagline, description, two-figure stat row, "more work" items */
.proof-tagline { margin: 6px 0 0; font-weight: 600; font-size: 15.5px; line-height: 1.45; color: var(--fg); }
.proof-desc { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.proof-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 18px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.proof-stat { min-width: 0; }
.proof-stat .num { display: block; font: 600 1.6rem/1.1 var(--display); letter-spacing: -.01em; color: var(--fg); }
.proof-stat .num .sfx { color: var(--accent); }
.proof-stat p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.proj--xs .proj-tagline { margin: 6px 0 0; font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--fg); }
.proj--xs .more { display: inline-flex; gap: 6px; margin-top: 10px; font-weight: 500; font-size: 13.5px; }
.proj--xs:hover .more { color: var(--accent); }
.rule p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.cta-side p + p { margin-top: -6px; }
@media (max-width: 600px) { .proof-stats { grid-template-columns: minmax(0, 1fr); } }
.proof-stats--text .num { font: 600 1rem/1.35 var(--body); letter-spacing: 0; }

/* "More work" list inside a proof card: linked name + one line each */
.more-work { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; }
.more-work a { display: grid; gap: 4px; }
.more-work .proof-client { margin: 0; }
.more-work .proof-desc { margin: 0; }
.more-work a:hover .proof-client { color: var(--accent); }
.more-work .proof-client::after { content: " \2192"; color: var(--faint); }
a.proof-stat { display: block; }
a.proof-stat .num::after { content: " \2192"; color: var(--faint); font-weight: 500; }
a.proof-stat:hover .num { color: var(--accent); }
.pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(16px, 2vw, 24px); }
@media (max-width: 1020px) { .pgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- About page. Every selector is .about-*; the page otherwise uses the shared components
   (split, band-head, row, logos, linkline, local, glance). Design pass 2026-10-13: one-off patches removed. ---------- */
/* hero illustration: same 10:3 frame and radius as the homepage Portland landscape (.pdx) */
/* About hero: the homepage landscape canvas (owner 10-19); keeps its 10:3 frame at every width */
.pdx.about-pdx { margin: clamp(48px, 6vw, 72px) 0 0; border-radius: var(--r-lg); }
.about-ill { margin: clamp(48px, 6vw, 72px) 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 10 / 3; max-width: 100%; color: var(--fg); background: var(--bg-2); }
.about-ill svg { display: block; width: 100%; height: 100%; }
.about-ill .ill-river path { stroke-dasharray: 22 16; animation: about-flow 7s linear infinite; }
.about-ill .ill-birds { animation: about-drift 12s ease-in-out infinite alternate; }
@keyframes about-flow { to { stroke-dashoffset: -76; } }
@keyframes about-drift { to { transform: translateX(40px); } }
/* philosophy: heading column left (stays in view on wide screens), principles right */
.about-story-head { position: sticky; top: calc(var(--header-h) + 32px); }
.about-head-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 24px; }
.about-tl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.about-tl > li { padding: 28px 0; border-bottom: 1px solid var(--line); }
.about-tl h3 { margin: 0; font: 600 clamp(1.25rem, 1.8vw, 1.5rem)/1.2 var(--display); letter-spacing: -.01em; }
.about-tl p { margin: 8px 0 0; max-width: 58ch; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
/* people: 4 across, so seven people sit in two rows */
.about-team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px clamp(20px, 3vw, 40px); }
.about-team > li { min-width: 0; }
/* studio: a .row (text left, map right); the map is the row's media and fills the text column's height */
.about-address { display: grid; gap: 10px; justify-items: start; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font: 400 14px/1.6 var(--mono); font-style: normal; color: var(--fg); }
.about-address .textlink { font-family: var(--body); }
.about-map { display: block; color: var(--fg); --ratio-sm: 1 / 1; } /* square on phones so street names stay legible */
.about-map svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.about-map .map-pulse { transform-origin: center; transform-box: fill-box; animation: about-pulse 2.4s ease-out infinite; }
@keyframes about-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
/* partners: quiet text line (uses .linkline), plain items, no links */
.about-partners ul { color: var(--muted); }
@media (max-width: 900px) { .about-story-head { position: static; } }
@media (max-width: 720px) {
  .about-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .about-ill { aspect-ratio: 16 / 10; }
  .about-partners ul { flex-direction: column; gap: 6px; }
  .about-partners li + li::before { content: none; }
}
@media (prefers-reduced-motion: reduce) { .about-ill .ill-river path, .about-ill .ill-birds, .about-map .map-pulse { animation: none; } }

/* Contact (owner 10-13): more room for the form. Left column = intro on top, reach list at the foot so its
   last hairline lines up with the form card's bottom edge; the studio map is a full-width strip closing the hero. */
/* min-width guard: this block sits after the 1020px stack rule, so unguarded it kept the hero two-column on phones */
@media (min-width: 1021px) {
  .page-hero-grid--form { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .page-hero-grid--form > .ph-extra { align-self: start; }
  .page-hero-grid--form .facts--list .fact { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 4px 16px; }
}
.contact-map { position: relative; display: block; margin-top: clamp(48px, 6vw, 72px); height: clamp(300px, 28vw, 400px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.contact-map:hover { border-color: var(--line-strong); }
/* free audits: two equal bordered cards (same surface as the form card), buttons pinned to a shared baseline */
.contact-audits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.contact-audit { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.contact-audit .eyebrow { display: block; color: var(--muted); }
.contact-audit h3 { margin: 14px 0 0; font: 600 clamp(1.35rem, 2vw, 1.625rem)/1.2 var(--display); letter-spacing: -.01em; }
.contact-audit p { margin: 12px 0 28px; max-width: 52ch; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.contact-audit .btn { margin-top: auto; }
@media (max-width: 720px) {
  .contact-map { height: auto; aspect-ratio: 1 / 1; }
  .contact-audits { grid-template-columns: minmax(0, 1fr); }
}
.cta-box + .local { margin-top: clamp(40px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Blog: index (home.php / category.php) + single post (single.php). 2026-10-13.
   Every selector is .blog-* or .post-* (scoped), so no approved page changes. Reuses .page-hero, .chips/.chip,
   .row/.row-media, .post (homepage card), .faq, .band-head, .cta. ---------- */
/* index hero: category chips close the hero (links, not filters); active chip = the pressed-chip look */
.blog-cats { margin-top: 36px; }
.blog-cats .chip[aria-current="page"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.blog-cats .chip[aria-current="page"] .n { color: color-mix(in srgb, var(--bg) 65%, transparent); }
/* featured post: a .row (image left, text right), 16:9 image, text centred on the image */
.blog-feature { align-items: center; }
.blog-feature .row-media { min-height: 0; aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
.blog-feature .row-media img { transition: transform .6s ease; }
.blog-feature:hover .row-media img { transform: scale(1.02); } /* same as .row--link */
.blog-feature .h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); transition: color .2s; }
.blog-feature:hover .h2 { color: var(--accent); }
.blog-feature .lede { font-size: 1.0625rem; }
.blog-feature .blog-meta { margin-top: 20px; }
.blog-feature .textlink { margin-top: 24px; }
.blog-feature:hover .textlink { color: var(--accent); }
.blog-feature:hover .textlink .arr { transform: translateX(4px); }
/* post grid: the homepage .post card in a 3 / 2 / 1 column list; meta pinned to the card foot so rows align */
.blog-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 5vw, 64px) clamp(20px, 2.5vw, 32px); }
.blog-feature + .blog-grid { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.blog-grid > li { min-width: 0; display: flex; }
.blog-card { flex: 1; }
.blog-card figure { border-radius: var(--r); }
.band--tint .blog-card figure { background: var(--card); }
.blog-card h2, .blog-card h3 { margin: 10px 0 0; font: 600 clamp(1.1875rem, 1.6vw, 1.3125rem)/1.3 var(--display); letter-spacing: -.005em; text-wrap: balance; transition: color .2s; }
.blog-card:hover h2, .blog-card:hover h3 { color: var(--accent); }
.blog-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; line-height: 1.55; }
.blog-card .blog-meta { margin-top: auto; padding-top: 14px; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font: 400 12px/1.5 var(--mono); color: var(--faint); }
/* pagination: quiet numbered links with real hrefs */
.blog-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--line); }
.blog-pager-status { margin: 0; font: 500 12px/1.4 var(--mono); color: var(--faint); }
.blog-pager ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.blog-pager a, .blog-pager-step, .blog-pager-gap { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; font: 500 14px/1 var(--body); color: var(--muted); }
.blog-pager a { border: 1px solid transparent; transition: border-color .15s, color .15s; }
.blog-pager a:hover { border-color: var(--line-strong); color: var(--fg); }
.blog-pager a[aria-current="page"] { background: var(--fg); color: var(--bg); }
.blog-pager-step[aria-disabled="true"] { color: var(--faint); opacity: .6; }
.blog-pager-gap { min-width: 24px; padding: 0; color: var(--faint); }

/* ---------- single post ---------- */
.post-hero .title { font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.08; }
.post-hero a.ph-eyebrow:hover { color: var(--accent); }
.post-hero .sub { max-width: 62ch; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 28px 0 0; font: 400 12.5px/1.5 var(--mono); color: var(--faint); }
.post-meta a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.post-meta a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.post-figure { margin: clamp(40px, 5vw, 64px) 0 0; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.post-figure img { width: 100%; height: auto; }
/* the body band follows the image directly: no hairline, shorter top padding */
.post-hero { padding-bottom: 0; }
.page-hero.post-hero + .post-band { padding-top: clamp(56px, 6vw, 80px); }
.page-hero.post-hero + .post-band > .wrap { padding-top: 0; background: none; }
/* body column left (aligned with the hero text), TOC rail right; both start on the same line */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 16rem); gap: 0 clamp(40px, 5vw, 72px); align-items: start; }
.post-col { grid-column: 1; grid-row: 1; min-width: 0; }
.post-rail { grid-column: 2; grid-row: 1; justify-self: end; width: 100%; max-width: 16rem; position: sticky; top: calc(var(--header-h) + 32px); max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; }
.post-toc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.post-toc summary::-webkit-details-marker { display: none; }
.post-toc summary .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.post-toc summary .eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.post-toc ol { list-style: none; margin: 16px 0 0; padding: 0; border-left: 1px solid var(--line); }
.post-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--muted); transition: color .15s, border-color .15s; }
.post-toc a:hover { color: var(--fg); }
.post-toc a[aria-current="true"] { color: var(--fg); border-left-color: var(--accent); }
.post-toc .pm { display: none; }
/* article typography: Inter 18 / 1.7, Source Serif headings, about 70 characters a line */
.post-body { font-size: 18px; line-height: 1.7; color: color-mix(in srgb, var(--fg) 88%, var(--bg)); }
.post-body > :first-child { margin-top: 0; }
.post-body p, .post-body ul, .post-body ol { margin: 0 0 1.25em; }
.post-body h2 { margin: 2.2em 0 .6em; font: 600 clamp(1.625rem, 2.4vw, 2rem)/1.2 var(--display); letter-spacing: -.01em; color: var(--fg); text-wrap: balance; }
.post-body h3 { margin: 1.8em 0 .5em; font: 600 1.3125rem/1.3 var(--display); color: var(--fg); }
.post-body h4 { margin: 1.6em 0 .4em; font: 600 1rem/1.4 var(--body); color: var(--fg); }
.post-body strong { font-weight: 600; color: var(--fg); }
.post-body a { color: var(--fg); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li { margin: 0 0 .5em; padding-left: .2em; }
.post-body li::marker { color: var(--faint); }
.post-body li > ul, .post-body li > ol { margin: .5em 0 0; }
.post-body blockquote { margin: 1.8em 0; padding: 0 0 0 24px; border-left: 2px solid var(--accent); font: italic 400 1.25rem/1.6 var(--display); color: var(--fg); }
.post-body blockquote cite { display: block; margin-top: 10px; font: normal 400 13px/1.5 var(--mono); color: var(--faint); }
.post-body figure { margin: 2em 0; }
.post-body figure img { width: 100%; height: auto; border-radius: var(--r); }
.post-body figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--faint); }
.post-body hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--line); }
.post-body code { padding: .1em .35em; border-radius: 5px; background: var(--bg-2); font: 400 .86em/1.5 var(--mono); color: var(--fg); }
.post-body pre { position: relative; margin: 1.6em 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); overflow-x: auto; font: 400 14px/1.65 var(--mono); color: var(--fg); }
.post-body pre code { padding: 0; background: none; font-size: inherit; }
/* tables: hairlines, header row in mono, scrolls sideways on small screens */
.post-table { margin: 1.8em 0 2em; overflow-x: auto; border-top: 1px solid var(--line-strong); -webkit-overflow-scrolling: touch; }
.post-table:focus-visible { outline-offset: 4px; }
.post-table table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.post-table th, .post-table td { padding: 14px 20px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-table th:last-child, .post-table td:last-child { padding-right: 0; }
.post-table thead th { padding-block: 12px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.post-table tbody th { font-weight: 600; color: var(--fg); white-space: nowrap; }
.post-table td { color: var(--muted); }
/* short note inside a post (Gutenberg "note" style), light bordered box */
.post-note { margin: 1.8em 0; padding: 18px 22px; border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; background: var(--card); font-size: 16px; line-height: 1.6; }
.post-note > :last-child { margin-bottom: 0; }
/* FAQ: the site's .faq details, question set as an H3 inside the summary */
.post-faq { margin-top: clamp(56px, 6vw, 80px); }
.post-faq > h2 { margin: 0 0 24px; font: 600 clamp(1.625rem, 2.4vw, 2rem)/1.2 var(--display); letter-spacing: -.01em; }
.post-faq summary h3 { margin: 0; font: 500 17px/1.45 var(--body); color: var(--fg); }
.post-faq summary:hover h3 { color: var(--accent); }
.post-faq details p { font-size: 16px; line-height: 1.65; }
/* service card (C7): one light bordered line */
.post-service { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: clamp(48px, 5vw, 64px); padding: 22px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.post-service .eyebrow { display: block; }
.post-service p { margin: 6px 0 0; font: 600 1.1875rem/1.35 var(--display); color: var(--fg); }
/* author box */
.post-author { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 24px; align-items: start; margin-top: clamp(48px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line); }
.post-author-img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r); background: var(--bg-2); }
.post-author .eyebrow { display: block; }
.post-author-name { margin: 8px 0 0; font: 600 1.375rem/1.2 var(--display); letter-spacing: -.01em; color: var(--fg); }
.post-author-role { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.post-author-bio { margin: 12px 0 0; max-width: 62ch; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.post-author .textlink { margin-top: 14px; }

@media (max-width: 1099px) {
  .post-layout { grid-template-columns: minmax(0, 40rem); }
  .post-rail { grid-column: 1; grid-row: auto; position: static; max-width: none; max-height: none; overflow: visible; justify-self: stretch; margin-bottom: 40px; }
  .post-col { grid-row: auto; }
  .post-toc { border-block: 1px solid var(--line); }
  .post-toc summary { cursor: pointer; padding: 16px 0; }
  .post-toc .pm { display: block; flex: none; width: 22px; height: 22px; position: relative; color: var(--faint); }
  .post-toc .pm::before, .post-toc .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 1.5px; background: currentColor; transition: transform .2s; }
  .post-toc .pm::after { transform: rotate(90deg); }
  .post-toc[open] .pm::after { transform: rotate(0); }
  .post-toc ol { margin: 0 0 16px; }
}
@media (max-width: 1020px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .post-body { font-size: 17px; }
  .post-service { padding: 20px; }
  .post-author { grid-template-columns: 72px minmax(0, 1fr); gap: 0 18px; }
  .post-author-img { width: 72px; height: 72px; }
  .blog-pager { justify-content: center; }
  .blog-pager-status { width: 100%; text-align: center; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-cats .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px 40px 2px var(--gutter); scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .blog-cats .chips::-webkit-scrollbar { display: none; }
  .blog-cats .chip { white-space: nowrap; }
}
/* fix pass: wrapped category eyebrow on the post hero keeps its rule on the first line; pager fits one line on phones */
.post-hero .ph-eyebrow { align-items: baseline; line-height: 1.5; }
.post-hero .ph-eyebrow::before { flex: none; transform: translateY(-.3em); }
@media (max-width: 560px) {
  .blog-pager-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .blog-pager a, .blog-pager-step { min-width: 36px; height: 36px; padding: 0 8px; }
}
/* Blog index: featured post sits closer to its two hairlines (owner 10-13: half the padding) */
.page-hero + .band.blog-list > .wrap { padding-top: calc(var(--band) / 2); }
.blog-feature + .blog-grid { margin-top: clamp(28px, 3.5vw, 48px); }

/* ---------- Landing pages (page-landing.php, playbook SEO/plan/landing-page-playbook.md). 2026-10-13, design pass.
   Built from approved components only: .page-hero, .band-head, .rules, .row/.rows + .proof/.proof-stats, .steps,
   .split + .about-tl, .contact-audit, .reviews, .faq, .cta (plans/design-guidelines-2026-10-13.md).
   Every selector here is .lp-* (scoped), so no approved page changes. ---------- */
/* hero: button + free-audit text link on one line */
.lp-hero .actions { align-items: center; gap: 12px 28px; }
/* practice areas: six .rule items, three across, second row spaced like .rows */
.rules.lp-seg { row-gap: clamp(40px, 5vw, 56px); }
/* button under a .split heading column */
.lp-actions { display: flex; margin-top: 32px; }
/* image + text checklists */
.lp-checks { margin-top: 24px; }
/* pricing: the Contact .contact-audit card, three across; price line in display type; actions pinned to the card foot */
.contact-audits.lp-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.lp-plans .contact-audit p { margin: 12px 0 0; }
.lp-plans .contact-audit .lp-price { margin: 16px 0 0; font: 600 clamp(1.625rem, 2.4vw, 2rem)/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; color: var(--fg); }
.lp-price span { margin-left: 2px; font: 500 15px/1 var(--body); letter-spacing: 0; color: var(--muted); }
.lp-plans .checks { margin: 20px 0 32px; padding-top: 20px; border-top: 1px solid var(--line); align-self: stretch; }
.lp-plans .checks li { font-size: 14.5px; }
.lp-plans .lp-foot { margin-top: auto; min-height: 50px; } /* text links share the button's height, so all three actions sit on one line */

@media (max-width: 1020px) {
  .rules.lp-seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rules.lp-seg { grid-template-columns: minmax(0, 1fr); }
  .contact-audits.lp-plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .split .lp-actions { margin-bottom: 8px; }
}

/* Linked rows (Industries, Services hub, featured project and book rows): whole row is clickable
   (owner 10-13; same rollover everywhere, owner 10-19). The row's main link (or .row-cover, when the
   link lives in the proof card) stretches over the row; other links in the row sit above it. */
.row--link { position: relative; cursor: pointer; }
.row--link .row-mainlink::after { content: ""; position: absolute; inset: calc(-1 * clamp(16px, 2vw, 24px)); z-index: 1; border-radius: var(--r-lg); }
.row--link .row-cover { position: absolute; inset: calc(-1 * clamp(16px, 2vw, 24px)); z-index: 1; border-radius: var(--r-lg); }
.row--link .row-text a:not(.row-mainlink), .row--link .row-text button, .row--link .proof-stat { position: relative; z-index: 2; }
.row--link .h2 { transition: color .2s; }
.row--link:hover .h2 { color: var(--accent); }
.row--link:hover .row-mainlink { color: var(--accent); }
.row--link:hover .row-mainlink .arr { transform: translateX(4px); }
.row--link .row-media img { transition: transform .6s ease; }
.row--link:hover .row-media img { transform: scale(1.02); }
.row--link:has(.row-mainlink:focus-visible) { outline: 2px solid var(--accent); outline-offset: 12px; border-radius: var(--r-lg); }
/* Law landing, owner copy 10-13: lead line under the H1, price note, closing note under a list */
.page-hero .lp-sub-lead { margin-top: 20px; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; color: var(--fg); }
.page-hero .lp-sub-lead + .sub { margin-top: 16px; }
.lp-price-note { margin: 20px 0 0; font: 500 13px/1.5 var(--mono); color: var(--fg); }
.lp-note { margin: 18px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.row-text .proof-tagline { margin: 10px 0 0; font-size: 1.0625rem; }
/* Landing hero media (owner 10-13: interest at the top). The approved two-column .page-hero-grid with the page's
   own client work on the right; the image fills the text column's height (cover + focus, like .row-media) and a
   mono caption names the client. No decoration, no dot grid. */
.lp-hero-grid { align-items: stretch; }
.lp-hero-grid .title { max-width: 14ch; }
.lp-hero-grid .title--long { max-width: 20ch; font-size: clamp(2.25rem, 4.2vw, 3.5rem); }
.lp-hero-media { display: flex; flex-direction: column; margin: 0; }
.lp-hero-img { position: relative; flex: 1; min-height: 360px; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.lp-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--fit, cover); object-position: var(--pos, 50% 50%); }
.lp-hero-media figcaption { margin-top: 14px; font: 500 12px/1.5 var(--mono); color: var(--muted); }
@media (max-width: 1020px) {
  .lp-hero-img { flex: none; min-height: 0; aspect-ratio: 4 / 3; max-width: 720px; }
}
/* Landing project gallery (sf/project-gallery): the approved .pgrid / .proj--sm Work cards, layout set by count.
   2 projects = two columns (tested 10-13 at 1440/1024: full wrap width reads fine, no cap needed; one column at 560 and below); 3 = the default three-column .pgrid;
   4+ = featured .row first, then a three-card .pgrid under a hairline in the same band. */
.pgrid.lp-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-gallery-follow { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.lp-gallery-all { display: flex; justify-content: flex-end; margin-top: 32px; }
@media (max-width: 560px) { .pgrid.lp-gallery--2 { grid-template-columns: minmax(0, 1fr); } }

/* Portland AI landing (2026-10-13). .lp-* only.
   Card-grid with one link per card: links pinned to the card foot so a row of cards lines up. */
.rules.lp-seg--links .rule { display: flex; flex-direction: column; align-items: flex-start; }
.lp-seg--links .rule .textlink { margin-top: auto; padding-top: 18px; font-size: 14.5px; }
/* Offer cards, two across (owner deck slide): the .lp-plans card with its list; the recommended card gets an accent hairline. */
.contact-audits.lp-plans.lp-plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-plans .contact-audit.lp-plan--featured { border-color: var(--accent); }
.lp-plans .contact-audit .lp-note { margin: 0 0 28px; font-size: 14px; }
.lp-plans .contact-audit .checks + .lp-note { margin-top: -12px; }
/* Hairline note strip under the offer cards: label, one line, quiet text link at the right */
.lp-strip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: clamp(32px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--line); }
.lp-strip .eyebrow { flex: none; color: var(--muted); }
.lp-strip p { flex: 1 1 320px; margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg); }
.lp-strip .textlink { flex: none; }
@media (max-width: 900px) {
  .contact-audits.lp-plans.lp-plans--2 { grid-template-columns: minmax(0, 1fr); }
}
/* Offer cards share rows (subgrid), so headings of different lengths keep the price lines, lists and notes level. */
@supports (grid-template-rows: subgrid) {
  .lp-plans--2 > .contact-audit { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; justify-items: start; align-content: start; }
  .lp-plans--2 > .contact-audit > .checks { justify-self: stretch; }
  .lp-plans--2 > .contact-audit > .lp-foot { margin-top: 0; align-self: end; }
}

/* inline text link inside list copy (Portland AI book line) = same treatment as .local a */
.about-tl p a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.about-tl p a:hover { text-decoration-color: var(--accent); }

/* ---- Portland AI owner copy (10-13) ---- */
/* project card tagline (project excerpt), and the Insyght tag line */
.proj .meta .proj-lead { margin-top: 8px; color: var(--fg); font-weight: 500; }
.lp-tags { margin: 18px 0 0; font: 500 12px/1.6 var(--mono); letter-spacing: .02em; color: var(--muted); }
/* book item closes the Why list: eyebrow label instead of a heading, link under the text */
.about-tl-book .eyebrow { display: block; color: var(--muted); }
.about-tl-book .textlink { display: inline-flex; margin-top: 14px; }
/* address label */
.about-address .eyebrow { display: block; margin-bottom: 8px; color: var(--muted); }
/* Getting started (designer pass 10-13): one framed offer, then the follow-on work as an unframed 3-column row */
.contact-audit.lp-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(24px, 3vw, 36px); border-color: var(--accent); }
.lp-offer h3 { margin: 10px 0 0; }
.lp-offer .lp-price { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 0; font: 600 clamp(1.5rem, 2.2vw, 1.875rem)/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; color: var(--fg); }
.lp-price .lp-price-pre { margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.lp-offer-main > p { margin: 12px 0 0; }
.lp-offer-main .lp-foot { margin-top: 24px; }
.lp-offer-list { padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--line); }
.lp-offer-list .checks { margin: 14px 0 0; }
.lp-offer-list .checks li { font-size: 15px; }
.lp-offer-list .lp-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.lp-next { margin-top: clamp(40px, 5vw, 64px); }
.lp-next-label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin: 0 0 20px; }
.lp-next-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.lp-next-list > li { padding-top: 20px; border-top: 1px solid var(--line); }
.lp-next-list h3 { margin: 0; font: 600 1.1875rem/1.25 var(--display); letter-spacing: -.01em; }
.lp-next-list p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.lp-next-list .lp-next-sub { font-size: 13.5px; }
@media (max-width: 900px) {
  .contact-audit.lp-offer { grid-template-columns: minmax(0, 1fr); }
  .lp-offer-list { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .lp-next-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---- AI category page (10-14) ---- */
/* hub: the one Portland line under the services grid */
.lp-hub-local { margin-top: clamp(28px, 3vw, 40px); }
/* featured book: cover shown whole on a tint panel, text right; the cover panel is narrower than a photo slot */
.row.lp-book { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.lp-book-cover { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 4vw, 56px); background: var(--bg-2); border-radius: var(--r-lg); }
.lp-book-cover img { position: static; width: auto; height: auto; max-width: 100%; max-height: 360px; object-fit: contain; border-radius: 4px; box-shadow: 0 1px 2px rgba(16, 41, 61, .12), 0 8px 24px rgba(16, 41, 61, .10); }
.lp-book .h2 em { font-style: italic; }
.lp-book-body { margin: 14px 0 0; max-width: 58ch; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.lp-book-author { margin: 18px 0 0; font: 500 12px/1.5 var(--mono); letter-spacing: .02em; color: var(--fg); }
.lp-book .textlink { margin-top: 18px; }
/* follow-on row with its own heading + intro (category page), and a link under each item */
.lp-next-head { max-width: 62ch; margin-bottom: 24px; }
.lp-next-head h3 { margin: 0; font: 600 clamp(1.35rem, 2vw, 1.625rem)/1.2 var(--display); letter-spacing: -.01em; }
.lp-next-head p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.lp-next-head--link { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; max-width: none; }
.lp-next-head--link > div { max-width: 62ch; }
@media (max-width: 900px) {
  .row.lp-book { grid-template-columns: minmax(0, 1fr); }
  /* 10-16: the phone .row-media 4:3 box clipped the cover top and bottom; the book panel sizes to the cover */
  .lp-book-cover { aspect-ratio: auto; }
  .lp-book-cover img { max-height: 300px; }
}

/* a button closing an .about-tl list (AI category readiness block, owner 10-14): no rule under it */
.about-tl > li.about-tl-cta { padding-bottom: 0; border-bottom: 0; }
.about-tl-cta p { margin: 8px 0 20px; }

/* ---- Case study template (single-project.php, 10-14) ---- */
.cs-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; margin: clamp(28px, 3vw, 40px) 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.cs-facts dt { font: 500 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cs-facts dd { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--fg); }
.cs-facts dd a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.cs-facts dd a:hover { text-decoration-color: var(--accent); }
.cs-figure figcaption { padding: 12px 0 0; font: 500 12px/1.5 var(--mono); color: var(--muted); background: var(--bg); }
.cs-stats .num { font-size: clamp(1.75rem, 3vw, 2.5rem); }
@media (max-width: 900px) { .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Services hub (10-14): category block = .row + service links + proof card ---- */
.svc-block .proof-tagline { margin-top: 10px; }
.svc-label { display: block; margin-top: 24px; color: var(--muted); }
.svc-links { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-links a { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); font: 500 13.5px/1.3 var(--body); color: var(--fg); transition: border-color .12s, color .12s; }
.svc-links a:hover { border-color: var(--accent); color: var(--accent); }
.svc-proof-text { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.proof-client a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.proof-client a:hover { text-decoration-color: var(--accent); }
.svc-block .local { margin-top: 18px; }
.svc-block .svc-cta { margin-top: 18px; }
.svc-block .svc-hub { margin: 22px 0 0; }

/* ---- AI agents page (10-14): production-requirements spec grid + note strip ---- */
.lp-spec { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.5vw, 32px); }
.lp-spec li { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.lp-spec h3 { margin: 0; font: 600 1.0625rem/1.3 var(--display); letter-spacing: -.005em; }
.lp-spec p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.lp-spec-note { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px clamp(24px, 4vw, 56px); margin-top: clamp(24px, 3vw, 40px); padding-top: 24px; border-top: 1px solid var(--line); }
.lp-spec-note p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--fg); }
.lp-spec-note .textlink { grid-column: 1 / -1; }
@media (max-width: 1020px) { .lp-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lp-spec, .lp-spec-note { grid-template-columns: minmax(0, 1fr); } }

/* answer block + stats row (web category 10-14): heading/intro left, button right, homepage .glance below */
.band-head--cta { align-items: end; }
.band-head--cta .btn { flex: none; }
.glance.glance--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.glance--3 .stat p { max-width: 30ch; }
@media (max-width: 1020px) { .glance.glance--3 { grid-template-columns: minmax(0, 1fr); } }



/* ======================= homepage robot hero ======================= */
/* Hero robot: canvas bleeds past the box so flights and dodges are not clipped at the column edge */
.hero-visual--bot { background: none; }
.hero-visual--bot canvas { inset: auto; top: -14%; left: -14%; width: 128%; height: 128%; pointer-events: none; }
/* Loading + still (T9, revised 10-19). While three.js loads: a small CSS robot head (.bot-loader) pops in, blinks and looks around over a loading bar.
   The still image (::before) only shows when the live robot will not come: no JS (noscript), reduced motion, no WebGL, load failure (.still). */
:root { --bot-still: url(../img/bot-still-light.webp); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bot-still: url(../img/bot-still-dark.webp); } }
:root[data-theme="dark"] { --bot-still: url(../img/bot-still-dark.webp); }
.hero-visual--bot::before { content: ""; position: absolute; top: -14%; left: -14%; width: 128%; height: 128%; pointer-events: none;
  background: var(--bot-still) center / contain no-repeat; opacity: 0; transition: opacity .4s ease; }
.hero-visual--bot.still::before { opacity: 1; }
.hero-visual--bot.live::before { opacity: 0; }
.bot-loader { position: absolute; left: 54%; top: 42%; transform: translate(-50%, -50%); pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.bot-loader .bl-in { display: flex; flex-direction: column; align-items: center; gap: 20px; animation: bl-in .7s cubic-bezier(.2, .9, .3, 1.3) .15s both; }
.bl-head { position: relative; width: 84px; height: 66px; border-radius: 50% / 54%; animation: bl-bob 2.6s ease-in-out .85s infinite;
  background: radial-gradient(circle at 34% 26%, #fff 0 38%, #e3e9ee 100%); box-shadow: 0 14px 26px -14px rgba(16, 41, 61, .45), inset 0 -5px 9px rgba(16, 41, 61, .08); }
.bl-head::before, .bl-head::after { content: ""; position: absolute; top: 23px; width: 7px; height: 20px; border-radius: 4px; background: #34444f; box-shadow: inset 0 0 0 1.5px var(--accent); }
.bl-head::before { left: -4px; } .bl-head::after { right: -4px; }
.bl-visor { position: absolute; left: 11px; right: 11px; top: 19px; height: 27px; border-radius: 14px; background: linear-gradient(#2e3d4a, #1b2731);
  display: flex; align-items: center; justify-content: center; gap: 15px; overflow: hidden; }
.bl-visor i { width: 8px; height: 11px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 7px var(--accent); animation: bl-look 3.4s ease-in-out .85s infinite; }
.bl-bar { position: relative; width: 64px; height: 4px; border-radius: 2px; background: var(--line-strong); overflow: hidden; }
.bl-bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; border-radius: 2px; background: var(--accent); animation: bl-load 1.2s ease-in-out infinite; }
@keyframes bl-in { from { opacity: 0; transform: translateY(14px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes bl-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-2deg); } }
@keyframes bl-look {
  0%, 22% { transform: translate(0, 0) scaleY(1); } 26% { transform: translate(0, 0) scaleY(.1); } 30%, 40% { transform: translate(0, 0) scaleY(1); }
  48%, 60% { transform: translate(-6px, 1px) scaleY(1); } 68%, 80% { transform: translate(6px, -1px) scaleY(1); }
  86% { transform: translate(0, 0) scaleY(.1); } 90%, 100% { transform: translate(0, 0) scaleY(1); } }
@keyframes bl-load { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.hero-visual--bot.live .bot-loader, .hero-visual--bot.still .bot-loader { opacity: 0; transform: translate(-50%, -50%) scale(.85); }
@media (prefers-reduced-motion: reduce) { .hero-visual--bot::before { opacity: 1; } .bot-loader { display: none; } }
.bot-bubble { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; font: 500 13px/1.3 var(--body); color: var(--fg);
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px 12px 12px 4px; padding: 7px 11px; white-space: nowrap;
  box-shadow: 0 8px 24px -10px rgba(16, 41, 61, .3); opacity: 0; transform: translate(0, -100%) scale(.9); transform-origin: 0 100%; transition: opacity .2s, transform .2s; }
.bot-bubble.on { opacity: 1; transform: translate(0, -100%) scale(1); }

/* More websites strip (web category, owner 10-16): compact screenshot grid under the project gallery, no per-tile links */
.more-sites { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.wrap > .more-sites:first-child { margin-top: 0; padding-top: 0; border-top: 0; } /* strip on its own (no project cards above), owner 10-21 */
.wrap > .more-sites:first-child .more-sites-head { font-size: clamp(28px, 3vw, 40px); font-weight: 400; } /* acts as the section heading */
.more-sites-head { margin: 0 0 clamp(18px, 2vw, 24px); font: 600 clamp(20px, 1.6vw, 24px)/1.25 var(--display); color: var(--fg); }
.more-sites-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.more-sites-grid figure { margin: 0 0 12px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--card); }
.more-sites-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.more-sites-grid h3 { margin: 0; font: 600 15px/1.35 var(--body); color: var(--fg); }
.more-sites-grid p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.more-sites .local { margin-top: clamp(20px, 2.5vw, 28px); }
@media (max-width: 900px) { .more-sites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .more-sites-grid { gap: 20px 14px; } .more-sites-grid h3 { font-size: 14px; } .more-sites-grid p { font-size: 13px; } }

/* D32 (2026-10-15): second priced AI first step under the assessment card, plus the routing line */
.contact-audit.lp-offer.lp-offer--alt { margin-top: clamp(16px, 2vw, 24px); border-color: var(--line); }
.lp-route { margin: clamp(20px, 2.5vw, 28px) 0 0; max-width: 72ch; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* App/website screens inside case-study bodies (owner 10-21): uncropped, 2 across. */
.gallery-grid--screens { margin: clamp(24px, 3vw, 36px) 0; }
.gallery-grid--screens .gallery-grid__item { aspect-ratio: auto; background: none; }
.gallery-grid--screens img { height: auto; object-fit: contain; display: block; border-radius: var(--r); }
