/* ============================================================================
   project-guardian.com public pages: block styles.
   Tokens come from /styles/theme.css (navy, teal, bronze, type). This file
   adds the light-page palette and the six shared blocks. No hex values for
   brand colours here; derived greys only.
   ========================================================================== */

:root {
  --site-max: 1280px;
  --gutter: 16px;
  --ink: var(--pg-bg-deep);            /* body text on white */
  --ink-mid: #3A4658;                   /* secondary text on white, 10:1 */
  --ink-soft: #4A5668;                  /* captions on white, 7:1 */
  --paper: #ffffff;
  --paper-alt: #F2F5F8;
  --rule: #D3DBE5;
  --bronze-text: #8A5A2B;               /* bronze for text on white, 5.9:1 */
  --on-navy: #ffffff;
  --on-navy-mid: #D5DEE8;
  --on-navy-soft: #AEBBCB;
  --footer-bg: #0A1222;
  --radius: 4px;
  --font-body: 'Carlito', Calibri, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ---------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.site {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 640px) { body.site { font-size: 18px; } }

/* Element defaults sit at zero specificity (:where) so block classes always win. */
:where(body.site) :where(h1, h2, h3) {
  font-family: var(--pg-font-display);
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
  overflow-wrap: break-word;
}
:where(body.site) h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
:where(body.site) h3 { font-family: var(--font-body); font-weight: 700; font-size: 22px; line-height: 1.3; }
:where(body.site) p { margin: 0; }
:where(body.site) p + p { margin-top: 16px; }
:where(body.site) img { max-width: 100%; height: auto; display: block; }
:where(body.site) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }

:where(body.site) a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(body.site) a:hover { color: var(--pg-brand-deep); }
.tone-navy a:hover, .cta--image a:hover, .site-header a:hover, .site-footer a:hover { color: var(--pg-brand); }

.container { width: 100%; max-width: var(--site-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--pg-brand); color: var(--pg-bg-deep); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 8px; }

.eyebrow {
  margin: 0 0 12px; color: var(--bronze-text); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px;
}
.eyebrow--teal, .tone-navy .eyebrow { color: var(--pg-brand); }

.caption { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.4; }
.tone-navy .caption { color: var(--on-navy-soft); }

.text-link { display: inline-block; margin-top: 26px; font-weight: 700; min-height: 44px; line-height: 44px; }
.text-link::after { content: " \2192"; }
.tone-navy .text-link, .cta--image .cta__title + .text-link { color: var(--pg-brand); }

.tone-light { background: var(--paper); color: var(--ink); }
.tone-grey { background: var(--paper-alt); color: var(--ink); }
.tone-navy { background: var(--pg-bg-deep); color: var(--on-navy); }
.tone-navy p { color: var(--on-navy-mid); }
.tone-navy h2, .tone-navy h3 { color: var(--on-navy); }

.placeholder {
  border: 2px dashed #9AA8BA; border-radius: var(--radius); background: #E6EBF1;
  color: var(--ink-mid); font-weight: 700; text-align: center; padding: 24px;
  display: flex; align-items: center; justify-content: center; min-height: 240px;
}
@media (min-width: 960px) { .placeholder { min-height: 360px; } }

/* ---------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--pg-brand); border-color: var(--pg-brand); color: var(--pg-bg-deep); }
.btn--primary:hover { background: var(--pg-primary-hover); border-color: var(--pg-primary-hover); color: var(--pg-bg-deep); }
.btn--outline { background: transparent; border-color: var(--on-navy); color: var(--on-navy); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--on-navy); }
.tone-light .btn--outline, .tone-grey .btn--outline { border-color: var(--ink); color: var(--ink); }
.tone-light .btn--outline:hover, .tone-grey .btn--outline:hover { background: rgba(15, 25, 45, 0.06); color: var(--ink); }
.btn--small { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------------------------------------------------------------------------
   Header and navigation
   ------------------------------------------------------------------------- */
.site-header { background: var(--pg-bg-deep); color: var(--on-navy); position: relative; z-index: 20; }
.site-header__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-navy); min-height: 48px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand__name { font-family: var(--pg-font-display); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; white-space: nowrap; }
@media (min-width: 480px) { .brand__name { font-size: 21px; } }

.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 10px; background: transparent; color: var(--on-navy);
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius);
  font: inherit; font-weight: 700; cursor: pointer;
}
.nav-toggle__bars { width: 20px; height: 2px; background: currentColor; position: relative; display: block; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-nav { flex-basis: 100%; display: none; }
.site-nav.is-open { display: block; }
.site-nav__list { display: flex; flex-direction: column; gap: 4px; padding: 8px 0 12px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.site-nav__item { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
.site-nav__item > a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 4px; color: #E6EDF5; text-decoration: none; font-size: 17px; }
.site-nav__item > a[aria-current="page"] { color: var(--pg-brand); }
.submenu-toggle { display: none; }
.submenu { flex-basis: 100%; padding-left: 16px; }
.submenu a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 4px; color: #C9D4E0; text-decoration: none; font-size: 16px; }
.submenu a[aria-current="page"] { color: var(--pg-brand); }
.submenu li[data-same-as-parent] { display: none; }
.site-nav__item--cta { margin-top: 8px; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; flex: 1 1 auto; flex-basis: auto; }
  .site-nav__list { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 22px; padding: 0; border-top: 0; }
  .site-nav__item { flex-wrap: nowrap; }
  .site-nav__item > a:not(.btn) { padding: 8px 2px; }
  .site-nav__item--cta { margin: 0 0 0 6px; }
  .submenu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; min-height: 44px; margin-left: -2px; padding: 0; background: transparent;
    border: 0; color: #E6EDF5; cursor: pointer; border-radius: var(--radius);
  }
  .submenu-toggle svg { transition: transform .15s; }
  .submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .submenu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 200px; padding: 8px 0;
    background: var(--pg-bg-panel); border: 1px solid var(--pg-border); border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(10, 18, 34, 0.4); z-index: 30;
  }
  .has-menu.is-open > .submenu { display: block; }
  .submenu li[data-same-as-parent] { display: block; }
  .submenu a { display: flex; padding: 10px 16px; width: 100%; }
  .submenu a:hover { background: var(--pg-bg-soft); }
}

/* ---------------------------------------------------------------------------
   1. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  background: var(--pg-bg-deep); color: var(--on-navy);
  min-height: 60vh; min-height: 60svh;
}
.hero--half { min-height: 40vh; min-height: 40svh; }
@media (min-width: 960px) {
  .hero { min-height: 75vh; min-height: 75svh; }
  .hero--half { min-height: 48vh; min-height: 48svh; }
}
.hero picture, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: center; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 25, 45, 0.88) 0%, rgba(15, 25, 45, 0.55) 45%, rgba(15, 25, 45, 0.12) 80%),
    linear-gradient(0deg, rgba(15, 25, 45, 0.62) 0%, rgba(15, 25, 45, 0) 45%);
}
.hero__body { position: relative; padding-top: 96px; padding-bottom: 72px; }
.hero--half .hero__body { padding-top: 64px; padding-bottom: 48px; }
.hero__title { max-width: 760px; font-size: clamp(34px, 5vw, 64px); line-height: 1.1; color: var(--on-navy); }
.hero__lead { margin-top: 20px; max-width: 620px; color: #E6EDF5; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.hero__caption {
  position: absolute; right: var(--gutter); bottom: 12px; margin: 0;
  color: #C9D4E0; font-size: 13px; max-width: 60%; text-align: right;
}

/* ---------------------------------------------------------------------------
   2. Split
   ------------------------------------------------------------------------- */
.split { padding: 64px 0; }
@media (min-width: 960px) { .split { padding: 104px 0; } }
.split__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 960px) {
  .split__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--reverse .split__media { order: 2; }
  .split--reverse .split__text { order: 1; }
}
.split__media { margin: 0; min-width: 0; }
.split__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split--wide .split__img { aspect-ratio: 16 / 9; }
.split__text { min-width: 0; }
.split__text h2 + p { margin-top: 22px; }

/* ---------------------------------------------------------------------------
   3. Stat band
   ------------------------------------------------------------------------- */
.stats { padding: 48px 0; }
@media (min-width: 960px) { .stats { padding: 64px 0; } }
.stats__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.stat__value { font-family: var(--pg-font-display); font-size: clamp(40px, 4.5vw, 52px); font-weight: 600; line-height: 1; color: var(--pg-brand); font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 10px; color: var(--on-navy-mid); }

/* ---------------------------------------------------------------------------
   4. Card grid
   ------------------------------------------------------------------------- */
.cards { padding: 64px 0; }
@media (min-width: 960px) { .cards { padding: 104px 0; } }
.cards__head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.cards__head > div { flex: 1 1 520px; min-width: 0; }
.cards__head .text-link { margin-top: 0; }
.cards__lead { margin-top: 18px; max-width: 640px; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; } }
.card__link { display: block; text-decoration: none; color: inherit; border-radius: var(--radius); }
.card__link:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.card__eyebrow { margin: 16px 0 0; color: var(--bronze-text); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; }
.tone-navy .card__eyebrow { color: var(--pg-brand); }
.card__eyebrow + .card__title { margin-top: 6px; }
.card__title { margin-top: 16px; font-size: 21px; }
.card__text { margin-top: 6px; color: var(--ink-mid); }
.tone-navy .card__text { color: var(--on-navy-mid); }

/* Numbered process cards (How Guardian works) */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); margin-top: 48px; } }
.step { background: var(--paper); border-radius: var(--radius); padding: 28px; }
.step__num { font-family: var(--pg-font-display); font-size: 30px; font-weight: 600; color: var(--bronze-text); line-height: 1; }
.step h3 { margin-top: 12px; }
.step p + p, .step h3 + p { margin-top: 8px; color: var(--ink-mid); }
.section-figure { margin: 32px 0 0; }

/* ---------------------------------------------------------------------------
   5. Image break
   ------------------------------------------------------------------------- */
.image-break { margin: 0; background: var(--pg-bg-deep); }
.image-break__img { width: 100%; max-height: 70vh; object-fit: cover; }
.image-break .caption { padding-top: 10px; padding-bottom: 20px; color: var(--on-navy-soft); }

/* ---------------------------------------------------------------------------
   6. Call to action
   ------------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; padding: 72px 0; }
@media (min-width: 960px) { .cta { padding: 112px 0; } }
.cta--teal { background: var(--pg-brand); color: var(--pg-bg-deep); }
.cta--teal .cta__text { color: var(--pg-bg-deep); }
.cta--teal .btn--primary { background: var(--pg-bg-deep); border-color: var(--pg-bg-deep); color: var(--on-navy); }
.cta--teal .btn--primary:hover { background: var(--pg-bg-panel); border-color: var(--pg-bg-panel); color: var(--on-navy); }
.cta--teal .btn--outline { border-color: var(--pg-bg-deep); color: var(--pg-bg-deep); }
.cta--teal .btn--outline:hover { background: rgba(15, 25, 45, 0.1); color: var(--pg-bg-deep); }
.cta--image { background: var(--pg-bg-deep); color: var(--on-navy); }
.cta picture, .cta__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta__img { object-fit: cover; }
.cta__shade { position: absolute; inset: 0; background: rgba(15, 25, 45, 0.74); }
.cta__body { position: relative; }
.cta__title { max-width: 720px; font-size: clamp(30px, 3.5vw, 44px); line-height: 1.12; }
.cta__text { margin-top: 18px; max-width: 640px; font-size: 19px; }
.cta--image .cta__text { color: var(--on-navy-mid); }
.cta__cards { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
@media (min-width: 960px) { .cta__cards { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; } }
.cta-card { background: rgba(255, 255, 255, 0.96); color: var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.cta-card p { color: var(--ink-mid); flex-grow: 1; }
.cta-card .text-link { margin-top: 4px; color: var(--ink); }
.cta-card .text-link:hover { color: var(--pg-brand-deep); }

/* ---------------------------------------------------------------------------
   Partners
   ------------------------------------------------------------------------- */
.partners { padding: 56px 0; }
@media (min-width: 960px) { .partners { padding: 72px 0; } }
.partners__title { margin: 0; text-align: center; color: var(--ink-mid); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; }
.partners__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 28px auto 0; max-width: 640px; }
@media (min-width: 960px) { .partners__grid { gap: 20px; } }
.partner { border: 1px solid var(--rule); border-radius: var(--radius); min-height: 112px; padding: 16px; display: flex; align-items: center; justify-content: center; }
.partner a { display: flex; align-items: center; justify-content: center; }
.partner img { max-height: 80px; width: auto; max-width: 100%; object-fit: contain; }
.partner__word { font-family: var(--pg-font-display); font-weight: 600; font-size: 22px; color: var(--ink); }
.partner__sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 2px; }

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: #C9D4E0; font-size: 15px; }
.site-footer a { color: #C9D4E0; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 64px; padding-top: 56px; } }
.site-footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.site-footer__brand img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.site-footer__name { font-family: var(--pg-font-display); font-size: 20px; color: var(--on-navy); }
.site-footer__operator { margin-top: 6px; }
.site-footer__heading { color: var(--on-navy); font-weight: 700; margin-bottom: 6px; }
.site-footer__contact a { color: var(--pg-brand); }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.site-footer__nav a { min-height: 32px; display: inline-flex; align-items: center; }
.site-footer__legal { padding-bottom: 28px; font-size: 13px; color: #8A98AB; }

/* ---------------------------------------------------------------------------
   Inner-page blocks: page head, prose, step lists, timeline, people, FAQ,
   alert example, headshot grid
   ------------------------------------------------------------------------- */
.page-head { padding: 56px 0 48px; }
@media (min-width: 960px) { .page-head { padding: 88px 0 72px; } }
.page-head h1 { max-width: 800px; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.1; color: var(--on-navy); }
.page-head__lead { margin-top: 20px; max-width: 680px; color: var(--on-navy-mid); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }

.prose { padding: 64px 0; }
@media (min-width: 960px) { .prose { padding: 96px 0; } }
.prose__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 960px) { .prose__grid--aside { grid-template-columns: 3fr 2fr; gap: 64px; align-items: start; } }
.prose__main { max-width: 760px; }
.prose__main h2 + p { margin-top: 22px; }
.prose__list { margin-top: 20px; display: grid; gap: 12px; padding-left: 0; }
.prose__list li { padding-left: 22px; position: relative; color: var(--ink-mid); }
.prose__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 2px; background: var(--pg-brand-deep); }
.prose__list li b { color: var(--ink); }
.tone-navy .prose__list li { color: var(--on-navy-mid); }
.tone-navy .prose__list li b { color: var(--on-navy); }
.prose__aside { background: var(--paper-alt); border-left: 3px solid var(--pg-bronze); border-radius: var(--radius); padding: 28px; }
.tone-grey .prose__aside { background: var(--paper); }
.tone-navy .prose__aside { background: var(--pg-bg-panel); }
.prose__aside h3 { font-size: 19px; }
.prose__aside h3 + p { margin-top: 12px; }
.prose__aside p { color: var(--ink-mid); font-size: 16px; }
.tone-navy .prose__aside p { color: var(--on-navy-mid); }

.step-list { margin-top: 24px; display: grid; gap: 14px; counter-reset: step; }
.step-list li { position: relative; padding-left: 44px; counter-increment: step; }
.step-list li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0.1em;
  font-family: var(--pg-font-display); font-weight: 600; font-size: 20px; color: var(--bronze-text); line-height: 1;
}
.tone-navy .step-list li::before { color: var(--pg-brand); }
.step-list li b { display: block; }
.step-list li span { color: var(--ink-mid); }
.tone-navy .step-list li span { color: var(--on-navy-mid); }

.people { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .people { grid-template-columns: repeat(3, 1fr); gap: 32px 28px; } }
.people--wide { grid-template-columns: 1fr; }
@media (min-width: 960px) { .people--wide { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
.person__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: var(--radius); background: var(--paper-alt); }
.people--wide .person { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: start; }
@media (max-width: 479px) { .people--wide .person { grid-template-columns: 1fr; } }
.person__name { margin-top: 14px; font-size: 21px; }
.people--wide .person__name { margin-top: 0; }
.person__role { margin-top: 4px; color: var(--bronze-text); font-weight: 700; font-size: 15px; }
.person__bio { margin-top: 10px; color: var(--ink-mid); font-size: 16px; }
.person--placeholder .placeholder { aspect-ratio: 1 / 1; min-height: 0; }

.faq { padding: 64px 0; }
@media (min-width: 960px) { .faq { padding: 96px 0; } }
.faq__list { margin-top: 32px; max-width: 820px; border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font-weight: 700; font-size: 19px; position: relative; min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--pg-brand-deep); line-height: 1; }
.faq__item[open] summary::after { content: "\2013"; }
.faq__answer { padding: 0 0 22px; color: var(--ink-mid); max-width: 720px; }

.alert-example { margin-top: 32px; background: var(--pg-bg-panel); border: 1px solid var(--pg-border); border-left: 4px solid var(--pg-detect); border-radius: var(--radius); padding: 24px; color: var(--on-navy); font-size: 16px; }
.alert-example__head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; }
.alert-example__kind { font-family: var(--pg-font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pg-detect); }
.alert-example__time { font-size: 14px; color: var(--on-navy-soft); }
.alert-example h3 { margin-top: 10px; font-size: 20px; color: var(--on-navy); }
.alert-example dl { margin: 16px 0 0; display: grid; grid-template-columns: 1fr; gap: 10px 24px; }
@media (min-width: 640px) { .alert-example dl { grid-template-columns: auto 1fr; } }
.alert-example dt { color: var(--on-navy-soft); font-size: 14px; }
.alert-example dd { margin: 0; color: var(--on-navy-mid); }
.alert-example__note { margin-top: 16px; font-size: 14px; color: var(--on-navy-soft); }

.split--portrait .split__img { aspect-ratio: 3 / 4; max-height: 640px; }

/* Platform screenshots: shown whole, never cropped, in a dark frame. */
.shot { margin: 0; }
.shot__img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--pg-bg-deep); }
.shot--navy .shot__img { border-color: var(--pg-border); }
.shot--navy .caption { color: var(--on-navy-soft); }
.split__media .shot__img { aspect-ratio: auto; }
.split .split__img[src*="/assets/screenshots/"] { aspect-ratio: auto; object-fit: contain; border: 1px solid var(--rule); background: var(--pg-bg-deep); }
.media-pair { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
@media (min-width: 640px) { .media-pair { grid-template-columns: 1fr 1fr; } }
.media-pair figure { margin: 0; }
.media-pair img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }

/* Dive network map and affiliates */
.dive-map { margin-top: 32px; height: 360px; border-radius: var(--radius); background: var(--pg-bg-panel); border: 1px solid var(--pg-border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
@media (min-width: 960px) { .dive-map { height: 460px; } }
.dive-map__fallback { color: var(--on-navy-soft); font-size: 15px; padding: 16px; text-align: center; }
.dive-map.leaflet-container { font-family: var(--font-body); }
.affiliate-list { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
@media (min-width: 640px) { .affiliate-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .affiliate-list { grid-template-columns: repeat(3, 1fr); } }
.affiliate { background: var(--pg-bg-panel); border: 1px solid var(--pg-border); border-radius: var(--radius); padding: 20px 22px; }
.affiliate h3 { font-size: 19px; color: var(--on-navy); }
.affiliate__where { margin-top: 4px; color: var(--pg-brand); font-size: 15px; }
.affiliate__note { margin-top: 8px; color: var(--on-navy-mid); font-size: 15px; }

/* Field notes */
.post__figure { margin: 0; background: var(--pg-bg-deep); }
.post__img { width: 100%; max-height: 62vh; object-fit: cover; }
.post__figure .caption { padding-top: 10px; padding-bottom: 16px; color: var(--on-navy-soft); }
.post__body { max-width: 720px; padding: 56px 0 72px; }
.post__body h2 { font-size: 28px; margin-top: 40px; }
.post__body h3 { margin-top: 28px; }
.post__body h2 + p, .post__body h3 + p { margin-top: 14px; }
.post__body p { color: var(--ink-mid); }
.post__body ul, .post__body ol { margin: 16px 0 0 22px; padding: 0; color: var(--ink-mid); display: grid; gap: 8px; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body a { color: var(--ink); font-weight: 600; }
.post__back { margin-top: 40px; }
.video-facade { position: relative; display: block; margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; background: var(--pg-bg-deep); aspect-ratio: 16 / 9; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video-facade__label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--pg-brand); color: var(--pg-bg-deep); font-weight: 700; padding: 12px 20px; border-radius: var(--radius); min-height: 44px; display: inline-flex; align-items: center; }
.video-facade__label::before { content: ""; border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent currentColor; margin-right: 10px; }

.pull { font-family: var(--pg-font-display); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; border-left: 3px solid var(--pg-bronze); padding-left: 20px; max-width: 720px; margin-top: 28px; }
.tone-navy .pull { color: var(--on-navy); }
