/* ============================================
   Davidson Academy and Tyler Ward
   Shared styles for landing + three track pages
   ============================================ */

:root {
  --crimson: #7B1F29;
  --crimson-dark: #5C1620;
  --crimson-light: #9A2A37;
  --bg: #faf7f0;
  --bg-alt: #efe9db;
  --paper: #fffdf7;
  --ink: #1a1410;
  --ink-soft: #3d342b;
  --ink-faint: #736a5f;
  --gold: #C9A24B;
  --gold-soft: #e0c179;
  --line: #e0d7c4;
  --cinematic-ink: #0C0B0A;
  --cinematic-paper: #F4EFE6;
  --shadow-sm: 0 2px 10px rgba(26, 20, 16, 0.04);
  --shadow-md: 0 10px 30px rgba(26, 20, 16, 0.08);
  --shadow-lg: 0 25px 60px rgba(26, 20, 16, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.serif { font-family: 'Playfair Display', Georgia, serif; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 2rem; }

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

/* ========== TOP BAR (shared across all pages) ========== */
.top-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.top-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar .brand-pair {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar .brand-pair img {
  height: 38px;
  width: auto;
}

.top-bar .brand-pair .x {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--ink-faint);
  font-size: 1rem;
}

.top-bar .brand-pair .tw {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 0.9;
}

.top-bar .brand-pair .tw .tw-l1,
.top-bar .brand-pair .tw .tw-l2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 0.92;
}

.top-bar .brand-pair .tw .tw-l1 { color: var(--ink); }
.top-bar .brand-pair .tw .tw-l2 { color: var(--gold); }

.top-bar .brand-pair .tw small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--ink-faint);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.top-bar nav {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.top-bar nav a {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.7rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
  line-height: 1;
}

.top-bar nav a:hover {
  background: var(--ink);
  color: var(--cinematic-paper);
  border-color: var(--ink);
}

.top-bar nav a.active {
  background: var(--crimson);
  color: var(--cinematic-paper);
  border-color: var(--crimson);
}

.top-bar nav a.active:hover {
  background: var(--crimson-dark);
  border-color: var(--crimson-dark);
}

.top-bar .back-link {
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 4px;
  transition: all 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}

.top-bar .back-link:hover {
  color: var(--crimson);
  border-color: var(--line);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 580px;
  padding: 7rem 0 6rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #faf7f0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15, 12, 10, 0.65) 0%,
    rgba(15, 12, 10, 0.75) 50%,
    rgba(26, 20, 16, 0.92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-stamp {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f4c85f;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(244, 200, 95, 0.5);
  padding: 0.5rem 1.1rem;
  border-radius: 2rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin-bottom: 1.5rem;
  max-width: 900px;
  color: #fdfbf5;
}

.hero h1 .amp {
  font-style: italic;
  font-weight: 400;
  color: #e8c580;
}

.hero p.kicker {
  font-size: 1.2rem;
  color: rgba(253, 251, 245, 0.85);
  max-width: 720px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(253, 251, 245, 0.15);
}

.hero-meta div { font-size: 0.85rem; }

.hero-meta .label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e8c580;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.hero-meta .value {
  color: #fdfbf5;
  font-weight: 500;
}

/* ========== SECTIONS ========== */
section { padding: 6rem 0; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 1rem;
  display: inline-block;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--ink);
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 400;
}

.pull {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.45;
  color: var(--ink);
  padding-left: 1.5rem;
  border-left: 3px solid var(--crimson);
  margin: 2rem 0;
}

strong { color: var(--ink); font-weight: 600; }

/* ========== CREDIBILITY STRIP ========== */
.cred {
  background: var(--ink);
  padding: 3rem 0;
  color: #fdfbf5;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.cred-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #e8c580;
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

.cred-item .lbl {
  font-size: 0.8rem;
  color: rgba(253, 251, 245, 0.7);
  letter-spacing: 0.05em;
}

/* ========== LANDING: TRACK CARDS ========== */
.tracks-landing {
  background: var(--bg);
  padding: 7rem 0;
}

.tracks-landing .intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4.5rem;
}

.track-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.track-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  color: var(--ink);
}

.track-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--crimson);
}

.track-card .card-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.track-card .card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.1) 0%, rgba(26, 20, 16, 0.55) 100%);
}

.track-card .card-image .overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  z-index: 2;
  color: #fdfbf5;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.05em;
}

.track-card .card-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.track-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.track-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.track-card p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  line-height: 1.6;
  flex: 1;
}

.track-card .cta {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.25s ease;
  margin-top: auto;
}

.track-card:hover .cta { gap: 0.9rem; }

.track-card .cta::after {
  content: "→";
  font-size: 1rem;
  letter-spacing: 0;
}

/* ========== FEATURE IMAGE BLOCK ========== */
.feature-image {
  width: 100%;
  height: clamp(280px, 40vw, 450px);
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  position: relative;
  margin: 2rem 0;
}

.feature-image.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: none;
  height: auto;
}

.feature-image.two-col > div {
  height: clamp(280px, 30vw, 380px);
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

.photo-caption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ========== RESEARCH ========== */
.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.research-card {
  background: var(--paper);
  padding: 2.5rem;
  border-left: 3px solid var(--crimson);
  border-radius: 0 4px 4px 0;
}

.research-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.stats li {
  list-style: none;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.95rem;
}

.stats li:last-child { border-bottom: none; }

.stats li span:first-child { color: var(--ink-soft); }

.stats .stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--crimson);
  white-space: nowrap;
  font-size: 1.15rem;
}

/* ========== FEATURE (info box) ========== */
.feature {
  background: var(--paper);
  border-radius: 4px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--crimson);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.feature-grid h4 {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.feature-grid p { font-size: 0.96rem; margin-bottom: 0; }

/* ========== EXAMPLES ========== */
.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.example {
  background: var(--paper);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  border-top: 3px solid var(--crimson);
  box-shadow: var(--shadow-sm);
}

.example h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.example .role {
  font-size: 0.72rem;
  color: var(--crimson);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.example p { font-size: 0.96rem; margin-bottom: 0; }

/* ========== PRINCIPLES ========== */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.principle {
  background: var(--paper);
  padding: 1.6rem 1.6rem 1.6rem 2.75rem;
  border-radius: 4px;
  position: relative;
  border: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.principle:hover { border-color: var(--crimson); }

.principle .num {
  position: absolute;
  left: 1rem;
  top: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--crimson);
}

.principle h4 { font-size: 1.02rem; margin-bottom: 0.35rem; }

.principle p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--ink-faint);
  line-height: 1.55;
}

/* ========== MARRIAGE CARDS ========== */
.marriage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.marriage-item {
  background: var(--paper);
  padding: 1.75rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  transition: all 0.25s ease;
}

.marriage-item:hover {
  border-color: var(--crimson);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.marriage-item .tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--crimson);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.marriage-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--ink);
  line-height: 1.25;
}

.marriage-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--ink-faint);
  line-height: 1.55;
}

/* ========== EXPANDABLE COLUMNS ========== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
  align-items: start;
}

details.col {
  background: var(--paper);
  border-radius: 4px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

details.col[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--crimson);
}

details.col summary {
  cursor: pointer;
  padding: 2.25rem;
  list-style: none;
  position: relative;
  transition: background 0.2s ease;
}

details.col summary::-webkit-details-marker { display: none; }
details.col summary:hover { background: rgba(139, 35, 50, 0.03); }

details.col summary::after {
  content: "+";
  position: absolute;
  top: 1.9rem;
  right: 1.9rem;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--crimson);
  transition: transform 0.25s ease;
  line-height: 1;
  font-weight: 400;
}

details.col[open] summary::after { content: "−"; }

details.col summary .eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 0.75rem;
  display: block;
}

details.col summary .title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  max-width: 80%;
  display: block;
}

details.col summary .hint {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-faint);
  margin-top: 0.75rem;
  max-width: 85%;
}

details.col .body {
  padding: 0 2.25rem 2.25rem;
  border-top: 1px solid var(--line);
}

details.col .body p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-top: 1.25rem;
}

details.col .body p:first-child { margin-top: 2rem; }

details.col .body ul {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
}

details.col .body ul li {
  padding: 0.65rem 0 0.65rem 1.25rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}

details.col .body ul li:last-child { border-bottom: none; }

details.col .body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px;
  height: 6px;
  background: var(--crimson);
  border-radius: 50%;
}

details.col .body ul li strong {
  color: var(--ink);
  display: block;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* ========== PILOT (dark) ========== */
.pilot-dark {
  background: linear-gradient(135deg, #1a1410 0%, #2b1e1a 100%);
  color: #fdfbf5;
  position: relative;
  overflow: hidden;
}

.pilot-dark > .wrap { position: relative; z-index: 1; }
.pilot-dark .section-label { color: #e8c580; }
.pilot-dark h2 { color: #fdfbf5; }
.pilot-dark p { color: rgba(253, 251, 245, 0.8); }

.pilot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pilot-card {
  background: rgba(255, 253, 247, 0.04);
  border: 1px solid rgba(232, 197, 128, 0.2);
  border-radius: 4px;
  padding: 1.75rem;
}

.pilot-card h4 {
  color: #e8c580;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.pilot-card p {
  font-size: 0.92rem;
  color: rgba(253, 251, 245, 0.75);
  margin-bottom: 0;
}

/* ========== FINANCIAL ========== */
.financial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.financial-col {
  background: var(--paper);
  padding: 2rem;
  border-radius: 4px;
  border-top: 3px solid var(--crimson);
  box-shadow: var(--shadow-sm);
}

.financial-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.financial-col ul { list-style: none; }

.financial-col li {
  padding: 0.6rem 0 0.6rem 1.25rem;
  position: relative;
  font-size: 0.94rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}

.financial-col li:last-child { border-bottom: none; }

.financial-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  background: var(--crimson);
  border-radius: 50%;
}

/* ========== NEXT STEPS ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.step {
  padding: 1.75rem 1.25rem;
  background: var(--paper);
  border-radius: 4px;
  border-top: 3px solid var(--crimson);
}

.step .step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  color: var(--crimson);
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.step p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ========== FOOTER ========== */
footer {
  background: #0f0c0a;
  color: rgba(253, 251, 245, 0.6);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

footer p { color: rgba(253, 251, 245, 0.6); font-size: 0.88rem; margin: 0; }

footer .sig {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #e8c580;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

footer a {
  color: #e8c580;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover { color: #fdfbf5; }

footer .nav-row {
  margin-top: 1.25rem;
  font-size: 0.8rem;
}

/* ========== SEMESTER LEVELS (Entrepreneurship track) ========== */
.semester-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  position: relative;
}

.semester-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.semester-card:hover {
  border-color: var(--crimson);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.semester-card::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -1.15rem;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 400;
  font-family: 'Fraunces', serif;
  z-index: 2;
}

.semester-card:last-child::after { display: none; }

.semester-card .roman {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 500;
  color: var(--crimson);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.semester-card .level {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
}

.semester-card h4 {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.semester-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.semester-card .outcome {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--crimson);
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .semester-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .semester-card::after {
    top: auto;
    right: 50%;
    bottom: -1.15rem;
    transform: translateX(50%);
    content: "↓";
  }
  .semester-card:nth-child(2n)::after { display: none; }
}

@media (max-width: 500px) {
  .semester-grid { grid-template-columns: 1fr; }
  .semester-card::after {
    content: "↓" !important;
    display: block !important;
    top: auto;
    right: 50%;
    bottom: -1.15rem;
    transform: translateX(50%);
  }
  .semester-card:last-child::after { display: none !important; }
}

/* ========== AI QUOTE CALLOUT ========== */
.ai-quote {
  background: linear-gradient(135deg, #0C0B0A 0%, #1c1410 100%);
  color: var(--cinematic-paper);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.ai-quote::before {
  content: """;
  position: absolute;
  top: -3rem;
  left: 5%;
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: 20rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.12;
  pointer-events: none;
  font-weight: 700;
}

.ai-quote .wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.ai-quote .eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 2rem;
}

.ai-quote blockquote {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--cinematic-paper);
  margin-bottom: 2rem;
  text-wrap: balance;
}

.ai-quote blockquote em,
.ai-quote blockquote .highlight {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.ai-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.95rem;
  color: rgba(244, 239, 230, 0.65);
  letter-spacing: 0.02em;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201, 162, 75, 0.25);
}

.ai-quote cite strong {
  color: var(--cinematic-paper);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ai-quote cite a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dashed rgba(201, 162, 75, 0.5);
  transition: all 0.2s ease;
}

.ai-quote cite a:hover {
  border-bottom-color: var(--gold);
  color: #e0c179;
}

/* ========== SECTION VARIANTS ========== */
.bg-paper { background: var(--paper); }
.bg-bg { background: var(--bg); }
.bg-bg-alt { background: var(--bg-alt); }
.text-center { text-align: center; }

/* Subtle photo background overlay on light sections */
.photo-overlay {
  position: relative;
  overflow: hidden;
}

.photo-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--photo);
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(10%);
}

.photo-overlay > .wrap,
.photo-overlay > .narrow {
  position: relative;
  z-index: 1;
}

/* ============================================
   CINEMATIC HERO (index.html only)
   ============================================ */

.hero-cinematic {
  position: relative;
  min-height: 100vh;
  background: var(--cinematic-ink);
  color: var(--cinematic-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Background video */
.hero-cinematic .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  filter: brightness(1) contrast(1.05) saturate(1);
  animation: bgVideoIn 1.8s ease 0.3s forwards;
  pointer-events: none;
}

@keyframes bgVideoIn { to { opacity: 0.92; } }

@media (prefers-reduced-motion: reduce) {
  .hero-cinematic .bg-video { display: none; }
}

/* Readability shroud: soft dark gradient between video and text */
.hero-cinematic .text-shroud {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(12, 11, 10, 0.55) 0%,
      rgba(12, 11, 10, 0.18) 18%,
      rgba(12, 11, 10, 0.18) 35%,
      rgba(12, 11, 10, 0.55) 65%,
      rgba(12, 11, 10, 0.82) 100%),
    radial-gradient(ellipse 70% 45% at center 62%, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
}

.hero-cinematic .grain,
.hero-cinematic .vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.hero-cinematic .grain {
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grainMove 1.2s steps(4) infinite;
}

@keyframes grainMove {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-8px, 6px); }
  50% { transform: translate(6px, -4px); }
  75% { transform: translate(-3px, -8px); }
  100% { transform: translate(0, 0); }
}

.hero-cinematic .vignette {
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.hero-cinematic .hero-topmark {
  position: absolute;
  top: 28px;
  left: 48px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cinematic-paper);
}

.hero-cinematic .hero-topmark .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: goldPulse 2.4s ease-in-out infinite;
}

@keyframes goldPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Paired photo backdrop */
.hero-cinematic .bg-pair {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: bgFadeIn 2.4s ease 0.4s forwards;
}

@keyframes bgFadeIn { to { opacity: 1; } }

.hero-cinematic .bg-pair .bg-img {
  background-size: cover;
  background-position: center;
  filter: grayscale(30%) contrast(1.05);
}

.hero-cinematic .bg-pair .bg-img--l {
  background-image: url("images/hero-bg-left.jpg");
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 45%, transparent 90%);
  mask-image: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 45%, transparent 90%);
  opacity: 0.42;
}

.hero-cinematic .bg-pair .bg-img--r {
  background-image: url("images/hero-bg-right.jpg");
  background-position: center 20%;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 45%, transparent 90%);
  mask-image: linear-gradient(to left, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 45%, transparent 90%);
  opacity: 0.42;
}

.hero-cinematic .bg-pair .veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(12,11,10,0.4) 0%, rgba(12,11,10,0.75) 55%, var(--cinematic-ink) 100%);
}

/* Stage content */
.hero-cinematic .stage {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  width: 100%;
  max-width: 1400px;
}

.hero-cinematic .eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: cineFadeUp 1s ease 0.4s forwards;
}

.hero-cinematic .eyebrow-line::before,
.hero-cinematic .eyebrow-line::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* Wordmark lockup */
.hero-cinematic .lockup {
  position: relative;
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark halo behind the wordmark lockup to make logos pop over video */
.hero-cinematic .lockup::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 180%;
  background: radial-gradient(ellipse at center,
    rgba(12, 11, 10, 0.75) 0%,
    rgba(12, 11, 10, 0.55) 30%,
    rgba(12, 11, 10, 0.25) 55%,
    transparent 80%);
  z-index: -1;
  pointer-events: none;
  filter: blur(8px);
}

.hero-cinematic .lockup-left,
.hero-cinematic .lockup-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.hero-cinematic .lockup-left {
  right: calc(50% + 40px);
  animation: slideFromLeft 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-cinematic .lockup-right {
  left: calc(50% + 40px);
  animation: slideFromRight 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideFromLeft {
  0% { transform: translate(-30vw, -50%); opacity: 0; }
  100% { transform: translate(0, -50%); opacity: 1; }
}

@keyframes slideFromRight {
  0% { transform: translate(30vw, -50%); opacity: 0; }
  100% { transform: translate(0, -50%); opacity: 1; }
}

.hero-cinematic .davidson-lockup svg {
  display: block;
  width: 380px;
  height: auto;
  filter:
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9))
    drop-shadow(0 4px 18px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 30px rgba(0, 0, 0, 0.5));
}

.hero-cinematic .tyler-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.hero-cinematic .tyler-lockup .l1,
.hero-cinematic .tyler-lockup .l2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 0.92;
  letter-spacing: 0.12em;
  color: var(--cinematic-paper);
  text-transform: uppercase;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 18px rgba(0, 0, 0, 0.75),
    0 0 30px rgba(0, 0, 0, 0.5);
}

.hero-cinematic .tyler-lockup .l2 { color: var(--gold); }

.hero-cinematic .tyler-lockup small {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(244, 239, 230, 0.55);
  margin-top: 8px;
}

.hero-cinematic .vrule {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  opacity: 0;
  animation: vruleIn 1.2s ease 1.2s forwards;
  filter: drop-shadow(0 0 6px rgba(201, 162, 75, 0.6));
}

@keyframes vruleIn { to { opacity: 1; height: 200px; } }

.hero-cinematic .vrule::before,
.hero-cinematic .vrule::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
}

.hero-cinematic .vrule::before { top: -4px; }
.hero-cinematic .vrule::after { bottom: -4px; }

.hero-cinematic .cine-headline {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cinematic-paper);
  max-width: 22ch;
  text-wrap: balance;
  text-align: center;
  opacity: 0;
  animation: cineFadeUp 1.2s ease 1.8s forwards;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 4px 20px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 0, 0, 0.4);
}

.hero-cinematic .cine-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-cinematic .cine-sub {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto;
  color: #F4EFE6;
  text-align: center;
  opacity: 0;
  animation: cineFadeUp 1s ease 2.2s forwards;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 2px 16px rgba(0, 0, 0, 0.75);
}

.hero-cinematic .cine-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1.5rem 2.25rem;
  margin-top: 1rem;
  border: 1px solid rgba(244, 239, 230, 0.18);
  border-radius: 8px;
  background: rgba(12, 11, 10, 0.45);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  opacity: 0;
  animation: cineFadeUp 1s ease 2.6s forwards;
  max-width: 820px;
  width: 100%;
}

.hero-cinematic .cine-meta div {
  font-size: 0.78rem;
  text-align: center;
}

.hero-cinematic .cine-meta .label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.hero-cinematic .cine-meta .value {
  color: var(--cinematic-paper);
  font-weight: 500;
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  font-style: italic;
}

.hero-cinematic .scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
  opacity: 0;
  animation: cineFadeUp 1s ease 3s forwards, bob 2.4s ease-in-out 3.6s infinite;
  text-align: center;
}

.hero-cinematic .scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  background: var(--gold);
  margin: 10px auto 0;
  opacity: 0.55;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@keyframes cineFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero-cinematic { padding: 100px 24px 60px; }
  .hero-cinematic .hero-topmark { top: 20px; left: 24px; }
  .hero-cinematic .stage { gap: 36px; }
  .hero-cinematic .lockup { height: auto; flex-direction: column; gap: 28px; padding: 20px 0; }
  .hero-cinematic .lockup-left,
  .hero-cinematic .lockup-right {
    position: static;
    transform: none !important;
    animation: cineFadeUp 1.2s ease forwards;
  }
  .hero-cinematic .lockup-right { animation-delay: 0.4s; }
  .hero-cinematic .vrule {
    position: static;
    transform: none;
    width: 120px;
    height: 1px !important;
    margin: 0 auto;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
  }
  .hero-cinematic .davidson-lockup svg { width: 240px; }
  .hero-cinematic .tyler-lockup { align-items: center; }
  .hero-cinematic .tyler-lockup .l1,
  .hero-cinematic .tyler-lockup .l2 { font-size: 36px; }
  .hero-cinematic .cine-headline { font-size: 2rem; }
  .hero-cinematic .cine-meta { gap: 1.5rem; padding-top: 1.5rem; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .research-grid,
  .feature-grid,
  .financial-grid,
  .feature-image.two-col {
    grid-template-columns: 1fr;
  }
  .feature { padding: 2.5rem 1.75rem; }
  .hero { padding: 5rem 0 5rem; min-height: 500px; }
  section { padding: 4rem 0; }
  details.col summary .title { max-width: 75%; font-size: 1.3rem; }
  .top-bar nav { gap: 0.4rem; flex-wrap: wrap; }
  .top-bar nav a { font-size: 0.66rem; padding: 0.6rem 0.8rem; letter-spacing: 0.12em; }
  .top-bar .back-link { font-size: 0.66rem; padding: 0.6rem 0.7rem; letter-spacing: 0.14em; }
}

@media (max-width: 700px) {
  .top-bar .wrap { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .top-bar nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .top-bar nav a {
    flex: 1 1 auto;
    text-align: center;
    font-size: 0.62rem;
    padding: 0.55rem 0.5rem;
    letter-spacing: 0.1em;
    min-width: 0;
  }
  .top-bar .back-link {
    flex: 0 0 auto;
    font-size: 0.62rem;
    padding: 0.55rem 0.6rem;
  }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-meta { gap: 1.5rem; }
  .track-card .card-body { padding: 1.75rem; }
}

@media (max-width: 420px) {
  .top-bar .brand-pair { gap: 0.5rem; }
  .top-bar .brand-pair img { height: 30px; }
  .top-bar .brand-pair .tw .tw-l1,
  .top-bar .brand-pair .tw .tw-l2 { font-size: 0.88rem; letter-spacing: 0.1em; }
  .top-bar nav a { font-size: 0.58rem; padding: 0.5rem 0.45rem; letter-spacing: 0.08em; }
}
