@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("sans-serif");
  font-weight: 700;
  size-adjust: 102%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}
:root {
  --void: #101218;
  --chalk: #f1eee8;
  --heat: #e85a6a;
  --online: #2ec4a0;
  --slug: #c4b49a;
  --ink: #1c222c;
  --line: #2a313c;
  --display: "Bricolage Grotesque", "Bricolage Fallback", sans-serif;
  --body: "Figtree", "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 40px);
  --rail: min(1080px, calc(100% - 2 * var(--pad)));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--void);
  color: var(--chalk);
  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
body.dock-on { padding-bottom: 88px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--heat);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #111;
  padding: 8px 12px;
  z-index: 9;
}
.skip:focus { left: 12px; }

/* —— brandbar —— */
.brandbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px var(--pad);
  background: rgba(16, 18, 24, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.brandbar.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(16, 18, 24, 0.96);
}
.brandbar .word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}
.burger {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--chalk);
  border-radius: 999px;
  padding: 8px 14px;
  font: 600 13px/1 var(--body);
  cursor: pointer;
}
.nav {
  display: none;
  gap: 20px;
  font-size: 0.92rem;
}
.nav a {
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.nav a:hover { opacity: 1; color: var(--online); }
.nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 8px);
  right: var(--pad);
  left: var(--pad);
  padding: 14px 16px;
  background: rgba(28, 34, 44, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  gap: 14px;
}
/* hide header CTA on small — dock + hero cover it */
.brandbar .go { display: none; }
@media (min-width: 900px) {
  .burger { display: none; }
  .nav {
    display: flex;
    margin-left: auto;
    margin-right: 8px;
  }
  .brandbar .go {
    display: inline-flex;
    margin-left: 0;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 0.92rem;
  }
}

.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--heat);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.go:hover { filter: brightness(1.07); }
.go:active { transform: scale(0.97); }
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(196, 180, 154, 0.55);
  color: var(--chalk);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(16, 18, 24, 0.25);
  backdrop-filter: blur(6px);
}

/* —— stage —— */
.stage {
  position: relative;
  min-height: calc(100svh - 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 6vh, 72px) var(--pad) 24px;
  overflow: hidden;
}
body:has(.cookie:not([hidden])) .stage {
  min-height: calc(100svh - 56px - 48px);
}
@media (max-width: 720px) {
  .stage {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 20px;
  }
  .stage-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
    margin-bottom: 10px;
  }
  .promise {
    margin-bottom: 16px;
    font-size: 0.98rem;
  }
  .stage-actions {
    margin-bottom: 18px;
    gap: 8px;
  }
  .stage-actions .go,
  .stage-actions .ghost {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.95rem;
  }
  .type-rail { padding: 10px; }
  .slug {
    min-height: 48px;
    padding: 10px 8px 12px;
    font-size: 0.8rem;
  }
  .slug::after { margin-top: 5px; height: 6px; }
  .preview { margin-top: 10px; font-size: 0.9rem; }
}
.stage-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  transform: scale(1.02);
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 55% at 70% 18%, rgba(232,90,106,0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 70%, rgba(46,196,160,0.08), transparent 55%);
  pointer-events: none;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(16,18,24,0.25) 0%,
      rgba(16,18,24,0.35) 35%,
      rgba(16,18,24,0.78) 68%,
      rgba(16,18,24,0.96) 100%);
}
.stage-inner {
  position: relative;
  z-index: 2;
  width: var(--rail);
  margin: 0 auto;
}
.stage-copy h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2.25rem, 8.5vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-wrap: balance;
  max-width: 100%;
  overflow-wrap: normal;
  hyphens: none;
}
.promise {
  max-width: 32rem;
  margin: 0 0 22px;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.55;
  color: rgba(241,238,232,0.9);
}
.stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

/* —— typebalk rail —— */
.type-rail {
  margin-top: 4px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(16, 18, 24, 0.45);
  border: 1px solid rgba(196, 180, 154, 0.18);
  backdrop-filter: blur(10px);
}
.typebars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 720px) {
  .typebars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}
.slug {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 10px 14px;
  text-align: center;
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background:
    linear-gradient(180deg, #e2d4bc 0%, var(--slug) 48%, #a89478 100%);
  border: 1px solid #8f7d64;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 4px 0 #6f5d48,
    0 10px 20px rgba(0,0,0,0.28);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.slug span { position: relative; z-index: 1; }
.slug::after {
  content: "";
  display: block;
  width: 7px;
  height: 8px;
  margin: 7px auto 0;
  background: #5c4d3c;
  border-radius: 1px;
  opacity: 0.85;
}
.slug:hover { filter: brightness(1.05); }
.slug:active, .slug.on {
  transform: translateY(3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 1px 0 #6f5d48,
    0 4px 12px rgba(0,0,0,0.28);
}
.slug.on {
  color: #fff;
  background: linear-gradient(180deg, #f28a94 0%, var(--heat) 55%, #b83d4c 100%);
  border-color: #8f3340;
}
.slug.on::after { background: #6e2430; }
.preview {
  margin: 12px 2px 0;
  min-height: 1.35em;
  color: var(--online);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* —— sheets —— */
.sheet {
  width: var(--rail);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) 0;
}
.sheet + .sheet { padding-top: 0; }
.sheet h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.sheet h3 {
  margin: 28px 0 10px;
  font-family: var(--display);
  font-size: 1.15rem;
}
.sheet p { margin: 0 0 16px; color: rgba(241,238,232,0.9); }
.sheet ol, .sheet ul {
  margin: 0;
  padding-left: 1.2rem;
}
.sheet li { margin: 0 0 12px; max-width: 42rem; }
.sheet li::marker { color: var(--heat); }

.pair {
  display: grid;
  gap: 28px;
  align-items: start;
}
.pair img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
@media (min-width: 860px) {
  .pair {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
  }
}

table.modes {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.98rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(28, 34, 44, 0.4);
}
table.modes th, table.modes td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.modes tr:last-child th,
table.modes tr:last-child td { border-bottom: 0; }
table.modes th {
  color: var(--slug);
  font-weight: 600;
  width: 30%;
  background: rgba(16, 18, 24, 0.35);
}
table.modes td { color: rgba(241,238,232,0.9); }
@media (max-width: 560px) {
  table.modes, table.modes tbody, table.modes tr, table.modes th, table.modes td {
    display: block;
    width: 100%;
  }
  table.modes th {
    padding-bottom: 4px;
    border-bottom: 0;
  }
  table.modes td {
    padding-top: 0;
  }
  table.modes tr {
    border-bottom: 1px solid var(--line);
    padding: 4px 0;
  }
  table.modes tr:last-child { border-bottom: 0; }
}

details.faq {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2px 16px;
  margin: 0 0 10px;
  background: rgba(28,34,44,0.5);
}
details.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  float: right;
  color: var(--online);
  font-weight: 700;
}
details.faq[open] summary::after { content: "–"; }
details.faq p { padding-bottom: 14px; margin: 0; }

blockquote.house {
  margin: 0;
  padding: 22px 24px;
  border-left: 3px solid var(--heat);
  background: linear-gradient(90deg, rgba(232,90,106,0.12), rgba(232,90,106,0.02));
  border-radius: 0 16px 16px 0;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.5;
  color: var(--chalk);
}

/* —— dock: off until scroll —— */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(16,18,24,0.88) 40%);
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  visibility: hidden;
}
.dock.is-on {
  opacity: 1;
  transform: none;
  visibility: visible;
}
.dock .go {
  pointer-events: auto;
  width: min(100%, 360px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
@media (min-width: 900px) {
  body.dock-on { padding-bottom: 0; }
  .dock { display: none !important; }
}

/* —— cookie strip under brandbar —— */
.cookie {
  position: relative;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px var(--pad);
  background: #171b22;
  border-bottom: 1px solid var(--line);
}
.cookie[hidden] { display: none !important; }
.cookie p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(241,238,232,0.82);
}
.cookie button {
  flex: 0 0 auto;
  background: var(--online);
  color: #07241c;
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.foot {
  width: var(--rail);
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: rgba(241,238,232,0.68);
  font-size: 0.9rem;
}
body.dock-on .foot { padding-bottom: 100px; }
@media (min-width: 900px) {
  body.dock-on .foot { padding-bottom: 40px; }
}
.foot a {
  margin-right: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.foot a:hover { border-bottom-color: var(--slug); color: var(--chalk); }
.legal-hero {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
}
.presence {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 3px rgba(46,196,160,0.2);
  vertical-align: middle;
}
