@import url("assets/fonts.css");

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */
:root {
  --navy-950: #070c16;
  --navy-900: #0b1220;
  --navy-850: #101827;
  --navy-800: #151e30;
  --navy-700: #1c263c;
  --olive-700: #4a5336;
  --olive-500: #7a8458;
  --olive-300: #b3bb8f;
  --gold-600: #b59658;
  --gold-500: #c9b07a;
  --gold-400: #d8c496;
  --gold-200: #ead9b0;
  --cream: #f3ede1;
  --cream-soft: #d9d1c2;
  --cream-muted: #b4aa98;
  --line: rgba(201, 176, 122, 0.22);
  --line-strong: rgba(201, 176, 122, 0.38);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --wrap: 70rem;
  --narrow: 42rem;
  --header-h: 4.75rem;
  --radius: 4px;
  --focus: 0 0 0 3px var(--navy-900), 0 0 0 5px var(--gold-500);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--cream-soft);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

cite {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--cream);
}

a {
  color: var(--gold-400);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-200);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.wrap {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(calc(100% - 2.5rem), var(--narrow));
}

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


.nowrap {
  white-space: nowrap;
}

h1, h2, blockquote p {
  text-wrap: balance;
}

h1, h2, h3 {
  font-variant-numeric: lining-nums;
}

.only-wide {
  display: none;
}

@media (min-width: 861px) {
  .only-wide {
    display: block;
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
  color: var(--navy-950);
  box-shadow: var(--focus);
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cream);
  line-height: 1.15;
}

.wordmark:hover {
  color: var(--gold-200);
}

.wordmark-kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.wordmark-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--cream-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-400);
}

.nav-short {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.45rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-note {
  font-weight: 500;
  opacity: 0.82;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
}

.btn-primary:hover {
  background: var(--gold-200);
  border-color: var(--gold-200);
  color: var(--navy-950);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-200);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background: rgba(201, 176, 122, 0.1);
  color: var(--gold-200);
  border-color: var(--gold-500);
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  padding: 5.5rem 0 6.25rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(122, 132, 88, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(201, 176, 122, 0.08), transparent 55%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 176, 122, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 176, 122, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  max-width: 52rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.6rem;
  color: var(--gold-500);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-mark {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gold-500);
}

.hero h1 {
  margin: 0 0 1.4rem;
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 5.2vw, 3.65rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--cream);
}

.hero-first,
.hero-second {
  display: block;
  text-wrap: balance;
}

.hero-sub {
  margin: 0 auto 2.2rem;
  max-width: 38rem;
  font-size: 1.2rem;
  color: var(--cream-soft);
}

.hero-actions {
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */
.section {
  padding: 5rem 0 5.25rem;
}

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

.section-header {
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

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

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--cream);
}

.section-intro,
.section-who p,
.outcome p {
  margin: 0 0 1.15rem;
}

.section-who {
  background:
    linear-gradient(180deg, rgba(122, 132, 88, 0.06), transparent 40%),
    var(--navy-850);
  text-align: center;
}

.section-who .lead {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--cream);
  margin-bottom: 1.35rem;
}

.section-who .section-label {
  margin-bottom: 1.25rem;
}

/* ------------------------------------------------------------------ */
/* Assessment pillars                                                  */
/* ------------------------------------------------------------------ */
.pillar-grid,
.tool-grid,
.door-grid {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.pillar-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pillar-card,
.tool-card,
.door-card {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.7rem 1.55rem 1.8rem;
  box-shadow: var(--shadow);
}

.pillar-name {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.02em;
}

.pillar-card p:last-child,
.tool-card p:last-child {
  margin-bottom: 0;
}

.pillar-card p {
  margin: 0;
  color: var(--cream-soft);
}

.outcome {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.fine-print {
  font-size: 0.98rem;
  font-style: italic;
  color: var(--cream-muted);
}

.outcome .btn {
  margin-top: 0.6rem;
}

/* ------------------------------------------------------------------ */
/* Printable tools                                                     */
/* ------------------------------------------------------------------ */
.section-tools {
  background: var(--navy-850);
}

.tool-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0;
}

.tool-card {
  position: relative;
  padding-top: 1.4rem;
}

.status-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: var(--olive-300);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tool-card h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
}

.tool-meta {
  margin: 0 0 0.85rem;
  color: var(--gold-500);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* Two doors                                                           */
/* ------------------------------------------------------------------ */
.door-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-bottom: 0;
}

.door-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.8rem 1.9rem;
}

.door-kicker {
  margin: 0 0 0.55rem;
  color: var(--gold-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.door-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
}

.price {
  display: inline-block;
  margin-left: 0.55rem;
  padding: 0.08rem 0.48rem 0.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: var(--gold-200);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: lining-nums tabular-nums;
  vertical-align: 0.12em;
}

.door-card p {
  margin: 0 0 1rem;
}

.door-card p:last-of-type {
  margin-bottom: 0;
}

.door-action {
  margin-top: auto !important;
  padding-top: 1.4rem;
}

.door-card strong {
  color: var(--cream);
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* From Marcus                                                         */
/* ------------------------------------------------------------------ */
.section-marcus {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(201, 176, 122, 0.08), transparent 60%),
    var(--navy-950);
  text-align: center;
}

.section-marcus .section-label {
  margin-bottom: 1.5rem;
}

.section-marcus blockquote {
  margin: 0 0 1.8rem;
  padding: 0;
  border: 0;
}

.section-marcus blockquote p {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--cream);
}

.marcus-signoff {
  margin: 0 0 1.5rem;
  text-wrap: pretty;
}

.marcus-name {
  margin: 0;
  color: var(--gold-500);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer {
  padding: 2.75rem 0 3rem;
  border-top: 1px solid var(--line);
  background: var(--navy-950);
}

.disclaimer {
  margin: 0 0 1.5rem;
  max-width: 46rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--cream-muted);
}

.footer-brand {
  margin: 0;
  color: var(--cream-soft);
  font-size: 0.98rem;
}

.footer-brand cite {
  font-style: italic;
}

.footer-sep {
  margin: 0 0.45rem;
  color: var(--gold-600);
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 860px) {
  .pillar-grid,
  .tool-grid,
  .door-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.45rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .nav-full {
    display: none;
  }

  .nav-short {
    display: inline;
  }

  .site-nav {
    width: 100%;
    overflow: visible;
  }

  .site-nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.2rem 0.85rem;
    width: 100%;
  }

  .site-nav a {
    white-space: nowrap;
    font-size: 0.8rem;
  }

  .hero {
    padding: 3.75rem 0 4.25rem;
  }

  .section {
    padding: 3.75rem 0 4rem;
  }

  html {
    --header-h: 5.6rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1.05rem;
  }

  .wrap,
  .wrap.narrow {
    width: min(calc(100% - 1.75rem), var(--wrap));
  }

  .hero h1 {
    font-size: clamp(1.95rem, 9vw, 2.5rem);
  }

  .hero-sub {
    font-size: 1.08rem;
  }

  .btn {
    width: 100%;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .pillar-card,
  .tool-card,
  .door-card {
    padding: 1.4rem 1.2rem 1.5rem;
  }

  .door-card {
    padding: 1.5rem 1.25rem 1.5rem;
  }
}

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

  .btn {
    transition: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--navy-900);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media print {
  .site-header {
    position: static;
    background: #fff;
  }

  body {
    background: #fff;
    color: #111;
  }

  .btn {
    border: 1px solid #111;
    color: #111;
    background: transparent;
  }
}
