:root {
  --accent: #2E6B5C;
  --accent-dark: #1F4D42;
  --ink: #161918;
  --ink-2: #3E4441;
  --ink-3: #4B514E;
  --ground: #ECEDE8;
  --paper: #F7F7F4;
  --line: #C8CCC6;
  --line-soft: #D6D9D3;
  --mint: #9FD3C2;
  --serif: 'Bodoni Moda', Didot, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: max(24px, 4vw);
  --section-pad: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; max-width: 100%; height: auto; }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

h1, h2, h3 { text-wrap: balance; }

input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.stack { display: flex; flex-direction: column; }
.gap-48 { gap: 48px; }

/* Typography */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h2--sm { font-size: clamp(36px, 4.2vw, 56px); }
.lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 30em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); font-weight: 500; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--paper); color: var(--ink); }
.btn--dark {
  min-height: 44px;
  padding: 0 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
}
.btn--dark:hover { background: #2B302E; color: var(--paper); }

/* Section header: heading block + lede side by side */
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  align-items: flex-end;
  justify-content: space-between;
}
.section-head__main {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section-head .lede { flex: 1 1 320px; min-width: 0; }

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(236, 237, 232, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: 40px; }
.hero__row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  align-items: flex-end;
  justify-content: space-between;
}
.hero__title {
  margin: 0;
  flex: 999 1 620px;
  min-width: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 7.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__side {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 8px;
}
.hero__side .lede { font-size: 19px; line-height: 1.55; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-figure { margin: 0 auto; max-width: 1440px; position: relative; }
.hero-figure img { aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 45%; }
.hero-figure figcaption {
  position: absolute;
  left: var(--gutter);
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 10px 14px;
  background: rgba(22, 25, 24, 0.78);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
}
@media (max-width: 600px) {
  .hero-figure img { aspect-ratio: 4 / 3; }
  .hero-figure figcaption { bottom: 12px; right: var(--gutter); }
}

.proof { border-bottom: 1px solid var(--line); }
.proof .container {
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Problem cards */
.problem .section-head { margin-bottom: 56px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
}
.card p { margin: 0; font-size: 17px; line-height: 1.55; }
.card--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card--dark .label { color: var(--mint); }

/* Bands */
.band { background: var(--paper); border-block: 1px solid var(--line-soft); }
.band--dark { background: var(--ink); color: var(--paper); border: 0; }
.band--dark .eyebrow { color: var(--mint); }
.band--dark .lede { color: #C9CECB; }

/* Photo grids */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.photo-grid figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.photo-grid img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.photo-grid--square img { aspect-ratio: 1 / 1; }
.photo-grid--square figure { gap: 14px; }
.photo-grid--square figcaption { display: flex; flex-direction: column; gap: 6px; }
.photo-grid--square .label { color: var(--ink); }
.caption-body { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }

/* How it's built */
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.split__media { flex: 999 1 560px; min-width: 0; }
.split__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 62% 50%;
  border-radius: 6px;
  mix-blend-mode: multiply;
}
.split__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }

.layers { margin: 0; display: flex; flex-direction: column; }
.layers > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.layers > div:last-child { border-bottom: 1px solid var(--line); }
.layers dt {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.layers dd { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }

/* Indoors */
.indoor-photos { display: flex; flex-wrap: wrap; gap: 20px; }
.indoor-photos img { min-width: 0; object-fit: cover; border-radius: 4px; }
.indoor-photos img:first-child { flex: 999 1 560px; aspect-ratio: 16 / 10; }
.indoor-photos img:last-child { flex: 1 1 320px; aspect-ratio: 4 / 5; object-position: 40% 50%; }

/* Specs */
.specs-wrap { display: flex; flex-wrap: wrap; gap: 40px 72px; padding-block: clamp(72px, 9vw, 120px); }
.specs-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.specs-intro p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 28em; }
.specs-intro img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; margin-top: 8px; }
.spec-list { flex: 999 1 520px; min-width: 0; margin: 0; display: flex; flex-direction: column; font-size: 16.5px; }
.spec-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.spec-list > div:last-child { border-bottom: 1px solid var(--line); }
.spec-list dt {
  flex: 0 0 200px;
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.spec-list dd { margin: 0; flex: 1 1 240px; font-variant-numeric: tabular-nums; }

/* Trade */
.trade { background: var(--accent); color: #fff; }
.trade .eyebrow { color: #D8EEE6; }
.trade .lede { color: #E6F3EE; }
.trade-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
}
.trade-card h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; }
.trade-card p { margin: 0; font-size: 16px; line-height: 1.55; color: #E6F3EE; }

/* Waitlist */
.waitlist-row { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.waitlist-intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.waitlist-intro .lede { max-width: 28em; }
.waitlist-intro img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; margin-top: 8px; }
.form-panel {
  flex: 1 1 440px;
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}
.form { display: flex; flex-direction: column; gap: 20px; }
.form-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .roles legend { font-size: 14px; font-weight: 600; }
.field input {
  min-height: 48px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #B9BEB7;
  border-radius: 6px;
}
.field input:focus { border-color: var(--accent); }
.roles { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.roles legend { margin-bottom: 10px; padding: 0; }
.role-options { display: flex; flex-wrap: wrap; gap: 8px; }
.role {
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #B9BEB7;
  border-radius: 999px;
  cursor: pointer;
}
.role:hover { border-color: var(--ink); }
.role[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.form .btn { margin-top: 4px; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.fine-print { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.form-error { margin: 0; font-size: 14.5px; color: #8A2B1E; }

.thanks { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; }
.thanks p { margin: 0; font-family: var(--serif); font-size: 34px; line-height: 1.15; }
.thanks button {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 18px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
}
[hidden] { display: none !important; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-wrap { display: flex; flex-wrap: wrap; gap: 40px 72px; padding-block: clamp(72px, 9vw, 120px); }
.faq-intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.faq-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { font-size: 26px; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.faq-list details[open] .faq-plus { transform: rotate(45deg); }
.faq-list p { margin: 0 0 24px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 38em; }

/* Footer */
.site-footer { background: var(--ink); color: #C9CECB; }
.site-footer .container { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; }
.footer-mark {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.02em;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; }
.footer-nav a { color: #C9CECB; text-decoration: none; }
.footer-nav a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #343A37;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA19D;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
