:root {
  --ink: #082f4e;
  --ink-deep: #05253e;
  --gold: #c4943f;
  --gold-light: #e0bd76;
  --paper: #f7f3ea;
  --cream: #ede4d3;
  --white: #fffdf8;
  --muted: #69747a;
  --line: rgba(8, 47, 78, .18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { color: var(--white); background: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; color: white; background: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; height: 92px; padding: 0 clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.16); color: white; }
.brand { display: flex; align-items: center; gap: .8rem; font-weight: 500; letter-spacing: .01em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: 1.05rem; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2.4rem); font-size: .85rem; }
nav a:not(.nav-cta) { opacity: .83; }
nav a:hover { opacity: 1; }
.nav-cta { padding: .65rem 1.1rem; border: 1px solid rgba(255,255,255,.55); border-radius: 100px; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 790px; height: min(900px, 100vh); padding: 150px clamp(1.25rem, 7vw, 7rem) 90px; color: white; background: var(--ink); overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; }
.hero::before { content: ""; position: absolute; top: -18vw; right: -10vw; width: 40vw; height: 40vw; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.hero-copy { position: relative; z-index: 2; max-width: 700px; }
.eyebrow, .kicker { margin: 0 0 1.2rem; color: var(--gold-light); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; }
.hero h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .93; letter-spacing: -.045em; }
.hero h1 { font-size: clamp(4.5rem, 8vw, 8rem); }
.hero h1 em, .contact h2 em { color: var(--gold-light); font-weight: 400; }
.hero-intro { max-width: 590px; margin: 2rem 0 2.2rem; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.35vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; gap: 2rem; }
.button { display: inline-flex; align-items: center; gap: 1.4rem; padding: .9rem 1.3rem; border-radius: 100px; font-size: .85rem; font-weight: 600; }
.button-primary { color: var(--ink); background: var(--gold-light); }
.text-link { display: inline-flex; gap: .6rem; align-items: center; padding-bottom: .16rem; border-bottom: 1px solid currentColor; font-size: .86rem; font-weight: 600; }
.text-link span, .button span, .contact-row span { transition: transform .25s ease; }
.text-link:hover span, .button:hover span, .contact-row a:hover span { transform: translate(3px,-2px); }
.hero-visual { position: relative; z-index: 1; width: min(100%, 550px); aspect-ratio: 1; margin-left: auto; }
.quote-card { position: absolute; z-index: 2; top: 14%; left: 14%; width: 62%; padding: 2.2rem; color: var(--ink); background: var(--paper); box-shadow: 0 24px 70px rgba(0,0,0,.18); transform: rotate(-3deg); }
.quote-mark { color: var(--gold); font-family: var(--serif); font-size: 5rem; line-height: .5; }
.quote-card p { margin: 1rem 0 1.5rem; font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 2.15rem); line-height: 1.14; letter-spacing: -.02em; }
.quote-card .rule { width: 42px; border-top: 1px solid var(--gold); }
.quote-card small { display: block; margin-top: 1rem; color: var(--muted); font-size: .58rem; text-transform: uppercase; letter-spacing: .12em; }
.word-orbit { position: absolute; padding: .3rem .75rem; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; color: rgba(255,255,255,.67); font-family: var(--serif); font-style: italic; font-size: .9rem; }
.word-one { top: 2%; right: 15%; }.word-two { right: 0; bottom: 25%; }.word-three { bottom: 1%; left: 18%; }
.hero-line { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--gold); stroke-width: 1.5; opacity: .5; }
.hero-note { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem clamp(1.25rem, 7vw, 7rem); border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; color: rgba(255,255,255,.48); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 7rem); }
.section-label { display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(3rem, 6vw, 6rem); color: var(--muted); font-size: .67rem; font-weight: 600; text-transform: uppercase; letter-spacing: .17em; }
.section-label::after { content: ""; width: 50px; border-top: 1px solid currentColor; opacity: .6; }
.section-label span { color: var(--gold); }
.section-label.light { color: rgba(255,255,255,.5); }
h2 { font-size: clamp(3rem, 5.2vw, 5.7rem); }
.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 9vw, 10rem); align-items: start; }
.about-heading h2 { max-width: 780px; }
.about-copy { padding-top: 1rem; color: #4b5c64; }
.about-copy .lead { margin-top: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.25; }
.about-copy .text-link { margin-top: 1rem; color: var(--ink); }
.credentials { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 6rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credentials div { padding: 2rem clamp(.8rem, 2vw, 2rem); border-right: 1px solid var(--line); }
.credentials div:last-child { border-right: 0; }
.credentials strong, .credentials span { display: block; }
.credentials strong { font-family: var(--serif); font-size: clamp(1.7rem, 2.7vw, 2.7rem); font-weight: 400; }
.credentials span { margin-top: .25rem; color: var(--muted); font-size: .72rem; }

.courses { color: white; background: var(--ink-deep); }
.courses-heading { max-width: 920px; margin-bottom: 5rem; }
.course-list { border-top: 1px solid rgba(255,255,255,.18); }
.course-card { display: grid; grid-template-columns: 80px 1fr auto; gap: 1.5rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.18); transition: background .3s ease; }
.course-card:hover { background: rgba(255,255,255,.045); }
.course-number { color: var(--gold-light); font-family: var(--serif); }
.course-card div { display: grid; grid-template-columns: minmax(240px,.7fr) 1fr; gap: 3rem; align-items: center; }
.course-card h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 2.7vw, 2.8rem); font-weight: 400; }
.grade-range { display: inline-block; margin-left: .5rem; padding: .18rem .55rem; border: 1px solid rgba(255,255,255,.28); border-radius: 100px; color: var(--gold-light); font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.course-card p { max-width: 580px; margin: 0; color: rgba(255,255,255,.6); font-size: .9rem; }
.course-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.poster-link { display: inline-flex; gap: .75rem; align-items: center; margin-top: 2.2rem; color: var(--gold-light); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }

.legacy { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; background: var(--cream); }
.legacy-image { position: relative; max-width: 520px; }
.legacy-image::before { content: "50 years"; position: absolute; z-index: 1; top: -1.25rem; right: -2rem; padding: .7rem 1.2rem; border-radius: 100px; color: var(--ink); background: var(--gold-light); font-family: var(--serif); font-style: italic; }
.legacy-image img { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; object-position: center; background: #faf7ef; filter: saturate(.82); }
.legacy-copy .section-label { margin-bottom: 4rem; }
.legacy-copy h2 { max-width: 780px; }
.legacy-copy > p:not(.kicker) { max-width: 680px; margin: 2rem 0; color: #4d5a60; }
blockquote { max-width: 600px; margin: 3rem 0 0; padding: 1rem 0 1rem 1.5rem; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.4rem; font-style: italic; line-height: 1.3; }

.downloads-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 10vw, 10rem); }
.downloads-heading p:last-child { max-width: 500px; margin-top: 2rem; color: var(--muted); }
.download-stack { border-top: 1px solid var(--line); }
.download-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.file-icon { display: grid; place-items: center; width: 50px; height: 58px; border: 1px solid var(--gold); border-radius: 2px 2px 8px 2px; color: var(--gold); font-family: var(--serif); font-size: 1.2rem; }
.download-item strong, .download-item span { display: block; }
.download-item strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.download-item div span { color: var(--muted); font-size: .75rem; }
.download-item .status { color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }

.contact { padding-top: clamp(6rem, 12vw, 11rem); padding-bottom: clamp(6rem, 12vw, 11rem); text-align: center; color: white; background: var(--ink); }
.contact h2 { font-size: clamp(4rem, 8vw, 8.5rem); }
.contact-row { display: flex; justify-content: center; gap: 1rem; margin-top: 3.5rem; }
.contact-row a { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-width: 290px; padding: .9rem 1.2rem; border: 1px solid rgba(255,255,255,.28); border-radius: 100px; font-size: .82rem; }
.contact-row a:first-child { color: var(--ink); background: var(--gold-light); border-color: var(--gold-light); }
footer { min-height: 130px; padding: 2rem clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; color: var(--muted); background: var(--paper); font-size: .72rem; }
.footer-brand { color: var(--ink); font-size: .85rem; }
.footer-brand .brand-mark { width: 36px; height: 36px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { height: 76px; }
  .menu-toggle { position: relative; z-index: 2; display: grid; gap: 5px; width: 42px; height: 42px; padding: 11px 8px; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { display: block; height: 1px; background: white; transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  nav { position: fixed; inset: 0; display: none; flex-direction: column; justify-content: center; gap: 2rem; color: white; background: var(--ink-deep); font-family: var(--serif); font-size: 2rem; }
  nav.open { display: flex; }
  .nav-cta { padding: 0; border: 0; }
  .hero { height: auto; min-height: 960px; grid-template-columns: 1fr; padding-top: 130px; align-content: center; }
  .hero-copy { padding-top: 2rem; }
  .hero-visual { width: min(100%, 470px); margin: 2.5rem auto 0; }
  .about-grid, .legacy, .downloads-grid { grid-template-columns: 1fr; }
  .about-copy { max-width: 700px; }
  .legacy-image { width: min(90%, 520px); }
  .course-card div { grid-template-columns: 1fr; gap: .25rem; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .site-header .brand span:last-child { display: none; }
  .hero { min-height: 850px; padding-bottom: 80px; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5.2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.4rem; }
  .hero-visual { aspect-ratio: 1.05; }
  .quote-card { top: 10%; left: 7%; width: 75%; padding: 1.6rem; }
  .quote-card p { font-size: 1.5rem; }
  .hero-note span:last-child { display: none; }
  .section { padding-left: 1.25rem; padding-right: 1.25rem; }
  h2 { font-size: clamp(2.8rem, 13vw, 4.3rem); }
  .credentials { grid-template-columns: 1fr 1fr; margin-top: 4rem; }
  .credentials div:nth-child(2) { border-right: 0; }
  .credentials div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .course-card { grid-template-columns: 38px 1fr; gap: .5rem; }
  .course-icon { display: none; }
  .legacy-image::before { right: -.5rem; }
  .download-item { grid-template-columns: 52px 1fr; }
  .download-item .status { grid-column: 2; }
  .contact-row { flex-direction: column; align-items: center; }
  .contact-row a { width: 100%; min-width: 0; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
