/* Whizardries v2 theme. Implements Whizardries Design System v1.0.
   Deviations from the written spec are marked "A11Y:" with the reason. */

/* ---- Fonts (MB Type, self-hosted) -------------------------------------
   Concourse 3 ships Regular and Bold only. The system's "Medium" step
   (H3, buttons, labels) is Concourse 4 Regular, exposed as --font-ui-strong. */
@font-face {
  font-family: "Concourse 3";
  src: url("fonts/concourse-3-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Concourse 3";
  src: url("fonts/concourse-3-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Concourse 4";
  src: url("fonts/concourse-4-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Equity A";
  src: url("fonts/equity-a-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Equity A";
  src: url("fonts/equity-a-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Triplicate A Code";
  src: url("fonts/triplicate-a-code-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---------------------------------------------------------- */
:root {
  /* Navy */
  --navy-50: #EEF0F7;
  --navy-100: #C8CEDF;
  --navy-300: #8A97BE;
  --navy-500: #4B5C9A;
  --navy-700: #2C3869;
  --navy-800: #1E2B5C;
  --navy-900: #131D3F;
  /* Signal: structural accent, dark surfaces only (plus the two sanctioned light uses) */
  --signal-50: #FDFEE8;
  --signal-100: #F8FBBB;
  --signal-400: #F2F500;
  --signal-500: #D4D800;
  --signal-700: #A0A200;
  --signal-900: #5C5D00;
  /* Linen */
  --white: #FFFFFF;
  --linen-50: #F5F5F0;
  --linen-200: #E2E0D8;
  --linen-400: #C0BDB4;
  /* A11Y: brand Linen 600 (#858079) is ~3.9:1 on white and fails AA for text.
     Text uses the darkened value (~5.4:1 on white, ~5.0:1 on Linen 50);
     --linen-600-ui keeps the brand value for borders, which need 3:1. */
  --linen-600: #6E6961;
  --linen-600-ui: #858079;
  --linen-800: #3D3B36;
  /* State */
  --success: #22A06B;
  --warning: #D97706;
  --danger: #DC2626;
  --info: #2563EB;

  --font-ui: "Concourse 3", system-ui, -apple-system, sans-serif;
  --font-ui-strong: "Concourse 4", "Concourse 3", system-ui, -apple-system, sans-serif;
  --font-body: "Equity A", Georgia, "Times New Roman", serif;
  --font-mono: "Triplicate A Code", "Courier New", monospace;

  /* SiteEngine theme contract: core partials (comments, forms) read these names. */
  --color-bg: var(--linen-50);
  --color-text: var(--linen-800);
  --color-accent: var(--navy-800);
  --color-muted: var(--linen-600);
  --color-surface: var(--white);
  --font-heading: var(--font-ui);
  --space-unit: 1rem;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  --w-content: calc(1140px + var(--space-md) * 2);
  --w-prose: calc(720px + var(--space-md) * 2);

  /* A11Y: running-text links need a non-color cue (WCAG 1.4.1) because Navy 800
     and Linen 800 are too close in luminance. Set to "none" to follow the spec literally. */
  --link-decoration: underline;
}

@media (max-width: 767px) {
  :root {
    --space-md: 20px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
  }
}

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

html { font-synthesis: none; }

body {
  margin: 0;
  background: var(--linen-50);
  color: var(--linen-800);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
@media (max-width: 767px) { body { font-size: 16px; } }

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

a {
  color: var(--navy-800);
  text-decoration: none;
}
p a, li a, dd a, figcaption a {
  text-decoration: var(--link-decoration);
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration: underline; }

/* Focus: Signal is invisible on light surfaces (1.05:1), so light surfaces get
   a Navy ring and dark surfaces get the Signal ring. A11Y: deviates from the spec's
   "Signal focus ring everywhere". */
:focus-visible {
  outline: 2px solid var(--navy-800);
  outline-offset: 2px;
}
.site-header :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible,
.band--navy :focus-visible {
  outline-color: var(--signal-400);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: var(--space-sm);
  top: var(--space-sm);
  width: auto;
  height: auto;
  padding: var(--space-xs) var(--space-sm);
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-ui-strong);
  font-size: 14px;
  border-radius: 4px;
  z-index: 200;
  outline-color: var(--signal-400);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Typography ------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; color: var(--linen-800); }

h1 {
  font-family: var(--font-ui);
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}
h2 {
  font-family: var(--font-ui-strong);
  font-size: 30px;
  line-height: 1.2;
  margin: var(--space-lg) 0 var(--space-md);
}
h3 {
  font-family: var(--font-ui-strong);
  font-size: 20px;
  line-height: 1.3;
  margin: var(--space-md) 0 var(--space-xs);
}
h1:first-child, h2:first-child, h3:first-child { margin-top: 0; }
@media (max-width: 767px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }
}

/* h4 is the eyebrow label (the importer keeps it ahead of the page h1). */
h4, .eyebrow {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-700);
  margin: 0 0 var(--space-xs);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }
li { margin: 0 0 0.4em; }

strong { font-weight: 400; }
em { font-style: italic; }

hr { border: 0; border-top: 0.5px solid var(--linen-200); margin: var(--space-lg) 0; }

code, pre, kbd { font-family: var(--font-mono); font-size: 14px; line-height: 1.5; }
pre {
  overflow-x: auto;
  background: var(--white);
  border: 0.5px solid var(--linen-200);
  border-radius: 6px;
  padding: var(--space-sm);
  margin: 0 0 1.1em;
}
code { background: var(--white); padding: 0.1em 0.3em; border-radius: 3px; }
pre code { background: none; padding: 0; }

table { border-collapse: collapse; width: 100%; margin: 0 0 1.1em; font-size: 15px; }
th, td { text-align: left; padding: var(--space-xs) var(--space-sm); border-bottom: 0.5px solid var(--linen-200); }
th { font-family: var(--font-ui-strong); font-weight: 400; }

/* Callout: any blockquote in content. Signal 50 fill, Signal 500 rule. */
blockquote {
  background: var(--signal-50);
  border-left: 3px solid var(--signal-500);
  border-radius: 0 4px 4px 0;
  padding: 20px 24px;
  margin: 32px 0;
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  color: var(--linen-800);
}
blockquote p:last-child { margin-bottom: 0; }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-ui-strong);
  font-size: 14px;
  line-height: 1;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--navy-700); color: #fff; text-decoration: none; }

/* Navy-on-Navy is invisible on dark surfaces, so the primary button there is
   inverted (white fill, Navy text). Signal is never a button background. */
.btn--on-dark { background: #fff; color: var(--navy-800); }
.btn--on-dark:hover { background: var(--linen-50); color: var(--navy-800); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 13px 27px;
}
.btn--ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.btn--sm { padding: 11px 20px; }
.btn--block { display: block; width: 100%; text-align: center; }

/* ---- Header ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-800);
}
.site-header-inner {
  max-width: var(--w-content);
  height: 72px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.site-title {
  margin-right: auto;
  display: flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 22px;
  color: #fff;
  text-decoration: none;
}
.site-title:hover { text-decoration: none; }
.site-logo { display: block; height: 32px; width: auto; }

.site-nav { display: flex; gap: 32px; }
.site-nav a {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--signal-400); text-decoration: none; }
.site-nav a[aria-current="page"] {
  color: var(--signal-400);
  border-bottom-color: var(--signal-400);
}

.mobile-nav { display: none; }

@media (max-width: 1024px) { .site-nav { gap: 20px; } }

@media (max-width: 767px) {
  .site-header-inner { height: 60px; padding: 0 16px; }
  .site-nav, .nav-cta { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: -12px;
    cursor: pointer;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .burger, .burger::before, .burger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.15s ease, background-color 0.15s ease;
  }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; }
  .burger::after { top: 7px; }
  .mobile-nav[open] .burger { background: transparent; }
  .mobile-nav[open] .burger::before { top: 0; transform: rotate(45deg); }
  .mobile-nav[open] .burger::after { top: 0; transform: rotate(-45deg); }

  .mobile-nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-900);
    padding: var(--space-sm) 16px var(--space-md);
  }
  .mobile-nav-panel a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-family: var(--font-ui);
    font-size: 15px;
    color: #fff;
    text-decoration: none;
  }
  .mobile-nav-panel a:not(.btn):hover,
  .mobile-nav-panel a[aria-current="page"] { color: var(--signal-400); }
  .mobile-nav-panel .btn { margin-top: var(--space-sm); }
}

/* ---- Bands (full-bleed sections) ------------------------------------- */
.band { padding: var(--space-xl) 0; }
.band--linen { background: var(--linen-50); }
.band--white { background: var(--white); }
.band--navy { background: var(--navy-800); color: var(--linen-200); }
.band--navy h1, .band--navy h2, .band--navy h3 { color: #fff; }

.band-inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.band-inner.is-prose { max-width: var(--w-prose); }

/* Bands that hold a card grid keep the wide container; their prose stays at 720px. */
.has-grid .band-inner > :not(.card-grid) { max-width: 720px; }

.band--white .card,
.band--white .scope-block { background: var(--linen-50); }

/* ---- Hero ------------------------------------------------------------ */
.hero {
  background: var(--navy-800);
  color: #fff;
  padding: var(--space-2xl) 0;
}
.hero .eyebrow { color: var(--signal-400); margin: 0; }
.hero h1 {
  font-family: var(--font-ui);
  font-size: clamp(2.125rem, 1.2rem + 3.6vw, 3.5rem);
  line-height: 1.1;
  color: #fff;
  max-width: 20em;
  margin: 0;
}
.signal-rule {
  width: 60px;
  height: 1px;
  background: var(--signal-400);
  margin: var(--space-sm) 0;
}
.hero p {
  max-width: 40rem;
  margin: var(--space-md) 0 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--linen-200);
}
.hero .eyebrow + .signal-rule + h1 + p { margin-top: var(--space-md); }
.hero-actions { margin-top: var(--space-lg); }
@media (max-width: 767px) {
  .hero { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; font-size: 17px; }
  .hero h1 { margin-left: auto; margin-right: auto; }
  .signal-rule { margin-left: auto; margin-right: auto; }
}

/* ---- Cards ----------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0 0;
}
.card-grid:first-child { margin-top: 0; }
@media (max-width: 767px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 0.5px solid var(--linen-200);
  border-top: 3px solid var(--signal-400);
  border-radius: 6px;
  padding: 28px 24px;
  transition: box-shadow 0.15s ease;
}
/* Hover is border weight only: 0.5px to 1px without shifting layout. No shadow, no scale. */
.card:hover { box-shadow: 0 0 0 0.5px var(--linen-200); }
.card h3 {
  font-size: 19px;
  margin: 0 0 var(--space-xs);
  color: var(--linen-800);
}
.card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--linen-600);
}
.card .card-link { margin-top: var(--space-sm); }
.card .card-link a {
  font-family: var(--font-ui-strong);
  font-size: 13px;
  line-height: 1.4;
  color: var(--navy-800);
  text-decoration: none;
}
.card .card-link a::after { content: " \2192"; }
.card .card-link a:hover { text-decoration: underline; }

/* ---- Scope block ----------------------------------------------------- */
.scope-block {
  background: var(--white);
  border-left: 3px solid var(--signal-400);
  border-radius: 0 6px 6px 0;
  padding: 24px 28px;
  margin: 40px 0;
}
.scope-block + .scope-block { margin-top: var(--space-lg); }
.scope-label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-800);
  margin: 0 0 var(--space-xs);
}
.scope-block p {
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
  color: var(--linen-800);
  margin: 0;
}

/* ---- Assessment CTA -------------------------------------------------- */
.band--cta .band-inner { display: flex; justify-content: center; }
.band--linen + .band--cta { padding-top: 0; }
.cta-card {
  width: 100%;
  max-width: 640px;
  background: var(--white);
  border: 0.5px solid var(--linen-200);
  border-top: 3px solid var(--signal-400);
  border-radius: 6px;
  padding: 40px 48px;
}
@media (max-width: 767px) { .cta-card { padding: 32px 24px; } }
.cta-card .cta-heading {
  font-family: var(--font-ui-strong);
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
}
.cta-card p { font-size: 16px; line-height: 1.6; margin: 0 0 var(--space-md); }

/* Dark variant: the section itself, Ghost button, optional centered Signal rule. */
.band--navy .cta-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  max-width: none;
  padding: 0;
  text-align: center;
}
.band--navy .cta-card p { color: var(--linen-200); }
.band--navy .signal-rule { margin-left: auto; margin-right: auto; width: 48px; }

/* ---- Scheduler embed ------------------------------------------------- */
.cal-embed {
  max-width: 800px;
  min-height: 600px;
  margin: 0 auto;
  background: var(--white);
  border: 0.5px solid var(--linen-200);
  border-radius: 6px;
}
.cal-fallback,
.cal-embed .embed-fallback { padding: var(--space-md); }

/* ---- Content pages --------------------------------------------------- */
.page-plain h1 { font-size: 36px; }
.page-youre-scheduled .band,
.page-youre-scheduled .band:first-child { padding-top: var(--space-2xl); }
@media (max-width: 767px) { .page-plain h1 { font-size: 28px; } }

/* Stray block-level link (importer CTA that is not hero or closing): button. */
.band-inner > a:not(.btn) {
  display: inline-block;
  margin: var(--space-sm) 0 0;
  padding: 14px 28px;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-ui-strong);
  font-size: 14px;
  line-height: 1;
  border-radius: 4px;
  text-decoration: none;
}
.band-inner > a:not(.btn):hover { background: var(--navy-700); }

/* ---- Posts ----------------------------------------------------------- */
.post-header { margin-bottom: var(--space-lg); }
.post-header h1 { margin-bottom: var(--space-sm); }
.post-meta, .post-terms { font-size: 14px; color: var(--linen-600); margin: 0 0 var(--space-sm); }
.post-terms a { color: var(--linen-600); }
.post-header img { border-radius: 6px; margin-top: var(--space-md); }
.post-body { line-height: 1.75; }
.post-body img { border-radius: 6px; margin: var(--space-md) 0; }

.author-bio {
  margin: var(--space-lg) 0 0;
  padding: var(--space-md) 0 0;
  border-top: 0.5px solid var(--linen-200);
}
.author-bio p { font-size: 16px; line-height: 1.7; margin: 0 0 var(--space-md); }

/* ---- Blog cards ------------------------------------------------------ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0 0;
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 0.5px solid var(--linen-200);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.blog-card:hover { box-shadow: 0 0 0 0.5px var(--linen-200); }
.blog-card-media { aspect-ratio: 16 / 9; background: var(--linen-200); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: var(--space-md); display: flex; flex-direction: column; flex: 1; }
.blog-card-tag {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-700);
  margin: 0 0 var(--space-xs);
}
.blog-card-tag a { color: inherit; text-decoration: none; }
.blog-card h2 {
  font-family: var(--font-ui-strong);
  font-size: 17px;
  line-height: 1.3;
  margin: 0 0 var(--space-xs);
}
.blog-card h2 a { color: var(--linen-800); text-decoration: none; }
.blog-card h2 a:hover { text-decoration: underline; }
.blog-card-excerpt { font-size: 14px; line-height: 1.6; color: var(--linen-600); margin: 0 0 var(--space-sm); }
.blog-card-meta { margin-top: auto; font-size: 13px; color: var(--linen-600); }
.blog-card-more {
  font-family: var(--font-ui-strong);
  font-size: 13px;
  color: var(--navy-800);
  margin: 0 0 var(--space-sm);
}
.blog-card-more a { text-decoration: none; }
.blog-card-more a:hover { text-decoration: underline; }
.empty-archive { color: var(--linen-600); }

.pagination {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 0;
  padding-top: var(--space-sm);
  border-top: 0.5px solid var(--linen-200);
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--linen-600);
}

/* ---- Forms ----------------------------------------------------------- */
.field { margin: 0 0 var(--space-md); }
.field label, .field .label {
  display: block;
  margin: 0 0 6px;
  font-family: var(--font-ui-strong);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--linen-800);
}
.field .req { color: var(--navy-800); }
/* A11Y: input borders use the brand Linen 600 (3.9:1) so field edges meet 3:1 non-text contrast;
   Linen 200 (1.3:1) would not. */
.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  background: var(--white);
  color: var(--linen-800);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  border: 1px solid var(--linen-600-ui);
  border-radius: 4px;
}
.field textarea { height: auto; min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--linen-600); opacity: 1; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 1px var(--navy-800);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { margin: 4px 0 0; font-size: 13px; color: var(--danger); }

.consent {
  display: flex;
  gap: var(--space-xs);
  align-items: flex-start;
  margin: 0 0 var(--space-md);
  font-size: 14px;
  line-height: 1.5;
  color: var(--linen-600);
}
.consent input {
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  background: var(--white);
  border: 1px solid var(--linen-600-ui);
  border-radius: 3px;
}
.consent input:checked {
  background: var(--navy-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 100% no-repeat;
  border-color: var(--navy-800);
}
.consent a { text-decoration: underline; }
.signup { max-width: 480px; }
.signup .btn { width: auto; }
@media (max-width: 767px) { .signup .btn { width: 100%; } }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { background: var(--navy-800); color: var(--linen-200); font-size: 14px; }
.site-footer-inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.footer-brand { margin: 0; }
.footer-brand strong { display: block; font-family: var(--font-ui); font-size: 18px; color: #fff; margin-bottom: 4px; }
.footer-nav { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.site-footer a {
  font-family: var(--font-ui);
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover { color: var(--signal-400); text-decoration: none; }
.footer-legal { width: 100%; margin: 0; color: var(--linen-200); }

.embed-youtube { position: relative; aspect-ratio: 16 / 9; margin: 1.5em 0; }
.embed-youtube iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-pdf { margin: 1.5em 0; }
.embed-pdf iframe { display: block; width: 100%; height: 70vh; min-height: 24rem; border: 1px solid var(--color-muted); }
.embed-pdf figcaption { margin-top: 0.5em; font-size: 0.9em; }
