/* =====================================================
   Why Cameron — campaign hub stylesheet
   v2 "Cameron, refined" — brand-matched to
   welcometocameron.com + cameronindustrialfoundation.com,
   elevated: cream-led surfaces, Clarendon-spirit serif
   (Besley), pill CTAs, star + flag detailing.
   Mobile-first. Targets WCAG AA.
   ===================================================== */

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

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

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font: inherit;
  cursor: pointer;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

/* ---------- Tokens — Cameron brand, refined ---------- */
:root {
  /* Typefaces.
     Besley = Clarendon-style slab revival; same spirit as the
     serif on welcometocameron.com, drawn finer. */
  --font-display: "Besley", Georgia, "Times New Roman", serif;
  --font-text: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Surface — cream-led, color used sparingly */
  --paper: #F5F0E2;          /* warm cream (both brand sites) */
  --paper-2: #EDE6D2;        /* deeper cream panel */
  --paper-3: #FBF8EE;        /* light cream for nested cards */
  --white: #FFFEFA;

  /* Ink */
  --ink: #26282E;            /* warm near-black */
  --ink-2: #51545C;          /* secondary text */
  --ink-3: #75787F;          /* tertiary / meta */

  /* Brand — royal blue + brick red from the live sites */
  --blue: #28377F;
  --blue-deep: #1E2A64;
  --blue-soft: #3D4D9E;
  --red: #A8352F;
  --red-deep: #88271F;
  --red-bright: #C0392F;

  /* Lead accent (tweakable: red-led by default, like the sites' CTAs) */
  --cta: var(--red);
  --cta-hover: var(--red-deep);
  --on-cta: #FFFEFA;

  /* Headings */
  --heading: var(--blue);

  /* Warm gold — Texas star accent, used sparingly on navy */
  --gold: #E0A93C;

  /* Rules / dividers */
  --rule: #DDD4BE;
  --rule-2: #C9BFA3;

  /* Photo treatment (tweakable) */
  --photo-filter: saturate(1.05) contrast(1.02) sepia(0.07);

  /* Crisp geometric lone star (SVG mask, colored via currentColor) */
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.94 6.7 7.06.6-5.4 4.9 1.6 7-6.2-3.9-6.2 3.9 1.6-7L2 8.3l7.06-.6 2.94-6.7z'/%3E%3C/svg%3E");

  /* Type scale (mobile-first; bumps up at desktop) */
  --t-hero: clamp(2.5rem, 7.5vw, 4.75rem);
  --t-h1: clamp(2.125rem, 5vw, 3.25rem);
  --t-h2: clamp(1.875rem, 4vw, 2.75rem);
  --t-h3: clamp(1.25rem, 3vw, 1.5rem);
  --t-quote: clamp(1.3125rem, 3vw, 1.75rem);
  --t-body: 1.0625rem;       /* 17px */
  --t-small: 0.9375rem;      /* 15px */

  /* Spacing */
  --gutter: 1.25rem;
  --section-y: clamp(4rem, 9vw, 7rem);
  --maxw: 72rem;
  --maxw-text: 38rem;

  /* Forms */
  --tap: 48px;
  --radius: 6px;
  --radius-lg: 8px;

  /* Flag strip — the tricolor rule used as a recurring brand detail */
  --flag-strip: linear-gradient(90deg,
      var(--blue) 0 33.4%,
      var(--white) 33.4% 66.7%,
      var(--red) 66.7% 100%);
}

/* Tweak hooks (set on <html> by the Tweaks panel) */
html[data-accent="blue"] {
  --cta: var(--blue);
  --cta-hover: var(--blue-deep);
}

html[data-font="georgia"] {
  --font-display: Georgia, "Times New Roman", serif;
}

html[data-photo="natural"] {
  --photo-filter: none;
}

@media (min-width: 768px) {
  :root {
    --gutter: 2rem;
  }
}

/* ---------- Display / heading typography ---------- */
.display,
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--heading);
  margin: 0 0 0.5em;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }

p { margin: 0 0 1rem; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-narrow {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--section-y) 0;
}

/* Star-centered rule — the brand divider */
.section-divider {
  border: 0;
  margin: 0 auto;
  max-width: var(--maxw);
  height: 1px;
  background: var(--rule);
  position: relative;
  overflow: visible;
}

.section-divider::after {
  content: "★";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--paper);
  color: var(--rule-2);
  font-size: 0.7rem;
  padding: 0 0.9rem;
  line-height: 1;
}

/* ---------- Site header (CIF wordmark bar) ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 1.05rem 0;
  position: relative;
  z-index: 10;
}

/* Tricolor flag strip under the header — quiet brand signature */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: var(--flag-strip);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--red);
}

.site-header__brand:hover { text-decoration: none; }

.site-header__flag {
  display: inline-block;
  width: 34px;
  height: 23px;
  flex: 0 0 34px;
  background: url("flag.svg") center / cover no-repeat;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(38, 40, 46, 0.12);
}

.site-header__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.05;
  color: var(--red);
}

.site-header__wordmark span {
  display: block;
  font-family: var(--font-text);
  color: var(--blue);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 3px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-deep);
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(30, 42, 100, 0.35) 0%, rgba(30, 42, 100, 0.82) 88%, rgba(30, 42, 100, 0.92) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 5.5rem var(--gutter) 5rem;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

/* Kicker — tracked smallcaps flanked by lone stars (replaces the chip) */
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.hero__kicker::before,
.hero__kicker::after {
  content: "";
  width: 9px;
  height: 9px;
  background: currentColor;
  -webkit-mask: var(--star-mask) center / contain no-repeat;
  mask: var(--star-mask) center / contain no-repeat;
  opacity: 0.8;
}

.hero__headline {
  font-size: var(--t-hero);
  color: var(--white);
  max-width: 20ch;
  margin: 0 auto 1.5rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero__sub {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  color: var(--paper);
  opacity: 0.94;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Proof strip — the geography case, stated as fact */
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  margin: 3.75rem auto 0;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 254, 250, 0.25);
  max-width: 56rem;
}

.hero__facts div {
  text-align: center;
}

.hero__facts dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.1;
  color: var(--white);
}

.hero__facts dd {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(245, 240, 226, 0.78);
}

@media (max-width: 640px) {
  .hero__facts {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ---------- Buttons — refined evolution of the sites' pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: var(--tap);
  padding: 0.95rem 2.25rem;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 0;
  background: var(--cta);
  color: var(--on-cta);
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(38, 40, 46, 0.18);
}

.btn:hover,
.btn:focus-visible {
  background: var(--cta-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px rgba(38, 40, 46, 0.45);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(38, 40, 46, 0.18);
}

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

.btn--navy {
  background: var(--blue);
}

.btn--navy:hover,
.btn--navy:focus-visible {
  background: var(--blue-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 254, 250, 0.85);
  box-shadow: none;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

/* ---------- Section labels & heads ---------- */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 1.1rem;
  font-weight: 700;
}

.section-label::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: currentColor;
  -webkit-mask: var(--star-mask) center / contain no-repeat;
  mask: var(--star-mask) center / contain no-repeat;
}

[style*="text-align:center"].section-head,
[style*="text-align: center"].section-head {
  max-width: none;
}

.section-head {
  margin-bottom: 3rem;
  max-width: none;
}

.section-head h2 { max-width: 18ch; }
[style*="text-align:center"].section-head h2 { max-width: none; }

.section-head h2 {
  margin-bottom: 0;
  color: var(--heading);
  text-wrap: balance;
}
.stories .section-head h2 { max-width: 16ch; }

.section-head p {
  color: var(--ink-2);
  font-size: 1.125rem;
}

/* ---------- "Who Cameron is for" filter ---------- */
.filter {
  background: var(--paper);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

/* Split editorial layout: statement left, star checklist right */
.filter__layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .filter__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 5rem;
  }
}

.filter__intro h2 {
  margin-bottom: 1rem;
}

.filter__intro p:last-child {
  color: var(--ink-2);
  font-size: 1.0625rem;
  max-width: 30rem;
}

.filter .section-head {
  margin-bottom: 2rem;
}

.filter__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .filter__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Single-column variant: a framed cream plaque */
.filter__single {
  max-width: 46rem;
}

.filter__col,
.filter__single {
  background: var(--paper-3);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  /* inner hairline frame — printed-certificate detail */
  box-shadow:
    inset 0 0 0 4px var(--paper-3),
    inset 0 0 0 5px var(--rule);
}

.filter__col h2 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--heading);
}

.filter__col--no h2 { color: var(--ink-2); }

.filter__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter__list li {
  position: relative;
  padding: 1rem 0 1rem 2.3rem;
  border-bottom: 1px solid var(--rule-2);
  font-size: 1.125rem;
  line-height: 1.5;
}

.filter__layout .filter__list li:first-child {
  border-top: 1px solid var(--rule-2);
}

.filter__list li:last-child { border-bottom: 1px solid var(--rule-2); }

.filter__list li::before {
  position: absolute;
  left: 0.1rem;
  top: 1.05rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
}

.filter__list--yes li::before {
  content: "";
  width: 13px;
  height: 13px;
  top: 1.35rem;
  background: var(--red-bright);
  -webkit-mask: var(--star-mask) center / contain no-repeat;
  mask: var(--star-mask) center / contain no-repeat;
}

.filter__list--no li::before {
  content: "✕";
  color: var(--ink-3);
}

/* ---------- Business cards (4 stories) ---------- */
.stories {
  background: var(--paper);
  padding-top: 0;
}

.stories__grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .stories__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
}

/* Three remaining cards (EBCO broken out into the playlist above) — 3-up on desktop
   so the row sits clean with no orphan. */
@media (min-width: 1024px) {
  .stories__grid--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 2px rgba(40, 55, 127, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.story-card:hover,
.story-card:focus-visible {
  text-decoration: none;
  border-color: var(--rule-2);
  box-shadow: 0 18px 40px -18px rgba(30, 42, 100, 0.32);
}

@media (hover: hover) {
  .story-card:hover { transform: translateY(-4px); }
}

.story-card__photo {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.story-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%; /* keep faces in frame when the box is shorter */
  filter: var(--photo-filter);
  transition: transform 400ms ease;
}

@media (hover: hover) {
  .story-card:hover .story-card__photo img { transform: scale(1.025); }
}

/* Inset hairline frame over the photo — gallery-print detail */
.story-card__photo::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 254, 250, 0.45);
  border-radius: 2px;
  pointer-events: none;
}

/* Desktop: shorter photo band so 2-up cards don't balloon */
@media (min-width: 1024px) {
  .story-card__photo { aspect-ratio: 16 / 10; }
}

.story-card[data-story="ebco"]          .story-card__photo { background: var(--blue); }
.story-card[data-story="lnc"]           .story-card__photo { background: var(--red); }
.story-card[data-story="bradley"]       .story-card__photo { background: var(--blue-soft); }
.story-card[data-story="ideal-poultry"] .story-card__photo { background: var(--red-deep); }

.story-card__body {
  padding: 1.85rem 1.75rem 1.9rem;
}

.story-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-quote);
  line-height: 1.32;
  letter-spacing: -0.005em;
  margin: 0 0 1.35rem;
  color: var(--heading);
  font-weight: 600;
  text-wrap: pretty;
}

/* Attribution: name leads, one quiet meta line carries title + credibility fact */
.story-card__by {
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
}

.story-card__name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.story-card__meta {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-top: 0.2rem;
  line-height: 1.45;
}

/* Play affordance — signals “video” without a text CTA */
.story-card__play {
  position: absolute;
  z-index: 2;
  left: 1.1rem;
  bottom: 1.1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(20, 24, 48, 0.55);
  border: 1.5px solid rgba(255, 254, 250, 0.85);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, transform 180ms ease;
}

.story-card__play::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 2px;
}

.story-card:hover .story-card__play,
.story-card:focus-visible .story-card__play {
  background: var(--cta);
  transform: scale(1.06);
}

/* ---------- Come back section (royal blue band) ---------- */
.comeback {
  background: var(--blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Tricolor strip along the top of the band */
.comeback::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--flag-strip);
}

/* Lone-star watermark */
.comeback::after {
  content: "★";
  position: absolute;
  right: -0.18em;
  bottom: -0.42em;
  font-size: clamp(16rem, 32vw, 30rem);
  line-height: 1;
  color: rgba(255, 254, 250, 0.05);
  pointer-events: none;
}

.comeback .wrap { position: relative; z-index: 1; }

.comeback h2 {
  color: var(--white);
  max-width: 22ch;
}

.comeback .section-label {
  color: var(--paper) !important;
  opacity: 0.85;
}

.comeback__body {
  color: rgba(255, 254, 250, 0.92);
  font-size: 1.125rem;
  max-width: 42rem;
  margin-bottom: 2.75rem;
  line-height: 1.65;
}

.comeback__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.375rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  font-weight: 600;
  color: var(--white);
  max-width: 24ch;
  margin: 0 0 1rem;
  padding-left: 1.4rem;
  border-left: 3px solid var(--red-bright);
}

.comeback__cite {
  font-size: var(--t-small);
  color: rgba(255, 254, 250, 0.72);
  padding-left: 1.4rem;
}

/* ---------- Why it works — numbered editorial ledger, no boxes ---------- */
.why {
  background: var(--paper);
}

.why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  column-gap: 4.5rem;
}

@media (min-width: 768px) {
  .why__list { grid-template-columns: 1fr 1fr; }
}

.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 1.4rem;
  padding: 1.9rem 0 2.1rem;
  border-top: 1px solid var(--rule-2);
}

.why-item__num {
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--red-bright);
  padding-top: 0.15rem;
}

.why-item h3 {
  grid-column: 2;
  margin: 0 0 0.6rem;
  font-size: 1.3125rem;
}

.why-item p {
  grid-column: 2;
  margin: 0;
  font-size: var(--t-body);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 34rem;
}

/* (legacy card style kept for reference pages) */
.why__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .why__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .why__grid { grid-template-columns: repeat(4, 1fr); }
}

.why-card {
  padding: 1.9rem 1.6rem;
  background: var(--paper-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
}

.why-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.8rem;
  color: var(--heading);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--rule);
}

.why-card p {
  font-size: var(--t-small);
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
}

/* ---------- Form / CTA — cream stage, framed card ---------- */
.cta {
  background: var(--paper-2);
  color: var(--ink);
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule-2);
}

.cta .section-label {
  color: var(--red-bright);
}

.cta h2 {
  color: var(--heading);
}

/* Low-friction alternative to the form */
.cta__alt {
  color: var(--ink-2);
  font-size: var(--t-small);
  margin: 0.75rem auto 0;
  max-width: 34rem;
}

.cta__alt a {
  color: var(--cta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta__alt a[href^="tel"] { white-space: nowrap; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--rule-2);
  border-top: 4px solid var(--red);
  box-shadow: 0 24px 48px -28px rgba(30, 42, 100, 0.35);
}

.form {
  display: grid;
  gap: 1.25rem;
}

/* Desktop: short fields pair up; textarea, button, and note span full width */
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; }

  .form .field:nth-of-type(5),
  .form .form__submit,
  .form .form__note {
    grid-column: 1 / -1;
  }
}

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

.field label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field .req {
  color: var(--red-bright);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1.0625rem;
  padding: 0.85rem 1rem;
  min-height: var(--tap);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  width: 100%;
  transition: border-color 150ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 6rem;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--cta);
  outline-offset: 1px;
  border-color: var(--cta);
}

.form__submit {
  min-height: 56px;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.form__note {
  font-size: var(--t-small);
  color: var(--ink-2);
  margin-top: 1.25rem;
  line-height: 1.55;
}

.form__note strong { color: var(--blue); }

/* ---------- Footer (deep blue) ---------- */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255, 254, 250, 0.88);
  padding: 4.5rem 0 2.5rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--flag-strip);
}

.site-footer h3 {
  color: var(--paper);
  font-family: var(--font-text);
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer__ginger {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.footer__avatar {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  border: 1px solid rgba(255, 254, 250, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.25rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 254, 250, 0.4);
  text-underline-offset: 3px;
}

.site-footer a:hover { text-decoration-color: var(--white); }

.site-footer p { margin: 0 0 0.35rem; font-size: var(--t-small); }

.footer__stats {
  display: grid;
  gap: 0.5rem;
  font-size: var(--t-small);
  color: rgba(255, 254, 250, 0.85);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 254, 250, 0.16);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 254, 250, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* ---------- Sticky bottom CTA (mobile only) ---------- */
.sticky-cta {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  justify-content: center;
  transform: translateY(0);
  transition: transform 250ms ease, opacity 250ms ease;
  opacity: 1;
}

.sticky-cta.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta .btn {
  width: 100%;
  max-width: 22rem;
  box-shadow: 0 10px 30px rgba(30, 42, 100, 0.4);
}

@media (min-width: 768px) {
  .sticky-cta { display: none; }
}

/* ---------- Subpage-specific ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  padding: 1.25rem var(--gutter);
  text-decoration: none;
}

.back-link:hover { color: var(--cta); text-decoration: none; }

.back-link::before { content: "←"; }

.sub-hero {
  padding: 1rem 0 3rem;
  background: var(--paper);
}

.sub-hero__angle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-text);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-bright);
  font-weight: 700;
  margin-bottom: 1rem;
}

.sub-hero__angle::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: currentColor;
  -webkit-mask: var(--star-mask) center / contain no-repeat;
  mask: var(--star-mask) center / contain no-repeat;
}

.sub-hero h1 {
  font-size: clamp(2.125rem, 5vw, 3.25rem);
  max-width: 22ch;
  margin-bottom: 1.5rem;
  color: var(--heading);
  font-weight: 800;
  text-wrap: balance;
}

/* Desktop: headline left, vertical story video right — uses the width
   instead of stacking a lone centered player under the title. */
@media (min-width: 1024px) {
  .sub-hero .wrap:has(.video-player--vertical) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    column-gap: 4rem;
    align-items: center;
  }

  .sub-hero .wrap:has(.video-player--vertical) .video-player--vertical {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    margin: 0;
  }

  .sub-hero .wrap:has(.video-player--vertical) .sub-hero__angle {
    align-self: end;
  }

  .sub-hero .wrap:has(.video-player--vertical) h1 {
    align-self: start;
    margin-bottom: 0;
  }
}

.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--blue-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  border: 1px solid var(--rule-2);
  box-shadow: 0 20px 44px -24px rgba(30, 42, 100, 0.4);
}

/* Vertical (9:16) variant — the story videos are shot for social.
   Full-width on phones, centered column on larger screens. */
.video-player--vertical {
  aspect-ratio: 9 / 16;
  width: min(100%, 400px);
  margin-left: auto;
  margin-right: auto;
}

.video-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--blue-deep);
}

/* In native fullscreen, show the whole frame (letterboxed) instead of
   cropping a vertical clip to fill a landscape screen. Separate rules so
   an unrecognized pseudo-class can't invalidate the others. */
.video-player video:fullscreen { object-fit: contain; background: #000; }
.video-player video:-webkit-full-screen { object-fit: contain; background: #000; }

.video-player__poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 250ms ease;
}

.video-player__play {
  transition: opacity 250ms ease;
}

/* Crossfade instead of a hard cut when a video starts or ends */
.video-player__poster.is-faded,
.video-player__play.is-faded {
  opacity: 0;
  pointer-events: none;
}

.video-player__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
}

/* Legibility scrim behind the label chip */
.video-player__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 24, 48, 0.55) 100%);
}

/* Who + how long — answers "is this worth my tap?" before any bytes load */
.video-player__label {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  background: rgba(20, 24, 48, 0.8);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  pointer-events: none;
}

video::cue {
  background: rgba(20, 24, 48, 0.85);
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
}

.video-player__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--white);
}

.video-player__play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cta);
  border: 2px solid rgba(255, 254, 250, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding-left: 0.3rem;
  transition: transform 150ms ease, background 150ms ease;
  box-shadow: 0 6px 18px rgba(20, 24, 48, 0.35);
}

.video-player__play:hover .video-player__play-icon,
.video-player__play:focus-visible .video-player__play-icon {
  background: var(--cta-hover);
  transform: scale(1.06);
}

.sub-prose {
  max-width: var(--maxw-text);
  margin: 0 auto;
}

.sub-prose p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink);
}

/* Pull quotes — standalone emphasis: italic serif with a quiet red rule,
   matching the “comeback” band quote. No oversized ornament. */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4375rem, 3.5vw, 1.9375rem);
  line-height: 1.32;
  letter-spacing: -0.005em;
  font-weight: 600;
  color: var(--heading);
  margin: 2.75rem 0;
  padding: 0.15rem 0 0.15rem 1.5rem;
  border-left: 3px solid var(--red-bright);
  max-width: 34ch;
}

.pull-quote cite {
  display: block;
  font-family: var(--font-text);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-3);
  font-style: normal;
  margin-top: 0.9rem;
  font-weight: 600;
}

.means-for-you {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.4rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.means-for-you h2 {
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.means-for-you h2::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  background: currentColor;
  -webkit-mask: var(--star-mask) center / contain no-repeat;
  mask: var(--star-mask) center / contain no-repeat;
}

.means-for-you p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: rgba(255, 254, 250, 0.96);
  margin: 0;
  line-height: 1.45;
  letter-spacing: -0.003em;
  text-wrap: pretty;
  max-width: 42ch;
}

/* EBCO 4-tile playlist — vertical (9:16) story videos.
   Phones: horizontal swipe carousel with scroll-snap (next tile peeks in
   from the right edge as the affordance). Tablet: 2×2. Desktop: 4-up. */
.playlist {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(74vw, 300px);
  gap: 1rem;
  margin-bottom: 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
}

.playlist::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .playlist {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    overflow-x: visible;
  }
}

@media (min-width: 1024px) {
  .playlist {
    grid-template-columns: repeat(4, 1fr);
  }
}

.playlist__tile {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 2px rgba(40, 55, 127, 0.05);
  scroll-snap-align: center;
}

/* Tile players sit flush inside the card */
.playlist__tile .video-player {
  border-radius: 0;
  border: 0;
  margin-bottom: 0;
  width: 100%;
  box-shadow: none;
}

.playlist__tile .video-player__play-icon {
  width: 52px;
  height: 52px;
  font-size: 1.1rem;
}

.playlist__poster {
  aspect-ratio: 9 / 16;
  background:
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem;
  position: relative;
}

.playlist__poster::after {
  content: "▶";
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: var(--cta);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  padding-left: 2px;
}

/* Swipe hint shown only where the carousel is active */
.playlist-hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin: 0 0 0.75rem;
}

@media (min-width: 768px) {
  .playlist-hint { display: none; }
}

.playlist__body { padding: 1.25rem 1.25rem 1.5rem; }

.playlist__body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--heading);
}

.playlist__body p {
  font-size: var(--t-small);
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Motion ---------- */

/* Scroll-reveal entrances. The hidden state is applied by JS only (no-JS
   users see everything immediately), only to elements below the fold
   (no flash on load), and reduced-motion users skip it entirely. */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 550ms ease-out, transform 550ms ease-out;
  will-change: opacity, transform;
}

.reveal--visible {
  opacity: 1;
  transform: none;
}

/* Carousel position dots (EBCO playlist, phones only) */
.playlist-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: -2.25rem 0 3rem;
}

.playlist-dots__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--rule-2);
  transition: background 200ms ease, width 200ms ease;
}

.playlist-dots__dot.is-active {
  background: var(--cta);
  width: 20px;
}

@media (min-width: 768px) {
  .playlist-dots { display: none; }
}

/* ---------- Utility ---------- */
.cost-note {
  font-size: 0.8125rem;
  color: var(--ink-3);
  font-style: italic;
  margin-top: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
