/* FloatingFaez — design system
   Fonts: Bricolage Grotesque (display) + Geist (body/UI)
   Palette: logo navy #000435, logo coral #E85961, mist #F1F3F8 */

:root {
  --ink: #000435;
  --signal: #E85961;
  --signal-strong: #D2343F;
  --signal-soft: #FCE8EA;
  --good: #0F8A50;
  --avg: #B86E00;
  --poor: #D2343F;

  --paper: #F1F3F8;
  --surface: #FFFFFF;
  --surface-2: #E7EAF2;
  --text: #000435;
  --muted: #474E73;
  --line: #D5DAE7;
  --band: #000435;
  --band-2: #0C1352;
  --solid: #000435;
  --on-solid: #FFFFFF;
  --on-band: #F2F4FB;
  --on-band-muted: #A8AFD4;
  --band-line: rgba(255, 255, 255, .13);
  --header-bg: rgba(241, 243, 248, .86);
  --shadow: 0 1px 2px rgba(0, 4, 53, .06), 0 18px 40px -18px rgba(0, 4, 53, .28);
  --shadow-sm: 0 1px 2px rgba(0, 4, 53, .08), 0 6px 16px -10px rgba(0, 4, 53, .25);

  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;

  --font-display: "Bricolage Grotesque", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Geist", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 132px);

  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #050826;
    --surface: #0D133F;
    --surface-2: #151C52;
    --text: #EEF0FA;
    --muted: #A9B0D6;
    --line: #242C66;
    --band: #0D1450;
    --band-2: #161E62;
    --solid: #EEF0FA;
    --on-solid: #050826;
    --signal-soft: #3A1233;
    --good: #3DD68C;
    --avg: #F2B33D;
    --poor: #FF7A80;
    --header-bg: rgba(5, 8, 38, .86);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .7);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 16px -10px rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #050826; --surface: #0D133F; --surface-2: #151C52; --text: #EEF0FA; --muted: #A9B0D6;
  --line: #242C66; --band: #0D1450; --band-2: #161E62; --solid: #EEF0FA; --on-solid: #050826; --signal-soft: #3A1233;
  --good: #3DD68C; --avg: #F2B33D; --poor: #FF7A80; --header-bg: rgba(5, 8, 38, .86);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -18px rgba(0,0,0,.7);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 6px 16px -10px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 96px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 99; background: var(--solid); color: var(--on-solid); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.75rem, 6.6vw, 5.9rem); line-height: .94; font-weight: 750; font-variation-settings: "wdth" 78; letter-spacing: -0.035em; }
h2, .h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1; font-weight: 700; font-variation-settings: "wdth" 82; letter-spacing: -0.03em; }
h3, .h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.18; font-weight: 650; font-variation-settings: "wdth" 92; }
h4 { font-size: 1.0625rem; font-weight: 650; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.stack > * + * { margin-top: var(--gap, 1rem); }
.measure { max-width: 34em; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(48px, 7vw, 88px); }
.sec--surface { background: var(--surface); }
.sec--band { background: var(--band); color: var(--on-band); }
.sec--band .muted, .sec--band .lead { color: var(--on-band-muted); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 52rem; }
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sticky { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--surface); --fg: var(--text); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 14px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--signal-strong); --fg: #fff; --bd: var(--signal-strong); }
.btn--primary:hover { --bg: #BD2B36; --bd: #BD2B36; }
.btn--ink { --bg: var(--solid); --fg: var(--on-solid); --bd: var(--solid); }
.btn--ghost { --bg: transparent; }
.btn--ghost:hover { --bd: var(--text); }
.sec--band .btn--ghost, .band .btn--ghost { --fg: var(--on-band); --bd: var(--band-line); }
.sec--band .btn--ghost:hover, .band .btn--ghost:hover { --bd: var(--on-band); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .94rem; border-radius: 12px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--signal-strong); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.sec--band .link { color: #FF9AA0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.logo--light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo--dark { display: none; } :root:not([data-theme="light"]) .logo--light { display: block; } }
:root[data-theme="dark"] .logo--dark { display: none; }
:root[data-theme="dark"] .logo--light { display: block; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--muted); }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.drawer { display: none; }

/* ---------- Badges & chips ---------- */
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; font-weight: 500; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 22%, transparent); flex: none; }
.chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); font-size: .84rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.sec--band .chip { background: rgba(255,255,255,.08); color: var(--on-band-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tri { width: 14px; height: 12px; flex: none; display: inline-block; background: linear-gradient(160deg, #F4868C, var(--signal-strong)); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 26px 0 26px; }
.hero h1 .line2 { display: block; color: var(--muted); font-weight: 600; }
.hero .lead { margin-bottom: 34px; }
.creds { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.cred { display: grid; gap: 2px; }
.cred b { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; font-variation-settings: "wdth" 85; letter-spacing: -0.02em; line-height: 1.1; }
.cred span { font-size: .88rem; color: var(--muted); }

/* Live load report */
.lab { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(20px, 2.4vw, 30px); position: relative; }
.lab-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.lab-top img { width: 52px; height: 52px; border-radius: 16px; object-fit: cover; }
.lab-top h2 { font-size: 1.15rem; font-variation-settings: "wdth" 95; letter-spacing: -0.01em; line-height: 1.2; }
.lab-top p { font-size: .88rem; color: var(--muted); }
.axis { display: grid; grid-template-columns: 1fr; gap: 14px; }
.metric { display: grid; grid-template-columns: 7.5rem 1fr 4.2rem; align-items: center; gap: 12px; font-size: .92rem; }
.metric .name { color: var(--muted); }
.metric .val { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.track { height: 10px; border-radius: 99px; background: var(--surface-2); position: relative; overflow: hidden; }
.fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: var(--good); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.fill[data-s="avg"] { background: var(--avg); }
.fill[data-s="poor"] { background: var(--poor); }
.scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin: 6px 0 0 calc(7.5rem + 12px); margin-right: calc(4.2rem + 12px); }
.lab-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.lab-sum div { background: var(--paper); border-radius: var(--r-md); padding: 12px 14px; }
.lab-sum b { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.lab-sum span { font-size: .8rem; color: var(--muted); }
.lab-verdict { font-size: .95rem; margin-bottom: 18px; min-height: 3em; }
.test-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.input, .test-form input, .field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text);
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal-strong); box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 22%, transparent); }
.lab .tiny { margin-top: 10px; color: var(--muted); }

/* Stack strip */
.layers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.layer { padding: 22px 20px 0 0; }
.layer h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 650; letter-spacing: 0; margin-bottom: 10px; }
.layer p { font-size: .92rem; color: var(--muted); line-height: 1.7; }

/* ---------- Problem rows ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 12.5rem; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); font-variation-settings: "wdth" 85; }
.row p { color: var(--muted); }
.row .chip { margin-top: 4px; justify-self: end; }
.sec--band .rows, .sec--band .row { border-color: var(--band-line); }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  grid-column: span 4; display: flex; flex-direction: column; gap: 14px; padding: 28px; min-height: 260px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; position: relative; transition: border-color .15s;
}
.tile:hover { border-color: var(--text); }
.tile--wide { grid-column: span 8; }
.tile--hero { grid-column: span 8; grid-row: span 2; background: var(--band); color: var(--on-band); border-color: var(--band); }
.tile.tile--hero p, .tile.tile--hero .from { color: var(--on-band-muted); }
.tile--hero .tile-art { margin-top: auto; }
.tile--hero .chip { background: rgba(255,255,255,.08); color: var(--on-band-muted); }
.tile h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); font-variation-settings: "wdth" 86; }
.tile--hero h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.tile p { color: var(--muted); font-size: .98rem; }
.tile .from { margin-top: auto; font-size: .92rem; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tile .from b { color: var(--text); font-weight: 650; }
.tile--hero .from b { color: #fff; }
.tile-art { margin: 8px 0 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile-art div { background: rgba(255,255,255,.06); border: 1px solid var(--band-line); border-radius: 14px; padding: 14px; }
.tile-art b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: #fff; line-height: 1; }
.tile-art span { font-size: .78rem; color: var(--on-band-muted); }

/* ---------- Project shots (CSS mockups — swap for real screenshots) ---------- */
.shot {
  --h: 230; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, hsl(var(--h) 80% 62% / .55), transparent 60%), linear-gradient(150deg, hsl(var(--h) 55% 22%), hsl(calc(var(--h) + 30) 60% 12%));
  isolation: isolate;
}
.shot::before { /* browser frame */
  content: ""; position: absolute; left: 9%; right: 9%; top: 13%; bottom: -6%; border-radius: 14px 14px 0 0;
  background: hsl(var(--h) 30% 97%); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
.shot::after { /* browser bar */
  content: ""; position: absolute; left: 9%; right: 9%; top: 13%; height: 9%; border-radius: 14px 14px 0 0;
  background: hsl(var(--h) 20% 90%) radial-gradient(circle at 4% 50%, #F2645B 3.2%, transparent 3.6%), hsl(var(--h) 20% 90%);
}
.shot .ui { position: absolute; left: 13%; right: 13%; top: 25%; bottom: 0; display: grid; gap: 6% 4%; z-index: 1; }
.shot .ui i { display: block; border-radius: 8px; background: hsl(var(--h) 25% 86%); }
.shot .ui i.acc { background: hsl(var(--h) 75% 55%); }
.shot .ui i.dark { background: hsl(var(--h) 45% 20%); }
.shot .bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 6%; }
.shot .bar b { font-family: var(--font-display); font-weight: 750; font-variation-settings: "wdth" 82; font-size: clamp(.72rem, 1.25vw, 1.05rem); letter-spacing: -0.01em; color: hsl(var(--h) 55% 20%); white-space: nowrap; margin-right: auto; }
.shot .bar i { width: 11%; height: 32%; border-radius: 99px; }
.shot--site .ui { grid-template-columns: 1fr; grid-template-rows: 9% 26% 9% 30%; }
.shot--site .ui > i:nth-of-type(2) { width: 40%; }
.shot--store .ui { grid-template-columns: repeat(4, 1fr); grid-template-rows: 9% 42% 10%; }
.shot--app .ui { grid-template-columns: 22% 1fr 1fr; grid-template-rows: 9% 28% 48%; }
.shot--app .ui > i:first-of-type { grid-row: span 2; }
.shot--app .ui > i:nth-of-type(4) { grid-column: span 2; }
.shot--speed .ui { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 9% 44% 12%; }
.shot--speed .ui > i { border-radius: 50%; aspect-ratio: 1; height: auto; align-self: start; width: 78%; justify-self: center; background: conic-gradient(var(--good) 0 var(--p, 96%), hsl(var(--h) 25% 88%) 0); -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%); mask: radial-gradient(circle, transparent 58%, #000 59%); }
.shot--speed .ui > i.line { border-radius: 8px; aspect-ratio: auto; width: 100%; height: 100%; background: hsl(var(--h) 25% 86%); -webkit-mask: none; mask: none; }
.shot .stamp {
  position: absolute; z-index: 2; right: 6%; bottom: 8%; background: var(--surface); color: var(--text);
  border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .8rem; line-height: 1.25; max-width: 60%;
}
.shot .stamp b { display: block; font-family: var(--font-display); font-size: 1.35rem; font-variation-settings: "wdth" 85; }
.shot .wordmark { position: absolute; z-index: 2; left: 13%; top: 31%; font-family: var(--font-display); font-weight: 750; font-variation-settings: "wdth" 80; font-size: clamp(1.1rem, 2.6vw, 2rem); color: hsl(var(--h) 55% 18%); letter-spacing: -0.02em; }

/* ---------- Work list (home + portfolio) ---------- */
.work { display: grid; gap: clamp(48px, 7vw, 96px); }
.work-item { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; text-decoration: none; }
.work-item:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.work-item:nth-child(even) .shot { order: 2; }
.work-item h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-variation-settings: "wdth" 82; margin: 12px 0 14px; }
.work-item p { color: var(--muted); }
.outcomes { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.outcomes li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: baseline; }
.outcomes li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); transform: translateY(-2px); }
.client { font-size: .92rem; color: var(--muted); }
.client b { color: var(--text); font-weight: 650; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 18px; cursor: pointer; font-weight: 550; font-size: .95rem; color: var(--muted); }
.filter[aria-pressed="true"] { background: var(--solid); color: var(--on-solid); border-color: var(--solid); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.card { display: grid; gap: 14px; text-decoration: none; align-content: start; }
.card .shot { border-radius: var(--r-lg); }
.card h3 { font-size: 1.3rem; font-variation-settings: "wdth" 88; }
.card p { color: var(--muted); font-size: .96rem; }
.card[hidden] { display: none; }
.count { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }

/* ---------- Process timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.sec--band .timeline::before { background: var(--band-line); }
.step { position: relative; padding-right: 24px; }
.step .n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; position: relative; }
.sec--band .step .n { background: var(--band); border-color: var(--band-line); }
.step:first-child .n { background: var(--signal-strong); border-color: var(--signal-strong); color: #fff; }
.step .when { display: block; margin: 22px 0 8px; font-size: .88rem; color: var(--muted); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.quote:first-child { background: var(--signal-soft); border-color: transparent; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; font-weight: 500; font-variation-settings: "wdth" 92; letter-spacing: -0.01em; }
.quote:first-child blockquote { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.quote figcaption { margin-top: auto; font-size: .9rem; color: var(--muted); }
.quote figcaption b { display: block; color: var(--text); }
.stars { display: flex; gap: 3px; color: var(--signal-strong); }
.stars svg { width: 16px; height: 16px; }
.placeholder-note { font-size: .82rem; color: var(--muted); margin-top: 18px; }

/* ---------- Packages ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.price--feat { border-color: var(--text); box-shadow: var(--shadow); }
.price h3 { font-size: 1.45rem; }
.price .amt { font-family: var(--font-display); font-size: 2.7rem; font-weight: 750; line-height: 1; font-variation-settings: "wdth" 80; letter-spacing: -0.03em; }
.price .amt small { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .97rem; }
.price li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.price li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: color-mix(in srgb, var(--good) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230F8A50' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.price .btn { margin-top: auto; }
.price .meta { font-size: .88rem; color: var(--muted); }
.ribbon { align-self: flex-start; background: var(--solid); color: var(--on-solid); font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }

/* ---------- AI band ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); border-radius: var(--r-lg); overflow: hidden; }
.ai-grid > div { background: var(--band); padding: 30px; display: grid; gap: 10px; align-content: start; }
.ai-grid h3 { color: #fff; }
.ai-grid p { color: var(--on-band-muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; font-variation-settings: "wdth" 90; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%23E85961' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 26px; color: var(--muted); max-width: 46em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--band); color: var(--on-band); border-radius: var(--r-xl); padding: clamp(32px, 6vw, 80px); position: relative; overflow: hidden; }
.cta-band > div { max-width: 640px; }
.cta-band::after { content: ""; position: absolute; width: 460px; height: 400px; right: -70px; bottom: -170px; background: linear-gradient(160deg, #F4868C, var(--signal-strong)); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .9; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 15em; }
.cta-band p { color: var(--on-band-muted); margin-top: 16px; max-width: 36em; }
.cta-band .person { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: .95rem; color: var(--on-band-muted); }
.cta-band .person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.cta-band .person b { color: #fff; display: block; }
.cta-band .btn-row { margin-top: 32px; }
.cta-band .btn--ghost { --fg: #fff; --bd: rgba(255,255,255,.3); background: rgba(0,4,53,.35); }

/* ---------- Footer ---------- */
.site-footer { background: var(--band); color: var(--on-band-muted); padding: clamp(56px, 7vw, 96px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); margin-top: clamp(24px, 4vw, 48px); }
.site-footer a { text-decoration: none; color: var(--on-band-muted); }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 650; letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.foot-brand img { height: 26px; width: auto; margin-bottom: 20px; }
.foot-brand p { max-width: 24em; font-size: .97rem; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--band-line); display: grid; place-items: center; }
.socials a:hover { border-color: #fff; }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--band-line); font-size: .88rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); margin: 18px 0 22px; max-width: 14em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 40px; }
.facts div { padding: 20px 20px 0 0; }
.facts dt { font-size: .88rem; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; }

/* ---------- Services page ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 36px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.svc:first-child { border-top: 1px solid var(--line); }
.svc h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-variation-settings: "wdth" 82; }
.svc ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 6px; }
.svc .side { display: grid; gap: 14px; align-content: start; }
.svc .side b { font-family: var(--font-display); font-size: 1.6rem; font-variation-settings: "wdth" 85; }

/* Estimator */
.est { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.est-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); display: grid; gap: 28px; }
.est-panel fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.est-panel legend { font-weight: 650; margin-bottom: 12px; font-size: 1.02rem; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); height: 100%; cursor: pointer; }
.opt span small { color: var(--muted); font-size: .85rem; }
.opt input:checked + span { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.opt input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.range-row { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: 6px; }
input[type="range"] { width: 100%; accent-color: var(--signal-strong); }
.est-out { background: var(--band); color: var(--on-band); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.est-out .big { font-family: var(--font-display); font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 750; font-variation-settings: "wdth" 78; line-height: 1; color: #fff; letter-spacing: -0.03em; }
.est-out p { color: var(--on-band-muted); }
.est-out ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; color: var(--on-band-muted); }
.est-out ul li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--band-line); padding-bottom: 8px; }
.est-out .btn { margin-top: auto; }
.est-out .btn + .btn { margin-top: 0; }
.est-out .btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, .3); }

/* ---------- Service detail ---------- */
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); }
.toggle { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--surface-2); margin-bottom: 26px; }
.toggle button { border: 0; background: transparent; padding: 10px 18px; border-radius: 10px; font-weight: 600; cursor: pointer; color: var(--muted); }
.toggle button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mcard { border-radius: var(--r-md); background: var(--paper); padding: 18px; display: grid; gap: 6px; }
.mcard span { font-size: .86rem; color: var(--muted); }
.mcard b { font-family: var(--font-display); font-size: 2rem; font-variation-settings: "wdth" 82; line-height: 1; transition: color .3s; font-variant-numeric: tabular-nums; }
.mcard b[data-s="good"] { color: var(--good); }
.mcard b[data-s="avg"] { color: var(--avg); }
.mcard b[data-s="poor"] { color: var(--poor); }
.mcard small { font-size: .8rem; color: var(--muted); }
.fixlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.fixlist div { padding: 24px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.fixlist h3 { font-size: 1.25rem; }
.fixlist p { color: var(--muted); }
.stat-quote { border-left: 4px solid var(--signal); padding: 6px 0 6px 24px; }
.stat-quote b { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); font-variation-settings: "wdth" 78; line-height: 1; display: block; }

/* ---------- Case study ---------- */
.arch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.node { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 18px; display: grid; gap: 4px; position: relative; }
.node b { font-size: 1rem; }
.node span { font-size: .86rem; color: var(--muted); }
.node--key { border-color: var(--text); }
.arch-row-label { grid-column: 1 / -1; font-weight: 650; font-size: .95rem; margin-top: 10px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.flow .chip { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 8px 14px; font-size: .9rem; }
.flow svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.ledger { width: 100%; border-collapse: collapse; font-size: .97rem; }
.ledger th, .ledger td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger th { font-weight: 600; color: var(--muted); font-size: .88rem; }
.table-scroll { overflow-x: auto; }

/* ---------- Blog ---------- */
.feature-post { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; margin-bottom: 64px; }
.feature-post h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin: 12px 0 16px; }
.cover { --h: 230; aspect-ratio: 16 / 10; border-radius: var(--r-lg); position: relative; overflow: hidden; background: linear-gradient(140deg, hsl(var(--h) 60% 20%), hsl(calc(var(--h) + 40) 65% 12%)); display: grid; place-items: end start; padding: 7%; isolation: isolate; }
.cover::before { content: ""; position: absolute; inset: auto -10% -35% auto; width: 70%; aspect-ratio: 1.15; background: linear-gradient(160deg, #F4868C, #D2343F); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .85; z-index: -1; }
.cover span { font-family: var(--font-display); font-weight: 750; color: #fff; font-size: clamp(1.4rem, 3vw, 2.6rem); line-height: .95; font-variation-settings: "wdth" 76; letter-spacing: -0.03em; max-width: 9em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--muted); }
.blog-tools { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.blog-tools .input { max-width: 320px; }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); }
.inline-form { display: flex; gap: 8px; }
.inline-form .input { flex: 1; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { max-width: 42rem; font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 2em; line-height: 1.1; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--signal-strong); text-underline-offset: 3px; }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--band); color: #E9ECFA; padding: 22px; border-radius: var(--r-md); overflow-x: auto; font-size: .9rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.callout { background: var(--signal-soft); border-radius: var(--r-md); padding: 20px 22px; font-size: 1rem; }
.callout b { display: block; margin-bottom: 4px; }
.toc { display: grid; gap: 4px; font-size: .94rem; border-left: 2px solid var(--line); }
.toc a { text-decoration: none; color: var(--muted); padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover, .toc a.on { color: var(--text); border-left-color: var(--signal); }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 12px; margin-top: 28px; }
.author { display: flex; gap: 16px; align-items: center; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin-top: 48px; }
.author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Booking ---------- */
.booker { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; }
.booker-head { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.booker-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.cal { padding: 22px 26px; border-right: 1px solid var(--line); }
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 650; }
.cal-nav button { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-grid .dow { font-size: .78rem; color: var(--muted); padding: 4px 0; }
.day { aspect-ratio: 1; border-radius: 12px; border: 0; background: transparent; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; color: var(--text); }
.day[data-open] { background: var(--surface-2); }
.day[data-open]:hover { background: color-mix(in srgb, var(--signal) 20%, var(--surface-2)); }
.day:disabled { color: color-mix(in srgb, var(--muted) 50%, transparent); cursor: default; background: transparent; }
.day[aria-pressed="true"] { background: var(--solid); color: var(--on-solid); }
.slots-wrap { padding: 22px 26px; display: flex; flex-direction: column; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-height: 330px; overflow-y: auto; padding-right: 4px; }
.slot { min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--text); }
.slot[aria-pressed="true"] { background: var(--signal-strong); color: #fff; border-color: var(--signal-strong); }
.seg { display: inline-flex; padding: 4px; background: var(--surface-2); border-radius: 12px; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 600; cursor: pointer; color: var(--muted); font-size: .92rem; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.booker-form { padding: 26px; border-top: 1px solid var(--line); display: none; }
.booker-form.show { display: block; }
.done { padding: 40px 26px; text-align: center; display: none; }
.done.show { display: block; }
.done .check { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; background: color-mix(in srgb, var(--good) 18%, transparent); display: grid; place-items: center; color: var(--good); }
.done .check svg { width: 30px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .field .lbl { font-weight: 600; font-size: .95rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: .84rem; color: var(--muted); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 550; font-size: .94rem; cursor: pointer; }
.pick input:checked + span { background: var(--solid); color: var(--on-solid); border-color: var(--solid); }
.pick input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3.5vw, 44px); box-shadow: var(--shadow); }
.sent { display: none; padding: 18px 20px; border-radius: var(--r-md); background: color-mix(in srgb, var(--good) 14%, transparent); font-weight: 550; }
.sent.show { display: block; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-list span { color: var(--muted); }
.clock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 6px; margin-top: 28px; }
.clock b { font-family: var(--font-display); font-size: 2.4rem; font-variation-settings: "wdth" 80; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- Order builder ---------- */
.order { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.o-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px); margin-bottom: 18px; }
.o-step h2 { font-size: 1.5rem; display: flex; gap: 14px; align-items: center; margin-bottom: 20px; font-variation-settings: "wdth" 88; letter-spacing: -0.015em; }
.o-step h2 .n { width: 34px; height: 34px; border-radius: 50%; background: var(--solid); color: var(--on-solid); display: grid; place-items: center; font-size: .95rem; flex: none; }
.svc-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tier span { gap: 8px !important; padding: 18px !important; }
.tier b.p { font-family: var(--font-display); font-size: 1.8rem; font-variation-settings: "wdth" 82; line-height: 1; }
.tier ul { margin: 6px 0 0; padding-left: 1.1em; font-size: .88rem; color: var(--muted); display: grid; gap: 4px; }
.addons { display: grid; gap: 10px; }
.addon { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; }
.addon input { width: 20px; height: 20px; accent-color: var(--signal-strong); }
.addon small { display: block; color: var(--muted); font-size: .85rem; }
.addon:has(input:checked) { border-color: var(--text); }
.summary { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 28px; display: grid; gap: 18px; }
.summary h2 { font-size: 1.4rem; font-variation-settings: "wdth" 90; letter-spacing: -0.01em; }
.sum-lines { display: grid; gap: 10px; font-size: .96rem; }
.sum-lines div { display: flex; justify-content: space-between; gap: 12px; }
.sum-lines span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.sum-total b { font-family: var(--font-display); font-size: 2.3rem; font-variation-settings: "wdth" 80; font-variant-numeric: tabular-nums; }
.assure { display: grid; gap: 10px; font-size: .9rem; color: var(--muted); }
.assure div { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.assure svg { width: 18px; height: 18px; color: var(--good); margin-top: 2px; }

/* ---------- About ---------- */
.portrait { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .tag { position: absolute; left: 16px; bottom: 16px; right: 16px; background: var(--surface); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.years { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.years li { position: relative; padding: 0 0 34px 30px; }
.years li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--text); }
.years li:first-child::before { background: var(--signal-strong); border-color: var(--signal-strong); }
.years .when { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.years h3 { margin: 4px 0 6px; }
.years p { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.values h3 { margin-bottom: 10px; }
.values p { color: var(--muted); }

/* ---------- 404-free utility ---------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.reveal-hero > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.reveal-hero > *:nth-child(2) { animation-delay: .06s; }
.reveal-hero > *:nth-child(3) { animation-delay: .12s; }
.reveal-hero > *:nth-child(4) { animation-delay: .18s; }
.reveal-hero > *:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* SPA preview routing */
[data-page][hidden] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header-cta { margin-left: auto; }
  .drawer { display: block; position: fixed; inset: calc(env(safe-area-inset-top, 0px) + 76px) 0 0; background: var(--paper); z-index: 49; padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
  .drawer.open { opacity: 1; transform: none; visibility: visible; }
  .drawer nav { display: grid; }
  .drawer nav a { font-family: var(--font-display); font-size: 2rem; font-weight: 700; font-variation-settings: "wdth" 82; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .drawer .btn-row { margin-top: 24px; }
  .hero-grid, .split, .split--rev, .est, .order, .article, .feature-post, .newsletter { grid-template-columns: 1fr; }
  .sticky, .summary { position: static; }
  .layers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento .tile, .bento .tile--wide { grid-column: span 6; }
  .bento .tile--hero { grid-column: span 12; grid-row: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quote:first-child { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc > div:first-child { grid-column: 1 / -1; }
  .arch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc-wrap { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hide-sm { display: none !important; }
  .hide-xs { display: none; }
  .grid-2, .grid-3, .grid-4, .prices, .values, .cards, .quotes, .timeline, .fixlist, .work-item, .sec-head--split, .ai-grid, .cta-band, .form-row, .booker-body, .svc, .tiers, .svc-pick, .opts { grid-template-columns: 1fr; }
  .work-item:nth-child(even) { grid-template-columns: 1fr; }
  .work-item:nth-child(even) .shot { order: 0; }
  .row .chip { justify-self: start; }
  .layers { grid-template-columns: 1fr 1fr; }
  .bento .tile, .bento .tile--wide, .bento .tile--hero { grid-column: span 12; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .timeline { gap: 28px; }
  .timeline::before { display: none; }
  .step .when { margin-top: 14px; }
  .metric { grid-template-columns: 6.2rem 1fr 3.8rem; }
  .scale { margin-left: calc(6.2rem + 12px); margin-right: calc(3.8rem + 12px); }
  .metric-grid, .facts { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cal { border-right: 0; border-bottom: 1px solid var(--line); }
  .test-form, .inline-form { grid-template-columns: 1fr; display: grid; }
  .cta-band .btn-row { flex-direction: row; }
  .brand img { height: 19px; }
  .header-in { gap: 10px; }
  .header-cta { gap: 8px; }
  .header-cta .btn--sm { padding: 0 13px; }
  .metric { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
