:root {
  --navy: #14395d;
  --navy-deep: #0c2945;
  --aqua: #82ced0;
  --aqua-deep: #4aa9ae;
  --cream: #f7f5ee;
  --paper: #fffefa;
  --ink: #2c2530;
  --muted: #5f6871;
  --coral: #df7d66;
  --line: rgba(20, 57, 93, 0.16);
  --shadow: 0 22px 55px rgba(20, 57, 93, 0.13);
  --radius: 1.75rem;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-rounded, "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--aqua-deep); outline-offset: 4px; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 20; transform: translateY(-180%); background: var(--paper); padding: .65rem .9rem; border-radius: .7rem; }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; }

.topline { background: var(--navy); color: #fff; text-align: center; font-size: .86rem; letter-spacing: .025em; padding: .52rem 1rem; }
.topline strong { color: var(--aqua); }
.masthead { background: rgba(247, 245, 238, .94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.nav { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -.06em; white-space: nowrap; }
.brand em { font-style: normal; font-weight: 500; }
.brand-mark { display: grid; grid-template-columns: 11px 11px; align-items: end; gap: 4px; height: 33px; }
.brand-mark i { display: block; border-radius: 6px 6px 0 0; height: 33px; background: var(--navy); }
.brand-mark i:last-child { height: 21px; background: var(--aqua); }
.nav-links { display: flex; align-items: center; gap: 1.15rem; font-size: .92rem; font-weight: 700; color: var(--navy); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--aqua-deep); }

.hero { position: relative; overflow: hidden; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4.75rem, 9vw, 7rem); background: radial-gradient(circle at 83% 18%, rgba(130,206,208,.44), transparent 25rem), linear-gradient(122deg, #fffefa 0%, #f7f5ee 68%, #e5f3f1 100%); }
.hero::after { content: ""; position: absolute; width: 36rem; height: 36rem; border: 1px dashed rgba(130,206,208,.55); border-radius: 50%; right: -19rem; bottom: -18rem; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(290px, .7fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: .64rem; height: .64rem; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgba(130,206,208,.2); }
h1, h2, h3 { color: var(--navy-deep); line-height: 1.02; letter-spacing: -.055em; margin: 0; }
h1 { max-width: 720px; margin-top: 1rem; font-size: clamp(3.1rem, 7.4vw, 6.3rem); }
h1 span { color: var(--navy); display: block; }
.lead { max-width: 610px; margin: 1.65rem 0 0; font-size: clamp(1.05rem, 1.8vw, 1.23rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .8rem 1.2rem; border-radius: 999px; border: 1px solid transparent; background: var(--navy); color: #fff; text-decoration: none; font-weight: 800; transition: transform .16s var(--ease-out), background .16s var(--ease-out); }
.button:hover { background: var(--navy-deep); transform: translateY(-2px); }
.button:active { transform: scale(.97); }
.button--quiet { background: transparent; border-color: var(--line); color: var(--navy); }
.button--quiet:hover { background: rgba(255,255,255,.72); color: var(--navy-deep); }
.audience { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; margin: 1.6rem 0 0; padding: 0; list-style: none; color: var(--navy); font-size: .91rem; font-weight: 700; }
.audience li::before { content: "✓"; color: var(--aqua-deep); padding-right: .4rem; }
.hero-art { min-height: 360px; padding: 1.35rem; display: grid; align-items: end; border-radius: 49% 49% 9% 9%; background: linear-gradient(150deg, var(--navy) 0%, #225b83 51%, var(--aqua) 120%); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-art::before { content: ""; position: absolute; inset: 10% 11% auto auto; width: 115px; height: 115px; border-radius: 50%; background: rgba(255,255,255,.13); }
.hero-art::after { content: "move"; position: absolute; right: 1.2rem; top: 1rem; display: grid; place-items: center; width: 73px; height: 73px; border-radius: 50%; background: var(--aqua); color: var(--navy); font-size: .84rem; font-weight: 900; letter-spacing: .12em; transform: rotate(10deg); }
.hero-art__shape { position: absolute; left: 12%; top: 18%; width: 68%; height: 64%; border: 1px solid rgba(255,255,255,.35); border-radius: 53% 47% 36% 64%; transform: rotate(-10deg); }
.hero-card { position: relative; z-index: 1; background: rgba(255,254,250,.96); width: min(100%, 250px); padding: 1.15rem; border-radius: 1.1rem; color: var(--navy-deep); box-shadow: 0 12px 25px rgba(5,30,55,.16); }
.hero-card small { display: block; color: var(--muted); font-weight: 650; }
.hero-card strong { display: block; font-size: 1.26rem; letter-spacing: -.04em; }

.section { padding: clamp(4.3rem, 9vw, 7rem) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-title { max-width: 660px; }
.section-title h2 { margin-top: .85rem; font-size: clamp(2.3rem, 4.7vw, 4.4rem); }
.section-title p { max-width: 600px; margin: 1.1rem 0 0; color: var(--muted); }
.section--navy .section-title p { color: rgba(255,255,255,.8); }

.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.promise { min-height: 220px; padding: 1.65rem; background: var(--paper); }
.promise b { display: block; color: var(--aqua-deep); font-size: .82rem; letter-spacing: .12em; }
.promise h3 { margin-top: 2.7rem; font-size: 1.55rem; }
.promise p { color: var(--muted); margin: .65rem 0 0; }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.course { min-height: 300px; padding: 1.65rem; border-radius: var(--radius); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: end; }
.course::before { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 48% 52% 62% 38%; top: -50px; right: -30px; background: rgba(255,255,255,.2); }
.course small { position: relative; color: rgba(255,255,255,.76); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.course h3 { position: relative; margin-top: .6rem; font-size: 2rem; }
.course p { position: relative; max-width: 300px; margin: .75rem 0 0; color: rgba(255,255,255,.88); }
.course--power { background: linear-gradient(145deg, #d77662, #bf5c59); }
.course--flow { background: linear-gradient(145deg, #5d999d, #346f79); }
.course--dance { background: linear-gradient(145deg, #254f75, #14395d); }

.testweek { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr); gap: 2rem; align-items: stretch; }
.testweek__copy { padding: clamp(1.7rem, 4vw, 3rem); border-radius: var(--radius); background: linear-gradient(135deg, #f4fbfa, #cdebed); }
.testweek__copy h2 { margin-top: .85rem; font-size: clamp(2.2rem, 4.5vw, 3.9rem); }
.date { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.5rem; padding: .75rem .9rem; border-radius: .85rem; color: var(--navy); background: rgba(255,255,255,.7); font-weight: 800; }
.date::before { content: "↗"; color: var(--coral); }
.closed-note { margin-top: 1.25rem; padding: 1rem; border-left: 4px solid var(--coral); background: rgba(255,254,250,.78); color: var(--navy-deep); font-weight: 650; }
.testweek__schedule { display: grid; gap: .15rem; margin: 1.25rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(20,57,93,.16); }
.testweek__schedule li { display: grid; grid-template-columns: minmax(6.3rem, .42fr) 1fr; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid rgba(20,57,93,.12); color: var(--navy-deep); font-size: .94rem; }
.testweek__schedule b { color: var(--navy); }
.testweek__steps { display: grid; gap: .85rem; padding: 1.25rem; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); background: rgba(255,255,255,.08); }
.step { display: grid; grid-template-columns: 36px 1fr; gap: .9rem; padding: .85rem .55rem; align-items: start; }
.step b { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--aqua); color: var(--navy-deep); font-size: .78rem; }
.step strong { display: block; }
.step p { margin: .22rem 0 0; color: rgba(255,255,255,.72); font-size: .93rem; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(2rem, 7vw, 7rem); }
.copy p { max-width: 640px; color: var(--muted); }
.contact-card { padding: clamp(1.65rem, 4vw, 2.5rem); border-radius: var(--radius); background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 2rem; }
.contact-card p { margin: .9rem 0 0; color: rgba(255,255,255,.8); }
.contact-card .button { margin-top: 1.2rem; background: var(--aqua); color: var(--navy-deep); }
.contact-card .button:hover { background: #a0dddd; }
.contact-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .95rem; margin-top: 1.2rem; }
.contact-card__actions .button { margin-top: 0; }
.contact-card small { display: block; margin-top: .9rem; color: rgba(255,255,255,.67); }
.location { margin-top: 1.5rem; padding: 1.3rem 0 0; border-top: 1px solid var(--line); }
.location b { display: block; color: var(--navy); }
.text-link { color: var(--navy); font-weight: 800; text-underline-offset: 3px; }
.text-link--light { color: rgba(255,255,255,.92); }

.footer { padding: 3rem 0 2rem; background: var(--navy-deep); color: #fff; }
.footer-grid { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.footer .brand { color: #fff; }
.footer .brand-mark i:last-child { background: var(--aqua); }
.footer p { color: rgba(255,255,255,.7); margin: .65rem 0 0; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: end; gap: .8rem 1.1rem; }
.footer nav a { color: rgba(255,255,255,.82); font-size: .9rem; }
.footer nav a:hover { color: var(--aqua); }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); font-size: .8rem; }

.legal-page { min-height: 100vh; padding: 3rem 0 5rem; }
.legal-card { max-width: 820px; margin: 2rem auto 0; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.legal-card h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); }
.legal-card h2 { margin: 2.5rem 0 .6rem; font-size: 1.3rem; letter-spacing: -.035em; }
.legal-card p, .legal-card li { color: #41515f; }
.legal-card ul { padding-left: 1.15rem; }
.legal-card a { color: var(--navy); font-weight: 750; text-underline-offset: 3px; }
.legal-meta { color: var(--muted); font-size: .9rem; }
.back { display: inline-flex; margin-bottom: 1rem; color: var(--navy); font-weight: 800; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero-grid, .testweek, .split { grid-template-columns: 1fr; }
  .hero-art { min-height: 270px; max-width: 470px; }
  .promise-grid, .course-grid { grid-template-columns: 1fr; }
  .testweek__schedule li { grid-template-columns: 1fr; gap: .1rem; }
  .promise { min-height: 160px; }
  .promise h3 { margin-top: 1rem; }
  .footer-grid { align-items: start; flex-direction: column; }
  .footer nav { justify-content: start; }
}

@media (max-width: 480px) {
  .wrap { width: min(100% - 1.5rem, 1120px); }
  .nav { min-height: 64px; }
  .brand { font-size: 1.2rem; }
  .hero { padding-top: 3.5rem; }
  .button { width: 100%; }
  .contact-card__actions { align-items: stretch; }
  .hero-art { min-height: 230px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
