/* ──────────────────────────────────────────────
   SpaceForm — homepage styles
   v5 · Nordic iconography · light + dark theme
──────────────────────────────────────────────── */

/* ──────────────────────────────────────────────
     THEME ARCHITECTURE
     RGB triples flip per theme; opacities stay constant.
     Single source of truth for both modes.
  ────────────────────────────────────────────── */
  :root {
    /* Brand anchors — never change across themes */
    --terracotta: #C05127;
    --terracotta-hi: #D9622F;
    --terracotta-soft: rgba(192, 81, 39, 0.14);
    --terracotta-wash: rgba(192, 81, 39, 0.06);
    --terracotta-line: rgba(192, 81, 39, 0.4);

    --green: #4ADE80;
    --green-soft: rgba(74, 222, 128, 0.18);
    --amber: #F59E0B;
    --amber-soft: rgba(245, 158, 11, 0.18);

    /* Typography */
    --sans: 'Inter', -apple-system, system-ui, sans-serif;
    --serif: 'Instrument Serif', 'Times New Roman', serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;

    /* Layout */
    --max: 1280px;
    --gutter: clamp(20px, 4vw, 56px);
    --ease: cubic-bezier(.2, .7, .2, 1);
  }

  /* ── DARK THEME (default) ── */
  :root,
  [data-theme="dark"] {
    --bg-rgb: 10, 10, 12;
    --bg-2-rgb: 17, 17, 20;
    --bg-3-rgb: 24, 24, 29;
    --bg-4-rgb: 31, 31, 37;

    --ink-rgb: 242, 239, 232;
    --line-rgb: 255, 255, 255;

    --bg: rgb(var(--bg-rgb));
    --bg-2: rgb(var(--bg-2-rgb));
    --bg-3: rgb(var(--bg-3-rgb));
    --bg-4: rgb(var(--bg-4-rgb));

    --ink: rgb(var(--ink-rgb));
    --ink-soft: rgba(var(--ink-rgb), 0.72);
    --mute: rgba(var(--ink-rgb), 0.48);
    --mute-2: rgba(var(--ink-rgb), 0.30);
    --mute-3: rgba(var(--ink-rgb), 0.18);

    --line: rgba(var(--line-rgb), 0.07);
    --line-strong: rgba(var(--line-rgb), 0.16);

    /* SVG ink layers (use across all illustrations) */
    --svg-ink-strong: rgba(var(--ink-rgb), 0.72);
    --svg-ink-mid: rgba(var(--ink-rgb), 0.42);
    --svg-ink-soft: rgba(var(--ink-rgb), 0.32);
    --svg-ink-faint: rgba(var(--ink-rgb), 0.18);
    --svg-fill-soft: rgba(var(--ink-rgb), 0.04);
    --svg-fill-very-soft: rgba(var(--ink-rgb), 0.025);

    /* Overlay surfaces (chat card, anna-live pill) */
    --overlay-bg: rgba(20, 20, 24, 0.94);
    --overlay-bg-soft: rgba(20, 20, 24, 0.85);

    /* Atmosphere grid color */
    --atmos-line: rgba(var(--line-rgb), 0.025);
    --atmos-mask-from: rgba(0, 0, 0, 0.7);

    /* Shadows */
    --shadow-strong: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
    --shadow-mid: 0 18px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 14px 30px -8px rgba(0, 0, 0, 0.4);
    --shadow-inset: inset 0 0 0 1px rgba(var(--line-rgb), 0.02);

    /* Form select arrow (theme-aware) */
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23f2efe8' stroke-opacity='0.5' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");

    /* Selection */
    color-scheme: dark;
  }

  /* ── LIGHT THEME (override) ── */
  [data-theme="light"] {
    --bg-rgb: 242, 238, 226;       /* warm cream paper */
    --bg-2-rgb: 250, 246, 235;     /* lighter cream for cards */
    --bg-3-rgb: 255, 254, 248;     /* near-white for elevated/hover */
    --bg-4-rgb: 255, 255, 255;     /* pure white edge cases */

    --ink-rgb: 14, 14, 12;         /* warm near-black */
    --line-rgb: 0, 0, 0;           /* black-based lines */

    --bg: rgb(var(--bg-rgb));
    --bg-2: rgb(var(--bg-2-rgb));
    --bg-3: rgb(var(--bg-3-rgb));
    --bg-4: rgb(var(--bg-4-rgb));

    --line: rgba(var(--line-rgb), 0.08);
    --line-strong: rgba(var(--line-rgb), 0.18);

    /* Overlay surfaces flip to light */
    --overlay-bg: rgba(255, 254, 248, 0.96);
    --overlay-bg-soft: rgba(255, 254, 248, 0.88);

    --atmos-line: rgba(var(--line-rgb), 0.04);
    --atmos-mask-from: rgba(0, 0, 0, 0.6);

    /* Softer shadows on light bg */
    --shadow-strong: 0 24px 60px -20px rgba(0, 0, 0, 0.15), 0 4px 12px -4px rgba(0, 0, 0, 0.05);
    --shadow-mid: 0 14px 36px -10px rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 10px 24px -8px rgba(0, 0, 0, 0.08);
    --shadow-inset: inset 0 0 0 1px rgba(var(--line-rgb), 0.04);

    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230e0e0c' stroke-opacity='0.5' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");

    color-scheme: light;
  }

  /* Theme switch transition */
  html.switching-theme,
  html.switching-theme *,
  html.switching-theme *::before,
  html.switching-theme *::after {
    transition: background-color .35s ease, border-color .35s ease, color .35s ease, fill .35s ease, stroke .35s ease, box-shadow .35s ease !important;
  }

  /* ──────────────────────────────────────────────
     BASE
  ────────────────────────────────────────────── */
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
  }
  ::selection { background: var(--terracotta); color: #F2EFE8; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
  input, select, textarea { font: inherit; }

  .atmos {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 1;
    background-image:
      linear-gradient(var(--atmos-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--atmos-line) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(ellipse at top, var(--atmos-mask-from) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at top, var(--atmos-mask-from) 0%, transparent 70%);
  }

  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }

  /* ──────────────────────────────────────────────
     HEADER
  ────────────────────────────────────────────── */
  header.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(var(--bg-rgb), 0.7);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background .3s var(--ease);
  }
  header.nav.scrolled {
    border-bottom-color: var(--line);
    background: rgba(var(--bg-rgb), 0.92);
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 104px; gap: 12px; }
  .brand {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 17px; font-weight: 500; letter-spacing: -0.005em;
  }
  .brand-mark {
    min-width: 80px; width: 80px; height: 80px; aspect-ratio: 1 / 1;
    position: relative; display: inline-block;
    flex: 0 0 auto;
  }
  .brand-mark .logo-variant {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
  }

  nav.main { display: flex; gap: 36px; margin-left: auto; }
  nav.main a {
    font-size: 14px; color: var(--ink-soft);
    position: relative; transition: color .2s var(--ease);
  }
  nav.main a:hover { color: var(--ink); }
  nav.main a::after {
    content: ''; position: absolute; left: 0; bottom: -6px;
    width: 0; height: 1px; background: var(--terracotta);
    transition: width .25s var(--ease);
  }
  nav.main a:hover::after { width: 100%; }

  /* Theme toggle button */
  .theme-toggle {
    width: 38px; height: 38px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink-soft);
    transition: all .25s var(--ease);
    flex-shrink: 0;
  }
  .theme-toggle:hover {
    color: var(--terracotta);
    border-color: var(--terracotta);
  }
  .theme-toggle svg { display: none; width: 14px; height: 14px; }
  [data-theme="dark"] .theme-toggle .icon-sun { display: block; }
  [data-theme="light"] .theme-toggle .icon-moon { display: block; }

  .nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; background: var(--ink); color: var(--bg);
    border-radius: 999px; font-size: 13px; font-weight: 500;
    transition: all .2s var(--ease);
  }
  .nav-cta:hover { background: var(--terracotta); color: #F2EFE8; }
  .menu-btn { display: none; color: var(--ink); }

  /* ──────────────────────────────────────────────
     HERO
  ────────────────────────────────────────────── */
  .hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
  .hero-grid {
    display: grid; grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 5vw, 80px); align-items: center;
    position: relative; z-index: 3;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--mute); margin-bottom: 32px; font-weight: 500;
  }
  .eyebrow .dash { width: 24px; height: 1px; background: var(--line-strong); display: inline-block; }

  h1.hero-h {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(46px, 7.2vw, 96px);
    line-height: 0.98; letter-spacing: -0.022em;
    margin: 0; color: var(--ink);
  }
  h1.hero-h .accent {
    font-style: italic; color: var(--terracotta);
    position: relative; white-space: nowrap;
  }
  h1.hero-h .accent::after {
    content: ''; position: absolute;
    left: 0; right: 0; bottom: 0.06em;
    height: 2px; background: var(--terracotta);
    transform: scaleX(0); transform-origin: left;
    animation: underline 1.1s var(--ease) 0.9s forwards;
  }
  @keyframes underline { to { transform: scaleX(1); } }

  .hero-sub {
    margin: 28px 0 0; font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.55; color: var(--ink-soft);
    max-width: 52ch; font-weight: 400;
  }
  .hero-sub strong { font-weight: 500; color: var(--ink); }

  .hero-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px; border-radius: 999px;
    font-size: 14px; font-weight: 500;
    transition: all .25s var(--ease); white-space: nowrap;
  }
  .btn-primary { background: var(--terracotta); color: #F2EFE8; }
  .btn-primary:hover {
    background: var(--terracotta-hi); transform: translateY(-1px);
    box-shadow: 0 14px 40px -12px rgba(192,81,39,.55);
  }
  .btn-secondary {
    color: var(--ink); border: 1px solid var(--line-strong);
    background: rgba(var(--ink-rgb), 0.02);
  }
  .btn-secondary:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
  .btn .arrow { width: 14px; height: 14px; transition: transform .25s var(--ease); }
  .btn:hover .arrow { transform: translateX(3px); }

  .hero-foot {
    margin-top: 40px; display: flex; align-items: center; gap: 12px;
    font-size: 12px; color: var(--mute); max-width: 60ch; letter-spacing: 0.02em;
  }
  .hero-foot .ticker {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--terracotta); animation: pulse 2.4s infinite; flex-shrink: 0;
  }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(192,81,39,.5); }
    70% { box-shadow: 0 0 0 8px rgba(192,81,39,0); }
    100% { box-shadow: 0 0 0 0 rgba(192,81,39,0); }
  }

  /* HERO VISUAL */
  .hero-visual { position: relative; aspect-ratio: 5 / 4.4; width: 100%; }
  .blueprint-bg {
    position: absolute; inset: -10% -8% -10% -8%;
    z-index: 0; opacity: 0.32; pointer-events: none;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  }
  .blueprint-bg svg { width: 100%; height: 100%; }
  .blueprint-bg .st { stroke: var(--svg-ink-soft); stroke-width: 0.8; fill: none; }
  .blueprint-bg .st-thin { stroke: var(--svg-ink-faint); stroke-width: 0.5; fill: none; }
  [data-theme="light"] .blueprint-bg { opacity: 0.45; }

  .app-window {
    position: absolute; inset: 4% 0 4% 6%;
    background: var(--bg-2); border: 1px solid var(--line-strong);
    border-radius: 14px; overflow: hidden;
    box-shadow: var(--shadow-strong), var(--shadow-inset);
    z-index: 1;
  }
  .app-titlebar {
    height: 34px; background: var(--bg-3); border-bottom: 1px solid var(--line);
    display: flex; align-items: center; padding: 0 14px; gap: 8px;
  }
  .traffic { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--ink-rgb), 0.18); }
  .traffic.t1 { background: rgba(var(--ink-rgb), 0.22); }
  .url {
    flex: 1; text-align: center;
    font-family: var(--mono); font-size: 11px;
    color: var(--mute); letter-spacing: -0.01em;
  }
  .url .term { color: var(--terracotta); }
  .url-lock {
    display: inline-block; width: 8px; height: 9px;
    border: 1px solid var(--mute); border-radius: 1px;
    position: relative; margin-right: 6px; transform: translateY(1px);
  }
  .url-lock::before {
    content: ''; position: absolute;
    top: -3px; left: 1px; width: 4px; height: 4px;
    border: 1px solid var(--mute);
    border-bottom: none; border-radius: 2px 2px 0 0;
  }

  .app-body {
    position: relative; height: calc(100% - 34px);
    background:
      radial-gradient(ellipse at 60% 40%, rgba(192,81,39,0.06), transparent 60%),
      var(--bg-2);
    overflow: hidden;
  }
  .floorplan { position: absolute; inset: 0; padding: 14px; }
  .floorplan svg { width: 100%; height: 100%; display: block; }

  /* Floor plan — fully theme-aware */
  .fp-shell { stroke: var(--svg-ink-mid); stroke-width: 1.4; fill: none; }
  .fp-wall { stroke: rgba(var(--ink-rgb), 0.34); stroke-width: 1.1; fill: none; }
  .fp-wall-thin { stroke: var(--svg-ink-faint); stroke-width: 0.7; fill: none; }
  .fp-furniture { stroke: rgba(var(--ink-rgb), 0.22); stroke-width: 0.6; fill: rgba(var(--ink-rgb), 0.03); }
  .fp-room-fill { fill: var(--svg-fill-very-soft); }
  .fp-active { stroke: var(--terracotta); stroke-width: 1.6; fill: rgba(192,81,39,0.10); }
  .fp-active-fill { fill: rgba(192,81,39,0.06); stroke: none; }
  .fp-label { fill: rgba(var(--ink-rgb), 0.4); font-family: var(--mono); font-size: 6.5px; letter-spacing: 0.04em; }
  .fp-label-active { fill: var(--terracotta); font-family: var(--mono); font-size: 7.5px; font-weight: 500; letter-spacing: 0.04em; }
  .fp-label-tiny { fill: var(--svg-ink-soft); font-family: var(--mono); font-size: 5.5px; letter-spacing: 0.04em; }
  .fp-dim { stroke: rgba(var(--ink-rgb), 0.22); stroke-width: 0.5; fill: none; }
  .fp-dim-active { stroke: var(--terracotta); stroke-width: 0.8; fill: none; }
  .fp-cone { fill: var(--terracotta); opacity: 0.18; }
  .fp-pulse-dot { fill: var(--terracotta); }
  .fp-pulse-ring {
    fill: none; stroke: var(--terracotta); stroke-width: 1;
    animation: pulse-ring 2.4s ease-out infinite;
  }
  @keyframes pulse-ring {
    0% { r: 3; opacity: 0.8; }
    100% { r: 14; opacity: 0; }
  }

  /* Anna chat */
  .chat-card {
    position: absolute; top: 11%; right: -8%;
    width: 64%; max-width: 320px;
    background: var(--overlay-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line-strong);
    border-radius: 12px; padding: 14px;
    z-index: 3;
    box-shadow: var(--shadow-mid);
    animation: float-in 1s var(--ease) 0.6s both;
  }
  @keyframes float-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .chat-head {
    display: flex; align-items: center; gap: 8px;
    padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px;
  }
  .chat-avatar {
    width: 24px; height: 24px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--terracotta-hi), var(--terracotta) 70%);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-style: italic;
    font-size: 13px; color: #F2EFE8;
    box-shadow: inset 0 -1px 2px rgba(0,0,0,0.2);
  }
  .chat-name { font-size: 12px; font-weight: 500; color: var(--ink); }
  .chat-role { font-size: 10px; color: var(--mute); }
  .chat-status {
    margin-left: auto; display: flex; align-items: center; gap: 5px;
    font-size: 10px; color: var(--mute);
  }
  .chat-status .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

  .msg {
    font-size: 12px; line-height: 1.5; margin-bottom: 7px;
    padding: 8px 11px; border-radius: 9px;
    max-width: 86%; position: relative;
  }
  .msg-them {
    background: rgba(var(--ink-rgb), 0.06); color: var(--ink);
    border-bottom-left-radius: 2px;
  }
  .msg-me {
    background: var(--terracotta); color: #F2EFE8;
    margin-left: auto; border-bottom-right-radius: 2px;
  }
  .msg-translate {
    font-size: 10px; color: var(--mute);
    padding: 2px 11px 6px;
    display: flex; align-items: center; gap: 5px;
  }
  .msg-translate::before {
    content: ''; width: 8px; height: 1px; background: var(--mute-2);
  }
  .msg .lang-tag {
    display: inline-block; font-family: var(--mono); font-size: 9px;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--mute); margin-right: 6px;
  }
  .msg-me .lang-tag { color: rgba(242,239,232,0.6); }
  .msg-time {
    display: block; font-family: var(--mono); font-size: 9px;
    color: var(--mute-2); margin-top: 3px; letter-spacing: 0.02em;
  }
  .msg-me .msg-time { color: rgba(242,239,232,0.55); }

  .typing {
    display: inline-flex; gap: 3px; padding: 8px 11px;
    background: rgba(var(--ink-rgb), 0.06); border-radius: 9px;
    border-bottom-left-radius: 2px;
  }
  .typing .d {
    width: 5px; height: 5px; border-radius: 50%; background: var(--mute);
    animation: typing 1.2s infinite ease-in-out;
  }
  .typing .d:nth-child(2) { animation-delay: 0.2s; }
  .typing .d:nth-child(3) { animation-delay: 0.4s; }
  @keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-2px); }
  }

  /* Reservation badge */
  .reservation {
    position: absolute; bottom: 6%; left: -6%;
    z-index: 3;
    background: var(--bg-3); border: 1px solid var(--line-strong);
    border-radius: 11px; padding: 12px 14px;
    display: flex; gap: 12px; align-items: center;
    box-shadow: var(--shadow-soft);
    animation: float-in 1s var(--ease) 0.9s both;
    min-width: 260px;
  }
  .res-thumb {
    width: 36px; height: 36px;
    background: var(--bg-4);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    position: relative; flex-shrink: 0;
    overflow: hidden;
  }
  .res-thumb svg { width: 100%; height: 100%; }
  .res-thumb-shell { stroke: var(--svg-ink-soft); stroke-width: 0.8; fill: none; }
  .res-body { flex: 1; line-height: 1.3; }
  .res-title-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
  .res-title { font-size: 12px; font-weight: 500; color: var(--ink); }
  .res-pill {
    font-family: var(--mono); font-size: 8.5px; font-weight: 500;
    padding: 1px 6px; border-radius: 999px;
    background: var(--green-soft); color: var(--green);
    letter-spacing: 0.06em; text-transform: uppercase;
  }
  [data-theme="light"] .res-pill { color: #15803d; }
  .res-meta {
    font-family: var(--mono); font-size: 9.5px;
    color: var(--mute); letter-spacing: -0.01em;
  }
  .res-meta .sep { color: var(--mute-2); margin: 0 4px; }

  /* Anna live pill */
  .anna-live {
    position: absolute; top: 0; right: var(--gutter);
    z-index: 4;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 13px 7px 11px;
    background: var(--overlay-bg-soft);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px; color: var(--ink-soft);
  }
  .anna-live .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green); animation: pulse-green 2.2s infinite;
  }
  @keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
    70% { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
  }
  .anna-live .sep { color: var(--mute-2); }
  .anna-live .time { font-family: var(--mono); color: var(--mute); font-size: 10px; }

  /* ──────────────────────────────────────────────
     PROOF BAR
  ────────────────────────────────────────────── */
  .proof {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 26px 0; position: relative; z-index: 2;
  }
  .proof-inner { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
  .proof-stat { font-size: 13px; color: var(--ink-soft); max-width: 30ch; line-height: 1.45; }
  .proof-stat .num { color: var(--ink); font-weight: 500; }
  .proof-logos {
    display: flex; flex-wrap: nowrap; align-items: center;
    gap: clamp(12px, 1.8vw, 24px); justify-content: flex-end;
    min-width: 0; overflow-x: auto;
    scrollbar-width: none;
  }
  .proof-logos::-webkit-scrollbar { display: none; }
  .proof-logos .logo {
    font-size: 11.5px; font-weight: 500;
    letter-spacing: 0.08em; color: var(--mute);
    transition: color .2s var(--ease); text-transform: uppercase;
    flex: 0 0 auto;
  }
  .proof-logos .logo:hover { color: var(--ink); }

  /* Image-based client logos: white variant on dark theme, black on light.
     Both variants are rendered to keep logo fidelity (no filter tricks);
     CSS toggles which is visible based on [data-theme]. Each logo sits in a
     fixed 120x120 box with object-fit: contain so dimensions are uniform.
     Single-line on desktop with horizontal scroll if overflow. */
  .proof-logos .logo-img {
    display: inline-flex; align-items: center; justify-content: center;
    width: 120px; height: 120px; max-width: 120px; max-height: 120px;
    line-height: 1; flex: 0 0 auto;
    opacity: 0.78; transition: opacity .2s var(--ease);
  }
  .proof-logos .logo-img:hover { opacity: 1; }
  .logo-variant {
    display: block; object-fit: contain;
  }
  .proof-logos .logo-img .logo-variant {
    width: 100%; height: 100%;
  }
  /* Default (dark theme): show white, hide black */
  .logo-variant-black { display: none; }
  [data-theme="light"] .logo-variant-white { display: none; }
  [data-theme="light"] .logo-variant-black { display: block; }

  /* ──────────────────────────────────────────────
     SECTION BASE
  ────────────────────────────────────────────── */
  section { padding: clamp(72px, 9vw, 116px) 0; position: relative; z-index: 2; }
  .section-header {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 80px); align-items: end;
    margin-bottom: clamp(48px, 6vw, 76px);
  }
  .section-eyebrow {
    font-size: 11px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--terracotta);
    margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
    font-weight: 500;
  }
  .section-eyebrow .num {
    font-family: var(--mono); font-size: 11px;
    color: var(--mute); letter-spacing: 0; text-transform: none;
  }
  h2.section-h {
    font-weight: 450; font-size: clamp(32px, 4.2vw, 52px);
    line-height: 1.05; letter-spacing: -0.022em;
    margin: 0; color: var(--ink); max-width: 18ch;
  }
  h2.section-h em {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    color: var(--terracotta); letter-spacing: -0.005em;
  }
  .section-intro {
    font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55;
    color: var(--ink-soft); max-width: 44ch;
  }

  /* ──────────────────────────────────────────────
     OUTCOMES
  ────────────────────────────────────────────── */
  .outcomes {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1px; background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px; overflow: hidden;
  }
  .outcome {
    background: var(--bg-2); padding: clamp(28px, 3vw, 40px);
    display: grid; grid-template-columns: 1fr 110px;
    gap: 24px; transition: background .35s var(--ease);
    min-height: 220px;
  }
  .outcome:hover { background: var(--bg-3); }
  .outcome-body { display: flex; flex-direction: column; gap: 12px; }
  .outcome-num { font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: 0.04em; }
  .outcome h3 {
    font-weight: 500; font-size: clamp(18px, 1.4vw, 21px);
    line-height: 1.25; letter-spacing: -0.01em;
    margin: 0; max-width: 22ch; color: var(--ink);
  }
  .outcome p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); max-width: 44ch; }
  .outcome-viz { width: 110px; height: 110px; align-self: start; margin-top: 4px; }
  .outcome-viz svg { width: 100%; height: 100%; display: block; }

  /* Outcome viz — all theme-aware */
  .ov-line { stroke: var(--svg-ink-strong); stroke-width: 1; fill: none; }
  .ov-line-thin { stroke: var(--line-strong); stroke-width: 0.8; fill: none; }
  .ov-line-accent { stroke: var(--terracotta); stroke-width: 1.4; fill: none; }
  .ov-fill-soft { fill: rgba(var(--ink-rgb), 0.06); stroke: var(--line-strong); stroke-width: 0.8; }
  .ov-fill-accent { fill: var(--terracotta-soft); stroke: var(--terracotta); stroke-width: 1; }
  .ov-fill-accent-bold { fill: var(--terracotta); stroke: none; }
  .ov-dot { fill: var(--terracotta); }
  .ov-dot-mute { fill: var(--mute); }
  .ov-text { fill: var(--mute); font-family: var(--mono); font-size: 7px; letter-spacing: 0.04em; }
  .ov-text-bold { fill: var(--ink); font-family: var(--mono); font-size: 7px; font-weight: 500; }
  .ov-text-accent { fill: var(--terracotta); font-family: var(--mono); font-size: 7px; font-weight: 500; }
  .ov-text-tiny { fill: var(--mute-2); font-family: var(--mono); font-size: 5.5px; }
  .ov-num-big { fill: var(--terracotta); font-family: 'Instrument Serif', serif; font-style: italic; font-size: 26px; }

  /* ──────────────────────────────────────────────
     HOW IT WORKS
  ────────────────────────────────────────────── */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 32px); }
  .step {
    border: 1px solid var(--line); border-radius: 12px;
    padding: clamp(24px, 2.5vw, 32px) clamp(24px, 2.5vw, 32px) clamp(28px, 3vw, 36px);
    background: var(--bg-2); transition: all .3s var(--ease);
    overflow: hidden;
  }
  .step:hover { border-color: rgba(192,81,39,0.25); background: var(--bg-3); }
  .step-num {
    font-family: var(--mono); font-size: 11px;
    color: var(--terracotta); letter-spacing: 0.08em;
    margin-bottom: 22px; display: flex; align-items: center; gap: 10px;
  }
  .step-num::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, var(--terracotta-soft), transparent);
  }
  .step-viz {
    height: 130px; margin-bottom: 22px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    position: relative; overflow: hidden;
  }
  .step-viz svg { width: 100%; height: 100%; display: block; }
  .step h3 {
    font-weight: 500; font-size: clamp(18px, 1.4vw, 21px);
    line-height: 1.2; margin: 0 0 10px;
    letter-spacing: -0.01em; color: var(--ink);
  }
  .step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); max-width: 36ch; }
  .step p .em { color: var(--ink); font-weight: 500; }

  /* ──────────────────────────────────────────────
     PILOT
  ────────────────────────────────────────────── */
  .pilot {
    background:
      radial-gradient(ellipse at 80% 0%, rgba(192,81,39,0.06), transparent 60%),
      var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .pilot-dash {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--line);
    border: 1px solid var(--line-strong);
    border-radius: 12px; overflow: hidden;
    margin-bottom: clamp(36px, 4vw, 56px);
  }
  .dash-cell {
    background: var(--bg-3); padding: 22px 24px;
    display: flex; flex-direction: column; gap: 8px;
    position: relative;
  }
  .dash-cell::after {
    content: ''; position: absolute; right: 14px; top: 14px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green); opacity: 0.6;
  }
  .dash-label { font-family: var(--mono); font-size: 10px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; }
  .dash-val {
    font-family: var(--serif); font-size: clamp(28px, 3vw, 38px);
    font-style: italic; line-height: 1; color: var(--ink);
    letter-spacing: -0.01em;
  }
  .dash-val .accent { color: var(--terracotta); }
  .dash-val .unit { font-size: 0.55em; opacity: 0.65; font-style: normal; }
  .dash-delta {
    font-family: var(--mono); font-size: 10px;
    color: var(--green); display: flex; align-items: center; gap: 5px;
  }
  [data-theme="light"] .dash-delta { color: #15803d; }
  .dash-spark { height: 14px; margin-top: 2px; }
  .dash-spark svg { width: 100%; height: 100%; display: block; }
  .dash-spark .spark-line { stroke: var(--terracotta); stroke-width: 1.2; fill: none; }
  .dash-spark .spark-fill { fill: rgba(192,81,39,0.12); }
  .dash-spark .spark-line-mute { stroke: var(--mute); stroke-width: 1; fill: none; }

  .pilot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); margin-top: clamp(40px, 5vw, 60px); }
  .pilot-block .label {
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--terracotta); margin-bottom: 24px;
    padding-bottom: 16px; border-bottom: 1px solid var(--line);
    font-weight: 500;
  }
  .pilot-list { list-style: none; padding: 0; margin: 0; }
  .pilot-list li {
    padding: 18px 0; border-bottom: 1px solid var(--line);
    display: grid; grid-template-columns: 28px 1fr;
    gap: 14px; align-items: start;
  }
  .pilot-list li:last-child { border-bottom: none; }
  .pilot-list .ix { font-family: var(--mono); color: var(--terracotta); font-size: 11px; line-height: 1.7; letter-spacing: 0.04em; font-weight: 500; }
  .pilot-list .body { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
  .pilot-list .body strong { color: var(--ink); font-weight: 500; }
  .pilot-list .coined { color: var(--terracotta); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; }
  .pilot-geo {
    margin-top: clamp(36px, 4vw, 56px); padding-top: 28px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 20px;
  }
  .pilot-geo .geo-label { font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
  .pilot-geo .geo-list { font-size: 17px; color: var(--ink); font-weight: 450; }

  /* ──────────────────────────────────────────────
     QUOTES
  ────────────────────────────────────────────── */
  .quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 28px); }
  .quote {
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 12px; padding: clamp(28px, 3vw, 36px);
    display: flex; flex-direction: column;
    transition: all .3s var(--ease);
  }
  .quote:hover { border-color: var(--line-strong); transform: translateY(-2px); }
  .quote.featured {
    background:
      radial-gradient(ellipse at top right, rgba(192,81,39,0.1), transparent 60%),
      var(--bg-3);
    border-color: rgba(192,81,39,0.3);
  }
  .quote-mark { font-family: var(--serif); font-size: 48px; line-height: 0.5; color: var(--terracotta); margin-bottom: 18px; }
  .quote p {
    font-family: var(--serif); font-size: clamp(19px, 1.5vw, 22px);
    line-height: 1.32; margin: 0 0 28px; flex: 1;
    color: var(--ink); letter-spacing: -0.005em;
  }
  .quote p em { font-style: italic; color: var(--terracotta); }
  .quote-meta {
    display: flex; flex-direction: column; gap: 3px;
    padding-top: 18px; border-top: 1px solid var(--line);
    font-size: 12px;
  }
  .quote-meta .who { font-weight: 500; color: var(--ink); }
  .quote-meta .role { color: var(--mute); }

  .footnote { font-size: 11px; color: var(--mute-2); margin-top: 28px; letter-spacing: 0.02em; line-height: 1.5; max-width: 70ch; }

  /* ──────────────────────────────────────────────
     FAQ
  ────────────────────────────────────────────── */
  .faq-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1px; background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .faq-item {
    background: var(--bg);
    padding: clamp(28px, 3vw, 36px) clamp(24px, 3vw, 40px);
    transition: background .3s var(--ease);
  }
  .faq-item:hover { background: var(--bg-2); }
  .faq-q { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
  .faq-num { font-family: var(--mono); font-size: 11px; color: var(--terracotta); letter-spacing: 0.06em; flex-shrink: 0; padding-top: 4px; font-weight: 500; }
  .faq-q h3 {
    margin: 0; font-weight: 500;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.35; letter-spacing: -0.01em;
    color: var(--ink); max-width: 32ch;
  }
  .faq-a {
    font-size: 14px; line-height: 1.6;
    color: var(--ink-soft); margin: 0;
    padding-left: 36px; max-width: 50ch;
  }
  .faq-a strong { color: var(--ink); font-weight: 500; }

  .integrations {
    margin-top: 48px; padding-top: 32px;
    border-top: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 24px;
  }
  .integrations-label { font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: 0.06em; text-transform: uppercase; }
  .integrations-logos { display: flex; flex-wrap: wrap; gap: clamp(20px, 2.5vw, 32px); align-items: center; }
  .integrations-logos .ilogo {
    font-size: 12px; font-weight: 500;
    color: var(--mute); letter-spacing: 0.04em;
    transition: color .2s var(--ease);
  }
  .integrations-logos .ilogo:hover { color: var(--ink); }

  /* ──────────────────────────────────────────────
     CONTACT
  ────────────────────────────────────────────── */
  .contact {
    padding: clamp(80px, 11vw, 130px) 0;
    background:
      radial-gradient(ellipse at top, rgba(192,81,39,0.05), transparent 70%),
      var(--bg);
    border-top: 1px solid var(--line);
  }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
  .contact-left h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02; letter-spacing: -0.022em;
    margin: 0 0 24px; color: var(--ink); max-width: 14ch;
  }
  .contact-left h2 em { font-style: italic; color: var(--terracotta); }
  .contact-left p { font-size: 16px; color: var(--ink-soft); line-height: 1.55; max-width: 40ch; margin: 0 0 36px; }
  .contact-detail { padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
  .contact-detail-row { display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--ink-soft); }
  .contact-detail-row .icon-box {
    width: 28px; height: 28px; flex-shrink: 0;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--terracotta);
  }

  /* Form */
  .form-card {
    background: var(--bg-2); border: 1px solid var(--line-strong);
    border-radius: 14px; padding: clamp(32px, 4vw, 44px);
    position: relative;
    box-shadow: var(--shadow-soft);
  }
  .form-card-label {
    font-family: var(--mono); font-size: 11px;
    color: var(--terracotta); letter-spacing: 0.12em;
    text-transform: uppercase; margin-bottom: 24px;
    font-weight: 500;
    display: flex; align-items: center; gap: 10px;
  }
  .form-card-label::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, var(--terracotta-soft), transparent);
  }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
  .form-field { display: flex; flex-direction: column; gap: 6px; position: relative; }
  .form-field.full { grid-column: 1 / -1; }
  .form-field label {
    font-family: var(--mono); font-size: 10px;
    color: var(--mute); letter-spacing: 0.08em; text-transform: uppercase;
    font-weight: 500;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    background: var(--bg); border: 1px solid var(--line);
    border-radius: 8px; padding: 12px 14px;
    color: var(--ink); font-size: 14px;
    font-family: var(--sans); transition: all .2s var(--ease);
    outline: none; width: 100%;
  }
  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
    border-color: var(--terracotta);
    background: var(--bg-3);
    box-shadow: 0 0 0 3px rgba(192,81,39,0.1);
  }
  .form-field input::placeholder,
  .form-field textarea::placeholder { color: var(--mute-2); }
  .form-field textarea { resize: vertical; min-height: 96px; font-family: var(--sans); }
  .form-field select {
    appearance: none;
    background-image: var(--select-arrow);
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
  }
  .form-submit { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .form-submit-note { font-size: 11px; color: var(--mute-2); line-height: 1.5; max-width: 28ch; }
  .form-submit .btn { padding: 14px 26px; }

  /* ──────────────────────────────────────────────
     FOOTER
  ────────────────────────────────────────────── */
  footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--bg-2); }
  .foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); margin-bottom: 40px; }
  .foot-brand .brand { font-size: 20px; margin-bottom: 16px; }
  .foot-brand p { font-size: 13px; color: var(--mute); line-height: 1.55; max-width: 36ch; margin: 0; }
  .foot-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin: 0 0 16px; font-weight: 500; }
  .foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .foot-col a { font-size: 13px; color: var(--ink-soft); transition: color .2s var(--ease); }
  .foot-col a:hover { color: var(--terracotta); }
  .foot-bottom {
    border-top: 1px solid var(--line); padding-top: 24px;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 16px;
    font-size: 11px; color: var(--mute); letter-spacing: 0.02em;
  }
  .foot-bottom .legal a { margin-left: 22px; }

  /* ──────────────────────────────────────────────
     SCROLL REVEAL
  ────────────────────────────────────────────── */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
  .reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
  .reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
  .reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
  .reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
  .reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }
  .reveal-stagger.in > * { opacity: 1; transform: translateY(0); }

  .hero .anim { opacity: 0; transform: translateY(14px); animation: enter 1s var(--ease) forwards; }
  .hero .anim.d0 { animation-delay: .05s; }
  .hero .anim.d1 { animation-delay: .2s; }
  .hero .anim.d2 { animation-delay: .35s; }
  .hero .anim.d3 { animation-delay: .55s; }
  .hero .anim.d4 { animation-delay: .75s; }
  @keyframes enter { to { opacity: 1; transform: translateY(0); } }

  /* ──────────────────────────────────────────────
     ICONOGRAPHY — NORDIC SIMPLIFIED
     Single accent color, generous space, restrained motion.
  ────────────────────────────────────────────── */

  /* Floor plan — minimal materials, no technical labels */
  .fp-divide { stroke: rgba(var(--ink-rgb), 0.14); stroke-width: 0.8; fill: none; }
  .fp-material-warm { fill: rgba(192, 81, 39, 0.05); stroke: none; }
  .fp-material-cool { fill: rgba(120, 140, 170, 0.08); stroke: none; }
  [data-theme="light"] .fp-material-warm { fill: rgba(192, 81, 39, 0.07); }
  [data-theme="light"] .fp-material-cool { fill: rgba(80, 110, 140, 0.08); }
  .fp-active-frame { stroke: var(--terracotta); stroke-width: 1.4; fill: none; }
  .fp-icon { stroke: var(--terracotta); stroke-width: 1; fill: rgba(192, 81, 39, 0.06); }
  .fp-icon-line { stroke: var(--terracotta); stroke-width: 1.2; fill: none; }
  .fp-balcony { stroke: var(--terracotta); stroke-width: 1.2; fill: rgba(192, 81, 39, 0.04); }
  .fp-unit-text { fill: var(--terracotta); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: -0.01em; }
  .fp-quiet-text { fill: rgba(var(--ink-rgb), 0.28); font-family: var(--sans); font-size: 9px; font-weight: 500; }
  .fp-water { stroke: rgba(var(--ink-rgb), 0.18); stroke-width: 0.9; fill: none; }

  /* Outcome viz — Nordic minimal */
  .ov-bar-mute-fill { fill: rgba(var(--ink-rgb), 0.16); }
  .ov-bar-accent-fill { fill: var(--terracotta); }
  .ov-label { fill: var(--mute); font-family: var(--mono); font-size: 8px; letter-spacing: 0.04em; }
  .ov-label-accent { fill: var(--terracotta); font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: 0.04em; }
  .ov-link-dash { stroke: var(--terracotta); stroke-width: 0.8; fill: none; stroke-dasharray: 2,2; }
  .ov-globe { stroke: rgba(var(--ink-rgb), 0.32); stroke-width: 1.2; fill: none; }
  .ov-globe-line-soft { stroke: rgba(var(--ink-rgb), 0.14); stroke-width: 0.7; fill: none; }
  .ov-funnel-line { stroke: rgba(var(--ink-rgb), 0.32); stroke-width: 1; fill: none; }
  .ov-funnel-line-accent { stroke: var(--terracotta); stroke-width: 1.4; fill: none; }
  .ov-dot-big-accent { fill: var(--terracotta); }
  .ov-curve { stroke: var(--terracotta); stroke-width: 1.8; fill: none; stroke-linecap: round; }
  .ov-block { fill: rgba(var(--ink-rgb), 0.10); stroke: rgba(var(--ink-rgb), 0.32); stroke-width: 1; }

  /* BIM viz with processing state */
  .bim-node-root { fill: rgba(var(--ink-rgb), 0.14); }
  .bim-node { fill: rgba(var(--ink-rgb), 0.07); }
  .bim-node-active-bg { fill: rgba(192, 81, 39, 0.12); }
  .bim-node-active-scan { fill: var(--terracotta); opacity: 0.9; }
  .bim-pipeline { stroke: var(--terracotta); stroke-width: 1; stroke-dasharray: 2,3; fill: none; opacity: 0.6; }
  .bim-particle { fill: var(--terracotta); }
  .bim-twin-shell { fill: rgba(192, 81, 39, 0.04); stroke: var(--terracotta); stroke-width: 1.4; }
  .bim-twin-floor { stroke: var(--terracotta); stroke-width: 0.6; opacity: 0.5; fill: none; }
  .bim-twin-active-floor { fill: rgba(192, 81, 39, 0.20); stroke: none; }

  /* Chat viz */
  .cv-avatar { fill: var(--terracotta); }
  .cv-name-text { fill: var(--ink); font-family: var(--sans); font-size: 9px; font-weight: 600; }
  .cv-live-dot { fill: #4ADE80; }
  .cv-live-text { fill: var(--mute); font-family: var(--mono); font-size: 7px; letter-spacing: 0.08em; text-transform: uppercase; }
  .cv-divider { stroke: rgba(var(--ink-rgb), 0.1); stroke-width: 0.8; fill: none; }
  .cv-msg-in { fill: rgba(var(--ink-rgb), 0.08); }
  .cv-translate { fill: rgba(var(--ink-rgb), 0.32); font-family: var(--mono); font-size: 6.5px; letter-spacing: 0.06em; }
  .cv-msg-out { fill: var(--terracotta); }
  .cv-dot { fill: var(--mute); }
  .cv-dots circle { animation: cv-typing 1.2s ease-in-out infinite; }
  .cv-dots circle:nth-child(2) { animation-delay: 0.2s; }
  .cv-dots circle:nth-child(3) { animation-delay: 0.4s; }
  @keyframes cv-typing {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
  }

  /* CRM viz — interactive rows with hover state */
  .crm-row { cursor: pointer; }
  .crm-row-bg { fill: transparent; transition: fill 0.22s ease; }
  .crm-row-mark { fill: var(--terracotta); opacity: 0; transition: opacity 0.22s ease; }
  .crm-row:hover .crm-row-bg { fill: rgba(192, 81, 39, 0.06); }
  .crm-row:hover .crm-row-mark { opacity: 1; }
  .crm-row-active .crm-row-bg { fill: rgba(192, 81, 39, 0.10); }
  .crm-row-active .crm-row-mark { opacity: 1; }
  .crm-unit-text { fill: var(--ink); font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: -0.01em; }
  .crm-buyer-text { fill: rgba(var(--ink-rgb), 0.72); font-family: var(--sans); font-size: 8.5px; }
  .crm-value-text-q { fill: var(--mute); font-family: var(--mono); font-size: 8px; letter-spacing: 0.02em; }
  .crm-row-active .crm-value-text-q { fill: var(--terracotta); font-weight: 600; }
  .crm-status-green { fill: #4ADE80; }
  .crm-status-amber { fill: #F59E0B; }
  .crm-status-grey { fill: rgba(var(--ink-rgb), 0.34); }
  .crm-bar { fill: rgba(var(--ink-rgb), 0.16); }
  .crm-bar-accent { fill: var(--terracotta); }

  /* Reservation badge thumb */
  .rt-cell { fill: none; stroke: rgba(var(--ink-rgb), 0.22); stroke-width: 0.9; }
  .rt-cell-active { fill: var(--terracotta); stroke: none; }

  /* ──────────────────────────────────────────────
     RESPONSIVE
  ────────────────────────────────────────────── */
  @media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { aspect-ratio: 5 / 4; max-width: 600px; margin: 0 auto; }
    .anna-live { top: 16px; }
    .proof-inner { grid-template-columns: 1fr; gap: 20px; }
    .proof-logos { justify-content: flex-start; flex-wrap: wrap; overflow-x: visible; }
    .section-header { grid-template-columns: 1fr; align-items: start; gap: 20px; }
    .pilot-grid { grid-template-columns: 1fr; gap: 40px; }
    .quotes { grid-template-columns: 1fr; }
    .pilot-dash { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  }
  @media (max-width: 760px) {
    nav.main, .nav-cta { display: none; }
    .menu-btn {
      display: inline-flex; align-items: center; justify-content: center;
      width: 38px; height: 38px; border: 1px solid var(--line-strong);
      border-radius: 999px;
    }
    .outcomes { grid-template-columns: 1fr; }
    .outcome { grid-template-columns: 1fr; }
    .outcome-viz { width: 90px; height: 90px; }
    .steps { grid-template-columns: 1fr; gap: 14px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; }
    .pilot-geo { flex-direction: column; align-items: flex-start; }
    .hero-ctas { width: 100%; }
    .hero-ctas .btn { flex: 1; justify-content: center; }
    .chat-card { right: 0; width: 80%; }
    .reservation { left: 0; min-width: 200px; }
    .form-row { grid-template-columns: 1fr; }
    .integrations { flex-direction: column; align-items: flex-start; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
    .hero .anim { opacity: 1; transform: none; }
  }
