/* ============================================================
   SCHOOLED TO CREATE — UNIFIED BRAND SYSTEM
   Merging build-from-scratch.html editorial warmth
   with gold/charcoal corporate premium identity
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=DM+Mono:wght@300;400;500&display=swap');

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

html { scroll-behavior: smooth; }

/* ── BRAND TOKENS ── */
:root {
  /* Warm editorial palette (build-from-scratch heritage) */
  --ink:          #1A1714;
  --paper:        #F7F4EE;
  --warm-mid:     #EDE8DF;
  --warm-dark:    #2A2420;

  /* Gold accent system */
  --gold:         #C9A84C;
  --gold-lt:      #E2C47A;
  --gold-dim:     #8A6E2E;
  --gold-bg:      rgba(201,168,76,0.08);
  --gold-border:  rgba(201,168,76,0.3);

  /* Surface layers */
  --surface-0:    #F7F4EE;   /* paper — lightest */
  --surface-1:    #EDE8DF;   /* warm-mid */
  --surface-2:    #E0D9CE;   /* deeper warm */
  --surface-dark: #1A1714;   /* ink — dark sections */
  --surface-dark2:#221E1A;   /* slightly lighter dark */

  /* Text */
  --text-primary: #1A1714;
  --text-muted:   #7A7169;
  --text-faint:   #B0A898;
  --text-on-dark: #F7F4EE;
  --text-on-dark-muted: rgba(247,244,238,0.6);

  /* Rules & borders */
  --rule:         #D4CDBF;
  --rule-dark:    rgba(255,255,255,0.08);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* Layout */
  --max:          1100px;
  --max-wide:     1280px;
  --gutter:       clamp(1.5rem, 5vw, 4rem);
  --section-pad:  clamp(4rem, 8vw, 7rem);
  --nav-h:        104px;

  /* Transitions */
  --t-fast:       0.18s ease;
  --t-mid:        0.32s ease;
  --t-slow:       0.5s ease;
}

/* ── BASE ── */
body {
  background: var(--surface-0);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── LAYOUT ── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--wide {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section-pad) 0; }

.section--dark  { background: var(--surface-dark); color: var(--text-on-dark); }
.section--warm  { background: var(--surface-1); }
.section--warm2 { background: var(--surface-2); }
.section--paper { background: var(--surface-0); }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
}

.heading-md {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.25;
}

.body-lg {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.75;
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-muted);
}

em { font-style: italic; color: var(--gold); }
.on-dark em { color: var(--gold-lt); }

/* Gold line divider */
.gold-rule {
  display: block;
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
  padding: 1.05rem 2.5rem;
}
.btn-ink:hover { background: var(--gold); color: var(--ink); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  padding: 1.05rem 2.5rem;
}
.btn-gold:hover { background: var(--gold-lt); }

.btn-outline-ink {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 1rem 2.4rem;
}
.btn-outline-ink:hover { background: var(--ink); color: var(--paper); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 1rem 2.4rem;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--ink); }

.btn-outline-paper {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(247,244,238,0.3);
  padding: 1rem 2.4rem;
}
.btn-outline-paper:hover { background: var(--paper); color: var(--ink); }

.btn-lg { padding: 1.25rem 3rem; font-size: 0.85rem; }

/* ── STAMP / BADGE ── */
.stamp {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
}

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--ink);
  overflow: hidden;
  padding: 0.875rem 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 2rem;
  color: var(--gold);
}
.marquee-track span.sep { color: var(--text-muted); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(247,244,238,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: all var(--t-mid);
}
#navbar.scrolled {
  background: rgba(247,244,238,0.99);
  border-bottom-color: var(--gold);
  box-shadow: 0 2px 20px rgba(26,23,20,0.06);
}
#navbar.nav--dark {
  background: rgba(26,23,20,0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.07);
}
#navbar.nav--dark.scrolled {
  background: rgba(26,23,20,0.99);
  border-bottom-color: var(--gold-dim);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── LOGO IMAGES ── */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; line-height: 1; }
.nav-logo .logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
  transition: opacity var(--t-fast);
}
/* Light navbars → dark logo visible, light logo hidden */
.nav-logo .logo-dark  { display: block; }
.nav-logo .logo-light { display: none;  }
/* Dark navbars → light logo visible, dark logo hidden */
#navbar.nav--dark .nav-logo .logo-dark  { display: none;  }
#navbar.nav--dark .nav-logo .logo-light { display: block; }

/* Desktop menu */
.nav-menu { display: flex; align-items: center; flex: 1; justify-content: center; }
.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.9rem;
  height: var(--nav-h);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--t-fast);
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--ink); }
.nav--dark .nav-link { color: rgba(247,244,238,0.5); }
.nav--dark .nav-link:hover,
.nav--dark .nav-item:hover > .nav-link { color: var(--paper); }
.nav-link svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform var(--t-fast); }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }
.nav-link.active { color: var(--gold) !important; }

/* Dropdowns */
.nav-dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 200px;
  background: var(--surface-0);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--gold);
  padding: 0.5rem 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--t-fast);
  z-index: 200;
  box-shadow: 0 8px 32px rgba(26,23,20,0.1);
}
.nav--dark .nav-dropdown { background: var(--surface-dark2); border-color: var(--rule-dark); border-top-color: var(--gold); }
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all var(--t-fast);
}
.nav-dropdown a:hover { color: var(--gold); background: var(--gold-bg); padding-left: 1.8rem; }
.nav--dark .nav-dropdown a { color: rgba(247,244,238,0.5); }
.nav--dark .nav-dropdown a:hover { color: var(--gold); }

/* Nav CTA */
.nav-cta { margin-left: 0.5rem; flex-shrink: 0; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); transition: all var(--t-fast);
}
.nav--dark .nav-hamburger span { background: var(--paper); }
.nav-hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav panel */
.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--surface-0); overflow-y: auto;
  z-index: 999; padding: 2rem var(--gutter);
  opacity: 0; transform: translateX(100%);
  transition: all var(--t-mid);
}
.nav-mobile.open { opacity: 1; transform: translateX(0); }
.nav-mobile-item { border-bottom: 1px solid var(--rule); }
.nav-mobile-link {
  display: block; padding: 1rem 0;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-primary);
}
.nav-mobile-sub { padding: 0 0 1rem 1rem; }
.nav-mobile-sub a {
  display: block; padding: 0.45rem 0;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
  transition: color var(--t-fast);
}
.nav-mobile-sub a:hover { color: var(--gold); }

/* ── FOOTER LOGO ── */
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* ── HERO BASE ── */
.page-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 4rem) var(--gutter) 5rem;
  position: relative;
  overflow: hidden;
}

.hero--center { justify-content: center; text-align: center; }

/* ── SECTION HEADER ── */
.section-head { margin-bottom: 3.5rem; }
.section-head--center { text-align: center; }
.section-head--center .gold-rule { margin: 0 auto 1.5rem; }

/* ── PULL QUOTE ── */
.pull-quote {
  padding: 5rem 0;
  text-align: center;
  background: var(--surface-dark);
}
.pull-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--text-on-dark);
  line-height: 1.45;
  max-width: 760px;
  margin: 0 auto 1.25rem;
}
.pull-quote-text em { color: var(--gold-lt); }
.pull-quote-attr {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── CARD GRID ── */
.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--rule); border: 1px solid var(--rule); }
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; background: var(--rule); border: 1px solid var(--rule); }
.card-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; background: var(--rule); border: 1px solid var(--rule); }
.card-grid-dark-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--rule-dark); border: 1px solid var(--rule-dark); }
.card-grid-dark-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; background: var(--rule-dark); border: 1px solid var(--rule-dark); }

.grid-cell {
  background: var(--surface-0);
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background var(--t-fast);
}
.grid-cell:hover { background: var(--surface-1); }

.grid-cell-dark {
  background: var(--surface-dark);
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  position: relative;
  transition: background var(--t-fast);
}
.grid-cell-dark:hover { background: var(--surface-dark2); }

/* ── OUTLINE / BORDERED BLOCKS ── */
.bordered-block {
  border: 1px solid var(--rule);
  padding: 3rem;
}
.bordered-block--gold {
  border: 1px solid var(--gold-border);
  background: var(--gold-bg);
  padding: 2.5rem;
}
.bordered-block--left-accent {
  border-left: 3px solid var(--gold);
  padding: 2rem 2.5rem;
  background: var(--surface-1);
}

/* ── FORMS ── */
.form-field { margin-bottom: 0.875rem; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--surface-0);
  border: 1px solid var(--rule);
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-faint); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 130px; }

.form-field--dark input,
.form-field--dark textarea,
.form-field--dark select {
  background: var(--surface-dark2);
  border-color: var(--rule-dark);
  color: var(--text-on-dark);
}
.form-field--dark input::placeholder,
.form-field--dark textarea::placeholder { color: rgba(247,244,238,0.25); }
.form-field--dark input:focus,
.form-field--dark textarea:focus { border-color: var(--gold); }

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

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

/* ── NEWSLETTER INLINE ── */
.newsletter-inline {
  display: flex;
  gap: 0;
}
.newsletter-inline input {
  flex: 1;
  background: var(--surface-0);
  border: 1px solid var(--rule);
  border-right: none;
  padding: 0.9375rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-fast);
}
.newsletter-inline input::placeholder { color: var(--text-faint); }
.newsletter-inline input:focus { border-color: var(--gold); }
.newsletter-inline--dark input {
  background: var(--surface-dark2);
  border-color: var(--rule-dark);
  color: var(--paper);
}
.newsletter-inline--dark input::placeholder { color: rgba(247,244,238,0.25); }

/* ── STATS ROW ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--rule);
}
.stat-cell {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--rule);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--gold); transition: opacity var(--t-fast); }
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.breadcrumb-sep { color: var(--text-faint); }

/* ── FOOTER (Premium Editorial Redesign) ── */
footer.site-footer {
  background: #141210;
  position: relative;
}
footer.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}

/* ── TOP STATEMENT STRIP ── */
.footer-statement {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: end;
}
.footer-statement-left {
  padding-right: 4rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.footer-statement-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 1.5rem;
}
.footer-statement-tagline em {
  font-style: italic;
  color: var(--gold-lt);
  font-weight: 400;
}
.footer-statement-right {
  padding-left: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.footer-statement-body {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: rgba(247,244,238,0.4);
  margin-bottom: 2rem;
  max-width: 380px;
}
.footer-enroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 0.875rem 1.5rem;
  transition: background var(--t-fast), color var(--t-fast);
  width: fit-content;
}
.footer-enroll-btn:hover {
  background: var(--gold);
  color: #141210;
}

/* ── LINKS GRID ── */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-grid-col {
  padding-right: 3rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding-left: 0;
}
.footer-grid-col:first-child { padding-left: 0; }
.footer-grid-col:not(:first-child) { padding-left: 2.5rem; }
.footer-grid-col:last-child { border-right: none; padding-right: 0; }

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1.5rem;
  opacity: 0.75;
}
.footer-brand-desc {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.2);
  line-height: 1.9;
  max-width: 220px;
  margin-bottom: 1.5rem;
}
.footer-sub {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.12);
  margin-top: 0.5rem;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-col-title::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-links a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(247,244,238,0.4);
  transition: color var(--t-fast);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: block;
}
.footer-links a:last-child { border-bottom: none; }
.footer-links a:hover { color: var(--gold-lt); }

/* ── BASE BAR ── */
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.15);
}
.footer-legal {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.footer-legal a {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.18);
  transition: color var(--t-fast);
}
.footer-legal a:hover { color: rgba(247,244,238,0.5); }


/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── UTILITY — Responsive 2-column splits used across pages ── */
.split-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
}
.split-2col > * { border-right: 1px solid var(--rule); }
.split-2col > *:last-child { border-right: none; }
/* Mobile: stack vertical */
@media (max-width: 768px) {
  .split-2col { grid-template-columns: 1fr; }
  .split-2col > * { border-right: none; border-bottom: 1px solid var(--rule); }
  .split-2col > *:last-child { border-bottom: none; }
}

/* ══ RESPONSIVE SYSTEM ══ */

/* ── 1024px: Tablet ── */
@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .card-grid-dark-3 { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-top: 1px solid var(--rule); }
  .stat-cell:nth-child(4) { border-top: 1px solid var(--rule); }
  /* Footer tablet */
  .footer-statement { grid-template-columns: 1fr; }
  .footer-statement-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding-right: 0; padding-bottom: 3rem; margin-bottom: 3rem; }
  .footer-statement-right { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid-col:nth-child(2n) { border-right: none; }
  .footer-grid-col:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 3rem; }
  .footer-grid-col:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 3rem; }
}

/* ── 768px: Mobile ── */
@media (max-width: 768px) {
  :root {
    --nav-h: 72px;
    --gutter: 1.25rem;
    --section-pad: clamp(3rem, 7vw, 5rem);
  }

  /* ── Nav ── */
  .nav-menu, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: block; }
  .nav-logo .logo-img { height: 60px; }

  /* ── Typography scale-down ── */
  .display { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .heading-xl { font-size: clamp(1.9rem, 6vw, 2.8rem); }
  .heading-lg { font-size: clamp(1.6rem, 5.5vw, 2.2rem); }
  .heading-md { font-size: clamp(1.1rem, 4vw, 1.5rem); }
  .body-lg { font-size: 1rem; }

  /* ── Buttons ── */
  .btn-lg { padding: 1.1rem 2rem; font-size: 0.78rem; }
  .btn { white-space: normal; text-align: center; }

  /* ── Sections ── */
  section { padding: var(--section-pad) 0; }
  .section-head { margin-bottom: 2.5rem; }

  /* ── Grids ── */
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .card-grid-dark-2, .card-grid-dark-3 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* ── Grid cells — remove right borders on single-col ── */
  .grid-cell { border-right: none !important; }
  .grid-cell-dark { border-right: none !important; }

  /* ── Newsletter form ── */
  .newsletter-inline { flex-direction: column; }
  .newsletter-inline input { border-right: 1px solid var(--rule); border-bottom: none; }
  .newsletter-inline .btn { width: 100%; justify-content: center; }

  /* ── Pull quote ── */
  .pull-quote { padding: 3.5rem 0; }
  .pull-quote-text { font-size: clamp(1.25rem, 4.5vw, 1.75rem); }

  /* ── Footer ── */
  .footer-statement { padding: 3.5rem 0 3rem; }
  .footer-statement-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding-right: 0; padding-bottom: 3rem; margin-bottom: 3rem; }
  .footer-statement-right { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid-col { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 2.5rem 0 !important; }
  .footer-grid-col:last-child { border-bottom: none; }
  .footer-grid-col:nth-child(3), .footer-grid-col:nth-child(4) { border-top: none; padding-top: 0 !important; }
  .footer-base { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-legal { flex-direction: column; gap: 1rem; }

  /* ── Marquee ── */
  .marquee-track { animation-duration: 18s; }
}

/* ── 480px: Small Mobile ── */
@media (max-width: 480px) {
  :root { --gutter: 1rem; }

  .stats-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: none !important; border-bottom: 1px solid var(--rule); }
  .stat-cell:last-child { border-bottom: none; }

  /* ── Page heroes — reduce padding ── */
  .page-hero { padding: calc(var(--nav-h) + 2.5rem) var(--gutter) 3.5rem; }

  /* ── Buttons stack ── */
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { justify-content: center; width: 100%; }

  /* ── Pull quote tighter ── */
  .pull-quote { padding: 3rem 0; }

  /* ── Footer ── */
  .footer-statement-tagline { font-size: 1.6rem; }
  .footer-enroll-btn { width: 100%; justify-content: center; }
}
