*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:      #17293A;
  --steel:     #4B7D96;
  --steel-mid: #3A6478;
  --steel-lt:  #85B5CC;
  --cream:     #F4F0E8;
  --white:     #FEFCF8;
  --body:      #3A4A58;
  --muted:     #7A8E9E;
  --border:    rgba(74,125,150,0.18);
}

html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--white); color: var(--body); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 30px 64px;
  transition: all 0.45s cubic-bezier(.4,0,.2,1);
}
nav.scrolled, nav.dark {
  background: rgba(23,41,58,0.97);
  backdrop-filter: blur(24px);
  padding: 18px 64px;
  box-shadow: 0 1px 0 rgba(75,125,150,0.15);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: 22px;
  letter-spacing: 0.52em; color: var(--white);
  text-decoration: none; text-transform: uppercase;
}
.nav-links { display: flex; gap: 36px; align-items: center; list-style: none; }
.nav-links a {
  font-weight: 300; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); text-decoration: none; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { border-bottom: 1px solid var(--steel-lt); padding-bottom: 2px; }
.nav-cta {
  border: 1px solid rgba(255,255,255,0.35) !important;
  padding: 9px 22px; border-radius: 2px;
  color: var(--white) !important; transition: all 0.3s !important;
}
.nav-cta:hover { background: var(--steel) !important; border-color: var(--steel) !important; }

/* ── HERO (homepage) ── */
.hero {
  height: 100vh; position: relative;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 64px 88px;
  overflow: hidden; background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('building.png');
  background-size: cover; background-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 14s ease-out forwards;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(23,41,58,0.92) 0%, rgba(23,41,58,0.5) 55%, rgba(23,41,58,0.2) 100%),
    linear-gradient(to top, rgba(23,41,58,0.95) 0%, transparent 55%);
}
.hero-mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(133,181,204,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133,181,204,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-eyebrow {
  font-weight: 300; font-size: 11px;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--steel-lt); margin-bottom: 30px;
  opacity: 0; animation: fadeUp 1s ease 0.4s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(88px, 13vw, 170px);
  line-height: 0.88; color: var(--white); margin-bottom: 32px;
  opacity: 0; animation: fadeUp 1.2s ease 0.6s forwards;
}
.hero-line {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.8vw, 32px);
  color: rgba(255,255,255,0.72); margin-bottom: 14px;
  opacity: 0; animation: fadeUp 1s ease 0.85s forwards;
  line-height: 1.3;
}
.hero-tagline {
  display: flex; align-items: center; gap: 14px;
  font-weight: 300; font-size: 12px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 52px;
  opacity: 0; animation: fadeUp 1s ease 1s forwards;
}
.tag-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--steel-lt); opacity: 0.7; }
.hero-actions {
  display: flex; gap: 24px; align-items: center;
  opacity: 0; animation: fadeUp 1s ease 1.15s forwards;
}
.scroll-cue {
  position: absolute; right: 64px; bottom: 48px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeIn 1s ease 2s forwards;
}
.scroll-cue-label {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); writing-mode: vertical-rl;
}
.scroll-cue-line {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, rgba(133,181,204,0.5), transparent);
  animation: linePulse 2.2s ease infinite;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy); padding: 180px 64px 100px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(133,181,204,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133,181,204,0.07) 1px, transparent 1px);
  background-size: 42px 42px;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(75,125,150,0.22) 0%, transparent 65%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 680px; }
.page-eyebrow {
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--steel-lt); margin-bottom: 22px;
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: clamp(52px, 7vw, 88px);
  line-height: 0.95; color: var(--white); margin-bottom: 28px;
}
.page-subtitle {
  font-size: 17px; line-height: 1.8;
  color: rgba(255,255,255,0.58); font-weight: 300; max-width: 540px;
}

/* ── COMMON ── */
.label {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 22px;
}
.label-lt {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--steel-lt); margin-bottom: 22px;
}
.sh {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(38px, 4vw, 56px); line-height: 1.1; color: var(--navy);
}
.sh em { font-style: italic; color: var(--steel); }
.sh-lt {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(36px, 4vw, 54px); line-height: 1.15; color: var(--white);
}
.body-text { font-size: 16.5px; line-height: 1.88; color: var(--body); font-weight: 300; }
.body-text + .body-text { margin-top: 20px; }

/* Buttons */
.btn-primary {
  background: var(--steel); color: var(--white);
  padding: 15px 38px; font-weight: 400; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; display: inline-block;
  transition: background 0.3s;
}
.btn-primary:hover { background: var(--steel-mid); }
.btn-outline {
  border: 1.5px solid var(--steel); color: var(--steel);
  padding: 14px 36px; font-weight: 400; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; display: inline-block; transition: all 0.3s;
}
.btn-outline:hover { background: var(--steel); color: var(--white); }
.btn-white {
  background: var(--white); color: var(--steel-mid);
  padding: 16px 46px; display: inline-block; font-weight: 500; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; transition: all 0.3s;
}
.btn-white:hover { background: var(--navy); color: var(--white); }

/* ── PILLARS ── */
.section-pillars { background: var(--navy); padding: 120px 64px; }
.pillars-header { text-align: center; margin-bottom: 72px; }
.pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(75,125,150,0.2);
  border: 1px solid rgba(75,125,150,0.18);
}
.pillar {
  background: var(--navy); padding: 56px 40px;
  position: relative; overflow: hidden; transition: background 0.4s;
}
.pillar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--steel); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.pillar:hover { background: rgba(75,125,150,0.07); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-n { font-size: 11px; letter-spacing: 0.25em; color: var(--steel); margin-bottom: 36px; }
.pillar-w {
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 40px;
  color: var(--white); margin-bottom: 20px; line-height: 1;
}
.pillar-d { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.5); font-weight: 300; }

/* ── ADMISSIONS CTA STRIP ── */
.adm-strip {
  background: var(--steel); padding: 130px 64px;
  text-align: center; position: relative; overflow: hidden;
}
.adm-strip::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 38px 38px;
}
.adm-content { position: relative; z-index: 1; }
.adm-eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-bottom: 22px;
}
.adm-h {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(44px, 5.5vw, 72px); color: var(--white);
  line-height: 1.1; margin-bottom: 22px;
}
.adm-p {
  font-size: 16px; color: rgba(255,255,255,0.72); font-weight: 300;
  max-width: 540px; margin: 0 auto 52px; line-height: 1.75;
}

/* ── FOOTER ── */
footer { background: var(--navy); padding: 80px 64px 44px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px; padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.09); margin-bottom: 36px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 26px;
  letter-spacing: 0.48em; color: var(--white); text-transform: uppercase; margin-bottom: 14px;
}
.footer-tag {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px;
  color: rgba(255,255,255,0.38); line-height: 1.6;
}
.footer-addr {
  margin-top: 24px; font-size: 13px; color: rgba(255,255,255,0.35);
  font-weight: 300; line-height: 1.9;
}
.footer-col-h {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--steel-lt); margin-bottom: 24px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-links a {
  font-size: 14px; color: rgba(255,255,255,0.48);
  text-decoration: none; font-weight: 300; transition: color 0.3s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.22); font-weight: 300; }
.footer-open { font-size: 12px; color: var(--steel-lt); letter-spacing: 0.1em; }

/* ── ANIMATIONS ── */
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes linePulse { 0%,100% { opacity: 0.4; } 50% { opacity: 0.85; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s ease, transform 0.85s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.12s; } .d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; } .d4 { transition-delay: 0.48s; }
