/* ==========================================================================
   Off Market — offmarket.win
   Pure CSS. No build step. No external requests.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (self-hosted, SIL OFL)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #0a0a0a;
  --bg-2: #0e0e0d;
  --bg-3: #131311;
  --ink: #f2efe9;
  --ink-2: #a39e94;
  --ink-3: #807a71;
  --gold: #c9a96e;
  --gold-2: #e3c88f;
  --gold-3: #8a7247;
  --ember: #b5533c;
  --line: rgba(201, 169, 110, 0.18);
  --line-2: rgba(201, 169, 110, 0.38);
  --line-soft: rgba(255, 255, 255, 0.05);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 2px;
  --radius-lg: 4px;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --nav-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.6s;
}

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

html {
  font-size: clamp(15.5px, 0.9rem + 0.25vw, 17.5px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1.25rem);
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--alt {
  background: var(--bg-2);
}

.section--line {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
  justify-items: center;
}

/* Single-column default for every grid. minmax(0, 1fr) stops long or
   no-wrap children from inflating the track and overflowing the viewport. */
.hero__grid,
.grid-cards,
.steps,
.tiers,
.pledge__grid,
.faq__layout,
.footer__grid {
  grid-template-columns: minmax(0, 1fr);
}
.hero__grid > *,
.faq__layout > *,
.footer__grid > * {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  flex: none;
}
.section-head--center .eyebrow::after,
.eyebrow--center::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  flex: none;
}
.eyebrow--center {
  display: flex;
  justify-content: center;
}
@media (max-width: 480px) {
  .eyebrow__extra {
    display: none;
  }
}

.h1 {
  font-size: clamp(2.5rem, 6.4vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.25;
}

.gold {
  color: var(--gold);
}

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}

.muted {
  color: var(--ink-2);
}

.fine {
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  border-radius: var(--radius);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

.btn--ghost {
  color: var(--ink);
  border-color: var(--line-2);
}

.btn--sm {
  min-height: 2.5rem;
  padding: 0 1.1rem;
  font-size: 0.82rem;
}

.btn--lg {
  min-height: 3.4rem;
  padding: 0 1.75rem;
  font-size: 0.92rem;
}

@media (max-width: 480px) {
  /* Let long labels wrap instead of overflowing narrow phones */
  .btn--lg {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    padding-block: 0.8rem;
    min-height: 3.25rem;
  }
}

.btn--block {
  width: 100%;
}

.btn .arrow {
  width: 1em;
  height: 1em;
  transition: transform 0.25s var(--ease);
}

@media (hover: hover) {
  .btn--primary:hover {
    background: var(--gold-2);
    border-color: var(--gold-2);
  }
  .btn--ghost:hover {
    border-color: var(--gold);
    color: var(--gold-2);
  }
  .btn:hover .arrow {
    transform: translateX(3px);
  }
}
.btn:active {
  transform: translateY(1px);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 10, 0.9);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--gold);
}
.brand span {
  padding-top: 0.1em;
}

.nav__links {
  display: none;
}

.nav__links ul {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
}

.nav__links a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.25s var(--ease);
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:not(.btn).is-active,
.nav__links a:not(.btn):hover {
  color: var(--ink);
}
.nav__links a:not(.btn).is-active::after,
.nav__links a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav__toggle {
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), top 0.35s var(--ease);
}
.nav__toggle span:nth-child(1) {
  top: 17px;
}
.nav__toggle span:nth-child(2) {
  top: 26px;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21.5px;
  transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  top: 21.5px;
  transform: rotate(-45deg);
}

/* Mobile overlay menu */
.nav__links.is-open {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--nav-h));
  height: calc(100dvh - var(--nav-h));
  padding: 1.5rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  animation: menu-in 0.35s var(--ease) both;
}
.nav__links.is-open ul {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.nav__links.is-open li {
  border-bottom: 1px solid var(--line-soft);
}
.nav__links.is-open a:not(.btn) {
  width: 100%;
  min-height: 60px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.nav__links.is-open a:not(.btn)::after {
  display: none;
}
.nav__links.is-open .btn {
  margin-top: 2rem;
  min-height: 3.25rem;
  width: 100%;
  font-size: 0.95rem;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
  }
  .nav__toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7.5rem) clamp(3.5rem, 8vw, 7rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 90%;
  background: radial-gradient(ellipse at 72% 18%, rgba(201, 169, 110, 0.13), transparent 58%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: 1.5rem;
}

.hero__copy .h1 {
  margin-top: 0.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}
.hero__actions--center {
  justify-content: center;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.8;
}

@media (max-width: 480px) {
  .hero__actions .btn {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

/* --------------------------------------------------------------------------
   Dossier (live redaction demo)
   -------------------------------------------------------------------------- */
.dossier {
  position: relative;
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 2.6vw, 1.9rem);
  background: linear-gradient(180deg, #141412 0%, #0d0d0c 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.015) inset;
  font-size: 0.9rem;
}
.dossier::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(201, 169, 110, 0.12);
  border-radius: 2px;
  pointer-events: none;
}

.dossier__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 560px) {
  .dossier__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }
}

.dossier__kicker {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.dossier__subject {
  margin-top: 0.4rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--ink);
}

.dossier__role {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--ink-3);
}

.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 3px rgba(181, 83, 60, 0.18);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.dossier.is-complete .chip {
  color: var(--gold);
  border-color: var(--line-2);
}
.dossier.is-complete .chip::before {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}

.dossier__rows {
  margin-top: 0.35rem;
}

.dossier__row {
  display: grid;
  grid-template-columns: minmax(6.75rem, 30%) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: baseline;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.dossier__row:last-child {
  border-bottom: 0;
}

.dossier__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.dossier__value {
  min-width: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

/* The redaction unit */
.redact {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 1.35;
}
.redact__text {
  display: inline;
}
.redact__bar {
  position: absolute;
  inset: -1px -5px;
  background: var(--gold);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}
.redact.is-redacted .redact__bar {
  animation: sweep 0.85s var(--ease) both;
}
.redact.is-redacted .redact__text {
  animation: conceal 0.85s steps(1, end) both;
}

@keyframes sweep {
  0% {
    transform: scaleX(0);
    background: var(--gold);
  }
  55% {
    transform: scaleX(1);
    background: var(--gold);
  }
  100% {
    transform: scaleX(1);
    background: #2a2622;
    box-shadow: inset 2px 0 0 var(--gold-3);
  }
}
@keyframes conceal {
  0%,
  54% {
    opacity: 1;
  }
  55%,
  100% {
    opacity: 0;
  }
}

.dossier__foot {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.dossier__meter {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.dossier__meter span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}

.dossier__status {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.dossier__status strong {
  font-weight: 500;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.dossier__stamp {
  position: absolute;
  right: clamp(1rem, 4%, 1.75rem);
  bottom: 5.25rem;
  padding: 0.5rem 0.85rem;
  border: 2px solid var(--gold);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(10, 10, 10, 0.5);
  opacity: 0;
  transform: rotate(-7deg) scale(1.25);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.dossier.is-complete .dossier__stamp {
  opacity: 0.92;
  transform: rotate(-7deg) scale(1);
}

/* --------------------------------------------------------------------------
   Hairline card grid (Threat)
   -------------------------------------------------------------------------- */
.grid-cards {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg);
  transition: background-color 0.35s var(--ease);
}
.section--alt .card {
  background: var(--bg-2);
}
@media (hover: hover) {
  .card:hover {
    background: var(--bg-3);
  }
}

.card__index {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.card p {
  color: var(--ink-2);
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 0;
}

.step {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 2rem 0 2.25rem;
  border-top: 1px solid var(--line);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 1px;
  background: var(--gold);
}

.step__num {
  font-family: var(--serif);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--gold);
}

.step p {
  color: var(--ink-2);
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2.5rem;
  }
  .step {
    padding-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   Tiers
   -------------------------------------------------------------------------- */
.tiers {
  display: grid;
  gap: 1.25rem;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
@media (hover: hover) {
  .tier:hover {
    border-color: var(--line-2);
  }
}

.tier--featured {
  border-color: var(--gold-3);
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, 0.18),
    0 40px 80px -50px rgba(201, 169, 110, 0.35);
}

.tier__tag {
  position: absolute;
  top: -0.75rem;
  left: clamp(1.5rem, 3vw, 2.25rem);
  padding: 0.35rem 0.7rem;
  background: var(--gold);
  color: var(--bg);
  border-radius: 2px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.tier__head {
  display: grid;
  gap: 0.5rem;
}

.tier__for {
  font-size: 0.92rem;
  color: var(--ink-2);
}

.tier__price {
  display: grid;
  gap: 0.2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.tier__price strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
}
.tier__price span {
  font-size: 0.8rem;
  color: var(--ink-3);
}

.tier__list {
  display: grid;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.tier__list li {
  position: relative;
  padding-left: 1.4rem;
}
.tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.65rem;
  height: 1px;
  background: var(--gold);
}

.tier__cta {
  margin-top: auto;
  padding-top: 0.5rem;
}

@media (min-width: 900px) {
  .tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

/* --------------------------------------------------------------------------
   Pledge
   -------------------------------------------------------------------------- */
.pledge {
  text-align: center;
}

.pledge__statement {
  max-width: 24ch;
  margin: 1.25rem auto 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3.6vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.pledge__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: clamp(2rem, 4vw, 3rem) auto;
  color: var(--gold);
}
.pledge__ornament::before,
.pledge__ornament::after {
  content: "";
  width: clamp(2.5rem, 8vw, 5rem);
  height: 1px;
  background: var(--line-2);
}
.pledge__ornament svg {
  width: 18px;
  height: 18px;
}

.pledge__grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  text-align: left;
}
.pledge__item {
  display: grid;
  gap: 0.6rem;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--bg-2);
}
.pledge__item h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.pledge__item p {
  font-size: 0.92rem;
  color: var(--ink-2);
}

@media (min-width: 640px) {
  .pledge__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .pledge__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq__layout .section-head {
  margin-bottom: 0;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 11px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1px 11px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease);
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
@media (hover: hover) {
  .faq__item summary:hover {
    color: var(--gold-2);
  }
}

.faq__body {
  padding: 0 0 1.5rem;
  max-width: 62ch;
  color: var(--ink-2);
  text-wrap: pretty;
  animation: faq-in 0.35s var(--ease) both;
}
.faq__body p + p {
  margin-top: 0.8rem;
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1024px) {
  .faq__layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
  .faq__layout .section-head {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
  }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 100%, rgba(201, 169, 110, 0.12), transparent 60%);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  max-width: 46rem;
  margin-inline: auto;
}
.contact__inner .lead {
  text-align: center;
}

.contact__email {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 0 0.2em;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  color: var(--gold);
  border-bottom: 1px solid var(--line-2);
  overflow-wrap: anywhere;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
@media (hover: hover) {
  .contact__email:hover {
    color: var(--gold-2);
    border-color: var(--gold-2);
  }
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}
@media (max-width: 480px) {
  .contact__actions .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 max(2rem, env(safe-area-inset-bottom));
  font-size: 0.85rem;
  color: var(--ink-3);
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

.footer__brand {
  display: grid;
  gap: 0.75rem;
}
.footer__brand p {
  max-width: 34ch;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  transition: color 0.25s var(--ease);
}
@media (hover: hover) {
  .footer__links a:hover {
    color: var(--gold-2);
  }
}

.footer__legal {
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
  .footer__legal {
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   Inner pages (legal, 404)
   -------------------------------------------------------------------------- */
.page {
  padding-block: clamp(3rem, 7vw, 6rem) var(--section-y);
}

.page__head {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.notice {
  display: grid;
  gap: 0.35rem;
  max-width: 72ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--ink-2);
}
.notice strong {
  color: var(--ink);
  font-weight: 600;
}

.prose {
  max-width: 72ch;
  color: var(--ink-2);
}
.prose h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.9rem;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.prose p {
  margin-bottom: 1rem;
  text-wrap: pretty;
}
.prose ul {
  margin: 0 0 1rem;
  padding-left: 0;
  display: grid;
  gap: 0.5rem;
}
.prose li {
  position: relative;
  padding-left: 1.4rem;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.65rem;
  height: 1px;
  background: var(--gold);
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose a {
  color: var(--gold);
  border-bottom: 1px solid var(--line-2);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
@media (hover: hover) {
  .prose a:hover {
    color: var(--gold-2);
    border-color: var(--gold-2);
  }
}

.error-page {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--section-y);
}
.error-page__inner {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
}
.error-page__inner .lead {
  text-align: center;
}
.error-page__code {
  font-family: var(--serif);
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: -0.03em;
}

/* --------------------------------------------------------------------------
   Scroll reveal (only when JS is present)
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger siblings inside grids (no inline styles needed) */
.grid-cards > .reveal:nth-child(2),
.steps > .reveal:nth-child(2),
.tiers > .reveal:nth-child(2),
.pledge__grid > .reveal:nth-child(2) {
  --delay: 0.08s;
}
.grid-cards > .reveal:nth-child(3),
.steps > .reveal:nth-child(3),
.tiers > .reveal:nth-child(3),
.pledge__grid > .reveal:nth-child(3) {
  --delay: 0.16s;
}
.grid-cards > .reveal:nth-child(4),
.steps > .reveal:nth-child(4),
.pledge__grid > .reveal:nth-child(4) {
  --delay: 0.24s;
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .nav,
  .nav__toggle,
  .btn,
  .dossier__stamp,
  .skip-link {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .section,
  .card,
  .tier,
  .pledge__item {
    background: #fff;
    color: #000;
  }
  .lead,
  .muted,
  .card p,
  .step p,
  .tier__list,
  .faq__body,
  .prose {
    color: #222;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
