/* ============================================================
   AURELIAN UNIVERSITY — Design System & Styles
   ============================================================

   Colour palette
   -------------
   --ink        #14181f   deep navy/ink (primary text)
   --ink-soft   #2a3140
   --navy       #1b2a44   heritage navy
   --navy-deep  #111d31
   --gold       #b08d48   antique gold
   --gold-bright #d4af6a
   --cream      #f6f1e7   warm paper
   --paper      #fbf8f1
   --line       rgba(20,24,31,.12)

   Typography
   ----------
   Fraunces (serif display) + Inter (sans body)
   ============================================================ */

:root {
  --ink: #14181f;
  --ink-soft: #2a3140;
  --muted: #5b6472;
  --navy: #1b2a44;
  --navy-deep: #111d31;
  --gold: #b08d48;
  --gold-bright: #d4af6a;
  --cream: #f6f1e7;
  --paper: #fbf8f1;
  --white: #ffffff;
  --line: rgba(20, 24, 31, 0.12);
  --line-light: rgba(20, 24, 31, 0.07);

  --shadow-sm: 0 2px 12px rgba(17, 29, 49, 0.06);
  --shadow-md: 0 18px 50px -20px rgba(17, 29, 49, 0.28);
  --shadow-lg: 0 40px 90px -30px rgba(17, 29, 49, 0.45);

  --ff-serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ff-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --wrap: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  --nav-h: 78px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--navy-deep); }

/* Paper grain texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 400;
  line-height: 1.08;
  color: var(--navy-deep);
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}

h1 { font-size: clamp(2.75rem, 6.5vw, 5.6rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
h4 { font-size: 1.15rem; font-family: var(--ff-sans); font-weight: 600; letter-spacing: 0.01em; }

p { color: var(--ink-soft); }
p + p { margin-top: 1.15rem; }

.serif { font-family: var(--ff-serif); }
.italic { font-style: italic; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--ff-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

.lede {
  font-family: var(--ff-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}

.section-tight { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head h2 { margin-bottom: 1.3rem; }
.section-head p { font-size: 1.08rem; max-width: 620px; }
.section-head.center p { margin-inline: auto; }

.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-navy {
  background: var(--navy-deep);
  color: var(--cream);
}
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--paper); }
.bg-navy p { color: rgba(246, 241, 231, 0.72); }
.bg-navy .eyebrow { color: var(--gold-bright); }

/* divider rule */
.rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line);
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.45s var(--ease);
  position: relative;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.45s var(--ease); }

.btn-primary {
  background: var(--navy-deep);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover svg { transform: translateX(4px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-gold:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--navy-deep);
  transform: translateY(-2px);
}
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(246, 241, 231, 0.35);
}
.btn-light:hover {
  background: var(--paper);
  color: var(--navy-deep);
  border-color: var(--paper);
  transform: translateY(-2px);
}
.btn-light:hover svg { transform: translateX(4px); }

.btn-nav-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(246, 241, 231, 0.35);
}
.btn-nav-ghost:hover {
  border-color: var(--paper);
  transform: translateY(-2px);
}
.nav.scrolled .btn-nav-ghost {
  color: var(--navy-deep);
  border-color: var(--line);
}
.nav.scrolled .btn-nav-ghost:hover {
  border-color: var(--navy-deep);
  background: var(--navy-deep);
  color: var(--paper);
}

.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* text link with underline animation */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  padding-bottom: 4px;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0.3);
  transition: transform 0.5s var(--ease);
}
.tlink:hover::after { transform-origin: left; transform: scaleX(1); }
.tlink svg { width: 15px; height: 15px; transition: transform 0.45s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: all 0.5s var(--ease);
}
.nav.scrolled {
  background: rgba(251, 248, 241, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-light);
  height: 66px;
}
.nav-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper);
  transition: color 0.4s var(--ease);
}
.nav.scrolled .brand { color: var(--navy-deep); }
.brand-mark {
  width: 40px; height: 40px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--ff-serif);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 231, 0.88);
  position: relative;
  padding: 6px 0;
  transition: color 0.35s var(--ease);
}
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover { color: var(--gold-bright); }
.nav.scrolled .nav-links a:hover { color: var(--navy-deep); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--gold-bright); }
.nav.scrolled .nav-links a.is-active { color: var(--navy-deep); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-cta .btn { padding: 0.72rem 1.4rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--paper);
  transition: all 0.4s var(--ease);
}
.nav.scrolled .nav-toggle span { background: var(--navy-deep); }
.nav-toggle.open span { background: var(--navy-deep); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  clip-path: circle(0% at calc(100% - 44px) 40px);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
}
.mobile-menu.open {
  clip-path: circle(150% at calc(100% - 44px) 40px);
  pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 9vw, 3.2rem);
  color: var(--navy-deep);
  padding: 0.35em 0;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu a span { font-family: var(--ff-sans); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); }
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.12s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.18s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.24s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.3s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.36s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.42s; }
.mobile-menu .btn { margin-top: 2rem; align-self: flex-start; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(3rem, 7vw, 6rem);
  color: var(--paper);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 18, 31, 0.62) 0%, rgba(11, 18, 31, 0.25) 38%, rgba(11, 18, 31, 0.82) 100%),
    linear-gradient(90deg, rgba(11, 18, 31, 0.55) 0%, rgba(11, 18, 31, 0) 55%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.8rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s var(--ease) 0.2s forwards;
}
.hero-eyebrow::before {
  content: "";
  width: 42px; height: 1px;
  background: var(--gold-bright);
}
.hero h1 {
  color: var(--paper);
  max-width: 14ch;
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(30px);
  animation: rise 1.1s var(--ease) 0.35s forwards;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 300;
}
.hero-lede {
  max-width: 540px;
  font-size: 1.12rem;
  line-height: 1.6;
  color: rgba(246, 241, 231, 0.82);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: rise 1.1s var(--ease) 0.55s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: rise 1.1s var(--ease) 0.72s forwards;
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-strip {
  position: absolute;
  z-index: 2;
  bottom: 0; left: 0; right: 0;
  border-top: 1px solid rgba(246, 241, 231, 0.15);
  background: rgba(11, 18, 31, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
}
.hero-strip-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: var(--ff-serif);
  font-size: 1.7rem;
  color: var(--gold-bright);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.6);
  margin-top: 0.5rem;
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.6);
  writing-mode: vertical-rl;
  opacity: 0;
  animation: rise 1s var(--ease) 1.1s forwards;
}
.scroll-cue .line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--gold-bright), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--paper);
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.ticker {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 1.05rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(246, 241, 231, 0.08);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0 2.2rem;
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(246, 241, 231, 0.85);
  white-space: nowrap;
}
.ticker-item .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ============================================================
   INTRO / ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about-media {
  position: relative;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
}
.about-media .seal {
  position: absolute;
  bottom: -34px;
  right: -20px;
  width: 148px;
  height: 148px;
  background: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.about-media .seal svg { width: 86%; height: 86%; }
.about-copy .eyebrow { margin-bottom: 1.5rem; }
.about-copy h2 { margin-bottom: 1.6rem; }
.about-copy .lede { margin-bottom: 1.8rem; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-feature .ico {
  width: 40px; height: 40px;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.about-feature h4 { margin-bottom: 0.35rem; color: var(--navy-deep); }
.about-feature p { font-size: 0.92rem; line-height: 1.55; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.stat {
  background: var(--paper);
  padding: clamp(2rem, 4vw, 3.4rem) 1.8rem;
  text-align: center;
}
.stat-num {
  font-family: var(--ff-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  color: var(--navy-deep);
  font-weight: 400;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-num .suffix { font-size: 0.5em; color: var(--gold); }
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.9rem;
}

/* ============================================================
   ACADEMICS / PROGRAMS
   ============================================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.program-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 3px;
  padding: 2.4rem 2rem;
  overflow: hidden;
  transition: all 0.55s var(--ease);
  display: flex;
  flex-direction: column;
}
.program-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.program-card:hover::before { transform: scaleX(1); }
.program-num {
  font-family: var(--ff-serif);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 1.4rem;
  display: block;
}
.program-card .ico {
  width: 46px; height: 46px;
  color: var(--navy-deep);
  margin-bottom: 1.6rem;
  transition: color 0.45s var(--ease);
}
.program-card:hover .ico { color: var(--gold); }
.program-card h3 { margin-bottom: 0.85rem; }
.program-card p { font-size: 0.95rem; margin-bottom: 1.6rem; flex-grow: 1; }
.program-meta {
  display: flex;
  gap: 1.2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.program-meta span { display: flex; align-items: center; gap: 0.4rem; }
.program-meta svg { width: 14px; height: 14px; color: var(--gold); }

/* ============================================================
   CAMPUS — image feature
   ============================================================ */
.campus-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.campus-media {
  position: relative;
}
.campus-media img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 2px;
}
.campus-media .floating-card {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: var(--paper);
  padding: 1.5rem 1.7rem;
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--gold);
  max-width: 260px;
}
.campus-media .floating-card .quote {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--navy-deep);
}
.campus-media .floating-card .who {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.campus-copy .eyebrow { margin-bottom: 1.5rem; }
.campus-copy h2 { margin-bottom: 1.6rem; }
.campus-points { margin-top: 2.2rem; display: grid; gap: 1.4rem; }
.campus-point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.1rem;
  align-items: start;
}
.campus-point .num {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
  padding-top: 2px;
}
.campus-point h4 { margin-bottom: 0.3rem; }
.campus-point p { font-size: 0.93rem; }

/* ============================================================
   RESEARCH
   ============================================================ */
.research-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.research-sticky .eyebrow { margin-bottom: 1.5rem; }
.research-sticky h2 { margin-bottom: 1.6rem; }
.research-sticky p { margin-bottom: 1.4rem; }
.research-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(246, 241, 231, 0.1);
  border-top: 1px solid rgba(246, 241, 231, 0.1);
  border-bottom: 1px solid rgba(246, 241, 231, 0.1);
}
.area {
  padding: 2rem 1.6rem;
  background: var(--navy-deep);
  border-right: 1px solid rgba(246, 241, 231, 0.08);
  border-bottom: 1px solid rgba(246, 241, 231, 0.08);
  transition: background 0.45s var(--ease);
}
.area:hover { background: rgba(246, 241, 231, 0.04); }
.area .tag {
  font-family: var(--ff-serif);
  font-size: 0.8rem;
  color: var(--gold-bright);
  font-style: italic;
  margin-bottom: 0.7rem;
  display: block;
}
.area h4 { color: var(--paper); margin-bottom: 0.45rem; font-family: var(--ff-serif); font-weight: 400; font-size: 1.25rem; }
.area p { font-size: 0.86rem; line-height: 1.55; color: rgba(246, 241, 231, 0.62); margin: 0; }

/* ============================================================
   FACULTY / VOICES
   ============================================================ */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.faculty-card {
  text-align: center;
}
.faculty-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}
.faculty-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.faculty-card:hover .faculty-photo img { transform: scale(1.06); }
.faculty-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(17, 29, 49, 0.5) 100%);
}
.faculty-card h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.faculty-card .role {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.faculty-card p { font-size: 0.92rem; max-width: 300px; margin-inline: auto; }

/* ============================================================
   CAMPUS LIFE GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 1.2rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(17,29,49,.55));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .cap {
  position: absolute;
  left: 1.3rem; bottom: 1.1rem;
  color: var(--paper);
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease) 0.05s;
}
.gallery-item:hover .cap { opacity: 1; transform: translateY(0); }
.g-1 { grid-column: span 7; grid-row: span 3; }
.g-2 { grid-column: span 5; grid-row: span 2; }
.g-3 { grid-column: span 5; grid-row: span 1; }
.g-4 { grid-column: span 4; grid-row: span 2; }
.g-5 { grid-column: span 8; grid-row: span 2; }

/* ============================================================
   EVENTS / NEWS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 1.8rem 1.7rem 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.news-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.news-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}
.news-card h3 a { transition: color 0.35s var(--ease); }
.news-card h3 a:hover { color: var(--gold); }
.news-card p { font-size: 0.93rem; margin-bottom: 1.5rem; flex-grow: 1; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-light);
}
.news-meta .date {
  font-family: var(--ff-serif);
  font-size: 0.95rem;
  color: var(--navy-deep);
}
.news-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

/* ============================================================
   ADMISSIONS CTA
   ============================================================ */
.admit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}
.admit-media {
  position: relative;
  overflow: hidden;
}
.admit-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.admit-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,29,49,.35), rgba(17,29,49,.15));
}
.admit-body {
  background: var(--cream);
  padding: clamp(3rem, 6vw, 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.admit-body .eyebrow { margin-bottom: 1.5rem; }
.admit-body h2 { margin-bottom: 1.5rem; }
.admit-body p { margin-bottom: 2.2rem; max-width: 480px; }
.admit-steps {
  display: grid;
  gap: 1.3rem;
  margin-bottom: 2.5rem;
}
.admit-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1.1rem;
  align-items: start;
}
.admit-step .n {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.admit-step h4 { margin-bottom: 0.2rem; }
.admit-step p { font-size: 0.9rem; margin: 0; }

/* ============================================================
   TESTIMONIAL / QUOTE
   ============================================================ */
.quote-band {
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
}
.quote-band .mark {
  font-family: var(--ff-serif);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}
.quote-band blockquote {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  line-height: 1.3;
  color: var(--paper);
  max-width: 22ch;
  margin: 0 auto 2.2rem;
  letter-spacing: -0.01em;
}
.quote-band blockquote .accent { font-style: italic; color: var(--gold-bright); }
.quote-band cite {
  font-style: normal;
  display: block;
}
.quote-band cite .name {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.quote-band cite .role {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 0.5rem;
}

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  text-align: left;
  font-family: var(--ff-serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--navy-deep);
  transition: color 0.35s var(--ease);
}
.faq-q:hover { color: var(--gold); }
.faq-q .toggle {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: all 0.4s var(--ease);
}
.faq-q .toggle::before,
.faq-q .toggle::after {
  content: "";
  position: absolute;
  background: var(--navy-deep);
  transition: all 0.4s var(--ease);
}
.faq-q .toggle::before {
  width: 14px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-q .toggle::after {
  width: 1.5px; height: 14px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item.open .faq-q .toggle { background: var(--navy-deep); border-color: var(--navy-deep); }
.faq-item.open .faq-q .toggle::before,
.faq-item.open .faq-q .toggle::after { background: var(--gold-bright); }
.faq-item.open .faq-q .toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease);
}
.faq-a-inner {
  padding: 0 0 1.7rem;
  max-width: 640px;
}
.faq-a p { font-size: 0.98rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(5rem, 11vw, 9rem) var(--gutter);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(176, 141, 72, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(176, 141, 72, 0.12), transparent 45%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { margin-bottom: 1.6rem; }
.cta-band h2 {
  max-width: 18ch;
  margin: 0 auto 1.5rem;
}
.cta-band p {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(246, 241, 231, 0.7);
  padding-top: clamp(4rem, 8vw, 6.5rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.footer-brand .brand { color: var(--paper); margin-bottom: 1.4rem; }
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(246, 241, 231, 0.6);
  max-width: 320px;
  margin-bottom: 1.8rem;
}
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(246, 241, 231, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(246, 241, 231, 0.7);
  transition: all 0.4s var(--ease);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-3px);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.5rem;
}
.footer-col ul { display: grid; gap: 0.8rem; }
.footer-col a {
  font-size: 0.92rem;
  color: rgba(246, 241, 231, 0.65);
  transition: color 0.35s var(--ease), padding-left 0.35s var(--ease);
}
.footer-col a:hover { color: var(--paper); padding-left: 5px; }

.footer-bottom {
  border-top: 1px solid rgba(246, 241, 231, 0.1);
  padding: 1.8rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(246, 241, 231, 0.45); margin: 0; }
.footer-bottom-links { display: flex; gap: 1.8rem; }
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(246, 241, 231, 0.45);
  transition: color 0.3s var(--ease);
}
.footer-bottom-links a:hover { color: var(--gold-bright); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* word stagger for headings */
.words { display: inline; }
.words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in .words .w { opacity: 1; transform: translateY(0); }
.words .w:nth-child(2) { transition-delay: 0.06s; }
.words .w:nth-child(3) { transition-delay: 0.12s; }
.words .w:nth-child(4) { transition-delay: 0.18s; }
.words .w:nth-child(5) { transition-delay: 0.24s; }
.words .w:nth-child(6) { transition-delay: 0.3s; }
.words .w:nth-child(7) { transition-delay: 0.36s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid,
  .campus-feature,
  .research-split,
  .admit { grid-template-columns: 1fr; }
  .admit { min-height: auto; }
  .admit-media { min-height: 380px; }
  .about-media .seal { width: 120px; height: 120px; right: 1rem; bottom: -26px; }
  .campus-media .floating-card { left: 1rem; bottom: 1rem; }
  .programs-grid,
  .faculty-grid,
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-strip { display: block; }
  .scroll-cue { display: none; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .programs-grid,
  .faculty-grid,
  .news-grid,
  .stats,
  .about-features,
  .research-areas { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .g-1, .g-2, .g-3, .g-4, .g-5 { grid-column: span 1; grid-row: span 1; }
  .hero h1 { max-width: 100%; }
  .hero-strip-inner { grid-template-columns: 1fr 1fr; gap: 0.8rem; padding: 0.9rem 0; }
  .hero-stat .num { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .words .w { opacity: 1; transform: none; }
}
