/* ==========================================================================
   Prime AI Academy — Academy Hub
   Design source: Prime AI Academy Website Design Guide v1.0 (2026.09.18)
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Header · 5 Buttons/Badges
             6 Hero · 7 Mission · 8 Programs · 9 Expect · 10 Updates · 11 Footer
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand palette (guide §3) */
  --navy: #061426;
  --blue: #0B2A55;
  --teal: #1FA6A0;
  --cyan: #2CCBFF;
  --silver: #E6EDF5;
  --white: #FFFFFF;

  /* Derived, contrast-checked (WCAG AA) */
  --teal-ink: #0E7C78;      /* teal text on white / silver (≥ 4.5:1 on white) */
  --ink: #0B1B33;           /* body text on light (17:1 on white) */
  --ink-muted: #42546B;     /* secondary text on light (6.5:1 on silver) */
  --on-dark-muted: #B8C7DA; /* secondary text on navy/blue (≥ 8:1) */
  --line-light: #C9D5E3;
  --line-dark: rgba(255, 255, 255, .14);
  --field-border: #6B7F99;

  /* Type */
  --font-head: "Space Grotesk", Aptos, Arial, "Helvetica Neue", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", Aptos, Arial, "Helvetica Neue", sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 8vw, 6.5rem);
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 76px;

  --focus: var(--blue);
}

.on-dark { --focus: var(--cyan); }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure, blockquote { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  background: var(--white);
  color: var(--navy);
  padding: .75rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. Layout ---------- */
.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--light  { background: var(--white); }
.section--silver { background: var(--silver); }
.section--dark   { background: var(--navy); color: var(--white); }
.section--blue   { background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .8125rem;          /* 13px */
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}
.eyebrow--dark { color: var(--teal-ink); }

.section-title {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.section-title--dark { color: var(--navy); }

.label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-ink);
}

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 20, 38, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}
.brand img { height: 54px; width: auto; }

.site-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .9375rem;
  padding: .5rem .15rem;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.site-nav a:hover { border-bottom-color: var(--cyan); }
.site-nav__ext {
  color: var(--on-dark-muted) !important;
}
.site-nav__ext::after { content: " \2197"; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: transparent;
    border: 1.5px solid var(--line-dark);
    border-radius: 12px;
    cursor: pointer;
  }
  .nav-toggle:focus-visible { outline-color: var(--cyan); }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 20px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after  { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

  .js .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--navy);
    border-bottom: 1px solid var(--line-dark);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line-dark); }
  .site-nav a { display: block; padding: .95rem .25rem; font-size: 1.0625rem; border-bottom: 0; }

  /* Without JS the links simply wrap under the logo */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: .5rem; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: .25rem 1.25rem; }
  html:not(.js) .site-nav li + li { border-top: 0; }
}

/* ---------- 5. Buttons and badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 52px;
  padding: .8rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn--primary { background: var(--teal); color: var(--navy); }
.btn--primary:hover { background: var(--cyan); }
.btn--primary:active { transform: translateY(1px); }
.btn--secondary { border-color: rgba(255, 255, 255, .6); color: var(--white); background: transparent; }
.btn--secondary:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .75rem;             /* 12px */
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  padding: .5rem .8rem;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  width: fit-content;
}
/* Status is conveyed by text + dot shape, never color alone */
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.badge--enrolling { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.badge--available { color: var(--cyan); }
.badge--soon      { color: var(--cyan); }
.badge--soon .badge__dot,
.badge--dev .badge__dot   { background: transparent; border: 2px solid currentColor; }
.badge--dev       { color: var(--on-dark-muted); }
.badge--closed    { color: var(--on-dark-muted); border-style: dashed; }
.badge--closed .badge__dot { border-radius: 2px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(52rem 36rem at 88% 8%, rgba(44, 203, 255, .16), transparent 62%),
    radial-gradient(44rem 28rem at 0% 100%, rgba(31, 166, 160, .16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #08203F 100%);
  color: var(--white);
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 57fr) minmax(0, 43fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.125rem, 1.55rem + 2.4vw, 3.5rem);   /* 34px mobile → 56px desktop */
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16em;
}
.hero__lede {
  margin-top: 1.5rem;
  max-width: 38em;              /* ≈ 65 characters per line */
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  color: #DCE6F2;
}
.motto {
  margin-top: 1.75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--teal);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--white);
}
.btn-row { margin-top: 2rem; }

.hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 32%;      /* keeps the facilitator's face and the screen inside the safe crop */
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(44, 203, 255, .3), 0 30px 60px -20px rgba(0, 0, 0, .6);
}

@media (max-width: 959px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 26rem); }   /* shrink the image before the heading */
}
@media (max-width: 520px) {
  .hero .btn-row .btn { width: 100%; }          /* stack full-width, easily tappable */
}

/* ---------- 7. Mission ---------- */
.mission__statement {
  max-width: 34em;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.125rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.principle { border-top: 3px solid var(--teal); padding-top: 1.1rem; }
.principle__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .12em;
  color: var(--teal-ink);
  margin-bottom: .6rem;
}
.principle h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: .5rem; }
.principle p  { color: var(--ink-muted); max-width: 26em; }

.model {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--navy);
  border-radius: var(--radius-lg);
  color: var(--white);
}
.model__title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}
.model__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.model__steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: .25rem 2rem .25rem 0;
}
.model__steps li + li { padding-left: 2rem; border-left: 1px solid var(--line-dark); }
.model__steps li:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: .5rem; top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.4rem;
  line-height: 1;
}
.model__label { font-family: var(--font-head); font-weight: 700; font-size: 1.375rem; color: var(--white); }
.model__q { color: var(--on-dark-muted); font-size: 1.0625rem; }

@media (max-width: 859px) {
  .principles { grid-template-columns: 1fr; }
  .principle p { max-width: none; }
  .model__steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .model__steps li,
  .model__steps li + li { padding: 0 0 0 1.25rem; border-left: 3px solid var(--teal); }
  .model__steps li:not(:last-child)::after { display: none; }
}

/* ---------- 8. Learning Opportunities ---------- */
.programs .section-title { color: var(--white); }

.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: linear-gradient(160deg, rgba(11, 42, 85, .75), rgba(11, 42, 85, .35));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
}
.featured__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.featured__img { width: 100%; }
.featured__img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
}
.featured h3 { font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem); }
.featured__value { font-size: 1.125rem; color: #DCE6F2; max-width: 34em; }

.facts { display: grid; gap: .65rem; width: 100%; padding-block: .4rem; }
.facts div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--line-dark);
}
.facts dt {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-top: .3rem;
}
.facts dd { color: var(--white); }

/* video panel */
.featured__media { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.selectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  width: 100%;
}
.selector {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem;
  background: rgba(255, 255, 255, .05);
  border: 1.5px solid var(--line-dark);
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.selector:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .35); }
.selector[aria-pressed="true"] { border-color: var(--cyan); background: rgba(44, 203, 255, .1); }
.selector img { width: 44px; height: 56px; object-fit: cover; border-radius: 6px; flex: none; }
.selector__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.selector__text strong { font-family: var(--font-head); font-size: .9375rem; }
.selector__text span {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--on-dark-muted);
}

.player {
  position: relative;
  /* The two videos differ in shape; --ar is set per video (4:5 = 0.8, 9:16 = 0.5625) and height is capped at 640px */
  width: min(100%, calc(640px * var(--ar, .8)));
  aspect-ratio: var(--ar, .8);
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7);
}
.player video,
.player__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player video { background: #000; object-fit: contain; }
.player__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}
.player__poster:focus-visible { outline-offset: -4px; }
.player__play {
  position: absolute;
  left: 50%; top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  padding-left: 4px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .22);
  transition: transform .2s ease, background-color .2s ease;
}
.player__poster:hover .player__play { transform: scale(1.06); background: var(--cyan); }
.player__title { font-size: .9375rem; color: var(--on-dark-muted); text-align: center; }
.player__title a { color: var(--white); }

/* cards */
.subhead {
  margin: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
  font-size: 1.375rem;
  color: var(--white);
}
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.cards > li { display: flex; }
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  width: 100%;
  padding: 1.75rem;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}
.card:hover { border-color: rgba(44, 203, 255, .55); background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.card__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(31, 166, 160, .18);
  color: var(--cyan);
}
.card h4 { font-size: 1.25rem; }
.card p:not(.badge) { color: var(--on-dark-muted); }
.card__link {
  margin-top: auto;
  padding-top: .5rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.card__link:hover { color: var(--white); }

@media (max-width: 959px) {
  .featured { grid-template-columns: 1fr; }
  .featured__media { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .facts div { grid-template-columns: 1fr; gap: .1rem; }
  .selector img { width: 36px; height: 46px; }
  .selector__text strong { font-size: .875rem; }
}

/* ---------- 9. What to Expect ---------- */
.expect__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.expect__item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--line-light);
}
.expect__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(31, 166, 160, .14);
  color: var(--teal-ink);
  margin-bottom: 1rem;
}
.expect__item h3 { font-size: 1.1875rem; color: var(--navy); margin-bottom: .45rem; }
.expect__item p  { color: var(--ink-muted); }

.expect__notes {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.starting-point {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.starting-point { display: flex; flex-direction: column; justify-content: center; }
.starting-point .label { margin-bottom: .75rem; }
.starting-point p { color: var(--ink); font-size: 1.125rem; }

.founder {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
}
.founder::before {
  content: "\201C";
  position: absolute;
  top: .35rem; left: 1.25rem;
  font-family: var(--font-head);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--teal);
}
.founder blockquote { padding-top: 1.75rem; }
.founder blockquote p { font-size: 1.1875rem; line-height: 1.55; }
.founder figcaption {
  display: flex; flex-direction: column;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
}
.founder figcaption strong { font-family: var(--font-head); }
.founder figcaption span { color: var(--on-dark-muted); font-size: .9375rem; }

@media (max-width: 959px) {
  .expect__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expect__notes { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .expect__grid { grid-template-columns: 1fr; }
}

/* ---------- 10. Stay Connected ---------- */
.updates__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.updates__copy .section-title { margin-bottom: 1.25rem; }
.updates__copy p { font-size: 1.1875rem; color: #DCE6F2; max-width: 30em; }

.updates__form {
  display: grid;
  gap: 1.1rem;
  background: var(--white);
  color: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  --focus: var(--blue);
}
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; color: var(--navy); }
.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: .7rem .9rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--field-border);
  border-radius: 10px;
}
.field input[type="text"]:focus,
.field input[type="email"]:focus { border-color: var(--blue); outline: 3px solid var(--focus); outline-offset: 1px; }

.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.field--check input {
  width: 22px; height: 22px;
  margin: .2rem 0 0;
  accent-color: var(--teal-ink);
}
.field--check label { font-weight: 400; font-size: .9375rem; line-height: 1.5; color: var(--ink); }

.form-note { font-size: .875rem; color: var(--ink-muted); }
.form-note a { color: var(--teal-ink); }
.form-status { font-weight: 600; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: #9B1C1C; }
.form-status.is-ok { color: var(--teal-ink); }

@media (max-width: 859px) {
  .updates__grid { grid-template-columns: 1fr; }
}

/* ---------- 11. Footer ---------- */
.site-footer {
  background: #040E1C;
  color: var(--on-dark-muted);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-dark);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr .8fr;
  gap: 2.5rem;
}
.footer__brand img { height: 64px; width: auto; margin-bottom: .9rem; }
.footer__brand p { margin-bottom: .35rem; }
.motto--footer {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--white);
}
.footer__h {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.footer__col ul { display: grid; gap: .6rem; }
.footer__col a { color: var(--white); text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer__legal {
  margin-top: 3rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line-dark);
  font-size: .875rem;
}

@media (max-width: 959px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

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