/* Hot Room for 2 — hot4two.com
   Design system v5 (adopted from the Claude Design canvas, 2026-09-11):
   Steel ground, Mist type, Lake for secondary text, Cedar for structure, Ember for one accent per view.
   Hairlines instead of cards. Serif display, sans body, mono labels. */

:root {
  --steel: #0f1214;
  --steel-2: #12181a;
  --steel-3: #0c1012;
  --mist: #eceff0;
  --mist-70: rgba(236, 239, 240, 0.7);
  --mist-55: rgba(236, 239, 240, 0.55);
  --lake: #7f959b;
  --cedar: #b9773f;
  --cedar-light: #d9a978;
  --ember: #df4f26;
  --heat: #f0a052;
  --line: rgba(236, 239, 240, 0.09);
  --line-2: rgba(236, 239, 240, 0.14);
  --line-3: rgba(236, 239, 240, 0.22);

  /* legacy names used across pages, remapped to the dark system */
  --paper: var(--mist);
  --paper-2: var(--steel-2);
  --paper-3: var(--steel-3);
  --ink: var(--mist);
  --ink-2: var(--mist-70);
  --mute: var(--lake);
  --cedar-deep: var(--cedar-light);
  --white: var(--steel-3);
  --cool: var(--lake);
  --glass: #c9dde0;

  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-fold: cubic-bezier(0.32, 0.72, 0, 1);

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--steel); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body { margin: 0; background: var(--steel); color: var(--mist); font-family: var(--font-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
figure { margin: 0; }
img[width][height] { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ember); }
p a, li a, td a, figcaption a, .small a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
::selection { background: var(--ember); color: var(--mist); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; margin: 0 0 0.45em; color: var(--mist); text-wrap: balance; }
h1 { font-size: clamp(42px, 8.2vw, 104px); line-height: 0.98; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(16px, 1.8vw, 20px); line-height: 1.5; color: var(--mist); max-width: 46ch; }
.small { font-size: 14px; color: var(--lake); line-height: 1.55; }
.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); margin-bottom: 16px; }
.eyebrow.quiet { color: var(--lake); }
.eyebrow::before { content: none; }
.num { font-variant-numeric: tabular-nums; }
.tbd, .spec .tbd, .sys .tbd { display: inline-block; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember); border: 1px solid rgba(223,79,38,0.5); border-radius: 2px; padding: 2px 6px; margin-left: 6px; vertical-align: middle; font-style: normal; background: transparent; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(56px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
section:first-child, main > section:first-child { border-top: 0; }
.section-head { max-width: 44em; margin-bottom: clamp(28px, 4vw, 44px); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(15,18,20,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: none; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 7px; font-family: var(--font-display); font-weight: 400; font-size: 23px; letter-spacing: -0.01em; color: var(--mist); }
.brand svg { display: none; }
.brand .for { color: var(--ember); font-style: italic; font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--lake); }
.nav-links a:hover { color: var(--mist); }
.nav-links a.btn, .nav-links a.btn-primary { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 16px !important; border: 1px solid var(--ember); color: var(--ember); background: transparent; border-radius: 2px; }
.nav-links a.btn:hover, .nav-links a.btn-primary:hover { background: var(--ember); color: var(--steel); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-3); border-radius: 2px; padding: 8px 10px; font: inherit; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); cursor: pointer; }
@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; align-items: stretch; gap: 0; background: var(--steel); border-bottom: 1px solid var(--line); padding: 8px 0 14px; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px var(--gutter); }
  .nav-links li a.btn { margin: 10px var(--gutter) 0; text-align: center; }
  .nav-toggle { display: inline-block; }
}
.nav.over-hero, .nav.over-hero .brand, .nav.over-hero .nav-links a { background: inherit; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--mist); color: var(--steel); padding: 8px 12px; border-radius: 2px; }
.skip:focus { left: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 2px; border: 1px solid transparent; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; white-space: nowrap; }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; line-height: 1.4; } }
.btn-primary, .btn-ember { background: var(--ember); color: var(--steel); }
.btn-primary:hover, .btn-ember:hover { background: var(--mist); color: var(--steel); }
.btn-ghost { background: transparent; border-color: var(--line-3); color: var(--mist); }
.btn-ghost:hover { border-color: var(--mist); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.quiet-link { align-self: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--lake); padding: 13px 6px; }
.quiet-link:hover { color: var(--mist); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--steel); color: var(--mist); padding: 0; border-top: 0; min-height: min(88vh, 860px); display: grid; align-items: end; border-bottom: 1px solid var(--line); }
.hero .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,18,20,0.55) 0%, rgba(15,18,20,0.15) 35%, rgba(15,18,20,0.92) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(40px, 8vw, 96px); }
.hero .copy { max-width: 760px; }
.hero .eyebrow { color: var(--mist); text-shadow: 0 1px 8px rgba(15,18,20,0.95); }
.hero h1 { margin: 0; max-width: 12ch; }
.hero h1 em { font-style: italic; color: var(--mist); }
.hero .lede { max-width: 46ch; margin: 24px 0 0; color: var(--mist); font-size: clamp(16px, 1.8vw, 21px); }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 34px; }
.hero .credit { position: absolute; right: var(--gutter); top: 16px; z-index: 1; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist-55); }
.hero .par { will-change: transform; }
@media (max-width: 720px) { .hero .scene { object-position: 70% 50%; } .hero .credit { display: none; } .hero { min-height: 92vh; } }

/* ---------- facts strip ---------- */
.facts { padding: 0; border-top: 0; border-bottom: 1px solid var(--line); background: var(--steel); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; max-width: var(--max); }
.facts a { display: block; padding: clamp(26px, 3.4vw, 40px) clamp(16px, 2.6vw, 32px); border-right: 1px solid var(--line); color: var(--mist); transition: background-color 160ms ease; }
.facts a:last-child { border-right: 0; }
.facts a:hover { background: rgba(127,149,155,0.08); color: var(--mist); }
.facts b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1; margin-bottom: 10px; }
.facts span { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lake); line-height: 1.5; }
.facts span em { font-style: normal; color: var(--ember); }
@media (max-width: 860px) { .facts .wrap { grid-template-columns: repeat(2, 1fr); } .facts a:nth-child(2) { border-right: 0; } .facts a:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- the fold (sticky, scroll-driven) ---------- */
.fold { position: relative; min-height: 220vh; padding: 0; border-top: 0; }
.fold .sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.fold .seq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; width: 100%; }
@media (max-width: 960px) { .fold { min-height: 0; } .fold .sticky { position: static; min-height: 0; padding: clamp(56px, 9vw, 120px) 0; } .fold .seq { grid-template-columns: 1fr; } }
.fold .seq-copy h2 { margin-bottom: 16px; }
.fold .seq-copy > p { max-width: 44ch; margin-bottom: 20px; }
.states { display: grid; gap: 10px; max-width: 440px; }
.state { border-left: 2px solid rgba(127,149,155,0.4); padding: 8px 0 8px 16px; transition: opacity 300ms ease, border-color 300ms ease; opacity: 0.32; }
.state .k { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lake); margin-bottom: 6px; }
.state p { margin: 0; font-size: 15px; line-height: 1.5; }
.fold[data-mode="stand"] .state-a, .fold[data-mode="floor"] .state-b { opacity: 1; border-left-color: var(--ember); }
.scroll-hint { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lake); margin: 18px 0 0; animation: breathe 2.6s infinite; }
@keyframes breathe { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.85; } }
.fold-photo { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line-2); background: var(--steel-3); }
.fold-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 250ms linear; }
.fold-photo .photo-floor { opacity: 0; }
.fold[data-mode="floor"] .fold-photo .photo-floor { opacity: 1; }
.fold-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: linear-gradient(180deg, rgba(15,18,20,0), rgba(15,18,20,0.88)); pointer-events: none; }
.fold-photo .credit { position: absolute; right: 12px; bottom: 10px; margin: 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); z-index: 2; }
.fold-photo .inset { position: absolute; left: 12px; bottom: 10px; width: min(34%, 190px); z-index: 2; background: rgba(12,16,18,0.88); border: 1px solid rgba(236,239,240,0.28); }
.fold-photo .inset svg { width: 100%; height: auto; }
.fold-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lake); }
.fold-meta .seg { display: inline-flex; gap: 4px; }
.fold-meta .seg button { font: inherit; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lake); background: transparent; border: 1px solid var(--line-2); border-radius: 2px; padding: 5px 9px; cursor: pointer; }
.fold-meta .seg button[aria-pressed="true"] { color: var(--steel); background: var(--mist); border-color: var(--mist); }

/* room figure (SVG section) — used as the inset and on /room */
.room-fig { background: transparent; color: var(--mist); position: relative; }
.room-fig svg { width: 100%; height: auto; }
.room-fig .controls { display: none; }
.bench { transition: transform 900ms var(--ease-fold); }
.room-fig .bench-l { transform: rotate(calc(var(--fold, 90) * -1deg)); }
.room-fig .bench-r { transform: rotate(calc(var(--fold, 90) * 1deg)); }
.room-fig.scrolling .bench { transition: none; }
.fig-stand, .fig-floor, .lock, .fig-label { transition: opacity 420ms ease; }
.room-fig[data-mode="stand"] .fig-floor, .room-fig[data-mode="stand"] .lock, .room-fig[data-mode="stand"] .lbl-floor { opacity: 0; }
.room-fig[data-mode="floor"] .fig-stand, .room-fig[data-mode="floor"] .lbl-stand { opacity: 0; }
.room-fig[data-mode="floor"] .fig-floor { transition-delay: 500ms; }
.room-fig[data-mode="floor"] .lock { transition-delay: 800ms; }

/* ---------- renders ---------- */
.renders { background: var(--steel); }
.renders .lede { max-width: 60ch; }
.rgrid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; margin-top: 36px; }
.rgrid figure { position: relative; margin: 0; background: var(--steel-3); border: 1px solid var(--line-2); }
.rgrid figure:not(:first-child) { aspect-ratio: 14 / 9; }
.rgrid figure:first-child { grid-row: 1 / span 2; }
.rgrid figure > img, .rgrid figure > img[width][height] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rgrid figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); text-shadow: 0 1px 8px rgba(15,18,20,0.9); }
@media (max-width: 860px) { .rgrid { grid-template-columns: 1fr; } .rgrid figure:first-child { grid-row: auto; aspect-ratio: 14 / 9; } }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line-2); }
.numbers div { padding: 24px 18px 24px 0; border-right: 1px solid var(--line); }
.numbers div:last-child { border-right: 0; }
.numbers b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.2vw, 42px); line-height: 1; letter-spacing: -0.01em; }
.numbers span { display: block; margin-top: 9px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lake); line-height: 1.5; }
@media (max-width: 860px) { .numbers { grid-template-columns: repeat(2, 1fr); } .numbers div:nth-child(2) { border-right: 0; } }

/* ---------- two-column blocks, cards as hairline panels ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: minmax(0, 1fr); } }
.two > * { min-width: 0; }
.two h2, .two h3, .two p, .two li, .two a { overflow-wrap: anywhere; }
.heat .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .heat .wrap { grid-template-columns: 1fr; } }
.heat .note { font-size: 15px; color: var(--lake); max-width: 48ch; }
.sensors { display: grid; border: 1px solid var(--line-2); }
.sensors div { padding: 22px 24px; border-bottom: 1px solid var(--line-2); }
.sensors div:last-child { border-bottom: 0; }
.sensors div:nth-child(1) { background: rgba(223,79,38,0.06); }
.sensors div:nth-child(2) { background: rgba(185,119,63,0.07); }
.sensors .k { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; margin-bottom: 6px; color: var(--lake); }
.sensors div:nth-child(1) .k { color: var(--ember); }
.sensors div:nth-child(2) .k { color: var(--cedar); }
.sensors p { margin: 0; font-size: 15px; line-height: 1.5; }
.gradient-fig { display: none; }

/* display band (image + copy, edge to edge) */
.display { padding: 0; }
.display .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); padding: 0; max-width: var(--max); }
.display .pic { position: relative; min-height: 320px; }
.display .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.display .pic .credit { position: absolute; left: 14px; bottom: 12px; margin: 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); text-shadow: 0 1px 6px rgba(15,18,20,0.9); }
.display .copy { padding: clamp(40px, 6vw, 84px) var(--gutter); }
.display .copy p { max-width: 44ch; }

/* ---------- spec rows ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; vertical-align: baseline; padding: 16px 0; border-top: 1px solid var(--line-2); }
.spec th { width: 30%; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lake); padding-right: 20px; }
.spec td { color: var(--mist); line-height: 1.5; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line-2); }
.plan-fig, .sys-fig { position: sticky; top: 90px; background: var(--steel-3); border: 1px solid var(--line-2); padding: 18px; }
.plan-fig figcaption, .sys-fig figcaption { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lake); margin-top: 12px; line-height: 1.6; }
.plan-fig svg, .sys-fig svg { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .plan-fig, .sys-fig { position: static; } }

/* ---------- integrated system ---------- */
.system .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 1080px) { .system .wrap { grid-template-columns: 1fr; } }
.sys { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line-2); }
.sys li { border-bottom: 1px solid var(--line-2); }
.sys a { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 13px 0; color: inherit; transition: color 160ms ease; }
.sys a::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--ember); grid-row: 1 / span 2; padding-top: 4px; }
.sys b, .sys span { grid-column: 2; }
.sys b { display: block; font-weight: 600; font-size: 15px; color: var(--mist); }
.sys a:hover b { color: var(--ember); }
.sys span { display: block; font-size: 14.5px; color: var(--mist-70); line-height: 1.5; }

/* ---------- status / timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 28px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--lake); }
.timeline li::after { content: ""; position: absolute; left: 4px; top: 22px; bottom: 0; width: 1px; background: rgba(236,239,240,0.18); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--cedar); }
.timeline li.now::before { background: var(--ember); }
.timeline .when { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lake); margin-bottom: 5px; }
.timeline li.done .when { color: var(--cedar); }
.timeline li.now .when { color: var(--ember); }
.timeline h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin: 0 0 4px; letter-spacing: 0; line-height: 1.4; }
.timeline p { margin: 0; font-size: 15px; color: var(--mist-70); line-height: 1.5; }
.panel { border: 1px solid rgba(223,79,38,0.35); padding: clamp(22px, 3vw, 34px); background: rgba(223,79,38,0.04); }
.panel .k { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); margin-bottom: 20px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { font-size: 15px; line-height: 1.5; color: var(--mist-70); }
.checks li b { color: var(--mist); font-weight: 600; }

/* ---------- reserve ---------- */
.reserve { background: var(--steel-2); }
.reserve .box { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.reserve .price { font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 7vw, 104px); line-height: 0.92; letter-spacing: -0.03em; }
.reserve .price small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lake); margin-top: 14px; line-height: 1.7; }
.reserve .btn { margin-top: 22px; }
@media (max-width: 860px) { .reserve .box { grid-template-columns: 1fr; } .reserve .price { font-size: 64px; } }

/* ---------- waitlist ---------- */
.join .wrap { max-width: 720px; text-align: center; }
.join .lede { margin-left: auto; margin-right: auto; color: var(--lake); }
.join .small { margin-bottom: 36px; }
.form { text-align: left; display: grid; gap: 14px; }
.form label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lake); margin: 0 0 8px; }
.form input, .form select { width: 100%; font: inherit; font-size: 16px; padding: 15px 16px; border-radius: 2px; border: 1px solid var(--line-3); background: var(--steel-3); color: var(--mist); transition: border-color 140ms ease; }
.form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--lake) 50%), linear-gradient(135deg, var(--lake) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form select:focus { outline: none; border-color: var(--ember); }
.form .row { margin: 0; }
.form .hp { position: absolute; left: -9999px; }
.form .btn { width: 100%; margin-top: 8px; }
.form .fine { font-family: var(--font-mono); font-size: 11px; color: var(--lake); margin: 6px 0 0; text-align: center; }
.form .msg { margin: 6px 0 0; font-size: 14.5px; font-weight: 500; min-height: 1.4em; text-align: center; }
.form .msg.ok { color: var(--cedar-light); }
.form .msg.err { color: var(--ember); }

/* ---------- faq ---------- */
.faq .wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-2); padding: 20px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 18px; line-height: 1.4; color: var(--mist); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 24px; color: var(--ember); transition: transform 200ms var(--ease-out); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 14px 0 0; color: var(--lake); max-width: 62ch; font-size: 16px; line-height: 1.6; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- prose / other pages ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); border-top: 0; }
.page-head h1 { font-size: clamp(38px, 6vw, 76px); margin: 14px 0 16px; }
.prose { max-width: 42em; }
.prose p { font-size: 17px; line-height: 1.65; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--ember); font-family: var(--font-display); font-size: 22px; line-height: 1.35; color: var(--mist-70); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.versions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0; }
@media (max-width: 760px) { .versions { grid-template-columns: 1fr; } }
a.version { display: block; color: inherit; background: var(--steel-3); border: 1px solid var(--line-2); padding: 18px; transition: border-color 180ms ease; }
a.version:hover { border-color: var(--ember); color: inherit; }
a.version svg { width: 100%; height: auto; margin-bottom: 12px; }
a.version h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin: 0 0 4px; letter-spacing: 0; }
a.version h3::after { content: " →"; color: var(--ember); }
a.version p { margin: 0; font-size: 13.5px; color: var(--lake); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }
a.tile { display: block; color: inherit; background: var(--steel-3); border: 1px solid var(--line-2); padding: 22px; transition: border-color 180ms ease; }
a.tile:hover { border-color: var(--ember); color: inherit; }
a.tile .big { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
a.tile h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin: 12px 0 6px; letter-spacing: 0; }
a.tile h3::after { content: " →"; color: var(--ember); }
a.tile p { margin: 0; font-size: 14px; color: var(--lake); line-height: 1.5; }
.seq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .seq { grid-template-columns: 1fr; } }
.seq-fig { position: sticky; top: 86px; }
@media (max-width: 960px) { .seq-fig { position: static; } }
.beats { list-style: none; margin: 0; padding: 0; counter-reset: b; border-top: 1px solid var(--line-2); }
.beats li { position: relative; padding: 18px 0 18px 52px; border-bottom: 1px solid var(--line-2); font-size: 16px; color: var(--mist-70); line-height: 1.5; }
.beats li::before { counter-increment: b; content: counter(b, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ember); }
.beats b { color: var(--mist); font-weight: 600; }
a.step { display: block; color: inherit; position: relative; background: var(--steel-3); padding: 24px; border: 1px solid var(--line-2); transition: border-color 180ms ease; counter-increment: step; }
a.step:hover { border-color: var(--ember); color: inherit; }
a.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ember); }
a.step h3 { margin: 10px 0 8px; }
a.step h3::after { content: " →"; color: var(--ember); }
a.step p { margin: 0; color: var(--mist-70); font-size: 15px; }
.steps { display: grid; gap: 14px; counter-reset: step; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); background: var(--steel-3); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.data th, table.data td { padding: 11px 14px; text-align: left; border-top: 1px solid var(--line-2); white-space: nowrap; }
table.data thead th { border-top: 0; background: rgba(236,239,240,0.04); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lake); font-weight: 500; }
table.data td.ok { color: var(--cedar-light); font-weight: 600; }
table.data td.tight { color: var(--heat); font-weight: 600; }
table.data td.no { color: var(--ember); font-weight: 600; }
.callout { background: var(--steel-2); border-left: 2px solid var(--ember); padding: 16px 20px; margin: 24px 0; font-size: 15.5px; color: var(--mist-70); }
.callout strong { color: var(--mist); }
.photo { margin: 28px 0 0; }
.photo img { width: 100%; height: auto; display: block; border: 1px solid var(--line-2); }
.photo figcaption { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lake); margin-top: 10px; line-height: 1.6; }
.qs, .offer { color: var(--mist); }

/* ---------- footer ---------- */
footer { background: var(--steel-3); color: var(--lake); padding: clamp(40px, 6vw, 72px) 0 36px; font-size: 14px; border-top: 1px solid var(--line); }
footer .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer .grid { grid-template-columns: 1fr; } }
footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); margin: 0 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer li { margin: 0; }
footer a { color: var(--lake); }
footer a:hover { color: var(--ember); }
footer .brand { color: var(--mist); margin-bottom: 14px; }
footer p { max-width: 30ch; line-height: 1.6; }
footer .legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--lake); max-width: 80ch; }
footer .legal p { margin: 0 0 10px; max-width: none; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
