/* ============================================================
   css/sections.css — page sections below the stats strip, in
   page order: 01 work · 02 automation · 03 AI employee + 04 custom
   tools (headers + hosts only — the modules style themselves in
   css/ai-employee.css / css/tools.css) · 05 services (paper) ·
   06 about · 07 process · 08 skills · 09 proof (highlights block:
   css/highlights.css) · 10 faq · contact · footer · service modal.

   v2 look (REDESIGN_V2 §1–§2): native system type, sentence case,
   neat BrewedOps-like cards (panel · 1px line · radius 22 · soft
   layered shadow · −3px hover lift), the brand gradient only on
   small accents. Every colour comes from the theme tokens in
   styles.css (light default, calm graphite dark) or from the
   section-scoped --sx-* tokens below, so both themes look
   intentional. Things that sit on top of photos/videos (overlay
   gradients, play buttons, captions) stay dark in both themes.
   ============================================================ */

/* ------------------------------------------------------------
   SECTION TOKENS (namespaced --sx-* so they never clash with core)
   ------------------------------------------------------------ */
:root, [data-theme="light"] {
  --sx-font: var(--sans, -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  --sx-accent: var(--accent, #c8136f);           /* small accent text (AA on --bg and --paper) */
  --sx-accent-soft: rgb(255 27 141 / .07);      /* tinted pills / icon wells */
  --sx-accent-line: rgb(200 19 111 / .22);
  --sx-shadow: var(--shadow-card, 0 1px 2px rgb(21 17 20 / .05), 0 12px 32px -18px rgb(21 17 20 / .18));
  --sx-shadow-hi: 0 2px 4px rgb(var(--fg-rgb, 21 17 20) / .05), 0 24px 48px -22px rgb(var(--fg-rgb, 21 17 20) / .26);
  --sx-shadow-xs: var(--shadow-sm, 0 1px 2px rgb(21 17 20 / .06));
  --sx-hover-line: rgb(var(--fg-rgb, 21 17 20) / .16);
  --sx-outline: rgb(var(--fg-rgb, 21 17 20) / .10);   /* PROOF / BUILDER / footer outline words */
  --sx-paper: var(--paper, #f2ede5);           /* the "What I do" band */
  --sx-photo-shadow: drop-shadow(0 34px 40px rgb(var(--fg-rgb, 21 17 20) / .16));
  --sx-cta-glow: 0 18px 40px -18px rgb(255 27 141 / .55);
  --sx-r: 22px;
}
[data-theme="dark"] {
  --sx-accent: var(--accent, #ff6aa6);
  --sx-accent-soft: rgb(255 27 141 / .10);
  --sx-accent-line: rgb(255 106 166 / .26);
  --sx-shadow: var(--shadow-card, 0 1px 2px rgb(0 0 0 / .35), 0 16px 36px -22px rgb(0 0 0 / .75));
  --sx-shadow-hi: 0 1px 2px rgb(0 0 0 / .4), 0 26px 50px -26px rgb(0 0 0 / .85);
  --sx-shadow-xs: var(--shadow-sm, none);
  --sx-hover-line: rgb(255 255 255 / .14);
  --sx-outline: rgb(var(--fg-rgb, 236 237 240) / .08);
  --sx-paper: var(--bg-soft, #121317);         /* calm: a raised graphite band, not a bright cream block */
  --sx-photo-shadow: drop-shadow(0 34px 44px rgb(0 0 0 / .55));
  --sx-cta-glow: 0 18px 40px -20px rgb(255 27 141 / .35);
}

/* shared bits used by several sections */
.wall-title, .facts dt, .smodal-body h4, .result-box .rl {
  font: 600 11.5px/1.3 var(--sx-font); letter-spacing: .12em; text-transform: uppercase;
}

/* ------------------------------------------------------------
   01 / SELECTED WORK — header row, filters, bento, archive
   ------------------------------------------------------------ */
.sh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters[hidden] { display: none; }
.fchip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 16px;
  border-radius: 99px; border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  font: 500 14px/1 var(--sx-font); letter-spacing: -.005em; cursor: pointer; white-space: nowrap;
  box-shadow: var(--sx-shadow-xs);
  transition: color .25s, border-color .25s, background-color .25s, transform .3s var(--ease);
}
.fchip:hover { color: var(--text); border-color: var(--sx-hover-line); }
.fchip:active { transform: scale(.97); }
.fchip-n {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px;
  font: 600 11.5px/1 var(--sx-font); font-variant-numeric: tabular-nums;
  background: rgb(var(--fg-rgb) / .06); color: var(--muted);
  transition: background-color .25s, color .25s;
}
.fchip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.fchip[aria-pressed="true"] .fchip-n { background: rgb(var(--bg-rgb) / .16); color: var(--bg); }
@media (max-width: 640px) {
  .filters {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
  }
  .filters::-webkit-scrollbar { display: none; }
  .fchip { scroll-snap-align: start; }
}

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.wcard {
  position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0;
  padding: 10px; border-radius: var(--sx-r); border: 1px solid var(--line); background: var(--panel);
  box-shadow: var(--sx-shadow); cursor: pointer; outline-offset: 4px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .3s var(--ease), border-color .3s;
}
.wcard[hidden] { display: none; }
.wcard[data-span="7"] { grid-column: span 7; }
.wcard[data-span="6"] { grid-column: span 6; }
.wcard[data-span="5"] { grid-column: span 5; }
.wcard::after {                 /* very soft pointer spotlight (work.js sets --x/--y) */
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 0%), rgb(255 27 141 / .05), transparent 65%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.wcard-open {
  font: inherit; color: inherit; letter-spacing: inherit; text-align: inherit;
  background: none; border: 0; padding: 0; cursor: pointer;
}
/* the whole card stays clickable via the click delegate in work.js; focus ring goes on the card */
.wcard-open:focus-visible { outline: none; }
.wcard:has(.wcard-open:focus-visible) { outline: 2px solid var(--g2); }
@media (hover: hover) {
  .wcard:hover { transform: translateY(-3px); box-shadow: var(--sx-shadow-hi); border-color: var(--sx-hover-line); }
  .wcard:hover::after { opacity: 1; }
}
.wcard-stage {
  position: relative; z-index: 1; flex: 1 0 auto; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: 14px;
  background: var(--bg-soft); border: 1px solid var(--line-soft);
}
.wcard[data-span="7"] .wcard-stage { aspect-ratio: 16 / 10; }
.wcard-demo { position: absolute; inset: 0; }
.wcard-ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  color: var(--muted); font: 600 15px/1.3 var(--sx-font); text-align: center; padding: 20px;
}
.wcard-ph-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-diag); color: var(--ink, #151114); box-shadow: 0 14px 30px -16px rgb(255 27 141 / .55);
}
.wcard-ph-ico .ico { width: 26px; height: 26px; }
.wcard.has-demo .wcard-ph { display: none; }
.wcard-foot {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 10px 8px;
}
.wcard-meta { min-width: 0; }
.wcard-title { font: 600 clamp(17px, 1.45vw, 20px)/1.25 var(--sx-font); letter-spacing: -.012em; margin: 6px 0 2px; }
.wcard-go {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  transition: background-color .3s, color .3s, border-color .3s, transform .45s var(--ease);
}
.wcard-go .ico { width: 18px; height: 18px; }
@media (hover: hover) {
  .wcard:hover .wcard-go { background: var(--text); border-color: var(--text); color: var(--bg); transform: translate(1px, -1px); }
}
.wcard.is-leaving { opacity: 0; transform: scale(.97); }
.wcard.is-entering { opacity: 0; transform: scale(.97) translateY(12px); transition: none; }
.bento.is-filtered .wcard { grid-column: 1 / -1; }
.bento.is-filtered .wcard-stage { aspect-ratio: auto; height: clamp(320px, 42vw, 540px); flex: none; }
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .wcard[data-span] { grid-column: auto; }
  .wcard[data-span] .wcard-stage { aspect-ratio: 4 / 3.2; }
  .bento.is-filtered .wcard { grid-column: 1 / -1; }
  .bento.is-filtered .wcard-stage { height: clamp(300px, 56vw, 480px); }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .wcard { padding: 8px; border-radius: 20px; }
  .wcard-stage { border-radius: 13px; }
  .wcard[data-span] .wcard-stage { aspect-ratio: 4 / 3.4; }
  .bento.is-filtered .wcard-stage { aspect-ratio: 4 / 3.4; height: auto; }
  .wcard-foot { padding: 16px 8px 6px; }
}

.archive { margin-top: clamp(56px, 8vw, 96px); }
.archive[hidden] { display: none; }
.archive-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 28px; margin-bottom: 24px; border-top: 1px solid var(--line);
}
.archive-title { font: 700 clamp(22px, 2.4vw, 30px)/1.15 var(--sx-font); letter-spacing: -.02em; }
.archive-grid { columns: 3 260px; column-gap: 20px; }
.archive-empty { color: var(--muted); }
.acard {
  position: relative; display: block; width: 100%; margin: 0 0 20px; padding: 0; break-inside: avoid;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--panel);
  box-shadow: var(--sx-shadow); color: inherit; text-align: left; cursor: pointer;
  transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.acard.is-featured { border-color: rgb(255 194 60 / .6); }
.acard-media { position: relative; display: block; background: var(--panel-2); }
.acard-media > img { width: 100%; height: auto; }
.acard-media[style] > img, .acard-media[style] > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--grad-diag); color: var(--ink, #151114); }
.media-ph .ico { width: 30px; height: 30px; }
/* media overlays below sit on photos/video — intentionally theme-independent */
.acard-play, .sthumb-play {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #151114; background: rgb(255 255 255 / .92);
  box-shadow: 0 10px 28px -10px rgb(0 0 0 / .55);
}
.acard-play .ico { width: 18px; height: 18px; margin-left: 3px; }
.acard-over {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 44px 16px 16px;
  color: #fff; background: linear-gradient(to top, rgb(10 10 12 / .9), rgb(10 10 12 / 0));
  opacity: 0; translate: 0 10px; transition: opacity .35s var(--ease), translate .45s var(--ease);
}
.acard-over b { font: 600 15px/1.3 var(--sx-font); letter-spacing: -.01em; }
.acard-cap { font-size: 13px; line-height: 1.45; color: rgb(255 255 255 / .82); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-sm {
  font: 700 10px/1 var(--sx-font); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px;
  color: #fff; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .2);
}
.chip-sm.is-star { background: #ffc23c; color: #151114; border-color: transparent; }
.acard:hover .acard-over, .acard:focus-visible .acard-over { opacity: 1; translate: 0 0; }
@media (hover: hover) { .acard:hover { border-color: var(--sx-hover-line); box-shadow: var(--sx-shadow-hi); transform: translateY(-3px); } }
@media (hover: none) { .acard-over { opacity: 1; translate: 0 0; } }

/* ------------------------------------------------------------
   02 / LIVE AUTOMATION — host for mountFlow() (+ static fallback)
   ------------------------------------------------------------ */
.automation { padding-bottom: clamp(128px, 15vw, 200px); }
/* centred ledes: no one-word orphan line ("…I've worked / with.") */
:is(.automation, .proof) .sh-sub { text-wrap: balance; }
.auto-host { position: relative; }
.auto-host:not(.is-mounted) { min-height: 360px; }
.auto-host.is-mounted .auto-ph { display: none; }
.auto-ph {
  display: grid; gap: 28px; justify-items: center; text-align: center;
  padding: clamp(24px, 4vw, 48px); border-radius: var(--sx-r); border: 1px solid var(--line);
  background: var(--panel); box-shadow: var(--sx-shadow);
}
.auto-ph-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; max-width: 900px; }
.auto-ph-steps li {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 13px/1 var(--sx-font); color: var(--text); padding: 10px 14px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--panel-2);
}
.auto-ph-steps li:not(:last-child)::after { content: "→"; color: var(--sx-accent); margin-left: 4px; }
.auto-ph-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; color: var(--muted); }

/* ------------------------------------------------------------
   03 / AI EMPLOYEE · 04 / CUSTOM TOOLS — section shells. The headers
   use the shared .sh pattern; #ai-host / #tools-host are filled by
   mountAIEmployee() / mountTools() (lazy, app.js). Until then (or if a
   module fails) a static pill list stands in, so the page never shows
   an empty hole and crawlers / no-JS readers still get the gist.
   ------------------------------------------------------------ */
.sec-ai .sh-sub, .sec-tools .sh-sub { text-wrap: balance; }
/* 02 / automation already ends with a deep bottom padding — don't double the gap */
.automation + .sec-ai { padding-top: clamp(24px, 4vw, 64px); }
.sec-ai .sh { max-width: 920px; }
.sec-host { position: relative; }
.sec-host:not(.is-mounted):not(.is-fallback) { min-height: 420px; }
/* with JS, reserve roughly the mounted height (measured: AI employee ≈1,590px at
   1440 → ≈2,570px at 390; tools ≈550 → ≈990px) so the lazy mount barely shifts the
   page below — app.js's jump guard re-aims any in-page jump for the rest */
html.js #ai-host:not(.is-mounted):not(.is-fallback) { min-height: 1500px; }
html.js #tools-host:not(.is-mounted):not(.is-fallback) { min-height: 520px; }
@media (max-width: 1199px) {
  html.js #ai-host:not(.is-mounted):not(.is-fallback) { min-height: 1650px; }
  html.js #tools-host:not(.is-mounted):not(.is-fallback) { min-height: 860px; }
}
@media (max-width: 899px) { html.js #ai-host:not(.is-mounted):not(.is-fallback) { min-height: 1950px; } }
@media (max-width: 599px) {
  html.js #ai-host:not(.is-mounted):not(.is-fallback) { min-height: 2400px; }
  html.js #tools-host:not(.is-mounted):not(.is-fallback) { min-height: 940px; }
}
.sec-host.is-mounted > .sec-ph { display: none; }
.sec-ph {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px;
  padding: clamp(24px, 4vw, 48px); border-radius: var(--sx-r); border: 1px solid var(--line);
  background: var(--panel); box-shadow: var(--sx-shadow);
}
.sec-ph li {
  font: 500 13px/1 var(--sx-font); color: var(--text); padding: 10px 14px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--panel-2);
}

/* ------------------------------------------------------------
   05 / WHAT I DO — the "paper" band (method + services).
   Light: a slightly deeper warm tone than the page. Dark: a
   raised graphite band with a hairline top edge (no cream block).
   ------------------------------------------------------------ */
.paper {
  z-index: 3; margin-top: -40px; border-radius: 36px 36px 0 0;
  background: var(--sx-paper); color: var(--text);
  box-shadow: 0 -1px 0 rgb(var(--fg-rgb) / .05);
  padding-bottom: clamp(128px, 15vw, 200px);
}
[data-theme="dark"] .paper { box-shadow: 0 -1px 0 var(--line); }
/* the warm paper tone is a touch darker than --bg: --accent / --muted-2 dip just under
   4.5:1 there, so small text in this band uses a deeper accent and --muted */
html:not([data-theme="dark"]) .paper { --sx-accent: #be0f69; }
.paper .sh-label { color: var(--sx-accent); }
.paper .mono-label { color: var(--muted); }

.method { margin-bottom: clamp(72px, 9vw, 112px); }
.method-label { margin-bottom: 14px; }
.method-title { font: 700 clamp(24px, 2.7vw, 34px)/1.15 var(--sx-font); letter-spacing: -.022em; max-width: 26ch; margin-bottom: 32px; text-wrap: balance; }
.method-row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.method-track {
  position: absolute; left: 8%; right: 8%; top: 50%; height: 0; z-index: 0;
  border-top: 1.5px dashed rgb(var(--fg-rgb) / .18);
}
.method-runner {
  position: absolute; left: 0; top: -1px; width: 100%; height: 0;
  animation: runX 4.6s var(--ease-io) infinite; animation-play-state: paused;
}
.method-row.in-view .method-runner { animation-play-state: running; }
html.motion-paused .method-row .method-runner { animation-play-state: paused; }
.method-runner::before {
  content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 4px var(--sx-accent-soft);
}
@keyframes runX { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes runY { from { transform: translateY(0); } to { transform: translateY(100%); } }
.mcard {
  position: relative; z-index: 1; overflow: hidden; padding: 26px; border-radius: var(--sx-r);
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--sx-shadow);
}
.mcard-num {
  position: absolute; top: 16px; right: 20px; pointer-events: none;
  font: 800 64px/1 var(--sx-font); letter-spacing: -.05em; font-variant-numeric: tabular-nums;
  color: rgb(var(--fg-rgb) / .06);
}
.mcard-title { font: 600 20px/1.2 var(--sx-font); letter-spacing: -.012em; margin: 20px 0 6px; }
.mcard-text { color: var(--muted); font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
@media (max-width: 760px) {
  .method-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .method-track { left: 50%; right: auto; top: 0; bottom: 0; height: auto; width: 0; border-top: 0; border-left: 1.5px dashed rgb(var(--fg-rgb) / .18); }
  .method-runner { left: -1px; top: 0; width: 0; height: 100%; animation-name: runY; }
}

.svc-label { margin-bottom: 18px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px; border-radius: var(--sx-r); background: var(--panel); border: 1px solid var(--line);
  box-shadow: var(--sx-shadow); cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.svc::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(360px circle at var(--x, 50%) var(--y, 0%), rgb(255 27 141 / .05), transparent 65%);
  opacity: 0; transition: opacity .4s;
}
@media (hover: hover) {
  .svc:hover { transform: translateY(-3px); box-shadow: var(--sx-shadow-hi); border-color: var(--sx-hover-line); }
  .svc:hover::after { opacity: 1; }
}
.svc-top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 20px; }
/* skill level (Expert / Advanced / Proficient) — a 3-step meter + the word */
.svc-level { display: inline-flex; align-items: center; gap: 8px; }
.svc-meter { display: inline-flex; gap: 3px; }
.svc-meter i { width: 14px; height: 4px; border-radius: 2px; background: var(--line); }
.svc-meter i.on { background: var(--grad); }
.svc-title { font: 600 20px/1.25 var(--sx-font); letter-spacing: -.012em; margin-bottom: 8px; }
.svc-title span {
  background: var(--grad) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px;
  transition: background-size .55s var(--ease);
}
.svc:hover .svc-title span { background-size: 100% 1.5px; }
.svc-sum { color: var(--muted); font-size: 15px; line-height: 1.55; margin-bottom: 16px; }
.svc-badge {
  font: 700 10.5px/1 var(--sx-font); letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 99px; margin-bottom: 18px;
  color: var(--sx-accent); background: var(--sx-accent-soft); border: 1px solid var(--sx-accent-line);
}
.svc .chips { margin-bottom: 22px; }
.svc-more {
  margin-top: auto; min-height: 44px; padding: 0 18px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 600 14px/1 var(--sx-font);
  transition: background-color .3s, color .3s, border-color .3s;
}
.svc:hover .svc-more, .svc-more:focus-visible { background: var(--text); border-color: var(--text); color: var(--bg); }
@media (max-width: 1023px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .svc, .mcard { padding: 22px; }
}

/* ------------------------------------------------------------
   06 / BEHIND THE WORK — full-body portrait (the .lens component
   from styles.css lives inside .about-photo) + story
   ------------------------------------------------------------ */
.about {
  z-index: 4; margin-top: -40px; border-radius: 36px 36px 0 0; background: var(--bg); overflow-x: clip;
}
[data-theme="dark"] .about { box-shadow: 0 -1px 0 var(--line); }
.about-grid { display: grid; grid-template-columns: 45fr 55fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-fig {
  --fig-h: clamp(440px, 50vw, 680px); --fig-w: calc(var(--fig-h) * 461 / 1458);
  position: relative; margin: 0; display: flex; justify-content: center;
}
.about-word {
  position: absolute; top: 46%; left: 50%; z-index: 0; translate: -50% calc(-50% + var(--py, 0px));
  font: 800 min(10.5vw, 9.5rem)/.8 var(--sx-font); letter-spacing: -.05em; white-space: nowrap;
  pointer-events: none; user-select: none;
  color: transparent; -webkit-text-stroke: 1.5px var(--sx-outline);
}
.about-photo { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; }
/* the portrait itself (plain <img> or the .lens wrapper) — never the callouts */
.about-photo > img, .about-photo > .lens { height: var(--fig-h); width: auto; filter: var(--sx-photo-shadow); }
.about-photo > .lens { aspect-ratio: 461 / 1458; }
/* size the lens's base image to the figure box (the lens internals stay in styles.css) */
.about-photo > .lens > .lens-base { width: 100%; height: 100%; }
.callouts { position: absolute; inset: 0; pointer-events: none; }
.co { position: absolute; top: var(--y); display: flex; align-items: center; translate: 0 -50%; }
.co--l { left: 0; right: calc(50% + var(--reach) * var(--fig-w)); }
.co--r { right: 0; left: calc(50% + var(--reach) * var(--fig-w)); flex-direction: row-reverse; }
.co-label {
  flex: 0 1 auto; max-width: 168px; padding: 7px 12px; border-radius: 99px;
  font: 600 12px/1.3 var(--sx-font); letter-spacing: -.005em; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--sx-shadow);
  opacity: 0; transition: opacity .6s var(--ease) calc(var(--cd, 0s) + .55s);
}
.co-line {
  flex: 1 1 24px; min-width: 24px; height: 1px; transform-origin: right center; transform: scaleX(0);
  background: linear-gradient(90deg, rgb(var(--fg-rgb) / .22), var(--sx-accent));
  transition: transform .9s var(--ease) var(--cd, 0s);
}
.co--r .co-line { transform-origin: left center; background: linear-gradient(270deg, rgb(var(--fg-rgb) / .22), var(--sx-accent)); }
.co-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sx-accent); box-shadow: 0 0 0 4px var(--sx-accent-soft); }
.co:nth-child(1) { --cd: .2s; } .co:nth-child(2) { --cd: .35s; } .co:nth-child(3) { --cd: .5s; }
.co:nth-child(4) { --cd: .65s; } .co:nth-child(5) { --cd: .8s; }
.about-fig.is-in .co-line, html:not(.js) .co-line { transform: scaleX(1); }
.about-fig.is-in .co-label, html:not(.js) .co-label { opacity: 1; }
/* < 1024px: callouts become a chip row under the photo */
@media (max-width: 1023px) {
  .callouts { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
  .co { position: static; translate: none; }
  .co-line, .co-dot { display: none; }
  .co-label { max-width: none; opacity: 1; padding: 8px 13px; box-shadow: var(--sx-shadow-xs); }
}
/* phones: the fixed widgets (soundtrack, assistant, tab bar) would sit on the chip row */
@media (max-width: 767px) { .callouts { display: none; } }
.about-copy > p:not(.signature) { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin-bottom: 16px; max-width: 60ch; }
.pull {
  margin: 32px 0; padding: 2px 0 2px 20px; border-left: 2px solid var(--g2);
  border-image: linear-gradient(180deg, var(--g1), var(--g2), var(--g3)) 1;
}
.pull p { font: 600 clamp(19px, 1.8vw, 23px)/1.35 var(--sx-font); letter-spacing: -.016em; color: var(--text); max-width: 34ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin: 28px 0 22px; border-top: 1px solid var(--line); }
.facts div { padding: 15px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts dt { color: var(--muted-2); margin-bottom: 6px; }
.facts dd { font-weight: 600; font-size: 15px; }
.signature {
  display: inline-block; font: 700 19px/1.2 var(--sx-font); letter-spacing: -.01em; padding: 0 .1em .1em 0;
  background: var(--grad-text, var(--grad)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 899px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-fig { --fig-h: clamp(380px, 110vw, 520px); }
}
@media (max-width: 640px) {
  .about { border-radius: 28px 28px 0 0; }
  .about-fig { --fig-h: 440px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------
   07 / HOW I WORK — sticky intro + rail, steps light up by scroll.
   Only the big number dims; the copy keeps AA contrast throughout.
   ------------------------------------------------------------ */
.process-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.process-side { position: sticky; top: 18vh; }
.process-rail { display: flex; align-items: center; gap: 16px; }
.process-track { position: relative; width: 2px; height: 160px; border-radius: 2px; background: var(--line); overflow: hidden; }
.process-fill {
  position: absolute; inset: 0; transform-origin: top; transform: scaleY(0);
  background: linear-gradient(180deg, var(--g1), var(--g2), var(--g3));
}
.process-now b { color: var(--text); font-weight: 700; }
.process-list { position: relative; }
.process-line { display: none; }
.pstep { display: flex; gap: clamp(18px, 3vw, 40px); align-items: flex-start; min-height: 38vh; padding: 5vh 0; }
.pstep-num {
  flex: none; min-width: 1.2em; font: 800 clamp(64px, 7.5vw, 112px)/.85 var(--sx-font);
  letter-spacing: -.055em; font-variant-numeric: tabular-nums;
  color: transparent; -webkit-text-stroke: 1.5px rgb(var(--fg-rgb) / .16);
  transition: -webkit-text-stroke-color .6s var(--ease);
}
.pstep.is-active .pstep-num {
  background: var(--grad-text, var(--grad)); -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke-color: transparent;
}
.pstep-body { padding-top: .35em; min-width: 0; }
.pstep-title { font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--sx-font); letter-spacing: -.02em; color: var(--muted); transition: color .5s var(--ease); }
.pstep.is-active .pstep-title { color: var(--text); }
.pstep-sub { font-weight: 600; font-size: 16px; color: var(--text); margin: 8px 0 6px; }
.pstep-text { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 46ch; }
@media (prefers-reduced-motion: reduce) { .pstep-title { color: var(--text); } }
@media (max-width: 899px) {
  .process-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .process-side { position: static; }
  .process-rail { display: none; }
  .process-line { display: block; position: absolute; left: 13px; top: 18px; bottom: 40px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
  .pstep { position: relative; flex-direction: column; gap: 6px; min-height: 0; padding: 0 0 40px 46px; }
  .pstep::before {
    content: ""; position: absolute; left: 6px; top: 10px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--line); transition: border-color .4s, background-color .4s, box-shadow .4s;
  }
  .pstep.is-active::before { border-color: var(--g1); background: var(--g1); box-shadow: 0 0 0 5px var(--sx-accent-soft); }
  .pstep-num { font-size: 52px; }
  .pstep-body { padding-top: 0; }
}

/* ------------------------------------------------------------
   08 / BEYOND THE SERVICES — industries marquee, "Also on request"
   ------------------------------------------------------------ */
.industries .sub-title { margin-bottom: 24px; }
.sub-title { font: 700 clamp(24px, 2.8vw, 36px)/1.12 var(--sx-font); letter-spacing: -.022em; margin-bottom: 10px; text-wrap: balance; }
.ind-rows {
  display: grid; gap: 12px; padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ind-row { display: flex; gap: 10px; overflow: hidden; padding-block: 2px 4px; }
.ind-track { display: flex; flex: none; gap: 10px; animation: indX 52s linear infinite; animation-play-state: paused; }
.ind-row.is-rev .ind-track { animation-direction: reverse; animation-duration: 60s; }
.industries.in-view .ind-track { animation-play-state: running; }
.industries .ind-row:hover .ind-track, html.motion-paused .industries .ind-track { animation-play-state: paused; }
@keyframes indX { to { transform: translateX(calc(-100% - 10px)); } }
.ind-chip {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 7px 16px 7px 7px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel);
  box-shadow: var(--sx-shadow-xs); font: 500 14.5px/1.2 var(--sx-font); transition: border-color .3s;
}
.ind-chip:hover { border-color: var(--sx-hover-line); }
/* reduced motion: no marquee — the chips wrap into a static, fully visible list */
@media (prefers-reduced-motion: reduce) {
  .ind-rows { -webkit-mask-image: none; mask-image: none; }
  .ind-row { flex-wrap: wrap; overflow: visible; }
  .ind-track { flex: 1 1 100%; flex-wrap: wrap; animation: none !important; }
  .ind-track[aria-hidden="true"] { display: none; }
}
.ind-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sx-accent-soft); color: var(--sx-accent); }
.ind-svg { width: 16px; height: 16px; }

.more { margin-top: clamp(64px, 8vw, 104px); }
.more-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.more-list li {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 10px 16px 10px 13px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--panel); box-shadow: var(--sx-shadow-xs); color: var(--text); font-size: 14.5px; line-height: 1.4;
}
.more-list .ico { width: 15px; height: 15px; color: var(--sx-accent); }

/* ------------------------------------------------------------
   09 / PROOF — outline word, trust pills, video spotlight + reel,
   wall of love (review screenshots)
   ------------------------------------------------------------ */
.proof { overflow-x: clip; }
.proof-word {
  position: absolute; top: clamp(40px, 6vw, 96px); left: 50%; z-index: 0; translate: -50% var(--py, 0px);
  font: 800 min(19vw, 18rem)/.8 var(--sx-font); letter-spacing: -.055em; white-space: nowrap;
  pointer-events: none; user-select: none;
  color: transparent; -webkit-text-stroke: 1.5px var(--sx-outline);
}
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(48px, 6vw, 80px); }
.trust li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--panel); box-shadow: var(--sx-shadow-xs);
  font-size: 14px; color: var(--muted);
}
.trust b { font: 700 15px/1 var(--sx-font); letter-spacing: -.01em; color: var(--text); }
.wall-title { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; color: var(--muted); }
.wall-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

.trust .cu { display: inline-block; font-variant-numeric: tabular-nums; text-align: right; }
.stars { color: #ffc23c; letter-spacing: 2px; font-size: 12px; }
.verified {
  font: 600 10.5px/1 var(--sx-font); letter-spacing: .01em; padding: 5px 8px; border-radius: 99px; white-space: nowrap;
  background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .18);
}

/* ---- Video testimonials: spotlight + reel (js/proof.js) ----
   The player is a media tile: dark in both themes (the footage sets
   the tone). On phones the copy moves under the video onto a panel. */
.spot { --spot-ms: 8s; margin-bottom: clamp(56px, 7vw, 96px); }
.spot[hidden] { display: none; }
.spot-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 24px;
  border: 1px solid var(--line); background: #0f1013; box-shadow: var(--sx-shadow-hi);
}
.spot-stage {
  position: relative; aspect-ratio: 16 / 8.4; max-height: min(600px, 66vh); width: 100%; overflow: hidden; cursor: pointer;
  touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
  background: radial-gradient(120% 100% at 50% 0%, #26282e, #0f1013);
}
.spot-layer { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .9s var(--ease); }
.spot-layer.is-front { z-index: 2; opacity: 1; }
.spot-layer.is-back { z-index: 1; opacity: 1; transition: opacity 0s .9s; }  /* stays under the incoming one, then drops */
.spot-layer > video, .spot-layer > img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.spot-layer > .media-ph, .reel-thumb > .media-ph {
  position: absolute; inset: 0; display: grid; place-items: center; color: rgb(255 255 255 / .42);
  background: radial-gradient(90% 120% at 30% 0%, rgb(255 27 141 / .22), transparent 60%), radial-gradient(120% 100% at 50% 0%, #26282e, #111216);
}
.spot-layer > .media-ph .ico { width: 40px; height: 40px; }
/* is-back keeps the same animation so the outgoing frame doesn't snap to scale 1 mid-fade */
.spot-layer.is-front > video, .spot-layer.is-front > img,
.spot-layer.is-back > video, .spot-layer.is-back > img { animation: spotDrift 11s var(--ease) both; }
@keyframes spotDrift { from { transform: scale(1.055); } to { transform: scale(1); } }
.spot-shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(to top, rgb(10 10 12 / .9) 0%, rgb(10 10 12 / .55) 24%, rgb(10 10 12 / 0) 52%),
    linear-gradient(to bottom, rgb(10 10 12 / .42), rgb(10 10 12 / 0) 24%);
}
.spot-top {
  position: absolute; z-index: 4; top: 16px; left: 16px; right: 16px; pointer-events: none;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.spot-tag, .spot-live {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px;
  font: 700 10.5px/1 var(--sx-font); letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: rgb(10 10 12 / .45); border: 1px solid rgb(255 255 255 / .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.spot-tag[hidden] { display: none; }
.spot-chips { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.spot-live { letter-spacing: .04em; text-transform: none; font-weight: 600; font-size: 11.5px; opacity: 0; translate: 0 -4px; transition: opacity .4s, translate .4s var(--ease); }
.spot-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 0 0 rgb(255 77 109 / .5); animation: spotDot 1.8s infinite; }
.spot.is-previewing .spot-live { opacity: 1; translate: 0 0; }
@keyframes spotDot { 70% { box-shadow: 0 0 0 7px rgb(255 77 109 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 77 109 / 0); } }
.spot-pause {
  pointer-events: auto; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%;
  color: #fff; cursor: pointer; background: rgb(10 10 12 / .45); border: 1px solid rgb(255 255 255 / .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .25s, scale .3s var(--ease);
}
.spot-pause .ico { width: 14px; height: 14px; }
.spot-pause:hover { background: rgb(10 10 12 / .7); scale: 1.06; }
.spot.is-still .spot-pause, .spot.is-still .spot-live { display: none; }
.spot.is-user-paused .spot-live { opacity: 0; }

.spot-body {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; pointer-events: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.6vw, 34px); color: #fff;
}
.spot-body > * { pointer-events: auto; }
.spot-info { min-width: 0; max-width: 42rem; }
.spot-txt { animation: spotIn .65s var(--ease) both; }
@keyframes spotIn { from { opacity: 0; transform: translateY(10px); } }
.spot-cap {
  font: 650 clamp(19px, 2vw, 28px)/1.22 var(--sx-font); letter-spacing: -.022em; text-wrap: balance;
  text-shadow: 0 1px 14px rgb(0 0 0 / .45);
}
.spot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.spot-meta .stars { font-size: 13px; }
.spot-count { font: 600 12px/1 var(--sx-font); letter-spacing: .06em; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / .72); }
.spot-play {
  flex: none; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 24px 0 8px; border: 0; border-radius: 99px;
  font: 650 15px/1 var(--sx-font); letter-spacing: -.01em; color: #151114; background: #fff; cursor: pointer;
  box-shadow: 0 16px 36px -16px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .2);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.spot-play-ico {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-diag); color: #151114;
}
.spot-play-ico .ico { width: 15px; height: 15px; margin-left: 2px; }
.spot-play-ico::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgb(255 27 141 / .45); animation: spotRing 2.6s var(--ease) infinite; }
@keyframes spotRing { 0% { box-shadow: 0 0 0 0 rgb(255 27 141 / .45); } 70%, 100% { box-shadow: 0 0 0 12px rgb(255 27 141 / 0); } }
.spot.is-still .spot-play-ico::after, html.motion-paused .spot-play-ico::after, .spot:not(.is-previewing) .spot-play-ico::after { animation: none; }
html.motion-paused .spot-live i { animation: none; }
@media (hover: hover) {
  .spot-play:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgb(0 0 0 / .75), 0 0 0 1px rgb(255 255 255 / .3); }
  .spot-stage:hover .spot-layer.is-front > * { filter: brightness(1.04); }
}
.spot-play:active { transform: scale(.98); }
.spot-play:focus-visible, .spot-pause:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* filmstrip (ARIA tablist) */
.reel {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px;
  margin: 18px -6px 0; padding: 6px 6px 8px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: 6px; scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
/* more thumbnails than fit → soft edge on the side that has more */
.reel.fade-r { -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
.reel.fade-l { -webkit-mask-image: linear-gradient(to left, #000 88%, transparent); mask-image: linear-gradient(to left, #000 88%, transparent); }
.reel.fade-l.fade-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.spot.is-single .reel { display: none; }
.reel-item {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 0; border: 0; background: none;
  color: var(--muted); text-align: left; cursor: pointer; scroll-snap-align: start; -webkit-tap-highlight-color: transparent;
}
.reel-thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px;
  border: 1px solid var(--line); background: #16181c; box-shadow: var(--sx-shadow-xs);
  transition: transform .45s var(--ease), box-shadow .35s var(--ease);
}
.reel-thumb > video, .reel-thumb > img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .72; filter: saturate(.7); transition: opacity .35s, filter .35s; -webkit-user-drag: none; }
.reel-thumb > .media-ph .ico { width: 22px; height: 22px; }
.reel-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(10 10 12 / .5), transparent 55%); pointer-events: none; }
.reel-n { position: absolute; z-index: 1; top: 8px; left: 9px; font: 700 10px/1 var(--sx-font); letter-spacing: .08em; color: #fff; text-shadow: 0 1px 5px rgb(0 0 0 / .7); font-variant-numeric: tabular-nums; }
.reel-prog { position: absolute; z-index: 1; left: 9px; right: 9px; bottom: 8px; height: 3px; overflow: hidden; border-radius: 3px; background: rgb(255 255 255 / .3); opacity: 0; transition: opacity .3s; }
.reel-prog i { display: block; height: 100%; border-radius: inherit; background: #fff; transform: scaleX(0); transform-origin: left center; }
.reel-item.is-active .reel-prog { opacity: 1; }
.reel-item.is-active .reel-prog i { animation: reelFill var(--spot-ms) linear forwards; animation-play-state: paused; }
.spot.is-running .reel-item.is-active .reel-prog i { animation-play-state: running; }
.spot.is-still .reel-prog { display: none; }
@keyframes reelFill { to { transform: scaleX(1); } }
.reel-text { display: grid; gap: 5px; min-width: 0; padding-inline: 2px; }
.reel-tag { font: 700 10px/1.2 var(--sx-font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.reel-cap {
  font: 500 13px/1.42 var(--sx-font); color: var(--muted); transition: color .3s; text-wrap: pretty;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.reel-item.is-active .reel-thumb { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--text), var(--sx-shadow); }
.reel-item.is-active .reel-thumb > * { opacity: 1; filter: none; }
.reel-item.is-active .reel-tag { color: var(--sx-accent); }
.reel-item.is-active .reel-cap { color: var(--text); }
@media (hover: hover) {
  .reel-item:hover .reel-thumb { transform: translateY(-3px); }
  .reel-item:hover .reel-thumb > * { opacity: 1; filter: none; }
  .reel-item:hover .reel-cap { color: var(--text); }
}
.reel-item:focus-visible { outline: none; }
.reel-item:focus-visible .reel-thumb { outline: 2px solid var(--sx-accent); outline-offset: 4px; }

@media (max-width: 1023px) {
  .spot-stage { aspect-ratio: 16 / 9.4; }
  .reel { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .spot-play { height: 50px; font-size: 14px; padding-right: 20px; }
  .spot-play-ico { width: 36px; height: 36px; }
}
@media (max-width: 640px) {
  .spot-card { border-radius: 20px; background: var(--panel); box-shadow: var(--sx-shadow); }
  .spot-stage { aspect-ratio: 16 / 10; max-height: none; }
  .spot-top { top: 12px; left: 12px; right: 12px; }
  .spot-tag, .spot-live { height: 28px; padding: 0 10px; }
  .spot-live { font-size: 11px; }
  .spot-shade { background: linear-gradient(to bottom, rgb(10 10 12 / .42), rgb(10 10 12 / 0) 34%); }
  .spot-body { position: relative; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 16px 18px; color: var(--text); }
  .spot-cap { font-size: 17.5px; line-height: 1.3; text-shadow: none; }
  .spot-meta { margin-top: 10px; }
  .spot-meta .stars { color: #f0a400; }
  .spot-meta .verified { background: var(--panel-2); border-color: var(--line); color: var(--text); }
  .spot-count { color: var(--muted); margin-left: auto; }
  .spot-play { justify-content: center; width: 100%; height: 50px; padding: 0 20px 0 6px; color: var(--bg); background: var(--text); box-shadow: var(--sx-shadow); }
  .spot-play:focus-visible { outline-color: var(--sx-accent); }
  .reel { grid-auto-columns: 40%; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .reel-cap { font-size: 12.5px; }
}
[data-theme="dark"] .spot-meta .stars { color: #ffc23c; }

/* ---- Review screenshots: wall of love (js/proof.js) ----
   .is-live: 3 / 2 columns looping vertically inside a fixed window.
   .is-static (reduced motion / Pause animations): a still grid,
   collapsed to the same height with a "Show all reviews" toggle. */
.love { --love-h: 680px; --love-gap: 20px; position: relative; }
.love[hidden] { display: none; }
.love-view {
  position: relative; height: var(--love-h); overflow: hidden; margin-inline: -14px; padding-inline: 14px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 89%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 89%, transparent);
}
.love-cols { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--love-gap); align-items: start; }
.love-col { min-width: 0; }
.love-track { position: relative; }
.love.is-live .love-track { will-change: transform; }
.love-group { display: flex; flex-direction: column; gap: var(--love-gap); padding-bottom: var(--love-gap); }
.love.is-static .love-view {
  height: auto; max-height: var(--love-h); padding-top: 4px;
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent); mask-image: linear-gradient(to bottom, #000 76%, transparent);
}
.love.is-static:not(.has-more) .love-view { -webkit-mask-image: none; mask-image: none; }
.love.is-static.is-open .love-view { max-height: none; -webkit-mask-image: none; mask-image: none; }
.love.is-static .love-clone { display: none; }
.love-more { display: none; justify-content: center; margin-top: 12px; }
.love.is-static.has-more .love-more { display: flex; }

.rcard {
  display: block; width: 100%; padding: 0; overflow: hidden; border-radius: 18px; text-align: left; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); color: inherit; box-shadow: var(--sx-shadow);
  transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease);
}
.rcard-bar { display: flex; gap: 6px; padding: 11px 14px; background: var(--panel-2); border-bottom: 1px solid var(--line-soft); }
.rcard-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.rcard-bar i:nth-child(2) { background: #febc2e; }
.rcard-bar i:nth-child(3) { background: #28c840; }
.rcard-shot { position: relative; display: block; max-height: 440px; overflow: hidden; background: var(--panel-2); }
.rcard-shot img { display: block; width: 100%; height: auto; transition: scale .8s var(--ease); -webkit-user-drag: none; }
.rcard-shot:has(> .media-ph) { min-height: 220px; }  /* missing file → placeholder (util.js imgFallback) */
.rcard-shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(to top, var(--panel), transparent); }
.rcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; font-size: 13px; }
.rcard-foot .stars { color: #f0a400; }
.rcard-read { color: var(--muted); font-weight: 600; white-space: nowrap; transition: color .3s; }
@media (hover: hover) {
  .rcard:hover { transform: translateY(-3px); border-color: var(--sx-hover-line); box-shadow: var(--sx-shadow-hi); }
  .rcard:hover .rcard-shot img { scale: 1.02; }
  .rcard:hover .rcard-read { color: var(--sx-accent); }
}
.rcard:focus-visible { outline: 2px solid var(--sx-accent); outline-offset: 3px; }
@media (max-width: 1023px) { .love { --love-gap: 16px; } }
@media (max-width: 640px) {
  .love { --love-h: 560px; --love-gap: 12px; }
  .love-view { margin-inline: -8px; padding-inline: 8px; }
  .rcard { border-radius: 14px; }
  .rcard-bar { gap: 5px; padding: 8px 10px; }
  .rcard-bar i { width: 7px; height: 7px; }
  .rcard-shot { max-height: 340px; }
  .rcard-foot { padding: 9px 10px; font-size: 11.5px; }
  .rcard-foot .stars { letter-spacing: 1px; font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .spot-layer, .spot-layer.is-back { transition: none; }
  .spot-layer > video, .spot-layer > img, .spot-txt, .spot-live i, .spot-play-ico::after { animation: none !important; }
}
[data-theme="dark"] .rcard-foot .stars { color: #ffc23c; }

/* ------------------------------------------------------------
   10 / FAQ — sticky intro + animated <details> accordion
   ------------------------------------------------------------ */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 16vh; margin-bottom: 0; }
.faq-head .btn { margin-top: 28px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 20px 0;
  list-style: none; cursor: pointer; font: 600 clamp(16px, 1.35vw, 18px)/1.4 var(--sx-font); letter-spacing: -.012em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { transition: color .3s; }
.faq-item summary:hover .faq-q { color: var(--sx-accent); }
.faq-icon {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--panel); color: var(--text); box-shadow: var(--sx-shadow-xs);
  transition: rotate .45s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.faq-icon .ico { width: 16px; height: 16px; }
.faq-item[open]:not(.is-closing) .faq-icon { rotate: 45deg; background: var(--text); color: var(--bg); border-color: var(--text); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--muted); font-size: 15.5px; line-height: 1.65; padding: 0 56px 22px 0; max-width: 64ch; }
@media (max-width: 899px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; margin-bottom: 28px; }
  .faq-a p { padding-right: 0; }
}

/* ------------------------------------------------------------
   CONTACT — big CTA, rotating ring button, status, cards
   ------------------------------------------------------------ */
.contact { padding-bottom: clamp(80px, 9vw, 128px); }
.contact-label { color: var(--sx-accent); margin-bottom: 18px; }
.contact-title { font: 700 clamp(40px, 5.8vw, 76px)/1.04 var(--sx-font); letter-spacing: -.035em; max-width: 17ch; text-wrap: balance; }
.contact-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; margin: 36px 0 56px; }
.contact-sub { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 50ch; margin-bottom: 20px; }
.status-line {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 10px 16px; border-radius: 18px;
  font: 500 13.5px/1.45 var(--sx-font); color: var(--muted);
  border: 1px solid var(--line); background: var(--panel); box-shadow: var(--sx-shadow-xs);
}
.status-line:empty { display: none; }
.status-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--muted-2); }
.status-line.is-online { color: var(--text); }
.status-line.is-online .status-dot { border-color: var(--ok); background: var(--ok); animation: sxPulse 2s infinite; }
html.motion-paused .status-line .status-dot { animation-play-state: paused; }
@keyframes sxPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 45%, transparent); }
  100% { box-shadow: 0 0 0 8px transparent; }
}
.ring-btn {
  position: relative; flex: none; width: 176px; height: 176px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink, #151114); cursor: pointer;
}
.ring-text { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--muted); animation: spin 22s linear infinite; animation-play-state: paused; }
.ring-text text { font: 600 11.5px var(--sx-font); letter-spacing: .2em; }
.contact.in-view .ring-text { animation-play-state: running; }
html.motion-paused .contact .ring-text { animation-play-state: paused; }
.ring-core {
  position: absolute; inset: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: .3em; text-align: center;
  background: var(--grad-diag); font: 700 16px/1.2 var(--sx-font); letter-spacing: -.01em;
  box-shadow: var(--sx-cta-glow); transition: scale .5s var(--ease), box-shadow .5s var(--ease);
}
.ring-btn:hover .ring-core { scale: 1.05; }
.ring-btn:active .ring-core { scale: .97; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .contact-row { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-bottom: 44px; }
  .ring-btn { justify-self: center; }
  .ring-btn { width: 156px; height: 156px; }
  .ring-core { inset: 26px; }
}

.ccards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.ccard {
  position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 76px; padding: 16px 18px;
  border-radius: 20px; border: 1px solid var(--line); background: var(--panel); color: inherit; box-shadow: var(--sx-shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
@media (hover: hover) {
  .ccard:hover { transform: translateY(-3px); border-color: var(--sx-hover-line); box-shadow: var(--sx-shadow-hi); }
  .ccard:hover .ccard-arrow { color: var(--text); translate: 2px -2px; }
}
.ccard-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sx-accent-soft); color: var(--sx-accent); }
.ccard-ico .ico { width: 19px; height: 19px; }
.ccard-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.ccard-v { font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* never truncate the address — it breaks cleanly at the <wbr> after "@" (contact.js) */
.ccard--email .ccard-v { white-space: normal; overflow-wrap: anywhere; }
.ccard-arrow { flex: none; color: var(--muted); transition: color .3s, translate .3s var(--ease); }
.ccard-arrow .ico { width: 18px; height: 18px; }
.ccard--email { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.ccard-main {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px 6px;
  border: 0; background: none; color: inherit; text-align: left; cursor: pointer; border-radius: 20px 20px 0 0;
}
.ccard-sub {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .35em; min-height: 44px; margin-left: 74px; padding-bottom: 6px;
  font: 600 13px/1 var(--sx-font); color: var(--muted); transition: color .3s;
}
.ccard-sub:hover { color: var(--sx-accent); }
@media (min-width: 641px) {
  .ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccard--email { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .ccards { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); }
  .ccard--email { grid-column: auto; }
  .ccard:not(.ccard--email) { flex-direction: column; align-items: flex-start; gap: 18px; min-height: 160px; padding: 20px; }
  .ccard:not(.ccard--email) .ccard-arrow { position: absolute; top: 20px; right: 20px; }
  .ccard:not(.ccard--email) .ccard-v { white-space: normal; overflow-wrap: anywhere; }
  .ccard--email .ccard-main { padding-top: 20px; }
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer { overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 80px); }
/* the giant name: one brand gradient flowing through every letter (seamless loop: the tile
   ends on the colour it starts with), a one-time letter wave when it scrolls into view and a
   small lift + brighten per letter on hover. fx.js splits it into .fw-ch letters and gives each
   its offset in the word (--gx) and the word width (--gw), so the letters share ONE gradient.
   Paused off screen (.in-view from [data-inview]); static gradient when motion is paused/reduced.
   Without JS: the same gradient, static, clipped to the whole word. */
:root, [data-theme="light"] {
  --fw-grad: linear-gradient(90deg, #e3127f, #f2461f 25%, #e39200 50%, #f2461f 75%, #e3127f);
}
[data-theme="dark"] {
  --fw-grad: linear-gradient(90deg, #ff1b8d, #ff5a3c 25%, #ffc23c 50%, #ff5a3c 75%, #ff1b8d);
}
.footer-word {
  font: 800 11.2vw/.85 var(--sx-font); letter-spacing: -.055em; text-align: center; white-space: nowrap; user-select: none;
  margin-bottom: clamp(24px, 4vw, 48px); padding-block: .06em;
  background: var(--fw-grad) 0 0 / 100% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.footer-word.is-split { background: none; padding-block: 0; }
.fw-ch {
  /* padding-inline (cancelled by the negative margin) gives the gradient room for the part of
     each glyph that overhangs its box under the tight letter-spacing (the D's bowl, the A's legs) */
  display: inline-block; padding: .06em .1em; margin-inline: -.1em;
  background: var(--fw-grad) calc(-1 * var(--gx, 0em)) 0 / var(--gw, 100%) 100% repeat-x;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: fw-flow 10s linear infinite paused;
  transition: translate 1s var(--ease) calc(var(--i, 0) * 45ms), opacity .8s var(--ease) calc(var(--i, 0) * 45ms),
    transform .5s cubic-bezier(.34, 1.56, .64, 1), filter .35s;
}
.footer-word.in-view .fw-ch { animation-play-state: running; }
@keyframes fw-flow {
  from { background-position: calc(-1 * var(--gx, 0em)) 0; }
  to { background-position: calc(-1 * var(--gx, 0em) - var(--gw, 100%)) 0; }
}
/* one-time wave: letters rise in, left to right */
.footer-word.is-split:not(.is-shown) .fw-ch { translate: 0 .32em; opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .footer-word .fw-ch:hover { transform: translateY(-.07em); filter: brightness(1.18) saturate(1.15); }
  .footer-word .fw-ch:hover + .fw-ch,
  .footer-word .fw-ch:has(+ .fw-ch:hover) { transform: translateY(-.03em); filter: brightness(1.08); }
}
html.motion-paused .fw-ch { animation: none; }
html.motion-paused .footer-word .fw-ch { translate: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .fw-ch { animation: none; transition: none; }
  .footer-word .fw-ch { translate: none; opacity: 1; }
  .footer-word .fw-ch:hover, .footer-word .fw-ch:hover + .fw-ch, .footer-word .fw-ch:has(+ .fw-ch:hover) { transform: none; }
}
.footer-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px;
  padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
/* row layout: keep "Back to top" clear of the fixed chat launcher (82px from the right edge
   on desktop, 74px below 900px, + halo). 100% = .footer width, so the inner max() is the
   container's real right gap; padding drops to 0 once that gap is already >= 92px. */
@media (min-width: 761px) {
  .footer-row { padding-right: max(0px, 92px - max(var(--gutter), (100% - var(--maxw)) / 2)); }
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-nav a, .to-top { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; transition: color .25s; }
.footer-nav a:hover, .to-top:hover { color: var(--text); }
.to-top { font-weight: 600; color: var(--text); }
/* ≥ 900px the floating nav pill already carries all eight links — the footer keeps just
   © + "Back to top"; phones keep the links (their tab bar only has four) */
@media (min-width: 900px) { .footer-nav { display: none; } }
/* 761–899px: three items don't fit on one line — copyright on its own line, the rest centred */
@media (min-width: 761px) and (max-width: 899px) {
  .footer-row { justify-content: center; text-align: center; }
  .footer-copy { flex-basis: 100%; }
}
@media (max-width: 760px) {
  .footer-row { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* ------------------------------------------------------------
   SERVICE MODAL (rendered by js/services.js into #modal-root)
   ------------------------------------------------------------ */
.modal.service-modal {
  max-width: 860px; background: var(--panel); color: var(--text);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg, 0 30px 70px -34px rgb(0 0 0 / .4));
}
.smodal-head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  background: var(--glass, var(--panel)); border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.smodal-head .modal-close { position: static; }
.smodal-heading { flex: 1; min-width: 0; }
.smodal-heading h3 { font: 700 clamp(22px, 2.6vw, 28px)/1.15 var(--sx-font); letter-spacing: -.02em; margin-top: 4px; }
.smodal-body { padding: 26px 28px 10px; }
.smodal-lead { color: var(--muted); font-size: 16.5px; line-height: 1.6; margin-bottom: 28px; max-width: 64ch; }
.smodal-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.smodal-body h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--sx-accent); }
.smodal-count {
  font: 700 10.5px/1 var(--sx-font); letter-spacing: 0; color: var(--muted);
  padding: 3px 7px; border: 1px solid var(--line); border-radius: 99px;
}
.sq-list { display: grid; gap: 10px; }
.sq-list li { position: relative; padding-left: 22px; color: var(--text); font-size: 15px; line-height: 1.5; }
.sq-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2.5px; background: var(--grad-diag); }
.smodal-gallery { margin-top: 30px; }
.smodal-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sthumb {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; padding: 0; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel-2); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.sthumb img, .sthumb video { width: 100%; height: 100%; object-fit: cover; }
.sthumb:hover { border-color: var(--sx-hover-line); transform: translateY(-3px); box-shadow: var(--sx-shadow); }
.sthumb-play { width: 38px; height: 38px; }
.sthumb-play .ico { width: 15px; height: 15px; margin-left: 2px; }
.result-box {
  position: relative; overflow: hidden; margin: 30px 0 18px; padding: 18px 22px 18px 24px; border-radius: 16px;
  background: var(--panel-2); border: 1px solid var(--line);
}
.result-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--g1), var(--g2), var(--g3)); }
.result-box .rl { color: var(--sx-accent); margin-bottom: 8px; }
.result-box p:last-child { color: var(--text); font-weight: 500; }
.smodal-foot {
  position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 22px; border-top: 1px solid var(--line-soft);
  background: var(--glass, var(--panel)); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.smodal-foot p { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) {
  .smodal-head { padding: 14px 16px; gap: 12px; }
  .smodal-head .tile-ico--lg { width: 44px; height: 44px; }
  .smodal-body { padding: 20px 18px 6px; }
  .smodal-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .smodal-foot { padding: 12px 16px; }
  .smodal-foot p { display: none; }
  .smodal-foot .btn { width: 100%; }
}
