/* Avenis Digital, generated from the Avenis design source. Edit the sources, not this file. */
/* ==========================================================================
   Elementor adapter (loads before the design styles).
   Native Elementor widgets wrap their text in an inner element; the design
   classes sit on the widget, so the inner element inherits its typography.
   Elementor's own base styles are loaded in a lower cascade layer (see the
   theme), so the design styles always take precedence.
   ========================================================================== */
.elementor-heading-title { font: inherit; letter-spacing: inherit; color: inherit; text-transform: inherit; text-wrap: inherit; text-align: inherit; margin: 0; padding: 0; }
:where(.av-h) { font-weight: 600; letter-spacing: var(--tracking-tight); line-height: var(--lh-snug); text-wrap: balance; }
.av-list > :is(ul, ol, dl) { display: contents; }
.av-list :is(ul, ol) { list-style: none; }
.av-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.av-decor { display: contents; }
.av-btn-wrap { display: contents; }
/* The illustration widget wrapper is relative and zero-height; let the scene fill .svc__visual. */
body:not(.elementor-editor-active) .elementor-widget-av-illustration { display: contents; }
.elementor-editor-active .elementor-widget-av-illustration { position: absolute; inset: 0; }
.elementor-widget-text-editor.av > :first-child { margin-top: 0; }
.elementor-widget-text-editor.av > :last-child { margin-bottom: 0; }
/* Photos uploaded in place of the illustrated mockups fill their frames. */
.cs-photo, .wa-photo, .member__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Portfolio covers: keep the design mockups (right side) in narrow card crops. */
.work-card .wa-photo { object-position: 78% 50%; }
.member__photo { position: absolute; inset: 0; }

/* tokens.css */
/* ==========================================================================
   Avenis Digital — design tokens
   Approved palette: graphite #101116 · cool white #F5F6FA · cobalt #304BFF
   · periwinkle #A7AFF5. Tints below are derived for UI states and were
   contrast-checked (WCAG 2.2): see README → Accessibility.
   These map 1:1 to Elementor Global Colors / Global Fonts later.
   ========================================================================== */
:root, body {
  /* Brand */
  --c-graphite: var(--e-global-color-secondary, #101116);
  --c-cool: var(--e-global-color-avcool, #f5f6fa);
  --c-cobalt: var(--e-global-color-primary, #304bff);
  --c-periwinkle: var(--e-global-color-accent, #a7aff5);
  --c-white: var(--e-global-color-avwhite, #ffffff);

  /* Graphite surfaces (dark) */
  --c-graphite-90: #15161d;
  --c-graphite-80: #1b1d26;
  --c-graphite-70: #252836;
  --c-line-dark: rgba(245, 246, 250, 0.12);
  --c-line-dark-strong: rgba(245, 246, 250, 0.22);

  /* Cool-white surfaces (light) */
  --c-cool-90: #eceef5;
  --c-cool-80: #e2e5ef;
  --c-line-light: rgba(16, 17, 22, 0.12);
  --c-line-light-strong: rgba(16, 17, 22, 0.24);

  /* Text */
  --c-ink: var(--e-global-color-avink, #101116);            /* 17.46:1 on cool white */
  --c-ink-2: var(--e-global-color-text, #4b4e5e);          /* 7.6:1 on cool white  */
  --c-ink-3: var(--e-global-color-avink3, #6a6d7c);          /* 4.75:1 on cool white */
  --c-paper: var(--e-global-color-avpaper, #f5f6fa);          /* 17.46:1 on graphite  */
  --c-paper-2: #a9acbc;        /* 8.4:1 on graphite    */
  --c-paper-3: #7e8193;        /* 4.9:1 on graphite    */
  --c-on-cobalt-2: #e6e9ff;    /* 4.9:1 on cobalt      */

  /* Accent states */
  --c-cobalt-hover: var(--e-global-color-avcobalthover, #2238e6);
  --c-cobalt-soft: rgba(48, 75, 255, 0.1);
  --c-cobalt-glow: rgba(48, 75, 255, 0.45);

  /* Typography */
  --font-sans: var(--e-global-typography-text-font-family, "Geist"), "Geist Fallback", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: var(--e-global-typography-accent-font-family, "Geist Mono"), ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  --fs-display: var(--e-global-typography-primary-font-size, clamp(2.5rem, 1.55rem + 3.4vw, 4.75rem));
  --fs-h2: var(--e-global-typography-secondary-font-size, clamp(1.875rem, 1.35rem + 1.9vw, 3.125rem));
  --fs-h3: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem);
  --fs-h4: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
  --fs-body: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  --lh-tight: 1.04;
  --lh-snug: 1.12;
  --lh-body: 1.6;
  --tracking-display: -0.035em;
  --tracking-tight: -0.03em;
  --tracking-label: 0.14em;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --av-container: 1440px;
  --section-y: clamp(4rem, 2.6rem + 5vw, 7.5rem);
  --av-gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  /* Shape */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: clamp(24px, 3vw, 40px);
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 180ms;
  --dur: 420ms;
  --dur-slow: 900ms;

  /* Layers */
  --z-header: 50;
  --z-menu: 60;
  --z-toast: 80;

  --header-h: 88px;
}

@media (max-width: 959px) {
  :root { --header-h: 74px; }
}

/* Metric-matched fallback reduces layout shift while Geist loads.
   Values measured in Chrome against Geist (ascent 1.01em, descent 0.30em):
   regular width ratio 101.4 %, semibold vs Arial Bold 98.7 %. */
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 100 549;
  size-adjust: 101.4%;
  ascent-override: 99.6%;
  descent-override: 29.6%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 550 900;
  size-adjust: 98.7%;
  ascent-override: 102.3%;
  descent-override: 30.4%;
  line-gap-override: 0%;
}

/* base.css */
/* ==========================================================================
   Base: reset, typography, layout primitives, accessibility, motion states
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html:not(.reduce-motion) { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-cool);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas, video { display: block; max-width: 100%; }
svg { overflow: visible; }
canvas { touch-action: pan-y; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
::selection { background: var(--c-cobalt); color: var(--c-white); }

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-snug);
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* the hidden attribute always wins over component display rules */
[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max-width, var(--av-container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main { display: block; outline: none; }

:is([data-theme="dark"], .theme-dark) { background: var(--c-graphite); color: var(--c-paper); }
:is([data-theme="light"], .theme-light) { background: var(--c-cool); color: var(--c-ink); }
:is([data-theme="cobalt"], .theme-cobalt) { background: var(--c-cobalt); color: var(--c-white); }

/* ---------- Rendering performance ----------
   Self-contained sections below the fold skip layout and paint until they
   approach the viewport. "auto" remembers each section's real size after it
   has rendered once. The values below are measured content-box heights
   (padding is added on top) used until then; they only affect scrollbar length. */
.services, .planner, .approach, .faq, .cta, .site-footer { content-visibility: auto; }
.services { contain-intrinsic-size: auto 1450px; }
.planner { contain-intrinsic-size: auto 760px; }
.approach { contain-intrinsic-size: auto 1080px; }
.faq { contain-intrinsic-size: auto 511px; }
.cta { contain-intrinsic-size: auto 540px; }
.site-footer { contain-intrinsic-size: auto 745px; }
@media (max-width: 899px) {
  .services { contain-intrinsic-size: auto 1760px; }
  .planner { contain-intrinsic-size: auto 1290px; }
  .approach { contain-intrinsic-size: auto 2100px; }
  .faq { contain-intrinsic-size: auto 785px; }
  .cta { contain-intrinsic-size: auto 465px; }
  .site-footer { contain-intrinsic-size: auto 1020px; }
}

/* ---------- Typography helpers ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-ink-3);
}
.section-label::before {
  content: "";
  width: 22px;
  height: 11px;
  background: var(--c-cobalt);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  border-radius: 2px;
}
.section-label--dark { color: var(--c-paper-2); }
.section-label--dark::before { background: var(--c-periwinkle); }
.section-label--cobalt { color: var(--c-on-cobalt-2); }
.section-label--cobalt::before { background: var(--c-white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  border: 1px solid var(--c-line-dark);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-paper-2);
  background: rgba(16, 17, 22, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-periwinkle);
  box-shadow: 0 0 0 4px rgba(167, 175, 245, 0.16);
}

/* ---------- Icons ---------- */
.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon--sm { width: 1rem; height: 1rem; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Accessibility ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-graphite);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--c-cobalt);
  outline-offset: 3px;
  border-radius: 4px;
}
:is([data-theme="dark"], .theme-dark) :focus-visible,
.mobile-menu :focus-visible,
.mega :focus-visible { outline-color: var(--c-periwinkle); }
:is([data-theme="cobalt"], .theme-cobalt) :focus-visible { outline-color: var(--c-white); }

/* ---------- Reveal & split text (enabled only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.split-line {
  display: block;
  overflow: clip;
  overflow-clip-margin: 0.12em;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.split-line__inner {
  display: block;
  transform: translate3d(0, 105%, 0);
  transition: transform 1.15s var(--ease-out);
  transition-delay: calc(var(--line-index, 0) * 90ms + var(--reveal-delay, 0ms));
}
.js [data-split][data-reveal] { opacity: 1; transform: none; }
.is-in .split-line__inner,
.is-in.split-line__inner { transform: none; }

/* ---------- Reduced motion (OS setting or on-site toggle) ---------- */
html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  animation-delay: 0ms !important;
  transition-duration: 0.001ms !important;
  transition-delay: 0ms !important;
}
html.reduce-motion [data-reveal],
html.reduce-motion .split-line__inner { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html.no-js *,
  html.no-js *::before,
  html.no-js *::after { animation: none !important; transition: none !important; }
}

/* ---------- Cross-page transitions (browsers with cross-document View Transitions) ---------- */
@view-transition { navigation: auto; }
/* (no view-transition-name on the header: it would isolate the header and disable its glass blur) */
::view-transition-old(root) { animation: vt-out 0.28s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
html.reduce-motion::view-transition-old(root),
html.reduce-motion::view-transition-new(root),
html.reduce-motion::view-transition-group(*) { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(*) { animation: none !important; }
}

/* components.css */
/* ==========================================================================
   Components: buttons, links, preference toggles, toast, draft badge
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  --btn-bg: transparent;
  --btn-fg: currentColor;
  --btn-border: transparent;
  --chip-bg: rgba(255, 255, 255, 0.16);
  --chip-fg: currentColor;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: var(--btn-h);
  padding: 0 1.5rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    transform 0.5s var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}
.btn:has(.btn__icon) { padding-right: 0.4rem; }
.btn > .icon:first-child { margin-left: -0.25rem; }
.btn__label { position: relative; }

.btn__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: calc(var(--btn-h) - 14px);
  height: calc(var(--btn-h) - 14px);
  border-radius: 50%;
  background: var(--chip-bg);
  color: var(--chip-fg);
  overflow: hidden;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.btn__icon .icon {
  grid-area: 1 / 1;
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.55s var(--ease-out);
}
.btn__icon .icon:last-child { transform: translateX(-180%); }
.btn:hover .btn__icon .icon:first-child,
.btn:focus-visible .btn__icon .icon:first-child { transform: translateX(180%); }
.btn:hover .btn__icon .icon:last-child,
.btn:focus-visible .btn__icon .icon:last-child { transform: none; }

.btn--primary {
  --btn-bg: var(--c-cobalt);
  --btn-fg: var(--c-white);
  --chip-bg: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px -12px var(--c-cobalt-glow);
}
.btn--primary:hover { --btn-bg: var(--c-cobalt-hover); --chip-bg: var(--c-white); --chip-fg: var(--c-cobalt); box-shadow: 0 16px 40px -14px var(--c-cobalt-glow); }

.btn--ghost {
  --btn-border: var(--c-line-light-strong);
  --btn-fg: var(--c-ink);
}
.btn--ghost:hover { --btn-border: var(--c-ink); --btn-bg: rgba(16, 17, 22, 0.04); }
:is([data-theme="dark"], .theme-dark) .btn--ghost {
  --btn-border: var(--c-line-dark-strong);
  --btn-fg: var(--c-paper);
  --btn-bg: rgba(255, 255, 255, 0.03);
}
:is([data-theme="dark"], .theme-dark) .btn--ghost:hover { --btn-border: var(--c-paper); --btn-bg: rgba(255, 255, 255, 0.07); }
.btn--ghost .icon { color: var(--c-periwinkle); }
:is([data-theme="light"], .theme-light) .btn--ghost .icon,
.mobile-menu .btn--ghost .icon { color: var(--c-cobalt); }
.mobile-menu .btn--ghost { --btn-bg: rgba(255, 255, 255, 0.6); }

.btn--light { --btn-bg: var(--c-white); --btn-fg: var(--c-graphite); --chip-bg: var(--c-cobalt); --chip-fg: var(--c-white); }
.btn--light:hover { --btn-bg: var(--c-cool); --chip-bg: var(--c-graphite); }
.btn--outline-light { --btn-border: rgba(255, 255, 255, 0.55); --btn-fg: var(--c-white); }
.btn--outline-light:hover { --btn-border: var(--c-white); --btn-bg: rgba(255, 255, 255, 0.1); }

.btn--sm { --btn-h: 44px; font-size: 0.9375rem; padding-left: 1.15rem; }
.btn--lg { --btn-h: 60px; font-size: 1.0625rem; padding-left: 1.75rem; padding-right: 1.75rem; }
.btn--lg:has(.btn__icon) { padding-right: 0.45rem; }
.btn--block { width: 100%; justify-content: space-between; }
.btn--block:not(:has(.btn__icon)) { justify-content: center; }

/* ---------- Text link with arrow ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 550;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0% 1px no-repeat;
  transition: background-size var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.link-arrow .icon { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { background-size: calc(100% - 1.5rem) 1px; }
.link-arrow:hover .icon { transform: translateX(4px); }
:is([data-theme="light"], .theme-light) .link-arrow { color: var(--c-cobalt); }
:is([data-theme="light"], .theme-light) .link-arrow:hover { color: var(--c-cobalt-hover); }
:is([data-theme="dark"], .theme-dark) .link-arrow { color: var(--c-periwinkle); }

/* ---------- Preference toggles (need JS) ---------- */
.no-js .prefs,
.no-js .pref-chip,
.no-js .marquee__pause { display: none; }
.prefs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--hdr-line, var(--c-line-dark));
  border-radius: var(--r-pill);
}
.pref-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: inherit;
  opacity: 0.75;
  transition: background-color var(--dur-fast), opacity var(--dur-fast);
}
.pref-toggle:hover { opacity: 1; background: var(--hdr-hover, rgba(255, 255, 255, 0.08)); }
.pref-toggle[aria-pressed="true"] { opacity: 1; background: var(--hdr-active, rgba(167, 175, 245, 0.18)); }
.pref-toggle__tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% -4px;
  padding: 0.35rem 0.6rem;
  border-radius: var(--r-xs);
  background: var(--c-graphite-80);
  color: var(--c-paper);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-fast), translate var(--dur-fast) var(--ease-out);
}
.pref-toggle:hover .pref-toggle__tip,
.pref-toggle:focus-visible .pref-toggle__tip { opacity: 1; translate: -50% 0; }

/* sound icon states */
.i-sound__mute { opacity: 1; }
.i-sound__wave { opacity: 0; }
[data-sound-toggle][aria-pressed="true"] .i-sound__mute { opacity: 0; }
[data-sound-toggle][aria-pressed="true"] .i-sound__wave { opacity: 1; }
/* motion icon states: pause bars visible when motion is reduced */
.i-motion__pause { opacity: 0; }
[data-motion-toggle][aria-pressed="true"] .i-motion__pause { opacity: 1; }
[data-motion-toggle][aria-pressed="true"] use { opacity: 1; }

.pref-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--c-line-dark);
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  color: var(--c-paper-2);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.pref-chip:hover { border-color: var(--c-line-dark-strong); color: var(--c-paper); }
.pref-chip[aria-pressed="true"] { color: var(--c-paper); border-color: var(--c-periwinkle); }

/* ---------- Toast (used for links to pages planned after homepage review) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(560px, calc(100vw - 32px));
  padding: 0.85rem 0.85rem 0.85rem 1rem;
  border: 1px solid var(--c-line-dark-strong);
  border-radius: var(--r-md);
  background: rgba(21, 22, 29, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--c-paper);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  transform: translate3d(-50%, 0, 0);
  animation: toast-in 0.5s var(--ease-out);
}
.toast[hidden] { display: none; }
.toast__icon { flex: none; width: 28px; height: 34px; --logo-mark: var(--c-periwinkle); }
.toast__icon svg { width: 100%; height: 100%; }
.toast__text { flex: 1; font-size: 0.9375rem; line-height: 1.45; }
.toast__text strong { font-weight: 600; color: var(--c-white); }
.toast__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--c-paper-2);
}
.toast__close:hover { background: rgba(255, 255, 255, 0.08); color: var(--c-paper); }
@keyframes toast-in {
  from { opacity: 0; transform: translate3d(-50%, 16px, 0); }
}



/* ---------- Cookie preferences dialog (native <dialog>: focus trap + Escape built in) ---------- */
.consent {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 1px solid var(--c-line-light-strong);
  border-radius: var(--r-lg);
  background: var(--c-cool);
  color: var(--c-ink);
  box-shadow: 0 40px 100px -30px rgba(16, 17, 22, 0.6);
  overflow: auto;
}
.consent::backdrop { background: rgba(16, 17, 22, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.consent[open] { animation: consent-in 0.45s var(--ease-out); }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.consent__inner { position: relative; display: grid; gap: 1.25rem; padding: clamp(1.25rem, 4vw, 2rem); }
.consent__title { margin-top: 0.75rem; font-size: var(--fs-h3); letter-spacing: -0.03em; }
.consent__intro { margin-top: 0.6rem; color: var(--c-ink-2); font-size: 0.9375rem; }
.consent__intro a { color: var(--c-cobalt); }
.consent__list { display: grid; gap: 0.5rem; margin: 0; padding: 0; border: 0; }
.consent__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--c-line-light);
  border-radius: var(--r-md);
  background: var(--c-white);
  cursor: pointer;
}
.consent__text { display: grid; gap: 0.2rem; font-size: 0.875rem; color: var(--c-ink-2); }
.consent__text strong { color: var(--c-ink); font-size: 0.9688rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; }
.consent__close { position: absolute; top: 0.75rem; right: 0.75rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--c-ink-2); }
.consent__close:hover { background: var(--c-cool-90); color: var(--c-ink); }

/* switch (styled checkbox, keeps native semantics) */
.switch {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  position: relative;
  width: 46px;
  height: 28px;
  margin: 0;
  border-radius: 999px;
  background: var(--c-cool-80);
  border: 1px solid var(--c-line-light-strong);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: 0 1px 3px rgba(16, 17, 22, 0.3);
  transition: transform var(--dur) var(--ease-out);
}
.switch:checked { background: var(--c-cobalt); border-color: var(--c-cobalt); }
.switch:checked::after { transform: translateX(18px); }
.switch:disabled { opacity: 0.55; cursor: not-allowed; }
.switch:focus-visible { outline: 2px solid var(--c-cobalt); outline-offset: 3px; }

/* consent banner (only shown when non-essential categories are configured) */
.consent-banner {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: var(--z-toast);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  width: min(760px, calc(100vw - 32px));
  padding: 1rem 1.25rem;
  border: 1px solid var(--c-line-dark-strong);
  border-radius: var(--r-md);
  background: rgba(21, 22, 29, 0.96);
  color: var(--c-paper);
  transform: translateX(-50%);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.consent-banner[hidden] { display: none; }
.consent-banner p { flex: 1 1 280px; font-size: 0.9375rem; }
.consent-banner a { color: var(--c-periwinkle); }
.consent-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- "Talk to us" launcher ---------- */
.talk { position: fixed; right: clamp(0.75rem, 2vw, 1.5rem); bottom: clamp(0.75rem, 2vw, 1.5rem); z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; transition: transform 0.5s var(--ease-out); }
.talk.is-lifted { transform: translateY(-64px); }
.talk__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 1.25rem 0 1rem;
  border-radius: var(--r-pill);
  background: var(--c-cobalt);
  color: var(--c-white);
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: 0 18px 36px -16px rgba(48, 75, 255, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: background-color var(--dur-fast), transform 0.4s var(--ease-out);
  animation: talk-in 0.8s 1.2s var(--ease-out) backwards;
}
.talk__toggle:hover { background: var(--c-cobalt-hover); transform: translateY(-2px); }
.talk__toggle .icon { width: 1.25rem; height: 1.25rem; }
.talk__icon-close { display: none; }
.talk.is-open .talk__icon-open { display: none; }
.talk.is-open .talk__icon-close { display: block; }
@keyframes talk-in { from { opacity: 0; transform: translateY(16px) scale(0.95); } }
.reduce-motion .talk__toggle { animation: none; }

.talk__panel {
  width: min(360px, calc(100vw - 1.5rem));
  padding: 1rem;
  border: 1px solid rgba(16, 17, 22, 0.08);
  border-radius: 22px;
  background: var(--c-white);
  color: var(--c-ink);
  box-shadow: 0 40px 80px -36px rgba(16, 17, 22, 0.55);
  transform-origin: 100% 100%;
  animation: talk-panel-in 0.4s var(--ease-out);
}
.talk__panel[hidden] { display: none; }
@keyframes talk-panel-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
.talk__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; padding: 0.25rem 0.25rem 0.9rem; border-bottom: 1px solid var(--c-line-light); }
.talk__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--c-cobalt); }
.talk__avatar svg { width: 20px; height: 24px; --logo-mark: var(--c-white); }
.talk__title { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.talk__sub { color: var(--c-ink-3); font-size: 0.8125rem; }
.talk__close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--c-ink-2); }
.talk__close:hover { background: var(--c-cool); }
.talk__options { display: grid; gap: 0.35rem; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.talk__opt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.6rem 0.75rem;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background-color var(--dur-fast);
}
.talk__opt:hover, .talk__opt:focus-visible { background: var(--c-cool); }
.talk__opt-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--c-cobalt-soft); color: var(--c-cobalt); }
[data-talk-wa] .talk__opt-icon { background: rgba(37, 211, 102, 0.14); color: #128c4a; }
.talk__opt-text { display: grid; gap: 0.05rem; }
.talk__opt-text strong { font-size: 0.9375rem; font-weight: 600; }
.talk__opt-text small { color: var(--c-ink-3); font-size: 0.8125rem; line-height: 1.35; }
.talk__opt-arrow { color: var(--c-ink-3); transition: transform var(--dur) var(--ease-out); }
.talk__opt:hover .talk__opt-arrow { transform: translateX(3px); color: var(--c-cobalt); }

@media (max-width: 599px) {
  .talk__toggle { width: 56px; min-height: 56px; padding: 0; justify-content: center; }
  .talk__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .talk.is-lifted { transform: translateY(-88px); }
}
@media print { .talk { display: none; } }

/* header.css */
/* ==========================================================================
   Header · services menu · mobile menu
   A floating rounded bar that reads the theme of the section beneath it
   (data-theme) and adapts its glass colours; it hides on scroll down and
   returns on scroll up.
   ========================================================================== */
.site-header {
  --hdr-fg: var(--c-ink);
  --hdr-bg: rgba(255, 255, 255, 0.66);
  --hdr-bg-scrolled: rgba(255, 255, 255, 0.86);
  --hdr-line: rgba(16, 17, 22, 0.08);
  --hdr-shadow: 0 12px 32px -20px rgba(16, 17, 22, 0.35);
  --hdr-hover: rgba(16, 17, 22, 0.05);
  --hdr-active-bg: rgba(48, 75, 255, 0.09);
  --hdr-active-fg: var(--c-cobalt);
  --logo-mark: var(--c-cobalt);
  --logo-word: var(--c-graphite);
  --logo-h: 32px;
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  padding-top: 12px;
  color: var(--hdr-fg);
  background: transparent !important; /* data-theme would otherwise paint a section background */
  pointer-events: none;
  transition: transform 0.6s var(--ease-out);
}
.site-header:is([data-theme="dark"], .theme-dark) {
  --hdr-fg: var(--c-paper);
  --hdr-bg: rgba(27, 29, 38, 0.6);
  --hdr-bg-scrolled: rgba(21, 22, 29, 0.84);
  --hdr-line: rgba(245, 246, 250, 0.12);
  --hdr-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.6);
  --hdr-hover: rgba(255, 255, 255, 0.08);
  --hdr-active-bg: rgba(167, 175, 245, 0.16);
  --hdr-active-fg: var(--c-periwinkle);
  --logo-mark: var(--c-white);
  --logo-word: var(--c-white);
}
.site-header:is([data-theme="cobalt"], .theme-cobalt) {
  --hdr-fg: var(--c-white);
  --hdr-bg: rgba(255, 255, 255, 0.12);
  --hdr-bg-scrolled: rgba(34, 56, 230, 0.88);
  --hdr-line: rgba(255, 255, 255, 0.22);
  --hdr-hover: rgba(255, 255, 255, 0.12);
  --hdr-active-bg: rgba(255, 255, 255, 0.18);
  --hdr-active-fg: var(--c-white);
  --logo-mark: var(--c-white);
  --logo-word: var(--c-white);
}
/* Menus are light panels, so the bar matches them while one is open. */
.site-header.is-open:not(.is-mega) {
  --hdr-fg: var(--c-ink);
  --hdr-bg: rgba(255, 255, 255, 0.96);
  --hdr-bg-scrolled: rgba(255, 255, 255, 0.96);
  --hdr-line: rgba(16, 17, 22, 0.08);
  --hdr-hover: rgba(16, 17, 22, 0.05);
  --hdr-active-bg: rgba(48, 75, 255, 0.09);
  --hdr-active-fg: var(--c-cobalt);
  --logo-mark: var(--c-cobalt);
  --logo-word: var(--c-graphite);
}
.site-header.is-mega {
  --hdr-fg: var(--c-paper);
  --hdr-bg: rgba(18, 20, 34, 0.72);
  --hdr-bg-scrolled: rgba(18, 20, 34, 0.8);
  --hdr-line: rgba(167, 175, 245, 0.16);
  --hdr-hover: rgba(255, 255, 255, 0.08);
  --hdr-active-bg: rgba(167, 175, 245, 0.16);
  --hdr-active-fg: var(--c-periwinkle);
  --logo-mark: var(--c-white);
  --logo-word: var(--c-white);
}
.site-header.is-hidden:not(.is-open) { transform: translate3d(0, calc(-100% - 24px), 0); }

.site-header__wrap { position: relative; }
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 64px;
  padding: 0 10px 0 20px;
  border: 1px solid var(--hdr-line);
  border-radius: 20px;
  background: var(--hdr-bg);
  box-shadow: var(--hdr-shadow);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  pointer-events: auto;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.site-header.is-scrolled .site-header__bar { background: var(--hdr-bg-scrolled); }

/* ---------- Brand lockup (symbol + traced wordmark) ---------- */
.brand {
  display: inline-flex;
  align-items: flex-start;
  flex: none;
  gap: calc(var(--logo-h) * 0.1878);
  min-height: 44px;
  padding-block: calc((44px - var(--logo-h)) / 2);
  color: inherit;
  text-decoration: none;
  border-radius: var(--r-xs);
}
.brand__mark {
  height: var(--logo-h);
  width: calc(var(--logo-h) * 0.826);
  fill: var(--logo-mark);
  overflow: visible;
  transition: fill var(--dur) var(--ease-out);
}
.brand__word {
  height: calc(var(--logo-h) * 0.4857);
  width: calc(var(--logo-h) * 0.4857 * 5.8394);
  margin-top: calc(var(--logo-h) * 0.326);
}
.brand__plane { transition: transform 0.7s var(--ease-spring); }
.brand:hover .brand__plane:nth-child(1),
.brand:hover .brand__plane:nth-child(2) { transform: translateX(-18px); }
.brand:hover .brand__plane:nth-child(3),
.brand:hover .brand__plane:nth-child(4) { transform: translateX(18px); }
.brand:hover .brand__plane:nth-child(2),
.brand:hover .brand__plane:nth-child(4) { transition-delay: 60ms; }

/* ---------- Primary nav ---------- */
.primary-nav { margin-inline: auto; }
.primary-nav__list { display: flex; align-items: center; gap: 0.15rem; }
.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0 0.95rem;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  color: inherit;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.primary-nav__link:hover { background: var(--hdr-hover); }
.primary-nav__link[aria-current="page"],
.primary-nav__link.is-current { background: var(--hdr-active-bg); color: var(--hdr-active-fg); }
.primary-nav__trigger .icon { transition: transform var(--dur) var(--ease-out); opacity: 0.7; }
.primary-nav__trigger[aria-expanded="true"] { background: var(--hdr-hover); }
.primary-nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; flex: none; }
.site-header__cta { min-height: 44px; }

/* ---------- Menu toggle (mobile) ---------- */
.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
}
.menu-toggle:hover { background: var(--hdr-hover); }
.menu-toggle__lines { position: relative; width: 20px; height: 10px; }
.menu-toggle__lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out);
}
.menu-toggle__lines span:first-child { top: 0; }
.menu-toggle__lines span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child { top: 4px; transform: rotate(-45deg); }

/* ---------- Services mega menu: dark translucent glass under the bar ---------- */
.mega {
  position: absolute;
  inset: calc(100% + 10px) var(--gutter) auto;
  padding: 2rem 2rem 1.25rem;
  border: 1px solid rgba(167, 175, 245, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(48, 75, 255, 0.24), rgba(48, 75, 255, 0) 60%),
    linear-gradient(180deg, rgba(18, 20, 34, 0.72), rgba(12, 14, 24, 0.82));
  -webkit-backdrop-filter: saturate(170%) blur(28px);
  backdrop-filter: saturate(170%) blur(28px);
  color: var(--c-paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
  transform-origin: 50% 0;
  animation: mega-in 0.45s var(--ease-out);
}
.mega[hidden] { display: none; }
.mega.is-closing { animation: mega-out 0.25s var(--ease-in-out) forwards; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-8px) scale(0.985); } }
@keyframes mega-out { to { opacity: 0; transform: translateY(-6px) scale(0.99); } }

.mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 2rem; }
.mega__col > * { animation: mega-item 0.6s var(--ease-out) both; }
.mega__col:nth-child(2) > * { animation-delay: 40ms; }
.mega__col:nth-child(3) > * { animation-delay: 80ms; }
.mega__col:nth-child(4) > * { animation-delay: 120ms; }
@keyframes mega-item { from { opacity: 0; transform: translateY(10px); } }

.mega__title { margin-bottom: 0.75rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.mega__title + .mega__list + .mega__title,
.mega__list + .mega__title { margin-top: 1.75rem; }
.mega__title a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; color: var(--c-white); }
.mega__title a:hover { color: var(--c-periwinkle); }
.mega__list { display: grid; gap: 0.1rem; }
.mega__list a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: var(--c-paper-2);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--dur-fast), transform var(--dur) var(--ease-out);
}
.mega__list a:hover { color: var(--c-paper); transform: translateX(4px); }

.mega__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(48, 75, 255, 0.55), transparent 60%),
    rgba(27, 29, 38, 0.6);
  border: 1px solid rgba(167, 175, 245, 0.16);
  color: var(--c-paper);
  text-decoration: none;
  overflow: hidden;
  animation: mega-item 0.7s 0.15s var(--ease-out) both;
  transition: border-color var(--dur);
}
.mega__feature:hover { border-color: var(--c-periwinkle); }
.mega__feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-pill);
  background: rgba(167, 175, 245, 0.14);
  color: var(--c-periwinkle);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mega__feature-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.mega__feature-text { color: var(--c-paper-2); font-size: 0.9375rem; line-height: 1.5; }
.mega__feature-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; font-weight: 550; }

.mega__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-line-dark);
}
.mega__all { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; color: var(--c-periwinkle); font-weight: 550; text-decoration: none; }
.mega__footer-tag { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-paper-3); }

/* ---------- Mobile menu (light sheet) ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-header) - 1);
  padding-top: var(--header-h);
  background:
    radial-gradient(90% 50% at 100% 0%, rgba(167, 175, 245, 0.45), transparent 70%),
    radial-gradient(70% 40% at 0% 100%, rgba(48, 75, 255, 0.12), transparent 70%),
    var(--c-cool);
  color: var(--c-ink);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: menu-in 0.5s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-closing { animation: menu-out 0.3s var(--ease-in-out) forwards; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } }
@keyframes menu-out { to { opacity: 0; transform: translateY(-10px); } }

.mobile-menu__inner { display: flex; flex-direction: column; min-height: 100%; padding-block: 1rem 2rem; }
.mobile-menu__list > li { border-bottom: 1px solid var(--c-line-light); animation: mega-item 0.5s var(--ease-out) both; }
.mobile-menu__list > li:nth-child(2) { animation-delay: 40ms; }
.mobile-menu__list > li:nth-child(3) { animation-delay: 80ms; }
.mobile-menu__list > li:nth-child(4) { animation-delay: 120ms; }
.mobile-menu__list > li:nth-child(5) { animation-delay: 160ms; }
.mobile-menu__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 60px;
  font-size: clamp(1.375rem, 5.5vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  text-align: left;
}
.mobile-menu__link[aria-current="page"] { color: var(--c-cobalt); }
.mobile-menu__expand .icon { width: 1.4rem; height: 1.4rem; transition: transform var(--dur) var(--ease-out); color: var(--c-cobalt); }
.mobile-menu__expand[aria-expanded="true"] .icon { transform: rotate(45deg); }
.mobile-menu__sub { display: grid; gap: 0.25rem; padding: 0 0 1rem; }
.mobile-menu__sub a {
  display: grid;
  gap: 0.1rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.mobile-menu__sub a span { font-weight: 600; font-size: 1rem; }
.mobile-menu__sub a small { color: var(--c-ink-3); font-size: 0.8125rem; line-height: 1.4; }
.mobile-menu__sub a:hover { background: var(--c-white); }
.mobile-menu__actions { display: grid; gap: 0.6rem; margin-top: auto; padding-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-header__bar { gap: 0.5rem; }
  .primary-nav__link { padding: 0 0.7rem; }
  .mega__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mega__feature { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .mega__feature-text { flex: 1 1 280px; }
  .mega__feature-link { margin-top: 0; }
}
@media (max-width: 959px) {
  .site-header { --logo-h: 30px; padding-top: 8px; }
  .site-header__bar { height: 58px; padding: 0 6px 0 16px; border-radius: 18px; }
  .primary-nav,
  .mega { display: none !important; }
  .menu-toggle { display: grid; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 599px) {
  .site-header__cta { display: none; }
}

/* pages.css */
/* ==========================================================================
   Inner-page system: page hero, section layout and shared content blocks.
   Same tokens, rhythm and motion language as the homepage.
   ========================================================================== */

/* ---------- Page hero (light, soft animated gradient) ---------- */
.page-hero {
  position: relative;
  z-index: 1;
  overflow: clip;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(2rem, 4.5vw, 4rem));
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  background: var(--c-cool);
  color: var(--c-ink);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: linear-gradient(180deg, #fafbff 0%, var(--c-cool) 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(48px); will-change: transform; animation: blob-drift 20s var(--ease-in-out) infinite alternate; }
.blob--1 { width: min(62vw, 820px); aspect-ratio: 1; right: -14%; top: -38%; background: radial-gradient(circle at 45% 45%, rgba(167, 175, 245, 0.85), rgba(167, 175, 245, 0) 66%); }
.blob--2 { width: min(46vw, 620px); aspect-ratio: 1; left: -12%; bottom: -46%; background: radial-gradient(circle, rgba(48, 75, 255, 0.26), rgba(48, 75, 255, 0) 66%); animation-duration: 26s; animation-direction: alternate-reverse; }
.blob--3 { width: min(34vw, 460px); aspect-ratio: 1; left: 42%; top: -10%; background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%); animation-duration: 30s; }
@keyframes blob-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-5%, 6%, 0) scale(1.1); }
}
.reduce-motion .blob { animation: none; }

.page-hero__field { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
/* keep the field away from the text: it fades in toward the visual side / edges */
.page-hero--split .page-hero__field { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 38%, #000 70%); mask-image: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 38%, #000 70%); }
.page-hero--split .page-hero__field[data-mark="logo"] { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 30%, #000 46%); mask-image: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 30%, #000 46%); }
.page-hero--center .page-hero__field { -webkit-mask-image: radial-gradient(60% 70% at 50% 55%, rgba(0,0,0,0.12), #000 90%); mask-image: radial-gradient(60% 70% at 50% 55%, rgba(0,0,0,0.12), #000 90%); }
.js .page-hero__field { opacity: 0; transition: opacity 1.6s var(--ease-out); }
.js .page-hero.has-field .page-hero__field { opacity: 1; }

.page-hero__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--av-gap); align-items: center; }
.page-hero__copy { grid-column: 1 / span 8; }
.page-hero--split .page-hero__copy { grid-column: 1 / span 6; }
.page-hero__visual { grid-column: 7 / span 6; }
.page-hero--center .page-hero__copy { grid-column: 2 / span 10; text-align: center; }
.page-hero--center .page-hero__title,
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--center .breadcrumb ol,
.page-hero--center .page-hero__actions,
.page-hero--center .page-hero__extra { justify-content: center; }
.page-hero--doc { border-bottom: 1px solid var(--c-line-light); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-hero--doc .page-hero__copy { grid-column: 1 / span 9; }

.page-hero__label { margin-top: 1.25rem; }
.page-hero__title {
  max-width: 15em;
  margin-top: 1rem;
  font-size: clamp(2.25rem, 1.45rem + 2.9vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--c-ink);
  text-wrap: balance;
}
.page-hero--split .page-hero__title { font-size: clamp(2.125rem, 1.4rem + 2.4vw, 3.5rem); }
.page-hero--doc .page-hero__title { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.page-hero__lead { max-width: 38rem; margin-top: clamp(1rem, 1.6vw, 1.5rem); font-size: var(--fs-lead); line-height: 1.6; color: var(--c-ink-2); text-wrap: pretty; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(1.5rem, 2.6vw, 2.25rem); }
.page-hero__extra { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: clamp(1.5rem, 2.6vw, 2.25rem); }
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-line-light);
  font-size: 0.875rem;
  color: var(--c-ink-3);
}
.page-hero__meta a { color: var(--c-ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.page-hero__meta a:hover { color: var(--c-cobalt); }

/* photo frame: soft cobalt glow behind, gentle reveal on load */
.hero-photo { position: relative; margin: 0; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 8% -4% -6% 10%;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(48, 75, 255, 0.55), rgba(167, 175, 245, 0.6));
  filter: blur(36px);
  opacity: 0.55;
}
.hero-photo .photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: clamp(20px, 2.4vw, 32px);
  box-shadow: 0 30px 70px -36px rgba(16, 17, 22, 0.5), 0 0 0 1px rgba(16, 17, 22, 0.06);
  animation: photo-in 1.1s 0.15s var(--ease-out) backwards;
}
@keyframes photo-in { from { clip-path: inset(12% 0 0 0 round 28px); transform: translateY(18px); opacity: 0; } }
.hero-photo__badge {
  position: absolute;
  left: clamp(-1.5rem, -2vw, -0.5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(80%, 22rem);
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(16, 17, 22, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -22px rgba(16, 17, 22, 0.45);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--c-ink-2);
  animation: badge-in 0.9s 0.6s var(--ease-out) backwards;
}
.hero-photo__badge strong { display: block; color: var(--c-ink); font-weight: 600; }
.hero-photo__badge .badge-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--c-cobalt); color: var(--c-white); }
@keyframes badge-in { from { opacity: 0; transform: translateY(14px); } }
.reduce-motion .hero-photo .photo,
.reduce-motion .hero-photo__badge { animation: none; }

/* stage for the vector-field mark (the canvas draws the logo inside it) */
.hero-stage {
  position: relative;
  aspect-ratio: 1 / 0.9;
  border-radius: clamp(24px, 3vw, 40px);
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 70%),
    linear-gradient(140deg, rgba(167, 175, 245, 0.35), rgba(48, 75, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 1px rgba(48, 75, 255, 0.06), 0 30px 70px -40px rgba(48, 75, 255, 0.5);
}
.page-hero .svc__visual { box-shadow: 0 30px 70px -36px rgba(16, 17, 22, 0.45), 0 0 0 1px rgba(16, 17, 22, 0.06); }

/* masked word reveal for headings (CSS only: no waiting for scripts or fonts) */
.words .w {
  display: inline-block;
  overflow: clip;
  overflow-clip-margin: 0.14em;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
  vertical-align: top;
}
.words .w > span { display: inline-block; animation: word-in 1.05s var(--ease-out) backwards; animation-delay: calc(0.06s + var(--i) * 0.055s); }
.words .dot { color: var(--c-cobalt); }
@keyframes word-in { from { transform: translate3d(0, 108%, 0); } }

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; font-size: 0.8125rem; color: var(--c-paper-3); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin: 0 0.6rem; opacity: 0.6; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: var(--c-paper-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-paper); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-paper); }
:is([data-theme="light"], .theme-light) .breadcrumb ol { color: var(--c-ink-3); }
:is([data-theme="light"], .theme-light) .breadcrumb a { color: var(--c-ink-2); }
:is([data-theme="light"], .theme-light) .breadcrumb [aria-current] { color: var(--c-ink); }

/* ---------- Sections ---------- */
.section { position: relative; z-index: 2; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(4rem, 2.5rem + 6vw, 7.5rem); }
.section--flush-top { padding-top: 0; }
.section--rounded { border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); }

.section-head { max-width: 54rem; }
.section-head__title { margin-top: 1.25rem; font-size: var(--fs-h2); line-height: 1; letter-spacing: var(--tracking-display); }
.section-head__intro { max-width: 40rem; margin-top: 1.25rem; font-size: var(--fs-lead); color: var(--c-ink-2); }
:is([data-theme="dark"], .theme-dark) .section-head__title { color: var(--c-white); }
:is([data-theme="dark"], .theme-dark) .section-head__intro { color: var(--c-paper-2); }
.section-head--split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--av-gap); max-width: none; align-items: end; }
.section-head--split .section-label { grid-column: 1 / -1; }
.section-head--split .section-head__title { grid-column: 1 / span 7; }
.section-head--split .section-head__intro { grid-column: 9 / span 4; margin-top: 0; }
.section-body { margin-top: clamp(2.5rem, 5vw, 4.5rem); }

/* big statement paragraph */
.statement { max-width: 26em; font-size: clamp(1.5rem, 0.95rem + 2.2vw, 2.85rem); font-weight: 500; line-height: 1.18; letter-spacing: -0.028em; }
:is([data-theme="dark"], .theme-dark) .statement { color: var(--c-paper); }

/* two-column split */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--av-gap); align-items: center; }
.split__main { grid-column: 1 / span 6; }
.split__aside { grid-column: 8 / span 5; }
.split--reverse .split__main { grid-column: 7 / span 6; order: 2; }
.split--reverse .split__aside { grid-column: 1 / span 5; order: 1; }

/* ---------- Outcomes / features ---------- */
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--av-gap); margin-top: clamp(2.5rem, 5vw, 4rem); }
.outcome { padding-top: 1.25rem; border-top: 1px solid var(--c-line-light-strong); }
.outcome h3 { font-size: var(--fs-h4); letter-spacing: -0.02em; }
.outcome p { margin-top: 0.5rem; color: var(--c-ink-2); }
:is([data-theme="dark"], .theme-dark) .outcome { border-color: var(--c-line-dark-strong); }
:is([data-theme="dark"], .theme-dark) .outcome h3 { color: var(--c-white); }
:is([data-theme="dark"], .theme-dark) .outcome p { color: var(--c-paper-2); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3rem) var(--av-gap); }
.feature { padding-top: 1.5rem; border-top: 1px solid var(--c-line-light-strong); }
.feature__mark { display: block; width: 16px; height: 17px; background: var(--c-cobalt); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.feature__title { margin-top: 1rem; font-size: var(--fs-h4); letter-spacing: -0.02em; }
.feature__text { margin-top: 0.5rem; color: var(--c-ink-2); font-size: 0.9688rem; }
:is([data-theme="dark"], .theme-dark) .feature { border-color: var(--c-line-dark-strong); }
:is([data-theme="dark"], .theme-dark) .feature__mark { background: var(--c-periwinkle); }
:is([data-theme="dark"], .theme-dark) .feature__title { color: var(--c-white); }
:is([data-theme="dark"], .theme-dark) .feature__text { color: var(--c-paper-2); }
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Problems ---------- */
.problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); list-style: none; margin: 0; padding: 0; }
.problem { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.75rem 0; border-top: 1px solid var(--c-line-dark-strong); }
.problem__num { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--c-periwinkle); padding-top: 0.35rem; }
.problem__title { font-size: var(--fs-h4); letter-spacing: -0.02em; color: var(--c-white); }
.problem__text { margin-top: 0.5rem; color: var(--c-paper-2); }
:is([data-theme="light"], .theme-light) .problem { border-color: var(--c-line-light-strong); }
:is([data-theme="light"], .theme-light) .problem__num { color: var(--c-cobalt); }
:is([data-theme="light"], .theme-light) .problem__title { color: var(--c-ink); }
:is([data-theme="light"], .theme-light) .problem__text { color: var(--c-ink-2); }

/* ---------- Offers (sub-services on hub & single pages) ---------- */
.offers { list-style: none; margin: 0; padding: 0; }
.offer {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--av-gap) clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--c-line-dark-strong);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.offer:last-child { border-bottom: 1px solid var(--c-line-dark-strong); }
.offer__num { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--c-periwinkle); }
.offer__title { margin-top: 0.75rem; font-size: clamp(1.375rem, 1.05rem + 1.1vw, 2rem); line-height: 1.1; letter-spacing: -0.03em; color: var(--c-white); }
.offer__text { color: var(--c-paper-2); font-size: var(--fs-lead); line-height: 1.5; }
.offer__items { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.offer__items li { padding: 0.45rem 0.85rem; border: 1px solid var(--c-line-dark-strong); border-radius: var(--r-pill); font-size: 0.8125rem; color: var(--c-paper-2); }
.offer .link-arrow { margin-top: 1.25rem; }
:is([data-theme="light"], .theme-light) .offer { border-color: var(--c-line-light-strong); }
:is([data-theme="light"], .theme-light) .offer__num { color: var(--c-cobalt); }
:is([data-theme="light"], .theme-light) .offer__title { color: var(--c-ink); }
:is([data-theme="light"], .theme-light) .offer__text { color: var(--c-ink-2); }
:is([data-theme="light"], .theme-light) .offer__items li { border-color: var(--c-line-light-strong); color: var(--c-ink-2); }

/* ---------- Link cards ---------- */
.card-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.card-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  min-height: 200px;
  padding: 1.5rem;
  border: 1px solid var(--c-line-light-strong);
  border-radius: var(--r-lg);
  background: var(--c-white);
  color: var(--c-ink);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease-out), transform 0.5s var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.card-link:hover { border-color: var(--c-cobalt); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(16, 17, 22, 0.35); }
.card-link__kicker { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-3); }
.card-link__title { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.card-link__text { color: var(--c-ink-2); font-size: 0.9375rem; }
.card-link__arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--c-cobalt); font-weight: 550; font-size: 0.9375rem; }
.card-link__arrow .icon { transition: transform var(--dur) var(--ease-out); }
.card-link:hover .card-link__arrow .icon { transform: translateX(4px); }
:is([data-theme="dark"], .theme-dark) .card-link { background: var(--c-graphite-90); border-color: var(--c-line-dark-strong); color: var(--c-paper); }
:is([data-theme="dark"], .theme-dark) .card-link:hover { border-color: var(--c-periwinkle); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.8); }
:is([data-theme="dark"], .theme-dark) .card-link__kicker { color: var(--c-paper-3); }
:is([data-theme="dark"], .theme-dark) .card-link__text { color: var(--c-paper-2); }
:is([data-theme="dark"], .theme-dark) .card-link__arrow { color: var(--c-periwinkle); }

/* ---------- Fit (who it suits) ---------- */
.fit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--av-gap); list-style: none; margin: 0; padding: 0; }
.fit__item { padding: clamp(1.5rem, 2.5vw, 2rem); border-radius: var(--r-lg); background: var(--c-white); border: 1px solid var(--c-line-light); }
.fit__item h3 { font-size: var(--fs-h4); letter-spacing: -0.02em; }
.fit__item p { margin-top: 0.6rem; color: var(--c-ink-2); font-size: 0.9688rem; }
.fit__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.25rem; border-radius: 12px; background: var(--c-cobalt-soft); color: var(--c-cobalt); }

/* ---------- Anchor chips (on-page navigation) ---------- */
.chips-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chips-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0 0.95rem;
  border: 1px solid var(--c-line-dark-strong);
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  color: var(--c-paper-2);
  text-decoration: none;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.chips-nav a:hover { border-color: var(--c-periwinkle); color: var(--c-paper); }
:is([data-theme="light"], .theme-light) .chips-nav a { border-color: var(--c-line-light-strong); color: var(--c-ink-2); }
:is([data-theme="light"], .theme-light) .chips-nav a:hover { border-color: var(--c-cobalt); color: var(--c-ink); }

/* ---------- Notices ---------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.notice .icon { margin-top: 0.1rem; flex: none; }
.notice p { margin: 0; }
.notice--draft, .notice--template { background: #fff6e5; border-color: #f0d49e; color: #5a4210; }
.notice--demo { background: rgba(48, 75, 255, 0.07); border-color: rgba(48, 75, 255, 0.28); color: var(--c-ink); }
.notice--demo .icon { color: var(--c-cobalt); }
:is([data-theme="dark"], .theme-dark) .notice--demo { background: rgba(167, 175, 245, 0.08); border-color: rgba(167, 175, 245, 0.3); color: var(--c-paper); }
:is([data-theme="dark"], .theme-dark) .notice--demo .icon { color: var(--c-periwinkle); }
.notice a { color: inherit; font-weight: 600; }

/* ---------- Empty state ---------- */
.empty-state {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 3rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border: 1px dashed var(--c-line-light-strong);
  border-radius: var(--r-xl);
}
.empty-state__title { font-size: var(--fs-h3); letter-spacing: -0.03em; line-height: 1.1; }
.empty-state p { margin-top: 0.75rem; color: var(--c-ink-2); max-width: 40rem; }
.empty-state__mark { width: clamp(90px, 12vw, 150px); --logo-mark: var(--c-cobalt); opacity: 0.9; }
.empty-state__mark svg { width: 100%; height: auto; aspect-ratio: 270.37 / 327.31; }
:is([data-theme="dark"], .theme-dark) .empty-state { border-color: var(--c-line-dark-strong); }
:is([data-theme="dark"], .theme-dark) .empty-state p { color: var(--c-paper-2); }
:is([data-theme="dark"], .theme-dark) .empty-state__title { color: var(--c-white); }

/* ---------- Long-form documents (legal, articles) ---------- */
.doc-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.doc-layout__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.toc__title { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-3); margin-bottom: 0.75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a {
  display: block;
  padding: 0.4rem 0 0.4rem 0.9rem;
  border-left: 2px solid var(--c-line-light);
  color: var(--c-ink-3);
  font-size: 0.875rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.toc a:hover { color: var(--c-ink); }
.toc a.is-active { border-color: var(--c-cobalt); color: var(--c-ink); font-weight: 550; }
.toc details > summary { display: none; }

.prose { max-width: 46rem; font-size: 1.0625rem; line-height: 1.72; color: var(--c-ink-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 3rem 0 1rem; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); line-height: 1.15; letter-spacing: -0.03em; color: var(--c-ink); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h3 { margin: 2rem 0 0.75rem; font-size: 1.25rem; letter-spacing: -0.015em; color: var(--c-ink); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--c-cobalt); }
.prose a { color: var(--c-cobalt); }
.prose a:hover { color: var(--c-cobalt-hover); }
.prose strong { color: var(--c-ink); font-weight: 600; }
.prose .ph { padding: 0.05em 0.3em; border-radius: 4px; background: #fff1d6; color: #5a4210; font-weight: 550; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--c-line-light); text-align: left; vertical-align: top; }
.prose th { color: var(--c-ink); font-weight: 600; }
.prose .callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--c-cobalt);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--c-white);
  color: var(--c-ink);
}
.prose .checklist { list-style: none; padding: 0; }
.prose .checklist li { position: relative; padding-left: 1.9rem; }
.prose .checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 5px;
  border: 1.5px solid var(--c-cobalt);
  background: linear-gradient(var(--c-cobalt), var(--c-cobalt)) center / 0 0 no-repeat;
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: calc(var(--z-header) + 1);
  height: 3px;
  background: var(--c-cobalt);
  transform-origin: 0 50%;
  transform: scaleX(var(--read, 0));
  pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .page-hero--split .page-hero__copy,
  .page-hero--center .page-hero__copy,
  .page-hero--doc .page-hero__copy,
  .page-hero__copy { grid-column: 1 / -1; }
  .page-hero__visual { grid-column: 1 / -1; width: min(100%, 640px); margin-top: 1.5rem; }
  .hero-photo__badge { left: 0.75rem; }
  .section-head--split .section-head__title,
  .section-head--split .section-head__intro { grid-column: 1 / -1; }
  .section-head--split .section-head__intro { margin-top: 0.5rem; }
  .split__main, .split__aside, .split--reverse .split__main, .split--reverse .split__aside { grid-column: 1 / -1; order: initial; }
  .split__aside { margin-top: 2.5rem; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit { grid-template-columns: minmax(0, 1fr); }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .doc-layout__aside { position: static; }
  .toc { border: 1px solid var(--c-line-light-strong); border-radius: var(--r-md); padding: 0.25rem 1rem; }
  .toc details > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; list-style: none; font-weight: 550; }
  .toc details > summary::-webkit-details-marker { display: none; }
  .toc details[open] > summary { margin-bottom: 0.25rem; }
  .toc details:not([open]) ol { display: none; }
  .toc__title { display: none; }
}
@media (min-width: 1024px) {
  .toc details { display: contents; }
}
@media (max-width: 899px) {
  .page-hero--center .page-hero__copy { text-align: left; }
  .page-hero--center .page-hero__title,
  .page-hero--center .page-hero__lead { margin-inline: 0; }
  .page-hero--center .breadcrumb ol,
  .page-hero--center .page-hero__actions,
  .page-hero--center .page-hero__extra { justify-content: flex-start; }
  .problems { grid-template-columns: minmax(0, 1fr); }
  .outcomes { grid-template-columns: minmax(0, 1fr); }
  .empty-state { grid-template-columns: minmax(0, 1fr); }
  .empty-state__mark { order: -1; }
}
@media (max-width: 599px) {
  .feature-grid, .feature-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .page-hero__actions .btn { flex: 1 1 100%; }
  .page-hero__actions .btn--primary { justify-content: space-between; }
}

/* ---------- Scrubbed statements on any page ---------- */
.js [data-scrub-text] .scrub-word { opacity: calc(0.5 + var(--w, 0) * 0.5); /* unread words stay above 3:1 contrast */ transition: opacity 0.25s linear; }
html.reduce-motion [data-scrub-text] .scrub-word { opacity: 1; }

.process-link { margin-top: clamp(2rem, 4vw, 3rem); }
:is([data-theme="dark"], .theme-dark) .process-link .link-arrow { color: var(--c-periwinkle); }

/* ---------- Services overview rows ---------- */
.svc-rows { display: grid; gap: 0; }
.svc-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--av-gap);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--c-line-light-strong);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.svc-row__visual { grid-column: 1 / span 7; }
.svc-row__copy { grid-column: 8 / span 5; }
.svc-row--reverse .svc-row__visual { grid-column: 6 / span 7; order: 2; }
.svc-row--reverse .svc-row__copy { grid-column: 1 / span 5; order: 1; }
.svc-row__num { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--c-cobalt); }
.svc-row__title { margin-top: 0.75rem; font-size: clamp(1.75rem, 1rem + 2.4vw, 3.1rem); line-height: 1.04; letter-spacing: -0.04em; }
.svc-row__text { margin-top: 1rem; color: var(--c-ink-2); }
.svc-row .svc__subs { margin: 1.5rem 0; grid-template-columns: minmax(0, 1fr); list-style: none; padding: 0; }

/* ---------- Service matcher ---------- */
.matcher { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.matcher__goals { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; border: 0; }
.matcher__goal { position: relative; cursor: pointer; }
.matcher__goal input { position: absolute; opacity: 0; pointer-events: none; }
.matcher__goal span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--c-line-dark-strong);
  border-radius: var(--r-pill);
  color: var(--c-paper);
  font-weight: 500;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.matcher__goal span::before { content: ""; width: 0; height: 9px; margin-right: 0; background: var(--c-white); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: width var(--dur) var(--ease-out), margin var(--dur) var(--ease-out); }
.matcher__goal:hover span { border-color: var(--c-periwinkle); }
.matcher__goal input:checked + span { background: var(--c-cobalt); border-color: var(--c-cobalt); color: var(--c-white); }
.matcher__goal input:checked + span::before { width: 9px; margin-right: 0.6rem; }
.matcher__goal input:focus-visible + span { outline: 2px solid var(--c-periwinkle); outline-offset: 3px; }
.matcher__result {
  min-height: 320px;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--c-line-dark);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(27, 29, 38, 0.9), rgba(18, 19, 26, 0.95));
}
.matcher__empty { color: var(--c-paper-3); }
.matcher__list { display: grid; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.matcher__item a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid var(--c-line-dark-strong);
  border-radius: var(--r-md);
  color: var(--c-paper);
  text-decoration: none;
  animation: pd-in 0.45s var(--ease-out) both;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.matcher__item a:hover { border-color: var(--c-periwinkle); background: rgba(167, 175, 245, 0.06); }
.matcher__item strong { font-weight: 600; }
.matcher__item small { grid-column: 1; color: var(--c-paper-2); font-size: 0.875rem; }
.matcher__item .icon { grid-row: 1 / span 2; grid-column: 2; color: var(--c-periwinkle); }
.matcher__badge { display: inline-block; margin-left: 0.5rem; padding: 0.1rem 0.5rem; border-radius: var(--r-pill); background: rgba(167, 175, 245, 0.16); color: var(--c-periwinkle); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; vertical-align: middle; }
.matcher__next { margin-top: 1.25rem; color: var(--c-paper-2); font-size: 0.9375rem; }
.matcher__next a { color: var(--c-periwinkle); }
@keyframes pd-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }

@media (max-width: 1023px) {
  .svc-row__visual, .svc-row__copy, .svc-row--reverse .svc-row__visual, .svc-row--reverse .svc-row__copy { grid-column: 1 / -1; order: initial; }
  .matcher { grid-template-columns: minmax(0, 1fr); }
  .matcher__result { min-height: 0; }
}

/* ---------- About: principles (the four planes as tabs) ---------- */
.principles { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.principles__mark svg { width: 100%; max-width: 420px; height: auto; margin-inline: auto; display: block; aspect-ratio: 330 / 390; overflow: visible; }
.principles__plane {
  fill: rgba(167, 175, 245, 0.16);
  stroke: rgba(167, 175, 245, 0.45);
  stroke-width: 1.2;
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 0.5s var(--ease-out), stroke 0.5s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out);
}
.principles__plane:hover { fill: rgba(167, 175, 245, 0.3); }
.principles__plane.is-active { fill: var(--c-cobalt); stroke: var(--c-cobalt); filter: drop-shadow(0 18px 30px rgba(48, 75, 255, 0.45)); }
.principles__plane[data-plane-index="0"].is-active,
.principles__plane[data-plane-index="1"].is-active { transform: translateX(-14px); }
.principles__plane[data-plane-index="2"].is-active,
.principles__plane[data-plane-index="3"].is-active { transform: translateX(14px); }
.principles__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.principles__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 1.1rem;
  border: 1px solid var(--c-line-dark-strong);
  border-radius: var(--r-pill);
  color: var(--c-paper-2);
  font-weight: 550;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.principles__tab span { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--c-paper-3); }
.principles__tab:hover { color: var(--c-paper); border-color: var(--c-periwinkle); }
.principles__tab[aria-selected="true"] { background: var(--c-white); border-color: var(--c-white); color: var(--c-graphite); }
.principles__tab[aria-selected="true"] span { color: var(--c-cobalt); }
.principles__panel { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.principles__panel h3 { font-size: clamp(1.875rem, 1.3rem + 1.9vw, 3rem); line-height: 1.05; letter-spacing: -0.035em; color: var(--c-white); }
.principles__panel p { max-width: 34rem; margin-top: 1rem; font-size: var(--fs-lead); color: var(--c-paper-2); }
.js .principles__panel[hidden] { display: none; }
.principles__panel:not([hidden]) { animation: pd-in 0.5s var(--ease-out); }
.no-js .principles__panel + .principles__panel { margin-top: 2rem; }

/* ---------- About: identity block ---------- */
.about-mark__figure { margin: 0; }
.about-mark .section-head__intro + .section-head__intro { margin-top: 1rem; }

/* ---------- Approach: stages in detail ---------- */
.stage-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.stage-nav { position: sticky; top: calc(var(--header-h) + 2rem); }
.stage-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.stage-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0 0.9rem;
  border-left: 2px solid var(--c-line-dark-strong);
  color: var(--c-paper-3);
  font-weight: 550;
  text-decoration: none;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.stage-nav a span { font-family: var(--font-mono); font-size: 0.6875rem; }
.stage-nav a:hover { color: var(--c-paper); }
.stage-nav a.is-active { color: var(--c-white); border-color: var(--c-periwinkle); }
.stages { display: grid; gap: 0; }
.stage { padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--c-line-dark-strong); scroll-margin-top: calc(var(--header-h) + 1rem); }
.stage:first-child { border-top: 0; padding-top: 0; }
.stage__num { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--c-periwinkle); letter-spacing: 0.1em; }
.stage__title { margin-top: 0.5rem; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.625rem); letter-spacing: -0.035em; line-height: 1.05; color: var(--c-white); }
.stage__lead { margin-top: 0.75rem; font-size: var(--fs-lead); color: var(--c-paper-2); }
.stage__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem var(--av-gap); margin: 2rem 0 0; }
.stage__facts div { padding-top: 1rem; border-top: 1px dashed var(--c-line-dark-strong); }
.stage__facts dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-paper-3); }
.stage__facts dd { margin: 0.4rem 0 0; color: var(--c-paper); }

@media (max-width: 1023px) {
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principles__mark svg { max-width: 260px; }
  .stage-layout { grid-template-columns: minmax(0, 1fr); }
  .stage-nav { position: static; }
  .stage-nav ol { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .stage-nav a { border: 1px solid var(--c-line-dark-strong); border-radius: var(--r-pill); }
}
@media (max-width: 599px) {
  .stage__facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Badges ---------- */
.badge { display: inline-flex; justify-self: start; align-items: center; gap: 0.35rem; padding: 0.2rem 0.6rem; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.badge--draft { background: #fff1d6; color: #5a4210; }
.badge--demo { background: rgba(48, 75, 255, 0.1); color: var(--c-cobalt); }
:is([data-theme="dark"], .theme-dark) .badge--demo { background: rgba(167, 175, 245, 0.16); color: var(--c-periwinkle); }

/* ---------- Case-study template ---------- */
.cs-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: var(--av-gap); }
.cs-gallery .cs-frame:first-child { grid-row: 1 / span 2; }
.cs-frame { margin: 0; }
.cs-frame__box {
  display: grid;
  place-items: center;
  min-height: 220px;
  height: 100%;
  border: 1px dashed var(--c-line-dark-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(rgba(245, 246, 250, 0.04) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(245, 246, 250, 0.04) 1px, transparent 1px) 0 0 / 24px 24px, var(--c-graphite-90);
  color: var(--c-paper-3);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}
.cs-gallery .cs-frame:first-child .cs-frame__box { min-height: 460px; }
.cs-frame figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--c-paper-3); }
.cs-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--av-gap); list-style: none; margin: 0; padding: 0; }
.cs-metrics li { display: grid; gap: 0.4rem; padding: 1.5rem; border: 1px solid var(--c-line-dark-strong); border-radius: var(--r-lg); }
.cs-metrics__value { font-size: clamp(2rem, 1.2rem + 2.5vw, 3.25rem); font-weight: 600; letter-spacing: -0.04em; color: var(--c-white); }
.cs-metrics__label { color: var(--c-paper); font-weight: 550; }
.cs-metrics__note { color: var(--c-paper-3); font-size: 0.875rem; }
.cs-quote { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: clamp(1.5rem, 3vw, 2.5rem); border-left: 3px solid var(--c-periwinkle); background: var(--c-graphite-90); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.cs-quote p { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.35; letter-spacing: -0.02em; color: var(--c-paper); }
.cs-quote footer { margin-top: 1rem; color: var(--c-paper-3); font-size: 0.875rem; }
.page-hero__meta strong { color: var(--c-paper-2); font-weight: 550; margin-right: 0.35rem; }
:is([data-theme="dark"], .theme-dark) .ph { padding: 0.05em 0.3em; border-radius: 4px; background: rgba(240, 212, 158, 0.16); color: #f2d49b; }
:is([data-theme="light"], .theme-light) .ph { padding: 0.05em 0.3em; border-radius: 4px; background: #fff1d6; color: #5a4210; }

/* ---------- Insights ---------- */
.insights-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.insights-cats a[aria-current="true"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--av-gap); }
.article-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--c-line-light-strong);
  border-radius: var(--r-xl);
  background: var(--c-white);
  color: var(--c-ink);
  text-decoration: none;
  transition: border-color var(--dur), transform 0.5s var(--ease-out), box-shadow var(--dur);
}
.article-card:hover { border-color: var(--c-cobalt); transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(16, 17, 22, 0.4); }
.article-card__art svg { width: 100%; height: auto; border-radius: var(--r-lg); display: block; }
.article-card__art .photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); }
.article-cover { position: relative; z-index: 2; padding-top: clamp(1.5rem, 3vw, 2.5rem); background: var(--c-cool); }
.article-cover figure { margin: 0 auto; }
.article-cover .photo { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 30px 70px -44px rgba(16, 17, 22, 0.5); }
@media (max-width: 699px) { .article-cover .photo { aspect-ratio: 16 / 10; } }
.article-card__meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: var(--c-ink-3); }
.article-card__title { margin-top: 0.75rem; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); line-height: 1.12; letter-spacing: -0.035em; }
.article-card__text { margin-top: 0.75rem; color: var(--c-ink-2); }
.article-card .card-link__arrow { margin-top: 1.25rem; }
.planned { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--av-gap); }
.planned li { display: grid; gap: 0.35rem; padding: 1.25rem 0; border-top: 1px solid var(--c-line-light-strong); font-size: 1.125rem; font-weight: 550; letter-spacing: -0.015em; }
.planned span { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink-3); }

/* ---------- Article ---------- */
.is-article .page-hero__title { font-size: clamp(2.25rem, 1.2rem + 3.4vw, 4.25rem); max-width: 16em; }
.is-article .prose > .notice { margin-bottom: 2rem; }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 2rem 0 0; padding: 1.5rem; border-radius: var(--r-lg); background: var(--c-white); border: 1px solid var(--c-line-light); }
.article-cta p { flex: 1 1 100%; margin: 0 0 0.5rem; color: var(--c-ink); }
.prose .btn { text-decoration: none; }
.prose .btn--primary { color: var(--c-white); }

@media (max-width: 899px) {
  .cs-gallery { grid-template-columns: minmax(0, 1fr); }
  .cs-gallery .cs-frame:first-child { grid-row: auto; }
  .cs-gallery .cs-frame:first-child .cs-frame__box { min-height: 260px; }
  .cs-metrics { grid-template-columns: minmax(0, 1fr); }
  .article-card { grid-template-columns: minmax(0, 1fr); }
  .planned { grid-template-columns: minmax(0, 1fr); }
}

/* 404: leave room for the vector "404" */
@media (min-width: 900px) { .is-404 .page-hero__copy { grid-column: 1 / span 6; text-align: left; } .is-404 .page-hero__title, .is-404 .page-hero__lead { margin-inline: 0; } .is-404 .page-hero__actions, .is-404 .page-hero__extra { justify-content: flex-start; } }

/* ==========================================================================
   Service pages v2 — intro split, fit tags, compact steps, needs row, photo rows
   ========================================================================== */
.section--white { background: var(--c-white); }

.svc-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--av-gap); align-items: start; }
.svc-intro__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.svc-intro__lead { margin-top: 1.25rem; font-size: var(--fs-lead); line-height: 1.6; color: var(--c-ink-2); }
.svc-intro__list { grid-column: 7 / span 6; }
.svc-intro__photo { margin: 1.75rem 0 0; }
.svc-intro__photo .photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 24px 50px -34px rgba(16, 17, 22, 0.45); }
.svc-intro__kicker { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-ink-3); margin-bottom: 0.5rem; }
.svc-intro__list .problems { grid-template-columns: minmax(0, 1fr); }
.svc-intro__list .problem { padding: 1.4rem 0; }

.fit-tags { display: grid; gap: 0.6rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.fit-tags li { display: grid; gap: 0.15rem; padding: 0.9rem 1.1rem; border-radius: var(--r-md); background: var(--c-cool); border: 1px solid var(--c-line-light); }
.fit-tags strong { font-weight: 600; font-size: 0.9688rem; }
.fit-tags span { color: var(--c-ink-2); font-size: 0.9063rem; line-height: 1.5; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.4rem 1.25rem 1.25rem;
  border-radius: var(--r-lg);
  background: var(--c-cool);
  border: 1px solid var(--c-line-light);
}
.steps__item::after {
  content: "";
  position: absolute;
  top: 2.05rem;
  right: -0.85rem;
  width: 0.7rem;
  height: 0.75rem;
  background: var(--c-periwinkle);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.steps__item:last-child::after { display: none; }
.steps__num { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--c-cobalt); }
.steps__title { font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1.25; }
.steps__text { color: var(--c-ink-2); font-size: 0.9063rem; line-height: 1.55; }
.steps__out { margin-top: auto; padding-top: 0.75rem; border-top: 1px dashed var(--c-line-light-strong); font-size: 0.8438rem; color: var(--c-ink); font-weight: 550; }
.steps__out span { display: block; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink-3); font-weight: 400; margin-bottom: 0.15rem; }

/* "What we'll need from you": four boxes in one row on desktop */
.needs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); padding: 0; list-style: none; }
.needs__item { padding: clamp(1.25rem, 2vw, 1.75rem); border-radius: var(--r-lg); background: var(--c-white); border: 1px solid var(--c-line-light); box-shadow: 0 16px 40px -34px rgba(16, 17, 22, 0.4); }
.needs__item h3 { margin-top: 1rem; font-size: 1.125rem; letter-spacing: -0.02em; }
.needs__item p { margin-top: 0.4rem; color: var(--c-ink-2); font-size: 0.9375rem; line-height: 1.55; }
.needs__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c-cobalt-soft); color: var(--c-cobalt); }

/* services overview rows with photos */
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row__photo { position: relative; margin: 0; }
.svc-row__photo .photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; border-radius: clamp(18px, 2vw, 28px); box-shadow: 0 30px 60px -38px rgba(16, 17, 22, 0.5); }
.svc-row__for { margin-top: 0.75rem; padding: 0.75rem 1rem; border-left: 3px solid var(--c-cobalt); background: var(--c-cool); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--c-ink-2); font-size: 0.9375rem; }
.svc-row__for strong { color: var(--c-ink); }
.svc-row__title { font-size: clamp(1.625rem, 1.15rem + 1.6vw, 2.5rem); letter-spacing: -0.03em; }

@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps__item::after { display: none; }
}
@media (max-width: 1023px) {
  .svc-intro__head, .svc-intro__list { grid-column: 1 / -1; position: static; }
  .svc-intro__list { margin-top: 1.5rem; }
  .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .needs { grid-template-columns: minmax(0, 1fr); }
}

/* static mark inside a hero stage when the vector field can't run (no JS / no canvas) */
.hero-stage__fallback { position: absolute; inset: 0; display: none; place-items: center; }
.hero-stage__fallback svg { height: 58%; --logo-mark: var(--c-cobalt); }
.no-js .hero-stage__fallback,
.no-field .hero-stage__fallback { display: grid; }

/* ---------- About: CEO ---------- */
.ceo__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.ceo__photo { position: relative; margin: 0; max-width: 460px; }
.ceo__photo::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(140deg, var(--c-cobalt), #2238e6);
}
.ceo__photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: 0 34px 70px -38px rgba(16, 17, 22, 0.6); }
.ceo__name { margin-top: 1rem; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: var(--tracking-display); }
.ceo__role { margin-top: 0.35rem; color: var(--c-cobalt); font-weight: 550; }
.ceo__note { margin: 1.5rem 0 0; padding-left: 1.25rem; border-left: 3px solid var(--c-periwinkle); }
.ceo__note p { font-size: var(--fs-lead); line-height: 1.6; color: var(--c-ink-2); }
.ceo__note p + p { margin-top: 0.9rem; }
.ceo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
@media (max-width: 899px) {
  .ceo__grid { grid-template-columns: minmax(0, 1fr); }
  .ceo__photo { width: min(78%, 360px); margin-left: 18px; }
}

/* ---------- About: dark hero + team ---------- */
.about-hero .breadcrumb { margin-bottom: 1.25rem; }
.about-hero .home-hero__title { font-size: clamp(2.25rem, 1.45rem + 2.9vw, 4rem); }
.team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem); margin-bottom: 0; padding: 0; list-style: none; }
.member__art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(90% 70% at 80% 0%, rgba(255, 255, 255, 0.35), transparent 60%), linear-gradient(150deg, var(--m1), var(--m2));
  box-shadow: 0 30px 60px -40px rgba(16, 17, 22, 0.6);
  transition: transform 0.6s var(--ease-out);
}
.member:hover .member__art { transform: translateY(-6px); }
.member__plane { position: absolute; background: rgba(255, 255, 255, 0.18); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform 0.9s var(--ease-out); }
.member__plane--a { width: 62%; height: 52%; left: -8%; top: 8%; }
.member__plane--b { width: 48%; height: 40%; right: -6%; top: 34%; transform: scaleX(-1); background: rgba(255, 255, 255, 0.12); }
.member__plane--c { width: 54%; height: 44%; left: 10%; bottom: -6%; background: rgba(16, 17, 22, 0.14); }
.member:hover .member__plane--a { transform: translateX(8px); }
.member:hover .member__plane--b { transform: scaleX(-1) translateX(8px); }
.member--1 .member__plane--a { top: 30%; } .member--2 .member__plane--c { left: 40%; } .member--3 .member__plane--b { top: 10%; }
.member__ini { position: absolute; left: 1.25rem; bottom: 1rem; font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: rgba(255, 255, 255, 0.92); }
.member__name { margin-top: 1rem; font-size: 1.1875rem; letter-spacing: -0.02em; }
.member__role { margin-top: 0.2rem; color: var(--c-cobalt); font-weight: 550; font-size: 0.9375rem; }
.member__focus { margin-top: 0.35rem; color: var(--c-ink-3); font-size: 0.875rem; line-height: 1.5; }
@media (max-width: 1023px) { .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Soft gradient hero (trial: Mobile App Development) ---------- */
.page-hero--soft .page-hero__bg { background: linear-gradient(180deg, #fdf8ff 0%, #f7f3ff 55%, var(--c-cool) 100%); }
.page-hero--soft .blob { filter: blur(70px); animation-duration: 18s; }
.page-hero--soft .blob--1 { width: min(52vw, 760px); right: -10%; top: -30%; background: radial-gradient(circle, rgba(255, 182, 214, 0.9), rgba(255, 182, 214, 0) 68%); animation-name: soft-a; }
.page-hero--soft .blob--2 { width: min(46vw, 640px); left: -12%; bottom: -40%; background: radial-gradient(circle, rgba(196, 181, 253, 0.85), rgba(196, 181, 253, 0) 68%); animation-name: soft-b; animation-duration: 22s; }
.page-hero--soft .blob--3 { width: min(30vw, 420px); left: 38%; top: -12%; background: radial-gradient(circle, rgba(167, 175, 245, 0.75), rgba(167, 175, 245, 0) 70%); animation-name: soft-c; animation-duration: 26s; }
.page-hero--soft .blob--4 { width: min(26vw, 380px); right: 22%; bottom: -20%; background: radial-gradient(circle, rgba(244, 194, 255, 0.8), rgba(244, 194, 255, 0) 70%); animation-name: soft-b; animation-duration: 20s; }
.page-hero--soft .blob--5 { width: min(20vw, 300px); left: 18%; top: 18%; background: radial-gradient(circle, rgba(255, 214, 230, 0.7), rgba(255, 214, 230, 0) 70%); animation-name: soft-a; animation-duration: 24s; animation-direction: alternate-reverse; }
@keyframes soft-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-8%, 10%, 0) scale(1.12); } 100% { transform: translate3d(6%, -4%, 0) scale(0.95); } }
@keyframes soft-b { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(12%, -8%, 0) scale(1.1); } 100% { transform: translate3d(-4%, 6%, 0) scale(1); } }
@keyframes soft-c { 0% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-14%, 16%, 0) scale(1.15); } 100% { transform: translate3d(10%, 8%, 0); } }

/* sections/cta.css */
/* ==========================================================================
   Closing call to action — cobalt plane with the symbol assembling behind.
   ========================================================================== */
.cta {
  --assemble: 1; /* 0 = planes apart, 1 = symbol assembled (js/modules/cta.js) */
  position: relative;
  z-index: 3;
  margin-top: calc(var(--r-xl) * -1);
  padding-block: clamp(4.5rem, 8vw, 8rem);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(167, 175, 245, 0.35), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(16, 17, 22, 0.35), transparent 70%);
}
.cta__planes {
  position: absolute;
  z-index: -1;
  right: max(-8vw, -120px);
  top: 50%;
  height: 128%;
  aspect-ratio: 350 / 410;
  translate: 0 -50%;
  pointer-events: none;
}
.cta__planes svg { width: 100%; height: 100%; }
.cta__plane {
  fill: var(--c-white);
  fill-opacity: 0.1;
  transform-box: fill-box;
  transform-origin: center;
  transform:
    translate3d(calc((1 - var(--assemble)) * var(--ax) + var(--px, 0) * var(--depth)), calc((1 - var(--assemble)) * var(--ay) + var(--py, 0) * var(--depth)), 0)
    rotate(calc((1 - var(--assemble)) * var(--ar)));
  transition: transform 0.9s var(--ease-out), fill-opacity 0.9s var(--ease-out);
}
.cta__plane:nth-child(1) { --ax: 60px; --ay: -40px; --ar: -8deg; --depth: 10px; fill-opacity: 0.16; }
.cta__plane:nth-child(2) { --ax: 110px; --ay: -10px; --ar: 6deg; --depth: 18px; }
.cta__plane:nth-child(3) { --ax: -120px; --ay: 20px; --ar: 7deg; --depth: 14px; fill-opacity: 0.13; }
.cta__plane:nth-child(4) { --ax: -50px; --ay: 60px; --ar: -6deg; --depth: 24px; fill-opacity: 0.2; }

.cta__inner { position: relative; }
.cta__title {
  max-width: 14em;
  margin-top: 1.25rem;
  font-size: clamp(2.25rem, 1.3rem + 3.2vw, 4.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: var(--c-white);
}
.cta__lead { max-width: 34rem; margin-top: 1.25rem; font-size: var(--fs-lead); color: var(--c-on-cobalt-2); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.cta__alt { margin-top: 1.5rem; color: var(--c-on-cobalt-2); }
.cta__alt a { color: var(--c-white); font-weight: 550; }
.cta__alt a:hover { text-decoration-thickness: 2px; }

@media (max-width: 899px) {
  .cta__planes { height: 80%; right: -30%; top: 30%; opacity: 0.8; }
}
@media (max-width: 599px) {
  .cta__actions .btn { flex: 1 1 100%; }
  .cta__actions .btn--light { justify-content: space-between; }
}

/* sections/faq.css */
/* ==========================================================================
   FAQ — native <details>/<summary> (works without JS); JS adds smooth height.
   ========================================================================== */
.faq {
  position: relative;
  z-index: 2;
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: calc(clamp(4rem, 3rem + 5vw, 8rem) + var(--r-xl));
}
.faq__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--av-gap);
  align-items: start;
}
.faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__title { margin-top: 1.5rem; font-size: var(--fs-h2); line-height: 1; letter-spacing: var(--tracking-display); }
.faq__intro { margin-top: 1.25rem; color: var(--c-ink-2); max-width: 24rem; }
.faq__head .link-arrow { margin-top: 0.75rem; }
.faq__list { grid-column: 6 / span 7; }

.qa { border-top: 1px solid var(--c-line-light-strong); }
.qa:last-child { border-bottom: 1px solid var(--c-line-light-strong); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 80px;
  padding: 1.25rem 0;
  font-size: var(--fs-h4);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  transition: color var(--dur-fast);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--c-cobalt); }
.qa__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-line-light-strong);
  color: var(--c-ink);
  transition: transform 0.5s var(--ease-out), background-color var(--dur), color var(--dur), border-color var(--dur);
}
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--c-cobalt); border-color: var(--c-cobalt); color: var(--c-white); }
.qa__body { overflow: hidden; }
.qa__body p { max-width: 44rem; padding: 0 4rem 1.75rem 0; color: var(--c-ink-2); }

@media (max-width: 899px) {
  .faq__head,
  .faq__list { grid-column: 1 / -1; }
  .faq__head { position: static; margin-bottom: 2rem; }
  .qa__body p { padding-right: 0; }
}

/* footer.css */
/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 3;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: 2rem;
  overflow: hidden;
}
.site-footer__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--av-gap);
}
.site-footer__brand { grid-column: 1 / span 4; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-logo { display: inline-block; --logo-mark: var(--c-white); --logo-word: var(--c-white); border-radius: var(--r-xs); }
.footer-logo svg { width: 230px; height: auto; aspect-ratio: 1260.13 / 327.31; }
.site-footer__brand p { max-width: 26rem; margin-top: 1.5rem; color: var(--c-paper-2); }
.site-footer__social { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; padding: 0.55rem 0.95rem 0.55rem 0.75rem; border: 1px solid var(--c-line-dark-strong); border-radius: var(--r-pill); color: var(--c-paper); font-size: 0.9063rem; font-weight: 550; transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.site-footer__social a { color: inherit; display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__social:hover { border-color: var(--c-paper); background: rgba(255, 255, 255, 0.06); }
.site-footer__social .icon { color: var(--c-periwinkle); }
.site-footer__nav { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--av-gap); }
.site-footer__heading { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-paper-3); margin-bottom: 0.75rem; }
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--c-paper-2);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.site-footer__nav a:hover { color: var(--c-paper); }

/* one line wherever it fits; stacked phrases on small screens */
.site-footer__tagline {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 0.28em;
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  font-size: clamp(2rem, 5.2vw, 5.25rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--c-paper);
}
.site-footer__tagline span { display: inline-block; transform: translate3d(calc(var(--shift, 0) * 1px), 0, 0); }
.site-footer__tagline span:nth-child(2) { color: transparent; -webkit-text-stroke: 1.4px var(--c-paper-2); }
.site-footer__tagline span:nth-child(3) { color: var(--c-periwinkle); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line-dark);
  font-size: 0.875rem;
  color: var(--c-paper-3);
}
.site-footer__legal { display: flex; gap: 1.25rem; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-paper-2); text-decoration: none; }
.site-footer__legal a:hover { color: var(--c-paper); }
.site-footer__prefs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-left: auto; }
.to-top { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.5rem; color: var(--c-paper-2); text-decoration: none; }
.to-top:hover { color: var(--c-paper); }

@media (max-width: 1023px) {
  .site-footer__brand,
  .site-footer__nav { grid-column: 1 / -1; }
  .site-footer__nav { margin-top: 2.5rem; }
}
@media (max-width: 699px) {
  .site-footer__tagline { flex-direction: column; gap: 0.1em; font-size: clamp(2.25rem, 10.5vw, 3.5rem); }
  .site-footer__tagline span { transform: none; }
}
@media (max-width: 599px) {
  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .site-footer__prefs { margin-left: 0; }
}
.site-footer__linkbtn { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-paper-2); font-size: inherit; }
.site-footer__linkbtn:hover { color: var(--c-paper); text-decoration: underline; }

/* sections/home.css */
/* ==========================================================================
   Homepage — light hero with the vector-field mark, service cards,
   CEO note. (Build/Optimize/Grow uses sections/chapters.css.)
   ========================================================================== */

/* ---------- Hero: deep graphite → cobalt, soft blurred light ---------- */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: min(100svh, 940px);
  padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(3rem, 6vw, 5rem);
  background: #0b0c12;
  color: var(--c-paper);
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, #18215c 0%, rgba(24, 33, 92, 0) 55%),
    radial-gradient(90% 80% at 0% 100%, #101a4d 0%, rgba(16, 26, 77, 0) 60%),
    linear-gradient(160deg, #0d0f18 0%, #0b0c12 45%, #0a0f2a 100%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; animation: glow-drift 22s var(--ease-in-out) infinite alternate; }
.glow--1 { width: min(58vw, 820px); aspect-ratio: 1; right: -8%; top: -18%; background: radial-gradient(circle, rgba(48, 75, 255, 0.55), rgba(48, 75, 255, 0) 68%); }
.glow--2 { width: min(40vw, 560px); aspect-ratio: 1; right: 22%; bottom: -28%; background: radial-gradient(circle, rgba(167, 175, 245, 0.32), rgba(167, 175, 245, 0) 68%); animation-duration: 28s; animation-direction: alternate-reverse; }
.glow--3 { width: min(34vw, 480px); aspect-ratio: 1; left: -10%; top: 20%; background: radial-gradient(circle, rgba(48, 75, 255, 0.22), rgba(48, 75, 255, 0) 70%); animation-duration: 32s; }
@keyframes glow-drift { to { transform: translate3d(-4%, 5%, 0) scale(1.08); } }
.reduce-motion .glow { animation: none; }
/* fine blueprint grid, fading out toward the edges */
.home-hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(167, 175, 245, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 175, 245, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 45%, #000 0%, transparent 75%);
}
.home-hero__vignette { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 18, 0) 70%, rgba(11, 12, 18, 0.55) 100%); }

/* layering: background → stage card → field canvas → text & chips */
.home-hero__field { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.2) 40%, #000 60%); mask-image: linear-gradient(90deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.2) 40%, #000 60%); }
@media (max-width: 959px) { .home-hero__field { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.2) 45%, #000 70%); mask-image: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.2) 45%, #000 70%); } }
.js .home-hero__field { opacity: 0; transition: opacity 1.4s var(--ease-out); }
.js .home-hero.has-field .home-hero__field { opacity: 1; }

.home-hero__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--av-gap); align-items: center; width: 100%; }
.home-hero__copy { grid-column: 1 / span 6; position: relative; z-index: 2; }
.home-hero__visual { grid-column: 7 / span 6; position: relative; }

.home-hero__title {
  max-width: 13em;
  margin-top: 1.25rem;
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.038em;
  color: var(--c-white);
  text-wrap: balance;
}
.home-hero__title .dot { color: var(--c-periwinkle); }
.home-hero__lead { max-width: 34rem; margin-top: 1.25rem; font-size: var(--fs-lead); line-height: 1.6; color: var(--c-paper-2); text-wrap: pretty; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.home-hero__points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 1.75rem 0 0; padding: 0; list-style: none; color: var(--c-paper-2); font-size: 0.9063rem; }
.home-hero__points li { display: inline-flex; align-items: center; gap: 0.4rem; }
.home-hero__points .icon { color: var(--c-periwinkle); }

/* glass stage the logo assembles in */
.home-hero__stage { position: relative; aspect-ratio: 1 / 0.95; }
.home-hero__stage.hero-stage {
  position: relative;
  z-index: 0;
  aspect-ratio: 1 / 0.92;
  border: 1px solid rgba(167, 175, 245, 0.18);
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(48, 75, 255, 0.28), rgba(48, 75, 255, 0) 70%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 90px -40px rgba(48, 75, 255, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.home-hero .hero-stage__fallback svg { --logo-mark: var(--c-periwinkle); }

/* service chips floating around the stage (dark glass) */
.home-hero__chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.35rem 1rem 0.35rem 0.4rem;
  border: 1px solid rgba(167, 175, 245, 0.2);
  border-radius: var(--r-pill);
  background: rgba(21, 23, 36, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.7);
  color: var(--c-paper);
  font-size: 0.875rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: auto;
  animation: chip-in 0.8s var(--ease-out) backwards, chip-float 7s ease-in-out infinite;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.hero-chip:hover { border-color: rgba(167, 175, 245, 0.55); background: rgba(48, 75, 255, 0.28); }
.hero-chip__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(48, 75, 255, 0.3); color: var(--c-periwinkle); }
.hero-chip--1 { top: 2%; left: 0; animation-delay: 0.5s, 0s; }
.hero-chip--2 { top: 12%; right: 0; animation-delay: 0.65s, -1.4s; }
.hero-chip--3 { top: 50%; right: -2%; animation-delay: 0.8s, -2.8s; }
.hero-chip--4 { bottom: 16%; left: -2%; animation-delay: 0.95s, -4.2s; }
.hero-chip--5 { bottom: 1%; right: 14%; animation-delay: 1.1s, -5.6s; }
@keyframes chip-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
@keyframes chip-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.reduce-motion .hero-chip { animation: none; }

/* ---------- Service cards ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin-bottom: 0; padding: 0; list-style: none; }
.svc-card { grid-column: span 2; }
.svc-card--1 { grid-column: span 4; }
.svc-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--c-line-light);
  border-radius: var(--r-lg);
  background: var(--c-cool);
  color: inherit;
  text-decoration: none;
  transition: transform 0.5s var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.svc-card__link:hover { transform: translateY(-4px); border-color: rgba(48, 75, 255, 0.35); box-shadow: 0 30px 60px -36px rgba(16, 17, 22, 0.4); }
.svc-card__photo { height: clamp(180px, 17vw, 250px); margin: 0; overflow: hidden; }
.svc-card__photo .photo { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.svc-card__link:hover .photo { transform: scale(1.04); }
.svc-card__body { display: flex; flex-direction: column; flex: 1; gap: 0.5rem; padding: 1.4rem 1.5rem 1.5rem; }
.svc-card__num { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--c-cobalt); }
.svc-card__title { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); letter-spacing: -0.025em; line-height: 1.2; }
.svc-card__text { color: var(--c-ink-2); font-size: 0.9688rem; line-height: 1.55; }
.svc-card__for { margin-top: 0.25rem; padding-top: 0.75rem; border-top: 1px solid var(--c-line-light); color: var(--c-ink-2); font-size: 0.875rem; line-height: 1.5; }
.svc-card__for strong { display: block; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink-3); font-weight: 400; margin-bottom: 0.15rem; }
.svc-card__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 0.75rem; color: var(--c-cobalt); font-weight: 600; font-size: 0.9375rem; }
.svc-card__more .icon { transition: transform var(--dur) var(--ease-out); }
.svc-card__link:hover .svc-card__more .icon { transform: translateX(4px); }
.home-services__all { margin-top: 2rem; color: var(--c-ink-2); }

/* ---------- CEO note ---------- */
.ceo-note__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1100px; margin-inline: auto; }
.ceo-note__photo { position: relative; margin: 0; }
.ceo-note__photo::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  z-index: -1;
  width: 62%;
  height: 62%;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--c-periwinkle), var(--c-cobalt));
}
.ceo-note__photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px -34px rgba(16, 17, 22, 0.55); }
.ceo-note__quote { margin: 1.25rem 0 0; }
.ceo-note__quote p { font-size: clamp(1.375rem, 1.05rem + 1.1vw, 2rem); font-weight: 500; line-height: 1.32; letter-spacing: -0.022em; color: var(--c-ink); text-wrap: pretty; }
.ceo-note__sig { display: grid; gap: 0.1rem; margin-top: 1.5rem; }
.ceo-note__sig strong { font-size: 1.0625rem; font-weight: 600; }
.ceo-note__sig span { color: var(--c-ink-3); font-size: 0.9375rem; }
.ceo-note__more { margin-top: 1.25rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .home-hero__visual { padding: 1.5rem 1rem; }
  .hero-chip { font-size: 0.8125rem; }
}
@media (max-width: 959px) {
  .home-hero { min-height: 0; }
  .home-hero__copy, .home-hero__visual { grid-column: 1 / -1; }
  .home-hero__visual { width: min(100%, 560px); margin: 1rem auto 0; padding: 0; }
  .home-hero__chips { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
  .hero-chip { position: static; animation: chip-in 0.8s var(--ease-out) backwards; }
  .svc-card, .svc-card--1 { grid-column: span 3; }
  .svc-card--1 { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .ceo-note__grid { grid-template-columns: minmax(0, 1fr); }
  .ceo-note__photo { width: min(72%, 300px); }
}
@media (max-width: 699px) {
  .svc-card, .svc-card--1 { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .home-hero__actions .btn { flex: 1 1 100%; }
  .home-hero__actions .btn--primary { justify-content: space-between; }
}

/* sections/chapters.css */
/* ==========================================================================
   Chapters — We Build. We Optimize. We Grow.
   Sticky WebGL sculpture (three offset architectural planes) on one side,
   normally scrolling chapter text on the other. Scroll position drives the
   sculpture: planes assemble (Build), align precisely (Optimize), rise (Grow).
   ========================================================================== */
.chapters {
  position: relative;
  z-index: 2;
  padding-top: var(--section-y);
  padding-bottom: clamp(3rem, 6vw, 6rem);
  overflow: clip;
}

.chapters__head { max-width: var(--container-max-width, var(--av-container)); }
.chapters__title {
  max-width: 12em;
  margin-top: 1.5rem;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  color: var(--c-white);
}
.chapters__intro { max-width: 34rem; margin-top: 1.5rem; font-size: var(--fs-lead); color: var(--c-paper-2); }

.chapters__body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--av-gap);
  margin-top: clamp(1rem, 4vw, 3rem);
}
.chapters__visual { grid-column: 1 / span 7; position: relative; }
.chapters__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
}
.chapters__canvas {
  width: 100%;
  height: min(80svh, 760px);
  /* feather all four edges so the glow never shows a canvas boundary */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 88%, transparent);
  mask-composite: intersect;
}
.chapters__sticky::before {
  content: "";
  position: absolute;
  inset: 12% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(48, 75, 255, 0.22), transparent);
  filter: blur(30px);
  opacity: calc(0.4 + var(--glow, 0) * 0.6);
  pointer-events: none;
}

.chapters__progress {
  position: absolute;
  left: 0;
  bottom: clamp(1.5rem, 6vh, 3.5rem);
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--c-paper-3);
}
.chapters__progress li { display: flex; align-items: center; gap: 0.6rem; transition: color var(--dur); }
.chapters__progress li.is-active { color: var(--c-paper); }
.chapters__progress i { position: relative; width: 44px; height: 2px; background: var(--c-line-dark); overflow: hidden; }
.chapters__progress b { position: absolute; inset: 0; background: var(--c-periwinkle); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.chapters__caption {
  position: absolute;
  right: 0;
  bottom: clamp(1.5rem, 6vh, 3.5rem);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-paper-3);
}

.chapters__list { grid-column: 9 / span 4; }
.chapter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64vh;
  min-height: 64svh;
  padding-block: 8vh;
  opacity: 0.72; /* dimmed, but text stays above 4.5:1 contrast */
  transition: opacity 0.6s var(--ease-out);
}
.chapter.is-active,
html.reduce-motion .chapter,
.no-js .chapter { opacity: 1; }
.chapter__num { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--tracking-label); color: var(--c-periwinkle); }
.chapter__verb {
  margin-top: 0.75rem;
  font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4.25rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: var(--tracking-display);
  color: var(--c-white);
}
.chapter__title { margin-top: 1.5rem; font-size: var(--fs-h4); font-weight: 550; letter-spacing: -0.015em; color: var(--c-paper); }
.chapter__text { max-width: 30rem; margin-top: 0.75rem; color: var(--c-paper-2); }
.chapter__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.chapter__tags li {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--c-line-dark-strong);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  color: var(--c-paper-2);
}

/* ---------- Fallback when WebGL is unavailable ---------- */
.chapters__fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  perspective: 900px;
}
.chapters.no-webgl .chapters__fallback { display: grid; }
.chapters.no-webgl .chapters__canvas { visibility: hidden; }
.chapters__fallback span {
  grid-area: 1 / 1;
  width: min(52%, 360px);
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  background: linear-gradient(135deg, #cfd2dc, #8d92a2 45%, #e9ebf1 70%, #9da1b0);
  box-shadow: 0 2px 0 var(--c-cobalt), 0 18px 40px -10px rgba(48, 75, 255, 0.55);
  transform: rotateX(58deg) rotateZ(-38deg) translateZ(calc(var(--i) * 46px)) translateX(calc(var(--i) * 14px));
}
.chapters__fallback span:nth-child(1) { --i: -1; }
.chapters__fallback span:nth-child(2) { --i: 0; }
.chapters__fallback span:nth-child(3) { --i: 1; }

/* ---------- Mobile & tablet: sculpture pinned to the top, text scrolls below ---------- */
@media (max-width: 899px) {
  .chapters__body { display: block; margin-top: 2rem; }
  .chapters__visual {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 50svh;
    margin-inline: calc(var(--gutter) * -1);
    background: var(--c-graphite);
  }
  /* text slides under the pinned sculpture through a short fade */
  .chapters__visual::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 56px;
    background: linear-gradient(var(--c-graphite), rgba(16, 17, 22, 0));
    pointer-events: none;
  }
  .chapters__sticky { position: relative; height: 100%; }
  .chapters__canvas { height: 100%; }
  .chapters__progress { left: var(--gutter); bottom: 1rem; }
  .chapters__caption { right: var(--gutter); bottom: 1rem; }
  .chapters__list { position: relative; z-index: 0; }
  .chapter { min-height: 50svh; padding-block: 2.5rem 3rem; }
  .chapter__verb { font-size: clamp(2.25rem, 1.4rem + 4.5vw, 3.5rem); }
}
@media (max-width: 599px) {
  .chapters__caption { display: none; }
  .chapters__visual { height: 46svh; }
}

/* sections/services.css */
/* ==========================================================================
   Services — interactive index.
   Desktop: category list on the left, live panel on the right.
   Mobile/tablet: the same markup behaves as an accordion.
   Semantics: disclosure buttons (aria-expanded) + labelled regions.
   ========================================================================== */
.services {
  position: relative;
  z-index: 2;
  padding-top: var(--section-y);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: calc(var(--r-xl) * -1);
}

.services__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--av-gap);
  align-items: end;
}
.services__head .section-label { grid-column: 1 / -1; }
.services__title {
  grid-column: 1 / span 8;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: var(--tracking-display);
}
.services__intro { grid-column: 9 / span 4; color: var(--c-ink-2); font-size: var(--fs-lead); }

.svc {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(2rem, 5vw, 6rem);
  margin-top: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}
.svc__item { display: contents; }
.svc__heading { grid-column: 1; font: inherit; letter-spacing: normal; }
.svc__item:nth-child(1) .svc__heading { grid-row: 1; }
.svc__item:nth-child(2) .svc__heading { grid-row: 2; }
.svc__item:nth-child(3) .svc__heading { grid-row: 3; }
.svc__item:nth-child(4) .svc__heading { grid-row: 4; }
.svc__item:nth-child(5) .svc__heading { grid-row: 5; }
.svc__item:nth-child(5) .svc__trigger { border-bottom: 1px solid var(--c-line-light); }
.svc__panel { grid-column: 2; grid-row: 1 / span 6; }

.svc__trigger {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  column-gap: 0.75rem;
  align-items: center;
  width: 100%;
  min-height: 88px;
  padding: 1.25rem 0;
  border-top: 1px solid var(--c-line-light);
  text-align: left;
  color: var(--c-ink-3);
  transition: color var(--dur) var(--ease-out);
}
.svc__trigger::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 100%;
  background: var(--c-cobalt);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.7s var(--ease-out);
}
.svc__num { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--c-ink-3); }
.svc__name {
  font-size: clamp(1.5rem, 0.95rem + 1.6vw, 2.375rem);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -0.035em;
  transition: transform 0.6s var(--ease-out);
}
.svc__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-line-light-strong);
  color: var(--c-ink);
  transition: transform 0.5s var(--ease-out), background-color var(--dur), color var(--dur), border-color var(--dur);
}
.svc__trigger:hover { color: var(--c-ink); }
.svc__trigger[aria-expanded="true"] { color: var(--c-ink); }
.svc__trigger[aria-expanded="true"]::before { transform: scaleX(1); }
.svc__trigger[aria-expanded="true"] .svc__num { color: var(--c-cobalt); }
.svc__trigger[aria-expanded="true"] .svc__icon { transform: rotate(45deg); background: var(--c-cobalt); border-color: var(--c-cobalt); color: var(--c-white); }

/* Panel */
.svc__panel[hidden] { display: none; }
.svc__panel.is-entering .svc__visual { animation: svc-visual-in 0.8s var(--ease-out); }
.svc__panel.is-entering .svc__details > * { animation: svc-detail-in 0.7s var(--ease-out) both; }
.svc__panel.is-entering .svc__details > *:nth-child(2) { animation-delay: 60ms; }
.svc__panel.is-entering .svc__details > *:nth-child(3) { animation-delay: 120ms; }
@keyframes svc-visual-in { from { opacity: 0; transform: translateY(18px) scale(0.985); clip-path: inset(6% 4% 6% 4% round 40px); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes svc-detail-in { from { opacity: 0; transform: translateY(14px); } }

.svc__visual {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 85% 110%, rgba(48, 75, 255, 0.5), transparent 70%),
    linear-gradient(rgba(245, 246, 250, 0.045) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(245, 246, 250, 0.045) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--c-graphite);
  isolation: isolate;
}
.svc__caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-paper-3);
}
.svc__details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem 2.5rem;
  margin-top: 2rem;
}
.svc__desc { grid-column: 1 / -1; max-width: 40rem; font-size: var(--fs-lead); color: var(--c-ink-2); line-height: 1.5; }
.svc__subs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.svc__subs li { border-bottom: 1px solid var(--c-line-light); }
.svc__subs a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  font-weight: 500;
  font-size: 0.9688rem;
  text-decoration: none;
  transition: color var(--dur-fast), padding var(--dur) var(--ease-out);
}
.svc__subs a::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  background: var(--c-cobalt);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transition: transform var(--dur) var(--ease-out);
}
.svc__subs a:hover { color: var(--c-cobalt); padding-left: 4px; }
.svc__details .link-arrow { grid-column: 1 / -1; justify-self: start; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  margin-top: var(--section-y);
  padding-block: clamp(1rem, 2vw, 1.75rem);
  border-top: 1px solid var(--c-line-light);
  overflow: hidden;
  user-select: none;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-right: clamp(1.5rem, 3vw, 3rem); }
.marquee__group span {
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 6.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: var(--c-ink);
}
.marquee__group span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.3px var(--c-ink); }
.marquee__group i {
  flex: none;
  width: clamp(18px, 2vw, 28px);
  aspect-ratio: 1 / 1.1;
  background: var(--c-cobalt);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.marquee__pause {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-cool);
  border: 1px solid var(--c-line-light-strong);
  color: var(--c-ink);
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.marquee:hover .marquee__pause,
.marquee__pause:focus-visible,
.marquee__pause[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .marquee__pause { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .services__title { grid-column: 1 / -1; }
  .services__intro { grid-column: 1 / span 10; }
  .svc { display: block; }
  .svc__item { display: block; }
  .svc__item:last-child .svc__trigger[aria-expanded="false"] { border-bottom: 1px solid var(--c-line-light); }
  .svc__item:nth-child(5) .svc__trigger { border-bottom: 0; }
  .svc__panel { padding: 0.5rem 0 2.5rem; }
  .svc__visual { border-radius: var(--r-lg); }
}
@media (max-width: 599px) {
  .services__intro { grid-column: 1 / -1; }
  .svc__trigger { min-height: 76px; grid-template-columns: 2rem minmax(0, 1fr) auto; }
  .svc__visual { aspect-ratio: 4 / 3.4; }
  .svc__details { grid-template-columns: minmax(0, 1fr); }
  .svc__subs { grid-template-columns: minmax(0, 1fr); }
}

/* sections/scenes.css */
/* ==========================================================================
   Service scenes — original, code-built illustrations (no stock imagery).
   Each scene loops only while its panel is open and on screen
   (.scene.is-playing, toggled by js/modules/scenes.js). With reduced motion,
   scenes show their composed final frame.
   ========================================================================== */
.scene {
  position: absolute;
  inset: 0;
  --t: 9s; /* loop length */
}
.scene *,
.scene *::before,
.scene *::after { animation-play-state: paused; }
.scene.is-playing *,
.scene.is-playing *::before,
.scene.is-playing *::after,
.no-js .scene * { animation-play-state: running; }

/* shared skeleton bars */
.scene i { display: block; height: 7px; border-radius: 4px; background: rgba(16, 17, 22, 0.14); }
.w-30 { width: 30%; } .w-40 { width: 40%; } .w-50 { width: 50%; } .w-60 { width: 60%; }
.w-70 { width: 70%; } .w-80 { width: 80%; } .w-90 { width: 90%; }

/* ======================= 1. Websites & e-commerce ======================= */
.sw-browser {
  position: absolute;
  left: 7%;
  top: 11%;
  width: 70%;
  height: 76%;
  border-radius: 14px;
  background: var(--c-cool);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform: perspective(1400px) rotateY(9deg) rotateX(4deg);
  transform-origin: 0 50%;
}
.sw-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 9%;
  padding: 0 4%;
  background: var(--c-cool-80);
}
.sw-browser__bar > i { width: 8px; height: 8px; border-radius: 50%; background: rgba(16, 17, 22, 0.18); }
.sw-url {
  margin-left: 4%;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--c-cool);
  font-family: var(--font-mono);
  font-size: clamp(8px, 0.75vw, 11px);
  color: var(--c-ink-3);
}
.sw-page { display: grid; gap: 6%; height: 91%; padding: 4% 5%; grid-template-rows: auto 1.3fr 1fr; }
.sw-nav { display: flex; align-items: center; gap: 5%; }
.sw-nav > i { width: 9%; height: 6px; }
.sw-logo { width: 14%; height: 12px; border-radius: 3px; background: var(--c-graphite); margin-right: auto; }
.sw-cart { position: relative; width: 18px; height: 16px; border: 2px solid var(--c-graphite); border-radius: 3px 3px 5px 5px; }
.sw-cart em {
  position: absolute;
  top: -9px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--c-cobalt);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  animation: sw-badge var(--t) var(--ease-out) infinite;
}
.sw-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; }
.sw-hero__copy { display: grid; gap: 9px; }
.sw-hero__copy i { height: 12px; background: var(--c-graphite); }
.sw-hero__copy .sw-sub { height: 6px; background: rgba(16, 17, 22, 0.18); }
.sw-btn { display: block; width: 42%; height: 18px; margin-top: 4px; border-radius: 999px; background: var(--c-cobalt); }
.sw-hero__art {
  position: relative;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--c-graphite) 0%, #1d2140 100%);
  overflow: hidden;
}
.sw-hero__art b {
  position: absolute;
  width: 46%;
  height: 34%;
  background: var(--c-cobalt);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  border-radius: 4px;
  animation: sw-plane var(--t) var(--ease-out) infinite;
}
.sw-hero__art b:nth-child(1) { left: 12%; top: 14%; transform: scaleX(-1); background: var(--c-periwinkle); }
.sw-hero__art b:nth-child(2) { left: 40%; top: 34%; transform: scaleX(-1); animation-delay: 0.15s; }
.sw-hero__art b:nth-child(3) { left: 20%; top: 56%; animation-delay: 0.3s; background: var(--c-white); }
.sw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
.sw-card { display: grid; align-content: start; gap: 6px; padding: 7%; border-radius: 8px; background: var(--c-white); box-shadow: 0 6px 18px -10px rgba(16, 17, 22, 0.35); animation: sw-build var(--t) var(--ease-out) infinite both; }
.sw-card:nth-child(2) { animation-delay: 0.12s; }
.sw-card:nth-child(3) { animation-delay: 0.24s; }
.sw-card__img { display: block; aspect-ratio: 16 / 9; border-radius: 5px; background: linear-gradient(135deg, var(--c-periwinkle), var(--c-cobalt)); }
.sw-card:nth-child(2) .sw-card__img { background: linear-gradient(135deg, #d9dcea, #9aa0b8); }
.sw-card:nth-child(3) .sw-card__img { background: linear-gradient(135deg, var(--c-graphite), #3a3f63); }
.sw-card i { height: 5px; }
.sw-add { justify-self: end; width: 16px; height: 16px; border-radius: 50%; background: var(--c-graphite); }
.sw-add[data-add] { animation: sw-click var(--t) var(--ease-out) infinite; }
.sw-hero,
.sw-nav { animation: sw-build var(--t) var(--ease-out) infinite both; }
.sw-hero { animation-delay: 0.08s; }

.sw-phone {
  position: absolute;
  right: 7%;
  bottom: 9%;
  width: 21%;
  aspect-ratio: 9 / 18.5;
  padding: 1.6%;
  border-radius: 22px;
  background: #0b0c10;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: sw-phone var(--t) var(--ease-out) infinite both;
}
.sw-phone__screen { display: grid; align-content: start; gap: 8px; height: 100%; padding: 16% 10%; border-radius: 17px; background: var(--c-cool); }
.sw-phone__screen i { height: 6px; }
.sw-phone__screen i:first-child { height: 9px; background: var(--c-graphite); }
.sw-phone__img { display: block; aspect-ratio: 4 / 3; border-radius: 6px; background: linear-gradient(140deg, var(--c-graphite), #252a52); }
.sw-phone__screen .sw-btn { width: 70%; }

.scene-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 22px;
  background: var(--c-white);
  clip-path: polygon(0 0, 100% 62%, 52% 64%, 70% 100%, 52% 100%, 36% 68%, 0 90%);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
  animation: sw-cursor var(--t) var(--ease-in-out) infinite;
}
@keyframes sw-build { 0% { opacity: 0; transform: translateY(14px) scale(0.97); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes sw-plane { 0%, 6% { opacity: 0; translate: -16px 0; } 18%, 100% { opacity: 1; translate: 0 0; } }
@keyframes sw-phone { 0%, 14% { opacity: 0; transform: translateY(30px) rotate(4deg); } 26%, 100% { opacity: 1; transform: rotate(-3deg); } }
@keyframes sw-cursor {
  0%, 30% { left: 44%; top: 98%; opacity: 0; }
  36% { opacity: 1; }
  52% { left: var(--cx, 30%); top: var(--cy, 77%); transform: none; }
  56% { left: var(--cx, 30%); top: var(--cy, 77%); transform: scale(0.82); }
  60%, 84% { left: var(--cx, 30%); top: var(--cy, 77%); transform: none; opacity: 1; }
  94%, 100% { left: 50%; top: 96%; opacity: 0; }
}
@keyframes sw-click { 0%, 54% { background: var(--c-graphite); transform: none; } 56% { background: var(--c-cobalt); transform: scale(1.35); } 64%, 100% { background: var(--c-cobalt); transform: none; } }
@keyframes sw-badge { 0%, 56% { transform: none; } 60% { transform: scale(1.5); } 66%, 100% { transform: none; } }

/* ============================ 2. AI & automation ============================ */
.sa-chat {
  position: absolute;
  left: 6%;
  top: 9%;
  width: 54%;
  height: 82%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: var(--c-graphite-80);
  border: 1px solid var(--c-line-dark);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.sa-chat__head { display: flex; align-items: center; gap: 10px; padding: 4.5% 6%; border-bottom: 1px solid var(--c-line-dark); color: var(--c-paper); font-size: clamp(10px, 0.95vw, 13px); }
.sa-chat__head b { display: block; font-weight: 600; }
.sa-chat__head small { display: block; color: #7ee2a8; font-size: 0.85em; }
.sa-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-cobalt); color: var(--c-white); }
.sa-avatar svg { width: 15px; height: 15px; }
.sa-chat__body { display: flex; flex-direction: column; gap: 9px; padding: 6%; font-size: clamp(10px, 0.95vw, 13px); line-height: 1.4; }
.sa-msg { max-width: 82%; padding: 8px 12px; border-radius: 14px; animation: sa-in var(--t) var(--ease-out) infinite both; }
.sa-msg--bot { align-self: flex-start; background: var(--c-graphite-70); color: var(--c-paper); border-bottom-left-radius: 4px; }
.sa-msg--user { align-self: flex-end; background: var(--c-cobalt); color: var(--c-white); border-bottom-right-radius: 4px; animation-name: sa-in-2; }
.sa-msg--late { animation-name: sa-in-4; }
.sa-typing { display: flex; gap: 4px; align-self: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--c-graphite-70); animation: sa-typing var(--t) linear infinite both; }
.sa-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-paper-2); animation: sa-dot 0.9s ease-in-out infinite; }
.sa-typing i:nth-child(2) { animation-delay: 0.15s; }
.sa-typing i:nth-child(3) { animation-delay: 0.3s; }
.sa-chips { display: flex; flex-wrap: wrap; gap: 6px; animation: sa-in-5 var(--t) var(--ease-out) infinite both; }
.sa-chips span { padding: 5px 10px; border: 1px solid var(--c-line-dark-strong); border-radius: 999px; color: var(--c-periwinkle); font-size: 0.9em; }
@keyframes sa-in { 0%, 4% { opacity: 0; transform: translateY(10px); } 10%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sa-in-2 { 0%, 16% { opacity: 0; transform: translateY(10px); } 22%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sa-typing { 0%, 28% { opacity: 0; height: 0; padding-block: 0; } 30%, 44% { opacity: 1; height: 26px; padding-block: 10px; } 46%, 100% { opacity: 0; height: 0; padding-block: 0; margin-top: -9px; } }
@keyframes sa-in-4 { 0%, 46% { opacity: 0; transform: translateY(10px); } 52%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sa-in-5 { 0%, 56% { opacity: 0; transform: translateY(10px); } 62%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sa-dot { 0%, 100% { opacity: 0.3; transform: none; } 50% { opacity: 1; transform: translateY(-2px); } }

.sa-flow {
  position: absolute;
  right: 6%;
  top: 12%;
  bottom: 12%;
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sa-flow li { position: relative; display: flex; justify-content: center; }
.sa-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 160%;
  background: linear-gradient(var(--c-periwinkle), var(--c-periwinkle)) 0 0 / 100% 30% no-repeat, var(--c-line-dark-strong);
  animation: sa-pulse var(--t) linear infinite;
}
.sa-flow li:nth-child(2)::after { animation-delay: 0.6s; }
.sa-flow li:nth-child(3)::after { animation-delay: 1.2s; }
.sa-node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--c-graphite-80);
  border: 1px solid var(--c-line-dark-strong);
  color: var(--c-paper);
  font-size: clamp(9px, 0.85vw, 12px);
  font-weight: 500;
  white-space: nowrap;
  animation: sa-node var(--t) var(--ease-out) infinite;
}
.sa-flow li:nth-child(2) .sa-node { animation-delay: 0.6s; }
.sa-flow li:nth-child(3) .sa-node { animation-delay: 1.2s; }
.sa-flow li:nth-child(4) .sa-node { animation-delay: 1.8s; }
.sa-node--ai { background: var(--c-cobalt); border-color: var(--c-cobalt); }
.sa-node svg { width: 12px; height: 12px; }
@keyframes sa-pulse { 0%, 22% { background-position: 0 -40%; } 34%, 100% { background-position: 0 140%; } }
@keyframes sa-node { 0%, 24% { box-shadow: 0 0 0 0 rgba(167, 175, 245, 0); } 30% { box-shadow: 0 0 0 6px rgba(167, 175, 245, 0.25); } 40%, 100% { box-shadow: 0 0 0 0 rgba(167, 175, 245, 0); } }

/* ============================== 3. Mobile apps ============================== */
.sp-phone {
  position: absolute;
  top: 8%;
  width: 29%;
  aspect-ratio: 9 / 19;
  padding: 1.2%;
  border-radius: 28px;
  background: #0b0c10;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.sp-phone--front { left: 38%; z-index: 2; }
.sp-phone--back { left: 16%; top: 14%; transform: rotate(-8deg); opacity: 0.55; filter: saturate(0.8); }
.sp-screen { position: relative; height: 100%; border-radius: 22px; background: var(--c-cool); overflow: hidden; padding: 14% 8% 0; }
.sp-phone--back .sp-screen { display: grid; align-content: start; gap: 12px; }
.sp-profile { display: grid; justify-items: center; gap: 7px; padding-bottom: 8px; }
.sp-ava { width: 36%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--c-periwinkle), var(--c-cobalt)); }
.sp-row { height: 26px !important; border-radius: 8px !important; background: var(--c-white) !important; box-shadow: 0 4px 10px -6px rgba(16, 17, 22, 0.25); }
.sp-status { position: absolute; top: 4%; left: 8%; right: 8%; display: flex; justify-content: space-between; }
.sp-status i { width: 18%; height: 5px; }
.sp-greet { font-size: clamp(10px, 1vw, 14px); font-weight: 600; letter-spacing: -0.02em; color: var(--c-ink); margin-bottom: 8%; }
.sp-feed { display: grid; gap: 8px; animation: sp-scroll var(--t) var(--ease-in-out) infinite; }
.sp-card { display: grid; gap: 6px; padding: 10% 8%; border-radius: 12px; background: var(--c-white); box-shadow: 0 6px 16px -10px rgba(16, 17, 22, 0.3); }
.sp-card i { height: 6px; }
.sp-card--cobalt { background: var(--c-cobalt); }
.sp-card--cobalt i { background: rgba(255, 255, 255, 0.55); }
.sp-card--peri { background: var(--c-periwinkle); }
.sp-card--peri i { background: rgba(16, 17, 22, 0.25); }
.sp-toast {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 4%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  background: var(--c-graphite);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.6);
  animation: sp-toast var(--t) var(--ease-out) infinite;
}
.sp-toast span { flex: none; width: 16px; height: 16px; border-radius: 5px; background: var(--c-cobalt); }
.sp-toast i { background: rgba(255, 255, 255, 0.4); height: 5px; }
.sp-tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 12%;
  background: var(--c-white);
  border-top: 1px solid var(--c-line-light);
}
.sp-tabs i { width: 14px; height: 14px; border-radius: 4px; background: rgba(16, 17, 22, 0.16); }
.sp-tabs__dot {
  position: absolute;
  bottom: 18%;
  left: 12%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-cobalt);
  animation: sp-tab var(--t) var(--ease-in-out) infinite;
}
@keyframes sp-scroll { 0%, 18% { transform: none; } 42%, 62% { transform: translateY(-38%); } 86%, 100% { transform: none; } }
@keyframes sp-toast { 0%, 50% { transform: translateY(-160%); opacity: 0; } 56%, 76% { transform: none; opacity: 1; } 84%, 100% { transform: translateY(-160%); opacity: 0; } }
@keyframes sp-tab { 0%, 30% { left: 12%; } 36%, 64% { left: 37%; } 70%, 100% { left: 12%; } }

/* =========================== 4. Custom software =========================== */
.ss-app {
  position: absolute;
  left: 6%;
  top: 9%;
  width: 70%;
  height: 82%;
  display: grid;
  grid-template-columns: 13% 1fr;
  border-radius: 14px;
  background: var(--c-cool);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.ss-side { display: grid; align-content: start; justify-items: center; gap: 14px; padding: 18px 0; background: var(--c-graphite); }
.ss-logo { width: 18px; height: 18px; border-radius: 5px; background: var(--c-cobalt); margin-bottom: 8px; }
.ss-side i { width: 16px; height: 16px; border-radius: 5px; background: rgba(245, 246, 250, 0.18); }
.ss-side i.is-active { background: var(--c-periwinkle); }
.ss-main { display: grid; grid-template-rows: auto 1fr auto; gap: 5%; padding: 5%; }
.ss-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.ss-kpi { display: grid; gap: 8px; padding: 10% 10% 6%; border-radius: 9px; background: var(--c-white); box-shadow: 0 6px 16px -10px rgba(16, 17, 22, 0.3); }
.ss-kpi i { height: 6px; }
.ss-kpi svg { width: 100%; height: 26px; }
.ss-kpi path { fill: none; stroke: var(--c-cobalt); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 160; animation: ss-draw var(--t) var(--ease-out) infinite; }
.ss-kpi:nth-child(2) path { animation-delay: 0.2s; stroke: var(--c-graphite); }
.ss-kpi:nth-child(3) path { animation-delay: 0.4s; }
.ss-chart { position: relative; border-radius: 9px; background: var(--c-white); box-shadow: 0 6px 16px -10px rgba(16, 17, 22, 0.3); padding: 4%; overflow: hidden; }
.ss-chart svg { width: 100%; height: 100%; }
.ss-line { fill: none; stroke: var(--c-cobalt); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 420; animation: ss-draw-long var(--t) var(--ease-out) infinite; }
.ss-area { fill: url(#none); fill: rgba(48, 75, 255, 0.12); animation: ss-area var(--t) var(--ease-out) infinite; }
.ss-table { display: grid; gap: 6px; }
.ss-table i { height: 12px; border-radius: 4px; background: rgba(16, 17, 22, 0.07); animation: ss-row var(--t) linear infinite; }
.ss-table i:nth-child(2) { animation-delay: 0.4s; }
.ss-table i:nth-child(3) { animation-delay: 0.8s; }
.ss-table i:nth-child(4) { animation-delay: 1.2s; }
@keyframes ss-draw { 0% { stroke-dashoffset: 160; } 30%, 100% { stroke-dashoffset: 0; } }
@keyframes ss-draw-long { 0%, 6% { stroke-dashoffset: 420; } 46%, 100% { stroke-dashoffset: 0; } }
@keyframes ss-area { 0%, 20% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes ss-row { 0%, 50% { background: rgba(16, 17, 22, 0.07); } 56% { background: rgba(48, 75, 255, 0.18); } 66%, 100% { background: rgba(16, 17, 22, 0.07); } }

.ss-api { position: absolute; right: 5%; top: 18%; bottom: 18%; width: 26%; }
.ss-api__hub,
.ss-api__node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: clamp(8px, 0.8vw, 11px);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.ss-api__hub { left: 0; top: 50%; translate: 0 -50%; width: 46px; height: 46px; background: var(--c-cobalt); color: var(--c-white); box-shadow: 0 0 0 8px rgba(48, 75, 255, 0.18); animation: ss-hub 2.4s ease-in-out infinite; }
.ss-api__node { right: 0; padding: 7px 11px; background: var(--c-graphite-80); border: 1px solid var(--c-line-dark-strong); color: var(--c-paper); }
.ss-api__node--1 { top: 4%; }
.ss-api__node--2 { top: 50%; translate: 0 -50%; }
.ss-api__node--3 { bottom: 4%; }
.ss-api::before,
.ss-api::after {
  content: "";
  position: absolute;
  left: 23px;
  right: 30%;
  top: 14%;
  bottom: 14%;
  border: 1.5px dashed rgba(167, 175, 245, 0.55);
  border-left: 0;
  border-radius: 0 18px 18px 0;
  animation: ss-dash 1.6s linear infinite;
}
.ss-api::after { top: 50%; bottom: auto; height: 0; border-radius: 0; border-bottom: 0; }
@keyframes ss-hub { 50% { box-shadow: 0 0 0 14px rgba(48, 75, 255, 0.08); } }
@keyframes ss-dash { to { border-color: rgba(167, 175, 245, 0.95); } }

/* ============================== 5. SEO & growth ============================== */
.se-serp {
  position: absolute;
  left: 6%;
  top: 9%;
  width: 60%;
  height: 82%;
  padding: 5%;
  border-radius: 14px;
  background: var(--c-cool);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.se-search {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--c-white);
  box-shadow: 0 4px 14px -8px rgba(16, 17, 22, 0.35);
  font-size: clamp(10px, 0.95vw, 13px);
  color: var(--c-ink);
  overflow: hidden;
  white-space: nowrap;
}
.se-q { white-space: pre; } /* text is typed by js/modules/scenes.js */
.se-caret { width: 1.5px; height: 1.1em; background: var(--c-cobalt); animation: se-caret 0.9s steps(1) infinite; }
.se-results { position: relative; display: grid; gap: 10px; margin-top: 8%; }
.se-r {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 9px 12px;
  border-radius: 9px;
  background: var(--c-white);
  box-shadow: 0 4px 12px -8px rgba(16, 17, 22, 0.25);
  animation: se-down var(--t) var(--ease-in-out) infinite;
}
.se-r i { height: 6px; }
.se-r i:first-child { height: 8px; background: rgba(48, 75, 255, 0.5); }
.se-url { background: rgba(16, 17, 22, 0.1) !important; height: 4px !important; }
.se-r--you { z-index: 1; box-shadow: 0 0 0 2px var(--c-cobalt), 0 14px 30px -12px rgba(48, 75, 255, 0.6); animation-name: se-up; }
.se-r--you i:first-child { background: var(--c-cobalt); }
.se-tag {
  position: absolute;
  right: 10px;
  top: 50%;
  translate: 0 -50%;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--c-cobalt);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}
@keyframes se-caret { 50% { opacity: 0; } }
/* result rows are ~ (100% + gap) apart: "you" climbs 3 places, others shift down 1 */
@keyframes se-up { 0%, 36% { transform: none; } 70%, 100% { transform: translateY(calc(-300% - 30px)); } }
@keyframes se-down { 0%, 36% { transform: none; } 70%, 100% { transform: translateY(calc(100% + 10px)); } }

.se-graph {
  position: absolute;
  right: 5%;
  bottom: 12%;
  width: 34%;
  aspect-ratio: 4 / 3;
  padding: 6%;
  border-radius: 14px;
  background: var(--c-graphite-80);
  border: 1px solid var(--c-line-dark);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.se-graph svg { width: 100%; height: 72%; }
.se-graph__line { fill: none; stroke: var(--c-periwinkle); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 260; animation: se-graph var(--t) var(--ease-out) infinite; }
.se-graph__label { display: block; margin-top: 8%; font-family: var(--font-mono); font-size: clamp(8px, 0.75vw, 10px); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-paper-2); }
@keyframes se-graph { 0%, 30% { stroke-dashoffset: 260; } 78%, 100% { stroke-dashoffset: 0; } }

/* ---------- Mobile scaling ---------- */
@media (max-width: 599px) {
  .sw-browser { left: 5%; width: 80%; top: 8%; height: 72%; }
  .sw-phone { right: 4%; width: 25%; }
  .sa-chat { left: 5%; width: 60%; }
  .sa-flow { right: 4%; width: 30%; }
  .sp-phone { width: 36%; }
  .sp-phone--front { left: 42%; }
  .sp-phone--back { left: 12%; }
  .ss-app { width: 74%; left: 4%; }
  .ss-api { right: 3%; width: 22%; }
  .se-serp { width: 64%; left: 4%; }
  .se-graph { width: 34%; right: 3%; }
  .sa-chips span:nth-child(3) { display: none; }
}

/* Reduced motion: show each scene's composed state. */
html.reduce-motion .scene * { animation: none !important; }
html.reduce-motion .sa-typing { display: none; }
html.reduce-motion .scene-cursor,
html.reduce-motion .sp-toast { display: none; }

/* sections/approach.css */
/* ==========================================================================
   Approach — five-step track with a scroll-driven "vector" runner,
   followed by working commitments.
   ========================================================================== */
.approach {
  --tp: 0; /* track progress 0..1, set by js/modules/approach.js */
  position: relative;
  z-index: 2;
  padding-top: var(--section-y);
  padding-bottom: clamp(4rem, 8vw, 8rem);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: calc(var(--r-xl) * -1);
}
.approach__title {
  max-width: 15em;
  margin-top: 1.5rem;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: var(--tracking-display);
}

.track { --tp: 0; position: relative; margin-top: clamp(3.5rem, 7vw, 6rem); }
.track__rail { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--c-line-light); }
.track__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--tp) * 100%); background: var(--c-cobalt); }
.track__runner {
  position: absolute;
  top: 50%;
  left: calc(var(--tp) * 100%);
  width: 26px;
  height: 27px;
  translate: -50% -50%;
  fill: var(--c-cobalt);
  filter: drop-shadow(0 4px 10px rgba(48, 75, 255, 0.55));
}
.track__runner svg { width: 100%; height: 100%; }

.track__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--av-gap); list-style: none; margin: 0; padding: 0; }
.track--4 .track__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.track--6 .track__steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
:is([data-theme="dark"], .theme-dark) .track__rail { background: var(--c-line-dark-strong); }
:is([data-theme="dark"], .theme-dark) .track__fill { background: var(--c-periwinkle); }
:is([data-theme="dark"], .theme-dark) .track__runner { fill: var(--c-periwinkle); }
:is([data-theme="dark"], .theme-dark) .step__node { background: var(--c-graphite); border-color: var(--c-line-dark-strong); }
:is([data-theme="dark"], .theme-dark) .step.is-active .step__node { background: var(--c-periwinkle); border-color: var(--c-periwinkle); box-shadow: 0 0 0 6px rgba(167, 175, 245, 0.16); }
:is([data-theme="dark"], .theme-dark) .step__title { color: var(--c-white); }
:is([data-theme="dark"], .theme-dark) .step__text, :is([data-theme="dark"], .theme-dark) .step__out { color: var(--c-paper-2); }
:is([data-theme="dark"], .theme-dark) .step__num, :is([data-theme="dark"], .theme-dark) .step__out span { color: var(--c-paper-3); }
:is([data-theme="dark"], .theme-dark) .step__out { border-color: var(--c-line-dark-strong); }
.step { position: relative; padding-top: 2.75rem; }
.step.is-active,
html.reduce-motion .step,
.no-js .step { opacity: 1; }
.step__node {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--c-line-light-strong);
  background: var(--c-cool);
  transition: border-color var(--dur), background-color var(--dur), box-shadow var(--dur);
}
.step.is-active .step__node { border-color: var(--c-cobalt); background: var(--c-cobalt); box-shadow: 0 0 0 6px var(--c-cobalt-soft); }
.step__num { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--c-ink-3); }
.step__title { margin-top: 0.5rem; font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.02em; }
.step__text { margin-top: 0.6rem; font-size: 0.9688rem; color: var(--c-ink-2); }
.step__out { margin-top: 1.1rem; padding-top: 0.85rem; border-top: 1px dashed var(--c-line-light-strong); font-size: 0.9375rem; font-weight: 550; }
.step__out span { display: block; margin-bottom: 0.2rem; font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-3); }

/* ---------- Commitments ---------- */
.promises { margin-top: clamp(5rem, 10vw, 9rem); }
.promises__title { font-size: var(--fs-h3); letter-spacing: -0.035em; max-width: 18em; }
.promises__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--av-gap); margin-top: 2.5rem; }
.promise { padding-top: 1.5rem; border-top: 1px solid var(--c-line-light-strong); }
.promise__icon { width: 44px; height: 44px; color: var(--c-ink); }
.promise h4 { margin-top: 1.25rem; font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.02em; }
.promise p { margin-top: 0.5rem; color: var(--c-ink-2); font-size: 0.9688rem; }
.promises__grid .promise:nth-child(2) { --reveal-delay: 80ms; }
.promises__grid .promise:nth-child(3) { --reveal-delay: 160ms; }
.promises__grid .promise:nth-child(4) { --reveal-delay: 240ms; }

@media (max-width: 1023px) {
  .promises__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
}
@media (max-width: 899px) {
  .track { padding-left: 2.25rem; }
  .track__rail { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .track__fill { inset: 0 0 auto 0; width: 100%; height: calc(var(--tp) * 100%); }
  .track__runner { left: 50%; top: calc(var(--tp) * 100%); rotate: 90deg; }
  .track__steps, .track--4 .track__steps, .track--6 .track__steps { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
  .step { padding-top: 0; }
  .step__node { left: -2.25rem; top: 0.2rem; }
}
@media (max-width: 599px) {
  .promises__grid { grid-template-columns: minmax(0, 1fr); }
}

/* work.css */
/* ==========================================================================
   Work — illustrated project mockups, cards, homepage showcase, case study.
   Each mockup is pure CSS, coloured by --c1/--c2 (background) and --accent.
   ========================================================================== */

/* ---------- Mockup art ---------- */
.wa {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 85% 10%, rgba(255, 255, 255, 0.45), transparent 60%),
    linear-gradient(140deg, var(--c1), var(--c2));
}
.wa::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 20% 100%, rgba(0, 0, 0, 0.12), transparent 70%); pointer-events: none; }
.wa-win, .wa-phone, .wa-chat { position: relative; z-index: 1; transition: transform 0.9s var(--ease-out); }
.wa-win {
  width: 78%;
  aspect-ratio: 16 / 10.5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transform: perspective(1400px) rotateX(6deg) rotateY(-8deg) rotate(-1deg);
}
.wa-bar { display: flex; align-items: center; gap: 5px; height: 9%; padding: 0 3.5%; background: #f1f2f6; }
.wa-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d4d6df; }
.wa-bar span { flex: 1; height: 42%; margin-left: 4%; border-radius: 99px; background: #e3e5ec; }
.wa-page { padding: 4% 5%; height: 91%; display: grid; grid-template-rows: auto 1fr auto; gap: 6%; }
.wa-nav { display: flex; align-items: center; gap: 6%; }
.wa-nav b, .wa-apphead b, .wa-side b, .wa-chathead b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 0.02em; }
.wa-nav span { width: 11%; height: 5px; border-radius: 9px; background: #e2e4ea; }
.wa-nav span:first-of-type { margin-left: auto; }
.wa-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; }
.wa-hero > div:first-child { display: grid; gap: 9px; }
.wa-h { display: block; height: 9px; width: 90%; border-radius: 9px; background: #1a1c24; }
.wa-h--s { width: 62%; background: #c9ccd6; height: 6px; }
.wa-btn { display: block; width: 42%; height: 13px; border-radius: 99px; background: var(--accent); margin-top: 4px; }
.wa-img { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(150deg, var(--c2), var(--accent)); }
.wa-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.wa-cards span { height: 26px; border-radius: 7px; background: #f0f1f5; }

.wa-win--dash { aspect-ratio: 16 / 10; }
.wa-dash { display: grid; grid-template-columns: 22% 1fr; height: 91%; }
.wa-side { display: grid; align-content: start; gap: 9px; padding: 12% 14%; background: #f6f7fa; }
.wa-side span { height: 5px; border-radius: 9px; background: #dfe2ea; }
.wa-side span:nth-of-type(1) { background: var(--accent); opacity: 0.5; }
.wa-main { display: grid; grid-template-rows: auto 1fr; gap: 8%; padding: 6%; }
.wa-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.wa-kpis span { height: 30px; border-radius: 8px; background: #f1f2f6; border-left: 3px solid var(--accent); }
.wa-chart { display: flex; align-items: flex-end; gap: 6%; border-bottom: 1px solid #e6e8ee; }
.wa-chart i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--accent), var(--c2)); transform-origin: bottom; }

.wa-phone {
  width: 34%;
  aspect-ratio: 9 / 18.5;
  padding: 3.5%;
  border-radius: 28px;
  background: #0f1015;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotate(-6deg);
}
.wa-notch { position: absolute; top: 4%; left: 50%; width: 30%; height: 3.2%; border-radius: 99px; background: #0f1015; transform: translateX(-50%); z-index: 2; }
.wa-app { display: grid; grid-template-rows: auto auto 1fr auto; gap: 7%; height: 100%; padding: 22% 9% 7%; border-radius: 22px; background: #fff; }
.wa-apphead { display: flex; align-items: center; gap: 8%; }
.wa-apphead span { flex: 1; height: 6px; border-radius: 9px; background: #e3e5ec; }
.wa-ring { display: grid; place-items: center; aspect-ratio: 1; width: 70%; margin: 0 auto; border-radius: 50%; background: conic-gradient(var(--accent) 0 72%, #eceef3 72% 100%); }
.wa-ring span { width: 74%; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.wa-list { display: grid; align-content: start; gap: 8px; }
.wa-list span { height: 16px; border-radius: 6px; background: #f1f2f6; }
.wa-tabs { display: flex; justify-content: space-around; }
.wa-tabs i { width: 9px; height: 9px; border-radius: 3px; background: #d4d6df; }
.wa-tabs i:first-child { background: var(--accent); }

.wa-chat {
  display: grid;
  gap: 10px;
  width: 58%;
  padding: 5%;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.5);
  transform: rotate(-3deg);
}
.wa-chathead { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #eef0f4; }
.wa-chathead span { width: 46%; height: 6px; border-radius: 9px; background: #e3e5ec; }
.wa-msg { margin: 0; height: 16px; border-radius: 10px; }
.wa-msg--in { width: 64%; background: #f0f2f7; }
.wa-msg--out { width: 52%; margin-left: auto; background: var(--accent); }
.wa-msg--long { width: 80%; height: 26px; }
.wa-slots { display: flex; gap: 6px; }
.wa-slots span { flex: 1; height: 18px; border-radius: 99px; border: 1.5px solid var(--accent); opacity: 0.7; }

/* ---------- Cards ---------- */
.work-card { display: flex; flex-direction: column; gap: 0.5rem; color: inherit; text-decoration: none; }
.work-card__art { aspect-ratio: 4 / 3; border-radius: clamp(20px, 2vw, 28px); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(16, 17, 22, 0.55); transform: translateZ(0); }
.work-card:hover .wa-win, .work-card:hover .wa-chat { transform: perspective(1400px) rotateX(0) rotateY(0) rotate(0) scale(1.04); }
.work-card:hover .wa-phone { transform: rotate(0) scale(1.05); }
.work-card__meta { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.75rem; }
.work-card__cat { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-cobalt); }
.work-card__tag { padding: 0.15rem 0.55rem; border-radius: var(--r-pill); border: 1px solid var(--c-line-light-strong); font-size: 0.75rem; color: var(--c-ink-3); }
.work-card__title { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); letter-spacing: -0.025em; line-height: 1.15; }
.work-card__line { color: var(--c-ink-2); font-size: 0.9688rem; line-height: 1.55; max-width: 34em; }
.work-card__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.25rem; color: var(--c-cobalt); font-weight: 600; }
.work-card__more .icon { transition: transform var(--dur) var(--ease-out); }
.work-card:hover .work-card__more .icon { transform: translateX(4px); }
:is([data-theme="dark"], .theme-dark) .work-card__cat { color: var(--c-periwinkle); }
:is([data-theme="dark"], .theme-dark) .work-card__tag { border-color: var(--c-line-dark-strong); color: var(--c-paper-3); }
:is([data-theme="dark"], .theme-dark) .work-card__title { color: var(--c-white); }
:is([data-theme="dark"], .theme-dark) .work-card__line { color: var(--c-paper-2); }
:is([data-theme="dark"], .theme-dark) .work-card__more { color: var(--c-periwinkle); }

/* ---------- Homepage showcase: dark band, staggered two-column gallery ---------- */
.home-work { position: relative; overflow: clip; background: #0b0c12; }
.home-work::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 40% at 90% 0%, rgba(48, 75, 255, 0.35), transparent 70%),
    radial-gradient(40% 40% at 0% 60%, rgba(167, 175, 245, 0.12), transparent 70%);
  pointer-events: none;
}
.home-work .container { position: relative; }
.home-work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem); }
.home-work__grid > :nth-child(even) { transform: translateY(clamp(2rem, 8vw, 7rem)); }
.home-work__grid > :first-child .work-card__art { aspect-ratio: 5 / 4; }
.home-work__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(4rem, 10vw, 9rem); padding-top: 1.5rem; border-top: 1px solid var(--c-line-dark); color: var(--c-paper-2); }

/* ---------- Work page ---------- */
.work-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.work-filter { min-height: 42px; padding: 0 1rem; border-radius: var(--r-pill); border: 1px solid var(--c-line-light-strong); background: var(--c-white); color: var(--c-ink-2); font-size: 0.9063rem; font-weight: 550; transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.work-filter:hover { border-color: var(--c-cobalt); color: var(--c-ink); }
.work-filter[aria-pressed="true"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2rem); }
.work-grid > * { grid-column: span 4; }
.work-grid > *:nth-child(5n + 1) { grid-column: span 7; }
.work-grid > *:nth-child(5n + 2) { grid-column: span 5; }
.work-grid > *:nth-child(5n + 1) .work-card__art { aspect-ratio: 16 / 10; }
.work-grid > *:nth-child(5n + 2) .work-card__art { aspect-ratio: 16 / 12.4; }
.work-grid > [hidden] { display: none; }
.work-note { margin-top: clamp(3rem, 6vw, 5rem); padding: 1.25rem 1.5rem; border-radius: var(--r-lg); background: var(--c-white); border: 1px solid var(--c-line-light); color: var(--c-ink-2); font-size: 0.9375rem; }

/* ---------- Case study ---------- */
.cs-hero-art { aspect-ratio: 16 / 9; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; box-shadow: 0 40px 90px -50px rgba(16, 17, 22, 0.6); }
.cs-hero-art .wa-win { width: 62%; }
.cs-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.cs-facts div { padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--c-white); border: 1px solid var(--c-line-light); }
.cs-facts dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink-3); }
.cs-facts dd { margin: 0.35rem 0 0; font-weight: 600; }
.cs-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cs-split h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: var(--tracking-display); }
.cs-split p + p, .cs-split ul { margin-top: 1rem; }
.cs-split p, .cs-split li { color: var(--c-ink-2); font-size: var(--fs-lead); line-height: 1.6; }
:is([data-theme="dark"], .theme-dark) .cs-split h2 { color: var(--c-white); }
:is([data-theme="dark"], .theme-dark) .cs-split p, :is([data-theme="dark"], .theme-dark) .cs-split li { color: var(--c-paper-2); }
.cs-gallery2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.cs-gallery2 > div { border-radius: var(--r-lg); overflow: hidden; }
.cs-gallery2 > div:nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 11; }
.cs-gallery2 > div:nth-child(2) { grid-column: span 5; aspect-ratio: 16 / 15.4; }
.cs-gallery2 > div:nth-child(3) { grid-column: span 12; aspect-ratio: 21 / 8; }
.cs-hero-art--photo { aspect-ratio: 3840 / 2307; }
.cs-shots { display: grid; gap: clamp(1rem, 2.5vw, 2rem); }
.cs-shots > * { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px -45px rgba(16, 17, 22, 0.55); }
.cs-shots img { height: auto; }
.cs-palette { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.cs-palette span { flex: 1; height: 72px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px rgba(16, 17, 22, 0.06); }
.cs-next { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }

@media (max-width: 899px) {
  .home-work__grid { grid-template-columns: minmax(0, 1fr); }
  .home-work__grid > :nth-child(even) { transform: none; }
  .work-grid > *, .work-grid > *:nth-child(5n + 1), .work-grid > *:nth-child(5n + 2) { grid-column: span 6; }
  .cs-split { grid-template-columns: minmax(0, 1fr); }
  .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .work-grid > *, .work-grid > *:nth-child(5n + 1), .work-grid > *:nth-child(5n + 2) { grid-column: 1 / -1; }
  .cs-gallery2 > div { grid-column: 1 / -1 !important; }
}

/* forms.css */
/* ==========================================================================
   Forms & app UI: fields, choice cards, chips, validation, stepper,
   status panels, calendar & time slots. Light theme by default.
   ========================================================================== */
.app-surface { position: relative; z-index: 2; }

/* ---------- Fields ---------- */
.form { display: grid; gap: 2rem; }
.form-section { display: grid; gap: 1.25rem; margin: 0; padding: 0 0 2rem; border: 0; border-bottom: 1px solid var(--c-line-light); min-width: 0; }
.form-section:last-of-type { border-bottom: 0; }
.form-section__title { padding: 0; font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.02em; color: var(--c-ink); }
.form-section__hint { margin-top: -0.75rem; color: var(--c-ink-3); font-size: 0.9375rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.form-grid .field--full { grid-column: 1 / -1; }

.field { display: grid; gap: 0.45rem; align-content: start; min-width: 0; }
.field__label { font-size: 0.9375rem; font-weight: 600; color: var(--c-ink); }
.field__label .opt { margin-left: 0.35rem; font-weight: 400; color: var(--c-ink-3); }
.field__label .req { margin-left: 0.15rem; color: var(--c-cobalt); }
.field__hint { font-size: 0.8125rem; color: var(--c-ink-3); }
.field__error { display: flex; align-items: flex-start; gap: 0.4rem; font-size: 0.875rem; font-weight: 550; color: #b42318; }
.field__error[hidden] { display: none; }
.field__error .icon { width: 1rem; height: 1rem; margin-top: 0.1rem; }
.field__count { justify-self: end; font-size: 0.75rem; color: var(--c-ink-3); font-variant-numeric: tabular-nums; }

/* Side-by-side fields share rows (label · hint · control · error), so a hint on
   one field doesn't push its input below its neighbour's. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 700px) {
    .form-grid { row-gap: 0; margin-bottom: -1.25rem; }
    .form-grid > .field:not(.field--full) { grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; padding-bottom: 1.25rem; }
    .form-grid > .field:not(.field--full) > * { grid-row: 3; margin-top: 0.45rem; }
    .form-grid > .field:not(.field--full) > .field__label { grid-row: 1; margin-top: 0; }
    .form-grid > .field:not(.field--full) > .field__hint { grid-row: 2; }
    .form-grid > .field:not(.field--full) > .field__error { grid-row: 4; }
    .form-grid > .field--full { padding-bottom: 1.25rem; }
  }
}

.input, .textarea, .select {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--c-line-light-strong);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.input::placeholder, .textarea::placeholder { color: #8b8e9c; }
.input:hover, .textarea:hover, .select:hover { border-color: rgba(16, 17, 22, 0.4); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--c-cobalt); box-shadow: 0 0 0 4px rgba(48, 75, 255, 0.16); }
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23101116' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 18px;
}
[aria-invalid="true"].input, [aria-invalid="true"].textarea, [aria-invalid="true"].select { border-color: #d92d20; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.16); }

/* checkbox / consent */
.check { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; font-size: 0.9375rem; color: var(--c-ink-2); }
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0.05rem 0 0;
  border: 1.5px solid var(--c-line-light-strong);
  border-radius: 6px;
  background: var(--c-white) center / 14px no-repeat;
  cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast);
}
.check input:checked { background-color: var(--c-cobalt); border-color: var(--c-cobalt); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.check input:focus-visible { outline: 2px solid var(--c-cobalt); outline-offset: 3px; }
.check input[aria-invalid="true"] { border-color: #d92d20; }
.check a { color: var(--c-cobalt); }

/* ---------- Choice cards (radio / checkbox) ---------- */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 0.75rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.choice { position: relative; display: block; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.choice__card {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  height: 100%;
  padding: 1rem 1.1rem 1rem 3rem;
  border: 1px solid var(--c-line-light-strong);
  border-radius: var(--r-md);
  background: var(--c-white);
  transition: border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast);
  pointer-events: none;
}
.choice__card::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--c-line-light-strong);
  border-radius: 50%;
  background: var(--c-white);
  transition: border var(--dur-fast), background-color var(--dur-fast);
}
.choice--multi .choice__card::before { border-radius: 6px; }
.choice__title { font-weight: 600; color: var(--c-ink); }
.choice__desc { font-size: 0.875rem; color: var(--c-ink-3); }
.choice__meta { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-cobalt); }
.choice:hover .choice__card { border-color: rgba(16, 17, 22, 0.4); }
.choice input:checked + .choice__card { border-color: var(--c-cobalt); background: rgba(48, 75, 255, 0.05); box-shadow: inset 0 0 0 1px var(--c-cobalt); }
.choice input:checked + .choice__card::before { border: 6px solid var(--c-cobalt); }
.choice--multi input:checked + .choice__card::before { border: 0; background: var(--c-cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.choice input:focus-visible + .choice__card { outline: 2px solid var(--c-cobalt); outline-offset: 3px; }
.choices[aria-invalid="true"] .choice__card { border-color: #d92d20; }

/* compact chips (multi-select) */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--c-line-light-strong);
  border-radius: var(--r-pill);
  background: var(--c-white);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-ink);
  cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.chip span::before { content: ""; width: 0; height: 9px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); transition: width var(--dur) var(--ease-out); }
.chip:hover span { border-color: rgba(16, 17, 22, 0.45); }
.chip input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.chip input:checked + span::before { width: 9px; }
.chip input:focus-visible + span { outline: 2px solid var(--c-cobalt); outline-offset: 3px; }
.chip--quiet span { border-style: dashed; color: var(--c-ink-2); }

/* ---------- Error summary & status panels ---------- */
.error-summary { padding: 1.1rem 1.25rem; border: 1px solid #fda29b; border-left: 4px solid #d92d20; border-radius: var(--r-md); background: #fef3f2; color: #7a271a; }
.error-summary:focus { outline: 2px solid #d92d20; outline-offset: 3px; }
.error-summary h2 { font-size: 1.0625rem; color: #7a271a; letter-spacing: -0.01em; }
.error-summary ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.error-summary a { color: #b42318; font-weight: 600; }

.status-panel { display: grid; gap: 1rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-xl); border: 1px solid var(--c-line-light-strong); background: var(--c-white); }
.status-panel:focus { outline: none; }
.status-panel__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--c-cobalt-soft); color: var(--c-cobalt); }
.status-panel__icon .icon { width: 26px; height: 26px; }
.status-panel--error .status-panel__icon { background: #fef3f2; color: #b42318; }
.status-panel--success .status-panel__icon { background: #ecfdf3; color: #067647; }
.status-panel__title { font-size: var(--fs-h3); letter-spacing: -0.03em; line-height: 1.1; color: var(--c-ink); }
.status-panel p:not(.badge) { color: var(--c-ink-2); max-width: 44rem; }
.status-panel__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.summary-list { display: grid; gap: 0; margin: 0.5rem 0 0; border-top: 1px solid var(--c-line-light); }
.summary-list > div { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) auto; gap: 0.75rem 1.5rem; align-items: start; padding: 0.9rem 0; border-bottom: 1px solid var(--c-line-light); }
.summary-list dt { font-size: 0.875rem; font-weight: 600; color: var(--c-ink-3); }
.summary-list dd { margin: 0; color: var(--c-ink); white-space: pre-line; overflow-wrap: anywhere; }
.summary-list .edit { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 36px; padding: 0 0.65rem; border-radius: var(--r-pill); color: var(--c-cobalt); font-size: 0.875rem; font-weight: 600; }
.summary-list .edit:hover { background: var(--c-cobalt-soft); }
.summary-list dd.dl-action, .brief-card__list dd.dl-action { margin: 0; white-space: normal; }

.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.85; }
.btn[aria-busy="true"] .btn__icon { display: none; }

.restore-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; padding: 0.85rem 1rem; border-radius: var(--r-md); background: var(--c-white); border: 1px solid var(--c-line-light-strong); font-size: 0.9375rem; }
.restore-bar p { flex: 1 1 260px; margin: 0; }
.linkbtn { color: var(--c-cobalt); font-weight: 600; min-height: 40px; padding: 0 0.25rem; }
.linkbtn:hover { text-decoration: underline; }

/* ---------- Stepper ---------- */
.stepper { display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.stepper li { flex: 1 1 0; display: grid; gap: 0.5rem; font-size: 0.8125rem; font-weight: 550; color: var(--c-ink-3); }
.stepper li::before { content: ""; height: 4px; border-radius: 4px; background: var(--c-line-light-strong); transition: background-color var(--dur) var(--ease-out); }
.stepper li[aria-current="step"] { color: var(--c-ink); }
.stepper li[aria-current="step"]::before { background: var(--c-cobalt); }
.stepper li.is-done::before { background: rgba(48, 75, 255, 0.45); }
.stepper li.is-done { color: var(--c-ink-2); }
.stepper__count { display: none; font-size: 0.875rem; color: var(--c-ink-2); }

/* ---------- Two-column app layout ---------- */
.app-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.app-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.aside-card { padding: 1.25rem 1.35rem; border: 1px solid var(--c-line-light-strong); border-radius: var(--r-lg); background: var(--c-white); }
.aside-card__title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.aside-card__title .icon { flex: none; color: var(--c-cobalt); }
.aside-card p { margin-top: 0.4rem; color: var(--c-ink-2); font-size: 0.9375rem; }
.aside-card .link-arrow { margin-top: 0.25rem; }
.next-steps { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.85rem; counter-reset: ns; }
.next-steps li { position: relative; padding-left: 2.25rem; color: var(--c-ink-2); font-size: 0.9375rem; counter-increment: ns; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--c-cobalt-soft); color: var(--c-cobalt); font-family: var(--font-mono); font-size: 0.75rem; }
.next-steps strong { display: block; color: var(--c-ink); }

/* ---------- Calendar & slots ---------- */
.booking-when { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.tz-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding: 0.75rem 1rem; border-radius: var(--r-md); background: var(--c-white); border: 1px solid var(--c-line-light-strong); font-size: 0.9375rem; }
.tz-bar .icon { color: var(--c-cobalt); }
.tz-bar strong { font-weight: 600; }
.tz-bar .select { width: auto; min-width: min(100%, 280px); min-height: 44px; padding-block: 0.5rem; }
.cal { padding: 1rem; border: 1px solid var(--c-line-light-strong); border-radius: var(--r-lg); background: var(--c-white); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem; }
.cal__title { font-weight: 600; font-size: 1.0625rem; }
.cal__nav { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line-light-strong); }
.cal__nav:hover:not(:disabled) { border-color: var(--c-ink); }
.cal__nav:disabled { opacity: 0.35; cursor: not-allowed; }
.cal__grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal__grid th { padding: 0.35rem 0; font-size: 0.75rem; font-weight: 600; color: var(--c-ink-3); text-align: center; }
.cal__grid td { padding: 2px; text-align: center; }
.cal__day {
  position: relative;
  width: 100%;
  max-width: 48px;
  aspect-ratio: 1;
  min-height: 40px;
  border-radius: 50%;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--c-ink);
  font-variant-numeric: tabular-nums;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.cal__day:hover:not(:disabled) { background: var(--c-cobalt-soft); }
.cal__day.has-slots::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--c-cobalt); }
.cal__day:disabled { color: #b6b8c3; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(16, 17, 22, 0.15); }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--c-line-light-strong); }
.cal__day[aria-pressed="true"] { background: var(--c-cobalt); color: var(--c-white); }
.cal__day[aria-pressed="true"]::after { background: var(--c-white); }
.cal__day:focus-visible { outline: 2px solid var(--c-cobalt); outline-offset: 2px; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.75rem; font-size: 0.8125rem; color: var(--c-ink-3); }
.cal__legend span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.4rem; border-radius: 50%; background: var(--c-cobalt); vertical-align: middle; }
.slots { padding: 1rem; border: 1px solid var(--c-line-light-strong); border-radius: var(--r-lg); background: var(--c-white); min-height: 280px; }
.slots__title { font-weight: 600; margin-bottom: 0.75rem; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.5rem; }
.slot {
  min-height: 46px;
  padding: 0 0.5rem;
  border: 1px solid var(--c-line-light-strong);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--c-ink);
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.slot:hover:not(:disabled) { border-color: var(--c-cobalt); }
.slot[aria-checked="true"] { background: var(--c-cobalt); border-color: var(--c-cobalt); color: var(--c-white); }
.slot:disabled { color: #a3a6b3; background: var(--c-cool); text-decoration: line-through; cursor: not-allowed; }
.slot:focus-visible { outline: 2px solid var(--c-cobalt); outline-offset: 2px; }
.slots__skeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.5rem; }
.slots__skeleton i { height: 46px; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--c-cool-90), var(--c-cool), var(--c-cool-90)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.slots__empty { color: var(--c-ink-2); font-size: 0.9375rem; }
.slots__empty .btn { margin-top: 0.75rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .app-layout { grid-template-columns: minmax(0, 1fr); }
  .app-aside { position: static; }
  .booking-when { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 699px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .stepper li { font-size: 0; gap: 0; }
  .stepper__count { display: block; margin-top: 0.6rem; }
  .summary-list > div { grid-template-columns: minmax(0, 1fr) auto; }
  .summary-list dt { grid-column: 1; }
  .summary-list dd { grid-column: 1 / -1; grid-row: 2; }
  .summary-list dd.dl-action { grid-column: 2; grid-row: 1; }
}

/* FAQ search (shares field styles) */
.faq-search { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; }
.faq-search__box { position: relative; }
.faq-search__box > .icon { position: absolute; left: 0.9rem; top: 50%; translate: 0 -50%; color: var(--c-ink-3); }
.faq-search__box .input { padding-left: 2.75rem; padding-right: 2.75rem; }
.faq-search__clear { position: absolute; right: 0.3rem; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--c-ink-3); }
.faq-search__clear:hover { color: var(--c-ink); background: var(--c-cool-90); }
.faq-search__status { min-height: 1.25rem; font-size: 0.8125rem; color: var(--c-ink-3); }
.faq-group { scroll-margin-top: calc(var(--header-h) + 1rem); }
.faq-group + .faq-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.faq-group__title { margin-bottom: 1rem; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); letter-spacing: -0.035em; }
.faq-page .qa summary { font-size: 1.125rem; min-height: 68px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.app-main > .notice { margin-bottom: 0; }

/* FAQ search inside the centred hero */
.faq-search--hero { width: min(100%, 560px); margin: 0 auto; }
.faq-search--hero .input { min-height: 60px; border-radius: var(--r-pill); background: var(--c-white); box-shadow: 0 18px 40px -26px rgba(16, 17, 22, 0.45); font-size: 1rem; }
.faq-search--hero .faq-search__box > .icon { left: 1.2rem; color: var(--c-cobalt); }
.faq-search--hero .faq-search__box .input { padding-left: 3.1rem; }
.faq-search--hero .faq-search__status { text-align: center; }
@media (max-width: 1023px) { .faq-search--hero { margin: 0; } .faq-search--hero .faq-search__status { text-align: left; } }
