:root {
  --black-bg: #0a0c11;
  --black-alt: #15181f;
  --line: #262b35;

  /* Two color families, two shades each — a dark/bright blue pair
     for the "professional" half, a dark/bright coral pair for the
     "fun" half. */
  --navy: #16233f;
  --blue: #5b8def;
  --rust: #9c4429;
  --coral: #dd6b4d;

  --ink: #eef1f5;
  --ink-soft: #9aa3b2;

  --radius: 14px;
  --serif: 'Bricolage Grotesque', sans-serif;
  --sans: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1080px;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--black-bg);
  line-height: 1.55;
}

h1, h2, h3 { font-family: var(--serif); margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 17, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--coral), var(--rust));
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo-badge {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  background: var(--coral);
  padding: 0.4rem 0.9rem;
  border-radius: 10px;
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--coral); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* ===== COLOR-BLOCK SECTIONS ===== */
.on-navy { background: var(--navy); color: #eef1f7; }
.on-navy h1, .on-navy h2, .on-navy h3 { color: #ffffff; }
.on-navy p { color: #b9c2d6; }
.on-navy .kicker { color: var(--coral); }

.on-blue { background: var(--blue); color: var(--navy); }
.on-blue h1, .on-blue h2, .on-blue h3 { color: var(--navy); }
.on-blue p { color: #1d2f52; }
.on-blue .kicker { color: var(--navy); }

.on-coral { background: var(--coral); color: var(--navy); }
.on-coral p { color: #5a2c1c; }
.on-coral .kicker { color: var(--navy); }

.on-rust { background: var(--rust); color: #f7ece8; }
.on-rust h1, .on-rust h2, .on-rust h3 { color: #ffffff; }
.on-rust p { color: #e3c3b7; }
.on-rust .kicker { color: var(--blue); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius);
  justify-self: end;
}
.hero-text {
  background: var(--navy);
  padding: 2.5rem 2.75rem;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: 1.15rem;
  max-width: 480px;
  margin: 0 0 2.25rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: var(--navy); }
.btn-primary:hover { background: var(--blue); }
.btn-ghost { border: 1.5px solid #ffffff; color: #ffffff; }
.btn-ghost:hover { background: #ffffff; color: var(--navy); }

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  color: #ffffff;
  animation: bob 2s infinite;
  z-index: 2;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== SECTIONS ===== */
.section { padding: 6rem 1.5rem; position: relative; scroll-margin-top: 76px; }
#story { padding: 4rem 1.5rem; }
.section-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.section-inner-narrow { max-width: 680px; }
.section h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* ===== IMAGE PLACEHOLDERS (diagonal-cut) ===== */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px dashed rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 1.5rem;
}
.img-placeholder svg { opacity: 0.8; }

.img-diagonal {
  clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
}
.story-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 280px;
  border-radius: var(--radius);
  margin: 2.5rem auto 0;
}
.leadership-media {
  aspect-ratio: 4 / 3;
  width: 100%;
  align-self: start;
}

/* ===== STATS (circle badges) ===== */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  margin: 2.5rem 0 3rem;
}
.stat-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--black-alt);
  border: 3px solid var(--circle-color, var(--navy));
  flex-shrink: 0;
}
.stat-row .stat-circle:nth-child(1) { --circle-color: var(--navy); }
.stat-row .stat-circle:nth-child(2) { --circle-color: var(--blue); }
.stat-row .stat-circle:nth-child(3) { --circle-color: var(--coral); }
.stat-row .stat-circle:nth-child(4) { --circle-color: var(--rust); }
.stat-number {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--circle-color, var(--navy));
  line-height: 1.1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 0.4rem;
  padding: 0 0.5rem;
}

/* "pop in" reveal, distinct from the generic fade-up used elsewhere */
.stat-circle.reveal {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stat-circle.reveal.visible {
  opacity: 1;
  transform: scale(1);
}
.about-text { max-width: 680px; font-size: 1.08rem; color: var(--ink-soft); }

/* ===== CARDS (academics) ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--black-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--card-color, var(--navy));
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--card-color, var(--navy));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
}
.card:nth-child(4n+1) { --card-color: var(--navy); }
.card:nth-child(4n+2) { --card-color: var(--blue); }
.card:nth-child(4n+3) { --card-color: var(--coral); }
.card:nth-child(4n+4) { --card-color: var(--rust); }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--card-color, var(--navy));
  color: #ffffff;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.3rem; color: var(--ink); }
.card-meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.card p:last-child { color: var(--ink-soft); margin-bottom: 0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ===== ARTWORK GALLERY ===== */
.artwork-block { margin-top: 2.5rem; }
.artwork-block h3 { font-size: 1.05rem; margin-bottom: 1rem; color: var(--ink); }
.artwork-row {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--blue) var(--black-alt);
}
.artwork-row::-webkit-scrollbar { height: 8px; }
.artwork-row::-webkit-scrollbar-track { background: var(--black-alt); border-radius: 999px; }
.artwork-row::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 999px; }
.artwork-media {
  flex: 0 0 220px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  scroll-snap-align: start;
}

/* ===== LEADERSHIP ===== */
.leadership-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2.44rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--tl-color, var(--navy));
  box-shadow: 0 0 0 4px var(--rust);
  transform: rotate(45deg);
}
.timeline-item:nth-child(4n+1) { --tl-color: var(--navy); }
.timeline-item:nth-child(4n+2) { --tl-color: var(--blue); }
.timeline-item:nth-child(4n+3) { --tl-color: var(--coral); }
.timeline-item:nth-child(4n+4) { --tl-color: var(--navy); }
.timeline-date {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tl-color, var(--navy));
  margin-bottom: 0.35rem;
}
.timeline-content h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--ink); }
.timeline-item p { color: var(--ink-soft); }

/* ===== STORY ===== */
.story-paragraph { font-size: 1.1rem; }
.pull-quote {
  margin: 2.5rem 0 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--coral);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: inherit;
}

/* ===== FOOTER ===== */
.footer {
  padding: 5rem 1.5rem;
  text-align: center;
  scroll-margin-top: 76px;
}
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer h2 { margin-bottom: 0.75rem; font-size: 2rem; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  font-weight: 700;
}
.footer-links a { border-bottom: 2px solid transparent; padding-bottom: 2px; transition: border-color 0.2s, color 0.2s; color: var(--blue); }
.footer-links a:hover { border-color: var(--coral); color: var(--coral); }
.footer-note { font-size: 0.85rem; color: #b9c2d6; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-media { max-width: 260px; margin: 0 auto; justify-self: center; order: -1; }
  .leadership-grid { grid-template-columns: 1fr; }
  .leadership-media { max-width: 340px; margin: 0 auto 2rem; order: -1; }
}
@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .stat-row { justify-content: center; }
}

.nav.menu-open .nav-links {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--black-bg);
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.25rem;
  border-bottom: 1px solid var(--line);
}
