@font-face {
  font-family: Roboto;
  src: url("assets/roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #142e5b;
  --muted: #4b586a;
  --hero: #142e5b;
  --light: #fff;
  --paper: #fff;
  --tint: #eef3fa;
  --border: #d3ddea;
  --accent: #a7ec5e;
  --accent-hover: #c1f488;
  --hero-muted: #ebf2ff;
  --hero-soft: #2a4c84;
  --focus: #244e91;
  --font: Roboto, "Segoe UI", Arial, sans-serif;
  --radius: 0.8rem;
  --measure: 73rem;
  --gutter: clamp(1.125rem, 4vw, 3rem);
  --section-pad: clamp(3.5rem, 8vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--font); }
img { display: block; width: 100%; height: auto; }
h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; letter-spacing: -0.035em; line-height: 1.04; }
h1 { font-size: clamp(2.75rem, 7.6vw, 5.45rem); font-weight: 750; }
h2 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 720; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
section[id] { scroll-margin-top: 1rem; }
.wrap { max-width: var(--measure); width: calc(100% - 2 * var(--gutter)); margin-inline: auto; }

.skip { position: absolute; top: 0.5rem; left: 1rem; transform: translateY(-200%); z-index: 3; background: var(--light); padding: 0.5rem 1rem; }
.skip:focus { transform: translateY(0); }
.header { background: var(--light); border-bottom: 1px solid var(--border); }
.header-inner, .footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.2rem; align-items: center; padding-block: 0.75rem; }
.header a, .footer a { text-decoration: none; }
.brand-logo { display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo img { width: clamp(9rem, 15vw, 12.5rem); }
nav { display: flex; flex-wrap: wrap; gap: 0 1.1rem; align-items: center; }
nav a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-size: 0.85rem; font-weight: 650; }
.header-link { color: var(--focus); }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 0.25rem; }

.hero { background: linear-gradient(115deg, var(--hero) 20%, #254985 100%); color: var(--light); }
.hero :focus-visible { outline-color: var(--accent); }
.hero-inner { display: grid; gap: 2rem; padding-block: clamp(2.8rem, 7vw, 6.5rem); }
.hero-copy { align-self: center; }
.hero-duration { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 1.1rem; color: var(--accent); font-size: 0.82rem; font-weight: 650; }
.hero-duration span { width: 0.4rem; height: 0.4rem; align-self: center; background: currentColor; border-radius: 50%; flex-shrink: 0; }
.hero-description { margin-top: 1.45rem; max-width: 38ch; color: var(--hero-muted); font-size: clamp(1.03rem, 2vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.65rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 0.68rem; border: 1px solid transparent; border-radius: 0.55rem; padding: 0.66rem 1rem; font-weight: 700; font-size: 0.9rem; line-height: 1.35; text-decoration: none; transition: background-color 150ms ease, border-color 150ms ease; }
.button span { font-size: 1rem; }
.button:active { transform: translateY(1px); }
.primary { background: var(--accent); color: var(--hero); }
.primary:hover { background: var(--accent-hover); }
.secondary { color: var(--light); border-color: #9fb6d8; }
.secondary:hover { background: var(--hero-soft); border-color: var(--hero-muted); }
.dark { background: var(--ink); color: var(--light); }
.dark:hover { background: #214681; }
.outline { border-color: #657b9c; }
.outline:hover { background: var(--light); border-color: var(--ink); }
.hero-media { position: relative; align-self: center; }
.hero-media img { aspect-ratio: 6 / 4; object-fit: cover; border-radius: var(--radius); }
.media-caption { position: absolute; right: 0.65rem; bottom: 0.65rem; background: var(--hero); padding: 0.18rem 0.55rem; border-radius: 0.25rem; color: var(--light); font-size: 0.69rem; }

.curriculum { display: grid; gap: 1.75rem; padding-block: var(--section-pad); }
.eyebrow { margin-bottom: 0.6rem; color: var(--focus); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.11em; text-transform: uppercase; }
.section-intro > p:last-child, .poster-copy > p, .official p { margin-top: 1rem; max-width: 42ch; color: var(--muted); }
.days-tools { text-align: right; margin-bottom: 0.3rem; }
.text-button { border: 0; min-height: 44px; padding: 0.3rem 0.6rem; background: transparent; color: var(--focus); cursor: pointer; font-weight: 700; font-size: 0.84rem; }
.text-button:hover { text-decoration: underline; text-underline-offset: 0.24rem; }
.text-button:active { color: var(--ink); }
.days details { border-top: 1px solid var(--border); }
.days details:last-child { border-bottom: 1px solid var(--border); }
.days summary { display: grid; grid-template-columns: auto 1fr 1rem; align-items: center; gap: 0.6rem; padding: 0.85rem 0.3rem; min-height: 60px; cursor: pointer; font-weight: 735; line-height: 1.35; list-style: none; }
.days summary::-webkit-details-marker { display: none; }
.days summary:hover { background: var(--tint); }
.days summary:active { background: var(--border); }
.day-label { background: var(--tint); padding: 0.28rem 0.5rem; border-radius: 0.3rem; white-space: nowrap; font-size: 0.76rem; }
.toggle-icon { position: relative; width: 0.85rem; height: 0.85rem; }
.toggle-icon::before, .toggle-icon::after { position: absolute; content: ""; background: currentColor; border-radius: 1px; }
.toggle-icon::before { width: 100%; height: 2px; top: calc(50% - 1px); }
.toggle-icon::after { height: 100%; width: 2px; left: calc(50% - 1px); }
details[open] .toggle-icon::after { display: none; }
.days ul { margin: 0; padding: 0.25rem 1.25rem 1.1rem 1.5rem; color: var(--muted); font-size: 0.94rem; }
.days li + li { margin-top: 0.25rem; }

.poster-section { background: var(--tint); }
.poster-inner { display: grid; align-items: center; gap: 2rem; padding-block: var(--section-pad); }
.poster-preview { display: block; max-width: 27rem; padding: 0.55rem; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 0.9rem 2.3rem #142e5b14; }
.poster-preview:hover { border-color: var(--focus); }
.poster-preview img { border-radius: 0.38rem; }
.official { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.4rem; align-items: center; padding-block: var(--section-pad); }
.official h2 { font-size: clamp(2rem, 4vw, 3rem); }
.official p { max-width: 54ch; }
.footer { background: var(--light); border-top: 1px solid var(--border); }
.footer-inner { padding-block: 1.2rem; color: var(--muted); font-size: 0.83rem; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--focus); font-weight: 700; }

@media (min-width: 42rem) {
  .header-inner { padding-block: 0.9rem; }
  nav { gap: 1.6rem; }
  .days summary { gap: 1rem; padding-inline: 0.55rem; }
  .days ul { padding-inline-start: 5.3rem; }
  .poster-inner { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(2.5rem, 8vw, 7rem); }
}
@media (min-width: 57rem) {
  .hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); }
  .hero-media img { aspect-ratio: 6 / 5; }
  h1 { font-size: clamp(3.2rem, 5.15vw, 4.7rem); }
  .curriculum { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.45fr); gap: clamp(2.5rem, 7vw, 6rem); }
  .section-intro { padding-block-start: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.outcomes-section { background: var(--tint); border-bottom: 1px solid var(--border); }
.outcomes { padding-block: clamp(2.5rem, 5vw, 4rem); }
.outcomes h2 { font-size: clamp(1.8rem, 4vw, 2.55rem); }
.outcome-list { display: grid; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.outcome-list li { padding-block: 1rem; border-top: 1px solid var(--border); }
.outcome-list h3 { margin: 0; font-size: 1.06rem; line-height: 1.35; }
.outcome-list p { margin-top: 0.35rem; max-width: 42ch; color: var(--muted); font-size: 0.94rem; }

@media (min-width: 48rem) {
  .outcome-list { grid-template-columns: 1fr 1.22fr 1fr; column-gap: 2rem; }
}
