@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --ink: #11130f;
  --ink-soft: #191b17;
  --ink-lift: #20221d;
  --paper: #f4f1e9;
  --paper-muted: #b8b8ad;
  --gold: #e4be67;
  --gold-bright: #f0d38e;
  --line: rgba(244, 241, 233, 0.17);
  --content: 1200px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  font-family: "DM Sans", sans-serif;
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 5px; }
::selection { background: var(--gold); color: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }
.loading-state { min-height: 100vh; display: grid; place-items: center; color: var(--paper-muted); }
.page-shell { overflow: hidden; }
.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(244, 241, 233, 0.16);
}
.nav-shell {
  width: min(100%, var(--content));
  min-height: 82px;
  padding: 0 var(--gutter);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.wordmark, .footer-brand {
  font-family: Manrope, sans-serif;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.wordmark { min-height: 44px; display: inline-flex; align-items: center; }
.nav-actions { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.nav-link { color: rgba(244, 241, 233, 0.78); font-size: 0.82rem; }
.nav-link:hover, .resource-link:hover { color: var(--gold-bright); }

.button {
  min-height: 50px;
  padding: 0.9rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0.65rem 0.95rem; border-color: rgba(244, 241, 233, 0.42); }
.button-small:hover { border-color: var(--gold); color: var(--gold-bright); }
.button-primary { background: var(--gold); color: #17170f; }
.button-primary:hover { background: var(--gold-bright); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--gold-bright); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(820px, 100svh);
  padding: 170px var(--gutter) 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 50%, rgba(177, 137, 60, 0.18), transparent 31%),
    linear-gradient(110deg, #11130f 0%, #141611 48%, #202019 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.hero::before {
  width: min(64vw, 850px);
  aspect-ratio: 1;
  right: -5%;
  top: 47%;
  transform: translateY(-50%);
  border: 1px solid rgba(228, 190, 103, 0.23);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(228, 190, 103, 0.025), 0 0 0 128px rgba(228, 190, 103, 0.018), inset 0 0 100px rgba(228, 190, 103, 0.04);
}
.hero::after {
  width: min(42vw, 510px);
  height: min(42vw, 510px);
  right: 8%;
  top: 47%;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid rgba(228, 190, 103, 0.12);
  background: linear-gradient(140deg, rgba(244, 241, 233, 0.045), transparent 60%);
}
.hero-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}
.hero-directory .hero-inner { display: block; }
.hero-directory .hero-inner > *:not(.hero-art) { max-width: 710px; }
.hero-kicker, .section-kicker {
  margin: 0 0 1.2rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero h1, .not-found h1 {
  max-width: 820px;
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(3.15rem, 6.5vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.99;
  white-space: pre-line;
  text-wrap: balance;
}
.hero-summary {
  max-width: 610px;
  margin: 1.6rem 0 2rem;
  color: rgba(244, 241, 233, 0.76);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}
.hero-note { margin: 0.9rem 0 0; color: var(--paper-muted); font-size: 0.78rem; }
.hero-art { position: absolute; inset: 0; z-index: -1; color: transparent; }
.campaign-hero-copy { max-width: 710px; }
.campaign-graphic {
  justify-self: center;
  width: min(100%, 390px);
  aspect-ratio: 0.84;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228, 190, 103, 0.42);
  color: rgba(240, 211, 142, 0.84);
  font-family: Manrope, sans-serif;
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 800;
  letter-spacing: -0.12em;
  line-height: 1;
  text-shadow: 0 0 55px rgba(228, 190, 103, 0.12);
  background:
    linear-gradient(155deg, rgba(228, 190, 103, 0.12), transparent 40%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(244, 241, 233, 0.025) 19px 20px),
    rgba(17, 19, 15, 0.15);
  box-shadow: 20px 20px 0 rgba(228, 190, 103, 0.06);
}

.content-section { padding: clamp(5rem, 10vw, 9rem) var(--gutter); background: var(--paper); color: var(--ink); }
.disclosure-content { min-height: 100vh; padding-top: 150px; }
.disclosure-article { width: min(100%, 850px); margin: 0 auto; }
.disclosure-article h1 { margin: 0 0 3rem; font-family: Manrope, sans-serif; font-size: clamp(2.5rem, 6vw, 4.8rem); font-weight: 500; letter-spacing: -0.065em; line-height: 1.02; text-wrap: balance; }
.disclosure-article h2 { margin: 2.5rem 0 0; font-family: Manrope, sans-serif; font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 600; letter-spacing: -0.04em; }
.disclosure-article .section-intro { margin-top: 0.75rem; }
.disclosure-article .button { margin-top: 2rem; }
.section-heading, .program-list { width: min(100%, var(--content)); margin-inline: auto; }
.section-heading { margin-bottom: 2.5rem; }
.section-heading .section-kicker { color: #826523; }
.section-heading h2, .moonshine-copy h2, .details-inner h2, .separate-path-inner h2 {
  max-width: 760px;
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.05;
  text-wrap: balance;
}
.section-intro { max-width: 680px; margin: 1rem 0 0; color: #5e6057; font-size: 1rem; line-height: 1.7; }
.program-list { border-top: 1px solid rgba(17, 19, 15, 0.23); }
.program-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(150px, auto);
  gap: 1.5rem;
  align-items: center;
  padding: 1.55rem 0;
  border-bottom: 1px solid rgba(17, 19, 15, 0.23);
}
.program-number { align-self: start; padding-top: 0.15rem; color: #8b733e; font-size: 0.75rem; letter-spacing: 0.12em; }
.program-copy h3 { margin: 0.25rem 0 0.4rem; font-family: Manrope, sans-serif; font-size: clamp(1.25rem, 2vw, 1.8rem); font-weight: 600; letter-spacing: -0.04em; }
.item-kicker { margin: 0; color: #797a70; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; }
.item-description { max-width: 620px; margin: 0; color: #5e6057; font-size: 0.9rem; line-height: 1.55; }
.program-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.text-arrow { min-height: 44px; display: inline-flex; align-items: center; gap: 0.7rem; color: #26271e; font-size: 0.83rem; font-weight: 700; }
.hero .text-arrow.provider-info-link { color: var(--paper); }
.hero .text-arrow.provider-info-link:hover { color: var(--gold-bright); }
.text-arrow::after { content: "↗"; color: #8b733e; font-size: 1rem; transition: transform 160ms ease; }
.hero .text-arrow.provider-info-link::after { color: var(--gold); }
.text-arrow:hover::after { transform: translate(3px, -3px); }
.resource-link { min-height: 44px; display: inline-flex; align-items: center; color: #66675f; font-size: 0.73rem; text-decoration: underline; text-decoration-color: rgba(17, 19, 15, 0.25); text-underline-offset: 3px; }

.moonshine-section, .separate-path-section { padding: clamp(4.5rem, 8vw, 7rem) var(--gutter); background: #262920; }
.moonshine-inner, .separate-path-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  align-items: center;
  gap: 3rem;
}
.moonshine-copy .section-kicker, .separate-path-inner .section-kicker { color: var(--gold); }
.moonshine-copy h2, .separate-path-inner h2 { max-width: 640px; color: var(--paper); }
.moonshine-copy .section-intro, .separate-path-inner .section-intro { color: rgba(244, 241, 233, 0.68); }
.moonshine-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.text-arrow-light { color: var(--paper); }
.text-arrow-light::after { color: var(--gold); }

.steps-section { padding-bottom: clamp(4.5rem, 8vw, 7rem); }
.steps-grid {
  width: min(100%, var(--content));
  margin: 3.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(17, 19, 15, 0.23);
  border-bottom: 1px solid rgba(17, 19, 15, 0.23);
}
.step-item { min-height: 210px; padding: 1.5rem; border-right: 1px solid rgba(17, 19, 15, 0.23); }
.step-item:first-child { padding-left: 0; }
.step-item:last-child { border-right: 0; }
.step-number { color: #8b733e; font-size: 0.75rem; letter-spacing: 0.12em; }
.step-item h3 { margin: 1.7rem 0 0.5rem; font-family: Manrope, sans-serif; font-size: 1.4rem; letter-spacing: -0.04em; }
.step-item p { max-width: 290px; margin: 0; color: #5e6057; font-size: 0.9rem; line-height: 1.6; }

.details-section { padding: clamp(4.5rem, 8vw, 7rem) var(--gutter); background: var(--ink-soft); }
.details-inner { width: min(100%, 900px); margin: 0 auto; }
.details-inner h2 { max-width: 700px; color: var(--paper); font-size: clamp(2rem, 3.5vw, 3rem); }
.detail-list { max-width: 760px; margin: 2rem 0 0; padding: 0; list-style: none; }
.detail-list li { position: relative; padding: 1rem 0 1rem 1.5rem; border-top: 1px solid var(--line); color: rgba(244, 241, 233, 0.74); font-size: 0.92rem; line-height: 1.65; }
.detail-list li::before { content: ""; position: absolute; top: 1.65rem; left: 0; width: 6px; height: 6px; background: var(--gold); }
.separate-path-section { background: #303127; }
.separate-path-inner { grid-template-columns: minmax(0, 1fr) auto; }
.separate-path-inner .button { grid-column: 2; grid-row: 1; }
.separate-path-inner .text-arrow { grid-column: 2; justify-self: start; }

.site-footer { padding: 2.5rem var(--gutter) 2rem; background: #0b0d0a; }
.footer-inner { width: min(100%, var(--content)); margin: 0 auto; }
.footer-brand { margin: 0 0 1.25rem; color: var(--gold); }
.disclosures { max-width: 820px; color: rgba(244, 241, 233, 0.56); font-size: 0.72rem; line-height: 1.65; }
.disclosures p { margin: 0 0 0.55rem; }
.copyright { margin: 1.4rem 0 0; color: rgba(244, 241, 233, 0.38); font-size: 0.68rem; }
.not-found { min-height: 100vh; padding: 160px var(--gutter) 5rem; }
.not-found .site-header { top: 0; }
.not-found > .hero-kicker, .not-found > h1, .not-found > .button { display: block; width: min(100%, 800px); margin: 0 auto 1rem; }
.not-found > .hero-kicker { margin-top: 3rem; }
.not-found > h1 { margin-bottom: 2rem; }
.not-found .site-footer { margin: 6rem calc(-1 * var(--gutter)) -5rem; }

@media (max-width: 760px) {
  .nav-shell { min-height: 72px; }
  .wordmark { font-size: 0.7rem; }
  .nav-actions { gap: 0.8rem; }
  .nav-link { display: none; }
  .button-small { min-height: 44px; padding: 0.55rem 0.7rem; font-size: 0.7rem; }
  .hero { min-height: min(790px, 100svh); padding-top: 145px; padding-bottom: 70px; }
  .hero-inner { display: block; }
  .hero-campaign .campaign-graphic { position: absolute; z-index: -1; top: 50%; right: -15%; width: min(66vw, 330px); transform: translateY(-42%); opacity: 0.19; }
  .hero-campaign::before { right: -38%; width: 105vw; }
  .hero-campaign::after { right: -18%; width: 70vw; height: 70vw; }
  .hero h1 { max-width: 600px; font-size: clamp(3rem, 11vw, 5rem); }
  .hero-summary { max-width: 520px; font-size: 1rem; }
  .program-row { grid-template-columns: 36px minmax(0, 1fr); gap: 0.8rem; align-items: start; }
  .program-actions { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.25rem; margin-top: 0.5rem; }
  .moonshine-inner, .separate-path-inner { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .step-item, .step-item:first-child { min-height: auto; padding: 1.25rem 0; border-right: 0; border-bottom: 1px solid rgba(17, 19, 15, 0.23); }
  .step-item:last-child { border-bottom: 0; }
  .step-item h3 { margin-top: 0.9rem; }
  .separate-path-inner .button, .separate-path-inner .text-arrow { grid-column: 1; grid-row: auto; }
}

@media (max-width: 430px) {
  .hero-directory .hero-inner > *:not(.hero-art) { max-width: 100%; }
  .hero-kicker { max-width: 255px; font-size: 0.63rem; }
  .hero h1 { font-size: 3.15rem; }
  .hero .button { width: 100%; }
  .campaign-hero-copy .button { max-width: 100%; }
  .program-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
