/* ==========================================================================
   ICMR-SHINE design system
   --------------------------------------------------------------------------
   Ported from the reference site's inline styles into tokens and reusable
   classes. Two reasons the styles are no longer inline:

     1. A strict Content-Security-Policy cannot allow 'unsafe-inline'.
     2. The palette, spacing and type scale become editable in one place.

   The rendered result is intentionally identical to the reference: same
   colours, same Manrope/IBM Plex pairing, same layout rhythm.

   Contents
     1.  Tokens
     2.  Reset & base
     3.  Layout primitives
     4.  Header & navigation
     5.  Footer
     6.  Buttons
     7.  Hero
     8.  Quick-link strip
     9.  Timeline & stat cards
     10. Quote
     11. Cards, panels & badges
     12. CTA band
     13. Prose / content pages
     14. Forms
     15. Tables
     16. Dashboard
     17. Messages & alerts
     18. Utilities
     19. Motion
     20. Responsive
     21. Print
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts (self-hosted -- no fonts.googleapis.com/fonts.gstatic.com in CSP)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-variable.938c6e8019b6.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/ibmplexsans-variable.b2c9031d9fd6.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibmplexmono-400.79936b18df9f.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibmplexmono-500.b1c8a895f5fd.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand palette — lifted verbatim from the reference site */
  --navy: #003e73;
  --navy-700: #00304f;
  --blue: #005aa9;
  --orange: #f7941d;
  --orange-600: #e07d0a;
  --gold: #d9a441;
  --gold-300: #fdba4d;
  --gold-100: #ffd99c;
  --green: #2eae63;
  --red: #c0392b;

  /* Neutrals */
  --page: #f7fafc;
  --page-alt: #eef1f3;
  --surface: #ffffff;
  --ink: #222222;
  --muted: #5b6770;
  --line: #dce4e9;
  --line-strong: #c7d4db;
  --line-warm: #f1e4cf;

  /* On-navy text */
  --on-navy: #f7fafc;
  --on-navy-muted: #b9cedd;
  --on-navy-nav: #d6e4ef;
  --on-navy-faint: #8fadc4;
  --on-blue-muted: #cfe2f1;

  /* Typography */
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --text-xs: 11px;
  --text-sm: 12px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 16.5px;
  --text-xl: 23px;
  --text-2xl: 34px;
  --text-3xl: 46px;
  --text-4xl: 54px;

  /* Spacing */
  --gutter: 52px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 14px;
  --space-4: 20px;
  --space-5: 30px;
  --space-6: 44px;
  --space-7: 64px;

  /* Radii */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 8px 24px rgba(0, 20, 40, 0.06);
  --shadow: 0 8px 24px rgba(0, 20, 40, 0.08);
  --shadow-md: 0 10px 24px rgba(0, 20, 40, 0.18);
  --shadow-lg: 0 20px 50px rgba(0, 20, 40, 0.18);

  --focus-ring: 0 0 0 3px rgba(0, 90, 169, 0.35);
  --transition: 160ms ease;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* The `hidden` attribute must beat the layout classes. Without this, an element
   like <div class="field" hidden> still renders, because `.field { display:flex }`
   is an author rule and `[hidden] { display:none }` is only a UA default. */
[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--page-alt);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

/* Content links stay underlined: colour alone is not an accessible cue. */
.prose a,
.footnote a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy);
  text-wrap: pretty;
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Keyboard users land here first; hidden until focused. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

.site-shell {
  background: var(--page);
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.section {
  padding: var(--space-7) var(--gutter);
}

.section--tight {
  padding: var(--space-6) var(--gutter);
}

.section--white {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.section--page {
  background: var(--page);
  border-bottom: 1px solid var(--line);
}

.section--steps {
  position: relative;
  overflow: hidden;
}

.section--steps__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.section--steps__blob--1 {
  top: -120px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 62, 115, 0.22), rgba(0, 62, 115, 0));
}

.section--steps__blob--2 {
  bottom: -140px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(247, 148, 29, 0.2), rgba(247, 148, 29, 0));
}

.section--steps>.section__head,
.section--steps>.carousel {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
}

.container--form {
  max-width: 900px;
  margin: 0 auto;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.stack--sm {
  gap: var(--space-2);
}

.row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.row--between {
  justify-content: space-between;
}

.row--wrap {
  flex-wrap: wrap;
}

.grid {
  display: grid;
  gap: var(--space-4);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* --------------------------------------------------------------------------
   4. Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 8px var(--gutter);
  background: var(--navy);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand__link {
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 4px 8px;
}

.brand__logo {
  height: 50px;
  width: auto;
  display: block;
  border-radius: 8px;
}

.brand__lockup {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 8px 16px;
}

.brand__emblem {
  height: 38px;
  width: auto;
  display: block;
}

.brand__wordmark {
  height: 22px;
  width: auto;
  display: block;
}

.brand__rule {
  width: 1px;
  height: 30px;
  background: #d8e2e8;
}

.brand__divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.25);
}

.brand__tagline {
  font-size: var(--text-xs);
  color: var(--on-navy-muted);
  max-width: 210px;
  line-height: 1.4;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: var(--text-base);
  font-weight: 600;
}

.nav__link {
  color: var(--on-navy-nav);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.nav__link:hover {
  color: #ffffff;
}

.nav__link.is-active {
  color: #ffffff;
  border-bottom-color: var(--orange);
}

@keyframes nav-pulse {

  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(253, 186, 77, 0);
  }

  50% {
    transform: scale(1.08);
    text-shadow: 0 0 10px rgba(253, 186, 77, 0.7);
  }
}

.nav__link--highlight {
  color: var(--gold-300);
  font-weight: 700;
  animation: nav-pulse 1.8s ease-in-out infinite;
}

.nav__link--highlight:hover {
  color: var(--gold-100);
  animation-play-state: paused;
}

.nav__link--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
}

.nav__link--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav__link--cta {
  background: var(--orange);
  color: #ffffff;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.nav__link--cta:hover {
  background: var(--orange-600);
  color: #ffffff;
}

/* Mobile menu: a checkbox toggles the nav, so no JS is involved and there is
   nothing here for CSP to block. */
.nav-toggle {
  display: none;
}

.nav-toggle__label {
  display: none;
  cursor: pointer;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  content: "";
  position: relative;
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 4px;
}

/* --------------------------------------------------------------------------
   5. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: var(--on-navy);
  padding: 56px var(--gutter) 24px;
  flex-shrink: 0;
}

.site-footer a {
  color: var(--on-navy-nav);
}

.site-footer a:hover {
  color: #ffffff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-5);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
  margin-bottom: var(--space-3);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.footer__blurb {
  font-size: 13px;
  line-height: 1.6;
  color: var(--on-navy-muted);
  max-width: 320px;
}

.footer__bar {
  padding-top: var(--space-4);
  border-top: 1px solid rgba(247, 250, 252, 0.2);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--on-navy-faint);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-md);
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition);
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--navy);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--navy-700);
  color: #ffffff;
}

.btn--accent {
  background: var(--orange);
  color: #ffffff;
}

.btn--accent:hover {
  background: var(--orange-600);
  color: #ffffff;
}

.btn--yellow {
  background: var(--gold-300);
  color: var(--navy);
}

.btn--yellow:hover {
  background: var(--gold);
  color: var(--navy);
}

@keyframes btn-jump {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  15% {
    transform: translateY(-9px) rotate(-4deg);
  }

  30% {
    transform: translateY(0) rotate(3deg);
  }

  45% {
    transform: translateY(-5px) rotate(-3deg);
  }

  60% {
    transform: translateY(0) rotate(2deg);
  }

  75% {
    transform: translateY(-2px) rotate(-1deg);
  }
}

.btn--jump {
  animation: btn-jump 1.6s ease-in-out infinite;
}

.btn--jump:hover {
  animation-play-state: paused;
}

.btn--outline {
  border-color: var(--line-strong);
  color: var(--navy);
  font-weight: 600;
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--navy);
  background: rgba(0, 62, 115, 0.04);
  color: var(--navy);
}

.btn--on-navy {
  border: 1px solid rgba(247, 250, 252, 0.5);
  color: var(--on-navy);
  font-weight: 600;
  background: transparent;
}

.btn--on-navy:hover {
  background: rgba(247, 250, 252, 0.12);
  color: #ffffff;
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
  font-weight: 600;
}

.btn--ghost:hover {
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn--danger {
  background: transparent;
  color: var(--red);
  border-color: rgba(192, 57, 43, 0.35);
  font-weight: 600;
}

.btn--danger:hover {
  background: rgba(192, 57, 43, 0.06);
  color: var(--red);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--page);
  overflow: hidden;
}

.hero__inner {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: var(--space-7) var(--gutter) 60px;
}

/* The home hero's illustration. The reference set this inline via {% static %};
   with a strict CSP the URL has to live here instead, so the path is relative
   to this stylesheet rather than resolved by the template engine. */
.hero__inner--home {
  background-image: url("../img/hero-bg-illustration.f17f7f2113b0.webp");
  position: relative;
}

/* Media page: "SHINE in NEWS" clippings. */
.news-clipping {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Infographic carousel: media-coverage / engagement highlight slides, shown
   below the key-dates timeline. Four slides share one 20s cycle via
   staggered animation-delay, each visible for its ~5s share then crossfading
   into the next. */
.infographic-carousel {
  position: relative;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.infographic-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: infographic-carousel-fade 20s infinite;
  animation-fill-mode: backwards;
}

.infographic-carousel__slide:nth-child(1) {
  animation-delay: 0s;
}

.infographic-carousel__slide:nth-child(2) {
  animation-delay: 5s;
}

.infographic-carousel__slide:nth-child(3) {
  animation-delay: 10s;
}

.infographic-carousel__slide:nth-child(4) {
  animation-delay: 15s;
}

@keyframes infographic-carousel-fade {
  0% {
    opacity: 0;
  }

  2% {
    opacity: 1;
  }

  23% {
    opacity: 1;
  }

  25% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .infographic-carousel__slide {
    animation: none;
    opacity: 0;
  }

  .infographic-carousel__slide:nth-child(1) {
    opacity: 1;
  }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  z-index: 2;
}

.hero__pm-quote.eyebrow {
  margin: 0;
  display: block;
  font-family: var(--font-display);
  letter-spacing: normal;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--blue);
  font-weight: 700;
}

.hero__title {
  font-weight: 800;
  font-size: var(--text-4xl);
  line-height: 1.1;
  color: var(--navy);
}

.hero__title em {
  color: var(--orange);
  font-style: normal;
}

.hero__lede {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 460px;
}

.hero__note {
  margin-top: var(--space-2);
  max-width: 460px;
}

.hero__art {
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.hero__orbit--outer {
  width: 400px;
  height: 400px;
  animation: spin 60s linear infinite;
}

.hero__orbit--inner {
  width: 320px;
  height: 320px;
  border-color: #e9d8b8;
  animation: spin 45s linear infinite reverse;
}

.hero__portrait {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  border: 6px solid var(--surface);
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Orbiting keyword bubbles */
.bubble {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}

.bubble--1 {
  top: 8px;
  left: 60px;
  width: 76px;
  height: 76px;
  background: var(--navy);
  color: var(--gold-300);
  animation-delay: 0s;
}

.bubble--2 {
  top: 0;
  right: 40px;
  width: 88px;
  height: 88px;
  background: var(--gold-300);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(0, 20, 40, 0.15);
  animation-delay: 0.8s;
}

.bubble--3 {
  top: 110px;
  right: 0;
  width: 70px;
  height: 70px;
  background: var(--blue);
  color: #ffffff;
  animation-delay: 1.6s;
}

.bubble--4 {
  bottom: 70px;
  left: 0;
  width: 68px;
  height: 68px;
  background: var(--navy);
  color: var(--gold-300);
  animation-delay: 2.4s;
}

.bubble--5 {
  bottom: 20px;
  right: 70px;
  width: 80px;
  height: 80px;
  background: var(--orange);
  color: #ffffff;
  animation-delay: 3.2s;
}

/* Mascot variant of the hero art, used on interior pages */
.hero__mascot {
  height: 100%;
  width: auto;
  max-height: 420px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 30px rgba(0, 20, 40, 0.22));
  animation: float 7s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   8. Quick-link strip
   -------------------------------------------------------------------------- */

.quicklinks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: var(--space-6) var(--gutter) 0;
  border-top: 1px solid var(--line);
}

.quicklink {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: 0 18px;
  color: inherit;
}

.quicklink__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition);
}

.quicklink:hover .quicklink__icon {
  transform: translateY(-4px);
}

.quicklink__icon--blue {
  background: rgba(0, 90, 169, 0.1);
}

.quicklink__icon--orange {
  background: rgba(247, 148, 29, 0.12);
}

.quicklink__icon--gold {
  background: rgba(217, 164, 65, 0.14);
}

.quicklink__icon--green {
  background: rgba(46, 174, 99, 0.12);
}

.quicklink__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
}

.quicklink__blurb {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
}

/* Icon glyphs, built from divs exactly as the reference did */
.glyph-target {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.glyph-target__ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.glyph-target__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.glyph-people {
  position: relative;
  width: 44px;
  height: 34px;
}

.glyph-people__head {
  position: absolute;
  left: 2px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
}

.glyph-people__body {
  position: absolute;
  left: -3px;
  top: 15px;
  width: 26px;
  height: 16px;
  border-radius: 13px 13px 0 0;
  background: var(--orange);
}

.glyph-people__head--alt {
  position: absolute;
  right: 2px;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.6;
}

.glyph-people__body--alt {
  position: absolute;
  right: -2px;
  top: 17px;
  width: 22px;
  height: 14px;
  border-radius: 11px 11px 0 0;
  background: var(--orange);
  opacity: 0.6;
}

.glyph-flask {
  position: relative;
  width: 30px;
  height: 38px;
}

.glyph-flask__neck {
  position: absolute;
  top: 0;
  left: 10px;
  width: 10px;
  height: 12px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
}

.glyph-flask__body {
  position: absolute;
  top: 12px;
  left: 2px;
  width: 26px;
  height: 22px;
  background: var(--gold);
  border-radius: 0 0 13px 13px;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}

.glyph-flask__base {
  position: absolute;
  bottom: 0;
  left: 9px;
  width: 12px;
  height: 8px;
  border-radius: 0 0 4px 4px;
  background: #b98a2e;
}

.glyph-pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: var(--green);
  transform: rotate(-45deg);
  position: relative;
}

.glyph-pin__inner {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(46, 174, 99, 0.14);
}

.glyph-books {
  display: flex;
  gap: 2px;
  align-items: flex-end;
}

.glyph-books__book {
  width: 16px;
  height: 30px;
  background: var(--blue);
  border-radius: 6px 2px 2px 6px;
}

.glyph-books__book--right {
  border-radius: 2px 6px 6px 2px;
  opacity: 0.7;
}

.glyph-mail {
  position: relative;
  width: 36px;
  height: 26px;
  background: var(--orange);
  border-radius: 3px;
}

.glyph-mail__flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 14px solid #ffffff;
  opacity: 0.35;
}

/* --------------------------------------------------------------------------
   9. Timeline & stat cards
   -------------------------------------------------------------------------- */

.timeline {
  display: flex;
  align-items: center;
  margin: 32px var(--gutter) 60px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 22px var(--space-5);
}

.participate-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin: 32px var(--gutter) 40px;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--line-warm);
  box-shadow: var(--shadow);
  padding: 22px var(--space-5);
}

.participate-cta__text {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
}

/* Extended-deadline poster (home page). Sits between the participate CTA and
   the Lab Day carousel, and is only rendered while submissions are open. */
.deadline-poster {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-6);
  margin: 0 var(--gutter) 40px;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line-warm);
  border-top: 4px solid var(--orange);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.deadline-poster__media {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.deadline-poster__media:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.deadline-poster__media:focus-visible {
  outline: none;
  box-shadow: var(--shadow-lg), var(--focus-ring);
}

.deadline-poster__img {
  display: block;
  width: 100%;
  height: auto;
}

.deadline-poster__kicker {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.deadline-poster__title {
  margin: var(--space-3) 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.15;
  color: var(--navy);
}

.deadline-poster__text {
  margin: 0 0 var(--space-4);
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--muted);
}

/* Red rather than brand orange: orange on white is below AA contrast at this
   size, and this line is the one that has to be read. */
.deadline-poster__countdown {
  margin: 0 0 var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--red);
}

.deadline-poster__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.deadline-poster__link {
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .deadline-poster {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: var(--space-4);
  }

  .deadline-poster__media {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .deadline-poster__title {
    font-size: var(--text-xl);
  }
}

@media (prefers-reduced-motion: reduce) {
  .deadline-poster__media {
    transition: none;
  }

  .deadline-poster__media:hover {
    transform: none;
  }
}

.timeline__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
}

.timeline__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.timeline__num--navy {
  background: var(--navy);
}

.timeline__num--gold {
  background: var(--gold);
}

.timeline__num--blue {
  background: var(--blue);
}

.timeline__num--orange {
  background: var(--orange);
}

/* display:block because these sit inside a plain <span> wrapper rather than a
   flex container -- without it the label and value run together on one line. */
.timeline__label {
  display: block;
  font-size: var(--text-x);
  letter-spacing: 0.06em;
  color: var(--muted);
}

.timeline__value {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
}

.timeline__sep {
  color: var(--line-strong);
  padding: 0 18px;
}

.stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-6) var(--gutter);
  background: var(--surface);
  border-bottom: 1px solid var(--line-warm);
}

.stats__head {
  margin-bottom: var(--space-5);
  text-align: center;
}

.stats__inner {
  max-width: 100%;
  width: 100%;
  display: flex;
  gap: var(--space-4);
}

.stat {
  flex: 1;
  border-radius: var(--radius-xl);
  padding: var(--space-5) 38px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.stat--gold {
  background-color: var(--gold-100);
}

.stat--blue {
  background: var(--blue);
}

.stat__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stat--gold .stat__icon {
  background: rgba(255, 255, 255, 0.55);
}

.stat--blue .stat__icon {
  background: rgba(255, 255, 255, 0.18);
}

.stat__value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
}

.stat--gold .stat__value {
  color: var(--navy);
}

.stat--blue .stat__value {
  color: #ffffff;
}

.stat__label {
  font-size: var(--text-sm);
}

.stat--gold .stat__label {
  color: #5b4423;
}

.stat--blue .stat__label {
  color: var(--on-blue-muted);
}

/* Stat card glyphs */
.glyph-students__head {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
}

.glyph-students__body {
  position: absolute;
  left: 11px;
  top: 32px;
  width: 30px;
  height: 18px;
  border-radius: 14px 14px 0 0;
  background: var(--navy);
}

.glyph-students__head--alt {
  position: absolute;
  right: 14px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.7;
}

.glyph-students__body--alt {
  position: absolute;
  right: 10px;
  top: 26px;
  width: 24px;
  height: 15px;
  border-radius: 12px 12px 0 0;
  background: var(--navy);
  opacity: 0.7;
}

.glyph-school {
  width: 34px;
  height: 26px;
  background: #ffffff;
  border-radius: 2px;
  position: relative;
}

.glyph-school__roof {
  position: absolute;
  left: -1px;
  top: -11px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 12px solid #ffffff;
}

.glyph-school__window {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--blue);
}

.glyph-school__window--r1c1 {
  left: 5px;
  top: 5px;
}

.glyph-school__window--r1c2 {
  left: 15px;
  top: 5px;
}

.glyph-school__window--r1c3 {
  left: 25px;
  top: 5px;
}

.glyph-school__window--r2c1 {
  left: 5px;
  top: 15px;
}

.glyph-school__window--r2c2 {
  left: 15px;
  top: 15px;
}

.glyph-school__window--r2c3 {
  left: 25px;
  top: 15px;
}

.glyph-flag__pole {
  width: 3px;
  height: 38px;
  background: #ffffff;
}

.glyph-flag__cloth {
  position: absolute;
  left: 32px;
  top: 11px;
  width: 22px;
  height: 15px;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 80% 50%, 100% 100%, 0 100%);
}

.glyph-pin--stat {
  width: 26px;
  height: 26px;
}

.glyph-pin--stat .glyph-pin__inner {
  top: 6px;
  left: 6px;
  width: 14px;
  height: 14px;
  background: var(--gold-300);
}

/* --------------------------------------------------------------------------
   10. Quote
   -------------------------------------------------------------------------- */

.quote {
  padding: 60px var(--gutter);
  background: var(--page);
  border-bottom: 1px solid var(--line);
}

.quote__card {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.quote__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.quote__img--figure {
  object-fit: contain;
  background: var(--page);
  padding: var(--space-3) 0;
}

.quote__body {
  padding: 15px var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
}

.quote__mark {
  font-family: var(--font-display);
  font-size: 70px;
  line-height: 0.6;
  color: var(--orange);
}

.quote__text {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}

.quote__cite {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--muted);
  padding-bottom: var(--space-5);
}

/* --------------------------------------------------------------------------
   11. Cards, panels & badges
   -------------------------------------------------------------------------- */

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin: 0;
}

.section__note {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--muted);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card--linked:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card__img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.card__kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--orange);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.card__text {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* Panel: the workhorse surface for dashboard and content blocks */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.panel--emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.panel__emblem-img {
  width: 100%;
  max-width: 340px;
  height: auto;
}

.panel--flush {
  padding: 0;
  overflow: hidden;
}

.panel--accent {
  border-left: 4px solid var(--orange);
}

/* Results page: the Top 100 card, then the winners poster at full width.
   Side margins are slimmer than other sections so the poster is as large as
   possible, with the same gap on the left and the right. */
/* .section.section--results so the small-screen .section padding rules
   (later in this file) do not override it. */
.section.section--results {
  padding-top: var(--space-4);
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.container--wide {
  max-width: 1600px;
  margin: 0 auto;
}

/* Winners poster on the Results page: rounded, and a link to the image. */
.results-poster {
  margin: 0;
}

.results-poster a {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 20, 40, 0.18);
}

.results-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.results-poster__caption {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--muted);
  text-align: center;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}

.panel__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge--draft {
  background: rgba(217, 164, 65, 0.16);
  color: #8a6416;
}

.badge--submitted {
  background: rgba(46, 174, 99, 0.14);
  color: #1c7a42;
}

.badge--navy {
  background: rgba(0, 62, 115, 0.1);
  color: var(--navy);
}

.badge--orange {
  background: rgba(247, 148, 29, 0.14);
  color: #9a5a05;
}

/* --------------------------------------------------------------------------
   11b. Gallery — photo grid, lazy-loaded (landing/gallery.html)
   -------------------------------------------------------------------------- */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-3);
}

.gallery__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  background: var(--page-alt);
  transition: transform var(--transition);
}

.gallery__img:hover {
  transform: scale(1.03);
}

/* Shimmer placeholder for images that load after the page does (gallery
   grid, institute logos, activity cards) -- toggled by image-loading.js. */
.gallery__img,
.institute-card__logo,
.institute-mini-card__logo,
.card__img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-loading {
  background-image: linear-gradient(100deg, #e9edf1 25%, #f5f7f9 37%, #e9edf1 63%);
  background-size: 400% 100%;
  animation: img-shimmer 1.4s ease-in-out infinite;
}

.img-loaded {
  opacity: 1 !important;
}

@keyframes img-shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .img-loading {
    animation: none;
  }
}

.gallery-filter {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.gallery-filter .field__label {
  margin: 0;
}

.gallery-filter .select {
  width: auto;
  min-width: 140px;
  padding: 8px 12px;
}

.gallery-year__subhead {
  margin: var(--space-5) 0 var(--space-3);
  font-size: var(--text-lg);
  color: var(--navy);
}

.gallery-year__subhead:first-of-type {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */

.cta {
  background: var(--navy);
  color: var(--on-navy);
  padding: 70px var(--gutter);
  text-align: center;
}

.cta__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin: 0 0 var(--space-3);
  color: #ffffff;
}

.cta__lede {
  font-size: var(--text-md);
  margin: 0 auto var(--space-5);
  max-width: 520px;
  color: var(--on-navy-muted);
}

.cta__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   13. Prose / content pages
   -------------------------------------------------------------------------- */

.page-head {
  background: var(--navy);
  color: var(--on-navy);
  padding: 56px var(--gutter);
}

.page-head__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.page-head__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--gold-300);
  font-weight: 700;
}

.page-head__title {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin: 10px 0 0;
}

.page-head__lede {
  font-size: var(--text-md);
  color: var(--on-navy-muted);
  margin: var(--space-3) 0 0;
  max-width: 620px;
  line-height: 1.6;
}

.page-head__art {
  height: 230px;
  width: auto;
  flex-shrink: 0;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--on-navy-faint);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.breadcrumb a {
  color: var(--on-navy-faint);
}

.breadcrumb a:hover {
  color: #ffffff;
}

.prose {
  color: var(--ink);
  font-size: var(--text-md);
  line-height: 1.7;
}

.prose>*+* {
  margin-top: var(--space-3);
}

.prose h2 {
  font-size: 26px;
  font-weight: 800;
  margin-top: var(--space-6);
  padding-top: var(--space-2);
}

.prose h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-top: var(--space-4);
}

.prose h4 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--ink);
  margin-top: var(--space-3);
}

.prose p {
  margin: 0;
  color: #3c4750;
}

.prose p.mb-4 {
  margin-bottom: var(--space-4);
}

.prose ul,
.prose ol {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #3c4750;
}

.prose li::marker {
  color: var(--orange);
  font-weight: 700;
}

.prose strong {
  color: var(--navy);
}

.prose blockquote {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid var(--orange);
  background: rgba(247, 148, 29, 0.05);
  color: var(--muted);
}

.lede {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--muted);
}

/* Numbered section headers used across the Guidelines page */
.numbered {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.numbered__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  flex-shrink: 0;
}

/* The spacing belongs to the .numbered row, not to the heading inside it:
   .prose h2's own margin/padding would otherwise push the title out of
   alignment with its number circle. Stated with the same specificity as the
   .prose h2 rule so it reliably wins. */
.prose .numbered__title,
.numbered__title {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  padding: 0;
}

/* Sticky in-page table of contents */
.toc {
  position: sticky;
  top: 96px;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.toc__title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.toc__list a {
  color: var(--navy);
  font-weight: 600;
}

.toc__list a:hover {
  color: var(--orange);
}

.layout--sidebar {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-6);
  align-items: start;
}

/* Key-date chips */
.datechip {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.datechip__date {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

.datechip__label {
  font-size: 13.5px;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.fieldset__legend {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  padding: 0;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.fieldset__legend::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.field__required {
  color: var(--orange);
  margin-left: 2px;
}

.field__help {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
}

/* CAPTCHA image: without this it inherits the global `img { max-width: 100% }`
   rule and stretches to fill the field width, blowing the small generated
   PNG (CAPTCHA_IMAGE_SIZE) up way past its real pixel size. */
.captcha {
  display: block;
  width: 250px;
  max-width: 110px;
  height: 42px;
}

.field__error {
  font-size: var(--text-sm);
  color: var(--red);
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.field__error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

.input,
.select,
.textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--blue);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--focus-ring);
}

.input[readonly],
.input:disabled,
.select:disabled {
  background: #f2f5f7;
  color: var(--muted);
  cursor: not-allowed;
  border-style: dashed;
}

.input--error,
.select--error,
.textarea--error {
  border-color: var(--red);
}

.input--error:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.25);
}

.textarea {
  min-height: 130px;
  resize: vertical;
}

.field__password {
  position: relative;
}

.field__password .input {
  padding-right: 44px;
}

.field__password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.field__password-toggle:hover,
.field__password-toggle:focus-visible {
  color: var(--blue);
}

.field__password-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.select {
  appearance: none;
  /* Inline SVG caret as a data: URI — allowed by `img-src 'self' data:` */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235B6770' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 11px;
  padding-right: 34px;
}

.input--file {
  padding: 9px 13px;
  border-style: dashed;
  background: #fbfcfd;
  cursor: pointer;
}

.input--file::file-selector-button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  background: var(--page);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  margin-right: 12px;
  cursor: pointer;
}

.input--file::file-selector-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Choice controls (school type, undertaking, language) */
.choices {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.choice {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  transition: border-color var(--transition), background var(--transition);
  background: var(--surface);
}

.choice:hover {
  border-color: var(--blue);
}

.choice input {
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  cursor: pointer;
  margin: 0;
}

.choice:has(input:checked) {
  border-color: var(--blue);
  background: rgba(0, 90, 169, 0.06);
  color: var(--navy);
}

.choice:has(input:focus-visible) {
  box-shadow: var(--focus-ring);
}

/* The undertaking is a legal declaration; it gets deliberate visual weight. */
.undertaking {
  border: 1px solid var(--gold);
  background: rgba(255, 217, 156, 0.22);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.undertaking__text {
  font-size: 13.5px;
  line-height: 1.65;
  color: #4a3a1c;
}

.undertaking .choice {
  background: var(--surface);
  align-self: flex-start;
}

.form__actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  margin-top: var(--space-2);
}

.form__actions--end {
  justify-content: flex-end;
}

.form__note {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-right: auto;
}

/* Auth card, used by login / verify / password screens */
.auth {
  display: grid;
  grid-template-columns: 1fr 380px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.auth__body {
  padding: var(--space-6);
}

.auth__aside {
  background: var(--navy);
  color: var(--on-navy);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}

.auth__aside h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.auth__aside p,
.auth__aside li {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--on-navy-muted);
}

.auth__aside ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth__aside li::marker {
  color: var(--gold-300);
}

.auth__mascot {
  height: 130px;
  width: auto;
  align-self: center;
}

.auth__title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.auth__sub {
  font-size: var(--text-base);
  color: var(--muted);
  margin-bottom: var(--space-5);
}

.auth__foot {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Multi-step progress indicator.
   Marked up as an <ol> for correct semantics, so the list styling is reset. */
.steps {
  display: flex;
  align-items: center;
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
}

.steps__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
}

.steps__dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--surface);
  flex-shrink: 0;
}

.steps__item.is-done .steps__dot {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.steps__item.is-current .steps__dot {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.steps__item.is-current {
  color: var(--navy);
}

.steps__bar {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin: 0 12px;
}

/* --------------------------------------------------------------------------
   15. Tables
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 640px;
}

.table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 13px 16px;
  background: var(--page);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background: #fbfcfd;
}

.table__name {
  font-weight: 600;
  color: var(--navy);
}

.table__actions {
  display: flex;
  gap: var(--space-2);
  justify-content: flex-end;
  white-space: nowrap;
}

.empty {
  text-align: center;
  padding: var(--space-7) var(--space-4);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.empty__art {
  height: 120px;
  width: auto;
  opacity: 0.9;
}

.empty__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
}

.empty__text {
  font-size: 13.5px;
  max-width: 380px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   16. Dashboard
   -------------------------------------------------------------------------- */

.dash {
  padding: var(--space-6) var(--gutter) var(--space-7);
  background: var(--page);
}

.dash__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-4);
  align-items: start;
}

.dash__hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--on-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  overflow: hidden;
  position: relative;
}

.dash__hero h1 {
  color: #ffffff;
  font-size: 27px;
  font-weight: 800;
}

.dash__hero p {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--on-navy-muted);
  max-width: 520px;
  line-height: 1.6;
}

.dash__hero-art {
  height: 128px;
  width: auto;
  flex-shrink: 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric__value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.metric__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.steplist {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.steplist li {
  counter-increment: step;
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.6;
  color: #3c4750;
}

.steplist li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 90, 169, 0.1);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #3c4750;
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checklist li::before {
  content: "\2713";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.linkcard {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color var(--transition), transform var(--transition);
}

.linkcard:hover {
  border-color: var(--blue);
  transform: translateX(2px);
}

.linkcard__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(0, 90, 169, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  flex-shrink: 0;
}

/* Same reason as .timeline__label: these are spans in a non-flex wrapper. */
.linkcard__title {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
}

.linkcard__sub {
  display: block;
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Pulse card: the normal linkcard border, plus a gold (--gold-300) ring that
   ripples outward. Only box-shadow animates -- transform is left free for
   the reveal slide-in and the hover nudge, which a scale keyframe would
   override. */
.linkcard--pulse {
  animation: linkcard-pulse 2s ease-out infinite;
}

.linkcard--pulse:hover,
.linkcard--pulse:focus-visible {
  border-color: var(--gold-300);
  animation-play-state: paused;
}

.linkcard--pulse .linkcard__icon {
  color: var(--gold-300);
  background: rgba(253, 186, 77, 0.15);
}

/* Larger than the standard 13.5px linkcard title -- this card is the page's
   main link. */
.linkcard--pulse .linkcard__title {
  font-size: 17px;
}

@keyframes linkcard-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(253, 186, 77, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(253, 186, 77, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(253, 186, 77, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .linkcard--pulse {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   17. Messages & alerts
   -------------------------------------------------------------------------- */

.messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-4) var(--gutter) 0;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.55;
  border: 1px solid;
}

.alert__icon {
  font-weight: 700;
  flex-shrink: 0;
}

.alert--success {
  background: rgba(46, 174, 99, 0.08);
  border-color: rgba(46, 174, 99, 0.4);
  color: #1c7a42;
}

.alert--info {
  background: rgba(0, 90, 169, 0.06);
  border-color: rgba(0, 90, 169, 0.3);
  color: var(--navy);
}

.alert--warning {
  background: rgba(247, 148, 29, 0.08);
  border-color: rgba(247, 148, 29, 0.45);
  color: #9a5a05;
}

.alert--error {
  background: rgba(192, 57, 43, 0.06);
  border-color: rgba(192, 57, 43, 0.4);
  color: var(--red);
}

.alert a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

/* Error page */
.errorpage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: 110px var(--gutter);
}

.errorpage__code {
  font-family: var(--font-mono);
  font-size: 68px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.errorpage__title {
  font-size: 32px;
  font-weight: 800;
}

.errorpage__text {
  color: var(--muted);
  max-width: 440px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   18. Utilities
   -------------------------------------------------------------------------- */

.mono {
  font-family: var(--font-mono);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: var(--text-sm);
}

.center {
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

.mt-0 {
  margin-top: 0;
}

.mt-2 {
  margin-top: var(--space-2);
}

.mt-3 {
  margin-top: var(--space-3);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-5 {
  margin-top: var(--space-5);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-3 {
  margin-bottom: var(--space-3);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-5 {
  margin-bottom: var(--space-5);
}

.hidden {
  display: none !important;
}

/* Available to screen readers only */
.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;
}

.divider {
  height: 1px;
  background: var(--line);
  border: none;
  margin: var(--space-4) 0;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 90, 169, 0.25);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   19. Motion
   -------------------------------------------------------------------------- */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.animate-in {
  animation: fade-up 480ms ease both;
}

/* Honour the OS-level reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* CSS-only fallback so content stays visible even if reveal.js never runs. */
  [data-reveal],
  [data-reveal-group]>* {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  :root {
    --gutter: 32px;
    --text-4xl: 42px;
    --text-3xl: 36px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .hero__art {
    height: 360px;
  }

  .quicklinks {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5) 0;
  }

  .grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats__inner {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 45%;
  }

  .timeline {
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .timeline__item {
    flex: 1 1 45%;
  }

  .timeline__sep {
    display: none;
  }

  .dash__grid,
  .layout--sidebar {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .auth {
    grid-template-columns: 1fr;
  }

  .auth__aside {
    order: -1;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    padding: 14px var(--gutter);
  }

  .nav-toggle__label {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    padding-top: var(--space-3);
    margin-top: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-toggle:checked~.nav {
    display: flex;
  }

  .nav__link {
    padding: 12px 4px;
    border-bottom: none;
  }

  .nav__link.is-active {
    color: var(--orange);
  }

  .nav__link--ghost,
  .nav__link--cta {
    text-align: center;
    padding: 13px 18px;
  }

  .brand__tagline,
  .brand__divider {
    display: none;
  }

  .quote__card {
    grid-template-columns: 1fr;
  }

  .quote__img {
    height: 250px;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .page-head__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-head__art,
  .dash__hero-art {
    display: none;
  }

  .metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 18px;
    --text-4xl: 33px;
    --text-3xl: 28px;
    --text-2xl: 25px;
  }

  .section {
    padding: var(--space-6) var(--gutter);
  }

  .quicklinks,
  .grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    flex: 1 1 100%;
  }

  .timeline__item {
    flex: 1 1 100%;
  }

  .hero__art {
    height: 300px;
    transform: scale(0.82);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 14px 22px;
  }

  .cta__actions .btn {
    width: 100%;
  }

  .auth__body,
  .auth__aside {
    padding: var(--space-5) var(--space-4);
  }

  .form__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .form__note {
    margin-right: 0;
    text-align: center;
  }

  .errorpage {
    padding: 70px var(--gutter);
  }

  .page-head__title {
    font-size: 30px;
  }
}

/* --------------------------------------------------------------------------
   21a. Carousel — auto-scrolling card track (e.g. "How your school takes part")
   -------------------------------------------------------------------------- */

.carousel {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 32px var(--gutter) 36px;
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 45%, var(--orange) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.carousel__track {
  display: flex;
  width: max-content;
  gap: var(--space-4);
  animation: carousel-scroll 26s linear infinite;
}

.carousel:hover .carousel__track,
.carousel:focus-within .carousel__track {
  animation-play-state: paused;
}

.carousel__card {
  flex: 0 0 280px;
}

.carousel__card--glass {
  position: relative;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 12px 32px rgba(0, 20, 40, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.carousel__card--glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.carousel__card--glass .card__title,
.carousel__card--glass .card__text {
  color: #fff;
}

.carousel__card--glass .card__text {
  color: rgba(255, 255, 255, 0.85);
}

.carousel__card--glass:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 40px rgba(0, 20, 40, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.7);
}

.carousel__card--glass .card__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 20, 40, 0.25);
}

.carousel__card--glass .card__title {
  margin-top: 4px;
}

@keyframes carousel-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-16.6667%);
  }
}

/* --------------------------------------------------------------------------
   21b. Scroll reveal — sections fade/slide in as they enter the viewport
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transition: opacity 2.5s cubic-bezier(0.16, 1, 0.3, 1), transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="up"] {
  transform: translateY(48px);
}

[data-reveal="right"] {
  transform: translateX(72px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered children: elements in a revealing group ease in one after another */
[data-reveal-group]>* {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 2.5s cubic-bezier(0.16, 1, 0.3, 1), transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-group].is-visible>* {
  opacity: 1;
  transform: none;
}

[data-reveal-group].is-visible>*:nth-child(1) {
  transition-delay: 0ms;
}

[data-reveal-group].is-visible>*:nth-child(2) {
  transition-delay: 220ms;
}

[data-reveal-group].is-visible>*:nth-child(3) {
  transition-delay: 440ms;
}

[data-reveal-group].is-visible>*:nth-child(4) {
  transition-delay: 660ms;
}

[data-reveal-group].is-visible>*:nth-child(5) {
  transition-delay: 880ms;
}

/* --------------------------------------------------------------------------
   21b. Floating "participate" call-to-action
   Bottom-left and sticky (fixed) -- the opposite corner from Dr. Curio
   (21c, below), so the two never compete for the same space.
   -------------------------------------------------------------------------- */

/* Results badge: navy pill with a gold rim, a gold trophy disc on the left,
   "Results" in the middle and a gold arrow. */
.floating-cta {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 18px 5px 5px;
  border: 2px solid var(--gold-300);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--gold-300);
  font-family: var(--font-body);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 20, 40, 0.3);
  transition: filter var(--transition), transform var(--transition);
}

.floating-cta:hover {
  color: var(--gold-300);
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.floating-cta__badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3b0 0%, #ffd23f 45%, #f5b400 100%);
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-cta__badge svg {
  width: 34px;
  height: 34px;
}

.floating-cta__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 12px;
  border-left: 1.5px solid var(--gold-300);
  line-height: 1.1;
}

.floating-cta__label {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.floating-cta__arrow {
  flex-shrink: 0;
}

.floating-cta__rays {
  position: absolute;
  top: -16px;
  right: -8px;
  color: var(--gold-300);
}

@media (max-width: 860px) {
  .floating-cta {
    left: 14px;
    bottom: 14px;
  }
}

@media (max-width: 620px) {
  .floating-cta {
    gap: 9px;
    padding: 4px 14px 4px 4px;
  }

  .floating-cta__badge {
    width: 40px;
    height: 40px;
  }

  .floating-cta__badge svg {
    width: 28px;
    height: 28px;
  }

  .floating-cta__text {
    padding-left: 9px;
  }

  .floating-cta__label {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .btn--jump,
  .floating-cta,
  .nav__link--highlight {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   21c. Dr. Curio — floating scroll guide with a speech bubble
   -------------------------------------------------------------------------- */

.curio-guide {
  position: fixed;
  right: 20px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 340px;
  pointer-events: none;
}

.curio-guide.is-hidden {
  display: none;
}

.curio-guide__bubble {
  position: relative;
  pointer-events: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-3) 30px var(--space-3) var(--space-3);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.curio-guide__bubble.is-visible {
  opacity: 1;
  transform: none;
}

.curio-guide__bubble::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 22px;
  width: 14px;
  height: 14px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(-45deg);
}

.curio-guide__text {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ink);
  transition: opacity 0.6s ease;
}

.curio-guide__text.is-fading {
  opacity: 0;
}

.curio-guide__close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: none;
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 2px;
}

.curio-guide__close:hover {
  color: var(--ink);
}

.curio-guide__figure {
  height: 260px;
  width: auto;
  flex-shrink: 0;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 20, 40, 0.25));
  transform: translateX(0) scale(1);
  opacity: 1;
}

/* Section change: Dr. Curio slides off past the right edge of the screen
   and vanishes, the JS swaps his pose image while he's gone, then he slides
   back in from off-screen right in the new pose with a little settle. Slow
   and deliberate on purpose — this should read as him leaving and re-entering
   the screen, not a quick shuffle. */
.curio-guide__figure.is-exiting {
  transform: translateX(420px) scale(0.88);
  opacity: 0;
  transition: transform 1.15s cubic-bezier(0.61, 0.02, 0.85, 0.4), opacity 1.05s ease-in;
}

.curio-guide__figure.is-entering {
  animation: curio-enter 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes curio-enter {
  0% {
    transform: translateX(420px) scale(0.88);
    opacity: 0;
  }

  75% {
    transform: translateX(-14px) scale(1.04);
    opacity: 1;
  }

  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .curio-guide__figure {
    height: 190px;
  }

  .curio-guide {
    max-width: 260px;
    right: 14px;
  }
}

@media (max-width: 620px) {
  .curio-guide__bubble {
    display: none;
  }

  .curio-guide__figure {
    height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .curio-guide__figure.is-exiting,
  .curio-guide__figure.is-entering {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   21. Print — nodal officers print candidate lists for school records
   -------------------------------------------------------------------------- */

@media print {

  .site-header,
  .site-footer,
  .form__actions,
  .table__actions,
  .btn,
  .messages {
    display: none !important;
  }

  body {
    background: #ffffff;
  }

  .panel,
  .table-wrap {
    border: 1px solid #999;
    box-shadow: none;
    break-inside: avoid;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10px;
    color: #555;
  }
}

/* --------------------------------------------------------------------------
   22. Programme dialog — pure-CSS modal, shown via the :target pseudo-class
   when the URL fragment matches its id. No JavaScript involved.
   -------------------------------------------------------------------------- */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: rgba(0, 20, 40, 0.55);
}

.modal-overlay:target {
  display: flex;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  background: var(--page);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* The close button lives outside this box, so it stays put on screen while
   the body underneath it scrolls. */
.modal-panel__body {
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-6);
}

.modal-panel__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}

.modal-panel__close:hover {
  background: #e7edf1;
}

.modal-panel__title {
  margin: var(--space-2) 0 var(--space-4);
  font-size: var(--text-2xl);
  color: var(--navy);
}

.modal-panel__heading {
  margin: var(--space-4) 0 var(--space-2);
  font-size: var(--text-lg);
  color: var(--navy);
}

.modal-panel__heading:first-of-type {
  margin-top: 0;
}

/* Institutes dialog: search box + card grid inside a wider modal panel. */
.modal-panel--wide {
  max-width: 1240px;
}

.institute-search__input {
  margin: 0 0 var(--space-5);
}

.institute-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-4);
  max-height: 65vh;
  overflow-y: auto;
  padding-right: 4px;
}

.institute-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-4);
  background: var(--navy);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-md);
}

.institute-card__logo {
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 4px;
  background: #fff;
  border-radius: var(--radius-sm, 4px);
  padding: 6px 10px;
}

.institute-card__title {
  margin: 0;
  font-size: var(--text-md);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.institute-card__location {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.institute-card__focus {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  flex: 1;
}

.institute-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--orange);
}

.institute-empty {
  text-align: center;
  padding: var(--space-5) 0 0;
}

/* India map with clickable pins + a fixed detail panel to its right. */
.institute-map-layout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 1180px;
  margin: 0 auto;
}

.institute-map {
  position: relative;
  width: 100%;
  max-width: 460px;
  flex: 1 1 460px;
}

.institute-map__cta {
  text-align: center;
  margin-top: var(--space-5);
}

.institute-map__bg {
  width: 100%;
  display: block;
}

.institute-panel {
  flex: 1 1 620px;
  width: 100%;
  max-width: 660px;
  height: 540px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.institute-panel__list {
  height: 100%;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.institute-mini-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  padding: 16px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition), background var(--transition);
}

.institute-mini-card:hover,
.institute-mini-card:focus-visible {
  border-color: var(--blue);
  background: #f4f8fb;
}

.institute-mini-card__logo {
  flex: none;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 4px;
}

.institute-mini-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.institute-mini-card__name {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.institute-mini-card__location {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.institute-panel__detail {
  position: relative;
  height: 100%;
  overflow-y: auto;
  padding: var(--space-5) var(--space-5) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
}

.institute-panel__back {
  position: absolute;
  top: var(--space-4);
  left: var(--space-5);
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}

.institute-panel__logo {
  display: block;
  width: auto;
  max-width: 260px;
  height: 96px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: var(--space-3);
}

.institute-panel__title {
  margin: 0 0 6px;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.institute-panel__location {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-2);
}

.institute-panel__address {
  margin: var(--space-2) 0;
  font-size: var(--text-sm);
  color: #3c4750;
  line-height: 1.6;
}

.institute-panel__focus {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  color: #3c4750;
  line-height: 1.6;
}

.institute-panel__link {
  font-size: var(--text-md);
  font-weight: 600;
}

@media (max-width: 760px) {
  .institute-map-layout {
    flex-direction: column;
  }

  .institute-map {
    max-width: 100%;
    margin: 0 auto;
  }

  .institute-panel {
    max-width: 100%;
    height: 420px;
  }
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 6px;
  margin: -6px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 0;
}

.map-pin__dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 4px rgba(0, 62, 115, 0.18);
  transition: transform var(--transition), background var(--transition);
}

.map-pin:hover .map-pin__dot,
.map-pin:focus-visible .map-pin__dot {
  background: var(--orange);
  transform: scale(1.25);
}
/* --------------------------------------------------------------------------
   23. Announcement ticker -- pure-CSS marquee, paused via a checkbox
   --------------------------------------------------------------------------
   No JavaScript, for the same reason as the mobile nav toggle: the CSP allows
   no inline script, and a ticker is not worth another nonced file. The pause
   control is a checkbox whose :checked state flips animation-play-state. */

.announce {
  display: flex;
  align-items: stretch;
  background: var(--navy-700);
  color: var(--on-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.announce__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

/* The checkbox itself is never shown -- the label below is the control. */
.announce__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.announce__btn {
  flex-shrink: 0;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 26px;
  height: 26px;
  margin: 0 var(--space-3);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

@media (hover: hover) {
  .announce__btn:hover {
    transform: scale(1.08);
    background: var(--gold-100);
  }
}

.announce__toggle:focus-visible+.announce__btn {
  box-shadow: var(--focus-ring);
}

/* Two bars = pause. */
.announce__btn::before,
.announce__btn::after {
  content: "";
  width: 3px;
  height: 10px;
  border-radius: 1px;
  background: var(--navy-700);
}

/* Checked = the ticker is stopped, so the control offers "play" instead. */
.announce__toggle:checked+.announce__btn::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  background: transparent;
  border-left: 9px solid var(--navy-700);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-radius: 0;
}

.announce__toggle:checked+.announce__btn::after {
  display: none;
}

.announce__viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.announce__track {
  display: flex;
  flex-shrink: 0;
  animation: announce-scroll 55s linear infinite;
}

/* Two identical copies sit side by side; the gap after each one keeps the
   sentences apart as the seam passes through. */
.announce__item {
  margin: 0;
  padding-right: var(--space-7);
  white-space: nowrap;
  font-size: var(--text-base);
  line-height: 44px;
}

.announce__toggle:checked~.announce__viewport .announce__track {
  animation-play-state: paused;
}

/* Stopping on hover lets a reader finish a sentence without hunting for the
   button. Gated on a real hovering pointer: a touch device can leave :hover
   stuck after a tap, which would strand the ticker paused with no obvious
   cause. The button stays the deliberate, sticky way to stop it. */
@media (hover: hover) {
  .announce:hover .announce__track {
    animation-play-state: paused;
  }
}

/* -50% is exactly one copy of the pair, so the track lands back where it
   started and the join is invisible. */
@keyframes announce-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Section 19's blanket reduced-motion rule collapses every animation to a
   single 0.01ms run, which would leave the track parked off-screen and the
   announcement invisible. Reset it to a static, wrapped notice instead. */
@media (prefers-reduced-motion: reduce) {
  .announce {
    align-items: center;
  }

  .announce__viewport {
    overflow: visible;
    padding-right: var(--space-4);
  }

  /* flex-shrink:0 is what keeps the track at full width while it scrolls; it
     has to be given up here or the text stays on one line and is clipped
     rather than wrapping. min-width:0 lets a flex item shrink below its
     content width at all. */
  .announce__track {
    display: block;
    flex: 1;
    min-width: 0;
    animation: none !important;
  }

  .announce__item {
    padding: 10px 0;
    white-space: normal;
    line-height: 1.5;
  }

  /* One static copy is enough once nothing moves. */
  .announce__item[aria-hidden="true"] {
    display: none;
  }

  /* Nothing left to pause. */
  .announce__btn {
    display: none;
  }
}

@media (max-width: 620px) {

  /* The label costs more width than it earns on a phone; the gold pause
     button and the text itself already read as a ticker. */
  .announce__label {
    display: none;
  }

  .announce__item {
    font-size: var(--text-sm);
    line-height: 38px;
  }
}

@media print {

  /* A scrolling banner has no print equivalent. */
  .announce {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   24. Video embed -- the Submission Steps walkthrough on the guidelines page
   -------------------------------------------------------------------------- */

/* Heading stack shares the player's width and centre line, so the whole
   section reads as one column rather than a left-aligned head above a
   centred video. */
.video-section__head {
  max-width: 900px;
  margin: 0 auto var(--space-5);
  text-align: center;
}

.video-section__head .section__title {
  margin: var(--space-2) 0 0;
}

.video-section__lede {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--muted);
  max-width: 620px;
  margin: var(--space-3) auto 0;
}

.video-embed {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-700);
  box-shadow: var(--shadow-lg);
  line-height: 0;
}

.video-embed__player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--navy-700);
}

/* --------------------------------------------------------------------------
   25. Resource cards -- videos link out to YouTube, documents open a PDF
   --------------------------------------------------------------------------
   Whole card is the link, so the tap target is the card rather than a small
   line of text at the bottom. */

.reso-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.reso-card:hover,
.reso-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.reso-card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-md);
}

.reso-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--navy-700);
  overflow: hidden;
}

/* Posters are tall; show the top of the sheet rather than squashing it. */
.reso-card__media--doc {
  aspect-ratio: 4 / 3;
  background: var(--page-alt);
}

.reso-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--transition);
}

.reso-card:hover .reso-card__img {
  transform: scale(1.03);
}

/* Play badge, drawn in CSS -- no extra asset to ship. */
.reso-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
  background: rgba(0, 26, 48, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: background var(--transition), transform var(--transition);
}

.reso-card__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -6px;
  border-left: 18px solid #ffffff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.reso-card:hover .reso-card__play {
  background: var(--orange);
  transform: scale(1.06);
}

.reso-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  flex: 1;
}

.reso-card__kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-600);
}

.reso-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
}

.reso-card__text {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--muted);
}

/* Pushed to the bottom so the action line sits level across a row of cards
   whose blurbs differ in length. */
.reso-card__action {
  margin-top: auto;
  padding-top: var(--space-2);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--blue);
}

.reso-card__size {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--muted);
}

@media (max-width: 620px) {
  .reso-card__play {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
  }
}
