/* =============================================================
   Enlightist Business Excellence Institute
   Merged stylesheet — retains original site animations & palette
   ============================================================= */

:root {
  --navy: oklch(0.22 0.045 260);
  --navy-deep: oklch(0.16 0.04 260);
  --navy-soft: oklch(0.36 0.06 262);
  --cream: oklch(0.96 0.015 90);
  --cream-warm: oklch(0.93 0.025 88);
  --rule: oklch(0.84 0.035 88);
  --gold: oklch(0.74 0.10 82);
  --gold-deep: oklch(0.63 0.11 80);
  --muted: oklch(0.48 0.03 88);
  --ink-soft: oklch(0.37 0.025 85);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing scale (4pt base) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-section: clamp(80px, 10vw, 140px);
  --space-section-lg: clamp(100px, 12vw, 180px);
  --space-gutter: clamp(20px, 4vw, 40px);

  /* Type scale (rem for accessibility) */
  --text-xs: 0.6875rem;   /* 11px — eyebrows, labels */
  --text-sm: 0.8125rem;   /* 13px — nav, buttons, footer */
  --text-body-sm: 0.9375rem; /* 15px — card body, secondary */
  --text-body: 1.0625rem; /* 17px — body */
  --text-prose: 1.125rem; /* 18px — intro paragraphs, lede */
  --text-lg: 1.375rem;    /* 22px — h3, card titles */

  /* Faculty accent colors */
  --faculty-mind: oklch(0.55 0.08 210);     /* contemplative teal */
  --faculty-will: oklch(0.55 0.09 55);      /* warm copper */
  --faculty-skill: oklch(0.55 0.07 155);    /* grounded sage */
  --faculty-wealth: oklch(0.58 0.10 80);    /* enriched gold */

  /* Semantic colors */
  --color-success: oklch(0.55 0.10 155);
  --color-error: oklch(0.55 0.12 25);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-font-smoothing: antialiased; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Page load fade */
body { opacity: 0; animation: pageIn 0.8s var(--ease-out) forwards; }
@keyframes pageIn { to { opacity: 1; } }

img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-deep); color: var(--cream);
  padding: 12px 20px; z-index: 1000; text-decoration: none;
  font-size: var(--text-sm);
}
.skip-link:focus { left: 8px; top: 8px; }

/* Focus styles */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ============== Layout ============== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 var(--space-gutter); }
.narrow   { max-width: 780px;  margin: 0 auto; padding: 0 var(--space-gutter); }

/* ============== Navigation ============== */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 20px var(--space-gutter);
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  transform: translateY(-100%);
  animation: navIn 1s var(--ease-out) 0.2s forwards;
}
@keyframes navIn { to { transform: translateY(0); } }

nav.site-nav.scrolled {
  background: oklch(0.20 0.04 260 / 0.97);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--navy-soft);
  padding: 14px var(--space-gutter);
}

/* Nav inner container (some pages use this wrapper) */
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1240px; margin: 0 auto; }

/* Logo variants */
.logo-img, .nav-logo img { height: 40px; width: auto; display: block; transition: height 0.4s var(--ease), opacity 0.3s; }
nav.site-nav.scrolled .logo-img, nav.site-nav.scrolled .nav-logo img { height: 34px; }
img.nav-logo { height: 40px; width: auto; display: block; transition: height 0.4s var(--ease); }
nav.site-nav.scrolled img.nav-logo { height: 34px; }

/* Nav links — works with both div>a and ul>li>a patterns */
.nav-links { display: flex; gap: 36px; font-size: var(--text-sm); letter-spacing: 0.03em; list-style: none; align-items: center; }
.nav-links li { list-style: none; }
.nav-links a {
  color: var(--cream); text-decoration: none; font-weight: 500;
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold-deep);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* Mobile toggle */
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(245,240,230,0.3);
  color: var(--cream); padding: 12px 20px; font-size: var(--text-sm);
  min-height: 44px; min-width: 44px;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle[aria-expanded="true"] { background: rgba(245,240,230,0.08); border-color: rgba(245,240,230,0.5); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--cream); margin: 3px 0; transition: all 0.3s; }
@media (max-width: 860px) {
  .nav-links {
    flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep); padding: 0 var(--space-gutter); gap: 0;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), padding 0.45s var(--ease);
  }
  .nav-links.is-open { max-height: 350px; opacity: 1; padding: 20px var(--space-gutter) 30px; }
  .nav-links a {
    opacity: 0; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), color 0.3s;
    padding: 10px 0;
  }
  .nav-links.is-open a { opacity: 1; transform: translateY(0); }
  .nav-links.is-open a:nth-child(1) { transition-delay: 0.08s; }
  .nav-links.is-open a:nth-child(2) { transition-delay: 0.14s; }
  .nav-links.is-open a:nth-child(3) { transition-delay: 0.20s; }
  .nav-links.is-open a:nth-child(4) { transition-delay: 0.26s; }
  .nav-toggle { display: block; }
}

/* ============== Eyebrow ============== */
.eyebrow, .section-eyebrow {
  font-size: var(--text-xs); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;
}
.section-eyebrow::before {
  content: ''; width: 36px; height: 1px; background: var(--gold);
}

/* ============== Headings ============== */
h1, h2, h3 {
  font-family: 'Literata', serif; font-weight: 500;
  letter-spacing: -0.015em; color: var(--navy);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; margin-bottom: 36px; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.1; margin-bottom: 40px; }
h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; margin-bottom: 20px; }
h1 em, h2 em { font-style: italic; color: var(--gold-deep); font-weight: 500; }

/* ============== Section base ============== */
section { padding: var(--space-section) 0; position: relative; }
section.section-border { border-top: 1px solid var(--rule); }

/* ============== Reveal Animations ============== */
.js-ready .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js-ready .reveal.in { opacity: 1; transform: translateY(0); }
.js-ready .reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js-ready .reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.60s; }

/* ============== Page Hero ============== */
.page-hero {
  min-height: 60vh; padding: clamp(120px, 14vw, 180px) var(--space-gutter) clamp(60px, 8vw, 100px);
  display: flex; flex-direction: column; justify-content: flex-end;
  max-width: 1240px; margin: 0 auto; position: relative;
}
/* When hero content is wrapped in .container */
.page-hero > .container { max-width: 100%; padding: 0; }
.page-hero .eyebrow, .page-hero .hero-eyebrow {
  margin-bottom: 32px; opacity: 0;
  animation: eyebrowIn 1s var(--ease-out) 0.4s forwards;
}
.page-hero .hero-eyebrow {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 14px;
}
.page-hero .eyebrow::before, .page-hero .hero-eyebrow::before {
  content: ''; width: 0; height: 1px; background: var(--gold);
  animation: lineGrow 1s var(--ease-out) 0.8s forwards;
}
@keyframes eyebrowIn { to { opacity: 1; } }
@keyframes lineGrow { to { width: 36px; } }

.page-hero h1 {
  opacity: 0; transform: translateY(40px);
  animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}
.page-hero .lede, .page-hero .hero-lede {
  font-size: var(--text-prose); color: var(--ink-soft); max-width: 640px;
  line-height: 1.6; margin-top: 16px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out) 0.9s forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Animated gradient orb in heroes */
.page-hero::before {
  content: ''; position: absolute; top: 20%; right: 10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.12) 0%, transparent 60%);
  filter: blur(40px); z-index: -1;
  animation: orbFloat 14s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.1); }
}

/* ============== Home Hero (special) ============== */
.hero-home {
  min-height: 100vh; padding: clamp(120px, 12vw, 160px) var(--space-gutter) clamp(60px, 8vw, 100px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px;
  align-items: center; max-width: 1240px; margin: 0 auto; position: relative;
}
.hero-home::before {
  content: ''; position: absolute; top: 20%; right: 10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.12) 0%, transparent 60%);
  filter: blur(40px); z-index: -1;
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-home .eyebrow {
  margin-bottom: 32px; opacity: 0;
  animation: eyebrowIn 1s var(--ease-out) 0.4s forwards;
}
.hero-home .eyebrow::before {
  content: ''; width: 0; height: 1px; background: var(--gold);
  animation: lineGrow 1s var(--ease-out) 0.8s forwards;
}
.hero-home .hero-title { font-family: 'Literata', serif; font-size: clamp(40px, 5vw, 72px); line-height: 1.05; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 36px; color: var(--navy); }
.hero-home .hero-title em { font-style: italic; font-weight: 500; color: var(--gold-deep); }
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(40px); animation: wordIn 1s var(--ease-out) forwards; }
@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }

.hero-sub {
  font-size: var(--text-prose); color: var(--ink-soft); max-width: 540px;
  margin-bottom: 48px; line-height: 1.6;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out) 1.3s forwards;
}
.hero-sub em { font-family: 'Literata', serif; font-style: italic; }

.cta-row {
  display: flex; gap: 20px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out) 1.5s forwards;
}

@media (max-width: 900px) {
  .hero-home { grid-template-columns: 1fr; gap: 60px; padding-top: 130px; }
  .book-wrap { order: -1; }
  .book-cover { max-width: 280px; }
}

/* ============== Buttons ============== */
.btn {
  display: inline-block; padding: 16px 34px;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.4s var(--ease); cursor: pointer;
  border: none; position: relative; overflow: hidden;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-deep); transform: translateY(100%);
  transition: transform 0.5s var(--ease); z-index: 0;
}
.btn-primary span, .btn-primary { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: translateY(0); }
.btn:active { transform: scale(0.97); transition-duration: 0.1s; }
.btn-secondary { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--cream); }

.read-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 2px;
  border-bottom: 1px solid var(--gold); transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.read-more:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* ============== Book Cover ============== */
.book-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative; perspective: 1600px;
  opacity: 0; animation: bookIn 1.4s var(--ease-out) 0.6s forwards;
}
@keyframes bookIn { to { opacity: 1; } }
.book-cover {
  width: 100%; max-width: 380px; height: auto; display: block;
  box-shadow:
    -2px 0 0 rgba(255,255,255,0.3) inset,
    -14px 0 26px rgba(15,26,48,0.1),
    36px 50px 90px rgba(15,26,48,0.32),
    0 0 0 1px rgba(15,26,48,0.08);
  transition: transform 0.8s var(--ease);
  transform: rotateY(-8deg) rotateX(1deg) translateY(0);
  animation: bookFloat 6s ease-in-out 2s infinite;
}
@keyframes bookFloat {
  0%, 100% { transform: rotateY(-8deg) rotateX(1deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(1deg) translateY(-12px); }
}
.book-cover:hover { transform: rotateY(-3deg) rotateX(0deg) scale(1.02); animation-play-state: paused; animation: none; }

/* ============== Premise ============== */
.premise { border-top: 1px solid var(--rule); }
.premise p {
  font-family: 'Literata', serif; font-size: 24px;
  line-height: 1.55; color: var(--ink-soft); margin-bottom: 28px; font-weight: 400;
}
.premise p:last-child { margin-bottom: 0; }
.premise p em { font-style: italic; color: var(--navy); }

/* ============== Waves Section ============== */
.waves { background: var(--cream-warm); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; }
.waves-intro { max-width: 640px; font-size: var(--text-prose); color: var(--ink-soft); margin-bottom: 80px; line-height: 1.6; }
.waves-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.wave { border-top: 2px solid var(--navy); padding-top: 28px; position: relative; }
.wave::before {
  content: ''; position: absolute; top: -2px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 1.4s var(--ease-out);
}
.reveal-stagger.in .wave::before { width: 100%; transition-delay: 0.3s; }
.wave-num { font-family: 'Literata', serif; font-style: italic; font-size: 14px; color: var(--gold-deep); margin-bottom: 18px; font-weight: 500; }
.wave h3 { margin-bottom: 20px; }
.wave p { color: var(--ink-soft); font-size: var(--text-body-sm); line-height: 1.65; }
@media (max-width: 860px) { .waves-grid { grid-template-columns: 1fr; gap: 50px; } }

/* ============== Concepts ============== */
.concepts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 80px; margin-top: 70px; padding-top: 70px; border-top: 1px solid var(--rule); }
.concept { transition: transform 0.5s var(--ease); }
.concept:hover { transform: translateX(8px); }
.concept:hover h4 { color: var(--gold-deep); }
.concept h4 { transition: color 0.4s var(--ease); }
.concept-label { font-family: 'Literata', serif; font-size: 14px; font-style: italic; color: var(--gold-deep); margin-bottom: 8px; display: block; }
.concept h4 { font-family: 'Literata', serif; font-size: 24px; font-weight: 500; margin-bottom: 12px; letter-spacing: -0.01em; color: var(--navy); }
.concept p { color: var(--ink-soft); font-size: var(--text-body-sm); line-height: 1.65; }
@media (max-width: 760px) { .concepts { grid-template-columns: 1fr; gap: 40px; } }

/* ============== Recognition ============== */
.recognition { text-align: center; border-bottom: 1px solid var(--rule); }
.recognition h2 { margin-bottom: 60px; }
.recognition .section-eyebrow { justify-content: center; }
.pull-quote {
  font-family: 'Literata', serif;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.3;
  font-weight: 400; font-style: italic;
  max-width: 880px; margin: 0 auto 40px;
  color: var(--navy); letter-spacing: -0.01em;
}
.pull-quote::before { content: '\201C'; color: var(--gold); }
.pull-quote::after  { content: '\201D'; color: var(--gold); }
.quote-attr { font-size: var(--text-sm); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.press-row {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(40px, 10vw, 180px); margin-top: 80px; padding-top: 60px;
  border-top: 1px solid var(--rule); flex-wrap: wrap;
}
.press-logo { display: block; margin: 0 auto; width: auto; object-fit: contain; }
.wsj-logo    { height: 220px; }
.amazon-logo { height: 48px; }
.usat-logo   { height: 85px; }

/* ============== Author ============== */
.author { display: grid; grid-template-columns: 1fr 1.4fr; gap: 100px; align-items: center; }
.author-img {
  aspect-ratio: 4/5; background: linear-gradient(160deg, var(--navy-soft) 0%, var(--navy-deep) 100%);
  position: relative; overflow: hidden; transition: transform 0.8s var(--ease);
}
.author:hover .author-img { transform: scale(1.02); }
.author-img::before {
  content: ''; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Literata', serif; font-size: 130px;
  color: rgba(201,169,97,0.18); font-weight: 500; letter-spacing: -0.02em;
  font-style: italic; transition: color 0.8s var(--ease);
}
.author:hover .author-img::before { color: rgba(201,169,97,0.3); }
.author p { font-size: var(--text-prose); line-height: 1.7; color: var(--ink-soft); margin-bottom: 24px; }
.author p em { font-family: 'Literata', serif; font-style: italic; color: var(--navy); }
.author p:first-of-type::first-letter {
  font-family: 'Literata', serif; font-size: 70px; float: left;
  line-height: 0.85; padding: 10px 12px 0 0; color: var(--gold-deep); font-weight: 500;
}
@media (max-width: 860px) { .author { grid-template-columns: 1fr; gap: 50px; } }

/* ============== Institute / Dark sections ============== */
.section-dark {
  background: var(--navy); color: var(--cream);
  border-top: 1px solid var(--navy); overflow: hidden;
}
.section-dark::before {
  content: ''; position: absolute; top: -10%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,97,0.08) 0%, transparent 60%);
  filter: blur(60px); animation: orbFloat 18s ease-in-out infinite; pointer-events: none;
}
.section-dark .section-eyebrow { color: var(--gold); }
.section-dark .section-eyebrow::before { background: var(--gold); }
.section-dark h2 { color: var(--cream); }
.section-dark h2 em { color: var(--gold); }
.section-dark > .container > p { font-size: var(--text-prose); line-height: 1.7; color: rgba(245,240,230,0.8); max-width: 760px; margin-bottom: 60px; position: relative; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; padding-top: 60px; border-top: 1px solid rgba(201,169,97,0.25); position: relative; }
.mv h3 { font-family: 'Literata', serif; font-size: 28px; font-weight: 500; color: var(--gold); margin-bottom: 18px; font-style: italic; }
.mv p { font-size: var(--text-body-sm); line-height: 1.7; color: rgba(245,240,230,0.78); }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; gap: 40px; } }
.section-dark .btn-secondary { border-color: var(--gold); color: var(--gold); position: relative; z-index: 2; }
.section-dark .btn-secondary:hover { background: var(--gold); color: var(--navy); }

/* ============== CTA / Final section ============== */
.final { text-align: center; padding: var(--space-section-lg) 0; }
.final .section-eyebrow { justify-content: center; }
.final h2 { max-width: 900px; margin: 0 auto 48px; }
.final p { font-size: var(--text-prose); color: var(--ink-soft); margin-bottom: 48px; }
.final p em { font-family: 'Literata', serif; font-style: italic; color: var(--navy); }

/* ============== Two column ============== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.two-col p { font-size: var(--text-prose); line-height: 1.7; color: var(--ink-soft); margin-bottom: 20px; max-width: none; }
.col-left, .col-right { min-width: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 50px; } }

/* Body text helper */
.body-text { font-size: var(--text-prose); line-height: 1.7; color: var(--ink-soft); }
.body-text p { margin-bottom: 20px; max-width: none; }

/* Author initials overlay (variant) */
.author-initials {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: 'Literata', serif; font-size: 130px;
  color: rgba(201,169,97,0.18); font-weight: 500; letter-spacing: -0.02em; font-style: italic;
}

/* Premise text variant */
.premise-text { font-size: var(--text-prose); line-height: 1.7; color: var(--ink-soft); margin-bottom: 20px; }

/* ============== Grid layouts ============== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 1000px) { .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* ============== Cards ============== */
.pillar-card {
  display: block; background: var(--cream); border: 1px solid var(--rule);
  padding: 36px 30px; text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(15,26,48,0.1); border-color: var(--gold); }
.pillar-card .eyebrow { margin-bottom: 16px; }
.pillar-card-name { font-family: 'Literata', serif; font-size: 32px; font-weight: 500; color: var(--navy); margin-bottom: 8px; transition: color 0.4s var(--ease); }
.pillar-card:hover .pillar-card-name { color: var(--gold-deep); }
.pillar-card-tagline { font-family: 'Literata', serif; font-style: italic; font-size: 18px; color: var(--gold-deep); margin-bottom: 16px; }
.pillar-card-desc { font-size: var(--text-body-sm); color: var(--ink-soft); line-height: 1.65; }

/* Faculty-specific card accents */
.pillar-card[data-faculty="mind"]  { border-top: 2px solid var(--faculty-mind); }
.pillar-card[data-faculty="will"]  { border-top: 2px solid var(--faculty-will); }
.pillar-card[data-faculty="skill"] { border-top: 2px solid var(--faculty-skill); }
.pillar-card[data-faculty="wealth"]{ border-top: 2px solid var(--faculty-wealth); }
.pillar-card[data-faculty="mind"]:hover  { border-color: var(--faculty-mind); }
.pillar-card[data-faculty="will"]:hover  { border-color: var(--faculty-will); }
.pillar-card[data-faculty="skill"]:hover { border-color: var(--faculty-skill); }
.pillar-card[data-faculty="wealth"]:hover{ border-color: var(--faculty-wealth); }
.pillar-card[data-faculty="mind"]:hover .pillar-card-name  { color: var(--faculty-mind); }
.pillar-card[data-faculty="will"]:hover .pillar-card-name  { color: var(--faculty-will); }
.pillar-card[data-faculty="skill"]:hover .pillar-card-name { color: var(--faculty-skill); }
.pillar-card[data-faculty="wealth"]:hover .pillar-card-name{ color: var(--faculty-wealth); }

.content-card {
  display: block; background: var(--cream); border: 1px solid var(--rule);
  text-decoration: none; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
}
.content-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,26,48,0.08); border-color: var(--gold); }
.content-card-image { aspect-ratio: 16/10; background: var(--cream-warm); display: flex; align-items: center; justify-content: center; font-family: 'Literata', serif; font-style: italic; color: var(--muted); font-size: var(--text-body-sm); }
.content-card-body { padding: 28px 24px; }
.content-card-body .eyebrow { margin-bottom: 12px; font-size: var(--text-xs); }
.content-card-title { font-family: 'Literata', serif; font-size: var(--text-lg); font-weight: 500; color: var(--navy); margin-bottom: 10px; line-height: 1.25; }
.content-card-meta { font-size: var(--text-body-sm); color: var(--muted); line-height: 1.55; }

/* ============== Stats — editorial prose ============== */
.stats-prose {
  max-width: 800px; margin: 0 auto; text-align: center;
  padding: var(--space-2xl) 0;
}
.stats-prose p {
  font-family: 'Literata', serif; font-size: clamp(24px, 3vw, 32px);
  line-height: 1.5; color: var(--ink-soft); font-weight: 400;
}
.stats-prose strong {
  color: var(--gold-deep); font-weight: 600;
}

/* ============== Timeline ============== */
.timeline { position: relative; padding-left: 60px; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.timeline-item { position: relative; margin-bottom: 60px; }
.timeline-item::before {
  content: ''; position: absolute; left: -48px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--cream);
}
.timeline-year { font-family: 'Literata', serif; font-style: italic; font-size: 16px; color: var(--gold-deep); margin-bottom: 8px; }
.timeline-title { font-family: 'Literata', serif; font-size: var(--text-lg); font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.timeline-desc { font-size: var(--text-body-sm); color: var(--ink-soft); line-height: 1.65; max-width: 540px; }

/* ============== Tinted section ============== */
.section-tinted { background: var(--cream-warm); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* ============== Faculty sub-theme items ============== */
.sub-theme { border-top: 2px solid var(--navy); padding-top: 20px; position: relative; }
.sub-theme::before {
  content: ''; position: absolute; top: -2px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 1.2s var(--ease-out);
}
.reveal-stagger.in .sub-theme::before { width: 100%; transition-delay: 0.3s; }
.sub-theme h4 { font-family: 'Literata', serif; font-size: 18px; font-weight: 500; color: var(--navy); }

/* ============== Contact channels ============== */
.contact-card {
  border: 1px solid var(--rule); padding: 36px 30px; background: var(--cream);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.contact-card h4 { font-family: 'Literata', serif; font-size: var(--text-lg); font-weight: 500; color: var(--navy); margin-bottom: 12px; }
.contact-card a.email { color: var(--gold-deep); text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact-card a.email:hover { border-bottom-color: var(--gold-deep); }
.contact-card p { font-size: var(--text-body-sm); color: var(--ink-soft); line-height: 1.65; margin-top: 10px; }

/* ============== Program cards ============== */
.program-card {
  display: block; border: 1px solid var(--rule); background: var(--cream);
  padding: 36px 30px; text-decoration: none;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.program-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(15,26,48,0.08); }
.program-card .eyebrow { margin-bottom: 12px; }
.program-card h3 { font-size: 24px; margin-bottom: 12px; }
.program-card p { font-size: var(--text-body-sm); color: var(--ink-soft); line-height: 1.65; }
.program-tags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.program-tag { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--rule); padding: 4px 12px; font-weight: 500; }

/* ============== Footer (navy, matching header) ============== */
footer, .site-footer {
  border-top: none; padding: var(--space-3xl) 0 var(--space-2xl);
  font-size: var(--text-sm); color: rgba(245, 240, 230, 0.6); background: var(--navy);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; margin-bottom: 60px; }
/* Variant footer structure */
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 10px; }
.footer-section ul a { color: rgba(245, 240, 230, 0.6); text-decoration: none; transition: color 0.3s var(--ease), transform 0.3s var(--ease); display: inline-block; }
.footer-section ul a:hover { color: var(--gold); transform: translateX(4px); }
.footer-section h4 { font-family: 'Literata', serif; font-size: 17px; font-weight: 600; color: var(--cream); margin-bottom: 18px; }
.footer-grid h4 {
  font-family: 'Literata', serif; font-size: 17px; font-weight: 600;
  color: var(--cream); margin-bottom: 18px; letter-spacing: 0.01em;
}
.footer-grid a {
  display: block; color: rgba(245, 240, 230, 0.6); text-decoration: none;
  margin-bottom: 10px; transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-grid a:hover { color: var(--gold); transform: translateX(4px); }
.footer-brand p { max-width: 320px; line-height: 1.65; margin-top: 8px; font-style: italic; font-family: 'Literata', serif; color: rgba(245, 240, 230, 0.7); }
.footer-brand .logo-img { margin-bottom: 16px; height: 44px; }
.footer-bottom {
  padding-top: 30px; border-top: 1px solid rgba(201, 169, 97, 0.25);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  color: rgba(245, 240, 230, 0.45);
}
.footer-bottom p { color: rgba(245, 240, 230, 0.45); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   V2 HOMEPAGE — New section layouts
   ============================================================ */

/* Institutional Statement — label left, prose right */
.inst-statement {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 80px;
}
.inst-statement-body p {
  font-size: var(--text-prose); line-height: 1.7; color: var(--ink-soft); margin-bottom: 20px; max-width: none;
}
@media (max-width: 860px) { .inst-statement { grid-template-columns: 1fr; gap: 30px; } }

/* Foundation items — editorial numbered list */
.foundations-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: var(--space-3xl); }
.foundation-item {
  padding: 40px 32px; border-top: 1px solid var(--rule);
  transition: background 0.4s var(--ease);
}
.foundation-item:hover { background: var(--cream); }
.foundation-item:nth-child(odd) { border-right: 1px solid var(--rule); }
.foundation-item:nth-child(n+3) { border-top: 1px solid var(--rule); }
.foundation-num {
  font-family: 'Literata', serif; font-size: 48px; font-weight: 500;
  color: var(--rule); line-height: 1; margin-bottom: 16px;
  font-style: italic;
}
.foundation-item h3 {
  font-family: 'Literata', serif; font-size: var(--text-lg); font-weight: 500;
  color: var(--navy); margin-bottom: 12px;
}
.foundation-item p { font-size: var(--text-body-sm); line-height: 1.65; color: var(--ink-soft); }
@media (max-width: 640px) {
  .foundations-list { grid-template-columns: 1fr; }
  .foundation-item:nth-child(odd) { border-right: none; }
}

/* Focus header — heading left, intro right */
.focus-header {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 80px; margin-bottom: 20px;
}
.focus-intro {
  font-family: 'Literata', serif; font-style: italic;
  font-size: var(--text-prose); line-height: 1.6; color: var(--ink-soft); align-self: end;
}
@media (max-width: 860px) { .focus-header { grid-template-columns: 1fr; gap: 20px; } }

/* Approach — label left, body+pills right */
.approach-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr); gap: 80px;
  align-items: start;
}
.approach-body p { font-size: var(--text-prose); line-height: 1.7; color: var(--ink-soft); max-width: none; }
.approach-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.approach-pill {
  background: var(--cream); padding: 24px; border-radius: 0;
  border: 1px solid var(--rule);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.approach-pill:hover { transform: translateY(-3px); border-color: var(--gold); }
.approach-pill-num {
  font-family: 'Literata', serif; font-size: 32px; font-weight: 500;
  color: var(--rule); line-height: 1; margin-bottom: 12px; font-style: italic;
}
.approach-pill h4 {
  font-family: 'Literata', serif; font-size: 18px; font-weight: 500;
  color: var(--navy); margin-bottom: 10px;
}
.approach-pill p { font-size: var(--text-body-sm); line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 860px) {
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
  .approach-pills { grid-template-columns: 1fr; }
}

/* Leadership — image left, body right */
.leadership-grid {
  display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 80px; align-items: center;
}
.leadership-body p {
  font-size: var(--text-prose); line-height: 1.7; color: var(--ink-soft); margin-bottom: 24px; max-width: none;
}
.credential-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.credential-card {
  border: 1px solid var(--rule); padding: 20px; background: var(--cream-warm);
  transition: border-color 0.4s var(--ease);
}
.credential-card:hover { border-color: var(--gold); }
.credential-card h4 {
  font-family: 'Literata', serif; font-size: 17px; font-weight: 500;
  color: var(--navy); margin-bottom: 6px;
}
.credential-card p { font-size: var(--text-body-sm); color: var(--muted); }
@media (max-width: 860px) {
  .leadership-grid { grid-template-columns: 1fr; gap: 50px; }
  .credential-cards { grid-template-columns: 1fr; }
}

/* Insights header — title left, link right */
.insights-header {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap;
}
.insights-intro {
  font-size: var(--text-prose); color: var(--ink-soft); line-height: 1.6; margin-top: 8px;
}

/* Closing CTA box */
.closing-box {
  background: var(--cream-warm); border: 1px solid var(--rule);
  padding: var(--space-3xl) clamp(30px, 5vw, 50px); display: grid;
  grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-3xl); align-items: end;
}
.closing-content p {
  font-size: var(--text-prose); line-height: 1.7; color: var(--ink-soft); max-width: 640px;
}
.closing-actions { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 860px) {
  .closing-box { grid-template-columns: 1fr; gap: var(--space-lg); padding: var(--space-2xl) var(--space-lg); }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  max-width: 640px; margin-top: 48px;
}
.form-group { margin-bottom: 28px; }
.form-group label {
  display: block; font-size: var(--text-sm); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 10px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 18px;
  font-family: 'Hanken Grotesk', sans-serif; font-size: 1rem;
  color: var(--navy); background: var(--cream);
  border: 1px solid var(--rule);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  outline: none; appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
  transform: translateY(-1px);
}
.form-group textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted); font-style: italic;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-submit {
  display: inline-block; padding: 16px 40px;
  font-family: 'Hanken Grotesk', sans-serif; font-size: var(--text-sm); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--navy); color: var(--cream);
  border: none; cursor: pointer;
  transition: background 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.form-submit:hover { background: var(--gold-deep); }
.form-submit:disabled { opacity: 0.6; cursor: default; }

/* Form status feedback */
.form-status {
  margin-top: 20px; font-size: var(--text-body-sm); line-height: 1.55;
  color: var(--ink-soft); min-height: 1.55em;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.form-status-success { color: var(--navy); font-weight: 500; opacity: 1; transform: translateY(0); }

/* ============================================================
   V3 — Home hero (full-width, no book cover)
   ============================================================ */
.page-hero-home {
  min-height: 100vh;
  min-height: 100dvh;
  justify-content: center;
  padding: clamp(120px, 12vw, 160px) var(--space-gutter) clamp(60px, 8vw, 100px);
}
.page-hero-home h1 {
  max-width: 900px;
}
.page-hero-home .lede {
  max-width: 700px;
}
.page-hero-home .cta-row {
  margin-top: 48px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out) 1.5s forwards;
}

/* V3 — Focus area cards (Areas of Focus section) */
.focus-card {
  min-height: 220px; border: 1px solid var(--rule); padding: 32px 28px;
  background: var(--cream);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.focus-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(15,26,48,0.08); }
.focus-card-rule {
  width: 64px; height: 1px; background: var(--rule); margin-bottom: 40px;
  transition: width 0.5s var(--ease), background 0.4s var(--ease);
}
.focus-card:hover .focus-card-rule { width: 100%; background: var(--gold); }
.focus-card h3 {
  font-family: 'Literata', serif; font-size: var(--text-lg); font-weight: 500;
  color: var(--navy); margin-bottom: 12px;
}
.focus-card p { font-size: var(--text-body-sm); line-height: 1.65; color: var(--ink-soft); }

/* ============== Utility classes (replacing inline styles) ============== */
.mt-grid { margin-top: var(--space-3xl); }
.mt-pills { margin-top: var(--space-2xl); }
.pt-0 { padding-top: 0; }
.mt-cta { margin-top: var(--space-2xl); }
.mt-back { margin-top: 40px; }
.contact-body-text { font-size: var(--text-prose); color: var(--ink-soft); line-height: 1.7; max-width: 640px; margin-bottom: 8px; }
.office-address { font-size: var(--text-prose); color: var(--ink-soft); line-height: 1.7; max-width: 540px; }
.office-note { font-size: var(--text-body-sm); color: var(--muted); margin-top: 16px; }

/* ============================================================
   IMAGE PLACEMENT SCAFFOLDING
   Replace placeholder paths with real images when ready.
   ============================================================ */

/* 1. Hero background image (homepage) */
.page-hero-home {
  overflow: hidden;
}
.page-hero-home .hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center 40%;
  opacity: 0.06;
  /* Set your image: background-image: url('assets/images/hero-bg.jpg'); */
}

/* 2. Content card real images (Insights section) */
.content-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.content-card-image--placeholder {
  /* Keeps the styled placeholder when no image is available */
  display: flex; align-items: center; justify-content: center;
  font-family: 'Literata', serif; font-style: italic;
  color: var(--muted); font-size: var(--text-body-sm);
}

/* 3. Author portrait (book page) */
.author-portrait {
  display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 80px;
  align-items: center;
}
.author-portrait-img {
  aspect-ratio: 4/5; overflow: hidden; position: relative;
  background: var(--cream-warm);
}
.author-portrait-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(0.3) contrast(1.05);
  transition: filter 0.8s var(--ease);
}
.author-portrait:hover .author-portrait-img img { filter: grayscale(0) contrast(1); }
.author-portrait-body p {
  font-size: var(--text-prose); line-height: 1.7; color: var(--ink-soft);
  margin-bottom: 20px;
}
.author-portrait-body .author-name {
  font-family: 'Literata', serif; font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 500; color: var(--navy); margin-bottom: 8px;
}
.author-portrait-body .author-role {
  font-size: var(--text-body-sm); color: var(--muted); margin-bottom: 24px;
}
@media (max-width: 860px) {
  .author-portrait { grid-template-columns: 1fr; gap: 40px; }
  .author-portrait-img { max-width: 300px; }
}

/* 4. Faculty hero backgrounds */
body[data-faculty] .page-hero { overflow: hidden; }
body[data-faculty] .page-hero .faculty-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  opacity: 0.08;
}
/* Set per-faculty images via inline style or add rules here:
body[data-faculty="mind"] .page-hero .faculty-hero-bg  { background-image: url('...'); }
body[data-faculty="will"] .page-hero .faculty-hero-bg  { background-image: url('...'); }
body[data-faculty="skill"] .page-hero .faculty-hero-bg { background-image: url('...'); }
body[data-faculty="wealth"] .page-hero .faculty-hero-bg{ background-image: url('...'); }
*/

/* 5. Office location photo (contact page) */
.office-photo {
  margin-top: var(--space-2xl); max-width: 720px;
  overflow: hidden;
}
.office-photo img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16/9; object-fit: cover;
  filter: grayscale(0.15) contrast(1.02);
}

/* 6. Closing CTA dark variant */
.closing-box-dark {
  background: var(--navy); border: none; position: relative;
  overflow: hidden;
}
.closing-box-dark::before {
  content: ''; position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.1; pointer-events: none;
  /* Set your image: background-image: url('assets/images/cta-bg.jpg'); */
}
.closing-box-dark .section-eyebrow { color: var(--gold); }
.closing-box-dark .section-eyebrow::before { background: var(--gold); }
.closing-box-dark h2 { color: var(--cream); }
.closing-box-dark h2 em { color: var(--gold); }
.closing-box-dark p { color: rgba(245, 240, 230, 0.8); }
.closing-box-dark .btn-primary { background: var(--gold-deep); color: var(--navy); }
.closing-box-dark .btn-primary::before { background: var(--cream); }
.closing-box-dark .btn-secondary { border-color: var(--gold); color: var(--gold); }
.closing-box-dark .btn-secondary:hover { background: var(--gold); color: var(--navy); }

/* ============== Faculty sub-page color theming ============== */
body[data-faculty="mind"]  { --faculty-accent: var(--faculty-mind); }
body[data-faculty="will"]  { --faculty-accent: var(--faculty-will); }
body[data-faculty="skill"] { --faculty-accent: var(--faculty-skill); }
body[data-faculty="wealth"]{ --faculty-accent: var(--faculty-wealth); }

body[data-faculty] .hero-eyebrow,
body[data-faculty] .page-hero .eyebrow { color: var(--faculty-accent); }
body[data-faculty] .page-hero .eyebrow::before,
body[data-faculty] .page-hero .hero-eyebrow::before { background: var(--faculty-accent); }
body[data-faculty] h1 em, body[data-faculty] h2 em { color: var(--faculty-accent); }
body[data-faculty] .section-eyebrow { color: var(--faculty-accent); }
body[data-faculty] .section-eyebrow::before { background: var(--faculty-accent); }
body[data-faculty] :focus-visible { outline-color: var(--faculty-accent); }

/* ============== Footer link contrast fix ============== */
.footer-bottom p { color: rgba(245, 240, 230, 0.55); }
.footer-section ul a { color: rgba(245, 240, 230, 0.72); }
.footer-grid a { color: rgba(245, 240, 230, 0.72); }

/* ============== Form semantic colors ============== */
.form-status-error { color: var(--color-error); font-weight: 500; opacity: 1; transform: translateY(0); }

/* ============== Mobile touch & spacing ============== */
@media (max-width: 640px) {
  /* Tighten section spacing on small screens */
  h2 { margin-bottom: 28px; }
  h1 { margin-bottom: 24px; }

  /* Footer links: larger touch targets */
  .footer-section ul li { margin-bottom: 14px; }
  .footer-section ul a,
  .footer-grid a { padding: 6px 0; margin-bottom: 4px; }

  /* Cards: slightly more padding for touch comfort */
  .pillar-card { padding: 32px 24px; }
  .contact-card { padding: 32px 24px; }

  /* Footer bottom: stack on very small screens */
  .footer-bottom { flex-direction: column; gap: 8px; }

}

/* Landscape phone: reduce hero height */
@media (max-height: 500px) and (orientation: landscape) {
  .page-hero-home { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
  .page-hero { min-height: auto; }
}

/* ============== Reduced motion ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01s !important; animation-delay: 0s !important; transition-duration: 0.01s !important; }
}
