/* ==========================================================================
   RootClaims — site.css
   Archival visual system: survey plats, parchment, root systems.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --walnut: #1C1208;
  --walnut-2: #22160A;
  --walnut-3: #2B1D0F;
  --ink: #0E0A04;
  --clay: #4A3728;
  --clay-light: #5E4835;
  --gold: #C8922A;
  --gold-light: #E8B84B;
  --gold-deep: #9A6E1B;
  --parchment: #E8DCC8;
  --parchment-dim: #BFB49A;
  --parchment-soft: #D8CBB4;
  --cream: #F5EFE0;
  --forest: #2C4A3E;
  --rust: #8C4A2F;

  --line: rgba(200, 146, 42, 0.18);
  --line-soft: rgba(200, 146, 42, 0.10);
  --line-strong: rgba(200, 146, 42, 0.34);

  --serif: 'Playfair Display', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, Consolas, monospace;

  --max: 1180px;
  --pad: 3rem;
  --nav-h: 76px;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--walnut);
  color: var(--parchment);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ---------- Grain + vignette ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 8999;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(14, 10, 4, 0.45) 100%);
}

/* ---------- Utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { left: 1rem; top: 1rem; }

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

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.12;
  color: var(--cream);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.022em;
}

h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.14;
}

h3 { font-size: 1.15rem; }

p { text-wrap: pretty; }

.lede {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--parchment-dim);
  max-width: 58ch;
}

.divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 2rem;
}

/* ---------- Section chrome ---------- */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-head {
  position: relative;
  max-width: 760px;
  margin-bottom: 3.5rem;
}

.section-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.9rem;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  display: block;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.15s var(--ease);
  line-height: 1.2;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 1px 0 rgba(255,255,255,0.14) inset, 0 10px 28px -14px rgba(200,146,42,0.75);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--parchment);
  border-color: rgba(232, 220, 200, 0.28);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,146,42,0.06); }

.btn-block { width: 100%; }

.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(28, 18, 8, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(20, 13, 6, 0.94);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-mark { width: 34px; height: 34px; }

.logo-text {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--parchment);
}
.logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  list-style: none;
}

.nav-links a {
  color: var(--parchment-dim);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--ink);
  padding: 0.62rem 1.15rem;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.11em;
}
.nav-links .nav-cta:hover { background: var(--gold-light); color: var(--ink); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle .bars {
  position: relative;
  width: 18px;
  height: 12px;
}

.nav-toggle .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--parchment);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease), top 0.28s var(--ease);
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 5.25px; }
.nav-toggle .bars span:nth-child(3) { top: 10.5px; }

.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 499;
  background: rgba(20, 13, 6, 0.985);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem var(--pad) 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0.26s;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drawer a.drawer-link {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--parchment);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.drawer a.drawer-link:hover, .drawer a.drawer-link:focus-visible { color: var(--gold); }

.drawer a.drawer-link .idx {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--gold-deep);
  letter-spacing: 0.12em;
}

.drawer .btn { margin-top: 2rem; }

.drawer .drawer-meta {
  margin-top: auto;
  padding-top: 2rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--parchment-dim);
  opacity: 0.7;
  line-height: 1.9;
}

body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 4.5rem) 0 5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-bg .layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* warm light bloom */
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 14% 26%, rgba(200, 146, 42, 0.13) 0%, transparent 62%),
    radial-gradient(50% 60% at 88% 78%, rgba(44, 74, 62, 0.20) 0%, transparent 68%),
    linear-gradient(178deg, #241708 0%, #1C1208 55%, #170F06 100%);
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(28,18,8,0.94) 0%, rgba(28,18,8,0.82) 42%, rgba(28,18,8,0.30) 72%, rgba(28,18,8,0.55) 100%);
}

.hero-inner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 4rem;
  align-items: center;
}

.hero-copy { max-width: 620px; }

.hero-copy h1 { margin-bottom: 1.6rem; }

.hero-sub {
  font-size: 1.13rem;
  line-height: 1.72;
  color: var(--parchment-dim);
  max-width: 52ch;
  margin-bottom: 2.4rem;
}
.hero-sub strong { color: var(--parchment); font-weight: 500; }

.hero-actions {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--parchment-dim);
  opacity: 0.75;
  line-height: 1.8;
}

/* Record card visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.record {
  position: relative;
  width: 100%;
  max-width: 380px;
  transform: rotate(-2.2deg);
  background:
    linear-gradient(168deg, #F1E8D6 0%, #E5D9C1 48%, #DCCFB4 100%);
  color: #2A1D10;
  border-radius: 2px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 28px 60px -22px rgba(0,0,0,0.85),
    0 2px 0 rgba(255,255,255,0.06);
  padding: 1.6rem 1.55rem 1.4rem;
  font-family: var(--mono);
}

.record::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(42, 29, 16, 0.22);
  border-radius: 2px;
  pointer-events: none;
}

.record::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(42, 29, 16, 0.10);
  pointer-events: none;
}

.record-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(42,29,16,0.28);
  padding-bottom: 0.7rem;
  margin-bottom: 0.9rem;
}

.record-agency {
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(42,29,16,0.7);
  max-width: 62%;
}

.record-roll {
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-align: right;
  color: rgba(42,29,16,0.7);
  line-height: 1.5;
}

.record-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #241708;
}

.record-rows { display: grid; gap: 0.42rem; }

.record-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  align-items: baseline;
}

.record-row dt {
  color: rgba(42,29,16,0.55);
  text-transform: uppercase;
  font-size: 0.52rem;
  letter-spacing: 0.11em;
}

.record-row dd {
  color: #2A1D10;
  font-weight: 500;
  border-bottom: 1px dotted rgba(42,29,16,0.3);
  padding-bottom: 0.16rem;
}

.record-foot {
  margin-top: 1.15rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(42,29,16,0.28);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.record-stamp {
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  border: 1.5px solid var(--rust);
  border-radius: 1px;
  padding: 0.3rem 0.4rem;
  transform: rotate(-7deg);
  opacity: 0.82;
  text-align: center;
  line-height: 1.3;
  font-weight: 500;
}

.record-sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.78rem;
  color: rgba(42,29,16,0.6);
  border-bottom: 1px solid rgba(42,29,16,0.35);
  padding-bottom: 0.1rem;
}

/* label pointing at card */
.record-caption {
  position: absolute;
  bottom: -2.4rem;
  right: 0.5rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  opacity: 0.55;
  text-align: right;
  line-height: 1.7;
}

/* ---------- Proof strip ---------- */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(74,55,40,0.28), rgba(28,18,8,0.35));
  padding: 2.4rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat { text-align: left; position: relative; padding-left: 1.1rem; }

.stat::before {
  content: '';
  position: absolute;
  left: 0; top: 0.35rem;
  width: 1px; height: calc(100% - 0.7rem);
  background: var(--line-strong);
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--parchment-dim);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.5;
}

.proof-foot {
  max-width: var(--max);
  margin: 1.6rem auto 0;
  padding-inline: var(--pad);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--parchment-dim);
  opacity: 0.6;
  line-height: 1.9;
}
.proof-foot a { color: var(--gold-deep); }

/* ---------- Problem grid ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.problem-cell {
  background: var(--walnut);
  padding: 2.1rem 1.9rem;
  position: relative;
  transition: background 0.3s var(--ease);
}
.problem-cell:hover { background: var(--walnut-2); }

.problem-quote {
  font-family: var(--serif);
  font-size: 1.24rem;
  font-style: italic;
  color: var(--parchment);
  line-height: 1.45;
  margin-bottom: 0.9rem;
}

.problem-note {
  font-size: 0.87rem;
  color: var(--parchment-dim);
  line-height: 1.65;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-step {
  padding: 2.2rem 1.7rem 2.2rem 0;
  border-right: 1px solid var(--line-soft);
  position: relative;
}
.process-step:last-child { border-right: none; padding-right: 0; }
.process-step:nth-child(n+2) { padding-left: 1.7rem; }

.process-step::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}
.process-step:hover::before { width: 100%; }

.step-num {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--gold-deep);
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  display: block;
}

.process-step h3 {
  font-size: 1.08rem;
  margin-bottom: 0.65rem;
  color: var(--cream);
}

.process-step p {
  font-size: 0.86rem;
  line-height: 1.68;
  color: var(--parchment-dim);
}

/* ---------- Deliverables ---------- */
.deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.deliverable {
  background: var(--walnut);
  padding: 1.8rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.deliverable .mark {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.deliverable h4 {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.deliverable p {
  font-size: 0.82rem;
  line-height: 1.62;
  color: var(--parchment-dim);
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--walnut-2), var(--walnut));
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2rem 1.75rem 1.9rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.tier:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.tier-featured {
  border-color: rgba(200, 146, 42, 0.5);
  background:
    linear-gradient(180deg, rgba(200,146,42,0.10), rgba(28,18,8,0.6) 45%, var(--walnut));
  box-shadow: 0 24px 60px -34px rgba(200,146,42,0.6);
}

.tier-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.32rem 0.8rem;
  border-radius: 1px;
  white-space: nowrap;
}

.tier-name {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.tier h3 {
  font-size: 1.32rem;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.tier-desc {
  font-size: 0.85rem;
  line-height: 1.62;
  color: var(--parchment-dim);
  min-height: 4.9em;
  margin-bottom: 1.25rem;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}

.tier-price .amount {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
}

.tier-price .unit {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--parchment-dim);
  text-transform: uppercase;
}

.tier-list {
  list-style: none;
  display: grid;
  gap: 0.62rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.tier-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--parchment-soft);
}

.tier-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.52em;
  width: 5px; height: 5px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.tier-list li.muted { color: var(--parchment-dim); opacity: 0.6; }
.tier-list li.muted::before { border-color: var(--parchment-dim); background: transparent; }

.tier .btn { width: 100%; }
.tier-note {
  margin-top: 0.85rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: var(--parchment-dim);
  opacity: 0.72;
  text-align: center;
  line-height: 1.7;
}

.pricing-foot {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--parchment-dim);
  opacity: 0.8;
}
.pricing-foot span { display: inline-flex; align-items: center; gap: 0.5rem; }
.pricing-foot span::before { content: '✓'; color: var(--gold); font-size: 0.8em; }

/* ---------- Membership band ---------- */
.band {
  background:
    linear-gradient(100deg, rgba(44,74,62,0.30), rgba(28,18,8,0.2)),
    var(--walnut-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
  align-items: center;
}

.band-price {
  text-align: right;
  border-left: 1px solid var(--line);
  padding-left: 2.5rem;
}

.band-price .amount {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.band-price .unit {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  display: block;
  margin-top: 0.5rem;
  margin-bottom: 1.4rem;
}

/* ---------- Trust ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.trust-list { list-style: none; display: grid; gap: 1.5rem; }

.trust-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 1.1rem;
  align-items: start;
}

.trust-item .mark {
  width: 34px; height: 34px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--gold);
  flex-shrink: 0;
}

.trust-item h4 {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--cream);
  margin-bottom: 0.32rem;
  font-weight: 700;
}

.trust-item p {
  font-size: 0.85rem;
  line-height: 1.66;
  color: var(--parchment-dim);
}

.notice {
  border: 1px solid rgba(200, 146, 42, 0.4);
  background: rgba(200, 146, 42, 0.055);
  padding: 1.9rem 1.75rem;
  border-radius: 2px;
  position: relative;
}

.notice::before {
  content: '';
  position: absolute;
  top: 0; left: 1.75rem; right: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,146,42,0.5), transparent);
}

.notice-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  display: block;
}

.notice h3 {
  font-size: 1.22rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.notice p {
  font-size: 0.86rem;
  line-height: 1.72;
  color: var(--parchment-dim);
  margin-bottom: 0.7rem;
}
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--parchment); font-weight: 500; }

/* ---------- Story ---------- */
.story-section {
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(200,146,42,0.09), transparent 60%),
    var(--walnut-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-inner { max-width: 720px; }

.story-body {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--parchment-dim);
  margin-bottom: 1.3rem;
}
.story-body strong { color: var(--parchment); font-weight: 500; }

.story-sig {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-sig .sig-name {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--cream);
}

.story-sig .sig-role {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  opacity: 0.75;
  display: block;
  margin-top: 0.2rem;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }

.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 1.3rem 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  font-family: var(--serif);
  font-size: 1.06rem;
  color: var(--cream);
  font-weight: 700;
  line-height: 1.4;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary .plus {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
  line-height: 1;
}

.faq details[open] summary .plus { transform: rotate(45deg); }

.faq .answer {
  padding-top: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--parchment-dim);
  max-width: 72ch;
}
.faq .answer strong { color: var(--parchment); font-weight: 500; }

/* ---------- Capture ---------- */
.capture {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(200,146,42,0.12), transparent 62%),
    var(--walnut);
}

.capture-inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  position: relative;
}

.capture-inner .eyebrow { justify-content: center; }
.capture-inner .eyebrow::before { display: none; }

.capture-inner p {
  color: var(--parchment-dim);
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 2.2rem;
}

.form {
  display: grid;
  gap: 0.9rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field { display: grid; gap: 0.4rem; }

.field label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment-dim);
}

.field input,
.field select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  background: rgba(74, 55, 40, 0.28);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--parchment);
  font-family: var(--sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23BFB49A' fill='none' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.2rem;
}

.field select option { background: var(--walnut-2); color: var(--parchment); }

.field input::placeholder { color: var(--parchment-dim); opacity: 0.5; }

.field input:focus,
.field select:focus {
  border-color: var(--gold);
  background: rgba(74, 55, 40, 0.45);
}

.field input[aria-invalid="true"] { border-color: #C4573A; }

.form-note {
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--parchment-dim);
  opacity: 0.75;
  text-align: center;
}
.form-note a { color: var(--gold); }

.form-consent {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--parchment-dim);
  cursor: pointer;
}
.form-consent input {
  width: 15px; height: 15px;
  margin-top: 0.18rem;
  accent-color: var(--gold);
  cursor: pointer;
}
.form-consent a { color: var(--gold); }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form-status {
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 0.8rem 1rem;
  border-radius: 2px;
  display: none;
  text-align: center;
}
.form-status.is-visible { display: block; }
.form-status.error {
  background: rgba(196, 87, 58, 0.14);
  border: 1px solid rgba(196, 87, 58, 0.45);
  color: #E9B7A6;
}
.form-status.success {
  background: rgba(44, 74, 62, 0.28);
  border: 1px solid rgba(200, 146, 42, 0.4);
  color: var(--parchment);
}

.form-success-panel {
  display: none;
  text-align: center;
  padding: 2.2rem 1.75rem;
  border: 1px solid rgba(200,146,42,0.4);
  background: rgba(200, 146, 42, 0.06);
  border-radius: 2px;
}
.form-success-panel.is-visible { display: block; }
.form-success-panel .seal {
  width: 46px; height: 46px;
  margin: 0 auto 1.1rem;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  border-radius: 50%;
}
.form-success-panel h3 { margin-bottom: 0.6rem; font-size: 1.24rem; }
.form-success-panel p { font-size: 0.88rem; color: var(--parchment-dim); line-height: 1.7; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: #150D06;
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--parchment-dim);
  max-width: 34ch;
  margin-top: 1rem;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }

.footer-col a {
  font-size: 0.82rem;
  color: var(--parchment-dim);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 1.85rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.74rem;
  color: var(--parchment-dim);
  opacity: 0.7;
  line-height: 1.75;
}

.footer-legal {
  max-width: 62ch;
  font-size: 0.7rem !important;
  opacity: 0.55 !important;
}

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: calc(var(--nav-h) + 5rem) 0 3rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--walnut-2), var(--walnut));
}

.legal-body { padding: 4rem 0 6rem; }

.legal-wrap { max-width: 760px; }

.legal-meta {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 2rem;
  line-height: 1.9;
}

.legal-wrap h2 {
  font-size: 1.35rem;
  margin-top: 2.75rem;
  margin-bottom: 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}
.legal-wrap h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.legal-wrap h3 {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream);
  margin-top: 1.6rem;
  margin-bottom: 0.55rem;
  letter-spacing: 0;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--parchment-dim);
  margin-bottom: 0.85rem;
}

.legal-wrap strong { color: var(--parchment); font-weight: 500; }

.legal-wrap ul, .legal-wrap ol {
  padding-left: 1.35rem;
  margin-bottom: 1.1rem;
}

.legal-wrap li { margin-bottom: 0.5rem; }

.legal-wrap a { color: var(--gold); }

.legal-callout {
  border-left: 2px solid var(--gold);
  background: rgba(200,146,42,0.055);
  padding: 1.2rem 1.4rem;
  margin: 1.75rem 0;
}
.legal-callout p:last-child { margin-bottom: 0; }

.legal-toc {
  border: 1px solid var(--line);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.75rem;
  background: rgba(74,55,40,0.14);
}
.legal-toc p {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.legal-toc ol { margin-bottom: 0; }
.legal-toc a { text-decoration: none; font-size: 0.85rem; }
.legal-toc a:hover { text-decoration: underline; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  text-decoration: none;
  margin-bottom: 2rem;
}
.back-link:hover { color: var(--gold); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* root draw animation */
.root-draw path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 3.2s var(--ease) forwards;
}
.root-draw path:nth-child(1) { animation-delay: 0.1s; }
.root-draw path:nth-child(2) { animation-delay: 0.25s; }
.root-draw path:nth-child(3) { animation-delay: 0.4s; }
.root-draw path:nth-child(4) { animation-delay: 0.55s; }
.root-draw path:nth-child(5) { animation-delay: 0.7s; }

@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .root-draw path { stroke-dashoffset: 0; animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  :root { --pad: 2.25rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-copy { max-width: 640px; }
  .hero-visual { justify-content: flex-start; }
  .record { max-width: 340px; }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .tier-desc { min-height: 0; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .trust-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .band-inner { grid-template-columns: 1fr; gap: 2rem; }
  .band-price { text-align: left; border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.75rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
  .deliverables { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.25rem; }
  .hero { min-height: auto; }
  .record-caption { display: none; }
}

@media (max-width: 700px) {
  :root { --pad: 1.5rem; --nav-h: 68px; }

  .section { padding: 4.25rem 0; }
  .hero { padding: calc(var(--nav-h) + 3rem) 0 4rem; }
  .capture { padding: 4.5rem 0; }

  h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .hero-sub { font-size: 1rem; }
  .lede { font-size: 0.98rem; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .problem-grid { grid-template-columns: 1fr; }
  .deliverables { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: none; padding: 1.6rem 0; border-bottom: 1px solid var(--line-soft); }
  .process-step:nth-child(n+2) { padding-left: 0; }
  .process-step:last-child { border-bottom: none; }

  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 1rem; }

  .record { max-width: 100%; transform: none; }

  .tier { padding: 1.75rem 1.4rem; }
  .band-price .amount { font-size: 2.4rem; }

  .legal-body { padding: 2.5rem 0 4rem; }
  .legal-hero { padding: calc(var(--nav-h) + 3rem) 0 2.25rem; }
}

@media (max-width: 420px) {
  .proof-grid { grid-template-columns: 1fr; }
  .stat { padding-left: 1rem; }
  .record-row { grid-template-columns: 78px 1fr; font-size: 0.58rem; }
}
