/* 1000 Millionaires Club — design tokens
   Palette: premium black + gold (ui-ux-pro-max), editorial minimalism.
   Contrast: text-on-ink ≥ 8:1, muted-on-ink ≥ 7:1, muted/gold-deep on sand ≥ 5:1. */
:root {
  --ink: #0d0c0a;
  --ink-2: #15130f;
  --ink-3: #1e1b16;
  --line-dark: rgba(232, 220, 196, 0.14);
  --text-on-dark: #f2ede3;
  --muted-on-dark: #b3aa9a;

  --ivory: #d9cfbd;
  --ivory-2: #cdc1ab;
  --line-light: #bdb098;
  --card-light: #e3dbcb;
  --text-on-light: #16130f;
  --muted-on-light: #4b4436;

  --gold: #c9a24a;
  --gold-soft: #e3c77e;
  --gold-deep: #5e460f;

  --font-display: "Nunito", "Varela Round", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: clamp(4.5rem, 10vw, 8rem);

  --radius: 2px;
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
/* Pages with the sticky programs sub-nav need extra room so anchored headings aren't hidden under it */
html:has(.sub-nav) { scroll-padding-top: calc(var(--header-h) + 80px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.section-light :focus-visible { outline-color: var(--gold-deep); }

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

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display-1, .display-2, .display-3, .h-card {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display-1 { font-size: clamp(2.5rem, 7vw, 5.75rem); line-height: 1.02; }
.display-2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; }
.display-3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.15; }
.h-card { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.2; }
.display-1 em, .display-2 em, .display-3 em { color: var(--gold); font-weight: 600; }
.section-light .display-1 em, .section-light .display-2 em, .section-light .display-3 em { color: var(--gold-deep); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.85rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.eyebrow-center { justify-content: center; }
.section-light .eyebrow { color: var(--gold-deep); }

.label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.section-light .label { color: var(--gold-deep); }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; color: var(--muted-on-dark); max-width: 62ch; }
.section-light .lead { color: var(--muted-on-light); }
.prose p + p { margin-top: 1.1em; }
.prose { color: var(--muted-on-dark); max-width: 64ch; }
.section-light .prose { color: var(--muted-on-light); }
.prose strong { color: var(--text-on-dark); font-weight: 600; }
.section-light .prose strong { color: var(--text-on-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  min-height: 52px; padding: 0 1.75rem;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 1.25rem; font-size: 0.78rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(242, 237, 227, 0.4); color: var(--text-on-dark); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.section-light .btn-gold { background: var(--ink); color: var(--ivory); }
.section-light .btn-gold:hover { background: var(--ink-3); }
.section-light .btn-ghost { border-color: rgba(22, 19, 15, 0.35); color: var(--text-on-light); }
.section-light .btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
}
.link-arrow .icon { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { color: var(--gold-soft); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section-light .link-arrow { color: var(--gold-deep); }
.section-light .link-arrow:hover { color: var(--text-on-light); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.btn-row-center { justify-content: center; }
@media (max-width: 479px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(13, 12, 10, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
/* backdrop-filter would become the containing block for the fixed mobile menu */
.site-header.is-open { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--space-4); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; min-height: 44px; }
.brand-num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--gold); line-height: 1; }
.brand-text {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  line-height: 1.35; color: var(--text-on-dark);
  padding-left: 0.7rem; border-left: 1px solid var(--line-dark);
}

.primary-nav { display: none; margin-left: auto; }
.primary-nav ul { display: flex; gap: 0.25rem; }
.primary-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--muted-on-dark);
  position: relative; transition: color var(--dur-fast) ease;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 8px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--text-on-dark); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: none; }

.menu-toggle {
  margin-left: auto; width: 48px; height: 48px;
  display: inline-grid; place-items: center;
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius);
  color: var(--text-on-dark); cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--ink); overflow-y: auto;
  padding: var(--space-4) var(--gutter) var(--space-5);
}
.mobile-menu ul { border-top: 1px solid var(--line-dark); margin-bottom: var(--space-4); }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; min-height: 60px;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  text-decoration: none; color: var(--text-on-dark);
}
.mobile-menu a[aria-current="page"] { color: var(--gold); }
.mobile-menu .btn { width: 100%; }
body.menu-open { overflow: hidden; }

@media (min-width: 1080px) {
  .primary-nav, .header-cta { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-7); position: relative; }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark-2 { background: var(--ink-2); color: var(--text-on-dark); }
.section-light { background: linear-gradient(180deg, var(--ivory-2) 0, var(--ivory) 180px, var(--ivory) calc(100% - 180px), var(--ivory-2) 100%); color: var(--text-on-light); color-scheme: light; }
.section-light-2 { background: var(--ivory-2); }

.section-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); }
.section-head .lead { margin-top: var(--space-1); }
@media (min-width: 900px) {
  .section-head-split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: var(--space-6); }
}

.index-num {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; font-style: italic;
  color: var(--gold);
}
.section-light .index-num { color: var(--gold-deep); }

.rule { height: 1px; background: var(--line-dark); border: 0; margin: 0; }
.section-light .rule { background: var(--line-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + var(--space-5)) 0 var(--space-6);
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(201, 162, 74, 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(201, 162, 74, 0.07), transparent 70%),
    var(--ink);
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--line-dark) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  opacity: 0.5;
}
.hero-mark {
  position: absolute; right: -2vw; bottom: -6vw; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 600; line-height: 0.8;
  font-size: clamp(14rem, 38vw, 34rem);
  color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 74, 0.22);
}
.hero-content { position: relative; max-width: 980px; }
@media (min-width: 1000px) {
  .hero-content { max-width: 720px; }
  .hero-mark { right: 2vw; top: 50%; bottom: auto; transform: translateY(-48%); font-size: clamp(18rem, 30vw, 30rem); -webkit-text-stroke-color: rgba(201, 162, 74, 0.3); }
}
.hero .display-1 span { display: block; }
.hero .lead { margin-top: var(--space-4); }
.hero-sub { margin-top: var(--space-3); color: var(--muted-on-dark); max-width: 62ch; }

.hero-pillars {
  position: relative; margin-top: var(--space-6);
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero-pillars li {
  padding: var(--space-3) var(--space-2) 0 0;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-on-dark);
}
.hero-pillars li span { display: block; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--gold); margin-bottom: 0.25rem; }
@media (min-width: 760px) { .hero-pillars { grid-template-columns: repeat(4, 1fr); } }

/* Inner page hero */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + var(--space-6)) 0 var(--space-6);
  background: radial-gradient(55% 60% at 85% 20%, rgba(201, 162, 74, 0.14), transparent 70%), var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.page-hero .display-1 { font-size: clamp(2.3rem, 6vw, 4.75rem); max-width: 18ch; }
.page-hero .lead { margin-top: var(--space-4); }
.page-hero .prose { margin-top: var(--space-3); }

/* ---------- Intro split ---------- */
.split { display: grid; gap: var(--space-5); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
  .split-sticky > :first-child { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
}

.stage-list { display: grid; gap: 0; margin-top: var(--space-4); border-top: 1px solid var(--line-light); }
.stage-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
}
.stage-list li span { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- Service cards ---------- */
.card-grid { display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .card-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.card:hover { border-color: rgba(201, 162, 74, 0.45); }
.card-featured { border-color: rgba(201, 162, 74, 0.55); background: linear-gradient(180deg, rgba(201, 162, 74, 0.08), transparent 45%), var(--ink-2); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.card .h-card { margin-bottom: var(--space-2); }
.card-kicker { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; line-height: 1.35; color: var(--gold-soft); margin-bottom: var(--space-2); }
.card-body { color: var(--muted-on-dark); }
.card-list-label { margin: var(--space-4) 0 var(--space-2); }
.card .link-arrow, .card .btn { margin-top: auto; }
.card-foot { margin-top: auto; padding-top: var(--space-4); }

.checks { display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checks .icon { color: var(--gold); margin-top: 0.3em; width: 1em; height: 1em; stroke-width: 2.25; }
.section-light .checks .icon { color: var(--gold-deep); }

.section-light .card { background: var(--card-light); border-color: var(--line-light); }
.section-light .card:hover { border-color: var(--gold-deep); }
.section-light .card-body { color: var(--muted-on-light); }
.section-light .card-kicker { color: var(--gold-deep); }

/* ---------- Numbered pillars ---------- */
.pillars { display: grid; border-top: 1px solid var(--line-dark); }
.pillars > li {
  display: grid; gap: var(--space-1);
  padding: var(--space-4) 0; border-bottom: 1px solid var(--line-dark);
}
.pillars h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; font-weight: 700; }
.pillars p { color: var(--muted-on-dark); max-width: 56ch; }
.section-light .pillars, .section-light .pillars > li { border-color: var(--line-light); }
.section-light .pillars p { color: var(--muted-on-light); }
@media (min-width: 760px) {
  .pillars > li { grid-template-columns: 5rem 1fr 1.3fr; align-items: baseline; gap: var(--space-4); }
}

.tiles { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.tiles > li { background: var(--ink); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: var(--space-2); align-content: start; }
.tiles h3 { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; font-weight: 700; }
.tiles p { color: var(--muted-on-dark); }
.section-dark-2 .tiles > li { background: var(--ink-2); }
.section-light .tiles { background: var(--line-light); border-color: var(--line-light); }
.section-light .tiles > li { background: var(--ivory); }
.section-light .tiles p { color: var(--muted-on-light); }
@media (min-width: 640px) { .tiles-2, .tiles-4, .tiles-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .tiles-4 { grid-template-columns: repeat(4, 1fr); }
  .tiles-5 { grid-template-columns: repeat(6, 1fr); }
  .tiles-5 > li { grid-column: span 2; }
  .tiles-5 > li:nth-child(4), .tiles-5 > li:nth-child(5) { grid-column: span 3; }
}

/* ---------- Community checklist ---------- */
.explore-box { border: 1px solid var(--line-light); background: var(--card-light); padding: clamp(1.5rem, 3vw, 2.5rem); }
.explore-grid { display: grid; gap: 0; margin-top: var(--space-3); }
.explore-grid li {
  display: flex; gap: 0.8rem; align-items: center;
  padding: 0.95rem 0; border-bottom: 1px solid var(--line-light); font-weight: 500;
}
.explore-grid li:last-child { border-bottom: 0; }
.explore-grid .icon { color: var(--gold-deep); width: 1em; height: 1em; stroke-width: 2.25; }
@media (min-width: 640px) {
  .explore-grid { grid-template-columns: 1fr 1fr; column-gap: var(--space-4); }
  .explore-grid li:nth-last-child(2) { border-bottom: 0; }
}

.contrast-lines { display: grid; gap: var(--space-2); margin: var(--space-4) 0; }
.contrast-lines p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.3; }
.contrast-lines p:last-child { color: var(--gold-deep); font-style: italic; }

/* ---------- Programs ---------- */
.sub-nav {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(13, 12, 10, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.sub-nav ul { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; padding-block: 0.5rem; }
.sub-nav ul::-webkit-scrollbar { display: none; }
.sub-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; white-space: nowrap;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-on-dark); text-decoration: none; border: 1px solid transparent; border-radius: 999px;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.sub-nav a:hover, .sub-nav a.is-active { color: var(--gold-soft); border-color: rgba(201, 162, 74, 0.45); }

.program { padding-block: var(--space-6); border-bottom: 1px solid var(--line-dark); }
.program:last-child { border-bottom: 0; }
.program-grid { display: grid; gap: var(--space-4); }
.program-name { display: grid; gap: var(--space-1); align-content: start; }
.program-name h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; font-weight: 800; }
.program-name .sub { color: var(--muted-on-dark); font-size: 0.95rem; }
.program-body h3 { margin-bottom: var(--space-3); }
.program-body .prose { margin-bottom: var(--space-3); }
.program-tagline { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.12rem; color: var(--gold-soft); margin-bottom: var(--space-3); }
.program-gets { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; margin: var(--space-2) 0 var(--space-4); }
.program-gets li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.program-gets .icon { color: var(--gold); margin-top: 0.3em; width: 0.95em; height: 0.95em; stroke-width: 2.25; }
@media (max-width: 479px) { .program-gets { grid-template-columns: 1fr; } }
@media (min-width: 900px) {
  .program-grid { grid-template-columns: 0.8fr 1.4fr; gap: var(--space-6); }
  .program-name { position: sticky; top: calc(var(--header-h) + 80px); }
}

/* ---------- Mentorship tiers ---------- */
.tier-badge {
  display: inline-block; padding: 0.3rem 0.7rem; border: 1px solid rgba(201, 162, 74, 0.5);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft);
}

/* ---------- Tools ---------- */
.tool-grid { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tool-grid { grid-template-columns: repeat(3, 1fr); } }
.tool {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: clamp(1.5rem, 3vw, 2rem); background: var(--card-light); border: 1px solid var(--line-light);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.tool:hover { border-color: var(--gold-deep); transform: translateY(-2px); }
.tool-icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line-light); color: var(--gold-deep); margin-bottom: var(--space-1);
}
.tool-icon .icon { width: 22px; height: 22px; }
.tool h3 { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; font-weight: 700; }
.tool-line { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.02rem; color: var(--gold-deep); line-height: 1.3; }
.tool p:not(.tool-line) { color: var(--muted-on-light); font-size: 0.95rem; }
.tool .link-arrow { margin-top: auto; }
.tool-group-title { display: flex; align-items: baseline; gap: 1rem; margin: var(--space-6) 0 var(--space-3); }
.tool-group-title:first-child { margin-top: 0; }
.tool-group-title h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 1.9rem); font-weight: 800; }

/* ---------- Books ---------- */
.book-list { display: grid; gap: var(--space-6); }
.book { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 820px) {
  .book { grid-template-columns: 300px 1fr; gap: var(--space-6); }
  .book:nth-child(even) { grid-template-columns: 1fr 300px; }
  .book:nth-child(even) .book-cover-wrap { order: 2; }
}
.book-cover-wrap { display: flex; justify-content: center; perspective: 1200px; }
.book-cover {
  position: relative; width: min(260px, 72vw); aspect-ratio: 2 / 3;
  padding: 1.75rem 1.5rem 1.5rem 2rem;
  display: flex; flex-direction: column;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.45) 0, rgba(0,0,0,0) 7%, rgba(255,255,255,0.06) 8%, rgba(0,0,0,0) 12%),
    radial-gradient(120% 80% at 80% 0%, rgba(201,162,74,0.22), transparent 60%),
    var(--ink-3);
  color: var(--text-on-dark);
  box-shadow: 0 30px 50px -20px rgba(0,0,0,0.55), 0 8px 16px -8px rgba(0,0,0,0.4);
  transform: rotateY(-8deg);
  transition: transform var(--dur-slow) var(--ease-out);
}
.book:hover .book-cover { transform: rotateY(0deg); }
.book-cover::before { content: ""; position: absolute; inset: 0.75rem 0.75rem 0.75rem 1.25rem; border: 1px solid rgba(201,162,74,0.35); pointer-events: none; }
.book-cover-top { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.book-cover-title { margin-top: auto; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.12; font-weight: 800; }
.book-cover-rule { width: 2.5rem; height: 1px; background: var(--gold); margin: 1rem 0 0.75rem; }
.book-cover-foot { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-on-dark); }
.book-info h3 { margin: var(--space-1) 0 var(--space-3); }
.topics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--space-3) 0 var(--space-2); }
.topics li {
  padding: 0.4rem 0.85rem; border: 1px solid var(--line-light); border-radius: 999px;
  font-size: 0.78rem; font-weight: 500; color: var(--text-on-light);
}

/* ---------- About ---------- */
.quote-block {
  margin: var(--space-4) 0; padding-left: var(--space-3); border-left: 2px solid var(--gold);
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.3;
}
.section-light .quote-block { border-left-color: var(--gold-deep); }
.word-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: var(--space-3) 0; }
.word-row span { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; color: var(--gold); }
.section-light .word-row span { color: var(--gold-deep); }
.growth-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-3); }
.growth-list li { padding: 0.45rem 0.95rem; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 0.85rem; }
.timeline { display: grid; gap: var(--space-3); margin: var(--space-4) 0; border-left: 1px solid var(--line-light); padding-left: var(--space-3); }
.timeline p { position: relative; color: var(--muted-on-light); }
.timeline p::before { content: ""; position: absolute; left: calc(-1 * var(--space-3) - 4px); top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); }
.timeline strong { color: var(--text-on-light); font-weight: 600; }

/* ---------- Final CTA ---------- */
.final-cta {
  padding-block: var(--space-7); text-align: center; overflow: hidden; position: relative;
  background: radial-gradient(50% 70% at 50% 100%, rgba(201,162,74,0.18), transparent 70%), var(--ink);
  border-top: 1px solid var(--line-dark);
}
.final-cta-inner { max-width: 900px; }
.final-cta .display-2 { margin-inline: auto; }
.final-cta-lines { display: grid; gap: 0.35rem; margin: var(--space-4) 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1.7vw, 1.3rem); font-style: italic; font-weight: 600; color: var(--gold-soft); }
.final-cta .lead { margin-inline: auto; }

/* ---------- Join form ---------- */
.form-card { background: var(--ink-2); border: 1px solid var(--line-dark); padding: clamp(1.5rem, 4vw, 3rem); }
.form-grid { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.field .opt { color: var(--muted-on-dark); font-weight: 500; letter-spacing: 0.04em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--text-on-dark);
  background: var(--ink); border: 1px solid rgba(232, 220, 196, 0.28); border-radius: var(--radius);
  transition: border-color var(--dur-fast) ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(232, 220, 196, 0.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.25); }
.field [aria-invalid="true"] { border-color: #e5877a; }
.field-error { color: #f0a497; font-size: 0.875rem; min-height: 0; }
.field-hint { color: var(--muted-on-dark); font-size: 0.875rem; }
.field label.consent { text-transform: none; letter-spacing: 0; font-weight: 400; }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted-on-dark); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 0.2rem; accent-color: var(--gold); flex: none; }
.form-status { margin-top: var(--space-3); padding: 1rem 1.25rem; border: 1px solid rgba(201,162,74,0.45); background: rgba(201,162,74,0.08); }
.form-status[hidden] { display: none; }
.form-status.is-error { border-color: #e5877a; background: rgba(229,135,122,0.08); }
.contact-aside { display: grid; gap: var(--space-4); align-content: start; }
.contact-aside .checks li { color: var(--muted-on-dark); }
.contact-direct { color: var(--muted-on-dark); }
.contact-direct a { color: var(--gold-soft); text-underline-offset: 3px; word-break: break-word; }

/* ---------- Fine print / disclaimers ---------- */
.fine-print { margin-top: var(--space-4); max-width: 80ch; font-size: 0.875rem; line-height: 1.6; color: var(--muted-on-dark); }
.fine-print a, .footer-disclaimer a, .consent a { color: var(--gold-soft); text-underline-offset: 3px; }
.section-light .fine-print { color: var(--muted-on-light); }
.section-light .fine-print a { color: var(--gold-deep); }
.footer-disclaimer { margin-bottom: 0.5rem; max-width: 90ch; }

/* ---------- Legal pages ---------- */
.legal { max-width: 76ch; }
.legal h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; margin: var(--space-5) 0 var(--space-2); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.05rem; font-weight: 700; margin: var(--space-3) 0 var(--space-1); }
.legal p, .legal li { color: var(--muted-on-light); }
.legal p + p { margin-top: 0.9em; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin: 0.75em 0; display: grid; gap: 0.4em; }
.legal a { color: var(--gold-deep); text-underline-offset: 3px; }
.legal strong { color: var(--text-on-light); }
.legal-meta { color: var(--muted-on-dark); margin-top: var(--space-3); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: #090807; border-top: 1px solid var(--line-dark); padding: var(--space-6) 0 var(--space-3); }
.footer-top { display: grid; gap: var(--space-5); }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.25rem; color: var(--gold-soft); margin-top: var(--space-3); }
.footer-desc { color: var(--muted-on-dark); max-width: 36ch; margin-top: var(--space-1); font-size: 0.95rem; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-3); }
.footer-cols h3 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-2); }
.footer-cols a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted-on-dark); text-decoration: none; font-size: 0.92rem; transition: color var(--dur-fast) ease; }
.footer-cols a:hover { color: var(--text-on-dark); }
.footer-bottom { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--line-dark); color: var(--muted-on-dark); font-size: 0.85rem; }
@media (min-width: 700px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 2.4fr; gap: var(--space-6); }
  .footer-cols { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(10px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 50ms; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 100ms; }
.js .reveal-stagger.is-visible > *:nth-child(n+4) { transition-delay: 150ms; }

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