/* ==========================================================================
   Mockingbird Marketing: homepage redesign concept, v2 ("The arcade")
   The mark read as architecture: four arches, six stepped stems, one peak.
   Arches frame the photographs, stems carry structure, the peak marks what matters.
   ========================================================================== */

/* ---------- Font: Instrument Sans, one variable file (latin, 400 to 700; OFL), chosen from ten
   pairings tried in review (see design-direction.md) ---------- */
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
/* metric-matched to Arial from the font's own advances, so the swap doesn't shift the layout */
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"); size-adjust: 102.6%; ascent-override: 94.6%; descent-override: 24.4%; line-gap-override: 0%; }

/* the loader's arch opening animates through this */
@property --arch-r { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

/* ---------- Tokens ---------- */
:root {
  --ink: #051B2E;            /* the logo's navy */
  --ink-deep: #03111D;
  --ink-2: #0A2438;          /* raised surfaces on dark */
  --ink-line: rgba(195, 208, 221, .14);
  --on-ink: #C3D0DD;         /* body text on navy, 11.6:1 */
  --on-ink-2: #8FA3B8;       /* meta text on navy, 6.7:1 */
  --signal: #E85600;         /* the logo's orange */
  --signal-hover: #FF6716;
  --signal-text: #B84300;    /* orange as text on white, 5.5:1 */
  --signal-on-ink: #FFB16B;  /* orange as text on navy, 9.8:1 */
  --slate: #47536A;
  --muted: #5F6B82;
  --white: #FFFFFF;
  --porcelain: #F3F6F9;
  --mist: #E6ECF2;
  --rule: #D8DFE7;
  --rule-strong: #B4C0CD;
  --notice: #FFE6A6;
  --error: #B42318;

  --sans: "Instrument Sans", "Instrument Sans Fallback", Arial, sans-serif;
  --voice: var(--sans);       /* quotes, the mission, numerals: same family, its own role */
  /* headline type: family, weight and a share of each rule's tuned tracking */
  --display: var(--sans);
  --dw: 600;
  --tk: .8;

  --fs-h2: clamp(2.125rem, 1.3rem + 2.9vw, 3.9rem);
  --fs-lede: clamp(1.125rem, 1.04rem + .35vw, 1.3125rem);

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 10vw, 156px);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --shadow: 0 1px 2px rgba(5, 27, 46, .06), 0 24px 48px -28px rgba(5, 27, 46, .4);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --utility-h: 40px;
  --masthead-h: 76px;
  --grain: url("../tex/grain.webp");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: calc(var(--masthead-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--dw); letter-spacing: calc(-.024em * var(--tk)); line-height: 1.06; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
a[href^="tel:"] { white-space: nowrap; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 400; padding: 10px 16px; border-radius: var(--r-s); background: var(--ink); color: #fff; font-weight: 600; transform: translateY(-160%); transition: transform 200ms var(--ease-out); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--ink { position: relative; isolation: isolate; background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3 { color: #fff; }

/* icons: the mark's stroke at UI scale */
.ic { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

/* film grain: one tile, blended, so every dark surface shares the photographs' stock */
.grain::after, .hero::after, .section--ink::after, .contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grain) 0 0 / 160px;
  mix-blend-mode: overlay;
  opacity: .42;
  pointer-events: none;
}

/* links: the underline redraws from the left on hover */
.link { color: inherit; font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) { .link:hover { animation: redraw 560ms var(--ease-in-out); } }
@keyframes redraw {
  0% { background-size: 100% 1px; background-position: 100% 100%; }
  49.9% { background-size: 0 1px; background-position: 100% 100%; }
  50% { background-size: 0 1px; background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: .9688rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.005em;
  text-align: center;
  white-space: nowrap;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.0313rem; }
.btn--block { width: 100%; }
.btn--signal { background: var(--signal); color: var(--ink); }      /* navy on orange: 4.9:1 */
.btn--ink { background: var(--ink); color: #fff; }
.btn--ghost { border-color: rgba(195, 208, 221, .38); color: #fff; }
.btn--outline { border-color: var(--rule-strong); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--signal:hover { background: var(--signal-hover); }
  .btn--ink:hover { background: #0E3352; }
  .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
  .btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
}

/* "Learn more" style affordances: the arrow steps forward */
.case__more, .ticket__more, .post__more { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; color: var(--signal-text); }
.case__more .ic, .ticket__more .ic, .post__more .ic, .mega__feature-more .ic { width: 18px; height: 18px; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  :is(.case__link:hover .case__more, .ticket a:hover .ticket__more, .post a:hover .post__more, .mega__feature:hover .mega__feature-more) .ic { transform: translateX(4px); }
}

/* ==========================================================================
   REVEALS: one observer, each element once. Variants by role:
   rise for text, wipe for photographs, draw for linework, groups stagger.
   Transitions sit on the revealed state, so arming never animates backwards.
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out) var(--d, 0ms), transform 900ms var(--ease-out) var(--d, 0ms); }
.js [data-wipe] { clip-path: inset(100% 0 0 0); }
.js [data-wipe] picture { transform: scale(1.14); }
.js .is-in [data-wipe] { clip-path: inset(0); transition: clip-path 1100ms var(--ease-in-out) calc(var(--d, 0ms) + 120ms); }
.js .is-in [data-wipe] picture { transform: none; transition: transform 1500ms var(--ease-out) calc(var(--d, 0ms) + 120ms); }
[data-wipe] picture { display: block; height: 100%; }

/* ==========================================================================
   LOADER: arches draw, stems drop to their stepped lengths, the peak lands,
   the wordmark wipes in, then the curtain opens as an arch. Once per session.
   ========================================================================== */
.loader { display: none; }
.intro .loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--ink-deep);
  /* the hole: an ellipse rising from the bottom edge, which reads as an arch opening */
  -webkit-mask-image: radial-gradient(ellipse calc(var(--arch-r) * .62) var(--arch-r) at 50% 100%, transparent 99.5%, #000 100%);
  mask-image: radial-gradient(ellipse calc(var(--arch-r) * .62) var(--arch-r) at 50% 100%, transparent 99.5%, #000 100%);
}
/* Lock the viewport, not body: html's overflow-x makes body overflow ineffective. */
html.is-locked { overflow: hidden; }
.loader__stage { display: grid; justify-items: center; gap: 28px; transition: transform 700ms var(--ease-in-out), opacity 450ms var(--ease-out); }
.loader__mark { width: 92px; height: 92px; overflow: visible; }
.loader__word { width: 216px; height: auto; color: #fff; clip-path: inset(0 100% 0 0); }
.loader path[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ld-peak { opacity: 0; transform: translateY(-14px); }
.loader.is-playing .ld-arch { stroke-dashoffset: 0; transition: stroke-dashoffset 460ms var(--ease-out) calc(var(--d) * 90ms); }
.loader.is-playing .ld-stem { stroke-dashoffset: 0; transition: stroke-dashoffset 560ms var(--ease-out) calc(300ms + var(--d) * 120ms); }
.loader.is-playing .ld-peak { opacity: 1; transform: none; transition: opacity 300ms var(--ease-out) 820ms, transform 520ms var(--ease-spring) 820ms; }
.loader.is-playing .loader__word { clip-path: inset(0); transition: clip-path 760ms var(--ease-in-out) 760ms; }
.loader.is-lifting { --arch-r: 165%; transition: --arch-r 1150ms var(--ease-in-out); }
.loader.is-lifting .loader__stage { transform: translateY(-48px) scale(.96); opacity: 0; }

/* ==========================================================================
   CONCEPT NOTICE + HEADER
   ========================================================================== */
.notice { position: relative; z-index: 60; background: var(--notice); color: var(--ink); font-size: .8125rem; line-height: 1.4; }
.notice__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-block: 9px; }
.notice a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* the utility bar scrolls away; the masthead sticks, turns solid once you leave the hero,
   hides while you read down and comes back the moment you scroll up */
.site-header { position: sticky; top: calc(var(--utility-h) * -1); z-index: 100; transition: transform 420ms var(--ease-drawer); }
.site-header.is-hidden { transform: translateY(-100%); }
.utility { height: var(--utility-h); background: var(--ink-deep); color: var(--on-ink); font-size: .8125rem; }
.utility__inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.utility__note { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; color: #fff; font-weight: 500; white-space: nowrap; }
.utility__note svg { flex: none; width: 14px; height: 13px; color: var(--signal); }
.utility__note span { overflow: hidden; text-overflow: ellipsis; }
.utility__phone { flex: none; display: inline-flex; align-items: center; gap: 8px; padding-left: 24px; border-left: 1px solid var(--ink-line); color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.utility__phone .ic { width: 15px; height: 15px; color: var(--signal-on-ink); }

.masthead { position: relative; height: var(--masthead-h); color: #fff; transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.site-header.is-scrolled .masthead { background: rgba(5, 27, 46, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--ink-line), 0 18px 40px -30px rgba(0, 0, 0, .8); }
.masthead__inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { flex: none; display: block; border-radius: 4px; }
.brand__logo { width: 184px; height: auto; color: #fff; transform-origin: 0 50%; transition: transform 300ms var(--ease-out); }
.site-header.is-scrolled .brand__logo { transform: scale(.92); }
.masthead__cta { flex: none; }

.nav { position: relative; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__item--mega { position: static; }
.nav__link { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: var(--r-s); font-size: .9375rem; font-weight: 500; color: var(--on-ink); transition: color 160ms; }
button.nav__link::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 240ms var(--ease-out); }
.nav__link[aria-expanded="true"] { color: #fff; }
.nav__link[aria-expanded="true"]::after { transform: translateY(3px) rotate(225deg); }
/* the peak: one marker that slides to whichever item you're on */
.nav__peak { position: absolute; left: 0; bottom: -6px; width: 16px; height: 14px; color: var(--signal); opacity: 0; transform: translateX(var(--x, 0)) translateY(4px); transition: transform 300ms var(--ease-in-out), opacity 200ms var(--ease-out); pointer-events: none; }
.nav.has-peak .nav__peak { opacity: 1; transform: translateX(var(--x, 0)); }
.nav:not(.peak-ready) .nav__peak { transition: opacity 200ms var(--ease-out); }

.nav__panel {
  position: absolute;
  top: calc(100% + 16px);
  left: -8px;
  min-width: 270px;
  padding: 10px;
  border-radius: var(--r-m);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(5, 27, 46, .07), 0 30px 60px -28px rgba(3, 17, 29, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.985);
  transform-origin: 24px 0;
  transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out), visibility 0s linear 140ms;
}
.nav__item.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s; }
/* the mega panel hangs from the nav's right edge, so it never runs off-screen */
.nav__panel--wide { left: auto; right: -12px; width: min(940px, 88vw); padding: 14px; transform-origin: 60% 0; }
.drop a, .mega a { display: block; padding: 9px 12px; border-radius: var(--r-s); font-size: .9375rem; transition: background-color 160ms, color 160ms; }
.mega { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.15fr); gap: 12px 14px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; padding: 8px 4px; }
.mega__group { display: grid; align-content: start; gap: 2px; }
a.mega__head { display: flex; align-items: center; gap: 10px; font-weight: 600; line-height: 1.3; }
.mega__head .ic { width: 22px; height: 22px; color: var(--ink); }
.mega__group ul { margin: 0 0 10px 23px; padding-left: 10px; border-left: 1px solid var(--rule); }
.mega__group ul a { padding: 6px 12px; font-size: .875rem; color: var(--slate); }
a.mega__feature { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-m); background: var(--ink); color: var(--on-ink); }
a.mega__feature::before { content: ""; position: absolute; inset: auto -40% -60% -40%; height: 120%; z-index: -1; background: url("../tex/ripple.svg") center bottom / contain no-repeat; opacity: .12; }
.mega__feature > .ic { width: 28px; height: 28px; color: #fff; --ac: var(--signal-on-ink); }
.mega__feature-kicker { font-size: .8125rem; font-weight: 600; color: var(--signal-on-ink); }
.mega__feature-title { font-family: var(--voice); font-size: 1.3125rem; line-height: 1.25; color: #fff; }
.mega__feature-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-size: .875rem; font-weight: 600; color: #fff; }
.mega__more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 10px 4px 2px; border-top: 1px solid var(--rule); }
.mega__more a { font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .drop a:hover, .mega__grid a:hover, .mega__more a:hover { background: var(--porcelain); color: var(--ink); }
  .nav__link:hover { color: #fff; }
}

.menu-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border-radius: var(--r-s); }
.menu-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; width: 16px; }
.menu-toggle span:nth-child(3) { top: 27px; width: 10px; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .masthead__cta { margin-left: auto; }
}
@media (max-width: 600px) {
  :root { --masthead-h: 64px; }
  .masthead__cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .brand__logo { width: 152px; }
  .utility__inner { gap: 12px; }
  .utility__phone { padding-left: 12px; }
}
@media (max-width: 420px) {
  .utility { font-size: .75rem; }
  .utility__phone .ic { display: none; }
}

/* ---------- Full-screen mobile menu ---------- */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 550ms cubic-bezier(.7, 0, .2, 1) 140ms, visibility 0s linear 690ms;
}
.mmenu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 700ms cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.mmenu__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--masthead-h); }
.mmenu__logo { width: 152px; color: #fff; }
.mmenu__close { position: relative; width: 44px; height: 44px; margin-right: -10px; }
.mmenu__close span, .mmenu__close span::before { position: absolute; left: 11px; top: 21px; width: 22px; height: 2px; background: #fff; transform: rotate(45deg); }
.mmenu__close span::before { content: ""; left: 0; top: 0; transform: rotate(90deg); }
.mmenu__body { display: flex; flex-direction: column; flex: 1; padding-block: 24px 32px; }
.mmenu__list > li { border-bottom: 1px solid var(--ink-line); }
.mmenu__list summary { font-family: var(--display); display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 1.625rem; font-weight: var(--dw); letter-spacing: calc(-.02em * var(--tk)); line-height: 1.2; list-style: none; cursor: pointer; }
.mmenu__list summary::-webkit-details-marker { display: none; }
.mmenu__list summary::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform 240ms var(--ease-out); }
.mmenu__list details[open] summary::after { transform: rotate(225deg); }
.mmenu__list details ul { padding: 0 0 16px; }
.mmenu__list details a { display: block; padding: 8px 0; color: var(--on-ink); }
.mmenu__foot { display: grid; gap: 14px; margin-top: auto; padding-top: 32px; text-align: center; }
.mmenu__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: #fff; }
.mmenu__phone .ic { width: 18px; height: 18px; color: var(--signal-on-ink); }
.mmenu__list > li, .mmenu__foot { opacity: 0; transform: translateY(26px); transition: opacity 200ms, transform 200ms; }
.mmenu.is-open .mmenu__list > li, .mmenu.is-open .mmenu__foot { opacity: 1; transform: none; transition: opacity 500ms cubic-bezier(.2, .8, .2, 1) calc(300ms + var(--i) * 60ms), transform 750ms cubic-bezier(.2, .8, .2, 1) calc(300ms + var(--i) * 60ms); }

/* ==========================================================================
   HERO: navy, a warm glow, a blueprint grid that brightens under the cursor,
   and the firm's market at night: a model city on a canvas with the firm the
   one building lit, searches running to it (assets/js/hero-city.js).
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  margin-top: calc(var(--masthead-h) * -1);
  padding-top: calc(var(--masthead-h) + clamp(40px, 6vw, 92px));
  background: var(--ink);
  color: var(--on-ink);
}
.hero::after { z-index: 1; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48% 62% at 82% 74%, rgba(232, 86, 0, .17), transparent 64%),
    radial-gradient(60% 70% at 12% -10%, rgba(32, 74, 112, .55), transparent 70%),
    linear-gradient(180deg, var(--ink-deep), var(--ink) 55%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(195, 208, 221, .065) 1px, transparent 1px), linear-gradient(90deg, rgba(195, 208, 221, .065) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: calc(50% + 40px) 0;
  -webkit-mask-image: radial-gradient(85% 75% at 55% 35%, #000 25%, transparent 78%);
  mask-image: radial-gradient(85% 75% at 55% 35%, #000 25%, transparent 78%);
}
/* the lit copy of the grid, visible only in a circle around the cursor */
.hero__grid--lit {
  background-image: linear-gradient(rgba(255, 177, 107, .32) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 177, 107, .32) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(200px circle at var(--mx, -999px) var(--my, -999px), #000, transparent 72%);
  mask-image: radial-gradient(200px circle at var(--mx, -999px) var(--my, -999px), #000, transparent 72%);
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
}
.hero.is-lit .hero__grid--lit { opacity: 1; }

/* copy on the left, centred on the city; the facts beneath both; the whole hero about one screen tall */
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  grid-template-rows: 1fr auto auto 1fr auto;
  grid-template-areas: ". city" "head city" "body city" ". city" "facts facts";
  column-gap: clamp(32px, 5vw, 88px);
  min-height: min(calc(100svh - var(--masthead-h) - var(--utility-h) - 40px - clamp(40px, 6vw, 92px)), 820px);
}
.hero__head { grid-area: head; position: relative; z-index: 3; }
.hero__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-weight: 600; color: var(--signal-on-ink); }
.hero__kicker svg { width: 18px; height: 16px; color: var(--signal); }
/* three balanced lines, so the city has the room */
.hero__title { color: #fff; font-size: clamp(2.5rem, 1.1rem + 3.2vw, 4.1rem); line-height: 1.02; letter-spacing: calc(-.042em * var(--tk)); text-wrap: balance; }
.hero__body { grid-area: body; align-self: start; position: relative; z-index: 3; padding-top: clamp(28px, 3.4vw, 48px); padding-bottom: clamp(48px, 5vw, 72px); }
.hero__lede { max-width: 33rem; font-size: var(--fs-lede); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__facts {
  grid-area: facts;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px clamp(20px, 3vw, 48px);
  padding: 26px 0 clamp(36px, 4vw, 56px);
  border-top: 1px solid rgba(195, 208, 221, .2);
  font-size: .875rem;
  line-height: 1.5;
  color: var(--on-ink-2);
}
.hero__facts strong { color: #fff; font-weight: 600; }

/* ---------- the city: on a wide screen it fills the hero behind the copy, its controls at the foot ---------- */
.hero__city { grid-area: city; }
.cy-stage { position: relative; }
.cy-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y pinch-zoom; }
.cy-canvas.is-grabbed { cursor: grabbing; }
.cy-labels { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cy-q, .cy-firm { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border: 1px solid rgba(195, 208, 221, .2); border-radius: 999px; background: rgba(5, 27, 46, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .8); color: #fff; font-size: .8125rem; font-weight: 500; line-height: 1.3; white-space: nowrap; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.cy-q .ic { width: 14px; height: 14px; color: var(--on-ink-2); }
.cy-firm { border-color: rgba(232, 86, 0, .6); font-weight: 600; }
.cy-firm svg { width: 12px; height: 11px; color: var(--signal); }
.cy-ui { position: relative; z-index: 3; display: grid; justify-items: end; gap: 10px; }
.cy-row { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 16px; border: 1px solid rgba(195, 208, 221, .16); border-radius: 999px; background: rgba(5, 27, 46, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cy-say { margin-right: 2px; color: var(--on-ink-2); font-size: .8125rem; white-space: nowrap; }
.cy-picks { display: flex; gap: 2px; }
.cy-picks button { min-height: 34px; padding: 0 13px; border-radius: 999px; color: var(--on-ink); font-size: .8125rem; font-weight: 500; white-space: nowrap; transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out); }
.cy-picks button[aria-pressed="true"] { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .cy-picks button[aria-pressed="false"]:hover { background: rgba(255, 255, 255, .08); color: #fff; } }
/* the city loops, so it can be paused (WCAG 2.2.2) */
.cy-pause { flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(195, 208, 221, .24); border-radius: 50%; background: none; color: #fff; cursor: pointer; transition: border-color 200ms var(--ease-out); }
.cy-pause span { width: 10px; height: 11px; border-inline: 3px solid currentColor; }
.is-paused .cy-pause span { width: 0; height: 0; margin-left: 3px; border: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; }
@media (hover: hover) and (pointer: fine) { .cy-pause:hover { border-color: #fff; } }
.cy-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 18px; padding-right: 6px; color: var(--on-ink-2); font-size: .75rem; }
.cy-plan { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: .8125rem; font-weight: 600; }
.cy-plan .ic { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cy-plan:hover .ic { transform: translateX(3px); } }
/* without scripts there's no city to draw: the copy stands alone */
html:not(.js) .hero__city { display: none; }

/* entrance: after the curtain, or a frame after load on later visits */
/* plain selectors on purpose: :is() would take its most specific argument and outrank the .is-in rules */
.js .hero__kicker, .js .hero__body, .js .hero__facts li { opacity: 0; transform: translateY(16px); }
.js .hero__title { opacity: 0; transform: translateY(.3em); }
.js .cy-stage { opacity: 0; }
.js .cy-ui { opacity: 0; transform: translateY(10px); }
.hero.is-in .hero__kicker { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out) 80ms, transform 800ms var(--ease-out) 80ms; }
.hero.is-in .hero__title { opacity: 1; transform: none; transition: opacity 900ms var(--ease-out) 140ms, transform 1100ms var(--ease-out) 140ms; }
.hero.is-in .hero__body { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out) 520ms, transform 900ms var(--ease-out) 520ms; }
.hero.is-in .hero__facts li { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out) calc(900ms + var(--i, 0) * 80ms), transform 800ms var(--ease-out) calc(900ms + var(--i, 0) * 80ms); }
.hero__facts li:nth-child(2) { --i: 1; } .hero__facts li:nth-child(3) { --i: 2; } .hero__facts li:nth-child(4) { --i: 3; }
.hero.is-in .cy-stage { opacity: 1; transition: opacity 900ms var(--ease-out) 100ms; }
.hero.is-in .cy-ui { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out) 1500ms, transform 900ms var(--ease-out) 1500ms; }

@media (min-width: 861px) {
  /* the stage is the whole hero; it fades out under the copy and into the facts */
  .hero__inner { position: static; }
  .hero__city { align-self: end; justify-self: end; margin-bottom: 30px; }
  .cy-stage {
    position: absolute; inset: 0; z-index: 1;
    -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 50%), linear-gradient(#000 76%, transparent 97%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 8%, #000 50%), linear-gradient(#000 76%, transparent 97%);
    mask-composite: intersect;
  }
}
@media (max-width: 1000px) {
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero { padding-top: calc(var(--masthead-h) + 40px); }
  .hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "body" "city" "facts"; min-height: 0; }
  .hero__body { padding-bottom: 72px; }
  /* the city under the copy, edge to edge */
  .hero__city { margin: -24px calc(var(--gutter) * -1) 48px; }
  .cy-stage { height: clamp(340px, 100vw, 540px); -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 80%, transparent); }
  /* a caption, then one strip of practices that scrolls sideways, the pause beside it */
  .cy-ui { justify-items: stretch; margin-top: -24px; padding-inline: var(--gutter); }
  .cy-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 6px; padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cy-say { grid-column: 1 / -1; margin: 0; text-align: center; }
  .cy-picks { overflow-x: auto; padding: 4px; border: 1px solid rgba(195, 208, 221, .16); border-radius: 999px; background: rgba(5, 27, 46, .62); scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .cy-picks::-webkit-scrollbar { display: none; }
  .cy-picks button { flex: none; }
  .cy-pause { align-self: center; width: 44px; height: 44px; border-color: rgba(195, 208, 221, .16); background: rgba(5, 27, 46, .62); }
  .cy-foot { justify-content: center; text-align: center; }
}
@media (max-width: 520px) {
  .hero__facts { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- Section heads: the h2 and its lede, side by side ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(44px, 5vw, 76px); }
.section-head p { max-width: 34rem; color: var(--slate); font-size: var(--fs-lede); }
.section-head--split .btn { justify-self: end; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head--split .btn { justify-self: start; }
}

/* ==========================================================================
   SERVICES: a bento of working drawings
   Plain shapes, with the brand as a hint: the orange peak marks your firm in each one.
   Each drawing builds once in view, and its hover tells the service's story.
   Drawings show structure, never figures. Markup: source-images/build_svc_bento.py
   ========================================================================== */

/* ---------- The ground: porcelain, the hero's 80px grid carried down at a whisper ---------- */
.svb { position: relative; isolation: isolate; background: var(--porcelain); }
.svb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(5, 27, 46, .05) 1px, transparent 1px) 50% 0 / 80px 80px,
    linear-gradient(90deg, rgba(5, 27, 46, .05) 1px, transparent 1px) 50% 0 / 80px 80px;
  -webkit-mask: radial-gradient(90% 70% at 50% 40%, #000 20%, transparent 80%);
  mask: radial-gradient(90% 70% at 50% 40%, #000 20%, transparent 80%);
  pointer-events: none;
}

/* ---------- The grid: AI leads as a full row, then two offset pairs, 7/5 and 5/7 ---------- */
.svb-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.svb-tile--ai { grid-column: 1 / -1; }
.svb-tile--seo { grid-column: 1 / 8; }
.svb-tile--bi { grid-column: 8 / 13; }
.svb-tile--ads { grid-column: 1 / 6; }
.svb-tile--web { grid-column: 6 / 13; }

/* ---------- A tile: the drawing in its bay, then the words. The palette is tokens, so one set of
   drawings renders light, dark or inverted ---------- */
.svb-tile {
  --t-bg: #fff;
  --t-line: rgba(5, 27, 46, .09);
  --t-h: var(--ink);
  --t-p: var(--slate);
  --t-label: var(--muted);
  --pad: clamp(22px, 2.4vw, 34px);
  --d-map: #E8EDF2;
  --d-map-line: #DCE3EA;
  --d-bldg: #DFE6ED;
  --d-park: #DCE7E0;
  --d-link: #1F5687;
  --d-card: #fff;
  --d-card-line: #DAE2EA;
  --d-strong: var(--ink);
  --d-strong-soft: #C3CEDA;
  --d-soft: #E2E8EE;
  --d-tint: #F0F3F7;
  --d-mute: var(--muted);
  --d-grey: #A3B0BE;
  --d-street: #fff;
  --d-street-minor: #F8FAFC;
  --d-river: #D0DDE9;
  --d-col: #C5D0DC;
  --d-dot: #D3DBE3;
  --d-hair: #E1E7ED;
  --d-phone: var(--ink);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--t-line);
  border-radius: 28px;
  background: var(--t-bg);
  color: var(--t-h);
  box-shadow: 0 1px 2px rgba(5, 27, 46, .04), 0 24px 48px -34px rgba(5, 27, 46, .34);
  transition: border-color 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .svb-tile:hover { --t-line: rgba(5, 27, 46, .2); } }

.svb-tile--dark {
  --t-bg: var(--ink);
  --t-line: transparent;
  --t-h: #fff;
  --t-p: var(--on-ink);
  --t-label: var(--on-ink-2);
  --d-map: #0B2840;
  --d-map-line: rgba(195, 208, 221, .12);
  --d-card: #10304C;
  --d-card-line: rgba(195, 208, 221, .15);
  --d-strong: #E9EEF3;
  --d-strong-soft: rgba(195, 208, 221, .44);
  --d-soft: rgba(195, 208, 221, .2);
  --d-tint: rgba(195, 208, 221, .08);
  --d-mute: var(--on-ink-2);
  --d-grey: #5B7590;
  --d-street: rgba(195, 208, 221, .14);
  --d-street-minor: rgba(195, 208, 221, .06);
  --d-river: rgba(91, 140, 190, .2);
  --d-col: #C3D0DD;
  --d-dot: rgba(195, 208, 221, .28);
  --d-hair: rgba(195, 208, 221, .13);
  --d-phone: #010B14;
  /* the AI drawing's own palette */
  --ai-bubble: #143A5C;
  --ai-bubble-t: #fff;
  --ai-panel: var(--ink-2);
  --ai-panel-line: rgba(195, 208, 221, .15);
  --ai-text: #fff;
  --ai-line: rgba(195, 208, 221, .2);
  --ai-src: #0A2438;
  --ai-src-line: rgba(195, 208, 221, .17);
  --ai-you-t: var(--signal-on-ink);
}
.svb-tile--dark { background: radial-gradient(70% 90% at 82% 100%, rgba(232, 86, 0, .16), transparent 62%), var(--t-bg); }
/* the photographs' film grain, shared by every dark surface */
.svb-tile--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grain) 0 0 / 160px;
  mix-blend-mode: overlay;
  opacity: .42;
  pointer-events: none;
}

.svb-art {
  position: relative;
  padding: var(--pad);
  /* the stage: porcelain lit from above, with a cool grey-blue vignette at the edges */
  background:
    radial-gradient(65% 80% at 100% 0%, rgba(31, 86, 135, .13), transparent 70%),
    radial-gradient(60% 75% at 0% 100%, rgba(31, 86, 135, .1), transparent 70%),
    radial-gradient(64% 62% at 50% 36%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 78%),
    linear-gradient(180deg, #F4F8FB, #E2EAF2);
}
/* a drafting grid on the 80px of the hero's, fading out toward the edges */
.svb-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(5, 27, 46, .05) 1px, transparent 1px) 50% 50% / 20px 20px,
    linear-gradient(90deg, rgba(5, 27, 46, .05) 1px, transparent 1px) 50% 50% / 20px 20px,
    linear-gradient(rgba(5, 27, 46, .085) 1px, transparent 1px) 50% 50% / 80px 80px,
    linear-gradient(90deg, rgba(5, 27, 46, .085) 1px, transparent 1px) 50% 50% / 80px 80px;
  -webkit-mask: radial-gradient(72% 80% at 50% 50%, #000 34%, transparent 90%);
  mask: radial-gradient(72% 80% at 50% 50%, #000 34%, transparent 90%);
  pointer-events: none;
}
/* advertising's own rings are its texture: no grid behind them */
.svb-tile--ads .svb-art::before { display: none; }
.svb-tile--dark .svb-art { background: none; }
.svb-tile--dark .svb-art::before {
  background:
    linear-gradient(rgba(195, 208, 221, .045) 1px, transparent 1px) 50% 50% / 20px 20px,
    linear-gradient(90deg, rgba(195, 208, 221, .045) 1px, transparent 1px) 50% 50% / 20px 20px,
    linear-gradient(rgba(195, 208, 221, .07) 1px, transparent 1px) 50% 50% / 80px 80px,
    linear-gradient(90deg, rgba(195, 208, 221, .07) 1px, transparent 1px) 50% 50% / 80px 80px;
}
/* the stage's floor, where the drawing meets the words */
.svb-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--d-hair); }
.svb-svg { position: relative; display: block; width: 100%; height: clamp(200px, 21.9vw, 316px); overflow: visible; font-family: var(--sans); }
.svb-copy { display: flex; flex: 1; flex-direction: column; padding: calc(var(--pad) - 4px) var(--pad) var(--pad); }
.svb-copy h3 { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; color: var(--t-h); font-size: clamp(1.375rem, 1.1rem + .75vw, 1.875rem); letter-spacing: calc(-.022em * var(--tk)); }
.svb-copy > p { max-width: 34rem; margin-top: 12px; color: var(--t-p); }
/* the whole tile is the link: its overlay covers the tile (the nearest positioned box) */
.svb-link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.svb-link:focus-visible { outline: none; }
.svb-tile:has(.svb-link:focus-visible) { outline: 2px solid var(--signal); outline-offset: 3px; }

/* the arrow: the whole card is the link, so it gets one */
.svb-go { flex: none; display: grid; place-items: center; width: 42px; height: 42px; margin-top: -4px; border: 1px solid var(--d-card-line); border-radius: 50%; color: var(--t-h); transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out), color 300ms var(--ease-out); }
.svb-go .ic { width: 18px; height: 18px; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .svb-tile:hover .svb-go { border-color: var(--signal); background: var(--signal); color: var(--ink); }
  .svb-tile:hover .svb-go .ic { transform: translateX(2px); }
}

/* the sub-services: real links, above the tile's own */
.svb-subs { position: relative; z-index: 4; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.svb-subs a { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border: 1px solid var(--d-card-line); border-radius: 999px; background: var(--t-bg); color: var(--t-p); font-size: .8125rem; font-weight: 500; line-height: 1.2; transition: border-color 250ms var(--ease-out), color 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .svb-subs a:hover { border-color: var(--t-h); color: var(--t-h); } }
.svb-label { margin-top: 22px; color: var(--t-label); font-size: .875rem; }
.svb-engines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.svb-engines li { padding: 6px 14px; border: 1px solid var(--d-card-line); border-radius: 999px; color: var(--t-h); font-size: .8125rem; font-weight: 500; transition: border-color 300ms var(--ease-out), background-color 300ms var(--ease-out), color 300ms var(--ease-out); }
/* the engine on screen in the drawing */
.svb-engines li.is-on { border-color: var(--signal); background: rgba(232, 86, 0, .16); }

.svb-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 32px; margin-top: 28px; color: var(--slate); }
.svb-note { color: var(--muted); font-size: .875rem; }

/* AI leads: words left, the drawing right, bigger */
@media (min-width: 961px) {
  .svb-tile--ai { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .svb-tile--ai { --pad: clamp(32px, 3.4vw, 52px); }
  .svb-tile--ai .svb-art { grid-area: 1 / 2; padding: var(--pad) var(--pad) 0 0; }
  .svb-tile--ai .svb-art::after { display: none; }
  .svb-tile--ai .svb-copy { grid-area: 1 / 1; justify-content: center; padding: var(--pad); }
  .svb-tile--ai .svb-svg { height: clamp(320px, 30vw, 420px); }
}
.svb-tile--ai h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
/* the AI sources run on under the stage's edge, at every width */
.svb-tile--ai .svb-art { padding-bottom: 0; }

/* ==========================================================================
   The drawings: each service as the real thing, in plain shapes lit from
   above (layered shadows: contact, mid, ambient). Real labels, never figures;
   the orange peak marks your firm once in each.
   ========================================================================== */
.svb-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.d-map { fill: var(--d-map); }
.d-map-line { fill: none; stroke: var(--d-map-line); stroke-width: 1.5; }
.d-grid { fill: none; stroke: var(--d-hair); stroke-width: 1; stroke-dasharray: 3 5; }
.d-card { fill: var(--d-card); stroke: var(--d-card-line); }
.d-strong { fill: var(--d-strong); }
.d-strong-soft { fill: var(--d-strong-soft); }
.d-soft { fill: var(--d-soft); }
.d-tint { fill: var(--d-tint); }
.d-dot { fill: var(--d-dot); }
.d-hair, .d-rule { fill: none; stroke: var(--d-hair); stroke-width: 1.5; }
.d-rule { stroke: var(--d-card-line); }
/* the dark surfaces' rim: light catching the top edge */
.d-rim { fill: none; stroke: url(#svb-rim); }
.d-peak { fill: none; stroke: var(--signal); stroke-linecap: round; stroke-linejoin: round; }
.d-peak--on { stroke: #fff; }
.d-name { fill: var(--d-strong); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.d-name--sm { font-size: 14px; }
.d-label { fill: var(--d-mute); font-size: 12px; font-weight: 500; }
.d-label--xs { font-size: 11px; }
.d-pin__head { fill: var(--d-grey); }
.d-pin__dot { fill: var(--d-card); }
.d-pin__sh { fill: rgba(5, 27, 46, .2); }
.d-pin--you .d-pin__head { fill: var(--signal); }
.d-pin--you .d-pin__sh { fill: rgba(5, 27, 46, .3); }
.svb-svg use { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svb-svg use.d-scene { stroke: none; }

/* the parts that pop, grow or rise */
.ai-cite, .ai-src, .bi-col, .bi-call__ring, .bi-call__halo, .web-load, .ai-line, .ads-card__in, .seo-area { transform-box: fill-box; }

/* --- AI: the question, the answer that names you, the citation, your lit source --- */
.ai-bubble__box { fill: var(--ai-bubble); }
.ai-q { fill: var(--ai-bubble-t); font-size: 15px; font-weight: 500; }
.ai-panel__box { fill: var(--ai-panel); }
.ai-badge { fill: rgba(195, 208, 221, .07); stroke: rgba(195, 208, 221, .12); }
.ai-star { stroke: var(--ai-text); --ac: var(--signal-on-ink); }
.ai-eng { fill: var(--ai-text); font-size: 15px; font-weight: 600; opacity: 0; transition: opacity 280ms var(--ease-out); }
.svb-svg--ai[data-e="0"] .ai-eng[data-e="0"], .svb-svg--ai[data-e="1"] .ai-eng[data-e="1"],
.svb-svg--ai[data-e="2"] .ai-eng[data-e="2"], .svb-svg--ai[data-e="3"] .ai-eng[data-e="3"] { opacity: 1; }
.ai-meta { fill: var(--on-ink-2); font-size: 12px; font-weight: 500; }
.ai-ava { fill: #24445F; stroke: var(--ai-panel); stroke-width: 2.5; }
.ai-ava--you { fill: var(--signal); }
.ai-rule { fill: none; stroke: rgba(195, 208, 221, .1); }
.ai-mark { fill: rgba(232, 86, 0, .16); stroke: rgba(232, 86, 0, .5); }
.ai-mark__t { fill: var(--signal-on-ink); font-size: 14px; font-weight: 600; }
.ai-say { fill: var(--ai-text); font-size: 14px; font-weight: 500; opacity: .86; }
.ai-line { fill: var(--ai-line); transform-origin: 0 50%; transition: transform 650ms var(--ease-out); }
/* each engine words its answer differently; the citation holds */
.svb-svg--ai[data-e="1"] .ai-line--1 { transform: scaleX(.86); }
.svb-svg--ai[data-e="1"] .ai-line--2 { transform: scaleX(1.05); }
.svb-svg--ai[data-e="2"] .ai-line--1 { transform: scaleX(.95); }
.svb-svg--ai[data-e="2"] .ai-line--2 { transform: scaleX(.8); }
.svb-svg--ai[data-e="3"] .ai-line--1 { transform: scaleX(.78); }
.svb-svg--ai[data-e="3"] .ai-line--2 { transform: scaleX(.97); }
.ai-tools { fill: none; stroke: var(--on-ink-2); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.ai-cite rect { fill: var(--signal); }
.ai-cite text { fill: var(--ink); font-size: 10.5px; font-weight: 700; }
.ai-cite { transform-origin: 50% 50%; }
.ai-thread { fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-dasharray: 1; }
.ai-glow { opacity: .75; }
.ai-src__card { fill: var(--ai-src); stroke: var(--ai-src-line); }
.ai-src__bar, .ai-src__fav { fill: var(--ai-line); }
.ai-src__bar--name { fill: rgba(195, 208, 221, .32); }
.ai-src--you .ai-src__card { fill: url(#svb-you); stroke: var(--signal); stroke-width: 1.5; }
.ai-src__fav--you { fill: var(--ink-deep); stroke: rgba(232, 86, 0, .55); }
.ai-src__bar--you { fill: rgba(255, 177, 107, .26); }
.ai-src__name { fill: var(--ai-you-t); font-size: 14px; font-weight: 600; }
.ai-src__url { fill: var(--on-ink-2); font-size: 11.5px; font-weight: 500; }
.ai-src__n { fill: none; stroke: rgba(195, 208, 221, .24); }
.ai-src__n-t { fill: var(--on-ink-2); font-size: 10px; font-weight: 700; }
.ai-src--you .ai-src__n { fill: var(--signal); stroke: none; }
.ai-src--you .ai-src__n-t { fill: var(--ink); }
.svb-svg--ai.is-swap .ai-cite { animation: svb-pop 500ms var(--ease-out); }
.svb-svg--ai.is-swap .ai-thread { animation: svb-draw 500ms var(--ease-out) 120ms both; }

/* --- SEO: the map, your pin and its radius, the map pack where you climb --- */
.seo-bldg { fill: var(--d-bldg); }
.seo-park { fill: var(--d-park); }
.seo-river { fill: none; stroke: var(--d-river); stroke-width: 18; stroke-linecap: round; }
.seo-street { fill: none; stroke: var(--d-street); stroke-width: 9; }
.seo-street--minor { stroke: var(--d-street-minor); stroke-width: 4; }
.seo-st { fill: var(--d-grey); font-size: 7.5px; font-weight: 600; letter-spacing: .16em; }
.seo-area { fill: rgba(232, 86, 0, .07); stroke: rgba(232, 86, 0, .45); stroke-width: 1.2; stroke-dasharray: 3 4; transform-origin: 50% 50%; }
.seo-rip { fill: none; stroke: var(--signal); stroke-width: 1.2; opacity: 0; transform-origin: 182px 166px; }
.is-pulse .seo-rip { animation: svb-ripple 1500ms var(--ease-out) calc(var(--i) * 170ms); }
.seo-search { fill: var(--d-tint); }
.seo-search__ic { stroke: var(--d-mute); }
.seo-q { fill: var(--d-strong); font-size: 13px; font-weight: 500; }
.seo-row { transform: translateY(var(--to)); }
.seo-row__tint { fill: rgba(232, 86, 0, .06); }
.seo-stars { fill: var(--d-strong-soft); stroke: var(--d-strong-soft); stroke-width: 1; stroke-linejoin: round; }
.seo-stars--you { fill: var(--signal); stroke: var(--signal); }
.seo-btn { fill: var(--d-card); stroke: var(--d-card-line); }
.seo-btn--call { fill: var(--signal); stroke: none; }
.seo-btn__ic { stroke: var(--d-strong); }
.seo-btn__ic--on { stroke: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .svb-tile--seo.is-in:hover .seo-row--you { transform: translateY(calc(var(--to) - 3px)); transition: transform 400ms var(--ease-out); }
}

/* --- Business intelligence: calls by source; a call runs to where it came from, and that bar lights --- */
.bi-band { fill: var(--d-tint); transition: transform 600ms var(--ease-out); }
.svb-svg--bi[data-lit="1"] .bi-band { transform: translateX(96px); }
.svb-svg--bi[data-lit="2"] .bi-band { transform: translateX(192px); }
.svb-svg--bi[data-lit="3"] .bi-band { transform: translateX(288px); }
.bi-col { transform-origin: 50% 100%; }
.bi-col__bar { fill: var(--d-col); transition: fill 450ms var(--ease-out); }
.svb-svg--bi[data-lit="0"] .bi-col--0 .bi-col__bar, .svb-svg--bi[data-lit="1"] .bi-col--1 .bi-col__bar,
.svb-svg--bi[data-lit="2"] .bi-col--2 .bi-col__bar, .svb-svg--bi[data-lit="3"] .bi-col--3 .bi-col__bar { fill: var(--signal); }
.bi-x { fill: var(--d-mute); font-size: 12px; font-weight: 500; transition: fill 450ms var(--ease-out); }
.svb-svg--bi[data-lit="0"] .bi-x--0, .svb-svg--bi[data-lit="1"] .bi-x--1,
.svb-svg--bi[data-lit="2"] .bi-x--2, .svb-svg--bi[data-lit="3"] .bi-x--3 { fill: var(--d-strong); font-weight: 600; }
.bi-trail { fill: none; stroke: var(--signal); stroke-width: 8; stroke-linecap: round; stroke-dasharray: .001 2; opacity: 0; }
.bi-call__ring { fill: var(--signal); transform-origin: 50% 50%; }
.bi-call__halo { fill: none; stroke: var(--signal); stroke-width: 1.5; opacity: 0; transform-origin: 50% 50%; }
.bi-call__ic { stroke: var(--ink); }
.bi-src { fill: var(--d-mute); font-size: 12px; font-weight: 500; opacity: 0; transition: opacity 250ms var(--ease-out); }
.svb-svg--bi[data-s="0"] .bi-src[data-s="0"], .svb-svg--bi[data-s="1"] .bi-src[data-s="1"],
.svb-svg--bi[data-s="2"] .bi-src[data-s="2"], .svb-svg--bi[data-s="3"] .bi-src[data-s="3"] { opacity: 1; }
.is-calling .bi-call__ring { animation: svb-ring 650ms var(--ease-out); }
.is-calling .bi-call__halo { animation: svb-halo 1000ms var(--ease-out); }
.is-calling[data-s="0"] .bi-trail--0, .is-calling[data-s="1"] .bi-trail--1,
.is-calling[data-s="2"] .bi-trail--2, .is-calling[data-s="3"] .bi-trail--3 { animation: svb-dot 760ms var(--ease-in-out) 120ms; }
.is-calling[data-s="0"] .bi-col--0, .is-calling[data-s="1"] .bi-col--1,
.is-calling[data-s="2"] .bi-col--2, .is-calling[data-s="3"] .bi-col--3 { animation: svb-hit 700ms var(--ease-out) 820ms; }

/* --- Advertising: your firm at the hub; its signal runs out to a social post, a video ad and a search ad --- */
.ads-rip { fill: none; stroke: var(--signal); stroke-width: 1.2; transform-origin: 232px 142px; }
.ads-rip:nth-child(1) { opacity: .34; }
.ads-rip:nth-child(2) { opacity: .2; }
.ads-rip:nth-child(3) { opacity: .1; }
.ads-wire { fill: none; stroke: var(--d-strong-soft); stroke-width: 1.2; stroke-dasharray: 2 4; }
.ads-spark { fill: none; stroke: var(--signal); stroke-width: 6; stroke-linecap: round; stroke-dasharray: .001 2; opacity: 0; }
.ads-wave { fill: none; stroke: var(--signal); stroke-width: 1.2; opacity: 0; transform-origin: 232px 142px; }
.is-pulse .ads-wave { animation: svb-ripple 1500ms var(--ease-out) calc(var(--i) * 170ms); }
.is-pulse .ads-spark { animation: svb-dot 700ms var(--ease-in-out) calc(150ms + var(--i) * 120ms); }
.is-pulse .ads-card__in { animation: svb-bob 800ms var(--ease-in-out) calc(700ms + var(--i) * 120ms); }
.ads-ava { fill: var(--d-strong); }
.ads-name { fill: var(--d-strong); font-size: 11.5px; font-weight: 600; }
.ads-name--sm { font-size: 11px; }
.ads-meta { fill: var(--d-mute); font-size: 9.5px; font-weight: 500; }
.ads-pill { fill: var(--d-tint); }
.ads-pill__t { fill: var(--d-strong); font-size: 9px; font-weight: 600; }
.ads-video { fill: var(--ink); }
.ads-badge { fill: rgba(255, 255, 255, .94); }
.ads-badge__t { fill: var(--ink); font-size: 9.5px; font-weight: 700; }
.ads-play { fill: rgba(255, 255, 255, .94); }
.ads-play__tri { fill: var(--ink); }
.ads-skip { fill: rgba(3, 17, 29, .72); stroke: rgba(255, 255, 255, .28); }
.ads-skip__t { fill: #fff; font-size: 9px; font-weight: 600; }
.ads-skip__ic { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.ads-track { fill: rgba(255, 255, 255, .22); }
.ads-prog { fill: var(--signal); }
.ads-spons { fill: var(--d-strong); font-size: 10px; font-weight: 700; }
.ads-fav { fill: var(--d-tint); stroke: var(--d-card-line); }
.ads-hl { fill: var(--d-link); font-size: 13px; font-weight: 600; letter-spacing: -.005em; }
.ads-cta { fill: var(--signal); }
.ads-cta__t { fill: var(--ink); font-size: 9.5px; font-weight: 700; }

/* --- Web: one site on two screens; it loads, builds, and scrolls on hover --- */
.web-lock { fill: none; stroke: var(--d-mute); stroke-width: 1.2; stroke-linejoin: round; }
.web-url { fill: var(--d-mute); font-size: 11px; font-weight: 500; }
.web-load { fill: var(--signal); transform-origin: 0 50%; }
.web-brand { fill: var(--d-strong); font-size: 12px; font-weight: 700; letter-spacing: -.01em; }
.web-brand--p { font-size: 9px; }
.web-h { fill: var(--d-strong); font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.web-h--p { font-size: 11px; letter-spacing: -.01em; }
.web-h3 { fill: var(--d-strong); font-size: 14px; font-weight: 600; }
.web-cta { fill: var(--signal); }
.web-cta__t { fill: var(--ink); font-size: 11px; font-weight: 700; }
.web-cta__t--sm { font-size: 9px; }
.web-ghost { fill: none; stroke: var(--d-card-line); }
.web-card { fill: var(--d-tint); }
.web-card__t { fill: var(--d-strong); font-size: 11px; font-weight: 600; }
.web-card__t--p { font-size: 9.5px; }
.web-mini { fill: none; stroke: var(--signal); stroke-width: 1.8; }
.web-phone__body { fill: var(--d-phone); }
.web-phone__screen { stroke: none; }
.web-phone__notch { fill: var(--d-phone); }
.web-page { transition: transform 1600ms var(--ease-in-out); }
@media (hover: hover) and (pointer: fine) {
  .svb-tile--web:hover .web-page--b { transform: translateY(-150px); }
  .svb-tile--web:hover .web-page--p { transform: translateY(-130px); }
}
.svb-tile--web.is-demo .web-page--b { transform: translateY(-150px); }
.svb-tile--web.is-demo .web-page--p { transform: translateY(-130px); }

/* ==========================================================================
   The builds: once, when the tile comes into view (main.js adds .is-in)
   ========================================================================== */
.js .svb-tile:not(.is-in) :is(.ai-bubble, .ai-panel, .ai-src, .ai-cite, .ai-glow, .d-pin, .seo-you, .seo-area, .seo-row,
  .bi-card, .bi-band, .bi-col, .bi-x, .bi-call, .ads-rips, .ads-wires, .ads-src, .ads-card__in,
  .web-browser__in, .web-blk, .web-phone__in) { opacity: 0; }

/* AI: the question types, the answer writes, the sources rise, the citation lands and threads to yours */
.js .svb-tile:not(.is-in) .ai-bubble { transform: translateY(8px); }
.js .svb-tile:not(.is-in) .ai-q { clip-path: inset(0 100% 0 0); }
.js .svb-tile:not(.is-in) .ai-line { transform: scaleX(0); }
.js .svb-tile:not(.is-in) .ai-src { transform: translateY(26px); }
.js .svb-tile:not(.is-in) .ai-cite { transform: scale(.3); }
.js .svb-tile:not(.is-in) .ai-thread { stroke-dashoffset: 1; }
.svb-tile.is-in .ai-bubble { transition: opacity 400ms var(--ease-out) 150ms, transform 600ms var(--ease-out) 150ms; }
.svb-tile.is-in .ai-q { clip-path: inset(0); transition: clip-path 1100ms steps(43, end) 450ms; }
.svb-tile.is-in .ai-panel { transition: opacity 500ms var(--ease-out) 1250ms; }
.svb-tile.is-in .ai-line { transition: transform 700ms var(--ease-out) calc(1450ms + var(--i) * 110ms); }
.svb-tile.is-in .ai-src { transition: opacity 500ms var(--ease-out) calc(1700ms + var(--i) * 120ms), transform 800ms var(--ease-out) calc(1700ms + var(--i) * 120ms); }
.svb-tile.is-in .ai-glow { transition: opacity 900ms var(--ease-out) 2100ms; }
.svb-tile.is-in .ai-cite { transition: opacity 300ms var(--ease-out) 2250ms, transform 600ms var(--ease-spring) 2250ms; }
.svb-tile.is-in .ai-thread { transition: stroke-dashoffset 500ms var(--ease-out) 2500ms; }
/* once built, the builds' delays go, so hovers answer at once */
.svb-tile.is-settled .svb-svg * { transition-delay: 0ms !important; }

/* SEO: the pins land, yours drops in, its radius opens; then you climb the map pack */
.js .svb-tile:not(.is-in) .seo-you { transform: translateY(-18px); }
.js .svb-tile:not(.is-in) .seo-area { transform: scale(.3); }
.js .svb-tile:not(.is-in) .seo-row { transform: translateY(var(--from)); }
.svb-tile.is-in .d-pin { transition: opacity 500ms var(--ease-out) 250ms; }
.svb-tile.is-in .seo-you { transition: opacity 300ms var(--ease-out) 450ms, transform 700ms var(--ease-spring) 450ms; }
.svb-tile.is-in .seo-area { transition: opacity 500ms var(--ease-out) 750ms, transform 900ms var(--ease-out) 750ms; }
.svb-tile.is-in .seo-row { transition: opacity 450ms var(--ease-out) calc(350ms + var(--i) * 130ms), transform 900ms var(--ease-drawer) 1650ms; }

/* BI: the report opens, the bars rise, the call card arrives */
.js .svb-tile:not(.is-in) .bi-card { transform: translateY(10px); }
.js .svb-tile:not(.is-in) .bi-col { transform: scaleY(0); }
.js .svb-tile:not(.is-in) .bi-call { transform: translateY(-10px); }
.svb-tile.is-in .bi-card { transition: opacity 450ms var(--ease-out) 100ms, transform 700ms var(--ease-out) 100ms; }
.svb-tile.is-in .bi-band { transition: opacity 400ms var(--ease-out) 700ms, transform 600ms var(--ease-out); }
.svb-tile.is-in .bi-col { transition: opacity 200ms linear calc(300ms + var(--i) * 110ms), transform 900ms var(--ease-out) calc(300ms + var(--i) * 110ms); }
.svb-tile.is-in .bi-x { transition: opacity 500ms var(--ease-out) 700ms, fill 450ms var(--ease-out); }
.svb-tile.is-in .bi-call { transition: opacity 400ms var(--ease-out) 1100ms, transform 600ms var(--ease-out) 1100ms; }

/* Advertising: the hub, its rings, the lines out; each ad lands in turn */
.js .svb-tile:not(.is-in) .ads-rips { transform: scale(.4); }
.js .svb-tile:not(.is-in) .ads-src { transform: translateY(10px); }
.js .svb-tile:not(.is-in) .ads-card__in { transform: translateY(14px) scale(.96); }
.ads-rips { transform-origin: 232px 142px; }
.svb-tile.is-in .ads-src { transition: opacity 400ms var(--ease-out) 200ms, transform 600ms var(--ease-out) 200ms; }
.svb-tile.is-in .ads-rips { transition: opacity 600ms var(--ease-out) 400ms, transform 1100ms var(--ease-out) 400ms; }
.svb-tile.is-in .ads-wires { transition: opacity 500ms var(--ease-out) 600ms; }
.svb-tile.is-in .ads-card__in { transition: opacity 450ms var(--ease-out) calc(550ms + var(--i) * 220ms), transform 700ms var(--ease-spring) calc(550ms + var(--i) * 220ms); }
.ads-card__in { transform-origin: 50% 100%; }

/* Web: the browser opens, the page loads (the line), the blocks arrive, the phone slides in */
.js .svb-tile:not(.is-in) .web-browser__in { transform: translateY(16px); }
.js .svb-tile:not(.is-in) .web-load { transform: scaleX(0); opacity: 1; }
.js .svb-tile:not(.is-in) .web-blk { transform: translateY(6px); }
.js .svb-tile:not(.is-in) .web-phone__in { transform: translateX(36px); }
.web-load { opacity: 0; }
.svb-tile.is-in .web-browser__in { transition: opacity 450ms var(--ease-out) 150ms, transform 700ms var(--ease-out) 150ms; }
.svb-tile.is-in .web-load { transition: transform 800ms var(--ease-in-out) 500ms, opacity 300ms linear 1400ms; }
.svb-tile.is-in .web-blk { transition: opacity 400ms var(--ease-out) calc(1000ms + var(--i) * 90ms), transform 500ms var(--ease-out) calc(1000ms + var(--i) * 90ms); }
.svb-tile.is-in .web-phone__in { transition: opacity 450ms var(--ease-out) 1450ms, transform 800ms var(--ease-drawer) 1450ms; }

@keyframes svb-pop { 0% { transform: scale(.55); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes svb-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes svb-ripple { 0% { transform: scale(.6); opacity: 0; } 30% { opacity: .55; } 100% { transform: scale(1.06); opacity: 0; } }
@keyframes svb-bob { 0%, 100% { transform: none; } 45% { transform: translateY(-5px); } }
@keyframes svb-ring { 0% { transform: scale(1); } 35% { transform: scale(1.16); } 100% { transform: scale(1); } }
@keyframes svb-halo { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes svb-dot { 0% { stroke-dashoffset: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }
@keyframes svb-hit { 0% { transform: scaleY(1); } 35% { transform: scaleY(1.06); } 100% { transform: scaleY(1); } }

/* ==========================================================================
   Narrower screens
   ========================================================================== */
@media (max-width: 960px) {
  .svb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svb-tile--ai, .svb-tile--seo, .svb-tile--web { grid-column: 1 / -1; }
  .svb-tile--bi, .svb-tile--ads { grid-column: auto; }
  .svb-svg { height: auto; aspect-ratio: var(--ar); }
  .svb-svg--ai { --ar: 600 / 386; }
  .svb-svg--seo { --ar: 614 / 280; }
  .svb-svg--web { --ar: 594 / 272; }
  .svb-svg--bi { --ar: 432 / 290; }
  .svb-svg--ads { --ar: 424 / 284; }
}
@media (max-width: 640px) {
  .svb-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .svb-tile--bi, .svb-tile--ads { grid-column: 1 / -1; }
  .svb-tile { border-radius: 22px; }
  .svb-foot { margin-top: 22px; }
  /* the drawings run nearer the edges; SEO crops the map's far side so your pin and the map pack stay legible */
  .svb-tile { --pad: 20px; }
  .svb-art { overflow: hidden; }
  .svb-svg--seo { width: 120%; margin-left: -20%; }
}

/* ?static: everything at rest and shown */
.static .web-load { opacity: 0; }

/* ==========================================================================
   Reduced motion: gentler, not zero. The drawings fade in where they rest;
   nothing travels, grows, pulses or scrolls; a call just lights its bar.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .js .svb-tile:not(.is-in) :is(.ai-bubble, .ai-src, .ai-cite, .seo-you, .seo-area, .bi-card, .bi-col, .bi-call, .ads-rips, .ads-src, .ads-card__in, .web-browser__in, .web-blk, .web-phone__in) { transform: none; }
  .js .svb-tile:not(.is-in) .ai-line { transform: none; }
  .js .svb-tile:not(.is-in) .seo-row { transform: translateY(var(--to)); }
  .js .svb-tile:not(.is-in) .ai-q { clip-path: none; }
  .js .svb-tile:not(.is-in) .ai-thread { stroke-dashoffset: 0; }
  .svb-tile.is-in :is(.ai-line, .seo-row, .web-page, .bi-band) { transition: opacity 450ms linear; }
  .svb-tile .web-load { display: none; }
  .svb-svg--ai.is-swap :is(.ai-cite, .ai-thread) { animation: none; }
  .is-calling :is(.bi-trail, .bi-call__ring, .bi-call__halo, .bi-col) { animation: none !important; }
  .svb-tile--seo.is-in:hover .seo-row--you { transform: translateY(var(--to)); }
  .svb-tile--web:hover :is(.web-page--b, .web-page--p), .svb-tile--web.is-demo :is(.web-page--b, .web-page--p) { transform: none; }
}

/* ==========================================================================
   CASE STUDIES: a sticky intro beside large cards that reveal with a wipe
   ========================================================================== */
.cases { background: var(--porcelain); }
.cases__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
.cases__intro { position: sticky; top: calc(var(--masthead-h) + 40px); }
.cases__intro h2 { font-size: clamp(2rem, 1.35rem + 1.7vw, 3rem); }
.cases__intro p { margin: 26px 0 34px; color: var(--slate); font-size: var(--fs-lede); }
.cases__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.case--feature { grid-column: 1 / -1; }
.case__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--r-l); background: #fff; }
.case__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.case--feature .case__link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.case--feature .case__img { aspect-ratio: auto; height: 100%; min-height: 380px; }
.case__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.4vw, 34px); }
.case--feature .case__body { padding: clamp(26px, 3vw, 44px); }
.case__client { font-size: .875rem; font-weight: 600; color: var(--muted); }
.case__stat { display: block; font-size: 1.0625rem; font-weight: 500; line-height: 1.35; }
.case__stat strong { font-family: var(--display); display: block; margin-bottom: 6px; font-size: clamp(4.25rem, 2.8rem + 4.2vw, 7.5rem); font-weight: var(--dw); line-height: .86; letter-spacing: calc(-.06em * var(--tk)); }
.case__stat--sm strong { font-size: clamp(2.75rem, 2.1rem + 1.8vw, 3.75rem); letter-spacing: calc(-.045em * var(--tk)); }
.case__title { font-family: var(--display); font-size: 1.375rem; font-weight: var(--dw); line-height: 1.2; letter-spacing: calc(-.018em * var(--tk)); }
.case__text { color: var(--slate); font-size: .9688rem; }
.case__more { margin-top: auto; padding-top: 6px; }
@media (hover: hover) and (pointer: fine) { .case__link:hover .case__img img { transform: scale(1.04); } }
@media (max-width: 960px) {
  .cases__grid { grid-template-columns: minmax(0, 1fr); }
  .cases__intro { position: static; }
}
@media (max-width: 640px) {
  .cases__list { grid-template-columns: minmax(0, 1fr); }
  .case--feature .case__link { grid-template-columns: minmax(0, 1fr); }
  .case--feature .case__img { aspect-ratio: 4 / 3; min-height: 0; }
}

/* ==========================================================================
   MISSION + TESTIMONIALS
   ========================================================================== */
.mission { background: var(--white); }
.mission__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 112px); align-items: end; }
.mission__title { font-family: var(--voice); font-weight: 500; font-size: clamp(2.5rem, .9rem + 4.6vw, 5.5rem); line-height: 1.02; letter-spacing: -.028em; }
.mission__photo { position: relative; margin: 16px 16px 0; }
.mission__photo::before { content: ""; position: absolute; inset: -16px -16px 0; border: 1.5px solid var(--rule-strong); border-bottom: 0; border-radius: 9999px 9999px 0 0; }
.mission__arch { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 9999px 9999px 0 0; background: var(--mist); }
.mission__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }

.lead-quote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 44px); margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(40px, 5vw, 64px); border-top: 1.5px solid var(--ink); }
.lead-quote__mark { width: clamp(48px, 5.4vw, 80px); height: auto; aspect-ratio: 1; color: var(--signal); stroke-width: 1.6; }
.lead-quote blockquote p { max-width: 54rem; font-family: var(--voice); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); line-height: 1.24; letter-spacing: -.014em; }
.lead-quote figcaption { grid-column: 2; display: flex; align-items: center; gap: 12px; margin-top: 30px; font-weight: 600; }

/* monograms: initials under an arch */
.mono { flex: none; display: inline-grid; place-items: center; width: 40px; height: 46px; padding-top: 6px; border-radius: 9999px 9999px 4px 4px; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }

.wall { columns: 3 300px; column-gap: 18px; margin-top: clamp(56px, 6vw, 88px); }
.quote { break-inside: avoid; margin-bottom: 18px; padding: 28px 28px 24px; border-radius: var(--r-l); background: var(--porcelain); }
.quote blockquote p { font-family: var(--voice); font-size: 1.1563rem; line-height: 1.5; }
.quote--loud { background: var(--ink); color: #fff; }
.quote--loud blockquote p { font-size: clamp(1.375rem, 1.1rem + .6vw, 1.625rem); line-height: 1.3; }
.quote--loud .mono { background: var(--signal); color: var(--ink); }
.quote figcaption { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; margin-top: 22px; font-size: .9375rem; font-weight: 600; }
.quote figcaption .mono { grid-row: span 2; }
.quote__role { grid-column: 2; font-size: .8125rem; font-weight: 400; color: var(--muted); }
.mission__foot { display: flex; justify-content: center; margin-top: 30px; }
@media (max-width: 860px) {
  .mission__top { grid-template-columns: minmax(0, 1fr); }
  .mission__photo { width: min(100% - 32px, 400px); }
  .lead-quote { grid-template-columns: minmax(0, 1fr); }
  .lead-quote__mark { margin-bottom: 18px; }
  .lead-quote figcaption { grid-column: 1; }
}

/* ==========================================================================
   COMMANDMENTS: navy, a sticky arch tablet whose numeral follows your reading
   ========================================================================== */
.cmd__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); }
.cmd__aside { position: sticky; top: calc(var(--masthead-h) + 40px); align-self: start; }
/* a size step down from --fs-h2: "commandments" is one long word in a narrow column */
.cmd__aside h2 { font-size: clamp(2rem, 1.1rem + 2.2vw, 3.4rem); }
.cmd__aside p { margin-top: 16px; font-size: var(--fs-lede); }
.tablet { position: relative; display: grid; place-items: center; width: min(100%, 300px); aspect-ratio: 3 / 4; margin-top: 88px; border: 1.5px solid rgba(195, 208, 221, .32); border-bottom: 0; border-radius: 9999px 9999px 0 0; }
.tablet::before { content: ""; position: absolute; inset: 16px 16px 0; border: 1px solid rgba(195, 208, 221, .14); border-bottom: 0; border-radius: inherit; }
.tablet__peak { position: absolute; left: 50%; top: -48px; width: 36px; height: 33px; margin-left: -18px; color: var(--signal); }
.tablet__window { height: 1.1em; overflow: hidden; font-family: var(--voice); font-size: clamp(4.5rem, 7.5vw, 7.5rem); font-weight: 500; line-height: 1.1; color: #fff; text-align: center; }
.tablet__reel { display: grid; transform: translateY(calc(var(--n, 0) * -1.1em)); transition: transform 750ms var(--ease-in-out); }
.tablet__reel span { height: 1.1em; }
/* ten stems hang from one line; the one you're reading drops in orange */
.tablet__ticks { position: absolute; left: 50%; bottom: 32px; display: flex; gap: 9px; align-items: flex-start; transform: translateX(-50%); padding-top: 0; border-top: 1px solid rgba(195, 208, 221, .3); }
.tablet__ticks i { width: 1.5px; height: 12px; background: rgba(195, 208, 221, .4); transition: height 450ms var(--ease-out), background-color 300ms; }
.tablet__ticks i.is-on { height: 30px; background: var(--signal); }
.cmd__item { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 6px 20px; padding: 30px 0; border-top: 1px solid var(--ink-line); }
.cmd__item:last-child { border-bottom: 1px solid var(--ink-line); }
.cmd__item::before { content: ""; position: absolute; left: 0; top: -1px; width: 64px; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms var(--ease-out); }
.cmd__item.is-active::before { transform: none; }
.cmd__n { grid-row: span 2; padding-top: 1px; font-family: var(--voice); font-size: 1.375rem; line-height: 1.2; color: var(--on-ink-2); transition: color 300ms; }
.cmd__item.is-active .cmd__n { color: var(--signal-on-ink); }
.cmd__item h3 { font-size: clamp(1.3125rem, 1.08rem + .6vw, 1.75rem); line-height: 1.2; letter-spacing: calc(-.02em * var(--tk)); }
.cmd__item p { max-width: 38rem; }
@media (max-width: 860px) {
  .cmd__grid { grid-template-columns: minmax(0, 1fr); }
  .cmd__aside { position: static; }
  .tablet { display: none; }
  .cmd__item { grid-template-columns: 48px minmax(0, 1fr); }
}

/* ==========================================================================
   EVENTS: Conrad on stage with a client's words on top; tickets with a stub
   ========================================================================== */
.events { background: var(--porcelain); }
.events__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; }
.stage { position: relative; isolation: isolate; min-height: 460px; overflow: hidden; border-radius: var(--r-l); background: var(--ink); }
.stage__img { position: absolute; inset: 0; display: block; z-index: -2; }
.stage__img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(3, 17, 29, .9) 92%); }
.stage__quote { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 44px); color: #fff; }
.stage__quote p { max-width: 32rem; font-family: var(--voice); font-size: clamp(1.375rem, 1rem + 1.05vw, 2.125rem); line-height: 1.22; letter-spacing: -.01em; }
.stage__quote span { display: block; margin-top: 14px; font-size: .875rem; color: var(--on-ink); }
.tickets { display: grid; gap: 18px; }
.ticket a { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); height: 100%; min-height: 210px; border: 1px solid var(--rule); border-radius: var(--r-l); background: #fff; }
.ticket__stub { position: relative; display: grid; place-items: center; border-radius: var(--r-l) 0 0 var(--r-l); background: var(--ink); color: #fff; transform-origin: 100% 0; transition: transform 600ms var(--ease-drawer); }
.ticket__stub time { display: grid; justify-items: center; line-height: 1; }
.ticket__mon { font-size: .875rem; font-weight: 600; color: var(--signal-on-ink); }
.ticket__day { margin: 8px 0 6px; font-family: var(--voice); font-size: 3.5rem; font-weight: 500; letter-spacing: -.02em; }
.ticket__yr { font-size: .8125rem; color: var(--on-ink); }
/* the perforation, with a notch top and bottom */
.ticket__body { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 28px; border-left: 2px dashed var(--rule-strong); }
.ticket__body::before, .ticket__body::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border: 1px solid var(--rule); border-radius: 50%; background: var(--porcelain); }
.ticket__body::before { top: -12px; clip-path: inset(50% 0 0 0); }
.ticket__body::after { bottom: -12px; clip-path: inset(0 0 50% 0); }
.ticket__name { font-family: var(--display); font-size: 1.4375rem; font-weight: var(--dw); line-height: 1.2; letter-spacing: calc(-.02em * var(--tk)); }
.ticket__when { display: flex; align-items: center; gap: 8px; color: var(--slate); font-size: .9375rem; }
.ticket__when .ic { width: 20px; height: 20px; }
.ticket__more { margin-top: auto; }
@media (hover: hover) and (pointer: fine) { .ticket a:hover .ticket__stub { transform: rotate(-3deg) translateX(-4px); } }
.venues { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; margin-top: clamp(56px, 6vw, 80px); padding-top: 40px; border-top: 1px solid var(--rule); }
.venues img { width: auto; max-height: 30px; opacity: .72; transition: opacity 300ms; }
@media (hover: hover) and (pointer: fine) { .venues img:hover { opacity: 1; } }
@media (max-width: 960px) {
  .events__grid { grid-template-columns: minmax(0, 1fr); }
  .stage { min-height: 420px; }
  .venues { justify-content: center; }
}
@media (max-width: 480px) {
  .ticket a { grid-template-columns: 92px minmax(0, 1fr); }
  .ticket__day { font-size: 2.75rem; }
  .ticket__body { padding: 22px 20px; }
}

/* ==========================================================================
   PODCAST: their chrome microphone, arch ripples, and the stem meter that
   plays while you hover a way to listen
   ========================================================================== */
.pod { overflow: clip; }
.pod__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "copy visual" "eps visual"; gap: 56px clamp(40px, 6vw, 104px); }
.pod__copy { grid-area: copy; }
.pod__visual { grid-area: visual; position: relative; display: grid; place-items: center; align-self: center; min-height: 600px; }
.pod__eps { grid-area: eps; }
.pod__show { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-weight: 600; color: var(--signal-on-ink); }
.pod__show .ic { width: 22px; height: 22px; --ac: var(--signal-on-ink); }
.pod__sub { margin-top: 14px; font-family: var(--voice); font-size: clamp(1.3125rem, 1.05rem + .8vw, 1.75rem); line-height: 1.3; color: #fff; }
.pod__text { max-width: 36rem; margin-top: 22px; }
.pod__text a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; transition: text-decoration-color 200ms; }
@media (hover: hover) and (pointer: fine) { .pod__text a:hover { text-decoration-color: #fff; } }
.pod__listen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pod__ripple { position: absolute; left: 50%; top: 4%; z-index: -1; width: 200%; max-width: none; transform: translateX(-50%); opacity: .16; -webkit-mask-image: radial-gradient(closest-side at 50% 100%, #000 30%, transparent); mask-image: radial-gradient(closest-side at 50% 100%, #000 30%, transparent); }
.pod__mic { position: relative; z-index: 1; width: clamp(160px, 15vw, 220px); filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .55)); }
.meter { position: absolute; left: 0; right: 0; bottom: 8%; z-index: 0; }
.meter svg { width: 100%; height: auto; overflow: visible; }
.meter line { stroke: rgba(195, 208, 221, .5); stroke-width: 3; transform-box: fill-box; transform-origin: 50% 50%; }
.meter line.is-signal { stroke: var(--signal); }
.js .meter:not(.is-drawn) line { transform: scaleY(0); }
.meter.is-drawn line { transition: transform 800ms var(--ease-out) calc(var(--i) * 22ms); }
.meter.is-playing line { animation: level 640ms var(--ease-in-out) calc(var(--i) * -97ms) infinite alternate; }
@keyframes level { from { transform: scaleY(1); } to { transform: scaleY(.28); } }
.pod__eps h3 { margin-bottom: 6px; font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--on-ink-2); }
.eps li + li { border-top: 1px solid var(--ink-line); }
.eps a { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 6px 16px; align-items: start; padding: 18px 0; }
.eps__play { grid-row: span 2; width: 42px; height: 42px; padding: 12px; border: 1.5px solid rgba(195, 208, 221, .35); border-radius: 50%; color: #fff; fill: currentColor; stroke: none; transition: background-color 200ms, border-color 200ms, color 200ms; }
.eps__title { color: #fff; font-weight: 600; line-height: 1.35; }
.eps__meta { display: flex; gap: 18px; font-size: .875rem; color: var(--on-ink-2); }
@media (hover: hover) and (pointer: fine) { .eps a:hover .eps__play { border-color: var(--signal); background: var(--signal); color: var(--ink); } }
@media (max-width: 960px) {
  .pod__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "visual" "eps"; }
  .pod__visual { min-height: 480px; }
}

/* ==========================================================================
   BLOG: covers drawn from the same grammar
   ========================================================================== */
.posts { background: var(--white); }
.posts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.post a { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.post__cover { display: block; overflow: hidden; aspect-ratio: 5 / 3; border-radius: var(--r-l); }
.post__cover svg { width: 100%; height: 100%; transition: transform 900ms var(--ease-out); }
.post__cover--ink { background: var(--ink); }
.post__cover--mist { background: var(--mist); }
.post__cover--porcelain { border: 1px solid var(--rule); background: var(--porcelain); }
.post__meta { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: .875rem; color: var(--muted); }
.post__cat { padding: 3px 11px; border: 1px solid var(--rule); border-radius: 999px; font-weight: 600; color: var(--ink); }
.post__title { font-family: var(--display); font-size: 1.3125rem; font-weight: var(--dw); line-height: 1.3; letter-spacing: calc(-.014em * var(--tk)); transition: color 200ms; }
.post__more { margin-top: auto; }
@media (hover: hover) and (pointer: fine) { .post a:hover .post__cover svg { transform: scale(1.05); } }
.cv-stem { stroke: rgba(195, 208, 221, .2); stroke-width: 2; }
.cv-spam { stroke: rgba(195, 208, 221, .75); stroke-width: 2; }
.cv-you { stroke: #fff; stroke-width: 3; }
.cv-peak { fill: none; stroke: var(--signal); stroke-width: 9; }
.cv-ripple { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.cv-pin { stroke: var(--ink); stroke-width: 3; }
.cv-dot { fill: var(--ink); }
.cv-handset { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.cv-call { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 4 5; }
.cv-beam { stroke: var(--ink); stroke-width: 2.5; }
.cv-lead { stroke: var(--rule-strong); stroke-width: 3; }
.cv-lead.is-qualified { stroke: var(--ink); }
.cv-threshold { stroke: var(--signal); stroke-width: 2; stroke-dasharray: 6 6; }
@media (max-width: 960px) {
  .posts__list { grid-template-columns: minmax(0, 1fr); }
  .post a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto auto 1fr; column-gap: 24px; }
  .post__cover { grid-row: span 3; }
}
@media (max-width: 560px) {
  .post a { display: flex; }
}

/* ==========================================================================
   CONTACT: the intake desk under navy, a white form card, a drawn success
   ========================================================================== */
.contact { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(96px, 11vw, 168px); background: var(--ink); color: var(--on-ink); }
.contact__photo { position: absolute; inset: 0; z-index: -3; }
.contact__photo picture { display: block; height: 100%; }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(3, 17, 29, .95) 0%, rgba(5, 27, 46, .86) 46%, rgba(5, 27, 46, .62) 100%); }
.contact::after { z-index: -1; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 112px); align-items: center; }
.contact h2 { color: #fff; }
.contact h2 span { display: block; }
.contact__copy > p { max-width: 32rem; margin-top: 22px; font-size: var(--fs-lede); }
.contact__call { display: inline-flex; align-items: center; gap: 16px; margin-top: 40px; color: #fff; }
.contact__call .ic { width: 56px; height: 56px; padding: 16px; border-radius: 50%; background: var(--signal); color: var(--ink); transition: transform 300ms var(--ease-out), background-color 200ms; }
.contact__call span { display: grid; font-size: .875rem; color: var(--on-ink); }
.contact__call strong { font-family: var(--display); font-size: clamp(1.625rem, 1.25rem + 1vw, 2.125rem); font-weight: var(--dw); letter-spacing: calc(-.015em * var(--tk)); color: #fff; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .contact__call:hover .ic { transform: rotate(-12deg); background: var(--signal-hover); } }
.contact__points { display: grid; gap: 12px; margin-top: 40px; }
.contact__points li { display: flex; align-items: center; gap: 12px; }
.contact__points .ic { width: 20px; height: 20px; color: var(--signal-on-ink); }

.form-card { position: relative; padding: clamp(26px, 3vw, 44px); border-radius: var(--r-l); background: #fff; color: var(--ink); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); }
.form__title { font-family: var(--display); font-size: 1.625rem; font-weight: var(--dw); letter-spacing: calc(-.02em * var(--tk)); line-height: 1.2; }
.form__req { margin: 6px 0 24px; font-size: .8125rem; color: var(--muted); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { position: relative; }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea { display: block; width: 100%; padding: 25px 16px 9px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--porcelain); font-size: 1rem; line-height: 1.4; transition: border-color 200ms, background-color 200ms, box-shadow 200ms; }
.field textarea { min-height: 116px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 1rem; line-height: 1.4; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform 220ms var(--ease-out), color 200ms; }
.field :is(input, textarea):focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(5, 27, 46, .08); }
.field :is(input, textarea):is(:focus, :not(:placeholder-shown)) + label { color: var(--slate); transform: translateY(-11px) scale(.76); }
.field :is(input, textarea)[aria-invalid="true"] { border-color: var(--error); }
.req { margin-left: 2px; color: var(--signal-text); }
.field__err { margin-top: 6px; font-size: .8125rem; color: var(--error); }
.consent-field { margin: 20px 0 24px; }
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; cursor: pointer; }
.check input { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: 0; opacity: 0; }
.check__box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--rule-strong); border-radius: 6px; transition: background-color 200ms, border-color 200ms; }
.check__box .ic { width: 15px; height: 15px; color: #fff; stroke-width: 2.6; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 320ms var(--ease-out); }
.check input:checked + .check__box { border-color: var(--ink); background: var(--ink); }
.check input:checked + .check__box .ic { stroke-dashoffset: 0; }
.check input:focus-visible + .check__box { outline: 2px solid var(--signal); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--error); }
.form-done { display: grid; justify-items: center; gap: 14px; padding: 36px 8px; text-align: center; }
.form-done[hidden] { display: none; }
.form-done:focus { outline: none; }
.form-done__mark { width: 104px; height: 104px; overflow: visible; margin-bottom: 8px; }
.fd-line { stroke: var(--ink); stroke-dasharray: 1; stroke-dashoffset: 1; }
.fd-peak { stroke: var(--signal); opacity: 0; transform: translateY(-24px); }
.form-done.is-shown .fd-line { stroke-dashoffset: 0; transition: stroke-dashoffset 700ms var(--ease-out) calc(120ms + var(--d) * 160ms); }
.form-done.is-shown .fd-peak { opacity: 1; transform: none; transition: opacity 300ms var(--ease-out) 720ms, transform 700ms var(--ease-spring) 720ms; }
.form-done__title { font-family: var(--display); font-size: 1.875rem; font-weight: var(--dw); letter-spacing: calc(-.024em * var(--tk)); }
.form-done p:not(.form-done__title) { max-width: 26rem; color: var(--slate); }
.form-done .btn { margin-top: 10px; }
@media (max-width: 960px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .form__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   FOOTER: a colonnade edge
   ========================================================================== */
.footer { position: relative; padding-top: clamp(96px, 10vw, 144px); background: var(--ink-deep); color: var(--on-ink); font-size: .9375rem; }
.footer__colonnade { position: absolute; left: 0; right: 0; top: 0; height: 64px; background: url("../tex/colonnade.svg") 50% 0 / 48px 96px repeat-x; opacity: .2; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) minmax(0, 1.4fr); gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--ink-line); }
.footer__logo { width: 200px; height: auto; color: #fff; }
.footer__tag { margin-top: 18px; }
.footer__phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 600; color: #fff; }
.footer__phone .ic { width: 18px; height: 18px; color: var(--signal-on-ink); }
.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__h { margin-bottom: 14px; font-weight: 600; color: #fff; }
.footer__nav li + li { margin-top: 9px; }
.news label { display: block; margin-bottom: 16px; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; color: #fff; }
.news__row { display: flex; align-items: center; gap: 10px; padding: 5px 5px 5px 18px; border: 1px solid rgba(195, 208, 221, .2); border-radius: 999px; background: var(--ink-2); transition: border-color 200ms; }
.news__row:focus-within { border-color: var(--on-ink); }
.news__row > .ic { width: 18px; height: 18px; color: var(--on-ink-2); }
.news__row input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; color: #fff; outline: none; }
.news__row input::placeholder { color: var(--on-ink-2); }
.news__row .btn { min-height: 44px; }
.news__msg { margin-top: 10px; font-size: .875rem; }
.footer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 44px; padding: 40px 0; border-bottom: 1px solid var(--ink-line); }
.footer__badges img { width: auto; max-height: 44px; opacity: .88; }
.footer__base { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 28px 0; font-size: .875rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__cookie { font-size: inherit; }
.footer__social { display: flex; gap: 8px; margin-left: auto; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(195, 208, 221, .22); border-radius: 50%; color: #fff; transition: background-color 200ms, border-color 200ms, color 200ms; }
.footer__social .ic { width: 18px; height: 18px; }
.footer__concept { max-width: 72rem; padding: 24px 0 44px; border-top: 1px solid var(--ink-line); font-size: .8125rem; color: var(--on-ink-2); }
.footer__concept a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .footer a:hover, .footer__cookie:hover { color: #fff; }
  .footer__social a:hover { border-color: var(--signal); background: var(--signal); color: var(--ink); }
}
@media (max-width: 960px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__social { margin-left: 0; }
}

/* ---------- Back to top: an arch that fills as you read ---------- */
.totop {
  position: fixed;
  right: clamp(16px, 2.4vw, 32px);
  bottom: clamp(16px, 2.4vw, 32px);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 54px;
  height: 62px;
  border-radius: 9999px 9999px 12px 12px;
  background: rgba(5, 27, 46, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(195, 208, 221, .12), 0 16px 34px -14px rgba(3, 17, 29, .7);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 300ms var(--ease-out), transform 450ms var(--ease-out);
}
.totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.totop:active { transform: scale(.95); }
.totop svg { width: 30px; height: 35px; overflow: visible; }
.totop__track, .totop__fill { fill: none; stroke-width: 2.25; }
.totop__track { stroke: rgba(195, 208, 221, .22); }
.totop__fill { stroke: var(--signal); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.totop__peak { fill: none; stroke: #fff; stroke-width: 11; transition: translate 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .totop:hover .totop__peak { translate: 0 -3px; } }

/* ==========================================================================
   COOKIE CONSENT (from the skill, retuned to these tokens; the peak replaces the star)
   ========================================================================== */
.consent {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  z-index: 90;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 24px;
  border-radius: var(--r-l);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(5, 27, 46, .08), 0 28px 56px -24px rgba(5, 27, 46, .55);
  opacity: 0;
  transform: translateY(16px) scale(.97);
  transform-origin: 100% 100%;
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
}
.consent[hidden] { display: none; }
.consent.is-open { opacity: 1; transform: none; transition: opacity 320ms var(--ease-out), transform 560ms var(--ease-drawer); }
.consent.is-leaving { opacity: 0; transform: translateY(40px); transition: opacity 440ms cubic-bezier(.4, 0, .2, 1), transform 560ms cubic-bezier(.4, 0, .2, 1); }
.consent__head, .consent__text, .consent__manage, .consent__actions { opacity: 0; transform: translateY(8px); }
.consent.is-open :is(.consent__head, .consent__text, .consent__manage, .consent__actions),
.consent.is-leaving :is(.consent__head, .consent__text, .consent__manage, .consent__actions) { opacity: 1; transform: none; }
.consent.is-open :is(.consent__head, .consent__text, .consent__manage, .consent__actions) { transition: opacity 360ms var(--ease-out) calc(90ms + var(--i, 0) * 50ms), transform 480ms var(--ease-out) calc(90ms + var(--i, 0) * 50ms); }
.consent__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.consent__mark { flex: none; width: 18px; height: 16px; color: var(--signal); opacity: 0; transform: translateY(-8px); }
.consent.is-open .consent__mark, .consent.is-leaving .consent__mark { opacity: 1; transform: none; }
.consent.is-open .consent__mark { transition: transform 620ms var(--ease-spring) 160ms, opacity 280ms var(--ease-out) 160ms; }
.consent__title { font-size: 1.25rem; line-height: 1.2; letter-spacing: calc(-.015em * var(--tk)); }
.consent__title:focus { outline: none; }
.consent__close { display: none; position: relative; flex: none; width: 36px; height: 36px; margin: -6px -10px -6px auto; border-radius: 50%; color: var(--muted); transition: background-color .2s, color .2s, transform 160ms var(--ease-out); }
.consent.can-dismiss .consent__close { display: block; }
.consent__close:active { transform: scale(.92); }
.consent__close span, .consent__close span::before { position: absolute; left: 11px; top: 17px; width: 14px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.consent__close span::before { content: ""; left: 0; top: 0; transform: rotate(90deg); }
.consent__text { font-size: .9375rem; line-height: 1.55; color: var(--slate); }
.consent__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.consent__manage { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 8px 0; font-size: .9375rem; font-weight: 600; color: var(--signal-text); }
.consent__manage svg { width: 12px; height: 12px; transition: transform 260ms var(--ease-in-out); }
.consent.is-expanded .consent__manage svg { transform: rotate(180deg); }
.consent__prefs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 240ms var(--ease-in-out); }
.consent.is-expanded .consent__prefs { grid-template-rows: 1fr; transition-duration: 380ms; }
.consent__prefs-inner { min-height: 0; overflow: hidden; margin: 0 -4px; padding: 0 4px; }
.consent__row, .consent__save { opacity: 0; transform: translateY(6px); transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out); }
.consent.is-expanded :is(.consent__row, .consent__save) { opacity: 1; transform: none; transition: opacity 300ms var(--ease-out) calc(70ms + var(--i, 0) * 40ms), transform 420ms var(--ease-out) calc(70ms + var(--i, 0) * 40ms); }
.consent__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.consent__label { font-size: 1rem; font-weight: 600; }
label.consent__label { cursor: pointer; }
.consent__row p { grid-column: 1 / -1; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.consent__always { font-size: .875rem; font-weight: 600; color: var(--slate); }
.consent__save { padding: 6px 0 4px; }
.consent__switch { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 44px; height: 26px; margin: 0; border-radius: 13px; background: #C3CAD6; cursor: pointer; transition: background-color 200ms var(--ease-out); }
.consent__switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(5, 27, 46, .3); transition: transform 220ms var(--ease-out), width 160ms var(--ease-out); }
.consent__switch:checked { background: var(--ink); }
.consent__switch:checked::before { transform: translateX(18px); }
.consent__switch:active::before { width: 24px; }
.consent__switch:checked:active::before { transform: translateX(14px); }
.consent__switch:focus-visible { border-radius: 13px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
@media (hover: hover) and (pointer: fine) { .consent__close:hover { background: var(--porcelain); color: var(--ink); } }
@media (max-width: 600px) {
  .consent { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; max-height: calc(100dvh - 24px); padding: 18px 20px 20px; transform: translateY(calc(100% + 24px)); transform-origin: 50% 100%; transition: opacity 260ms var(--ease-out), transform 300ms var(--ease-out); }
  .consent.is-leaving { transform: translateY(calc(100% + 24px)); }
}

/* ?static: for reviews and screenshots, nothing moves and everything is shown */
.static *, .static *::before, .static *::after { transition: none !important; animation: none !important; }

/* ==========================================================================
   REDUCED MOTION: gentler, not zero. Fades stay; nothing travels, grows,
   tilts or follows the pointer.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal].is-in { transform: none; }
  .js [data-reveal].is-in { transition: opacity 500ms linear var(--d, 0ms); }
  .js [data-wipe], .js .is-in [data-wipe] { clip-path: none; }
  .js [data-wipe] picture { transform: none; }
  /* the hero fades in place; the city holds still (no drift, cars or travelling lights) */
  .js .hero :is(.hero__kicker, .hero__title, .hero__body, .hero__facts li), .js .cy-ui { transform: none; }
  .hero__grid--lit { display: none; }
  .js .meter:not(.is-drawn) line { transform: none; }
  .meter.is-playing line { animation: none; }
  .case__link:hover .case__img img, .post a:hover .post__cover svg, .ticket a:hover .ticket__stub { transform: none; }
  .tablet__reel { transition: opacity 0s; }
  .nav__peak, .mmenu__list > li, .mmenu__foot, .consent, .consent *, .site-header { transform: none !important; }
  .mmenu, .mmenu.is-open { clip-path: none; transition: opacity 300ms, visibility 0s; opacity: 0; }
  .mmenu.is-open { opacity: 1; }
  .link:hover { animation: none; }
}
