:root {
  --navy: #10283f;
  --navy-deep: #091a2a;
  --blue: #174ca8;
  --blue-bright: #2f70df;
  --slate: #496275;
  --mist: #e9f0f7;
  --white: #ffffff;
  --paper: #f8fafc;
  --ink: #15202a;
  --muted: #5d6974;
  --line: #d9e1e8;
  --shadow: 0 24px 70px rgba(8, 29, 49, .14);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #f0b849; outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-150%); background: white; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--navy { background: var(--navy); color: white; }
.section--mist { background: var(--mist); }
.section-head { max-width: 700px; margin-bottom: 42px; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section--navy .eyebrow, .hero .eyebrow { color: #8fbcff; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.035em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(3.2rem, 8vw, 6.6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted); }
.section--navy .lede { color: #c5d2df; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border: 1px solid var(--blue); border-radius: 999px;
  color: white; background: var(--blue); text-decoration: none; font-weight: 800; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: #0e3e8f; box-shadow: 0 12px 28px rgba(23, 76, 168, .24); }
.button--light { background: white; color: var(--navy); border-color: white; }
.button--outline { background: transparent; color: var(--navy); border-color: #97a9b8; }
.button--disabled { opacity: .55; cursor: not-allowed; }
.text-link { display: inline-flex; gap: 8px; color: var(--blue); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,250,252,.94); border-bottom: 1px solid rgba(217,225,232,.8); backdrop-filter: blur(14px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 50%; }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-size: 1rem; letter-spacing: .09em; text-transform: uppercase; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .64rem; letter-spacing: .17em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #263541; text-decoration: none; font-size: .92rem; font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .button { color: white; }
.menu-button { display: none; border: 0; background: transparent; color: var(--navy); font-size: 1rem; font-weight: 800; }

.hero { position: relative; min-height: calc(100svh - 84px); display: grid; align-items: end; overflow: hidden; background: var(--navy-deep); color: white; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; filter: saturate(.82) contrast(1.03); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,20,33,.96) 0%, rgba(5,20,33,.78) 42%, rgba(5,20,33,.18) 78%), linear-gradient(0deg, rgba(5,20,33,.9), transparent 48%); }
.hero__content { position: relative; z-index: 1; max-width: 780px; padding: 110px 0 90px; }
.hero h1 span { color: #86b4ff; }
.hero .lede { max-width: 640px; margin: 24px 0 32px; color: #e1eaf3; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-strip { background: white; border-bottom: 1px solid var(--line); }
.trust-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 25px 28px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--navy); }
.trust-item span { color: var(--muted); font-size: .9rem; }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card { display: flex; flex-direction: column; min-height: 390px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 30px rgba(16,40,63,.05); }
.course-card--featured { color: white; background: var(--navy); border-color: var(--navy); }
.course-card__number { color: #8aa0b1; font-family: Georgia, serif; font-size: 3rem; line-height: 1; }
.course-card h3 { margin: 34px 0 12px; font-size: 1.55rem; }
.course-card p { color: var(--muted); }
.course-card--featured p { color: #c9d6e2; }
.course-card__meta { display: flex; gap: 8px; flex-wrap: wrap; margin: auto 0 22px; padding-top: 24px; }
.pill { padding: 6px 10px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: .78rem; font-weight: 800; }
.course-card--featured .pill { background: rgba(255,255,255,.12); color: white; }
.course-card .text-link { margin-top: auto; }
.course-card--featured .text-link { color: #91bdff; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 7vw, 90px); }
.portrait-stack { position: relative; min-height: 620px; }
.portrait-stack__main { width: 76%; height: 570px; object-fit: cover; object-position: center top; border-radius: 180px 180px 28px 28px; box-shadow: var(--shadow); }
.portrait-stack__accent { position: absolute; right: 0; bottom: 15px; width: 45%; aspect-ratio: 1; object-fit: cover; border: 9px solid var(--paper); border-radius: 50%; box-shadow: var(--shadow); }
.check-list { padding: 0; margin: 28px 0; list-style: none; }
.check-list li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }

.photo-band { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 12px; padding: 12px; background: var(--navy); }
.photo-band img { width: 100%; height: 500px; object-fit: cover; border-radius: 16px; }
.photo-band img:first-child { object-position: center 20%; }
.quote-block { position: relative; padding: 82px clamp(28px, 7vw, 90px); background: var(--blue); color: white; overflow: hidden; }
.quote-block::before { content: '“'; position: absolute; top: -110px; right: 4%; font-family: Georgia, serif; font-size: 30rem; color: rgba(255,255,255,.08); }
.quote-block blockquote { position: relative; max-width: 900px; margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 4.6rem); line-height: 1.08; }

.page-hero { padding: 100px 0 72px; color: white; background: var(--navy); }
.page-hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; }
.page-hero p { color: #d0dce6; }
.breadcrumbs { margin-bottom: 30px; color: #a8bdcf; font-size: .85rem; }
.breadcrumbs a { text-decoration: none; }

.detail-list { display: grid; gap: 20px; }
.detail-card { display: grid; grid-template-columns: 230px 1fr 180px; gap: 34px; padding: 30px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.detail-card__price { font-family: Georgia, serif; font-size: 2.3rem; color: var(--navy); }
.detail-card ul { columns: 2; margin: 16px 0 0; padding-left: 20px; }
.detail-card__action { text-align: right; }
.detail-card__action .button { margin-top: 22px; }
.fine-print { color: var(--muted); font-size: .86rem; }

.filter-bar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sample-notice { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; padding: 16px 20px; border: 1px solid #b9cce3; border-radius: 14px; color: var(--navy); background: #eef5ff; }
.sample-notice strong { flex: none; padding: 5px 10px; border-radius: 999px; color: white; background: var(--blue); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.sample-notice span { color: #40566a; }
.calendar-shell { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: stretch; }
.calendar { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 14px 38px rgba(16,40,63,.06); }
.calendar__toolbar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; margin-bottom: 24px; }
.calendar__toolbar h3 { text-align: center; font-size: 1.4rem; }
.calendar__nav { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: var(--paper); font-size: 1.2rem; cursor: pointer; }
.calendar__nav:hover { color: white; background: var(--blue); border-color: var(--blue); }
.calendar__weekdays, .calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar__weekdays { border-bottom: 1px solid var(--line); }
.calendar__weekdays span { padding: 0 4px 10px; color: var(--muted); text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.calendar-day { min-height: 116px; padding: 9px; border-right: 1px solid #e7edf2; border-bottom: 1px solid #e7edf2; background: white; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day--blank { background: #f7f9fb; }
.calendar-day--active { background: #f4f8ff; }
.calendar-day__number { display: block; margin-bottom: 7px; color: var(--muted); font-size: .78rem; font-weight: 800; }
.calendar-event { width: 100%; display: grid; gap: 2px; margin-top: 5px; padding: 7px; border: 0; border-left: 3px solid var(--blue); border-radius: 5px; color: var(--navy); background: #dceaff; text-align: left; font-size: .69rem; font-weight: 800; line-height: 1.25; cursor: pointer; overflow-wrap: anywhere; }
.calendar-event span { color: #3c5b78; font-size: .62rem; font-weight: 700; }
.calendar-event:hover, .calendar-event.is-selected { color: white; background: var(--blue); }
.calendar-event:hover span, .calendar-event.is-selected span { color: #dce9ff; }
.calendar-detail { padding: 30px; border-radius: var(--radius); color: white; background: var(--navy); }
.calendar-detail h3 { margin-bottom: 18px; font-size: 1.55rem; }
.calendar-detail > p:not(.eyebrow) { color: #c9d7e2; }
.calendar-detail__facts { display: grid; gap: 0; margin: 0 0 24px; }
.calendar-detail__facts div { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.calendar-detail__facts dt { color: #8facbf; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.calendar-detail__facts dd { margin: 3px 0 0; color: white; }
.sample-detail { padding: 12px; border-radius: 9px; background: rgba(255,255,255,.1); font-size: .86rem; }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #9eadb8; border-radius: 10px; background: white; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.session-card { display: grid; grid-template-columns: 210px 1fr 170px; gap: 30px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.session-card__date { display: grid; gap: 4px; }
.session-card__date span, .session-card__details p { color: var(--muted); font-size: .9rem; }
.session-card__details h3 { margin-bottom: 8px; }
.session-card__action { display: grid; justify-items: end; gap: 8px; }
.session-card__action strong { font-size: 1.4rem; }
.status { color: var(--blue); font-size: .82rem; font-weight: 800; }
.empty-state { padding: clamp(48px, 8vw, 96px); text-align: center; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state__mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; color: white; background: var(--blue); font-size: 2rem; }
.empty-state h2 { max-width: 620px; margin: 0 auto 18px; }
.empty-state p:not(.eyebrow) { max-width: 620px; margin: 0 auto 28px; color: var(--muted); }

.faq-list { max-width: 850px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-button { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border: 0; color: var(--ink); background: transparent; text-align: left; font-weight: 800; cursor: pointer; }
.faq-button span:last-child { color: var(--blue); font-size: 1.3rem; }
.faq-answer { padding: 0 40px 24px 0; color: var(--muted); }
.faq-answer[hidden] { display: none; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.contact-card { padding: 36px; background: var(--navy); color: white; border-radius: var(--radius); }
.contact-card a { font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.contact-card p { color: #c6d4df; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--full { grid-column: 1 / -1; }
.form-status { margin-top: 18px; padding: 14px; color: var(--navy); background: var(--mist); border-radius: 10px; }
.form-status:empty { display: none; }

.site-footer { padding: 56px 0 28px; background: var(--navy-deep); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 50px; }
.footer-brand { max-width: 420px; }
.footer-brand p { color: #aebdca; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #c8d4de; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #91a5b6; font-size: .82rem; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 84px; display: none; align-items: stretch; padding: 24px 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav[data-open="true"] { display: grid; }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .split, .page-hero__inner, .contact-grid { grid-template-columns: 1fr; }
  .portrait-stack { max-width: 650px; }
  .detail-card, .session-card { grid-template-columns: 1fr; }
  .detail-card__action, .session-card__action { text-align: left; justify-items: start; }
  .photo-band { grid-template-columns: 1fr 1fr; }
  .photo-band img { height: 390px; }
  .photo-band img:first-child { grid-column: 1 / -1; }
  .calendar-shell { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 68px 0; }
  .brand small { display: none; }
  .brand strong { font-size: .8rem; }
  .hero { min-height: 740px; }
  .hero__media::after { background: linear-gradient(0deg, rgba(5,20,33,.98) 0%, rgba(5,20,33,.78) 66%, rgba(5,20,33,.2)); }
  .hero__content { padding: 120px 0 66px; }
  .trust-strip__inner, .course-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-head--row, .footer-bottom, .filter-bar { align-items: flex-start; flex-direction: column; }
  .sample-notice { align-items: flex-start; flex-direction: column; }
  .calendar { padding: 14px; overflow-x: auto; }
  .calendar__weekdays, .calendar__grid { min-width: 620px; }
  .calendar-day { min-height: 105px; }
  .portrait-stack { min-height: 500px; }
  .portrait-stack__main { width: 88%; height: 460px; }
  .detail-card ul { columns: 1; }
  .photo-band { grid-template-columns: 1fr; }
  .photo-band img, .photo-band img:first-child { grid-column: auto; height: 330px; }
}

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