:root {
  color-scheme: light;
  --ink: #0a1b30;
  --paper: #f5f2eb;
  --card: #fff;
  --gold: #d8a525;
  --gold-dark: #8b6500;
  --teal: #087f77;
  --red: #9f2d35;
  --line: #d9d3c7;
  --muted: #516070;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.55 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: 0.8rem;
  z-index: 20;
}
.bar {
  min-height: 64px;
  background: var(--ink);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem max(1rem, calc((100% - 1280px) / 2));
}
.bar a {
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}
.bar button,
.button {
  border: 0;
  border-radius: 0.5rem;
  padding: 0.78rem 1rem;
  font: 750 0.92rem/1 system-ui;
  cursor: pointer;
}
.bar button {
  background: #fff;
  color: var(--ink);
}
main {
  max-width: 1280px;
  margin: auto;
  padding: clamp(1rem, 3vw, 2.4rem);
}
main:focus {
  outline: none;
}
.slide-panel {
  min-height: calc(100vh - 160px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(1.4rem, 4vw, 4rem);
}
.step-label {
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.75rem;
  font-weight: 850;
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #33445a;
}
.boundary {
  border-left: 0.3rem solid var(--gold);
  padding: 1rem 1.1rem;
  background: #fff8dc;
  color: var(--ink);
  margin: 1.4rem 0;
}
h1 {
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 0.4rem 0 1.2rem;
}
h2 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}
a {
  color: #075e59;
}
.button {
  background: var(--ink);
  color: #fff;
  min-height: 44px;
}
.button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.course-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 1.35rem 0;
}
.course-highlights li {
  border-left: 3px solid var(--gold);
  padding: 0.15rem 0 0.15rem 0.75rem;
}
.course-highlights strong,
.course-highlights span {
  display: block;
}
.course-highlights strong {
  font-size: 1.35rem;
}
.course-highlights span {
  color: var(--muted);
  font-size: 0.82rem;
}
.course-map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}
.course-progress {
  min-width: 148px;
  padding: 1rem 1.15rem;
  color: var(--ink);
  background: #e9f5f3;
  border: 1px solid #b4d8d4;
  border-radius: 0.75rem;
}
.course-progress strong,
.course-progress span {
  display: block;
}
.course-progress strong {
  font-size: 1.45rem;
}
.course-progress span {
  color: var(--muted);
  font-size: 0.82rem;
}
.course-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 1.8rem 0;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  overflow: hidden;
}
.course-route > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.7rem;
  padding: 1rem;
  border-right: 1px solid var(--line);
}
.course-route > div:last-child {
  border-right: 0;
}
.course-route span {
  grid-row: span 2;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
}
.course-route strong,
.course-route small {
  display: block;
}
.course-route small {
  color: var(--muted);
  margin-top: 0.25rem;
}
.continue-card,
.cinematic-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  margin: 1rem 0;
  border-radius: 0.75rem;
  background: #edf5ff;
  border: 1px solid #c7dcf8;
}
.continue-card strong,
.continue-card span,
.cinematic-callout strong,
.cinematic-callout span {
  display: block;
}
.continue-card span,
.cinematic-callout span {
  color: var(--muted);
  margin-top: 0.2rem;
}
.completed-course {
  background: #e9f5f3;
  border-color: #b4d8d4;
}
.cinematic-callout {
  background: #fff8dc;
  border-color: #ead797;
}
.completion-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}
.completion-options section {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}
.completion-options h2 {
  margin-top: 0;
}
.assessment-status {
  margin: 1rem 0 0;
  padding: 0.75rem;
  color: #705200;
  background: #fff8dc;
  border-left: 0.28rem solid var(--gold);
}
.opening-film {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.flag-stage {
  position: relative;
  aspect-ratio: 16/10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 0.8rem;
  box-shadow: 0 24px 60px #07182e2e;
}
.flag-stage > span:nth-child(1) {
  background: #111;
}
.flag-stage > span:nth-child(2) {
  background: #fdda24;
}
.flag-stage > span:nth-child(3) {
  background: #ef3340;
}
.flag-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 4.5rem 2rem 1.5rem;
  background: linear-gradient(transparent, #07182edd);
  color: #fff;
}
.flag-copy strong {
  display: block;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
}
.flag-copy small {
  font-weight: 750;
}
.opening-film audio {
  width: 100%;
  margin: 1rem 0;
}
.media-credit,
.privacy-note,
.source-note {
  color: var(--muted);
  font-size: 0.82rem;
}
.history {
  max-width: 1000px;
  margin: auto;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.timeline li {
  border-left: 0.28rem solid var(--gold);
  padding: 1rem 1.15rem;
  background: var(--paper);
}
.timeline strong,
.timeline span {
  display: block;
}
.timeline span {
  margin-top: 0.35rem;
}
.certificate-boundary {
  max-width: 950px;
  margin: auto;
}
.check-list {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.3rem;
}
.acknowledge {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #e9f5f3;
  border: 1px solid #b4d8d4;
  padding: 1rem;
  margin: 1.5rem 0;
}
.acknowledge input {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}
.languages {
  max-width: 1100px;
  margin: auto;
}
.language-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 2rem 0;
}
.language-grid button {
  min-height: 88px;
  text-align: left;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.language-grid button:not(:disabled) {
  cursor: pointer;
  border-color: var(--teal);
  box-shadow: inset 0 -0.25rem var(--teal);
}
.language-grid button:disabled {
  opacity: 0.66;
}
.language-grid strong,
.language-grid span {
  display: block;
}
.language-grid span {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.chooser h1 {
  max-width: 720px;
}
.module-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.module-list button {
  width: 100%;
  min-height: 94px;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  text-align: left;
  padding: 1rem;
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 0.8rem;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.module-list button:hover,
.module-list button:focus-visible {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 0.2rem #d8a52533;
}
.module-number {
  font-weight: 850;
  color: var(--gold-dark);
}
.module-list small {
  display: block;
  color: var(--muted);
  margin-top: 0.25rem;
}
.module-list button.done {
  border-color: var(--teal);
  background: #edf8f6;
}
.module-list button.done .module-number {
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
}
.player-shell {
  min-height: calc(100vh - 160px);
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.player-shell[dir="rtl"] {
  direction: rtl;
}

.player-shell[dir="rtl"] .journey,
.player-shell[dir="rtl"] .stage,
.player-shell[dir="rtl"] .learning-slide,
.player-shell[dir="rtl"] .module-video-copy {
  text-align: right;
}

.player-shell[dir="rtl"] .source-links a span[aria-hidden="true"] {
  transform: scaleX(-1);
}
.journey {
  background: var(--ink);
  color: #fff;
  padding: 1.3rem;
}
.text-button {
  border: 0;
  background: none;
  color: #fff;
  text-decoration: underline;
  font: 700 0.9rem system-ui;
  cursor: pointer;
  padding: 0;
}
.journey > p {
  font-size: 0.9rem;
  color: #dfe7ef;
}
.progress-copy {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}
.progress-track {
  height: 0.35rem;
  background: #ffffff29;
  border-radius: 1rem;
  margin: 0.45rem 0 1.3rem;
  overflow: hidden;
}
.progress-track span {
  height: 100%;
  display: block;
  background: var(--gold);
}
.journey ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.12rem;
}
.journey li {
  display: grid;
  grid-template-columns: 1.55rem 1fr;
  gap: 0.5rem;
  align-items: center;
  color: #aebccc;
  font-size: 0.78rem;
  padding: 0.28rem;
}
.journey li span {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  font-size: 0.67rem;
}
.journey li.current {
  color: #fff;
  font-weight: 800;
  background: #ffffff12;
  border-radius: 0.35rem;
}
.journey li.current span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.journey li.visited {
  color: #dce8e6;
}
.stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.learning-slide {
  flex: 1;
  padding: clamp(1.5rem, 5vw, 5rem);
  max-width: 900px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.learning-slide h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}
.lesson-copy {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  max-width: 760px;
}
.module-opening,
.visual-lesson {
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
}
.module-opening img,
.visual-lesson img {
  width: 100%;
  border-radius: 0.8rem;
  box-shadow: 0 18px 50px #07182e22;
}
.visual-lesson h2 {
  font-size: 1.2rem;
  margin: 1.2rem 0 0.3rem;
}
.takeaway {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  background: #e9f5f3;
  border-left: 0.3rem solid var(--teal);
}
.practice-context {
  background: var(--paper);
  border-left: 0.3rem solid var(--gold);
  padding: 1rem;
}
.choice-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.choice-list button {
  min-height: 58px;
  border: 1px solid #8995a3;
  background: #fff;
  color: var(--ink);
  border-radius: 0.55rem;
  padding: 0.9rem 1rem;
  text-align: left;
  font: 650 1rem/1.35 system-ui;
  cursor: pointer;
}
.choice-list button:hover:not(:disabled),
.choice-list button:focus-visible {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 0.2rem #d8a52533;
}
.choice-list button.correct {
  border-color: var(--teal);
  background: #e6f6f3;
}
.choice-list button.incorrect {
  border-color: var(--red);
  background: #fff0f1;
}
.feedback {
  min-height: 3rem;
  border-left: 0.25rem solid var(--teal);
  padding: 0.7rem 0 0.7rem 1rem;
}
.source-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.source-links a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 1rem;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}
.source-links a:hover,
.source-links a:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem #087f7722;
}
.completion-slide dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.completion-slide dl div {
  border-top: 3px solid var(--gold);
  padding: 1rem;
  background: var(--paper);
}
dt {
  color: var(--muted);
  font-size: 0.8rem;
}
dd {
  font-weight: 800;
  margin: 0.25rem 0;
}
.evidence-guide {
  max-width: 960px;
  margin: auto;
}
.evidence-guide > section {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.slide-nav {
  border-top: 1px solid var(--line);
  padding: 1rem clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.slide-nav #next {
  justify-self: end;
}
.slide-nav span {
  color: var(--muted);
  font-size: 0.85rem;
}
footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0 1rem 1rem;
}
.low-bandwidth img,
.low-bandwidth audio,
.low-bandwidth video,
.low-bandwidth .flag-art-stage,
.low-bandwidth .flag-stage {
  display: none;
}
.low-bandwidth .opening-film,
.low-bandwidth .module-opening,
.low-bandwidth .visual-lesson {
  grid-template-columns: 1fr;
}
.low-bandwidth * {
  animation: none !important;
  transition: none !important;
}
.button:focus-visible,
.text-button:focus-visible,
.bar button:focus-visible,
.language-grid button:focus-visible {
  outline: 0.25rem solid var(--gold);
  outline-offset: 0.2rem;
}
@media (max-width: 720px) {
  .player-shell,
  .opening-film,
  .module-opening,
  .visual-lesson {
    grid-template-columns: 1fr;
  }
  .timeline,
  .language-grid,
  .source-links,
  .module-list {
    grid-template-columns: 1fr;
  }
  .flag-stage {
    min-height: 300px;
  }
  .journey {
    padding: 1rem;
  }
  .journey ol {
    display: flex;
    overflow: auto;
    gap: 0.25rem;
    padding-bottom: 0.3rem;
  }
  .journey li {
    min-width: max-content;
  }
  .learning-slide {
    min-height: 58vh;
    padding: 1.4rem;
  }
  .module-opening img,
  .visual-lesson img {
    max-height: 260px;
    object-fit: cover;
  }
  .completion-slide dl {
    grid-template-columns: 1fr;
  }
  .slide-nav {
    position: sticky;
    bottom: 0;
    background: #fff;
  }
  .bar {
    gap: 1rem;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .bar button,
  .slide-nav,
  .choice-list,
  .journey ol,
  .text-button,
  audio {
    display: none;
  }
  .player-shell {
    display: block;
  }
  .journey {
    background: #fff;
    color: #000;
    border-bottom: 1px solid #000;
  }
  .learning-slide {
    min-height: auto;
    display: block;
    padding: 1.5rem;
  }
  .step-label {
    color: #000;
  }
  .slide-panel {
    min-height: auto;
  }
  .flag-stage {
    max-width: 50%;
  }
}

@media (max-width: 720px) {
  .course-highlights,
  .course-route,
  .completion-options {
    grid-template-columns: 1fr;
  }
  .course-map-heading,
  .continue-card,
  .cinematic-callout {
    align-items: stretch;
    flex-direction: column;
  }
  .course-progress {
    min-width: 0;
  }
  .course-route > div,
  .course-route > div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .course-route > div:last-child {
    border-bottom: 0;
  }
}

/* Immersive opening, balanced learning media and module films. */
.bar-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
#sound {
  width: 2.75rem;
  min-width: 2.75rem;
  padding: 0.65rem;
}
#sound svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.language-gate-open {
  overflow: hidden;
}
.language-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  overflow: auto;
  background: linear-gradient(135deg, #07182eaa, #1a142066);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}
.language-glass {
  width: min(920px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid #ffffffa6;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #ffffffed, #f8f4e9dc);
  box-shadow: 0 28px 90px #02091470;
}
.language-glass h1 {
  max-width: 720px;
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  letter-spacing: -0.045em;
}
.language-glass > p:not(.step-label) {
  max-width: 720px;
}
.language-gate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.5rem 0 1rem;
}
.language-gate-grid button {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.75rem;
  align-items: center;
  min-height: 5rem;
  padding: 0.85rem;
  text-align: left;
  border: 1px solid #c8c3b7;
  border-radius: 0.75rem;
  background: #ffffffb8;
  color: var(--ink);
}
.language-gate-grid button:not(:disabled) {
  border-color: #b58a00;
  box-shadow: inset 0 0 0 1px #f1c94f;
  cursor: pointer;
}
.language-gate-grid button:not(:disabled):hover,
.language-gate-grid button:not(:disabled):focus-visible {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 10px 28px #07182e1f;
}
.language-gate-grid button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}
.language-gate-grid strong,
.language-gate-grid small {
  display: block;
}
.language-gate-grid small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
}
.language-code {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.language-gate-grid button:not(:disabled) .language-code {
  background: #f1c94f;
  color: #07182e;
}
.language-gate-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.opening-film {
  grid-template-columns: minmax(320px, 0.86fr) minmax(380px, 1.14fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 40%, #f5f2eb);
}
.opening-copy {
  padding: clamp(2rem, 5vw, 5.5rem) clamp(1.5rem, 5vw, 5rem)
    clamp(2rem, 5vw, 5.5rem) 0;
  align-self: center;
}
.flag-art-stage {
  position: relative;
  min-height: calc(100vh - 160px);
  margin: 0;
  overflow: hidden;
  box-shadow: 24px 0 65px #07182e26;
}
.flag-art-stage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.flag-stage {
  aspect-ratio: auto;
  min-height: calc(100vh - 160px);
  border-radius: 0;
  box-shadow: 24px 0 65px #07182e26;
}
.flag-copy {
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12rem clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4.5rem);
  background: linear-gradient(180deg, #07182e0d 35%, #07182eed);
}
.flag-copy strong {
  font-size: clamp(3rem, 7vw, 7.5rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
  margin: 0.25rem 0 0.65rem;
}
.flag-copy small {
  letter-spacing: 0.06em;
}
.opening-promise {
  display: grid;
  gap: 0.25rem;
  border-left: 0.3rem solid var(--gold);
  padding: 0.8rem 1rem;
  background: #fff9e8;
}
.anthem-film-card {
  margin: 1.15rem 0;
  border: 1px solid #d7c58f;
  border-radius: 0.8rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 35px #07182e14;
}
.anthem-film-card[hidden] {
  display: none;
}
.anthem-film-card.revealed {
  animation: anthem-reveal 0.45s ease-out both;
}
.anthem-heading {
  padding: 1.2rem;
}
.anthem-film-card h2,
.anthem-film-card p {
  margin: 0.2rem 0 0.65rem;
}
.anthem-film-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #07182e;
}
.anthem-button {
  margin: 1rem 1.2rem 1.2rem;
  min-height: 3.1rem;
  font-size: 0.96rem;
}
.anthem-film-card .media-credit {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
}
.opening-copy > .slide-narration-audio {
  display: none;
}
@keyframes anthem-reveal {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.primary-cta {
  display: grid;
  gap: 0.25rem;
  text-align: left;
  padding: 1rem 1.3rem;
}
.primary-cta small {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.78;
}
.module-opening {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: start;
}
.module-opening > .learning-media {
  margin-top: 2.6rem;
}
.module-outcomes,
.module-video {
  grid-column: 1/-1;
}
.module-outcomes {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.module-video {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(360px, 1.35fr);
  gap: 1.4rem;
  align-items: center;
  background: var(--ink);
  color: #fff;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 0.8rem;
}
.module-video .step-label {
  color: #f1c94f;
}
.module-video video {
  display: block;
  width: 100%;
  max-height: 520px;
  background: #000;
  border-radius: 0.55rem;
}
.lesson-core-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(260px, 0.85fr);
  gap: 1.4rem;
  align-items: center;
  margin: 1rem 0;
}
.lesson-core-grid .learning-media {
  margin: 0;
  width: 100%;
}
.lesson-introduction {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
}
.lesson-introduction .takeaway {
  margin-top: 1rem;
}
.low-bandwidth video {
  display: none;
}
@media (max-width: 720px) {
  .bar {
    align-items: flex-start;
  }
  .bar-actions {
    max-width: 60%;
  }
  .bar button {
    padding: 0.65rem 0.7rem;
    font-size: 0.78rem;
  }
  .opening-film,
  .module-video,
  .lesson-core-grid {
    grid-template-columns: 1fr;
  }
  .language-gate-grid {
    grid-template-columns: 1fr;
  }
  .language-glass {
    padding: 1.25rem;
  }
  .flag-art-stage,
  .flag-stage {
    min-height: 58vh;
  }
  .opening-copy {
    padding: 1.5rem;
  }
  .module-opening > .learning-media {
    margin-top: 0;
  }
  .module-video {
    padding: 1rem;
  }
  .module-video video {
    max-height: none;
  }
}
.primary-cta span,
.primary-cta small {
  display: block;
}
.primary-cta small {
  margin-top: 0.35rem;
}
.module-video {
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(1rem, 3vw, 2.2rem);
  background: linear-gradient(135deg, #07182e, #102d49);
  padding: clamp(1.1rem, 3vw, 2.25rem);
  border-radius: 0.9rem;
  box-shadow: 0 1rem 2.5rem #07182e24;
}
.module-video-copy {
  align-self: center;
}
.module-video .media-credit {
  color: #d9e3ec;
}
.module-video video {
  aspect-ratio: 16/9;
  object-fit: contain;
  border: 1px solid #ffffff38;
  border-radius: 0.65rem;
  box-shadow: 0 0.8rem 2rem #0005;
}
.lesson-core-grid {
  gap: clamp(1rem, 3vw, 2rem);
}
.lesson-core-grid .learning-media {
  box-shadow: 0 0.75rem 2rem #07182e12;
}
.lesson-introduction {
  padding: clamp(1rem, 2.5vw, 1.5rem);
}
@media (max-width: 720px) {
  .module-video {
    grid-template-columns: 1fr;
  }
  .module-video video {
    max-height: none;
  }
}
.programme-media {
  max-width: 760px;
  margin: 1.5rem auto;
}
.programme-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
  box-shadow: 0 1rem 2.5rem #07182e1f;
}
.certificate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}
.certificate-layout .programme-media {
  margin: 0;
}
.learning-resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.25rem 0;
}
.learning-resource-actions .button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.low-bandwidth .programme-media {
  display: none;
}
@media (max-width: 720px) {
  .certificate-layout {
    grid-template-columns: 1fr;
  }
  .certificate-layout .programme-media {
    margin: 1rem auto;
  }
  .learning-resource-actions {
    display: grid;
  }
  .learning-resource-actions .button {
    width: 100%;
  }
}

/* Full-width editorial media system. */
.learning-slide {
  max-width: 1180px;
}
.module-opening,
.visual-lesson {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1180px;
}
.module-opening > .learning-media {
  order: -1;
  margin: 0 0 1.25rem;
}
.module-opening > .learning-media img,
.visual-lesson > .learning-media img,
.lesson-core-grid .learning-media img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.module-opening .module-video {
  width: 100%;
}
.lesson-core-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.lesson-core-grid .learning-media {
  order: -1;
}
.learning-media figcaption {
  background: #fff;
  color: #34475a;
  border: 1px solid var(--line);
  border-top: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0 0 0.65rem 0.65rem;
}
.certificate-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.certificate-layout .programme-media {
  order: -1;
  width: 100%;
  max-width: none;
  margin: 0 0 1.25rem;
}
.certificate-layout .programme-media img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.certificate-layout > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}
.certificate-layout > div .boundary {
  margin-top: 0;
}
.module-video {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.module-video video {
  width: 100%;
  max-height: none;
}
.low-bandwidth .page-narration {
  display: none;
}
@media (max-width: 720px) {
  .certificate-layout > div {
    grid-template-columns: 1fr;
  }
  .module-opening img,
  .visual-lesson img {
    max-height: none;
    object-fit: contain;
  }
}
