/* ==========================================================================
   SD Home — styles. Warm paper, deep night sections, a serif display face and
   one bright brand colour. Every colour comes from the three SITE THEME
   variables in components.js (--brand, --accent, --ink-deep) plus a warm paper
   neutral; shades are mixed from them, so one change re-colours the site.
   All rules sit in cascade layers, so the injected theme always wins.
   ========================================================================== */
@layer reset, tokens, base, layout, components, sections, motion;

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/inter.woff2") format("woff2"); }

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

@layer tokens {
  :root {
    /* Fallbacks only: components.js sets the real three from the business's colours. */
    --brand: #f07f2e;
    --accent: #b9520f;
    --ink-deep: #0f2236;
    --paper: #f3efe7;

    --ink: color-mix(in oklab, var(--ink-deep) 78%, #000);
    --ink-3: color-mix(in oklab, var(--ink) 84%, var(--paper));
    --mute: color-mix(in oklab, var(--ink) 62%, var(--paper));
    --mute-light: color-mix(in oklab, var(--ink) 28%, var(--paper));
    --bone: var(--paper);
    --bone-2: color-mix(in oklab, var(--paper) 94%, var(--ink));
    --bone-3: color-mix(in oklab, var(--paper) 89%, var(--ink));
    --line: color-mix(in srgb, var(--ink) 12%, transparent);
    --line-light: color-mix(in srgb, var(--paper) 14%, transparent);
    --night: var(--ink-deep);
    --brand-2: color-mix(in oklab, var(--brand) 86%, #fff);
    --accent-ink: color-mix(in oklab, var(--accent) 84%, #000);
    /* Text on a brand fill: dark ink on a light brand, paper on a dark one. */
    --on-brand: var(--ink);
    /* The brand as words and lines on night, and the accent as words and icons on paper: lifted or
       deepened just enough to read whatever the business's colours are. */
    --brand-lift: var(--brand);
    --accent-text: var(--accent);

    --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --gutter: clamp(20px, 5vw, 80px);
    --max: 1440px;
    --radius: 18px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --nav-h: 88px;
    /* The hero sits flush under the fixed header: no gap between the two. */
    --nav-gap: 0px;
  }
  @supports (color: oklch(from red l c h)) {
    :root {
      --on-brand: oklch(from var(--brand) calc(0.2 + clamp(0, (0.66 - l) * 100, 1) * 0.75) 0.03 262);
      --brand-lift: oklch(from var(--brand) max(l, 0.7) c h);
      --accent-text: oklch(from var(--accent) min(l, 0.6) c h);
    }
  }
}

@layer reset {
  *, ::before, ::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  html.lenis, html.lenis body { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto !important; }
  .lenis.lenis-stopped { overflow: hidden; }
  body { margin: 0; }
  img, video, svg { max-width: 100%; display: block; }
  h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; }
}

@layer base {
  body {
    background: var(--bone);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
  }
  ::selection { background: var(--brand); color: var(--on-brand); }
  .eyebrow { font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
  h2 { font: 400 clamp(2.4rem, 5.2vw, 4.6rem)/1 var(--serif); letter-spacing: -.015em; margin-top: 18px; }
  h2 em, h1 em { font-style: italic; color: var(--accent-text); }
  [data-theme=dark] h2 em, [data-theme=dark] h1 em { color: var(--brand-lift); }
  [data-theme=dark] .eyebrow { color: var(--mute-light); }
  .sr-only { position: absolute; 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: 10px; left: 10px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bone); transform: translateY(-160%); transition: transform .3s var(--ease); }
  .skip-link:focus { transform: none; }
  i[data-i] { display: inline-flex; flex: none; line-height: 0; }
  i[data-i] svg { width: 1em; height: 1em; }
}

@layer layout {
  #gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
  body[data-tier="0"] #gl { display: none; }
  #gl.is-high { z-index: 25; }
  .ui { position: relative; z-index: 10; }
  .progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
  .progress i { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: 0; }
}

@layer components {
  /* ---- links and buttons ---- */
  .link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 15px; font-weight: 500; transition: gap .35s var(--ease), color .3s; }
  .link::after { content: "\2192"; transition: transform .35s var(--ease); }
  .link:hover { color: var(--accent-ink); border-color: var(--accent-ink); gap: 16px; }
  .btn {
    display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.5em;
    border: 1px solid transparent; border-radius: 999px; font: 500 15px/1 var(--sans);
    transition: transform .45s var(--ease), background .3s, color .3s, border-color .3s; will-change: transform;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn i[data-i] { font-size: 1.1em; }
  .btn--light { background: var(--bone); color: var(--ink); }
  .btn--light:hover { background: #fff; }
  .btn--accent { background: var(--brand); color: var(--on-brand); }
  .btn--accent:hover { background: var(--brand-2); }
  .btn--ghost { color: var(--bone); border-color: color-mix(in srgb, var(--bone) 40%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .btn--ghost:hover { border-color: var(--bone); }
  .btn--dark { background: var(--ink); color: var(--bone); }
  .btn--dark:hover { background: var(--ink-3); }
  .btn--outline { border-color: var(--ink); color: var(--ink); }
  .btn--outline:hover { background: var(--ink); color: var(--bone); }
  .btn--small { padding: .72em 1.15em; font-size: 14px; background: var(--ink); color: var(--bone); }

  /* ---- header ---- */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50; min-height: var(--nav-h);
    display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter);
    background: #fff; color: var(--ink); transition: transform .6s var(--ease), color .4s;
  }
  .nav.is-hidden { transform: translateY(-110%); }
  .nav.is-light .btn--small { background: var(--brand); color: var(--on-brand); }
  .nav__brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
  .mark { display: block; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
  .mark path { transition: stroke .4s; }
  .mark .mk-r { stroke: var(--accent-text); }
  .nav.is-light .mark .mk-r, [data-theme=dark] .mark .mk-r, .footer .mark .mk-r, .menu .mark .mk-r { stroke: var(--brand-lift); }
  .nav__mark { width: 34px; height: 34px; }
  .nav__name { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .nav__name strong { font: 400 25px/.86 var(--serif); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav__name small { font: 600 8.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; opacity: .72; white-space: nowrap; }
  .nav__links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
  .nav__links a { position: relative; padding: 6px 0; opacity: .8; transition: opacity .3s; }
  .nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100%; transition: transform .4s var(--ease); }
  .nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
  .nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0; }
  .nav__end { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
  .nav__end .btn { white-space: nowrap; }
  .nav__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; opacity: .85; transition: opacity .3s; }
  .nav__phone:hover { opacity: 1; }
  .nav__phone i[data-i] { font-size: 16px; }
  .nav__toggle { display: none; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; font-size: 18px; opacity: .85; }
  @media (max-width: 1199px) {
    .nav__phone span { display: none; }
    .nav__phone { justify-content: center; width: 38px; height: 38px; border: 1px solid; border-radius: 50%; opacity: .7; }
  }
  @media (max-width: 959px) {
    .nav__links { display: none; }
    .nav__toggle { display: grid; }
  }
  @media (max-width: 420px) {
    .nav { gap: 12px; }
    .nav__end { gap: 8px; }
    .nav .btn--small { padding: .75em .9em; font-size: 13px; }
    .nav__brand { gap: 9px; }
    .nav__name strong { font-size: 23px; }
    .nav__name small { display: none; }
    .nav__phone { display: none; }
  }

  /* ---- menu (phones and tablets) ---- */
  .menu { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; padding: 22px var(--gutter) 32px; background: var(--night); color: var(--bone); overflow-y: auto; }
  .menu[hidden] { display: none; }
  .menu__top { display: flex; align-items: center; justify-content: space-between; }
  .menu__close { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-light); border-radius: 50%; background: transparent; color: inherit; font-size: 20px; }
  .menu__nav { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
  .menu__nav a { font: 400 clamp(2.2rem, 9vw, 3.4rem)/1.12 var(--serif); letter-spacing: -.01em; padding: 4px 0; border-bottom: 1px solid var(--line-light); }
  .menu__nav a[aria-current="page"] { color: var(--brand-lift); font-style: italic; }
  .menu__foot { display: grid; gap: 10px; font-size: 15px; color: var(--mute-light); }
  .menu__foot a { color: var(--bone); }
  body.menu-open { overflow: hidden; }

  /* ---- planes: photo slots the WebGL layer takes over ---- */
  .plane { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bone-3); }
  .plane img { width: 100%; height: 100%; object-fit: cover; }
  .plane.is-gl { background: transparent; }
  .plane.is-gl img { opacity: 0; }

  /* ---- social links ---- */
  .social { display: flex; flex-wrap: wrap; gap: 8px; }
  .social a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; font-size: 15px; transition: color .3s, border-color .3s; }
  .social a:hover { color: var(--brand-lift); border-color: var(--brand-lift); }

  /* ---- glass card (quote request) ---- */
  .form { perspective: 1400px; }
  .form__card {
    position: relative; overflow: hidden; padding: clamp(24px, 3vw, 40px); border-radius: 22px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--bone) 11%, transparent), color-mix(in srgb, var(--bone) 4%, transparent));
    border: 1px solid color-mix(in srgb, var(--bone) 16%, transparent);
    box-shadow: inset 0 1px color-mix(in srgb, #fff 12%, transparent), 0 60px 120px -50px color-mix(in srgb, #000 85%, transparent);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  }
  .form__card::before {
    content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
    background: conic-gradient(from var(--ang), transparent 0 68%, color-mix(in srgb, var(--bone) 70%, transparent) 84%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: formEdge 8s linear infinite;
  }
  .form__sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(440px circle at var(--mx, 70%) var(--my, 20%), color-mix(in srgb, var(--bone) 10%, transparent), transparent 60%); }
  .form__head { position: relative; margin-bottom: 20px; transform: translateZ(26px); }
  .form__kicker { display: block; font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-lift); }
  .form__head h3, .form__head h2 { margin-top: 8px; font: 400 clamp(1.6rem, 2.2vw, 2.1rem)/1.1 var(--serif); letter-spacing: 0; }
  .form__pills { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; border: 0; transform: translateZ(18px); }
  .form__pills legend, .form__legend { width: 100%; margin-bottom: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-light); }
  .form__pills label { position: relative; }
  .form__pills input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
  .form__pills span, .form__pills a {
    display: inline-block; padding: 9px 14px; border: 1px solid color-mix(in srgb, var(--bone) 22%, transparent); border-radius: 999px;
    font-size: 13px; color: color-mix(in srgb, var(--bone) 85%, transparent); cursor: pointer;
    transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
  }
  .form__pills span:hover, .form__pills a:hover { border-color: color-mix(in srgb, var(--bone) 50%, transparent); transform: translateY(-1px); }
  .form__pills input:checked + span { background: var(--brand); color: var(--on-brand); border-color: var(--brand); box-shadow: 0 10px 24px -12px color-mix(in srgb, #000 70%, transparent); }
  .form__pills input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
  .form__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; transform: translateZ(12px); }
  .field { position: relative; }
  .field--full { grid-column: 1 / -1; }
  .field input, .field textarea {
    width: 100%; padding: 24px 0 10px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--bone) 24%, transparent); border-radius: 0;
    background: transparent; color: var(--bone); font: 400 16px/1.4 var(--sans); outline: none; transition: border-color .3s;
  }
  .field textarea { min-height: 74px; resize: vertical; }
  .field label { position: absolute; top: 24px; left: 0; font-size: 15px; color: var(--mute-light); pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease), color .25s, letter-spacing .25s; }
  .field input:focus ~ label, .field input:not(:placeholder-shown) ~ label, .field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label {
    color: var(--brand-lift); letter-spacing: .1em; text-transform: uppercase; transform: translateY(-19px) scale(.74);
  }
  .field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brand); transform: scaleX(0); transform-origin: 0; transition: transform .45s var(--ease); }
  .field:focus-within::after { transform: scaleX(1); }
  .form__foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; transform: translateZ(32px); }
  .form__submit { box-shadow: 0 20px 40px -16px color-mix(in srgb, #000 75%, transparent); }
  .form__note { max-width: 30ch; font-size: 12px; line-height: 1.45; color: var(--mute-light); }
  .form-status { min-height: 1.2em; margin-top: 14px; font-size: 14px; color: var(--mute-light); }
  .form-status.is-ok { color: var(--brand-lift); }
  .form-status.is-err { color: #b91c1c; background: #fff; padding: 6px 10px; border-radius: 8px; }
  .form-success { position: relative; display: grid; gap: 10px; padding: 12px 0; }
  .form-success[hidden] { display: none; }
  .form-success i[data-i] { font-size: 40px; color: var(--brand-lift); }
  .form-success h3 { font: 400 2rem/1.1 var(--serif); }
  .form-success p { color: var(--mute-light); }
  .hp { display: none; }
  @media (max-width: 560px) {
    .form__grid { grid-template-columns: 1fr; }
    .form__foot { flex-direction: column; align-items: flex-start; }
  }

  /* ---- footer ---- */
  .footer { padding: 44px var(--gutter) 28px; border-top: 1px solid var(--line); background: #fff; color: var(--mute); font-size: 13px; }
  .footer__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; gap: 24px; }
  .footer__brand { display: flex; align-items: center; gap: 14px; }
  .footer__brand > div { display: flex; flex-direction: column; gap: 6px; }
  .footer__mark { width: 40px; height: 40px; color: var(--ink); }
  .footer__name { font: 400 20px/1 var(--serif); color: var(--ink); }
  .footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
  .footer__links a, .footer__contact a, .footer__base a { transition: color .3s; }
  .footer__links a:hover, .footer__contact a:hover, .footer__base a:hover { color: var(--brand-lift); }
  .footer__contact { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; justify-self: end; text-align: right; }
  .footer__contact .social { margin-top: 8px; }
  .footer .social a { border-color: var(--line); }
  .footer__base { max-width: var(--max); margin: 30px auto 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12px; }
  .footer__base a { color: var(--ink); }
  @media (max-width: 900px) {
    .footer__inner { grid-template-columns: 1fr; }
    .footer__links { justify-content: flex-start; }
    .footer__contact { align-items: flex-start; justify-self: start; text-align: left; }
  }

  /* ---- quick bar (phones) ---- */
  .mobile-bar { display: none; }
  @media (max-width: 640px) {
    .mobile-bar {
      position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; gap: 8px; padding: 8px;
      border: 1px solid color-mix(in srgb, var(--bone) 16%, transparent); border-radius: 999px;
      background: color-mix(in srgb, var(--night) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
      box-shadow: 0 20px 40px -18px color-mix(in srgb, #000 70%, transparent);
      transform: translateY(calc(100% + 24px)); transition: transform .5s var(--ease);
    }
    body.show-bar .mobile-bar, html:not(.js) .mobile-bar { transform: none; }
    .mobile-bar .btn { flex: 1; justify-content: center; padding: .85em 1em; }
    .mobile-bar .btn--ghost { -webkit-backdrop-filter: none; backdrop-filter: none; }
    body { padding-bottom: 84px; }
    .footer { padding-bottom: 100px; }
    body.menu-open .mobile-bar { display: none; }
  }

  /* ---- cursor ---- */
  .cursor {
    position: fixed; top: 0; left: 0; z-index: 100; width: 10px; height: 10px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--bone); mix-blend-mode: difference; opacity: 0; pointer-events: none;
    transition: width .4s var(--ease), height .4s var(--ease), opacity .3s, background .3s;
  }
  .cursor.is-on { opacity: 1; }
  .cursor.is-link { width: 44px; height: 44px; border: 1px solid var(--bone); background: transparent; }
  .cursor.is-play { width: 88px; height: 88px; background: var(--bone); color: var(--ink); mix-blend-mode: normal; }
  .cursor__label { font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
  .cursor.is-play .cursor__label { opacity: 1; }
  @media (pointer: coarse) { .cursor { display: none; } }
  body.is-framed .cursor { opacity: 0 !important; }
}

@layer sections {
  /* ---- home hero: the fixed background video (script.js fills .hero__media) ---- */
  .hero {
    position: relative; z-index: 10; margin-top: calc(var(--nav-h) + var(--nav-gap)); height: calc(100vh - var(--nav-h) - var(--nav-gap)); height: calc(100svh - var(--nav-h) - var(--nav-gap)); min-height: calc(640px - var(--nav-h) - var(--nav-gap)); overflow: hidden;
    border-radius: 0 0 32px 32px; background: var(--night); color: var(--bone);
    box-shadow: 0 40px 80px -36px color-mix(in srgb, var(--ink) 55%, transparent);
  }
  .hero.is-gl { background: transparent; }
  .hero__media { position: absolute; inset: 0; background: var(--night); }
  .hero.is-gl .hero__media { background: transparent; }
  .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero__video { opacity: 1; filter: saturate(1.06) contrast(1.04); transition: opacity 1.2s var(--ease); }
  .hero.is-video:not(.is-gl) .hero__video { opacity: 1; }
  .hero.is-gl .hero__poster { opacity: 0; }
  .hero__plane { position: absolute; inset: 0; }
  .hero__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--ink) 50%, transparent) 0%, color-mix(in srgb, var(--ink) 26%, transparent) 42%, transparent 68%),
      linear-gradient(color-mix(in srgb, var(--ink) 62%, transparent) 0%, color-mix(in srgb, var(--ink) 30%, transparent) 16%, color-mix(in srgb, var(--ink) 8%, transparent) 36%, color-mix(in srgb, var(--ink) 34%, transparent) 62%, color-mix(in srgb, var(--ink) 80%, transparent) 100%);
  }
  .hero__content { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%); max-width: 1120px; }
  .hero .eyebrow { margin-bottom: 22px; color: color-mix(in srgb, var(--bone) 75%, transparent); }
  .hero__title { max-width: 16ch; font: 400 clamp(2.2rem, 5.4vw, 5rem)/.96 var(--serif); letter-spacing: -.02em; text-shadow: 0 2px 40px color-mix(in srgb, var(--ink) 35%, transparent); }
  .hero__title em { color: var(--brand-lift); font-style: italic; }
  .hero__sub { max-width: 46ch; margin-top: 26px; font-size: clamp(.92rem, 1.05vw, 1.05rem); line-height: 1.55; color: color-mix(in srgb, var(--bone) 84%, transparent); }
  .hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
  .hero__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--bone) 70%, transparent); }
  .hero__hint { display: inline-flex; align-items: center; gap: 12px; }
  .hero__hint i { display: block; width: 1px; height: 30px; background: currentColor; transform-origin: top; animation: hint 2s var(--ease) infinite; }
  @media (max-width: 760px) { .hero__meta { display: none; } }

  /* ---- inner-page hero: dark sheet with a depth photo ---- */
  .page-hero {
    position: relative; overflow: hidden; border-radius: 0 0 32px 32px; background: var(--night); color: var(--bone);
    padding: calc(var(--nav-h) + clamp(40px, 7vw, 100px)) var(--gutter) clamp(56px, 7vw, 110px);
    box-shadow: 0 40px 80px -36px color-mix(in srgb, var(--ink) 55%, transparent);
  }
  .page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px circle at 18% 10%, color-mix(in srgb, var(--bone) 9%, transparent), transparent 62%), repeating-linear-gradient(115deg, color-mix(in srgb, #fff 2%, transparent) 0 2px, transparent 2px 9px); }
  .page-hero__inner { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); align-items: center; gap: clamp(36px, 6vw, 110px); }
  .page-hero__inner--solo { grid-template-columns: minmax(0, 1fr); }
  .page-hero__title { margin-top: 20px; max-width: 15ch; font: 400 clamp(2.8rem, 6.4vw, 6rem)/.98 var(--serif); letter-spacing: -.02em; }
  .page-hero__title em { color: var(--brand-lift); font-style: italic; }
  .page-hero__sub { max-width: 46ch; margin-top: 24px; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.6; color: color-mix(in srgb, var(--bone) 82%, transparent); }
  .page-hero__media { aspect-ratio: 4 / 3; width: 100%; max-height: 64vh; margin: 0; box-shadow: 0 50px 90px -40px color-mix(in srgb, #000 80%, transparent); }
  .page-hero__media.is-gl { box-shadow: none; }
  @media (max-width: 900px) {
    .page-hero__inner { grid-template-columns: 1fr; }
    .page-hero__media { aspect-ratio: 16 / 10; }
  }

  /* ---- about: copy and a 3D photo stack that tilts toward the cursor ---- */
  .about { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(100px, 13vw, 200px) var(--gutter); display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); align-items: center; gap: clamp(40px, 7vw, 130px); }
  .about__visual { position: relative; }
  .about__visual::before { content: ""; position: absolute; inset: -12% -8%; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, #fff 75%, transparent), transparent 70%); }
  .about__stack { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; margin: 0 auto; }
  .about__card { position: absolute; margin: 0; overflow: hidden; border-radius: 16px; background: var(--bone-3); box-shadow: 0 34px 60px -24px color-mix(in srgb, var(--ink) 38%, transparent); }
  .about__card img { width: 100%; height: 100%; object-fit: cover; }
  .about__card--big { top: 5%; left: 0; width: 74%; height: 76%; }
  .about__card--small { right: 0; bottom: 0; width: 52%; height: 50%; border: 8px solid #fff; background: #fff; }
  .about__card.is-gl { background: transparent; border-color: transparent; box-shadow: none; }
  .about__card.is-gl img { opacity: 0; }
  .about__badge {
    position: absolute; top: 3%; right: 1%; width: clamp(112px, 22%, 132px); aspect-ratio: 1; display: grid; place-content: center; gap: 6px; text-align: center;
    border: 1px solid color-mix(in srgb, #fff 80%, transparent); border-radius: 20px; background: color-mix(in srgb, var(--bone) 88%, transparent);
    box-shadow: 0 26px 50px -26px color-mix(in srgb, var(--ink) 50%, transparent), inset 0 1px color-mix(in srgb, #fff 90%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform-style: preserve-3d; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(calc(130px + (1 - var(--rv, 1)) * 260px));
    opacity: var(--rv, 1); transition: opacity .4s;
  }
  .about__badge strong { font: 400 clamp(38px, 3.4vw, 48px)/1 var(--serif); letter-spacing: -.02em; color: var(--accent-text); }
  .about__badge span { font: 500 10px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
  .about__copy h2 { max-width: 17ch; }
  .about__copy > p:not(.eyebrow) { max-width: 50ch; margin-top: 22px; font-size: 17px; line-height: 1.65; color: var(--ink-3); }
  .about__list { display: grid; gap: 12px; margin: 30px 0 38px; padding: 0; list-style: none; }
  .about__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
  .about__list i[data-i] { font-size: 18px; color: var(--accent-text); }
  .about__cta { display: flex; flex-wrap: wrap; gap: 12px; }
  @media (max-width: 900px) {
    .about { grid-template-columns: 1fr; gap: 56px; padding-top: 80px; }
    .about__stack { max-width: 460px; }
  }

  /* ---- services: a box that rolls from one service face to the next ---- */
  .services { position: relative; }
  .services__head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 56px; }
  .services--page { padding-top: clamp(90px, 10vw, 150px); }
  .services__stage { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; perspective: 1000px; background: var(--bone); }
  .service { position: absolute; inset: 0; display: flex; align-items: center; background: var(--bone); border-top: 1px solid var(--line); -webkit-backface-visibility: hidden; backface-visibility: hidden; will-change: transform; }
  .service:nth-of-type(2n) { background: var(--bone-2); }
  .service::after { content: ""; position: absolute; inset: 0; z-index: 20; pointer-events: none; opacity: var(--dim, 0); background: linear-gradient(transparent 0%, color-mix(in srgb, var(--ink) 14%, transparent) 45%, color-mix(in srgb, var(--ink) 62%, transparent) 100%); }
  .service.is-out::after { background: linear-gradient(color-mix(in srgb, var(--ink) 62%, transparent) 0%, color-mix(in srgb, var(--ink) 14%, transparent) 55%, transparent 100%); }
  .services__dots { position: absolute; top: 50%; right: clamp(16px, 3vw, 44px); display: flex; flex-direction: column; gap: 12px; transform: translateY(-50%); }
  .services__dots button, .voices__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); opacity: .22; cursor: pointer; transition: opacity .3s, transform .3s var(--ease); }
  .services__dots button.is-on, .voices__dots button.is-on { opacity: 1; transform: scale(1.5); }
  .service__inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
  .service__num { display: block; margin-bottom: 26px; font-size: 13px; letter-spacing: .14em; color: var(--mute); }
  .service__title { margin-bottom: 22px; font: 400 clamp(2.4rem, 4.6vw, 4.4rem)/1 var(--serif); letter-spacing: -.02em; }
  .service__body p { max-width: 44ch; font-size: 17px; line-height: 1.6; color: var(--ink-3); }
  .service__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 28px 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
  .service__list li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--mute); }
  .service__media { width: 100%; aspect-ratio: 4 / 3; max-height: 74vh; margin: 0; }
  /* Until (or unless) the engine rolls the box, the services are a plain list. */
  .services__stage:not(.is-rolling) { height: auto; min-height: 0; overflow: visible; }
  .services__stage:not(.is-rolling) .service { position: relative; padding: 64px 0; }
  @media (max-width: 900px) {
    .services__stage { min-height: 560px; }
    .service__inner { grid-template-columns: 1fr; align-content: center; gap: 18px; padding-top: 48px; padding-bottom: 24px; }
    .service__media { order: -1; aspect-ratio: 16 / 10; max-height: 30vh; }
    .service__num { margin-bottom: 12px; }
    .service__title { margin-bottom: 10px; font-size: clamp(2.2rem, 9vw, 2.9rem); }
    .service__body p { font-size: 15px; }
    .service__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; border: 0; }
    .service__list li { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; line-height: 1.3; }
    .services__dots { right: 10px; }
  }

  /* ---- extra services (services page) ---- */
  .extras { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 10vw, 160px) var(--gutter); }
  .extras__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 32px; margin-bottom: 44px; }
  .extras__head > p { justify-self: end; max-width: 42ch; color: var(--mute); line-height: 1.6; }
  .extras__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; perspective: 1400px; }
  .extra {
    position: relative; display: grid; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
    background: color-mix(in srgb, #fff 45%, transparent); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: background .3s, transform .45s var(--ease);
  }
  .extra:hover { background: #fff; }
  .extra i[data-i] { font-size: 26px; color: var(--accent-text); }
  .extra h3 { font: 400 1.7rem/1.1 var(--serif); }
  .extra p { font-size: 15px; line-height: 1.55; color: var(--ink-3); }
  @media (max-width: 900px) {
    .extras__head { grid-template-columns: 1fr; gap: 14px; }
    .extras__head > p { justify-self: start; }
  }

  /* ---- work: a gallery wall of framed photos, rows drifting in turns ---- */
  .work { position: relative; overflow: hidden; padding: clamp(100px, 12vw, 180px) 0 clamp(80px, 9vw, 140px); background: var(--bone-2); }
  .work__head { max-width: var(--max); margin: 0 auto 28px; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 32px; }
  .work__lead { justify-self: end; max-width: 42ch; font-size: 16px; line-height: 1.6; color: var(--mute); }
  .work__wall { position: relative; width: 100%; height: min(76vh, 720px); min-height: 420px; }
  .work__wall::before { content: ""; position: absolute; top: -6%; bottom: -6%; left: 0; right: 0; pointer-events: none; background: radial-gradient(at 45% 40%, color-mix(in srgb, #fff 75%, transparent), transparent 62%); }
  .work__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0 var(--gutter); list-style: none; }
  .work__wall.is-gl .work__list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tile { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--bone-3); }
  .tile img { width: 100%; height: 100%; object-fit: cover; }
  .tile figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--bone); text-shadow: 0 1px 10px color-mix(in srgb, #000 55%, transparent); }
  .tile figcaption strong { font-weight: 600; }
  .tile figcaption span { font-size: 12px; opacity: .8; }
  body[data-tier="0"] .work__wall, html:not(.js) .work__wall { height: auto; min-height: 0; }
  body[data-tier="0"] .work__wall::before, html:not(.js) .work__wall::before { display: none; }
  @media (max-width: 900px) {
    .work__head { grid-template-columns: 1fr; gap: 14px; }
    .work__lead { justify-self: start; }
    .work__wall { height: min(62vh, 540px); min-height: 360px; }
  }

  /* ---- photo grid (gallery page) ---- */
  .shots { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 10vw, 160px) var(--gutter); }
  .shots__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
  .shot { grid-column: span 4; aspect-ratio: 4 / 3; margin: 0; }
  .shot:nth-child(6n + 1), .shot:nth-child(6n + 5) { grid-column: span 7; aspect-ratio: 16 / 10; }
  .shot:nth-child(6n + 2), .shot:nth-child(6n + 6) { grid-column: span 5; aspect-ratio: auto; }
  .shot figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 11; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 55%, transparent); color: var(--bone); font-size: 12px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  @media (max-width: 760px) {
    .shot, .shot:nth-child(n) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  }

  /* ---- process: a floor plan that draws itself as the steps scroll by ---- */
  .process { max-width: 1520px; margin: 0 auto; padding: clamp(100px, 12vw, 180px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); }
  .process__plan { position: sticky; top: 8vh; height: 84vh; display: flex; flex-direction: column; justify-content: center; color: var(--ink); }
  .model { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 70vh; }
  .model .plan { position: absolute; inset: 0; width: 100%; height: 100%; }
  .model.is-gl .plan { visibility: hidden; }
  .plan { width: 100%; height: auto; max-height: 66vh; }
  .plan [data-plan-step="1"] { color: var(--accent-text); }
  .plan [data-plan-step="2"] { color: var(--mute-light); }
  .process__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-light); }
  .process__legend span { transition: color .4s; }
  .process__legend span.is-on { color: var(--ink); }
  .process__steps { margin: 0; padding: 0; list-style: none; }
  .step { display: flex; flex-direction: column; justify-content: center; min-height: 64vh; padding: 56px 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .step__num { font-size: 13px; letter-spacing: .14em; color: var(--mute); }
  .step h3 { margin: 12px 0 18px; font: 400 clamp(1.9rem, 3.3vw, 2.9rem)/1.05 var(--serif); letter-spacing: -.015em; }
  .step p { max-width: 44ch; font-size: 17px; line-height: 1.6; color: var(--ink-3); }
  @media (max-width: 900px) {
    .process { grid-template-columns: 1fr; gap: 0; padding-top: 80px; }
    .process__plan { top: 0; z-index: 20; height: auto; padding: 16px 0; background: var(--bone); border-bottom: 1px solid var(--line); }
    .model { max-height: 36vh; }
    .plan { max-height: 34vh; }
    .process__legend { margin-top: 12px; }
    .step { min-height: 0; padding: 48px 0; }
  }

  /* ---- trust: glass stat cards under a light that follows the cursor ---- */
  .trust { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 150px) var(--gutter); background: var(--night); color: var(--bone); }
  .trust::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(640px circle at var(--mx, 60%) var(--my, 40%), color-mix(in srgb, var(--bone) 10%, transparent), transparent 62%); }
  .trust::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(115deg, color-mix(in srgb, #fff 2%, transparent) 0 2px, transparent 2px 9px); }
  .trust__inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
  .trust__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 44px; }
  .trust__head h2 { max-width: 16ch; margin-top: 14px; }
  .trust__lead { max-width: 38ch; font-size: 15px; line-height: 1.6; color: var(--mute-light); }
  .trust__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; perspective: 1400px; }
  .trust__card {
    position: relative; overflow: hidden; padding: 30px 28px 28px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--bone) 13%, transparent);
    background: linear-gradient(160deg, color-mix(in srgb, var(--bone) 7.5%, transparent), color-mix(in srgb, var(--bone) 2.4%, transparent));
    box-shadow: inset 0 1px color-mix(in srgb, #fff 9%, transparent), 0 34px 60px -34px color-mix(in srgb, #000 85%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  }
  .trust__card::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--brand), transparent); transform: scaleX(0); transform-origin: 0; transition: transform 1.4s var(--ease) .4s; }
  .trust__card.is-in::after { transform: scaleX(1); }
  .trust__card strong { display: block; font: 400 clamp(3rem, 5.4vw, 5rem)/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; transform: translateZ(30px); }
  .trust__label { display: block; margin-top: 14px; font-size: 14px; letter-spacing: .04em; color: color-mix(in srgb, var(--bone) 88%, transparent); transform: translateZ(14px); }
  .trust__card small { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .02em; color: var(--mute-light); }
  .trust__card small a { color: var(--brand-lift); border-bottom: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
  @media (max-width: 900px) {
    .trust__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .trust__card { padding: 22px 20px; }
  }

  /* ---- voices: the showroom deck on a reflective floor ---- */
  .voices { max-width: var(--max); margin: 0 auto; padding: clamp(100px, 12vw, 180px) var(--gutter) clamp(80px, 8vw, 120px); }
  .voices__head h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
  @media (min-width: 1100px) { .voices__head h2 { white-space: nowrap; } }
  .voices__deck { position: relative; height: min(72vh, 680px); min-height: 440px; margin-top: 16px; cursor: grab; touch-action: pan-y; }
  .voices__deck:active { cursor: grabbing; }
  .voices__deck::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: 4%; height: 46%; pointer-events: none; background: radial-gradient(color-mix(in srgb, #fff 85%, transparent), transparent 68%); }
  .voices__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
  .voices__deck.is-gl .voices__list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .voice { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, #fff 35%, transparent); }
  .voice img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
  .voice blockquote { font: 400 clamp(1.25rem, 1.6vw, 1.5rem)/1.3 var(--serif); }
  .voice footer { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
  .voice footer strong { font-weight: 600; }
  .voice footer span { color: var(--mute); }
  body[data-tier="0"] .voices__deck, html:not(.js) .voices__deck { height: auto; min-height: 0; cursor: default; }
  body[data-tier="0"] .voices__deck::before, html:not(.js) .voices__deck::before { display: none; }
  .voices__nav { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
  .voices__arrow { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); font-size: 20px; cursor: pointer; transition: background .3s, color .3s, transform .4s var(--ease); }
  .voices__arrow:hover { background: var(--ink); color: var(--bone); transform: translateY(-2px); }
  .voices__count { font: 500 13px/1 var(--sans); letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--mute); }
  .voices__dots { display: flex; gap: 10px; margin-left: auto; }
  @media (max-width: 900px) { .voices__deck { height: min(64vh, 560px); min-height: 400px; } }

  /* ---- areas (service areas page) ---- */
  .areas { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 10vw, 160px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
  .areas__lead { max-width: 46ch; margin-top: 22px; font-size: 17px; line-height: 1.65; color: var(--ink-3); }
  .areas__list { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
  .areas__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .areas__list strong { font: 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.1 var(--serif); font-weight: 400; }
  .areas__list span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
  .areas__map { position: sticky; top: calc(var(--nav-h) + 24px); }
  @media (max-width: 900px) {
    .areas { grid-template-columns: 1fr; }
    .areas__map { position: static; }
  }

  /* ---- map ---- */
  .map { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bone-3); aspect-ratio: 4 / 3; }
  .map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
  .map--wide { max-width: var(--max); margin: 0 auto clamp(80px, 9vw, 140px); aspect-ratio: 21 / 8; }
  .map-wrap { padding: 0 var(--gutter); }
  @media (max-width: 760px) { .map--wide { aspect-ratio: 4 / 3; } }

  /* ---- call to action: a finished room behind the glass card ---- */
  .cta { position: relative; overflow: hidden; padding: clamp(100px, 12vw, 180px) var(--gutter); background: var(--night); color: var(--bone); }
  .cta__media { position: absolute; inset: 0; }
  .cta__media img, .cta__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: saturate(.9); }
  .cta__media video { opacity: 0; transition: opacity 1.2s var(--ease); }
  .cta__media.is-playing video { opacity: .5; }
  .cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 92%, transparent) 0%, color-mix(in srgb, var(--ink) 60%, transparent) 60%, color-mix(in srgb, var(--ink) 75%, transparent) 100%); }
  .cta__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 100px); }
  .cta__copy > p:not(.eyebrow) { max-width: 42ch; margin-top: 24px; font-size: 17px; line-height: 1.6; color: color-mix(in srgb, var(--bone) 82%, transparent); }
  .cta__contact { display: grid; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 15px; color: color-mix(in srgb, var(--bone) 86%, transparent); }
  .cta__contact li { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: baseline; gap: 12px; }
  .cta__contact span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-light); }
  .cta__contact a { justify-self: start; overflow-wrap: anywhere; border-bottom: 1px solid color-mix(in srgb, var(--bone) 30%, transparent); transition: border-color .3s, color .3s; }
  .cta__contact a:hover { color: var(--brand-lift); border-color: var(--brand-lift); }
  @media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } }
  .cta--page { padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 130px)); border-radius: 0 0 32px 32px; }
  .cta__title { margin-top: 18px; font: 400 clamp(2.6rem, 6vw, 5.4rem)/1 var(--serif); letter-spacing: -.015em; }
  .cta__title em { color: var(--brand-lift); font-style: italic; }
  .map-wrap { padding: clamp(60px, 8vw, 120px) var(--gutter) 0; }
}

@layer motion {
  @keyframes hint {
    0% { transform: scaleY(0); transform-origin: top; }
    45% { transform: scaleY(1); transform-origin: top; }
    55% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }
  @keyframes formEdge { to { --ang: 360deg; } }
  html.js [data-reveal] { opacity: 0; transform: translateY(26px); }
  html.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
  @media (prefers-reduced-motion: reduce) {
    html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hero__hint i, .form__card::before { animation: none; }
  }
}
