@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Hanken+Grotesk:wght@300;400;500;600&display=swap");

:root {
  /* black like the emblem's ground, polished steel for everything metal */
  --midnight: #000000;
  --midnight-2: #111214;
  --paper: #f4f4f3;
  --white: #ffffff;
  --ink: #0e0f11;
  --steel: #5d6168;
  --silver: #b9bdc3;
  --silver-hi: #eceef0;
  --line: #dcdedf;
  --line-dark: #26282c;
  --danger: #a3262f;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #6d8dd6; outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(0, 0, 0, 0.94);
  color: var(--silver-hi);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 72px; gap: 16px;
}
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--silver); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.wordmark {
  font-family: var(--display); font-weight: 500; letter-spacing: 0.28em;
  font-size: 17px; text-decoration: none; text-align: center; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
}
.wordmark img { height: 22px; width: auto; }
.header-actions { display: flex; justify-content: flex-end; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  background: none; border: 1px solid var(--line-dark); color: var(--silver-hi);
  padding: 0 16px; border-radius: 999px; cursor: pointer; font-size: 15px;
}
.cart-btn:hover { border-color: var(--silver); }
.cart-count {
  min-width: 22px; height: 22px; border-radius: 11px; background: var(--silver);
  color: var(--midnight); font-size: 12px; font-weight: 600; display: inline-grid; place-items: center; padding: 0 6px;
}
.menu-btn { display: none; }

@media (max-width: 760px) {
  .site-header .wrap { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0; background: var(--midnight);
    border-bottom: 1px solid var(--line-dark); padding: 8px var(--gutter) 16px;
  }
  .nav.open a { padding: 12px 0; font-size: 17px; }
  .menu-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 0; color: var(--silver-hi); cursor: pointer;
  }
  .wordmark { font-size: 14px; letter-spacing: 0.2em; gap: 10px; }
  .wordmark img { height: 18px; }
  .cart-label { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 2px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-silver { background: var(--silver-hi); color: var(--midnight); }
.btn-silver:hover { background: var(--white); }
.btn-ghost-light { border-color: var(--line-dark); color: var(--silver-hi); background: transparent; }
.btn-ghost-light:hover { border-color: var(--silver); }
.btn-ink { background: var(--midnight); color: var(--silver-hi); }
.btn-ink:hover { background: var(--midnight-2); }
.btn-ink:disabled, .btn-silver:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }

/* ---------- hero: the emblem, polished once on arrival ---------- */
.hero {
  background: radial-gradient(ellipse 70% 60% at 50% 38%, #1b1c1f 0%, #000 70%);
  color: var(--silver-hi); overflow: hidden; text-align: center;
}
.hero .wrap {
  min-height: min(86vh, 820px); display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px);
}
.emblem { position: relative; width: min(520px, 78vw); aspect-ratio: 514 / 187; margin: 0 auto clamp(36px, 5vw, 56px); }
.emblem img { width: 100%; height: 100%; }
.emblem::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 46%, rgba(255,255,255,1) 50%, rgba(255,255,255,0.25) 54%, transparent 60%),
    linear-gradient(105deg, transparent 47%, rgba(255,255,255,0.55) 50%, transparent 53%);
  background-size: 300% 100%, 300% 100%; background-position: 140% 0, 160% 0; background-repeat: no-repeat;
  mix-blend-mode: screen;
  -webkit-mask: url("/img/sv-logo.svg") center / 100% 100% no-repeat; mask: url("/img/sv-logo.svg") center / 100% 100% no-repeat;
  animation: polish 7s cubic-bezier(.45,.05,.25,1) 0.4s infinite both;
}
/* one slow, deliberate pass of light, a lighter echo behind it, then the emblem rests */
@keyframes polish {
  0%   { background-position: 140% 0, 160% 0; }
  38%  { background-position: -40% 0, 140% 0; }
  55%  { background-position: -40% 0, -40% 0; }
  100% { background-position: -40% 0, -40% 0; }
}
.emblem img { filter: drop-shadow(0 10px 28px rgba(0,0,0,0.6)) drop-shadow(0 0 22px rgba(255,255,255,0.06)); }
@media (prefers-reduced-motion: reduce) { .emblem::after { display: none; } }
.hero-title {
  font-family: var(--display); font-weight: 500; margin: 0; color: var(--silver-hi);
  font-size: clamp(34px, 5.6vw, 72px); line-height: 1.08; letter-spacing: 0.06em;
}
.hero-lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--silver); max-width: 46ch; margin: 24px auto 40px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-note { margin: 36px 0 0; font-size: 14px; color: #8b8f96; letter-spacing: 0.04em; }

/* ---------- the invitation (membership) ---------- */
.invite { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.invite-figure { margin: 0; background: #e6e7e8; }
.invite-figure img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; }
.invite-figure figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--white); font-size: 15px; }
.invite-figure figcaption strong { font-family: var(--display); font-weight: 600; letter-spacing: 0.06em; }
.invite ol { list-style: none; counter-reset: rite; margin: 0 0 36px; padding: 0; border-top: 1px solid var(--line); }
.invite li { counter-increment: rite; display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.invite li::before { content: counter(rite, upper-roman); font-family: var(--display); font-size: 18px; color: var(--steel); padding-top: 2px; }
.invite li p { margin: 0; color: var(--steel); }
.invite li strong { display: block; color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .invite { grid-template-columns: 1fr; } .invite-figure { order: 2; } }

/* ---------- the code (house values) ---------- */
.code { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.code div { padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 36px); border-right: 1px solid var(--line-dark); text-align: center; }
.code div:last-child { border-right: 0; }
.code h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: 0.1em; margin: 0 0 12px; color: var(--silver-hi); }
.code p { margin: 0 auto; color: var(--silver); max-width: 30ch; font-size: 16px; }
@media (max-width: 760px) {
  .code { grid-template-columns: 1fr; }
  .code div { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .code div:last-child { border-bottom: 0; }
}
.oath { text-align: center; padding: clamp(72px, 10vw, 140px) 0; background: #000; color: var(--silver-hi); }
.oath img { width: 72px; margin: 0 auto 28px; opacity: 0.9; }
.oath p { font-family: var(--display); font-size: clamp(26px, 3.6vw, 46px); line-height: 1.3; letter-spacing: 0.04em; max-width: 24ch; margin: 0 auto 36px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-dark { background: var(--midnight); color: var(--silver-hi); }
.section-white { background: var(--white); }
.h2 {
  font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.12; margin: 0 0 18px; letter-spacing: 0.04em;
}
.h3 { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.3; margin: 0 0 10px; letter-spacing: 0.05em; }
.intro { max-width: 58ch; color: var(--steel); margin: 0 0 48px; font-size: 18px; }
.section-dark .intro { color: var(--silver); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 3vw, 40px); }
.card { display: flex; flex-direction: column; background: var(--white); position: relative; }
.card-media { position: relative; display: block; background: #e4e7eb; aspect-ratio: 1 / 1.08; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s; }
.card-media .hover { position: absolute; inset: 0; opacity: 0; }
.card-media:hover .hover { opacity: 1; }
.ribbon {
  position: absolute; top: 16px; left: 16px; background: var(--midnight); color: var(--silver-hi);
  font-size: 13px; padding: 6px 12px; letter-spacing: 0.02em;
}
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-family: var(--display); font-size: 22px; font-weight: 500; margin: 0; letter-spacing: 0.05em; }
.card-title a { text-decoration: none; }
.price { font-size: 17px; color: var(--ink); display: flex; gap: 10px; align-items: baseline; }
.price s { color: var(--steel); font-size: 15px; }
.card-meta { color: var(--steel); font-size: 15px; margin: 0 0 14px; }
.card-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.card-actions .btn { flex: 1 1 140px; }
.card-error { color: var(--danger); font-size: 14px; margin: 8px 0 0; min-height: 0; }
.skeleton { background: linear-gradient(90deg, #e7eaee, #f2f4f6, #e7eaee); background-size: 200% 100%; animation: sk 1.4s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { padding: 40px; background: var(--white); color: var(--steel); }

/* ---------- house ---------- */
.house { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.house-quote {
  font-family: var(--display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.4; letter-spacing: 0.04em;
  margin: 0; color: var(--silver-hi);
}
.privileges { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.privileges li { padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.privileges p { margin: 0; color: var(--silver); }
@media (max-width: 860px) { .house { grid-template-columns: 1fr; } }

/* ---------- atelier teaser ---------- */
.atelier-teaser { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.atelier-panel {
  background: var(--midnight); color: var(--silver-hi); padding: clamp(28px, 4vw, 48px);
  display: grid; gap: 18px;
}
.atelier-panel dl { margin: 0; display: grid; gap: 14px; }
.atelier-panel dt { font-family: var(--display); font-size: 18px; letter-spacing: 0.05em; }
.atelier-panel dd { margin: 2px 0 0; color: var(--silver); font-size: 15px; }
@media (max-width: 860px) { .atelier-teaser { grid-template-columns: 1fr; } }

/* ---------- facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 28px 24px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts strong { display: block; font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: 0.05em; }
.facts span { color: var(--steel); font-size: 15px; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts div:last-child { border-bottom: 0; }
}

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.gallery { display: grid; gap: 12px; }
.gallery-main { background: #e4e7eb; aspect-ratio: 1 / 1.05; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumbs button { width: 84px; height: 84px; padding: 0; border: 1px solid var(--line); background: #e4e7eb; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { position: sticky; top: 104px; align-self: start; display: grid; gap: 20px; }
.crumbs { font-size: 14px; color: var(--steel); }
.crumbs a { color: var(--steel); }
.pdp h1 { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 0; letter-spacing: 0.05em; }
.pdp .price { font-size: 22px; }
.option-label { font-size: 15px; margin: 0 0 10px; display: flex; justify-content: space-between; }
.option-label span { color: var(--steel); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.pill {
  min-width: 56px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); background: var(--white);
  cursor: pointer; font-size: 15px;
}
.pill[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pill:disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--white); }
.qty button { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.qty output { min-width: 40px; text-align: center; }
.buy-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 200px; }
.hint { font-size: 14px; color: var(--steel); margin: 0; }
.error { font-size: 14px; color: var(--danger); margin: 0; }
.desc { color: #333a47; max-width: 60ch; }
.desc p { margin: 0 0 14px; }
details.info { border-top: 1px solid var(--line); padding: 16px 0; }
details.info:last-of-type { border-bottom: 1px solid var(--line); }
details.info summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
details.info summary::after { content: "+"; font-size: 20px; line-height: 1; }
details.info[open] summary::after { content: "–"; }
details.info div { color: var(--steel); padding-top: 10px; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .buybox { position: static; }
}

/* ---------- atelier page ---------- */
.atelier-hero { background: var(--midnight); color: var(--silver-hi); }
.atelier-hero .wrap { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(48px, 7vw, 90px); }
.atelier-hero { text-align: center; }
.atelier-hero .emblem { width: min(220px, 50vw); margin-bottom: 32px; }
.atelier-hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(38px, 6.4vw, 84px); line-height: 1.05; margin: 0 auto 24px; letter-spacing: 0.06em; }
.atelier-hero p { color: var(--silver); max-width: 52ch; font-size: 19px; margin: 0 auto; font-weight: 300; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step, upper-roman); font-family: var(--display); font-size: 30px; line-height: 1; display: block; margin-bottom: 14px; }
.steps p { margin: 0; color: var(--steel); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.enquiry { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); }
@media (max-width: 860px) { .enquiry { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; background: var(--white); padding: clamp(24px, 4vw, 44px); }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 500; padding: 0; }
.field .req { color: var(--steel); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper);
  border-radius: 0; font-size: 16px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; background: var(--white); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field .msg { color: var(--danger); font-size: 14px; min-height: 0; margin: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; }
.check input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.check input:focus-visible + span { outline: 2px solid #6d8dd6; outline-offset: 2px; }
.thanks { background: var(--midnight); color: var(--silver-hi); padding: clamp(28px, 5vw, 56px); }
.thanks h2 { font-family: var(--display); font-weight: 500; font-size: 30px; margin: 0 0 12px; letter-spacing: 0.04em; }
.thanks p { color: var(--silver); margin: 0; }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 80; opacity: 0; transition: opacity 0.25s; }
.scrim.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 90; background: var(--paper);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s cubic-bezier(.2,.7,.2,1);
}
.drawer.show { transform: none; }
@media (prefers-reduced-motion: reduce) { .drawer, .scrim { transition: none; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--display); font-weight: 500; font-size: 22px; margin: 0; letter-spacing: 0.06em; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; background: none; border: 0; cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line img { width: 84px; height: 96px; object-fit: cover; background: #e4e7eb; }
.line h3 { font-family: var(--display); font-weight: 500; font-size: 17px; margin: 0; letter-spacing: 0.04em; }
.line .meta { font-size: 14px; color: var(--steel); margin: 2px 0 10px; }
.line-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.line .qty button { width: 40px; height: 40px; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--steel); text-decoration: underline; cursor: pointer; font-size: 14px; }
.line-status { color: var(--danger); font-size: 14px; margin: 6px 0 0; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--white); }
.totals { display: grid; gap: 6px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 18px; font-weight: 600; padding-top: 6px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); background: var(--paper); }
.coupon button { min-height: 44px; }
.drawer-empty { padding: 40px 0; color: var(--steel); }

/* ---------- footer ---------- */
.site-footer { background: var(--midnight); color: var(--silver); padding: 64px 0 40px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid .wordmark { justify-content: flex-start; color: var(--silver-hi); }
.footer-grid p { max-width: 36ch; margin: 14px 0 0; font-size: 15px; }
.footer-grid h2 { font-size: 15px; font-weight: 600; color: var(--silver-hi); margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.fine { margin-top: 48px; font-size: 13px; color: #8a92a2; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
/* ---------- aurex ---------- */
.section-dark .atelier-panel { background: var(--midnight-2); border: 1px solid var(--line-dark); }
.code a { display: inline-block; margin-top: 16px; color: var(--silver-hi); font-size: 15px; text-underline-offset: 4px; }
.code a:hover { color: var(--white); }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps.four { grid-template-columns: 1fr; } }
/* ---------- the houses (brand umbrella) ---------- */
.houses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.houses article { border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; }
.houses h3 { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: 0.1em; margin: 0; }
.houses .role { margin: 4px 0 0; color: var(--steel); font-size: 15px; }
.houses .desc { margin: 16px 0 28px; color: #333a47; }
.houses .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .houses { grid-template-columns: 1fr; } }
/* ---------- aurex threshold: one slow reveal, line by line ---------- */
.threshold {
  background: radial-gradient(ellipse 70% 55% at 50% 30%, #1b1c1f 0%, #000 72%);
  color: var(--silver-hi); text-align: center;
}
.threshold .wrap {
  min-height: min(90vh, 900px); display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px);
}
.threshold-house { margin: 0 0 28px; font-family: var(--display); font-size: 15px; letter-spacing: 0.2em; color: #8b8f96; }
.threshold h1 {
  font-family: var(--display); font-weight: 500; margin: 0 auto; max-width: 16ch;
  font-size: clamp(36px, 6vw, 78px); line-height: 1.1; letter-spacing: 0.04em;
}
.threshold-talk { max-width: 54ch; margin: clamp(32px, 5vw, 52px) auto clamp(40px, 5vw, 56px); }
.threshold-talk p { margin: 0 0 18px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.75; color: var(--silver); font-weight: 300; }
.threshold-talk .threshold-close { margin: 30px 0 0; font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); color: var(--silver-hi); letter-spacing: 0.06em; font-weight: 500; }
.threshold h1, .threshold-talk p, .threshold .hero-actions, .threshold .hero-note { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.threshold h1 { animation-delay: 0.15s; }
.threshold-talk p:nth-child(1) { animation-delay: 0.7s; }
.threshold-talk p:nth-child(2) { animation-delay: 1.2s; }
.threshold-talk p:nth-child(3) { animation-delay: 1.7s; }
.threshold-talk p:nth-child(4) { animation-delay: 2.3s; }
.threshold .hero-actions { animation-delay: 2.8s; }
.threshold .hero-note { animation-delay: 3s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .threshold h1, .threshold-talk p, .threshold .hero-actions, .threshold .hero-note { animation: none; } }
/* ---------- live edition counter ---------- */
.edition { margin: 44px auto 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.edition-label { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: #8b8f96; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #6b6f76; }
.edition.is-live .live-dot { background: #dfe3e8; animation: edition-pulse 2.6s ease-out infinite; }
@keyframes edition-pulse { 0% { box-shadow: 0 0 0 0 rgba(223, 227, 232, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(223, 227, 232, 0); } 100% { box-shadow: 0 0 0 0 rgba(223, 227, 232, 0); } }
.edition-count { margin: 0; font-family: "Cinzel", Georgia, serif; font-weight: 500; line-height: 1.1; color: #eef0f3; }
.edition-left { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: 0.04em; font-variant-numeric: lining-nums tabular-nums; background: linear-gradient(180deg, #ffffff 0%, #d9dde2 45%, #8f959d 55%, #e9ecef 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.edition-of { font-size: clamp(15px, 1.4vw, 18px); letter-spacing: 0.12em; color: #a9aeb5; }
.edition .hero-note { margin-top: 6px; }
.edition.closed .edition-of::after { content: " · Closed"; }
@media (prefers-reduced-motion: reduce) { .edition.is-live .live-dot { animation: none; } }

/* ---------- the initiation ---------- */
.rite-page { background: var(--midnight); color: var(--silver-hi); }
.rite-hero { padding: clamp(72px, 11vw, 150px) 0 clamp(40px, 6vw, 72px); text-align: center; background: radial-gradient(ellipse 70% 70% at 50% 30%, #1b1c1f 0%, #000 72%); }
.rite-mark { margin: 0 auto 28px; width: clamp(84px, 10vw, 120px); height: auto; opacity: 0.95; }
.rite-eyebrow { margin: 0 0 18px; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: #8b8f96; }
.rite-eyebrow span { color: var(--silver-hi); font-variant-numeric: tabular-nums; }
.rite-title { margin: 0 0 22px; font-family: var(--display); font-weight: 500; font-size: clamp(40px, 7vw, 84px); letter-spacing: 0.06em; line-height: 1.05; background: linear-gradient(180deg, #fff 0%, #d9dde2 45%, #8f959d 55%, #e9ecef 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rite-lede { margin: 0 auto; max-width: 40ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--silver); font-weight: 300; }

.rite { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line-dark); transition: opacity 0.6s ease, filter 0.6s ease; }
.rite.locked { opacity: 0.28; filter: grayscale(1); pointer-events: none; user-select: none; }
.rite-grid { display: grid; grid-template-columns: minmax(64px, 140px) minmax(0, 760px); gap: clamp(20px, 4vw, 56px); align-items: start; }
.rite-num { margin: 0; font-family: var(--display); font-size: clamp(44px, 7vw, 88px); line-height: 0.9; color: #3a3d42; letter-spacing: 0.04em; }
.rite:not(.locked) .rite-num { color: var(--silver); }
.rite-h { margin: 0 0 12px; font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: 0.05em; line-height: 1.15; }
.rite-sub { margin: 0 0 32px; max-width: 52ch; color: var(--silver); font-size: 18px; }

.code-list { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 18px; counter-reset: none; }
.code-list li { padding: 20px 24px; border: 1px solid var(--line-dark); background: var(--midnight-2); font-size: 18px; color: var(--silver-hi); }
.code-list strong { font-family: var(--display); font-weight: 500; letter-spacing: 0.08em; margin-right: 6px; }
.rite-check { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; font-family: var(--display); font-size: 20px; letter-spacing: 0.05em; }
.rite-check input { width: 22px; height: 22px; accent-color: #dfe3e8; cursor: pointer; }

.vow-mode { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 24px; }
.rite .pill { background: transparent; color: var(--silver-hi); border-color: var(--line-dark); }
.rite .pill[aria-checked="true"], .rite .pill[aria-pressed="true"] { background: var(--silver-hi); color: var(--midnight); border-color: var(--silver-hi); }
.rite .pill:disabled { opacity: 0.35; }
.vow-fields { display: grid; gap: 10px; margin: 0 0 14px; }
.vow-fields[hidden] { display: none; }
.rite-label { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: #8b8f96; margin-top: 8px; }
.vow-fields input, .vow-fields textarea { width: 100%; padding: 16px 18px; background: var(--midnight-2); border: 1px solid var(--line-dark); border-radius: 2px; color: var(--silver-hi); font-size: 18px; resize: vertical; }
.vow-fields input:focus, .vow-fields textarea:focus { border-color: var(--silver); outline: none; }
.rite-fine { margin: 0 0 22px; font-size: 14px; color: #8b8f96; }
.rite .error { color: #e2777e; min-height: 1em; margin: 0 0 14px; }

.vow-echo { margin: 0 0 32px; padding: 0 0 0 20px; border-left: 2px solid var(--silver); font-family: var(--display); font-size: clamp(19px, 2vw, 24px); letter-spacing: 0.03em; color: var(--silver-hi); }
.mark-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 12px; }
.mark-card { border: 1px solid var(--line-dark); background: var(--midnight-2); display: flex; flex-direction: column; }
.mark-card img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; background: #1a1b1e; }
.mark-body { padding: 20px; display: grid; gap: 14px; }
.mark-body h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: 0.06em; }
.mark-body .price { margin: 0; color: var(--silver); }
.mark-body .pills { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 640px) {
  .rite-grid { grid-template-columns: 1fr; gap: 8px; }
  .rite-num { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .rite { transition: none; } }
/* ---------- build your legacy ---------- */
.legacy-page input[type="text"], .legacy-page input[type="email"], .legacy-page input[type="tel"], .legacy-page input[type="number"], .legacy-page textarea { width: 100%; padding: 15px 18px; background: var(--midnight-2); border: 1px solid var(--line-dark); border-radius: 2px; color: var(--silver-hi); font-size: 18px; }
.legacy-page input:focus, .legacy-page textarea:focus { border-color: var(--silver); outline: none; }
.legacy-page textarea { resize: vertical; }
.seat-counter { margin: 44px auto 0; }
.seat-num { margin: 0; font-family: var(--display); line-height: 1; }
.seat-num span { font-size: clamp(72px, 12vw, 132px); font-variant-numeric: lining-nums tabular-nums; background: linear-gradient(180deg, #fff 0%, #d9dde2 45%, #8f959d 55%, #e9ecef 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seat-num small { font-size: clamp(20px, 2.4vw, 28px); color: #6b6f76; margin-left: 10px; letter-spacing: 0.06em; }
.seat-label { margin: 12px 0 0; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: #8b8f96; }

.inside-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 28px; }
.inside-grid > div { background: var(--midnight); padding: 28px 24px; }
.inside-grid h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: 0.06em; }
.inside-grid p { margin: 0; color: var(--silver); }
.inside-num { font-family: var(--display); color: #4a4e55 !important; font-size: 14px; letter-spacing: 0.2em; margin-bottom: 18px !important; }

.claim-wrap, .intake-wrap, .plan-wrap { max-width: 760px; }
.claim-form { display: grid; gap: 10px; }
.claim-form .rite-check { margin: 14px 0 4px; font-size: 18px; }
.claim-form .btn { justify-self: start; margin-top: 6px; }
.claim-form .rite-fine { margin-top: 14px; }
.legacy-page .error { color: #e2777e; min-height: 1em; margin: 6px 0; }

/* the initiation */
.legacy-rite { position: fixed; inset: 0; z-index: 90; background: #000; display: grid; place-items: center; padding: 24px; text-align: center; opacity: 0; transition: opacity 0.8s ease; color: var(--silver-hi); }
.legacy-rite.lr-on { opacity: 1; }
.lr-inner { max-width: 560px; }
.lr-mark { margin: 0 auto 32px; width: 150px; height: auto; transform: scale(0.92); opacity: 0; transition: transform 1.4s ease, opacity 1.2s ease; filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
.lr-on .lr-mark { transform: scale(1); opacity: 1; }
.lr-drop .lr-mark { filter: drop-shadow(0 0 24px rgba(236,238,240,0.35)); }
.lr-count { margin: 0 0 26px; font-family: var(--display); line-height: 1; }
.lr-count span { display: inline-block; font-size: clamp(80px, 16vw, 150px); background: linear-gradient(180deg, #fff 0%, #d9dde2 45%, #8f959d 55%, #e9ecef 100%); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform 0.5s ease, filter 0.5s ease; }
.lr-drop .lr-count span { animation: lr-tick 0.7s ease; }
@keyframes lr-tick { 0% { transform: translateY(0); filter: blur(0); } 40% { transform: translateY(18px); filter: blur(6px); opacity: 0.2; } 100% { transform: translateY(0); filter: blur(0); opacity: 1; } }
.lr-count small { font-size: 24px; color: #6b6f76; margin-left: 10px; }
.lr-line { opacity: 0; transform: translateY(10px); transition: opacity 0.7s ease, transform 0.7s ease; }
.lr-done .lr-line { opacity: 1; transform: none; }
.lr-done .lr-line:nth-child(4) { transition-delay: 0.25s; }
.lr-done .lr-line:nth-child(5) { transition-delay: 0.5s; }
#lr-title { margin: 0 0 12px; font-family: var(--display); font-weight: 500; font-size: clamp(28px, 4vw, 42px); letter-spacing: 0.05em; }
.lr-sub { margin: 0 0 32px; color: var(--silver); font-size: 18px; }

/* the intake */
.intake { border-top: 0; min-height: 70vh; }
.intake-progress { height: 2px; background: var(--line-dark); margin: 0 0 40px; }
.intake-progress span, .plan-progress span { display: block; height: 100%; background: var(--silver-hi); transition: width 0.5s ease; }
.intake-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 0 0 18px; }
.opt { position: relative; text-align: left; padding: 18px 20px; min-height: 64px; background: var(--midnight-2); border: 1px solid var(--line-dark); color: var(--silver-hi); border-radius: 2px; cursor: pointer; font-size: 17px; transition: border-color 0.2s, background 0.2s; }
.opt:hover { border-color: #4a4e55; }
.opt[aria-checked="true"] { background: var(--silver-hi); color: var(--midnight); border-color: var(--silver-hi); }
.opt em { display: block; margin-top: 6px; font-style: normal; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #8b8f96; }
.opt[aria-checked="true"] em { color: #4a4e55; }
.opt-fit { border-color: #4a4e55; }
.intake-text { margin-bottom: 12px; }
.intake-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* the plan */
.plan-hero { padding-bottom: 56px; }
.plan-idea { max-width: 640px; margin: 28px auto 32px; text-align: left; }
.plan-progress { max-width: 420px; height: 3px; margin: 0 auto 10px; background: var(--line-dark); }
.plan-notice { margin: 18px auto 0; max-width: 520px; padding: 14px 18px; border: 1px solid var(--silver); color: var(--silver-hi); }
.price-input { max-width: 180px; margin: 6px 0 28px; }
.num-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.num-grid > div { background: var(--midnight-2); padding: 22px 20px; }
.num-grid p { margin: 0; color: var(--silver); font-size: 15px; }
.num-grid .num-big { font-family: var(--display); font-size: clamp(30px, 4vw, 42px); color: var(--silver-hi); margin-bottom: 6px; font-variant-numeric: lining-nums tabular-nums; }
.plan-line { margin: 22px 0 0; color: var(--silver); font-size: 18px; }
.plan-line strong { color: var(--silver-hi); font-weight: 500; }
.budget { display: grid; gap: 14px; }
.budget-row { display: grid; grid-template-columns: minmax(130px, 200px) 1fr auto; gap: 16px; align-items: center; }
.budget-label { color: var(--silver-hi); }
.budget-bar { height: 8px; background: var(--midnight-2); border: 1px solid var(--line-dark); }
.budget-bar i { display: block; height: 100%; background: linear-gradient(90deg, #8f959d, #eceef0); }
.budget-amt { color: var(--silver); font-variant-numeric: tabular-nums; white-space: nowrap; }
.timeline { display: grid; gap: 12px; }
.tl-row { display: grid; grid-template-columns: 100px 1fr 110px; gap: 16px; align-items: center; }
.tl-name { font-family: var(--display); letter-spacing: 0.06em; }
.tl-track { position: relative; height: 14px; background: var(--midnight-2); border: 1px solid var(--line-dark); }
.tl-track i { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, #8f959d, #eceef0); }
.tl-weeks { color: var(--silver); font-size: 14px; text-align: right; }
.phase { margin: 0 0 40px; }
.phase-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 6px; font-family: var(--display); font-size: 24px; letter-spacing: 0.06em; }
.phase-num { color: #6b6f76; font-size: 18px; min-width: 28px; }
.phase-weeks { margin-left: auto; font-family: var(--body); font-size: 14px; color: #8b8f96; letter-spacing: 0; }
.phase-intro { margin: 0 0 16px; color: var(--silver); }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.task { padding: 18px 20px; background: var(--midnight-2); border: 1px solid var(--line-dark); transition: opacity 0.3s; }
.task label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.task input { width: 20px; height: 20px; margin-top: 3px; accent-color: #dfe3e8; flex: none; }
.task-t { font-size: 18px; color: var(--silver-hi); }
.task-d { margin: 6px 0 0 34px; color: var(--silver); font-size: 16px; }
.task-svc { display: inline-block; margin: 10px 0 0 34px; color: var(--silver-hi); font-size: 14px; letter-spacing: 0.02em; text-underline-offset: 3px; }
.task.done { opacity: 0.5; }
.task.done .task-t { text-decoration: line-through; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.svc { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--midnight-2); border: 1px solid var(--line-dark); scroll-margin-top: 90px; }
.svc h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: 0.05em; }
.svc-desc { margin: 0; color: var(--silver); flex: 1; }
.svc-price { margin: 0; color: var(--silver-hi); }
.svc-price s { color: #6b6f76; margin-right: 6px; }
.svc-price span { font-family: var(--display); font-size: 22px; }
.svc-main { grid-column: 1 / -1; border-color: var(--silver); background: linear-gradient(160deg, #1b1c1f 0%, #0b0b0c 70%); }
.svc-main .svc-price span { font-size: 34px; }
.svc-quote { font-size: 13px !important; letter-spacing: 0.18em; text-transform: uppercase; color: #8b8f96 !important; }
.svc-tag { margin: 0; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #8b8f96; }
.svc .task-svc { margin: 0; }
.req-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.82); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.req { width: 100%; max-width: 560px; background: var(--midnight); border: 1px solid var(--line-dark); padding: clamp(22px, 4vw, 36px); color: var(--silver-hi); }
.req form { display: grid; gap: 8px; }
.legacy-banner { text-align: center; }
.legacy-banner .seat-num span { font-size: clamp(56px, 9vw, 96px); }

@media (max-width: 640px) {
  .budget-row { grid-template-columns: 1fr auto; }
  .budget-bar { grid-column: 1 / -1; order: 3; }
  .tl-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .tl-track { grid-column: 1 / -1; order: 3; }
  .phase-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .legacy-rite, .lr-mark, .lr-line, .lr-count span, .task { transition: none; animation: none; }
}
/* ---------- build your legacy: free offers and pricing ---------- */
.team-sub { margin: 56px 0 10px; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 0.05em; color: var(--silver-hi); }
.free-grid { margin-bottom: 8px; }
.svc-free { border-color: #4a4e55; }
.svc-pack { border-color: #6b6f76; }
.gate { margin: 0; padding-left: 10px; border-left: 2px solid #4a4e55; font-size: 14px; color: var(--silver); }
.svc .btn:disabled { opacity: 0.35; cursor: not-allowed; }
.price-input { display: block; }

/* ---------- build your legacy: navigation, overview, calculator, scoreboard ---------- */
.legacy-page input[type="date"] { width: 100%; padding: 15px 18px; background: var(--midnight-2); border: 1px solid var(--line-dark); border-radius: 2px; color: var(--silver-hi); font-size: 18px; color-scheme: dark; }
.plan-nav { position: sticky; top: 64px; z-index: 30; background: rgba(0, 0, 0, 0.94); backdrop-filter: blur(8px); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.plan-nav-inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.plan-nav-inner::-webkit-scrollbar { display: none; }
.plan-nav a { flex: none; padding: 15px 14px 13px; color: #8b8f96; text-decoration: none; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.plan-nav a:hover { color: var(--silver-hi); }
.plan-nav a[aria-current] { color: var(--silver-hi); border-bottom-color: var(--silver-hi); }
.plan-sec, .task { scroll-margin-top: var(--plan-offset, 130px); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; background: var(--line-dark); border: 1px solid var(--line-dark); margin: 0 0 18px; }
.stat-grid > div { background: var(--midnight-2); padding: 20px; }
.stat-grid p { margin: 0; color: var(--silver); font-size: 15px; }
.stat-grid .stat-big { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); color: var(--silver-hi); margin-bottom: 6px; line-height: 1.15; font-variant-numeric: lining-nums tabular-nums; }
.stat-big small { font-size: 0.6em; color: #6b6f76; }
.stat-big.pace-ahead, .stat-big.pace-complete { color: #cfe6d4; }
.stat-big.pace-behind { color: #e9b3b7; }
.next-card { display: grid; gap: 12px; margin: 26px 0 0; padding: 24px; border: 1px solid var(--silver); background: linear-gradient(160deg, #1b1c1f 0%, #0b0b0c 70%); }
.next-card h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: 0.04em; }
.next-card .intake-nav { margin-top: 4px; }
.next-card .task-svc { margin: 0; }
.print-btn { margin-top: 22px; padding: 0; background: none; border: 0; color: var(--silver); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 15px; }
.calc-inputs, .score-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0 0 18px; }
.calc-inputs label, .score-form label { display: grid; gap: 6px; align-content: end; }
.score-form { align-items: end; margin-bottom: 26px; }
.calc-warn { margin: 0 0 16px; padding: 12px 16px; border-left: 2px solid #e9b3b7; color: #e9b3b7; }
.calc-warn:empty { display: none; }
.num-sub { margin-top: 6px !important; font-size: 13px !important; color: #8b8f96 !important; }
details.phase { margin: 0 0 18px; }
details.phase > summary { cursor: pointer; list-style: none; padding: 16px 0; border-bottom: 1px solid var(--line-dark); margin: 0 0 16px; }
details.phase > summary::-webkit-details-marker { display: none; }
details.phase > summary::after { content: "+"; margin-left: 14px; color: #8b8f96; font-family: var(--body); font-size: 22px; line-height: 1; }
details.phase[open] > summary::after { content: "−"; }
.score-chart { display: block; width: 100%; height: auto; margin: 26px 0; }
.score-chart .bar { fill: #4a4e55; }
.score-chart .bar-hit { fill: #eceef0; }
.score-chart .axis, .score-chart .goal-label { fill: #8b8f96; font-size: 13px; font-family: var(--body); }
.score-chart .goal-label { fill: #b9bdc3; }
.score-chart .goal-line { stroke: #b9bdc3; stroke-width: 1.5; stroke-dasharray: 5 5; }
.score-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.score-table th, .score-table td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line-dark); }
.score-table th { color: #8b8f96; font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.score-table td { color: var(--silver-hi); font-variant-numeric: tabular-nums; }
.score-table .link-btn { color: #8b8f96; }
@media print {
  .site-header, .plan-nav, .site-footer, .oath, .btn, .print-btn, .task-svc, #team, .score-form, .score-table button, .calc-warn:empty { display: none !important; }
  * { color: #000 !important; background: transparent !important; border-color: #bbb !important; box-shadow: none !important; -webkit-text-fill-color: #000 !important; }
  .rite, .rite-hero { padding: 14px 0 !important; }
  .task.done { opacity: 1; }
  .score-chart .bar, .score-chart .bar-hit { fill: #888 !important; }
  details.phase > summary::after { content: ""; }
}
/* ---------- build your legacy: tiers, step help, business tools ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0 0 8px; }
.tier { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--midnight-2); border: 1px solid var(--line-dark); scroll-margin-top: var(--plan-offset, 130px); }
.tier h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: 0.05em; }
.tier .svc-price span { font-size: 34px; }
.tier-main { border-color: var(--silver); background: linear-gradient(160deg, #1d1e21 0%, #0b0b0c 75%); }
.tier-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; color: var(--silver); }
.tier-points li { padding-left: 22px; position: relative; }
.tier-points li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 1px; background: var(--silver); }
.team-sub-sm { font-size: clamp(18px, 2vw, 22px); margin-top: 40px; }
.task-help { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0 34px; }
.task-help > span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #8b8f96; margin-right: 2px; }
.chip { padding: 8px 12px; border: 1px solid var(--line-dark); background: transparent; color: var(--silver-hi); border-radius: 999px; font-size: 14px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.chip:hover { border-color: var(--silver); }
.chip-free { border-color: #4a4e55; color: var(--silver); }
.task.done .task-help { display: none; }
.kit { padding: 24px 0 8px; border-top: 1px solid var(--line-dark); }
.kit:first-of-type { border-top: 0; padding-top: 0; }
.kit h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: 0.05em; }
.kit-intro { margin: 0 0 18px; color: var(--silver); }
.kit-out .num-big { font-size: clamp(24px, 3vw, 32px); }
.kit-note { font-size: 16px; }
@media print { .task-help, .tier-grid, .team-sub { display: none !important; } }
/* ---------- build your legacy: tailored services, menu, partner ---------- */
.tier .svc-desc { flex: 1; }
.menu-groups { display: grid; gap: 18px; margin: 0 0 28px; }
.menu-label { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #8b8f96; }
.menu-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.partner { display: grid; gap: 12px; margin: 34px 0 8px; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--silver); background: radial-gradient(ellipse 80% 90% at 20% 0%, #222327 0%, #0b0b0c 70%); }
.partner h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: 0.05em; }
.partner .svc-price span { font-size: 30px; }
.partner .btn { justify-self: start; }
@media print { .menu-groups, .partner { display: none !important; } }
/* legacy: needs finder + master catalogue */
.finder { margin: 40px 0 8px; padding: 24px; border: 1px solid var(--line-dark); border-radius: 14px; }
.finder .menu-label { margin-top: 18px; }
.opt-chip[aria-pressed="true"] { background: var(--silver-hi); color: var(--midnight); border-color: var(--silver-hi); }
.reco { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.reco-total { margin: 16px 0 4px; font-size: 18px; color: var(--silver-hi); font-weight: 600; }
.catalogue { margin-top: 16px; }
.cat-stage { margin-bottom: 10px; }
.cat-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.cat-row:first-of-type { border-top: 0; }
.catalogue .cat-row { padding-left: 12px; padding-right: 12px; }
.cat-rec { background: rgba(255,255,255,0.04); border-radius: 8px; }
.cat-name { margin: 0; color: var(--silver-hi); font-weight: 600; }
.cat-desc { margin: 4px 0 0; color: var(--silver); font-size: 14px; line-height: 1.5; }
.cat-stage-tag { margin: 0 0 2px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); }
.cat-side { text-align: right; display: grid; gap: 8px; justify-items: end; }
.cat-price { margin: 0; color: var(--silver-hi); font-size: 14px; white-space: nowrap; }
.cat-price s { color: var(--silver); opacity: 0.7; margin-right: 4px; }
.cat-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; border-radius: 999px; background: var(--silver-hi); color: var(--midnight); vertical-align: middle; }
.cat-other { margin-top: 12px; border: 1px dashed var(--line-dark); border-radius: 10px; }
@media (max-width: 560px) {
  .finder { padding: 18px 14px; }
  .cat-row { grid-template-columns: 1fr; gap: 10px; }
  .cat-side { text-align: left; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
  .cat-price { white-space: normal; }
  .cat-stage .phase-weeks { display: none; }
}
/* legacy: the six-chapter journey and the founding offer */
.chapter-tag { display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: #8b8f96; }
.chapter-tag span { font-family: var(--display); letter-spacing: 0.16em; color: var(--silver-hi); }
.chapter-tag::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); align-self: center; }
.plan-sub { padding-top: 0; border-top: 0; }
.chapter-next { padding: 8px 0 clamp(64px, 9vw, 112px); text-align: center; }
.chapter-next .plan-wrap { display: grid; justify-items: center; gap: 14px; margin: 0 auto; }
.chapter-tease { margin: 0; max-width: 34ch; font-family: var(--display); font-size: clamp(19px, 2.2vw, 24px); letter-spacing: 0.04em; color: var(--silver-hi); }
.chapter-btn { min-width: min(100%, 320px); }
.chapter-next .rite-fine { margin: 0; }
.stage-badge { display: inline-block; margin: 0 0 22px; padding: 7px 14px; border: 1px solid var(--silver); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-hi); }
.plan-hero .stage-badge { margin: 4px 0 26px; }
.verdict-lede { font-size: clamp(19px, 2vw, 22px); color: var(--silver-hi); max-width: 46ch; }
.truths { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.truths > div { padding: 22px; background: var(--midnight); }
.truths p { margin: 0; color: var(--silver); line-height: 1.55; }
.truths .truth-k { margin: 0 0 10px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver-hi); }
.moves { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.moves li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px; border: 1px solid var(--line-dark); background: var(--midnight-2); }
.move-n { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--silver); }
.moves h4 { margin: 0 0 6px; font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: 0.04em; color: var(--silver-hi); }
.moves p { margin: 0; color: var(--silver); line-height: 1.55; }
.tl-row { grid-template-columns: 120px 1fr 110px; }
.tl-row .tl-track { order: 2; }
.tl-row .tl-weeks { order: 3; }
.phase-when { color: #8b8f96; }
.offer-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--silver); background: radial-gradient(ellipse 80% 90% at 20% 0%, #222327 0%, #0b0b0c 70%); }
.offer-card h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: 0.05em; }
.offer-for { margin: -6px 0 4px; color: var(--silver); }
.offer-rows { display: grid; grid-template-columns: minmax(0, 1fr); }
.offer-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.offer-price { margin: 0; display: grid; justify-items: end; align-content: start; gap: 2px; white-space: nowrap; }
.offer-price s, .pick-price s, .offer-total s { color: #6f737a; }
.offer-price b { font-size: 20px; font-weight: 600; color: var(--silver-hi); }
.offer-price small { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #8b8f96; }
.offer-totals { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--silver); }
.offer-total { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.offer-total b { font-family: var(--display); font-size: clamp(30px, 4vw, 40px); font-weight: 500; color: var(--silver-hi); }
.offer-total span { color: var(--silver); }
.offer-card .intake-nav { margin-top: 6px; }
.offer-card .rite-fine, .offer-solo { margin: 0; }
.offer-solo { margin-top: 18px; color: var(--silver); }
.offer-solo .link-btn { color: var(--silver-hi); font-size: inherit; padding: 0; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pick { display: grid; gap: 6px; padding: 16px 18px; text-align: left; background: var(--midnight-2); border: 1px solid var(--line-dark); color: var(--silver-hi); font: inherit; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.pick:hover { border-color: var(--silver); }
.pick[aria-pressed="true"] { background: var(--silver-hi); color: var(--midnight); border-color: var(--silver-hi); }
.pick[aria-pressed="true"] .pick-price, .pick[aria-pressed="true"] s { color: #3a3d42; }
.pick-name { font-weight: 600; }
.pick-price { font-size: 14px; color: var(--silver); }
.pick-bar { display: grid; gap: 14px; justify-items: start; margin-top: 18px; }
.pick-bar .offer-totals { width: 100%; }
#plan-error:empty { display: none; }
@media (max-width: 640px) {
  .tl-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .tl-row .tl-track { grid-column: 1 / -1; order: 3; }
  .tl-row .tl-weeks { grid-column: auto; order: 2; text-align: right; }
  .moves li { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
  .move-n { font-size: 24px; }
  .offer-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; white-space: normal; }
  .pick-grid { grid-template-columns: 1fr; }
  .chapter-tag { gap: 10px; letter-spacing: 0.2em; }
}
.offer-card, .offer-card > *, .offer-row > div { min-width: 0; }
.offer-card .intake-nav { flex-wrap: wrap; }
.offer-card .btn { white-space: normal; }
@media (max-width: 640px) { .offer-card .intake-nav .btn { flex: 1 1 100%; } }
@media print { .chapter-next, .offer-card, .pick-grid, .pick-bar { display: none !important; } }
/* legacy: three steps, target, ranks, toasts, date fix */
.target { margin: 30px 0 8px; padding: 22px; border: 1px solid var(--silver); background: radial-gradient(ellipse 80% 90% at 20% 0%, #222327 0%, #0b0b0c 70%); }
.target-k { margin: 0 0 14px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver); }
.target-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.target-row div { display: grid; gap: 4px; }
.target-row b { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 7vw, 56px); line-height: 1; color: var(--silver-hi); }
.target-row span { font-size: 13px; color: var(--silver); }
#strategy .truths { margin-top: 26px; }
.fold { margin-top: 26px; border: 1px solid var(--line-dark); }
.fold > summary { list-style: none; cursor: pointer; padding: 18px 22px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-hi); display: flex; justify-content: space-between; align-items: center; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; font-size: 22px; letter-spacing: 0; transition: transform 0.2s; }
.fold[open] > summary::after { transform: rotate(45deg); }
.fold > *:not(summary) { margin-left: 22px; margin-right: 22px; }
.fold > *:last-child { margin-bottom: 22px; }
.step-dots { display: flex; gap: 8px; }
.step-dots i { width: 28px; height: 3px; background: var(--line-dark); }
.step-dots i.on { background: var(--silver-hi); }
.chapter-btn span { display: inline-block; transition: transform 0.2s; }
.chapter-btn:hover span { transform: translateX(4px); }
.rank { display: grid; gap: 10px; max-width: 420px; margin: 0 auto; }
.rank-name { margin: 0; display: flex; align-items: baseline; justify-content: center; gap: 12px; font-family: var(--display); font-size: clamp(26px, 4vw, 34px); letter-spacing: 0.08em; color: var(--silver-hi); }
.rank-name span { font-family: inherit; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--silver); }
.rank .rite-fine { margin: 0; }
.task.just-done { animation: sv-done 0.7s ease-out; }
@keyframes sv-done { 0% { background: rgba(232, 234, 237, 0.18); } 100% { background: transparent; } }
.sv-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90; transform: translate(-50%, 20px); opacity: 0; padding: 14px 22px; background: var(--silver-hi); color: var(--midnight); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); transition: opacity 0.3s, transform 0.3s; pointer-events: none; white-space: nowrap; }
.sv-toast.on { opacity: 1; transform: translate(-50%, 0); }
.sv-toast-big { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: 0.1em; text-transform: uppercase; padding: 18px 28px; }
@media (prefers-reduced-motion: reduce) { .task.just-done { animation: none; } .sv-toast { transition: none; } }
/* scoreboard date box: iOS gives date inputs a fixed width and centred text */
.score-form label { min-width: 0; }
.score-form input { min-width: 0; width: 100%; box-sizing: border-box; height: 58px; }
.score-form input[type="date"] { -webkit-appearance: none; appearance: none; display: block; text-align: left; line-height: normal; }
.score-form input[type="date"]::-webkit-date-and-time-value { text-align: left; }
@media (max-width: 640px) {
  .score-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .score-form label:first-child { grid-column: 1 / -1; }
  .score-form .btn { grid-column: 1 / -1; }
  .target { padding: 18px; }
  .fold > summary { padding: 16px 18px; }
  .fold > *:not(summary) { margin-left: 18px; margin-right: 18px; }
}
@media print { .sv-toast, .step-dots { display: none !important; } .fold > *:not(summary) { display: block; } }
/* legacy: business finder, quiz, pro tools, investing */
.plan-biz { margin: -6px 0 18px; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--silver); }
.biz-q { width: 100%; box-sizing: border-box; margin: 6px 0 0; padding: 18px 20px; font: inherit; font-size: 18px; color: var(--silver-hi); background: var(--midnight-2); border: 1px solid var(--silver); border-radius: 2px; }
.biz-q:focus { outline: 2px solid var(--silver-hi); outline-offset: 2px; }
.biz-results { display: grid; gap: 1px; margin: 8px 0 0; background: var(--line-dark); }
.biz-results:empty { display: none; }
.biz-hit { display: grid; gap: 2px; padding: 14px 18px; text-align: left; font: inherit; color: var(--silver-hi); background: var(--midnight-2); border: 0; cursor: pointer; }
.biz-hit:hover, .biz-hit:focus-visible { background: #1d1e22; }
.biz-hit span { font-weight: 600; }
.biz-hit small { font-size: 13px; color: var(--silver); }
.biz-own span { color: var(--silver-hi); }
.biz-picked { margin: 16px 0 0; color: var(--silver); }
.biz-picked b { color: var(--silver-hi); }
.biz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-chips .chip[aria-pressed="true"] { background: var(--silver-hi); color: var(--midnight); border-color: var(--silver-hi); }
.intake-wrap .menu-label { margin: 26px 0 10px; }
.biz-unsure { display: inline-flex; gap: 8px; margin: 22px 0 0; padding: 0; font: inherit; font-size: 15px; color: var(--silver-hi); background: none; border: 0; border-bottom: 1px solid var(--silver); cursor: pointer; }
.quiz-results { display: grid; gap: 14px; margin: 8px 0 24px; }
.quiz-card { padding: 22px; border: 1px solid var(--line-dark); background: var(--midnight-2); }
.quiz-card:first-child { border-color: var(--silver); }
.quiz-card h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: 0.04em; }
.quiz-card .svc-desc { margin: 0 0 14px; }
.invest-note { margin: 18px 0; padding: 14px 16px; border-left: 2px solid var(--silver); background: rgba(255, 255, 255, 0.03); font-size: 13px; line-height: 1.6; color: var(--silver); }
.target-fine { margin: 14px 0 0; }
.pro-tool { margin-top: 30px; }
.pro-h4 { margin: 26px 0 10px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver); font-weight: 500; }
.tv { width: 100%; min-height: 46px; margin: 0 0 14px; border: 1px solid var(--line-dark); background: var(--midnight-2); overflow: hidden; }
.tv-chart { height: 460px; }
.tv-news { height: 480px; }
.seg { display: inline-flex; margin: 0 0 16px; border: 1px solid var(--line-dark); }
.seg button { padding: 10px 18px; font: inherit; font-size: 14px; color: var(--silver); background: none; border: 0; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--silver-hi); color: var(--midnight); }
.inv-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.inv-grid label { min-width: 0; }
.inv-wide { grid-column: 1 / -1; }
.pro-tool input:not([type="checkbox"]), .pro-tool select { width: 100%; box-sizing: border-box; min-width: 0; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--silver-hi); background: var(--midnight-2); border: 1px solid var(--line-dark); border-radius: 2px; color-scheme: dark; }
.inv-items { display: grid; gap: 8px; margin: 4px 0 8px; }
.inv-item { display: grid; grid-template-columns: minmax(0, 1fr) 72px 110px; gap: 8px; }
.inv-total { margin: 18px 0 6px; font-size: 15px; color: var(--silver); }
.inv-total b { font-family: var(--display); font-weight: 500; font-size: 30px; color: var(--silver-hi); margin-left: 6px; }
.tick-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.tick-list label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--midnight-2); cursor: pointer; color: var(--silver-hi); line-height: 1.45; }
.tick-list input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--silver-hi); }
.jr-form { align-items: end; }
.jr-form .btn { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .inv-item { grid-template-columns: minmax(0, 1fr) 56px 84px; gap: 6px; }
  .tv-chart { height: 380px; }
  .tv-news { height: 420px; }
  .jr-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jr-form .inv-wide { grid-column: 1 / -1; }
}
@media print { .tv, .market, .pro-tool[data-invoice], .jr-form { display: none !important; } }

/* ---------- the House: manifesto, circuit, bring someone in ---------- */
.manifesto { text-align: center; }
.manifesto .rite-eyebrow { margin-bottom: 14px; }
.manifesto-text { max-width: 60ch; margin: 8px auto clamp(40px, 6vw, 64px); }
.manifesto-text p { margin: 0 0 18px; color: var(--silver); font-size: clamp(17px, 1.6vw, 20px); font-weight: 300; line-height: 1.75; }
.manifesto-text .manifesto-close { margin: 28px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); color: var(--silver-hi); letter-spacing: 0.05em; line-height: 1.4; }
.family-ways { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); text-align: left; }
.family-ways li { border-left: 1px solid var(--line-dark); padding: 4px 0 4px 20px; }
.family-ways h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 500; font-size: 19px; letter-spacing: 0.06em; color: var(--silver-hi); }
.family-ways p { margin: 0; color: var(--silver); font-size: 16px; }
@media (max-width: 760px) { .family-ways { grid-template-columns: 1fr; } }

.eyebrow-ink { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--steel); }
.circuit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.circuit-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.door { display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 3vw, 36px) clamp(20px, 2.4vw, 30px); background: var(--white); color: var(--ink); text-decoration: none; transition: background 0.25s, color 0.25s; min-height: 100%; }
.door:hover, .door:focus-visible { background: var(--midnight); color: var(--silver-hi); }
.door-num { font-family: var(--display); font-size: 15px; letter-spacing: 0.2em; color: var(--steel); }
.door-house { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); }
.door-title { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.2; letter-spacing: 0.04em; }
.door-desc { color: var(--steel); font-size: 15.5px; line-height: 1.6; }
.door-stat { font-size: 14px; color: var(--steel); }
.door-stat strong { font-family: var(--display); font-size: 22px; font-weight: 500; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.door-go { margin-top: auto; padding-top: 14px; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.door-go::after { content: "→"; transition: transform 0.25s; }
.door:hover .door-go::after { transform: translateX(4px); }
.door:hover .door-num, .door:hover .door-house, .door:hover .door-desc, .door:hover .door-stat { color: var(--silver); }
.door:hover .door-stat strong { color: var(--silver-hi); }
.door-sm .door-title { font-size: clamp(20px, 2vw, 24px); }
.section-dark .circuit { background: var(--line-dark); border-color: var(--line-dark); }
.section-dark .door { background: var(--midnight); color: var(--silver-hi); }
.section-dark .door:hover { background: var(--midnight-2); }
.section-dark .door-house { color: #8b8f96; }
@media (max-width: 960px) { .circuit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .circuit-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .circuit { grid-template-columns: 1fr; } }

.bring { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.bring article { border-top: 1px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; }
.bring p { margin: 0 0 24px; color: var(--steel); }
.bring .btn { margin-top: auto; align-self: flex-start; }
.share-status { min-height: 1.6em; margin: 24px 0 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 860px) { .bring { grid-template-columns: 1fr; } .bring .btn { align-self: stretch; } }

.oath .hero-actions { margin-top: 8px; }
.vow-nudge { margin: 4px 0 0; padding: 14px 16px; background: var(--midnight); color: var(--silver); font-size: 15px; }
.vow-nudge a { color: var(--silver-hi); text-underline-offset: 3px; }
.footer-grid.footer-4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
@media (max-width: 960px) { .footer-grid.footer-4 { grid-template-columns: 1fr 1fr; } .footer-grid.footer-4 > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid.footer-4 { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .invite { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the Valor Trial ---------- */
.trial-page input[type="text"], .trial-page input[type="email"] { width: 100%; padding: 15px 18px; background: var(--midnight-2); border: 1px solid var(--line-dark); border-radius: 2px; color: var(--silver-hi); font-size: 18px; }
.trial-page input:focus { border-color: var(--silver); outline: none; }
.trial-page .error { color: #e2777e; min-height: 1em; margin: 6px 0; }
.trial-form .rite-check { margin: 14px 0 4px; font-size: 18px; }
.trial-form .btn { justify-self: start; margin-top: 6px; }
.trial-rules { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.trial-rules li { padding: 16px 20px; border: 1px solid var(--line-dark); background: var(--midnight-2); color: var(--silver); }
.trial-rules strong { color: var(--silver-hi); font-weight: 500; }
.trial-run { min-height: calc(100vh - 72px); padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); background: radial-gradient(ellipse 70% 60% at 50% 20%, #17181b 0%, #000 72%); }
.trial-run .wrap { max-width: 760px; }
.trial-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #8b8f96; }
.trial-clock { font-family: var(--display); font-size: 22px; letter-spacing: 0.08em; color: var(--silver-hi); font-variant-numeric: tabular-nums; }
.trial-clock.low { color: #e2777e; }
.trial-progress { height: 2px; background: var(--line-dark); margin: 16px 0 clamp(36px, 6vw, 64px); }
.trial-progress span { display: block; height: 100%; background: var(--silver-hi); transition: width 0.3s ease; }
.trial-q { margin: 0 0 32px; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 3vw, 32px); line-height: 1.35; letter-spacing: 0.03em; color: var(--silver-hi); outline: none; white-space: pre-wrap; }
.trial-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.trial-opt { min-height: 64px; padding: 14px 18px; text-align: left; background: var(--midnight-2); border: 1px solid var(--line-dark); border-radius: 2px; color: var(--silver-hi); font-size: 18px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.trial-opt:hover { border-color: var(--silver); }
.trial-opt.picked { background: var(--silver-hi); color: var(--midnight); border-color: var(--silver-hi); }
.trial-opt:disabled { cursor: default; }
@media (max-width: 560px) { .trial-options { grid-template-columns: 1fr; } }
.trial-score { margin: 0 0 18px; font-family: var(--display); font-size: clamp(64px, 11vw, 120px); line-height: 1; background: linear-gradient(180deg, #fff 0%, #d9dde2 45%, #8f959d 55%, #e9ecef 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trial-score small { font-size: 0.3em; color: #6b6f76; -webkit-text-fill-color: #6b6f76; }
.trial-status { color: var(--silver-hi); }
.certificate { max-width: 560px; margin: clamp(32px, 5vw, 48px) auto 0; padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 40px); border: 1px solid #3a3d42; outline: 1px solid #1f2125; outline-offset: -10px; background: linear-gradient(180deg, #121316 0%, #050505 100%); text-align: center; }
.certificate img { width: 96px; margin: 0 auto 14px; }
.cert-house { margin: 0; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: #8b8f96; }
.cert-title { margin: 6px 0 22px; font-family: var(--display); font-size: clamp(20px, 2.6vw, 26px); letter-spacing: 0.12em; color: var(--silver-hi); }
.cert-name { margin: 0; font-family: var(--display); font-size: clamp(30px, 5vw, 46px); line-height: 1.15; letter-spacing: 0.04em; background: linear-gradient(180deg, #fff 0%, #d9dde2 45%, #8f959d 55%, #e9ecef 100%); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere; }
.cert-line { margin: 10px 0 26px; color: var(--silver); font-size: 15px; }
.cert-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.cert-facts div { padding: 14px 6px; display: grid; gap: 4px; }
.cert-facts div + div { border-left: 1px solid var(--line-dark); }
.cert-facts span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #8b8f96; }
.cert-facts strong { font-family: var(--display); font-weight: 500; font-size: clamp(15px, 2vw, 19px); color: var(--silver-hi); }
.cert-date { margin: 20px 0 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #6b6f76; }
.trial-code { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 8px; }
.trial-code code { font-family: var(--display); font-size: 26px; letter-spacing: 0.16em; padding: 10px 18px; border: 1px dashed var(--silver); color: var(--silver-hi); }
.trial-banner { text-align: center; }
.trial-banner .intro { margin-left: auto; margin-right: auto; }
/* header: full menu on wide screens, the ☰ menu below 1100px */
.nav a { white-space: nowrap; }
@media (min-width: 1101px) {
  .site-header .wrap { grid-template-columns: auto 1fr auto; }
  .nav { gap: 22px; }
  .nav a { font-size: 14.5px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .site-header .wrap { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 72px; left: 0; right: 0; background: var(--midnight); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gutter) 16px; }
  .nav.open a { padding: 12px 0; font-size: 17px; }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--silver-hi); cursor: pointer; }
}

/* ---------- the House, from outside: mystery, pillars, apply ---------- */
.hero-eyebrow { margin: 0 0 18px; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: #8b8f96; }
.inside { text-align: center; }
.inside .rite-eyebrow { margin-bottom: 14px; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--line-dark); border: 1px solid var(--line-dark); margin: clamp(32px, 5vw, 56px) 0 0; text-align: left; }
.pillars article { background: var(--midnight); padding: clamp(24px, 3vw, 36px) clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; min-height: 100%; }
.pillar-num { font-family: var(--display); font-size: 14px; letter-spacing: 0.2em; color: #5d6168; }
.pillars h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 27px); letter-spacing: 0.05em; color: var(--silver-hi); }
.pillars p { margin: 0; color: var(--silver); font-size: 16px; }
.pillar-tag { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #8b8f96; }
.pillar-tag::before { content: ""; width: 8px; height: 10px; border: 1px solid #8b8f96; border-radius: 1px; box-shadow: inset 0 -4px 0 #8b8f96; }
.inside-line { margin: clamp(32px, 5vw, 48px) auto clamp(40px, 6vw, 64px); font-family: var(--display); font-size: clamp(19px, 2vw, 24px); letter-spacing: 0.06em; color: var(--silver-hi); }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

.apply-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.apply-door { display: flex; flex-direction: column; gap: 10px; text-align: left; padding: clamp(24px, 3vw, 36px); background: var(--midnight-2); border: 1px solid var(--line-dark); border-radius: 2px; color: var(--silver-hi); cursor: pointer; transition: border-color 0.2s, background 0.2s; font: inherit; }
.apply-door:hover, .apply-door:focus-visible { border-color: var(--silver); background: #16171a; }
.apply-num { font-family: var(--display); font-size: 15px; letter-spacing: 0.2em; color: #6b6f76; }
.apply-name { font-family: var(--display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 500; letter-spacing: 0.06em; background: linear-gradient(180deg, #fff 0%, #d9dde2 45%, #8f959d 55%, #e9ecef 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.apply-line { color: var(--silver); font-size: 16px; line-height: 1.6; }
.apply-go { margin-top: auto; padding-top: 16px; font-size: 15px; font-weight: 500; display: inline-flex; gap: 10px; }
.apply-go::after { content: "→"; transition: transform 0.2s; }
.apply-door:hover .apply-go::after { transform: translateX(4px); }
.apply-note { margin-top: auto; padding-top: 16px; font-size: 14px; color: #8b8f96; }
.apply-fine { margin-top: 24px; text-align: center; }
.apply-back { color: #8b8f96; }
.apply-form textarea { width: 100%; padding: 15px 18px; background: var(--midnight-2); border: 1px solid var(--line-dark); border-radius: 2px; color: var(--silver-hi); font-size: 18px; resize: vertical; }
.apply-form textarea:focus { border-color: var(--silver); outline: none; }
.apply-form .opt { text-transform: none; letter-spacing: 0; font-size: 13px; color: #6b6f76; }
@media (max-width: 860px) { .apply-doors { grid-template-columns: 1fr; } }
.accepted-title { font-size: clamp(56px, 11vw, 120px); letter-spacing: 0.1em; }

/* ---------- applications: the standard, proof fields ---------- */
.standard { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.standard li { padding: 14px 18px; border-left: 2px solid var(--silver); background: var(--midnight-2); color: var(--silver); font-size: 16px; }
.standard strong { color: var(--silver-hi); font-weight: 500; margin-right: 4px; }
.apply-doors + .standard { max-width: 760px; margin: 28px auto 0; }
.trial-page select { width: 100%; padding: 15px 18px; background: var(--midnight-2); border: 1px solid var(--line-dark); border-radius: 2px; color: var(--silver-hi); font-size: 18px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8b8f96 50%), linear-gradient(135deg, #8b8f96 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.trial-page select:focus { border-color: var(--silver); outline: none; }
.field-help { margin: -2px 0 6px; font-size: 13.5px; color: #8b8f96; }
