/* =========================================================
   Greentown Bible Institute — 2026 redesign
   Palette kept from the original site:
   teal #08767d · deep teal #073d44 · ink #132d32 · muted #56676a
   pale #edf5f5 · line #d7e1e2 · mint accent #91d4d4
   ========================================================= */

:root {
  --teal: #08767d;
  --teal-2: #09535a;
  --deep: #073d44;
  --deeper: #052f35;
  --night: #042328;
  --ink: #132d32;
  --muted: #56676a;
  --pale: #edf5f5;
  --pale-2: #f5f9f9;
  --line: #d7e1e2;
  --mint: #91d4d4;
  --mint-2: #c6ecec;
  --steel: #9aa0a3;
  --gold: #d29b32;

  --serif: 'Instrument Serif', 'Libre Caslon Display', Georgia, serif;
  --sans: 'Geist', 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1320px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --radius: clamp(18px, 2.2vw, 30px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
picture img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--mint); color: var(--night); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 1000; background: #fff; color: var(--deep); padding: 12px 18px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: 14px; }

.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(84px, 11vw, 168px); }
.section-tight { padding-block: clamp(64px, 8vw, 120px); }
.bg-pale { background: var(--pale); }
.bg-deep { background: var(--deep); color: #fff; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .75rem/1.45 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 26px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.statement > .eyebrow, .split > .eyebrow { align-self: start; margin-top: 18px; }
.eyebrow-mint { color: var(--mint); }
.display-1 { font: 400 clamp(3.2rem, 8.6vw, 8.6rem)/.92 var(--serif); letter-spacing: -.025em; }
.display-2 { font: 400 clamp(2.6rem, 5.6vw, 5.4rem)/.98 var(--serif); letter-spacing: -.02em; }
.display-3 { font: 400 clamp(2.1rem, 3.6vw, 3.4rem)/1.02 var(--serif); letter-spacing: -.015em; }
.display-1 em, .display-2 em, .display-3 em { font-style: italic; color: var(--teal); }
.on-dark .display-1 em, .on-dark .display-2 em, .on-dark .display-3 em, .bg-deep em { color: var(--mint); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.55; color: var(--muted); max-width: 44ch; }
.on-dark .lead { color: #bcd6d8; }
.muted { color: var(--muted); }
.fine { font-size: .9rem; color: var(--muted); }

/* ---------- Arrows & buttons ---------- */
.arrow { display: inline-block; width: 14px; height: 14px; position: relative; flex: none; transition: transform .5s var(--ease); }
.arrow::before, .arrow::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.arrow::before { left: 0; right: 1px; top: 50%; height: 1.6px; transform: translateY(-50%); }
.arrow::after { right: 1px; top: 50%; width: 8px; height: 8px; background: none; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: translate(0, -50%) rotate(45deg); transform-origin: center; }
.arrow-ne { transform: rotate(-45deg); }
.arrow-up { transform: rotate(-90deg); }
.arrow-down { transform: rotate(90deg); }

.btn {
  --bg: var(--teal); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 600 .95rem/1 var(--sans); letter-spacing: .005em;
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--deep); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { box-shadow: 0 14px 34px -14px rgba(8, 118, 125, .7); }
.btn-mint { --bg: var(--mint); --fg: var(--night); }
.btn-mint::before { background: #fff; }
.btn-light { --bg: #fff; --fg: var(--deep); }
.btn-light::before { background: var(--mint); }
.btn-ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn-ghost::before { background: rgba(255,255,255,.12); }
.btn-outline { --bg: transparent; --fg: var(--deep); box-shadow: inset 0 0 0 1px var(--line); }
.btn-outline::before { background: var(--pale); }
.btn-sm { padding: 13px 20px; font-size: .88rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--teal);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 4px; transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover .arrow { transform: translateX(4px); }
.on-dark .link-arrow, .bg-deep .link-arrow { color: var(--mint); }

/* ---------- Progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--mint)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 14px 0 auto; z-index: 100;
  padding-inline: var(--gutter);
  transition: transform .6s var(--ease), inset .6s var(--ease);
  view-transition-name: site-header;
}
.header-inner {
  max-width: calc(var(--maxw) + 40px); margin: 0 auto;
  display: flex; align-items: center; gap: 22px;
  padding: 10px 12px 10px 22px; border-radius: 999px;
  background: transparent; border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
}
.site-header.is-scrolled .header-inner {
  background: rgba(5, 47, 53, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-color: rgba(145, 212, 212, .16);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .45);
  padding-block: 7px;
}
.site-header.is-hidden { transform: translateY(-140%); }
.brand { flex: none; display: block; }
.brand img { height: 66px; width: auto; transition: height .5s var(--ease); }
.is-scrolled .brand img { height: 50px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; color: #dcebec; font-size: .92rem; font-weight: 500;
  padding: 10px 14px; border-radius: 999px; transition: color .3s, background .3s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: var(--night); background: var(--mint); }
.header-cta { flex: none; }
.menu-toggle {
  display: none; margin-left: auto; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(5,47,53,.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  position: relative;
}
.menu-toggle .bar { position: absolute; left: 15px; right: 15px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle .bar:nth-child(1) { top: 20px; }
.menu-toggle .bar:nth-child(2) { top: 28px; }
.menu-open .menu-toggle .bar:nth-child(1) { top: 24px; transform: rotate(45deg); }
.menu-open .menu-toggle .bar:nth-child(2) { top: 24px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff;
  clip-path: circle(0% at calc(100% - 44px) 44px); visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .9s var(--ease-in-out), visibility 0s; }
.mobile-menu-inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 120px var(--gutter) 40px; }
.mobile-nav { list-style: none; }
.mobile-nav li { overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; font: 400 clamp(2.3rem, 9vw, 3.4rem)/1.1 var(--serif); transform: translateY(100%); transition: transform .8s var(--ease); }
.mobile-nav a small { font: 500 .75rem var(--sans); color: var(--mint); letter-spacing: .12em; }
.mobile-nav a[aria-current="page"] { color: var(--mint); font-style: italic; }
.menu-open .mobile-nav a { transform: none; }
.menu-open .mobile-nav li:nth-child(1) a { transition-delay: .18s; }
.menu-open .mobile-nav li:nth-child(2) a { transition-delay: .23s; }
.menu-open .mobile-nav li:nth-child(3) a { transition-delay: .28s; }
.menu-open .mobile-nav li:nth-child(4) a { transition-delay: .33s; }
.menu-open .mobile-nav li:nth-child(5) a { transition-delay: .38s; }
.menu-open .mobile-nav li:nth-child(6) a { transition-delay: .43s; }
.mobile-meta { display: grid; gap: 6px; color: #a9c7c9; font-size: .95rem; }
.mobile-meta a { color: #fff; }
.menu-open { overflow: hidden; }

/* ---------- Reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.4s var(--ease); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-stagger] > * { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 80ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal].cta { transform: none; opacity: 1; }

/* split headline words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 55ms + 120ms); }
.is-in .wi, .is-in.wi { transform: none; }

/* scroll-highlighted text */
[data-highlight] .hw { opacity: .16; transition: opacity .35s linear; }
[data-highlight] .hw.lit { opacity: 1; }
.no-js-hl [data-highlight] .hw { opacity: 1; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: var(--deep); color: #fff; overflow: hidden; isolation: isolate;
  padding: 150px 0 clamp(48px, 7vw, 96px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.orb-1 { width: 55vw; height: 55vw; left: -18vw; top: -22vw; background: radial-gradient(circle, #0a8d95 0%, transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.orb-2 { width: 45vw; height: 45vw; right: -12vw; bottom: -20vw; background: radial-gradient(circle, #2aa3a3 0%, transparent 60%); opacity: .35; animation: drift2 22s ease-in-out infinite alternate; }
.orb-3 { width: 30vw; height: 30vw; right: 18vw; top: 8vh; background: radial-gradient(circle, #91d4d4 0%, transparent 60%); opacity: .14; animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-7vw, -8vh) scale(.92); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.grain { position: absolute; inset: -50%; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0,0) } 25% { transform: translate(-3%,2%) } 50% { transform: translate(2%,-3%) } 75% { transform: translate(-2%,-1%) } 100% { transform: translate(1%,3%) } }

.hero-cross { position: absolute; right: max(3vw, calc((100vw - var(--maxw)) / 2)); top: 50%; width: clamp(220px, 30vw, 460px); height: auto; transform: translateY(-58%); color: var(--mint); opacity: .9; pointer-events: none; }
.hero-cross path { fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hero-cross .c1 { stroke: rgba(145,212,212,.75); }
.hero-cross .c2 { stroke: rgba(154,160,163,.55); }
.js .hero-cross path { stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: draw 3.2s var(--ease) .4s forwards; }
.js .hero-cross .c2 { animation-delay: .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-content { position: relative; }
.kicker { display: flex; width: fit-content; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #cfe4e5; margin-bottom: 34px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(145,212,212,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(145,212,212,0); } 100% { box-shadow: 0 0 0 0 rgba(145,212,212,0); } }
.hero h1 { max-width: none; }
.hero h1 em { color: var(--mint); font-style: italic; }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px 60px; margin-top: clamp(34px, 5vw, 64px); padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-bottom p { max-width: 44ch; color: #c8dfe0; font-size: clamp(1.02rem, 1.3vw, 1.18rem); margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #9fc2c4; }
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(var(--mint), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- Expanding image ---------- */
.expand { --p: 0; position: relative; height: 230vh; background: var(--deep); }
.expand-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.expand-media {
  position: absolute; inset: 0;
  clip-path: inset(calc((1 - var(--p)) * 12%) calc((1 - var(--p)) * 22%) calc((1 - var(--p)) * 12%) calc((1 - var(--p)) * 22%) round calc((1 - var(--p)) * 36px));
  will-change: clip-path;
}
.expand-media picture { position: absolute; inset: 0; }
.expand-media img { object-position: center 22%; transform: scale(calc(1.08 - var(--p) * .08)); will-change: transform; }
.expand-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,35,40,.88) 0%, rgba(4,35,40,.2) 45%, rgba(4,35,40,.05) 70%); opacity: calc(.35 + var(--p) * .65); }
.expand-caption { position: absolute; left: 0; right: 0; bottom: clamp(36px, 8vh, 90px); z-index: 2; color: #fff; opacity: clamp(0, calc((var(--p) - .72) * 4), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p) - .72) * 4), 1)) * 40px)); }
.expand-caption .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.expand-caption h2 { font: 400 clamp(2.4rem, 6vw, 5.6rem)/.95 var(--serif); letter-spacing: -.02em; }
.expand-caption h2 em { color: var(--mint); }
.expand-caption p { max-width: 34ch; color: #d3e6e7; margin: 0; }
.expand-label { position: absolute; top: calc(12vh - 40px); left: 22%; right: 22%; z-index: 2; display: flex; justify-content: space-between; color: #9fc2c4; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; opacity: calc(1 - var(--p) * 5); }

/* ---------- Marquee ---------- */
.marquee { background: var(--pale); border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span { font: italic 400 clamp(1.8rem, 3.4vw, 3rem)/1 var(--serif); color: var(--deep); padding-inline: 28px; white-space: nowrap; }
.marquee-group i { width: 14px; height: 20px; position: relative; flex: none; opacity: .8; }
.marquee-group i::before, .marquee-group i::after { content: ""; position: absolute; background: var(--teal); }
.marquee-group i::before { left: 6px; top: 0; width: 2px; height: 20px; }
.marquee-group i::after { left: 1px; top: 5px; width: 12px; height: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 38px 28px 10px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.fact:last-child { border-right: 0; margin-right: 0; }
.fact strong { display: flex; align-items: baseline; gap: 8px; font: 400 clamp(3.4rem, 6vw, 5.6rem)/.9 var(--serif); color: var(--deep); letter-spacing: -.03em; }
.fact strong small { font: 500 .95rem var(--sans); color: var(--teal); letter-spacing: 0; }
.fact span { display: block; margin-top: 14px; color: var(--muted); font-size: .95rem; max-width: 24ch; }

/* ---------- Intro / statement ---------- */
.statement { display: grid; grid-template-columns: 1fr 2.3fr; gap: clamp(28px, 6vw, 90px); }
.statement-text { font: 400 clamp(2rem, 4.2vw, 4rem)/1.08 var(--serif); letter-spacing: -.015em; color: var(--deep); margin: 0 0 40px; }
.statement-body { display: grid; grid-template-columns: 1fr auto; gap: 30px 60px; align-items: end; max-width: 900px; }
.statement-body p { color: var(--muted); margin: 0; max-width: 56ch; }

/* ---------- Pathway (horizontal scroll) ---------- */
.pathway { position: relative; background: var(--night); color: #fff; }
.pathway .display-2 em { color: var(--mint); }
.pathway-sticky { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 48px); padding: 104px 0 40px; overflow: hidden; }
.pathway-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px 60px; align-items: end; }
.pathway-head .display-2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.pathway-note { color: #a9c7c9; margin: 0; font-size: .98rem; max-width: 46ch; }
.pathway-viewport { overflow: hidden; }
.pathway-track { list-style: none; display: flex; gap: 22px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); will-change: transform; }
.stage {
  position: relative; flex: none; width: clamp(290px, 30vw, 420px); min-height: clamp(300px, 42vh, 420px);
  padding: 32px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(145,212,212,.16);
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color .4s, transform .6s var(--ease);
}
.stage:hover { border-color: rgba(145,212,212,.45); transform: translateY(-6px); }
.stage::after { content: ""; position: absolute; top: 50%; right: -23px; width: 22px; height: 1px; background: rgba(145,212,212,.4); }
.stage:last-child::after { display: none; }
.stage-kicker { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); font-weight: 600; }
.stage h3 { font: 400 clamp(1.8rem, 2.4vw, 2.3rem)/1.05 var(--serif); }
.stage p { color: #bcd6d8; margin: 0; font-size: .98rem; }
.stage-year { display: flex; align-items: baseline; gap: 12px; font: 400 clamp(4.4rem, 7vw, 6.4rem)/.85 var(--serif) !important; color: #fff; letter-spacing: -.03em; }
.stage-year small { font: 500 .8rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #88b3b6; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chips li { padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: #e1eeef; }
.stage-electives { background: linear-gradient(150deg, var(--mint) 0%, #5fb9bb 100%); color: var(--night); border-color: transparent; }
.stage-electives .stage-kicker { color: var(--deep); }
.stage-electives p { color: #0d3a40; }
.stage-big { display: flex; align-items: baseline; gap: 10px; font: 400 clamp(5rem, 9vw, 8rem)/.8 var(--serif); letter-spacing: -.04em; margin-top: auto; }
.stage-big small { font: 600 .85rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.stage-finish { background: linear-gradient(160deg, #0a5a61, #073d44); border-color: rgba(145,212,212,.3); }
.stage-finish .link-arrow { margin-top: auto; color: var(--mint); }
.pathway-progress { display: flex; align-items: center; gap: 18px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #7fa7aa; }
.pp-bar { flex: 1; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.pp-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), #fff); transform-origin: 0 50%; transform: scaleX(var(--hp, 0)); }
/* stacked fallback (mobile / reduced motion / no JS) */
.pathway:not(.is-h) .pathway-viewport { overflow: visible; }
.pathway:not(.is-h) .pathway-track { flex-direction: column; width: auto; padding-inline: var(--gutter); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.pathway:not(.is-h) .stage { width: auto; min-height: 0; }
.pathway:not(.is-h) .stage::after { display: none; }
.pathway:not(.is-h) .pathway-progress { display: none; }
.pathway:not(.is-h) .pathway-sticky { position: relative; min-height: 0; padding-block: clamp(84px, 11vw, 150px); }
.pathway:not(.is-h) .stage-big { margin-top: 10px; }

/* ---------- Program cards (spotlight) ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spot {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  padding: clamp(26px, 3vw, 40px);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .4s;
}
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(145,212,212,.35), transparent 60%); }
.spot:hover::before { opacity: 1; }
.spot:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(7,61,68,.35); border-color: #bcd9da; }
.program-card { display: flex; flex-direction: column; min-height: 440px; }
.program-card .num { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.program-card .icon-ring { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--pale); color: var(--teal); transition: background .5s var(--ease), color .5s, transform .6s var(--ease); }
.program-card:hover .icon-ring { background: var(--teal); color: #fff; transform: rotate(-45deg); }
.program-card h3 { font: 400 clamp(2.1rem, 2.8vw, 2.7rem)/1.02 var(--serif); margin: auto 0 16px; padding-top: 60px; letter-spacing: -.01em; }
.program-card p { color: var(--muted); margin: 0; }

/* ---------- Faculty teaser ---------- */
.faces { display: flex; align-items: center; }
.faces a { position: relative; width: clamp(78px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 4px solid var(--pale); margin-left: -18px; transition: transform .6s var(--ease), z-index 0s; background: var(--line); }
.faces a:first-child { margin-left: 0; }
.faces a:hover { transform: translateY(-10px) scale(1.06); z-index: 3; }
.faces img { width: 100%; height: 100%; object-fit: cover; }
.faculty-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.name-list { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); }
.name-list li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.name-list li strong { font-weight: 600; }
.name-list li span { color: var(--muted); text-align: right; }

/* ---------- Two-up feature cards ---------- */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(30px, 4vw, 56px); min-height: 460px; display: flex; flex-direction: column; isolation: isolate; }
.feature h2 { font: 400 clamp(2.3rem, 3.6vw, 3.5rem)/1 var(--serif); margin-bottom: 20px; letter-spacing: -.015em; }
.feature p { max-width: 46ch; }
.feature .btn, .feature .link-arrow { margin-top: auto; align-self: flex-start; }
.feature-light { background: var(--pale); }
.feature-light p { color: var(--muted); }
.feature-dark { background: var(--deep); color: #fff; }
.feature-dark p { color: #bcd6d8; }
.feature-dark .eyebrow { color: var(--mint); }
.feature-art { position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; z-index: -1; opacity: .9; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(8,118,125,.18); animation: spin 30s linear infinite; }
.ring:nth-child(2) { inset: 40px; border-style: dashed; animation-duration: 40s; animation-direction: reverse; }
.ring:nth-child(3) { inset: 80px; }
.feature-dark .ring { border-color: rgba(145,212,212,.22); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--teal); color: #fff; padding: clamp(90px, 12vw, 170px) 0; isolation: isolate; }
.cta-glow { position: absolute; inset: -30%; z-index: -1; background: radial-gradient(circle at 20% 30%, rgba(145,212,212,.45), transparent 40%), radial-gradient(circle at 85% 80%, rgba(4,35,40,.55), transparent 45%); animation: drift2 20s ease-in-out infinite alternate; }
.cta .eyebrow { color: #d1eeee; }
.cta-title { font: 400 clamp(3rem, 9vw, 9rem)/.92 var(--serif); letter-spacing: -.03em; margin-bottom: clamp(40px, 6vw, 70px); }
.cta-line { display: block; white-space: nowrap; will-change: transform; }
.cta-line em { color: var(--mint-2); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px 50px; }
.cta-actions p { max-width: 40ch; color: #d8eeee; margin: 0; }
.btn-orb {
  position: relative; width: 170px; height: 170px; border-radius: 50%; flex: none;
  display: grid; place-items: center; text-align: center; gap: 8px; align-content: center;
  background: #fff; color: var(--deep); font-weight: 600; font-size: .95rem; line-height: 1.2;
  transition: background .5s var(--ease), color .5s, transform .6s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn-orb::before { content: ""; position: absolute; inset: 0; background: var(--night); border-radius: 50%; transform: scale(0); transition: transform .6s var(--ease); z-index: -1; }
.btn-orb:hover { color: #fff; }
.btn-orb:hover::before { transform: scale(1); }
.btn-orb .arrow { transform: rotate(-45deg); }
.btn-orb:hover .arrow { transform: rotate(0); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #a9c7c9; padding-top: clamp(70px, 9vw, 120px); overflow: hidden; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.footer-brand img { width: 230px; height: auto; margin-bottom: 26px; }
.footer-brand p { color: #d5e7e8; font: 400 1.5rem/1.2 var(--serif); }
.footer-col h3 { font: 600 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mint); margin-bottom: 22px; }
.footer-col a, .footer-col p { display: block; margin: 0 0 10px; color: #d5e7e8; transition: color .3s, transform .4s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-col .footer-hours { color: #88adb0; font-size: .88rem; margin-top: 16px; }
.footer-mark { margin-top: clamp(50px, 7vw, 90px); line-height: .78; text-align: center; user-select: none; }
.footer-mark span { display: block; font: 400 clamp(5rem, 22vw, 22rem)/.8 var(--serif); letter-spacing: -.04em; background: linear-gradient(180deg, rgba(145,212,212,.28), rgba(145,212,212,0) 88%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(12%); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: #7fa7aa; position: relative; }
.footer-bottom a, .to-top { display: inline-flex; align-items: center; gap: 10px; color: #d5e7e8; }
.to-top { background: none; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 9px 16px; font-size: .8rem; transition: background .3s; }
.to-top:hover { background: rgba(255,255,255,.08); }
.to-top .arrow, .footer-bottom .arrow { width: 11px; height: 11px; }

/* ---------- Inner page masthead ---------- */
.mast { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); color: #fff; padding: clamp(170px, 22vh, 230px) 0 clamp(120px, 14vw, 190px); }
.mast .hero-bg .orb-1 { width: 60vw; height: 60vw; left: auto; right: -22vw; top: -30vw; }
.mast .hero-bg .orb-2 { left: -15vw; right: auto; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: #9fc2c4; margin-bottom: 30px; }
.crumbs a:hover { color: #fff; }
.crumbs i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); }
.mast h1 { max-width: none; }
.mast h1 em { color: var(--mint); }
.mast .lead { margin-top: 30px; color: #c3dcde; max-width: 48ch; }
.mast-cross { position: absolute; right: max(4vw, calc((100vw - var(--maxw)) / 2)); bottom: -40px; width: clamp(180px, 24vw, 340px); color: var(--mint); pointer-events: none; }
.mast-cross path { fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.mast-cross .c1 { stroke: rgba(145,212,212,.6); }
.mast-cross .c2 { stroke: rgba(154,160,163,.45); }
.js .mast-cross path { stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: draw 3s var(--ease) .3s forwards; }
.sheet { position: relative; z-index: 2; background: #fff; border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; margin-top: calc(clamp(28px, 4vw, 56px) * -1); }
.sheet > .section:first-child { padding-top: clamp(70px, 9vw, 130px); }

/* ---------- Generic layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); }
.split-wide { grid-template-columns: .9fr 1.3fr; }
.sticky-col { position: sticky; top: 130px; align-self: start; }
.prose p { color: var(--muted); }
.prose p strong { color: var(--ink); }
.card-note { border-radius: var(--radius); background: var(--pale); padding: clamp(28px, 3.5vw, 48px); }
.card-note h3 { font: 400 2rem/1.1 var(--serif); margin-bottom: 18px; color: var(--deep); }
.card-note p { color: var(--muted); }
.card-note .link-arrow { margin-top: 6px; }
.card-dark { border-radius: var(--radius); background: var(--deep); color: #fff; padding: clamp(28px, 3.5vw, 48px); }
.card-dark p { color: #bcd6d8; }
.card-dark em { color: var(--mint); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--pale); color: var(--teal); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.conviction { display: flex; flex-direction: column; min-height: 400px; }
.conviction .icon-ring { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--pale); color: var(--teal); margin-bottom: auto; transition: transform .7s var(--ease), background .5s, color .5s; }
.conviction:hover .icon-ring { transform: rotate(-8deg) scale(1.08); background: var(--teal); color: #fff; }
.conviction .tag { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin: 50px 0 12px; }
.conviction h3 { font: 400 2.1rem/1.05 var(--serif); margin-bottom: 14px; }
.conviction p { color: var(--muted); margin: 0; }
.timeline { list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 7px; top: 12px; width: 1px; height: calc((100% - 24px) * var(--tp, 0)); background: var(--teal); }
.timeline li { position: relative; padding: 0 0 46px 48px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); }
.timeline .when { font: 400 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); color: var(--deep); display: block; margin-bottom: 10px; }
.timeline p { color: var(--muted); margin: 0; max-width: 52ch; }
.outcomes { list-style: none; counter-reset: o; border-top: 1px solid var(--line); }
.outcomes li { counter-increment: o; display: grid; grid-template-columns: 70px 1fr; gap: 20px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); font: 400 clamp(1.4rem, 2.2vw, 1.9rem)/1.25 var(--serif); color: var(--deep); transition: padding .5s var(--ease), color .3s; }
.outcomes li::before { content: "0" counter(o); font: 600 .78rem var(--sans); letter-spacing: .14em; color: var(--teal); }
.outcomes li:hover { padding-left: 14px; color: var(--teal); }

/* ---------- Academics ---------- */
.catalog-bar { position: sticky; top: 96px; z-index: 20; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 12px; margin-bottom: 40px; border-radius: 999px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 16px 40px -28px rgba(7,61,68,.35); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { border: 0; background: transparent; padding: 10px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--muted); transition: background .3s, color .3s; }
.filters button:hover { color: var(--ink); background: var(--pale); }
.filters button[aria-pressed="true"] { background: var(--deep); color: #fff; }
.search { position: relative; flex: 0 1 280px; }
.search input { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px 11px 40px; font: inherit; font-size: .92rem; background: #fff; color: var(--ink); }
.search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(8,118,125,.12); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.catalog-count { font-size: .85rem; color: var(--muted); margin: -20px 0 30px; }
.course-group { display: grid; grid-template-columns: 1fr 2fr; gap: 30px 60px; padding: 50px 0; border-top: 1px solid var(--line); scroll-margin-top: 180px; }
.course-group[hidden] { display: none; }
.course-group .acc:first-child { border-top: 0; }
.course-group h3 { padding-top: 18px; }
.course-group h3 { font: 400 clamp(1.9rem, 2.8vw, 2.6rem)/1.05 var(--serif); color: var(--deep); position: sticky; top: 190px; align-self: start; }
.course-group h3 small { display: block; font: 600 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.empty-state { padding: 60px 0; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }

/* accordion */
.acc { border-bottom: 1px solid var(--line); overflow: hidden; }
.acc:first-child { border-top: 1px solid var(--line); }
.acc[hidden] { display: none; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; transition: color .3s, padding .5s var(--ease); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--teal); padding-left: 8px; }
.acc summary .plus { margin-left: auto; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .5s var(--ease), background .4s, border-color .4s; }
.acc summary .plus::before, .acc summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.acc summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] summary .plus { background: var(--teal); border-color: var(--teal); color: #fff; transform: rotate(180deg); }
.acc[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc .acc-body { padding: 0 60px 26px 0; color: var(--muted); }
.acc .acc-body p:last-child { margin-bottom: 0; }
.bg-deep .acc, .bg-deep .acc:first-child { border-color: rgba(255,255,255,.14); }
.bg-deep .acc summary:hover { color: var(--mint); }
.bg-deep .acc summary .plus { border-color: rgba(255,255,255,.25); }
.bg-deep .acc[open] summary .plus { background: var(--mint); border-color: var(--mint); color: var(--night); }
.bg-deep .acc .acc-body { color: #bcd6d8; }

/* ---------- Leadership ---------- */
.leader { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding-block: clamp(40px, 5vw, 70px); }
.leader + .leader { border-top: 1px solid var(--line); }
.leader:nth-child(even) .leader-media { order: 2; }
.leader-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--pale); }
.leader-media picture { position: absolute; inset: -8% 0; }
.leader-media img { transition: transform 1.4s var(--ease); }
.leader:hover .leader-media img { transform: scale(1.04); }
.role { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.leader h3 { font: 400 clamp(2.8rem, 5vw, 4.6rem)/.95 var(--serif); letter-spacing: -.02em; margin-bottom: 26px; color: var(--deep); }
.leader p { color: var(--muted); max-width: 52ch; }
.adjuncts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.person:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -32px rgba(7,61,68,.4); }
.person-media { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--pale); }
.person-media picture { display: block; height: 100%; }
.person-media img { transition: transform 1.2s var(--ease); }
.person:hover .person-media img { transform: scale(1.06); }
.person-body { padding: 28px 28px 32px; }
.person h3 { font: 400 2.2rem/1 var(--serif); color: var(--deep); margin-bottom: 16px; }
.person p { color: var(--muted); margin: 0; font-size: .98rem; }
.facts-inline { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 20px 0 30px; }
.facts-inline div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts-inline dt { color: var(--muted); }
.facts-inline dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Admissions ---------- */
.steps { list-style: none; position: relative; margin: 36px 0 40px; }
.steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 23px; top: 24px; width: 1px; height: calc((100% - 48px) * var(--tp, 0)); background: var(--teal); }
.steps li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding-bottom: 32px; }
.steps li:last-child { padding-bottom: 0; }
.steps .n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font: 400 1.35rem var(--serif); color: var(--teal); z-index: 1; transition: background .5s, color .5s, border-color .5s; }
.steps li.is-active .n { background: var(--teal); color: #fff; border-color: var(--teal); }
.steps h3 { font-size: 1.12rem; font-weight: 600; margin: 10px 0 6px; }
.steps p { color: var(--muted); margin: 0; }
.rhythm { margin-top: 30px; }
.rhythm-bar { display: flex; height: 76px; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.06); }
.rhythm-seg { position: relative; display: flex; align-items: center; padding: 0 20px; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; transform-origin: 0 50%; }
.js .rhythm-seg { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease); }
.js .rhythm.is-in .rhythm-seg { clip-path: inset(0 0 0 0); }
.js .rhythm.is-in .rhythm-seg + .rhythm-seg { transition-delay: .5s; }
.rhythm-seg.a { flex: 2.5; background: var(--mint); color: var(--night); }
.rhythm-seg.b { flex: 4; background: var(--teal); color: #fff; }
.rhythm-legend { display: flex; justify-content: space-between; margin-top: 14px; font-size: .82rem; color: var(--muted); }
.card-dark .rhythm-legend { color: #9fc2c4; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .4s, transform .6s var(--ease); }
.checks li:hover { border-color: #b9d6d7; transform: translateY(-4px); }
.checks svg { width: 34px; height: 34px; }
.checks svg circle { fill: var(--pale); }
.checks svg path { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 0; }
.js .checks svg path { stroke-dashoffset: 30; transition: stroke-dashoffset .8s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 300ms); }
.js .checks.is-in svg path { stroke-dashoffset: 0; }
.tuition-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; }
.tuition-cards .spot h3 { font: 400 2rem/1.05 var(--serif); color: var(--deep); margin: 60px 0 14px; }
.tuition-cards .spot p { color: var(--muted); margin: 0; }

/* ---------- Accreditation ---------- */
.status-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--deep); color: #fff; padding: clamp(32px, 4vw, 60px); isolation: isolate; }
.status-card h2 { font: 400 clamp(2.2rem, 3.8vw, 3.6rem)/1.02 var(--serif); margin-bottom: 24px; }
.status-card h2 em { color: var(--mint); }
.status-card p { color: #c3dcde; }
.status-card .feature-art { right: -90px; top: auto; bottom: -90px; }
.agreement { display: grid; grid-template-columns: 220px 1fr; gap: clamp(30px, 5vw, 70px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: clamp(28px, 4vw, 60px); }
.seal { width: 200px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative; color: var(--teal); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.seal svg text { font: 600 9.6px var(--sans); letter-spacing: 3.2px; fill: var(--teal); text-transform: uppercase; }
.seal strong { font: 400 3.4rem/1 var(--serif); color: var(--deep); }
.seal::before { content: ""; position: absolute; inset: 34px; border-radius: 50%; background: var(--pale); }
.seal strong { position: relative; }
.agreement h2 { font: 400 clamp(2.4rem, 4.2vw, 4rem)/1 var(--serif); color: var(--deep); margin: 20px 0 24px; letter-spacing: -.015em; }
.agreement p { color: var(--muted); }
.terms { list-style: none; display: grid; gap: 0; margin: 26px 0; border-top: 1px solid var(--line); }
.terms li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.terms li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 3px; background: var(--teal); transform: rotate(45deg); }
.span-line { margin: 34px 0; }
.span-line .track { position: relative; height: 2px; background: var(--line); border-radius: 2px; }
.span-line .fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal), var(--mint)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.8s var(--ease); }
.span-line.is-in .fill { transform: scaleX(1); }
.no-js .span-line .fill, html:not(.js) .span-line .fill { transform: scaleX(1); }
.span-line .ends { display: flex; justify-content: space-between; margin-top: 16px; gap: 20px; }
.span-line .ends div { font-size: .82rem; color: var(--muted); }
.span-line .ends strong { display: block; font: 400 1.6rem/1.1 var(--serif); color: var(--deep); }
.span-line .ends div:last-child { text-align: right; }
.span-line .track::before, .span-line .track::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); transform: translateY(-50%); z-index: 1; }
.span-line .track::before { left: -2px; }
.span-line .track::after { right: -2px; background: var(--mint); }
.callout { border-left: 3px solid var(--teal); padding: 6px 0 6px 22px; color: var(--muted); font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { display: flex; flex-direction: column; min-height: 250px; }
.contact-card .icon-ring { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--pale); color: var(--teal); margin-bottom: auto; transition: background .5s, color .5s, transform .6s var(--ease); }
.contact-card:hover .icon-ring { background: var(--teal); color: #fff; transform: rotate(-8deg); }
.contact-card .label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin: 36px 0 8px; }
.contact-card .value { font: 400 1.55rem/1.2 var(--serif); color: var(--deep); overflow-wrap: anywhere; }
.contact-card .sub { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.copy-btn { align-self: flex-start; margin-top: 14px; display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: .8rem; color: var(--muted); transition: background .3s, color .3s; position: relative; z-index: 2; }
.copy-btn:hover { background: var(--pale); color: var(--ink); }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 460px; height: 100%; background: var(--pale); border: 1px solid var(--line); position: relative; }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center; color: var(--muted); padding: 30px; }
.map-fallback strong { font: 400 1.8rem/1.1 var(--serif); color: var(--deep); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.7) hue-rotate(-8deg); }
.link-list { border-top: 1px solid var(--line); margin-top: 36px; }
.link-list a { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 500; transition: color .3s, padding .5s var(--ease); }
.link-list a:hover { color: var(--teal); padding-left: 10px; }
.link-list a .arrow { color: var(--teal); }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: flex; align-items: center; }
.nf .hero-cross { opacity: .35; }
.nf .display-1 { font-size: clamp(6rem, 22vw, 18rem); line-height: .8; }

/* ---------- View transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: .88rem; }
  .header-cta { display: none; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-inner { padding-left: 16px; }
  .site-header.is-scrolled .header-inner { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.is-scrolled .brand { background: rgba(5,47,53,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(145,212,212,.16); }
  .brand img { height: 46px; }
  .is-scrolled .brand img { height: 36px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { margin-right: 0; padding-right: 20px; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 30px; }
  .fact:nth-child(odd) { border-right: 1px solid var(--line); margin-right: 20px; }
  .statement, .faculty-teaser, .split, .split-wide, .pathway-head, .leader, .course-group { grid-template-columns: 1fr; }
  .leader:nth-child(even) .leader-media { order: 0; }
  .sticky-col, .course-group h3 { position: static; }
  .cards-3, .values, .adjuncts { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .two-up { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .agreement { grid-template-columns: 1fr; }
  .seal { width: 170px; }
  .catalog-bar { border-radius: 24px; top: 84px; }
  .hero-cross { opacity: .35; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero { padding-top: 130px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
  .hero-cross { width: 70vw; right: -12vw; top: 34%; opacity: .25; }
  .expand { height: 180vh; }
  .expand-media { clip-path: inset(calc((1 - var(--p)) * 18%) calc((1 - var(--p)) * 8%) calc((1 - var(--p)) * 18%) calc((1 - var(--p)) * 8%) round calc((1 - var(--p)) * 24px)); }
  .expand-label { left: 8%; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(odd) { border-right: 0; margin-right: 0; padding: 26px 0; display: flex; align-items: center; gap: 20px; justify-content: space-between; }
  .fact span { margin: 0; text-align: right; }
  .statement-body { grid-template-columns: 1fr; }
  .cards-3, .values, .adjuncts, .checks, .tuition-cards, .contact-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 340px; }
  .conviction { min-height: 0; }
  .conviction .tag { margin-top: 36px; }
  .feature { min-height: 400px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-line { white-space: normal; }
  .btn-orb { width: 140px; height: 140px; font-size: .88rem; }
  .catalog-bar { position: static; border-radius: 22px; }
  .filters { overflow-x: auto; flex-wrap: nowrap; margin: -2px; padding: 2px; scrollbar-width: none; }
  .filters button { white-space: nowrap; }
  .search { flex-basis: 100%; }
  .acc .acc-body { padding-right: 0; }
  .outcomes li { grid-template-columns: 44px 1fr; }
  .contact-card { min-height: 200px; }
  .map { min-height: 340px; }
  .mast { padding-top: 140px; }
  .mast-cross { width: 44vw; opacity: .28; }
  .rhythm-bar { height: 64px; }
  .rhythm-seg { padding: 0 12px; font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .expand { height: auto; }
  .expand-sticky { position: relative; height: 80vh; }
  .expand { --p: 1 !important; }
  .marquee-track { animation: none; }
  .grain { display: none; }
  @view-transition { navigation: none; }
}

@media print {
  .site-header, .mobile-menu, .progress, .cta, .hero-bg, .footer-mark { display: none !important; }
  .mast, .hero, .pathway, .site-footer { background: #fff !important; color: #000 !important; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* Readable at first sight; keyboard navigation stays in view. */
[data-highlight] .hw { opacity: 1; }
.site-header:focus-within { transform: translateY(0); }
.mobile-nav a, .mobile-meta a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 980px) and (max-height: 600px) {
  .mobile-menu-inner { padding-top: 95px; gap: 24px; }
  .mobile-nav a { font-size: clamp(24px, 4vh, 36px); }
}
@media (prefers-reduced-motion: reduce) { html:not(.lenis) { scroll-behavior: auto; } }
