:root {
  --blue: #002B5C;
  --blue-light: #1a4a7a;
  --gold: #C4A35A;
  --gold-light: #DABB78;
  --cream: #FAF7F0;
  --white: #FFFFFF;
  --slate: #3A3F47;
  --mist: #E8E4DD;
  --text: #002B5C;
  --text-sec: #5A6370;
  --border: rgba(0,43,92,.08);
  --r-sm: 8px;
  --r-md: 14px;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: background .4s var(--ease), padding .3s; }
.nav.scrolled { background: rgba(250,247,240,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border); padding: 10px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .9rem; font-weight: 500; opacity: .7; transition: opacity .25s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { background: var(--blue); color: var(--cream) !important; padding: 10px 22px; border-radius: 100px; opacity: 1 !important; transition: background .25s, transform .2s; }
.nav-cta:hover { background: var(--blue-light); transform: translateY(-1px); }
.nav-toggle { display: none; width: 28px; height: 20px; position: relative; z-index: 110; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--blue); position: absolute; left: 0; transition: all .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-toggle.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: 0; right: 0; width: 280px; height: 100dvh; flex-direction: column; align-items: flex-start; background: var(--cream); padding: 100px 32px 40px; gap: 24px; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -8px 0 40px rgba(0,0,0,.08); }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; opacity: 1; }
  .nav-cta { padding: 14px 28px; }
}

/* HERO */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 120px 24px 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-gradient { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 25% 35%, rgba(0,43,92,.07) 0%, transparent 70%), radial-gradient(ellipse 50% 50% at 80% 65%, rgba(196,163,90,.08) 0%, transparent 55%), linear-gradient(180deg, var(--cream) 0%, rgba(250,247,240,.5) 100%); }
.hero-grain { position: absolute; inset: 0; opacity: .3; 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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E"); background-size: 200px; }
.hero-content { position: relative; text-align: center; max-width: 780px; }
.hero-label { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.hero-title { font-family: var(--serif); font-size: clamp(2.8rem, 8vw, 5.8rem); line-height: 1.05; font-weight: 400; margin-bottom: 28px; }
.hero-line { display: block; }
.hero-line--accent { font-style: italic; color: var(--gold); }
.hero-sub { font-size: clamp(1rem, 2.2vw, 1.15rem); color: var(--text-sec); max-width: 540px; margin: 0 auto 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* BTNS */
.btn { display: inline-flex; align-items: center; padding: 14px 32px; border-radius: 100px; font-weight: 600; font-size: .95rem; transition: all .3s var(--ease); cursor: pointer; }
.btn-primary { background: var(--blue); color: var(--cream); box-shadow: 0 2px 12px rgba(0,43,92,.15); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,43,92,.2); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid rgba(0,43,92,.2); }
.btn-outline:hover { border-color: var(--blue); background: rgba(0,43,92,.04); }

/* STATS */
.stats { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--blue); line-height: 1.1; }
.stat-label { font-size: .82rem; color: var(--text-sec); margin-top: 4px; }
@media (max-width: 480px) { .stats-grid { gap: 24px; } .stat { min-width: 120px; } }

/* SECTION HEADERS */
.section-header { margin-bottom: 52px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-header h2 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 400; line-height: 1.15; }
.section-header h2 em { color: var(--gold); font-style: italic; }
.section-header--light .tag { color: var(--gold-light); }
.section-header--light h2 { color: var(--cream); }
.section-header--light h2 em { color: var(--gold-light); }
.section-header--center { text-align: center; }

/* WHY COLBY */
.why { padding: 100px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 32px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,43,92,.06); }
.why-icon { color: var(--gold); margin-bottom: 18px; }
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: .88rem; color: var(--text-sec); line-height: 1.65; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } .why { padding: 64px 0; } }

/* ACADEMICS */
.academics { padding: 100px 0; background: var(--blue); color: var(--cream); position: relative; overflow: hidden; }
.academics::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 85% 25%, rgba(196,163,90,.08) 0%, transparent 60%); }
.acad-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.acad-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-md); padding: 36px 32px; transition: background .3s, transform .3s var(--ease); }
.acad-card:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.acad-num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); display: block; line-height: 1; margin-bottom: 14px; }
.acad-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.acad-card p { font-size: .88rem; color: rgba(250,247,240,.65); line-height: 1.65; }
@media (max-width: 560px) { .acad-grid { grid-template-columns: 1fr; } .academics { padding: 64px 0; } }

/* CAMPUS LIFE */
.life { padding: 100px 0; }
.life-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.life-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 36px 32px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.life-block:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(0,43,92,.06); }
.life-block--wide { grid-column: 1 / -1; }
.life-block h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 10px; }
.life-block p { font-size: .9rem; color: var(--text-sec); line-height: 1.7; }
@media (max-width: 560px) { .life-grid { grid-template-columns: 1fr; } .life-block--wide { grid-column: auto; } .life { padding: 64px 0; } }

/* APPLICATION PROCESS */
.process { padding: 100px 0; background: var(--white); }
.steps { display: flex; flex-direction: column; gap: 0; max-width: 720px; }
.step { display: flex; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { font-family: var(--serif); font-size: 2rem; color: var(--gold); flex-shrink: 0; width: 56px; line-height: 1.2; }
.step-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-body p { font-size: .88rem; color: var(--text-sec); line-height: 1.65; }
.process-cta { margin-top: 48px; }
@media (max-width: 480px) { .step { gap: 16px; } .step-num { font-size: 1.6rem; width: 40px; } .process { padding: 64px 0; } }

/* VISIT */
.visit { padding: 100px 0; }
.visit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.visit-text h2 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; line-height: 1.15; margin-bottom: 16px; }
.visit-text h2 em { color: var(--gold); font-style: italic; }
.visit-text > p { color: var(--text-sec); line-height: 1.75; margin-bottom: 32px; }
.visit-options { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.visit-opt { border-left: 3px solid var(--gold); padding-left: 20px; }
.visit-opt h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.visit-opt p { font-size: .85rem; color: var(--text-sec); line-height: 1.6; }
.visit-map { display: flex; align-items: center; justify-content: center; }
.map-placeholder { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 60px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--blue); width: 100%; }
.map-label { font-family: var(--serif); font-size: 1.4rem; }
.map-address { font-size: .88rem; color: var(--text-sec); line-height: 1.6; }
@media (max-width: 768px) { .visit-inner { grid-template-columns: 1fr; gap: 40px; } .visit { padding: 64px 0; } }

/* DEADLINES */
.deadlines { padding: 80px 0; background: var(--white); }
.deadline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 800px; margin: 0 auto; }
.deadline { background: var(--cream); border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px 24px; text-align: center; transition: transform .3s var(--ease); }
.deadline:hover { transform: translateY(-3px); }
.deadline-date { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--blue); line-height: 1.1; margin-bottom: 6px; }
.deadline-name { font-size: .82rem; color: var(--text-sec); font-weight: 500; }
@media (max-width: 560px) { .deadline-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .deadline-grid { grid-template-columns: 1fr; } .deadlines { padding: 48px 0; } }

/* FOOTER */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; }
.footer-address { font-size: .8rem; color: var(--text-sec); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .8rem; color: var(--text-sec); transition: color .25s; }
.footer-links a:hover { color: var(--blue); }
@media (max-width: 640px) { .footer-inner { flex-direction: column; text-align: center; } .footer-links { justify-content: center; flex-wrap: wrap; } }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
