/* ==========================================================================
   Fil-Am World Magazine — design system
   "Our People. Our Lives. Our World."
   --------------------------------------------------------------------------
   Colour is taken directly from the masthead logo: the azure globe, the
   flag gold of the lettering, and the red of the Philippine and US flags.

   The rule that drives the whole palette:
     · on light surfaces the accent is GLOBE BLUE
     · on dark surfaces the accent is FLAG GOLD
   Both are carried by one inherited custom property, --accent-local, so a
   component never has to know which kind of band it has been dropped into.
   --------------------------------------------------------------------------
   Contents
     01  Tokens
     02  Reset & base
     03  Typography
     04  Layout primitives
     05  Brand devices (eyebrow, rules, globe watermark)
     06  Buttons
     07  Header & navigation
     08  Hero
     09  Credential strip
     10  Cards & grids
     11  Process
     12  Stats & pull quotes
     13  Editorial / magazine grid
     14  Pricing
     15  Team
     16  Logos & partners
     17  Accordion (FAQ)
     18  Forms
     19  Call to action band
     20  Footer
     21  Sub-page headers & prose
     22  Motion
     23  Responsive
   ========================================================================== */

/* ------------------------------------------------------------------ 01 tokens */

:root {
  /* Ocean — sampled from the globe in the logo -------------------------- */
  --ink:           #04263D;   /* deepest ocean: footer, darkest bands     */
  --ink-rgb:        4 38 61;
  --deep:          #073A5C;   /* dark brand band                          */
  --deep-rgb:       7 58 92;
  --deep-soft:     #0C4C74;   /* raised surface on dark                   */
  --deep-line:     #17618E;   /* hairline on dark                         */

  /* Accents ------------------------------------------------------------- */
  /* The globe blue, taken one step deeper than the logo's #0078C0 so that
     small text clears 4.5:1 on the tinted band as well as on white. */
  --blue:          #0A6CB0;
  --blue-rgb:       10 108 176;
  --blue-press:    #08578D;
  --sky:           #2FA8DE;   /* ocean highlight                          */
  --sky-rgb:        47 168 222;
  --sky-glow:      #7FD0F2;
  --sky-glow-rgb:  127 208 242;

  --gold:          #E9B90D;   /* flag gold — accent on dark, and the CTA  */
  --gold-rgb:      233 185 13;
  --gold-press:    #CDA109;
  --gold-glow:     #F7D861;
  --gold-glow-rgb: 247 216 97;

  --red:           #CE1126;   /* Philippine / US flag red                 */
  --red-rgb:       206 17 38;

  /* Ground — cool, never cream ------------------------------------------ */
  --paper:         #F6FAFD;
  --paper-rgb:     246 250 253;
  --paper-cool:    #E8F1F8;   /* alternating band                         */
  --paper-card:    #FFFFFF;
  --line:          #D5E4F0;
  --line-strong:   #AFC9DC;

  /* Text ----------------------------------------------------------------- */
  --text:          #0E2334;
  --text-muted:    #4C6076;
  --text-on-dark:  #E4EFF7;
  --on-dark-rgb:   228 239 247;
  --text-on-dark-muted: #9FBDD2;

  /* The inherited accent. Light bands get blue; dark bands override. ----- */
  --accent-local: var(--blue);
  --accent-local-rgb: var(--blue-rgb);

  /* Type ------------------------------------------------------------------ */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm ---------------------------------------------------------------- */
  --shell:        1200px;
  --shell-narrow: 860px;
  --gutter:       clamp(1.25rem, 4vw, 2.5rem);
  --section-y:    clamp(4.5rem, 9vw, 8.5rem);

  /* Radii & elevation ----------------------------------------------------- */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgb(var(--ink-rgb) / .06), 0 2px 8px rgb(var(--ink-rgb) / .05);
  --shadow-md: 0 2px 4px rgb(var(--ink-rgb) / .06), 0 12px 28px rgb(var(--ink-rgb) / .09);
  --shadow-lg: 0 4px 10px rgb(var(--ink-rgb) / .07), 0 28px 60px rgb(var(--ink-rgb) / .15);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Every dark surface flips the accent to flag gold. One declaration, and
   eyebrows, links, icons, ticks and rules all follow. */
.band-dark,
.band-ink,
.hero,
.page-head,
.cta,
.footer,
.credstrip,
.card-dark {
  --accent-local: var(--gold);
  --accent-local-rgb: var(--gold-rgb);
}

/* ------------------------------------------------------------- 02 reset & base */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

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

::selection { background: var(--gold-glow); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 999;
  padding: .75rem 1.25rem;
  background: var(--deep);
  color: var(--text-on-dark);
  border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ---------------------------------------------------------- 03 typography */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.04; letter-spacing: -.028em; }
h2 { font-size: clamp(1.95rem, 3.6vw, 3rem); letter-spacing: -.022em; }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.22; }
h4 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.005em; }

/* Component sub-headings render at h4 size but stay h3 in the document
   outline, so the heading order never skips a level. */
.feature h3,
.step h3,
.logo-card h3,
.contact-list h3 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.005em; }

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

.lede {
  font-size: clamp(1.0625rem, 1.55vw, 1.3125rem);
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 62ch;
  text-wrap: pretty;
}

.band-dark .lede,
.band-ink .lede { color: var(--text-on-dark-muted); }

.accent { color: var(--accent-local); }

/* Serif italic emphasis inside display headings — the house voice. */
.wink {
  font-style: italic;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  color: var(--accent-local);
}

.small { font-size: .875rem; line-height: 1.6; }
.tiny  { font-size: .8125rem; line-height: 1.55; }

/* ---------------------------------------------------- 04 layout primitives */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell-narrow { max-width: var(--shell-narrow); }

section { position: relative; }

.band { padding-block: var(--section-y); position: relative; }

.band-warm { background: var(--paper-cool); }

.band-dark {
  background: var(--deep);
  color: var(--text-on-dark);
}
.band-dark h1,
.band-dark h2,
.band-dark h3,
.band-dark h4 { color: #FFF; }

.band-ink { background: var(--ink); color: var(--text-on-dark); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split-wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }

.stack   { display: flex; flex-direction: column; gap: 1rem; }
.stack-s { gap: .5rem; }
.stack-l { gap: 2rem; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: center;
  margin-top: 2rem;
}
.button-row.center { justify-content: center; }

/* ------------------------------------------------------ 05 brand devices */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-local);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: none;
}
.section-head.center .eyebrow::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: none;
}

/* Globe watermark — the meridians of the masthead logo, used quietly. */
.watermark {
  position: absolute;
  pointer-events: none;
  color: var(--sky);
  opacity: .10;
  z-index: 0;
}
.watermark--hero {
  top: -16%;
  right: -12%;
  width: min(760px, 78vw);
  opacity: .14;
}
.watermark--corner {
  bottom: -24%;
  left: -10%;
  width: min(460px, 58vw);
  opacity: .07;
}

.rule {
  width: 3.5rem;
  height: 2px;
  background: var(--accent-local);
  border: 0;
  margin: 0 0 1.75rem;
}

/* Thin gold hairline used to close dark bands. */
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold) 78%, transparent);
  opacity: .38;
  border: 0;
  margin: 0;
}

/* Repeating dot texture — cool on light, gold on dark. */
.band-warm::after,
.band-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image: radial-gradient(circle at 1px 1px, rgb(var(--deep-rgb) / .08) 1px, transparent 0);
  background-size: 22px 22px;
}
.band-dark::after { background-image: radial-gradient(circle at 1px 1px, rgb(var(--gold-rgb) / .08) 1px, transparent 0); }
.band > .shell { position: relative; z-index: 1; }

/* ---------------------------------------------------------- 06 buttons */

.button {
  --btn-bg: var(--blue);
  --btn-fg: #FFF;
  --btn-bd: var(--blue);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: .9375rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease);
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.button:active { transform: translateY(0); }

.button svg { flex: none; width: 1.05em; height: 1.05em; }
.button .arrow { transition: transform .3s var(--ease); }
.button:hover .arrow { transform: translateX(3px); }

/* The primary CTA: flag gold with ink text. Reads at 8:1 on both the pale
   ground and the deep ocean bands, so one button works everywhere. */
.button-gold {
  --btn-bg: var(--gold);
  --btn-bd: var(--gold);
  --btn-fg: var(--ink);
}
.button-gold:hover { --btn-bg: var(--gold-press); --btn-bd: var(--gold-press); }

.button-blue {
  --btn-bg: var(--blue);
  --btn-bd: var(--blue);
  --btn-fg: #FFF;
}
.button-blue:hover { --btn-bg: var(--blue-press); --btn-bd: var(--blue-press); }

.button-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
}
.button-ghost:hover { --btn-bd: var(--blue); --btn-bg: rgb(var(--blue-rgb) / .06); --btn-fg: var(--blue-press); }

.band-dark .button-ghost,
.hero .button-ghost,
.page-head .button-ghost,
.cta .button-ghost,
.footer .button-ghost {
  --btn-fg: #FFF;
  --btn-bd: rgb(var(--on-dark-rgb) / .34);
}
.band-dark .button-ghost:hover,
.hero .button-ghost:hover,
.page-head .button-ghost:hover,
.cta .button-ghost:hover,
.footer .button-ghost:hover {
  --btn-bd: var(--gold);
  --btn-bg: rgb(var(--gold-rgb) / .14);
  --btn-fg: var(--gold-glow);
}

.button-light {
  --btn-bg: #FFF;
  --btn-fg: var(--deep);
  --btn-bd: #FFF;
}

.button-sm { padding: .6875rem 1.25rem; font-size: .875rem; }
.button-block { width: 100%; }

/* Quiet inline link with an animated underline. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--accent-local);
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .34s var(--ease), color .2s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------------------------- 07 header & navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(var(--paper-rgb) / .84);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgb(var(--ink-rgb) / .07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

/* Masthead lockup: the real logo plus the wordmark. ---------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  flex: none;
}
.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  object-fit: contain;
  transition: transform .5s var(--ease);
}
.brand:hover .brand-mark { transform: scale(1.06) rotate(-4deg); }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--deep);
}
.brand-sub {
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .3rem;
}

.footer .brand-name { color: #FFF; }
.footer .brand-sub  { color: var(--text-on-dark-muted); }

/* Primary nav ---------------------------------------------------------- */
.nav { display: flex; align-items: center; gap: .25rem; }

.nav a {
  position: relative;
  padding: .5rem .8125rem;
  font-size: .9063rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color .2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: .8125rem;
  right: .8125rem;
  bottom: .1rem;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.nav a:hover { color: var(--deep); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* The drawer carries its own copy of the CTA for small screens. On desktop
   the one in .header-actions is the real button, so hide this one — and let
   the button's own colour beat the .nav a link colour when it is showing. */
.nav > .button { display: none; }
.nav a.button { color: var(--btn-fg); }
.nav a.button::after { content: none; }

.header-actions { display: flex; align-items: center; gap: .75rem; flex: none; }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  position: relative;
  width: 1.125rem;
  height: 1.5px;
  background: var(--deep);
  transition: background-color .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--deep);
  transition: transform .3s var(--ease), top .2s var(--ease);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after  { top:  5.5px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* -------------------------------------------------------------- 08 hero */

.hero {
  position: relative;
  background: var(--deep);
  color: var(--text-on-dark);
  overflow: hidden;
  padding-block: clamp(4.5rem, 10vw, 8rem) clamp(4rem, 8vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 80% 4%,  rgb(var(--sky-rgb) / .38), transparent 58%),
    radial-gradient(90%  80% at 4%  98%, rgb(var(--red-rgb) / .22), transparent 62%),
    linear-gradient(165deg, #0A5786 0%, #073A5C 46%, #04263D 100%);
}
.hero > .shell { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 { color: #FFF; margin-bottom: 1.5rem; }
.hero .lede { color: #C7DEEE; max-width: 34rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .4375rem .875rem .4375rem .5rem;
  margin-bottom: 1.75rem;
  background: rgb(var(--gold-rgb) / .14);
  border: 1px solid rgb(var(--gold-rgb) / .34);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold-glow);
}
.hero-badge b {
  display: inline-flex;
  align-items: center;
  padding: .1875rem .5rem;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  font-size: .6875rem;
  letter-spacing: .08em;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.75rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(var(--on-dark-rgb) / .16);
}
.hero-proof div { min-width: 6.5rem; }
.hero-proof dt {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.hero-proof dd {
  margin: .5rem 0 0;
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--text-on-dark-muted);
  letter-spacing: .02em;
}

/* Hero card — a "cover" plate standing in for the magazine issue. */
.hero-visual { position: relative; }

.cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 18% -4%, rgb(var(--sky-glow-rgb) / .34), transparent 58%),
    linear-gradient(155deg, #0E6494 0%, #073A5C 54%, #041F31 100%);
  border: 1px solid rgb(var(--gold-rgb) / .32);
  box-shadow: 0 40px 80px rgb(var(--ink-rgb) / .55);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transform: rotate(-1.6deg);
  transition: transform .7s var(--ease);
}
.hero-visual:hover .cover { transform: rotate(0deg) translateY(-4px); }

.cover::after {
  content: "";
  position: absolute;
  inset: .625rem;
  border: 1px solid rgb(var(--gold-glow-rgb) / .22);
  border-radius: calc(var(--r-lg) - 8px);
  pointer-events: none;
}

.cover-globe {
  position: absolute;
  right: -18%;
  bottom: -14%;
  width: 78%;
  color: var(--sky-glow);
  opacity: .20;
}

/* The masthead emblem, centred in the plate between the title and the
   cover line. The logo carries its own white disc, so it reads as a seal. */
.cover-emblem {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding-block: clamp(.75rem, 2.5vw, 1.5rem);
}
.cover-emblem img {
  width: min(62%, 190px);
  height: auto;
  filter: drop-shadow(0 16px 34px rgb(var(--ink-rgb) / .55));
  transition: transform .7s var(--ease);
}
.hero-visual:hover .cover-emblem img { transform: scale(1.04); }

.cover-top { position: relative; z-index: 1; }
.cover-masthead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 600;
  color: #FFF;
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0;
}
.cover-issue {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-top: .875rem;
  padding-top: .875rem;
  border-top: 1px solid rgb(var(--gold-glow-rgb) / .3);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-glow);
}
.cover-issue span:last-child { margin-left: auto; }

.cover-body { position: relative; z-index: 1; }
.cover-kicker {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .625rem;
}
.cover-line {
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 2.3vw, 1.5rem);
  font-weight: 600;
  color: #FFF;
  line-height: 1.18;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cover-tags li {
  padding: .25rem .625rem;
  border: 1px solid rgb(var(--gold-glow-rgb) / .34);
  border-radius: 999px;
  font-size: .6875rem;
  letter-spacing: .05em;
  color: #D5E7F2;
}

/* Floating credential chip layered over the cover. */
.cover-chip {
  position: absolute;
  left: -1.25rem;
  bottom: 2.25rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8125rem 1.125rem;
  background: var(--paper-card);
  color: var(--text);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  max-width: 15rem;
}
.cover-chip svg { width: 1.75rem; height: 1.75rem; color: var(--blue); flex: none; }
.cover-chip b { display: block; font-size: .8125rem; line-height: 1.25; }
.cover-chip span { display: block; font-size: .6875rem; color: var(--text-muted); letter-spacing: .03em; }

/* ------------------------------------------------- 09 credential strip */

.credstrip {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding-block: 1.5rem;
  overflow: hidden;
  position: relative;
}
.credstrip::before,
.credstrip::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5rem;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.credstrip::before { left: 0;  background: linear-gradient(90deg, var(--ink), transparent); }
.credstrip::after  { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }

.marquee { display: flex; width: max-content; animation: slide 42s linear infinite; }
.credstrip:hover .marquee { animation-play-state: paused; }

.marquee ul {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0 1.5rem;
}
.marquee li {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee li svg { width: .875rem; height: .875rem; color: var(--gold); flex: none; }

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------- 10 cards & grids */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2.125rem);
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.card:hover::before { transform: scaleX(1); }

.card h3 { margin-bottom: .625rem; }
.card p  { color: var(--text-muted); font-size: .9375rem; }
.card .link-arrow { margin-top: auto; padding-top: 1.5rem; }

.card-dark {
  background: var(--deep-soft);
  border-color: var(--deep-line);
  color: var(--text-on-dark);
}
.card-dark h3, .card-dark h4 { color: #FFF; }
.card-dark p { color: var(--text-on-dark-muted); }
.card-dark::before { background: linear-gradient(90deg, var(--gold), var(--gold-glow)); }
.card-dark:hover { border-color: rgb(var(--gold-rgb) / .45); }

/* Icon tile ------------------------------------------------------------ */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.375rem;
  border-radius: 14px;
  background: linear-gradient(150deg, rgb(var(--accent-local-rgb) / .16), rgb(var(--accent-local-rgb) / .06));
  border: 1px solid rgb(var(--accent-local-rgb) / .28);
  color: var(--accent-local);
  flex: none;
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.icon-tile svg { width: 1.5rem; height: 1.5rem; }
.card:hover .icon-tile { transform: translateY(-2px) scale(1.04); }

/* Compact feature row (icon beside text) -------------------------------- */
.feature {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
}
.feature .icon-tile { width: 2.75rem; height: 2.75rem; margin: 0; border-radius: 12px; }
.feature .icon-tile svg { width: 1.25rem; height: 1.25rem; }
.feature :is(h3, h4) { margin-bottom: .3125rem; }
.feature p  { color: var(--text-muted); font-size: .9063rem; margin: 0; }
.band-dark .feature p { color: var(--text-on-dark-muted); }

/* Tick list ------------------------------------------------------------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8125rem; }
.ticks li {
  position: relative;
  padding-left: 2rem;
  font-size: .9375rem;
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .1875rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgb(var(--blue-rgb) / .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6CB0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: .75rem;
  background-repeat: no-repeat;
  background-position: center;
}
/* Data URIs cannot read custom properties, so dark surfaces get their own. */
.band-dark .ticks li::before,
.card-dark .ticks li::before,
.hero .ticks li::before,
.page-head .ticks li::before {
  background-color: rgb(var(--gold-rgb) / .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9B90D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.ticks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8125rem 1.75rem; }

/* --------------------------------------------------------------- 11 process */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.6vw, 2.25rem);
  counter-reset: step;
  position: relative;
}
/* The connecting rail sits behind the numerals. */
.process::before {
  content: "";
  position: absolute;
  top: 1.375rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.band-dark .process::before {
  background: repeating-linear-gradient(90deg, var(--deep-line) 0 6px, transparent 6px 12px);
}

.step { position: relative; z-index: 1; }
.step-num {
  counter-increment: step;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--accent-local);
  color: var(--accent-local);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step:hover .step-num { background: var(--blue); color: #FFF; }

.band-dark .step-num { background: var(--deep); border-color: rgb(var(--gold-rgb) / .55); }
.band-dark .step:hover .step-num { background: var(--gold); color: var(--ink); }

.step :is(h3, h4) { margin-bottom: .5rem; }
.step p  { font-size: .9063rem; color: var(--text-muted); margin: 0; }
.band-dark .step p { color: var(--text-on-dark-muted); }

/* ------------------------------------------------- 12 stats & pull quotes */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--paper-card);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  text-align: center;
}
.stat dt {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
}
.stat dd {
  margin: .625rem 0 0;
  font-size: .8125rem;
  letter-spacing: .04em;
  color: var(--text-muted);
}
.band-dark .stats { background: var(--deep-line); border-color: var(--deep-line); }
.band-dark .stat { background: var(--deep-soft); }
.band-dark .stat dt { color: var(--gold); }
.band-dark .stat dd { color: var(--text-on-dark-muted); }

.quote {
  position: relative;
  padding: clamp(2rem, 3.5vw, 3rem);
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: .7;
  color: var(--accent-local);
  opacity: .34;
  margin-bottom: .75rem;
}
.quote blockquote {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: .875rem; }
.avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--blue), var(--deep));
  /* Initials sit on the blue end of the gradient, so they take white —
     gold reads at only 3.1:1 there and these are small, non-bold glyphs. */
  color: #FFF;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.quote cite { font-style: normal; font-weight: 600; font-size: .9375rem; display: block; }
.quote figcaption span { display: block; font-size: .8125rem; color: var(--text-muted); }

.band-dark .quote { background: var(--deep-soft); border-color: var(--deep-line); }
.band-dark .quote blockquote { color: #FFF; }
.band-dark .quote figcaption span { color: var(--text-on-dark-muted); }
.band-dark .avatar { background: linear-gradient(150deg, var(--gold), #A07E06); color: var(--ink); }

/* --------------------------------------------- 13 editorial / magazine grid */

.story {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.story:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Plate: a generated cover panel, so no placeholder photography is needed. */
.plate {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #0E6494 0%, #073A5C 60%, #04263D 100%);
  color: var(--sky-glow);
}
.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(85% 70% at 78% 10%, rgb(var(--sky-glow-rgb) / .30), transparent 62%);
}
.plate svg { width: 46%; opacity: .34; position: relative; z-index: 1; transition: transform .8s var(--ease); }
.story:hover .plate svg { transform: rotate(14deg) scale(1.06); }

.plate-red   { background: linear-gradient(150deg, #B01020 0%, #6E0A15 62%, #3A050B 100%); color: var(--gold-glow); }
.plate-gold  { background: linear-gradient(150deg, #C79C08 0%, #7E6305 62%, #443502 100%); color: #FFF3CF; }
.plate-sky   { background: linear-gradient(150deg, #2FA8DE 0%, #0B76BE 58%, #06456E 100%); color: #FFFFFF; }
.plate-ink   { background: linear-gradient(150deg, #0A5786 0%, #04263D 62%, #021521 100%); }

.plate-label {
  position: absolute;
  z-index: 2;
  left: 1rem;
  top: 1rem;
  padding: .3125rem .6875rem;
  background: rgb(var(--ink-rgb) / .68);
  backdrop-filter: blur(6px);
  border: 1px solid rgb(var(--gold-glow-rgb) / .34);
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-glow);
}

.story-body { padding: clamp(1.375rem, 2.2vw, 1.875rem); display: flex; flex-direction: column; flex: 1; }
.story-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.story-meta span:not(:last-child)::after { content: "·"; margin-left: .5rem; color: var(--line-strong); }
.story h3 { font-size: 1.1875rem; margin-bottom: .625rem; }
.story p { font-size: .9063rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.story .link-arrow { margin-top: auto; }

/* Lead story spanning two columns. */
.story-lead { grid-column: span 2; }
.story-lead .plate { aspect-ratio: 16 / 7; }
.story-lead h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }

/* ------------------------------------------------------------- 14 pricing */

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 2.6vw, 2.375rem);
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.price-card.is-featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-md);
}
.price-flag {
  position: absolute;
  top: -.75rem;
  left: clamp(1.75rem, 2.6vw, 2.375rem);
  padding: .3125rem .8125rem;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.price-card h3 { margin-bottom: .5rem; }
.price-card > p { color: var(--text-muted); font-size: .9375rem; }

.price-figure {
  display: flex;
  align-items: baseline;
  gap: .4375rem;
  margin: 1.375rem 0;
  padding-bottom: 1.375rem;
  border-bottom: 1px solid var(--line);
}
.price-figure b {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--deep);
  line-height: 1;
}
.price-figure span { font-size: .8125rem; color: var(--text-muted); }

.price-card .ticks { margin-bottom: 1.75rem; }
.price-card .ticks li { font-size: .9063rem; }
.price-card .button-row { margin-top: auto; }

/* ---------------------------------------------------------------- 15 team */

.person {
  padding: clamp(1rem, 1.4vw, 1.125rem);
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

/* Portrait plate. Holds a real photograph where we have one and falls back
   to initials on the brand gradient where we do not, so the grid stays even. */
.person-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  margin-bottom: 1rem;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(150deg, var(--blue), var(--deep));
  display: grid;
  place-items: center;
}
.person-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.person:hover .person-figure img { transform: scale(1.045); }
.person-figure .initials {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: #FFF;
  letter-spacing: .04em;
}

.person h4 { margin-bottom: .25rem; font-size: 1rem; }
.person p {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.45;
  color: var(--text-muted);
  letter-spacing: .015em;
}
.person em { display: block; font-style: normal; color: var(--blue); font-size: .75rem; margin-top: .375rem; }

/* Leadership reads horizontally and spans two columns. */
.person-lead {
  grid-column: span 2;
  display: flex;
  gap: 1.375rem;
  align-items: center;
  padding: clamp(1.125rem, 1.8vw, 1.5rem);
}
.person-lead .person-figure { width: 6.5rem; flex: none; margin: 0; }
.person-lead > div { min-width: 0; }

/* A dashed recruiting tile that sits in the grid like a person card. */
.person-invite {
  display: grid;
  place-content: center;
  text-align: center;
  border-style: dashed;
  background: transparent;
}
.person-invite:hover { border-style: dashed; }

/* ------------------------------------------------------ 16 logos & partners */

.logo-card {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  padding: 1.5rem;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  min-height: 100%;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.logo-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-md); }

.logo-monogram {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--blue), var(--deep));
  color: #FFF;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  flex: none;
}
.logo-card :is(h3, h4) { margin: 0; font-size: .9375rem; }
.logo-card p { margin: 0; font-size: .8125rem; color: var(--text-muted); }

/* -------------------------------------------------------- 17 accordion / FAQ */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.32;
  color: var(--text);
  transition: color .22s var(--ease);
}
.faq-q:hover { color: var(--accent-local); }

.faq-icon {
  position: relative;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: .1875rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  background: var(--accent-local);
  transition: opacity .3s var(--ease), background-color .3s var(--ease);
}
.faq-icon::before { width: .625rem; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: .625rem; }

.faq-q[aria-expanded="true"] .faq-icon { background: var(--accent-local); border-color: var(--accent-local); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-icon::before { background: #FFF; }
.faq-q[aria-expanded="true"] .faq-icon::after  { opacity: 0; }
.band-dark .faq-q[aria-expanded="true"] .faq-icon::before { background: var(--ink); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .42s var(--ease);
}
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding-right: 3rem;
  padding-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: .9375rem;
  max-width: 62ch;
}

.band-dark .faq,
.band-dark .faq-item { border-color: var(--deep-line); }
.band-dark .faq-q { color: #FFF; }
.band-dark .faq-icon { border-color: var(--deep-line); }
.band-dark .faq-a p { color: var(--text-on-dark-muted); }

/* --------------------------------------------------------------- 18 forms */

.form-panel {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
/* A form panel is a light island, even inside a dark band. */
.band-dark .form-panel { --accent-local: var(--blue); --accent-local-rgb: var(--blue-rgb); color: var(--text); }
.band-dark .form-panel h2,
.band-dark .form-panel h3 { color: var(--text); }

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.125rem;
}
.field-full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: .4375rem; }

.field label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field label .req { color: var(--red); margin-left: .125rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8125rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--text);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 8rem; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C6076' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.125rem;
  padding-right: 2.75rem;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder { color: #8FA6B8; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--paper-card);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(var(--blue-rgb) / .16);
}

.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--red); }

/* Honeypot — hidden from people, irresistible to bots. */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note { font-size: .8125rem; color: var(--text-muted); margin-top: 1rem; }
.form-note a { color: var(--blue); font-weight: 600; }

.form-status {
  display: none;
  margin-top: 1.125rem;
  padding: .875rem 1.125rem;
  border-radius: var(--r-md);
  font-size: .9063rem;
  border: 1px solid transparent;
}
.form-status.is-visible { display: block; }
.form-status.is-ok   { background: rgba(20, 122, 90, .10); border-color: rgba(20, 122, 90, .30); color: #10614A; }
.form-status.is-bad  { background: rgb(var(--red-rgb) / .09); border-color: rgb(var(--red-rgb) / .32); color: #9C1420; }
.form-status.is-busy { background: rgb(var(--deep-rgb) / .06); border-color: var(--line); color: var(--text-muted); }

/* Newsletter inline form ------------------------------------------------ */
.subscribe { display: flex; gap: .625rem; flex-wrap: wrap; max-width: 27rem; }
.subscribe input {
  flex: 1 1 12rem;
  padding: .8125rem 1rem;
  background: rgb(255 255 255 / .08);
  border: 1px solid rgb(var(--on-dark-rgb) / .24);
  border-radius: 999px;
  color: #FFF;
  font-size: .9063rem;
}
.subscribe input::placeholder { color: #8EABC0; }
.subscribe input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgb(255 255 255 / .12);
}

/* Contact detail list --------------------------------------------------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon-tile { width: 2.75rem; height: 2.75rem; margin: 0; border-radius: 12px; }
.contact-list .icon-tile svg { width: 1.1875rem; height: 1.1875rem; }
.contact-list :is(h3, h4) { margin-bottom: .1875rem; font-size: .9375rem; }
.contact-list p, .contact-list a { font-size: .9375rem; color: var(--text-muted); margin: 0; }
.contact-list a:hover { color: var(--blue); }
.band-dark .contact-list p,
.band-dark .contact-list a { color: var(--text-on-dark-muted); }
.band-dark .contact-list a:hover { color: var(--gold); }

/* ------------------------------------------------------------ 19 CTA band */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--text-on-dark);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 120% at 10% 6%, rgb(var(--sky-rgb) / .34), transparent 56%),
    radial-gradient(80% 110% at 92% 96%, rgb(var(--red-rgb) / .26), transparent 58%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #FFF; max-width: 20ch; margin-inline: auto; }
.cta .lede { color: #C7DEEE; margin-inline: auto; }

/* --------------------------------------------------------------- 20 footer */

.footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
}
.footer a { transition: color .2s var(--ease); }
.footer a:hover { color: var(--gold); }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgb(var(--on-dark-rgb) / .12);
}
.footer-about p { font-size: .9063rem; max-width: 30ch; margin-top: 1.25rem; }

.footer :is(h3, h4) {
  color: #FFF;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.125rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6875rem; }
.footer ul a { font-size: .9063rem; }

.socials { display: flex; gap: .625rem; margin-top: 1.75rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 2.375rem;
  height: 2.375rem;
  border: 1px solid rgb(var(--on-dark-rgb) / .2);
  border-radius: 50%;
  color: var(--text-on-dark-muted);
  transition: border-color .28s var(--ease), color .28s var(--ease),
              background-color .28s var(--ease), transform .28s var(--ease);
}
.socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgb(var(--gold-rgb) / .12);
  transform: translateY(-2px);
}
.socials svg { width: 1.0625rem; height: 1.0625rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: .8125rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.375rem; }

/* ------------------------------------------ 21 sub-page headers & prose */

.page-head {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--text-on-dark);
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 5rem);
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(100% 90% at 88% 2%, rgb(var(--sky-rgb) / .34), transparent 58%),
    linear-gradient(165deg, #0A5786 0%, #073A5C 52%, #04263D 100%);
}
.page-head > .shell { position: relative; z-index: 2; }
.page-head h1 { color: #FFF; max-width: 18ch; }
.page-head .lede { color: #C7DEEE; }

.crumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 1.75rem;
}
.crumbs a:hover { color: var(--gold); }
.crumbs span { opacity: .45; }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.125rem; margin-top: 1.75rem; }
.prose p, .prose li { color: var(--text-muted); font-size: .9688rem; }
.prose ul { padding-left: 1.25rem; display: grid; gap: .5rem; margin: 0 0 1.15em; }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Anchored side navigation for long pages. */
.toc {
  position: sticky;
  top: 6.5rem;
  align-self: start;
  padding: 1.5rem;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.toc :is(h3, h4) { font-family: var(--font-body); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .625rem; }
.toc a { font-size: .875rem; color: var(--text-muted); }
.toc a:hover { color: var(--blue); }

/* Press-credential badge (United States Press Agency and similar). */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.badge-img {
  height: 3rem;
  width: auto;
  object-fit: contain;
}
.badge-img--invert { filter: brightness(0) invert(1); opacity: .82; }

/* --------------------------------------------------------------- 22 motion */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Never let a reveal hide content if the observer never runs. */
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee { animation: none; }
}

/* ----------------------------------------------------------- 23 responsive */

@media (max-width: 1080px) {
  .nav a { padding: .5rem .625rem; font-size: .875rem; }
  .footer-top { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .header-actions .button { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Mobile drawer */
  .nav {
    position: fixed;
    inset: 4.75rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 1.75rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 4.75rem);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a {
    padding: .9375rem .25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { content: none; }
  .nav a[aria-current="page"] { color: var(--blue); }
  .nav .button {
    display: inline-flex;
    margin-top: 1.25rem;
    border-bottom: 0;
    justify-content: center;
  }

  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 26rem; margin-inline: auto; width: 100%; }
  .split, .split-wide { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .process::before { content: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-lead { grid-column: span 1; }
  .story-lead .plate { aspect-ratio: 16 / 10; }
  .toc { position: static; }
}

@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
  .ticks-2 { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .person-lead { grid-column: span 2; flex-direction: column; text-align: center; align-items: center; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-proof { gap: 1.5rem 2rem; }
  .cover-chip { left: 0; bottom: 1rem; }
  .button-row .button { flex: 1 1 100%; }
}

@media (max-width: 460px) {
  .grid-4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .person-lead { grid-column: span 1; }
}

/* --------------------------------------------------------------- print */

@media print {
  .site-header, .footer, .cta, .nav-toggle, .credstrip { display: none !important; }
  body { background: #FFF; color: #000; }
  .band { padding-block: 1.5rem; }
  [data-reveal] { opacity: 1; transform: none; }
}
