:root {
  --navy: #13243b;
  --navy-deep: #0a1728;
  --red: #b4232d;
  --paper: #f4efe4;
  --paper-light: #fbf9f4;
  --ink: #17202b;
  --muted: #59636e;
  --rule: #c9c2b5;
  --blue-grey: #d9e1e2;
  --focus: #f3b940;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper-light); font-family: Arial, Helvetica, sans-serif; line-height: 1.62; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--red); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--navy-deep); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.utility-bar { color: #fff; background: var(--navy-deep); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner a { color: #fff; }
.masthead { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 38px; }
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper-light); }
.compact-header { border-top: 8px solid var(--red); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
.brand span { display: grid; line-height: 1; }
.brand strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.75rem; }
.brand small { margin-top: 5px; font-size: .69rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.primary-nav a { color: var(--navy); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.primary-nav a:hover { color: var(--red); }
.nav-toggle { display: none; padding: 8px 0; border: 0; color: var(--navy); background: transparent; font: 700 .82rem/1 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }

.hero { padding: clamp(54px, 7vw, 94px) 0 clamp(60px, 8vw, 110px); background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(400px, .97fr); gap: clamp(42px, 7vw, 92px); align-items: center; }
.hero-grid > *, .split-heading > *, .contact-inner > * { min-width: 0; }
.kicker, .eyebrow { margin: 0 0 16px; color: var(--red); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.04; letter-spacing: -.025em; }
h1 { max-width: 700px; margin-bottom: 26px; font-size: clamp(2.65rem, 5.6vw, 5.15rem); }
h2 { margin-bottom: 22px; font-size: clamp(2.15rem, 4vw, 3.7rem); }
h3 { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; line-height: 1.2; }
.dek { max-width: 650px; margin-bottom: 32px; color: #3f4955; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.12rem, 2vw, 1.4rem); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 42px; }
.button { display: inline-block; padding: 13px 20px; color: #fff; background: var(--red); border: 2px solid var(--red); font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.button:hover { color: var(--navy); background: transparent; }
.text-link { color: var(--navy); font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--rule); }
.facts div { padding: 15px 12px 0 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.facts dt { color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.facts dd { margin: 3px 0 0; color: var(--navy); font-family: Georgia, serif; line-height: 1.25; }
.hero-figure { position: relative; margin: 0; }
.hero-figure::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--navy); pointer-events: none; }
.hero-figure img { position: relative; width: 100%; border: 1px solid var(--navy); background: #ddd; }
.hero-figure figcaption { max-width: 90%; margin: 13px 0 0 auto; color: var(--muted); font-size: .76rem; line-height: 1.45; }

.notice { color: #fff; background: var(--red); }
.notice-grid { display: grid; grid-template-columns: 70px .8fr 1.1fr; gap: 34px; align-items: center; padding-block: 34px; }
.notice-number { margin: 0; color: #fff; font-family: Georgia, serif; font-size: 2.4rem; }
.notice h2 { margin: 0; color: #fff; font-size: clamp(1.55rem, 2.8vw, 2.35rem); }
.notice p:last-child { margin: 0; font-size: .94rem; }

.section { padding-block: clamp(72px, 9vw, 124px); scroll-margin-top: 20px; }
.section-heading { max-width: 820px; margin-bottom: 44px; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.1fr .8fr; gap: clamp(40px, 8vw, 100px); align-items: end; }
.split-heading > p { margin-bottom: 20px; color: var(--muted); }
.programme-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); }
.feature-card { min-height: 310px; padding: 34px; background: #fff; }
.feature-card + .feature-card { border-left: 1px solid var(--rule); }
.card-index { display: block; margin-bottom: 74px; color: var(--red); font-family: Georgia, serif; font-size: 2rem; }
.feature-card h3 { margin-bottom: 13px; }
.feature-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.course-fit { display: grid; grid-template-columns: .8fr 1.4fr; gap: 60px; margin-top: 48px; padding: 36px 40px; border-left: 7px solid var(--red); background: var(--blue-grey); }
.course-fit h3 { margin-bottom: 0; font-size: 1.9rem; }
.fit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.fit-columns p { margin: 0; }

.section-dark { color: #dfe4e9; background: var(--navy-deep); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .split-heading > p { color: #c3ccd4; }
.curriculum-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #526070; counter-reset: lesson; }
.curriculum-list li { display: grid; grid-template-columns: 150px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid #526070; }
.curriculum-list li > span { color: #e26c70; font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.curriculum-list h3 { margin-bottom: 8px; font-size: 1.62rem; }
.curriculum-list p { max-width: 760px; margin: 0; color: #b9c4ce; }

.instructor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.instructor-card { border-top: 4px solid var(--navy); background: #fff; }
.instructor-card > div:last-child { padding: 26px; }
.portrait { min-height: 175px; display: grid; place-items: center; overflow: hidden; background: var(--blue-grey); }
.portrait::before, .portrait::after { content: ''; grid-area: 1 / 1; display: block; width: 180px; height: 180px; border: 1px solid rgba(19,36,59,.35); transform: rotate(25deg); }
.portrait::after { transform: rotate(-15deg); }
.portrait span { z-index: 1; color: var(--navy); font-family: Georgia, serif; font-size: 3.4rem; }
.portrait-two { background: #d5c9b6; }
.portrait-three { background: #d9c9cb; }
.role { margin-bottom: 5px; color: var(--red); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.instructor-card h3 { margin-bottom: 12px; }
.instructor-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: .91rem; }
.disclosure { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .82rem; }

.schedule-section { background: var(--blue-grey); }
.schedule-grid { display: grid; grid-template-columns: .8fr 1.1fr; gap: clamp(44px, 9vw, 110px); align-items: start; }
.section-intro { color: var(--muted); }
.schedule-card { border-top: 5px solid var(--red); background: #fff; }
.schedule-card div { display: grid; grid-template-columns: 100px 1fr 170px; gap: 20px; padding: 24px 28px; align-items: baseline; border-bottom: 1px solid var(--rule); }
.schedule-card span { color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.schedule-card strong { color: var(--navy); font-family: Georgia, serif; font-size: 1.15rem; }
.schedule-card small { color: var(--muted); }

.standards-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.standards-grid article { padding: 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.standards-grid h3 { margin-bottom: 10px; }
.standards-grid p { margin: 0; color: var(--muted); }

.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(48px, 9vw, 120px); }
.faq-grid > div:first-child > p:last-child { color: var(--muted); }
.faq-list { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); }
summary { padding: 23px 40px 23px 0; color: var(--navy); cursor: pointer; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; }
details p { max-width: 680px; padding: 0 25px 22px 0; color: var(--muted); }

.contact-band { padding-block: 54px; color: #fff; background: var(--red); }
.contact-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.contact-band .kicker { color: #fff; }
.contact-band h2 { max-width: 730px; margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); }
.contact-details a { color: #fff; font-family: Georgia, serif; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; }
.contact-details p { margin: 12px 0 0; font-size: .86rem; }

.site-footer { padding-block: 36px; color: #d9dee5; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 40px; align-items: center; }
.footer-brand { display: flex; gap: 15px; align-items: center; }
.footer-brand p, .copyright { margin: 0; font-size: .78rem; line-height: 1.5; }
.footer-brand strong { color: #fff; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: #fff; font-size: .78rem; }
.copyright { text-align: right; }

.legal-page { min-height: 70vh; max-width: 850px; padding-top: 84px; padding-bottom: 100px; }
.legal-page h1 { margin-bottom: 12px; }
.legal-page h2 { margin-top: 44px; margin-bottom: 12px; font-size: 2rem; }
.legal-page p { max-width: 760px; }
.legal-updated { padding-bottom: 20px; border-bottom: 1px solid var(--rule); color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .schedule-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 65px; }
  .hero-copy { max-width: 700px; }
  .hero-figure { max-width: 690px; }
  .notice-grid { grid-template-columns: 54px 1fr; }
  .notice-grid > p:last-child { grid-column: 2; }
  .programme-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card + .feature-card { border-top: 1px solid var(--rule); border-left: 0; }
  .card-index { margin-bottom: 35px; }
  .instructor-grid { grid-template-columns: 1fr; }
  .instructor-card { display: grid; grid-template-columns: 220px 1fr; }
  .course-fit, .split-heading { grid-template-columns: 1fr; gap: 25px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid nav { justify-content: flex-end; }
  .copyright { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 720px) {
  body { overflow-x: hidden; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .utility-inner { justify-content: center; }
  .utility-inner span { display: none; }
  .masthead { min-height: 76px; }
  .brand strong { font-size: 1.45rem; }
  .brand small { font-size: .58rem; }
  .brand img { width: 42px; height: 42px; }
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; z-index: 20; top: 110px; left: 14px; right: 14px; display: none; padding: 16px; background: var(--paper-light); border: 1px solid var(--navy); box-shadow: 0 12px 30px rgba(10,23,40,.18); }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 9px; }
  .compact-header .primary-nav { position: static; display: flex; padding: 0; border: 0; box-shadow: none; }
  .compact-header .primary-nav a:last-child { display: none; }
  .hero { padding-top: 50px; }
  h1 { font-size: clamp(2.45rem, 12vw, 4.3rem); overflow-wrap: anywhere; }
  .hero .kicker { max-width: 29ch; }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 12px 0; }
  .facts div + div { padding-left: 0; border-top: 1px solid var(--rule); border-left: 0; }
  .notice-grid { grid-template-columns: 1fr; gap: 12px; }
  .notice-grid > p:last-child { grid-column: auto; }
  .notice-number { font-size: 1.5rem; }
  .course-fit { padding: 28px 24px; }
  .fit-columns { grid-template-columns: 1fr; gap: 16px; }
  .curriculum-list li { grid-template-columns: 1fr; gap: 8px; }
  .instructor-card { grid-template-columns: 1fr; }
  .schedule-card div { grid-template-columns: 1fr; gap: 4px; }
  .standards-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav { flex-wrap: wrap; justify-content: flex-start; }
  .copyright { grid-column: auto; }
}

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