/* Art direction: Luxury nonprofit — high-end Swiss watch brand meets prestigious scholarship foundation
   Palette: warm navy/gold, deep surfaces, cream for light mode
   Typography: Cormorant Garamond (display) + Inter (body) — heritage serif meets modern clarity
   Density: spacious — luxury breathes */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* 4px Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}

/* ============================================================
   LIGHT MODE (default)
   ============================================================ */

:root, [data-theme="light"] {
  --color-bg: #FAF9F6;
  --color-surface: #F5F3EF;
  --color-surface-2: #FFFFFF;
  --color-surface-offset: #EDEAE4;
  --color-divider: #D4D1CA;
  --color-border: #C9C5BC;

  --color-text: #1B2A4A;
  --color-text-muted: #5A6B7A;
  --color-text-faint: #9AA5B0;
  --color-text-inverse: #FAF9F6;

  --color-primary: #C9A84C;
  --color-primary-hover: #B89535;
  --color-primary-active: #A07D20;

  /* Semantic */
  --color-error: #a13544;
  --color-success: #437a22;
  --color-warning: #964219;

  /* Shadows (warm-tinted) */
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 60 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.02 60 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.02 60 / 0.12);
}

/* ============================================================
   DARK MODE
   ============================================================ */

[data-theme="dark"] {
  --color-bg: #0D1B2A;
  --color-surface: #132237;
  --color-surface-2: #1B2A4A;
  --color-surface-offset: #162540;
  --color-divider: #243A54;
  --color-border: #2D4565;

  --color-text: #E8E6E1;
  --color-text-muted: #8A95A5;
  --color-text-faint: #5A6B7A;
  --color-text-inverse: #0D1B2A;

  --color-primary: #D4B65E;
  --color-primary-hover: #E0C56E;
  --color-primary-active: #C9A84C;

  --color-error: #dd6974;
  --color-success: #6daa45;
  --color-warning: #bb653b;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}

/* System preference fallback */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0D1B2A;
    --color-surface: #132237;
    --color-surface-2: #1B2A4A;
    --color-surface-offset: #162540;
    --color-divider: #243A54;
    --color-border: #2D4565;
    --color-text: #E8E6E1;
    --color-text-muted: #8A95A5;
    --color-text-faint: #5A6B7A;
    --color-text-inverse: #0D1B2A;
    --color-primary: #D4B65E;
    --color-primary-hover: #E0C56E;
    --color-primary-active: #C9A84C;
    --color-error: #dd6974;
    --color-success: #6daa45;
    --color-warning: #bb653b;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}

/* ============================================================
   GLOBAL STYLES
   ============================================================ */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); letter-spacing: 0.01em; }
h3 { font-size: var(--text-xl); }

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: oklch(from var(--color-primary) l c h / 0.3);
  text-underline-offset: 3px;
  transition: color var(--transition-interactive),
              text-decoration-color var(--transition-interactive);
}

a:hover {
  color: var(--color-primary-hover);
  text-decoration-color: var(--color-primary-hover);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

.container--narrow {
  max-width: var(--content-default);
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .header__inner { padding-inline: var(--space-8); }
}

.header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.header__brand:hover {
  color: var(--color-text);
  text-decoration: none;
}

.header__logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.header__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 900px) {
  .nav { display: flex; }
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-1);
  transition: color var(--transition-interactive);
}

.nav__link:hover {
  color: var(--color-text);
  text-decoration: none;
}

.nav__link--active {
  color: var(--color-text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive),
              background var(--transition-interactive);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* Mobile Menu Button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
  border-radius: var(--radius-md);
  transition: background var(--transition-interactive);
}

.menu-toggle:hover {
  background: var(--color-surface-offset);
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 99;
  background: var(--color-bg);
  padding-top: 80px;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.mobile-nav--open {
  display: flex;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  transition: color var(--transition-interactive);
}

.mobile-nav__link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn--primary {
  background: var(--color-primary);
  color: #1B2A4A;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  color: #1B2A4A;
}

.btn--secondary {
  background: transparent;
  color: var(--color-text-inverse);
  border: 1px solid oklch(from var(--color-text-inverse) l c h / 0.4);
}

.btn--secondary:hover {
  background: oklch(from var(--color-text-inverse) l c h / 0.1);
  color: var(--color-text-inverse);
  border-color: oklch(from var(--color-text-inverse) l c h / 0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn--ghost:hover {
  background: oklch(from var(--color-primary) l c h / 0.1);
  color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.btn--nav {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-5);
  background: var(--color-primary);
  color: #1B2A4A;
  border-radius: var(--radius-sm);
}

.btn--nav:hover {
  background: var(--color-primary-hover);
  color: #1B2A4A;
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero--short {
  min-height: 60dvh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(0.1 0.02 250 / 0.25) 0%,
    oklch(0.08 0.02 250 / 0.5) 35%,
    oklch(0.06 0.02 250 / 0.7) 65%,
    oklch(0.05 0.02 250 / 0.85) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-16) var(--space-4) var(--space-8);
  max-width: 800px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.hero__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.1;
  color: #FAF9F6;
  margin-bottom: var(--space-6);
}

.hero__subheading {
  font-size: var(--text-lg);
  font-weight: 400;
  color: oklch(0.9 0.01 80 / 0.85);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-inline: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* ============================================================
   STATS RIBBON
   ============================================================ */

.stats-ribbon {
  background: #1B2A4A;
  padding-block: clamp(var(--space-8), 4vw, var(--space-16));
}

[data-theme="dark"] .stats-ribbon {
  background: #132237;
}

.stats-ribbon__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #C9A84C;
  line-height: 1;
}

[data-theme="dark"] .stat__number {
  color: #D4B65E;
}

.stat__label {
  font-size: var(--text-sm);
  color: #E8E6E1;
  opacity: 0.8;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */

.section-header {
  text-align: center;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-16));
}

.section-header__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-header__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
}

/* Two-column layout with image */
.content-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
}

@media (min-width: 768px) {
  .content-split { grid-template-columns: 1fr 1fr; }
  .content-split--reverse { direction: rtl; }
  .content-split--reverse > * { direction: ltr; }
}

.content-split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.content-split__image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-split__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.content-split__text h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
}

.content-split__text p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: box-shadow var(--transition-interactive),
              border-color var(--transition-interactive);
}

.card--gold-accent {
  border-top: 3px solid var(--color-primary);
}

.card__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.card__amount {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
  align-items: stretch;
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
}

/* ============================================================
   TIER CARDS (Donate & Dealer pages)
   ============================================================ */

.tier-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow var(--transition-interactive),
              border-color var(--transition-interactive);
  height: 100%;
}

.tier-card__desc {
  flex: 1;
}

.tier-card--featured {
  border-color: var(--color-primary);
  border-width: 2px;
  position: relative;
}

.tier-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #1B2A4A;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.tier-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
}

.tier-card__price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.tier-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.tier-card__features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tier-card__features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-6);
  position: relative;
}

.tier-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================================
   VALUES / ICON CARDS
   ============================================================ */

.value-card {
  text-align: center;
  padding: var(--space-6);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  color: var(--color-primary);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.value-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   TIMELINE
   ============================================================ */

.timeline {
  position: relative;
  padding-left: var(--space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: var(--space-3);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-divider);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-8);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-8) + var(--space-3) - 5px);
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  border: 2px solid var(--color-bg);
}

.timeline__date {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.timeline__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   NOTICE / CALLOUT BOXES
   ============================================================ */

.notice {
  background: var(--color-surface-offset);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.notice__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.notice__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   CREST BADGE
   ============================================================ */

.crest-badge {
  display: block;
  max-width: 220px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px oklch(0 0 0 / 0.35));
}

/* ============================================================
   EMAIL SIGNUP
   ============================================================ */

.signup {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  text-align: center;
}

.signup__form {
  display: flex;
  gap: var(--space-3);
  max-width: 480px;
  margin: var(--space-6) auto 0;
}

@media (max-width: 600px) {
  .signup__form { flex-direction: column; }
}

.signup__input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.signup__input::placeholder {
  color: var(--color-text-faint);
}

.signup__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.15);
}

/* ============================================================
   MODAL
   ============================================================ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(0.1 0.02 250 / 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.modal-overlay--open {
  display: flex;
}

.modal {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modal-enter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal__icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
}

.modal__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.modal__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.modal__close {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  transition: color var(--transition-interactive),
              background var(--transition-interactive);
}

.modal__close:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #0D1B2A;
  color: #E8E6E1;
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: #8A95A5;
  line-height: 1.6;
  margin-top: var(--space-3);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: var(--space-4);
}

.footer__links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: #8A95A5;
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__links a:hover {
  color: #E8E6E1;
  text-decoration: none;
}

.footer__bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid #243A54;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.footer__bottom-text {
  font-size: var(--text-xs);
  color: #5A6B7A;
}

.footer__bottom-text a {
  color: #8A95A5;
  text-decoration: none;
}

.footer__bottom-text a:hover {
  color: #E8E6E1;
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social a {
  color: #8A95A5;
  transition: color var(--transition-interactive);
  text-decoration: none;
}

.footer__social a:hover {
  color: #D4B65E;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

.reveal-clip {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal-clip {
    clip-path: inset(100% 0 0 0);
    animation: reveal-clip-anim linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-clip-anim {
  to { clip-path: inset(0 0 0 0); }
}

/* Fallback for browsers without scroll-driven animations */
@supports not (animation-timeline: scroll()) {
  .reveal, .reveal-clip {
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal--visible, .reveal-clip--visible {
    opacity: 1;
    clip-path: none;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */

.text-gold { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.text-small { font-size: var(--text-sm); }

.bg-surface { background: var(--color-surface); }
.bg-offset { background: var(--color-surface-offset); }

.gold-divider {
  width: 60px;
  height: 2px;
  background: var(--color-primary);
  margin: var(--space-4) auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 999;
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: #1B2A4A;
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-2);
}

/* Prose container */
.prose {
  max-width: 65ch;
  margin-inline: auto;
}

.prose p + p {
  margin-top: var(--space-4);
}

.prose h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.prose h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.prose ul, .prose ol {
  padding-left: var(--space-6);
  margin-top: var(--space-3);
  margin-bottom: var(--space-3);
}

.prose li {
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}

/* Steps / How it works */
.steps {
  counter-reset: step;
}

.step {
  counter-increment: step;
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-divider);
}

.step:last-child { border-bottom: none; }

.step::before {
  content: counter(step);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: oklch(from var(--color-primary) l c h / 0.15);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}

.step__content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.step__content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
