:root {
  --ao-ink: #0d1a2b;
  --ao-ink-soft: #33465f;
  --ao-ink-muted: #5b6b81;
  --ao-surface: #ffffff;
  --ao-surface-alt: #f2f6fb;
  --ao-surface-deep: #0a1626;

  --ao-brand: #1a5d8f;
  --ao-brand-deep: #0f3c5e;
  --ao-brand-soft: #e6f0f7;

  --ao-accent: #e0b64b;
  --ao-accent-deep: #a9862b;
  --ao-accent-soft: #fdf6e2;

  --ao-line: rgba(13, 26, 43, 0.12);
  --ao-line-strong: rgba(13, 26, 43, 0.22);

  --ao-radius-sm: 8px;
  --ao-radius: 14px;
  --ao-radius-lg: 24px;

  --ao-shadow-sm: 0 6px 18px rgba(13, 26, 43, 0.08);
  --ao-shadow: 0 18px 45px rgba(13, 26, 43, 0.14);
  --ao-shadow-lg: 0 30px 70px rgba(13, 26, 43, 0.22);

  --ao-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ao-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ao-container: 1180px;
  --ao-header-h: 82px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ao-font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ao-ink);
  background: var(--ao-surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--ao-font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ao-ink);
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

p { margin: 0 0 1rem; color: var(--ao-ink-soft); }

a { color: var(--ao-brand-deep); text-decoration: none; }
a:hover { color: var(--ao-accent-deep); }

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

.ao-container {
  width: 100%;
  max-width: var(--ao-container);
  margin: 0 auto;
  padding: 0 24px;
}

.ao-section { padding: 88px 0; position: relative; }
.ao-section--tight { padding: 56px 0; }
.ao-section--alt { background: var(--ao-surface-alt); }
.ao-section--dark { background: var(--ao-surface-deep); color: #eaf1f8; }
.ao-section--dark h2, .ao-section--dark h3 { color: #ffffff; }
.ao-section--dark p { color: #c3d2e2; }

.ao-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ao-font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ao-brand);
  margin-bottom: 16px;
}
.ao-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--ao-accent);
}

.ao-lede { font-size: 1.12rem; max-width: 62ch; color: var(--ao-ink-soft); }

.ao-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.ao-btn--primary { background: var(--ao-accent); color: #2a1f04; }
.ao-btn--primary:hover { background: #f0c85f; color: #2a1f04; transform: translateY(-2px); box-shadow: var(--ao-shadow); }
.ao-btn--ghost { background: transparent; border-color: rgba(255,255,255,0.55); color: #ffffff; }
.ao-btn--ghost:hover { background: rgba(255,255,255,0.12); color: #ffffff; transform: translateY(-2px); }
.ao-btn--outline { background: transparent; border-color: var(--ao-brand); color: var(--ao-brand-deep); }
.ao-btn--outline:hover { background: var(--ao-brand); color: #ffffff; transform: translateY(-2px); }

.ao-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.ao-header.is-stuck {
  box-shadow: 0 8px 30px rgba(13, 26, 43, 0.1);
  border-color: var(--ao-line);
}
.ao-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--ao-header-h);
}
.ao-header__brand { display: flex; align-items: center; gap: 12px; }
.ao-header__brand span { font-family: var(--ao-font-display); font-size: 1.25rem; font-weight: 600; color: var(--ao-ink); }
.ao-header__contacts { display: flex; align-items: center; gap: 26px; font-size: 0.86rem; color: var(--ao-ink-soft); }
.ao-header__contacts i { color: var(--ao-accent-deep); margin-right: 6px; }
.ao-header__contacts a { color: var(--ao-ink-soft); }

.ao-nav { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.ao-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ao-ink);
  position: relative;
  padding: 6px 0;
}
.ao-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--ao-accent);
  transition: width 0.28s ease;
}
.ao-nav a:hover::after { width: 100%; }

.ao-burger {
  display: none;
  background: none;
  border: 1px solid var(--ao-line-strong);
  border-radius: var(--ao-radius-sm);
  padding: 8px 12px;
  color: var(--ao-ink);
  font-size: 1.15rem;
}

.ao-hero {
  position: relative;
  color: #ffffff;
  padding: 140px 0 120px;
  background-size: cover;
  background-position: center;
}
.ao-hero h1 { color: #ffffff; max-width: 16ch; }
.ao-hero p { color: #e2ecf5; max-width: 56ch; font-size: 1.14rem; }
.ao-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.ao-hero__panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--ao-radius-lg);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.ao-hero__panel h3 { color: #ffffff; }
.ao-hero__stat { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.ao-hero__stat strong { font-family: var(--ao-font-display); font-size: 2rem; color: var(--ao-accent); }
.ao-hero__stat span { color: #dbe7f2; font-size: 0.92rem; }

.ao-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ao-card {
  background: var(--ao-surface);
  border: 1px solid var(--ao-line);
  border-radius: var(--ao-radius);
  padding: 34px 30px;
  box-shadow: var(--ao-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ao-card:hover { transform: translateY(-6px); box-shadow: var(--ao-shadow); border-color: var(--ao-brand-soft); }
.ao-card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--ao-brand-soft);
  color: var(--ao-brand-deep);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.ao-media-card { overflow: hidden; border-radius: var(--ao-radius); background: var(--ao-surface); border: 1px solid var(--ao-line); box-shadow: var(--ao-shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.ao-media-card:hover { transform: translateY(-6px); box-shadow: var(--ao-shadow); }
.ao-media-card img { width: 100%; height: 220px; object-fit: cover; }
.ao-media-card__body { padding: 24px 26px 30px; }
.ao-media-card__meta { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ao-accent-deep); font-weight: 600; margin-bottom: 10px; }

.ao-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ao-split__media { border-radius: var(--ao-radius-lg); overflow: hidden; box-shadow: var(--ao-shadow-lg); }
.ao-split__media img { width: 100%; height: 100%; object-fit: cover; }

.ao-feature-list { list-style: none; padding: 0; margin: 0; }
.ao-feature-list li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ao-ink-soft); }
.ao-feature-list li i { position: absolute; left: 0; top: 4px; color: var(--ao-accent-deep); }

.ao-number-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ao-number { text-align: left; padding: 26px 22px; border-left: 3px solid var(--ao-accent); background: rgba(255,255,255,0.04); border-radius: 0 var(--ao-radius) var(--ao-radius) 0; }
.ao-number strong { display: block; font-family: var(--ao-font-display); font-size: 2.4rem; color: var(--ao-accent); line-height: 1; margin-bottom: 8px; }
.ao-number span { font-size: 0.9rem; color: #c3d2e2; }

.ao-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: ao-step; }
.ao-step { position: relative; padding: 30px 26px; border: 1px dashed var(--ao-line-strong); border-radius: var(--ao-radius); background: var(--ao-surface); }
.ao-step::before {
  counter-increment: ao-step;
  content: counter(ao-step, decimal-leading-zero);
  font-family: var(--ao-font-display);
  font-size: 1.6rem;
  color: var(--ao-accent-deep);
  display: block;
  margin-bottom: 10px;
}

.ao-review { background: var(--ao-surface); border-radius: var(--ao-radius-lg); padding: 32px; border: 1px solid var(--ao-line); box-shadow: var(--ao-shadow-sm); height: 100%; }
.ao-review__stars { color: var(--ao-accent); margin-bottom: 14px; letter-spacing: 2px; }
.ao-review__person { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.ao-review__person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.ao-review__person strong { display: block; font-size: 0.95rem; }
.ao-review__person span { font-size: 0.82rem; color: var(--ao-ink-muted); }

.ao-price-card { background: var(--ao-surface); border: 1px solid var(--ao-line); border-radius: var(--ao-radius-lg); padding: 34px 30px; box-shadow: var(--ao-shadow-sm); display: flex; flex-direction: column; height: 100%; }
.ao-price-card--featured { border-color: var(--ao-accent); box-shadow: var(--ao-shadow); }
.ao-price-card__amount { font-family: var(--ao-font-display); font-size: 2.4rem; color: var(--ao-brand-deep); margin: 12px 0 4px; }
.ao-price-card ul { list-style: none; padding: 0; margin: 20px 0 26px; }
.ao-price-card ul li { padding: 8px 0; border-bottom: 1px solid var(--ao-line); font-size: 0.94rem; color: var(--ao-ink-soft); }
.ao-price-card .ao-btn { margin-top: auto; justify-content: center; }

.ao-form { background: var(--ao-surface); padding: 40px; border-radius: var(--ao-radius-lg); box-shadow: var(--ao-shadow); border: 1px solid var(--ao-line); }
.ao-form label { font-size: 0.88rem; font-weight: 600; color: var(--ao-ink); margin-bottom: 6px; display: block; }
.ao-form .form-control, .ao-form .form-select {
  border-radius: var(--ao-radius-sm);
  border: 1px solid var(--ao-line-strong);
  padding: 12px 16px;
  font-size: 0.96rem;
}
.ao-form .form-control:focus, .ao-form .form-select:focus {
  border-color: var(--ao-brand);
  box-shadow: 0 0 0 0.2rem rgba(26, 93, 143, 0.18);
}

.ao-cta-band {
  position: relative;
  padding: 90px 0;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.ao-cta-band h2 { color: #ffffff; }

.ao-map-frame { border-radius: var(--ao-radius-lg); overflow: hidden; box-shadow: var(--ao-shadow); border: 1px solid var(--ao-line); }
.ao-map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

.ao-faq .accordion-item { border: 1px solid var(--ao-line); border-radius: var(--ao-radius) !important; margin-bottom: 14px; overflow: hidden; }
.ao-faq .accordion-button { font-weight: 600; color: var(--ao-ink); background: var(--ao-surface); }
.ao-faq .accordion-button:not(.collapsed) { background: var(--ao-brand-soft); color: var(--ao-brand-deep); box-shadow: none; }
.ao-faq .accordion-button:focus { box-shadow: none; }

.ao-footer { background: var(--ao-surface-deep); color: #b9c9db; padding: 72px 0 30px; }
.ao-footer h4 { color: #ffffff; font-size: 1rem; letter-spacing: 0.04em; margin-bottom: 18px; font-family: var(--ao-font-body); font-weight: 600; }
.ao-footer a { color: #b9c9db; }
.ao-footer a:hover { color: var(--ao-accent); }
.ao-footer ul { list-style: none; padding: 0; margin: 0; }
.ao-footer ul li { margin-bottom: 10px; font-size: 0.92rem; }
.ao-footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 46px; padding-top: 24px; font-size: 0.82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8fa3b8; }
.ao-footer__legal { font-size: 0.8rem; color: #8fa3b8; }

.ao-legal-content h2 { font-size: 1.5rem; margin-top: 2rem; }
.ao-legal-content h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.ao-legal-content p, .ao-legal-content li { color: var(--ao-ink-soft); }

.ao-back-top {
  position: fixed;
  right: 22px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--ao-brand);
  color: #ffffff;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1040;
}
.ao-back-top.is-visible { opacity: 1; pointer-events: auto; }
.ao-back-top:hover { transform: translateY(-3px); background: var(--ao-brand-deep); }

.aocookie-shell {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1055;
  display: flex;
  justify-content: center;
  padding: 18px;
  pointer-events: none;
}
.aocookie-card {
  pointer-events: auto;
  width: 100%;
  max-width: 1040px;
  background: #0d1a2b;
  color: #e6eef6;
  border: 1px solid rgba(224, 182, 75, 0.45);
  border-radius: var(--ao-radius-lg);
  padding: 24px 28px;
  box-shadow: var(--ao-shadow-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  transform: translateY(0);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.aocookie-card.is-hidden { transform: translateY(140%); opacity: 0; }
.aocookie-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ao-accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.aocookie-text { margin: 0; font-size: 0.94rem; color: #c8d6e6; }
.aocookie-text a { color: var(--ao-accent); text-decoration: underline; }
.aocookie-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.aocookie-btn {
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.aocookie-btn--accept { background: var(--ao-accent); color: #2a1f04; }
.aocookie-btn--accept:hover { background: #f0c85f; transform: translateY(-2px); }
.aocookie-btn--decline { background: transparent; border-color: rgba(255,255,255,0.4); color: #e6eef6; }
.aocookie-btn--decline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

@media (max-width: 991px) {
  .ao-header__contacts { display: none; }
  .ao-burger { display: inline-flex; }
  .ao-nav {
    display: none;
    position: absolute;
    top: var(--ao-header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 28px;
    background: #ffffff;
    box-shadow: var(--ao-shadow);
  }
  .ao-nav.is-open { display: flex; }
  .ao-hero__grid, .ao-split { grid-template-columns: 1fr; }
  .ao-cards, .ao-steps, .ao-number-strip { grid-template-columns: 1fr 1fr; }
  .aocookie-card { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .ao-section { padding: 64px 0; }
  .ao-cards, .ao-steps, .ao-number-strip { grid-template-columns: 1fr; }
  .ao-hero { padding: 100px 0 80px; }
  .ao-form { padding: 26px; }
  .aocookie-actions { width: 100%; }
  .aocookie-btn { flex: 1; text-align: center; }
}
/* === Contrast fixes (appended) === */
/* Footer text sits on the deep navy surface (--ao-surface-deep #0a1626).
   The base `p { color: var(--ao-ink-soft) }` rule made paragraphs too dark there. */
.ao-footer .ao-container p,
.ao-footer .ao-footer__bottom p {
  color: #c8d6e6;
}
.ao-footer .ao-footer__bottom {
  color: #a9bccf;
}
.ao-footer__legal {
  color: #a9bccf;
}

/* Eyebrow labels rendered over the dark hero image / dark sections
   need a light colour instead of the mid-tone brand blue. */
.ao-hero .ao-eyebrow,
.ao-section--dark .ao-eyebrow {
  color: #dbe7f2;
}

/* ---- Contrast fixes: footer paragraphs inherit dark ink from global `p` rule ---- */
.ao-footer p,
.ao-footer .ao-footer__bottom,
.ao-footer .ao-footer__bottom p {
  color: #c8d6e6;
}
.ao-footer__bottom,
.ao-footer__bottom p {
  color: #c8d6e6;
}
.ao-footer a,
.ao-footer__legal {
  color: #d3e2f0;
}
.ao-footer a:hover,
.ao-footer__legal:hover {
  color: var(--ao-accent);
}

/* ---- Contrast fix: eyebrow label over dark hero/dark sections ---- */
.ao-hero .ao-eyebrow,
.ao-section--dark .ao-eyebrow,
.ao-cta-band .ao-eyebrow,
.ao-hero .text-white .ao-eyebrow {
  color: var(--ao-accent);
}

/* ---- Inline confirmation note for enhanced forms ---- */
.ao-form__note {
  margin-top: 14px;
  margin-bottom: 0;
  padding: 12px 16px;
  border-radius: var(--ao-radius-sm);
  background: var(--ao-brand-soft);
  color: var(--ao-brand-deep);
  font-weight: 600;
  font-size: 0.94rem;
}

/* ------------------------------------------------------------------
   Contrast + layout overrides (appended, no original rules removed)
   ------------------------------------------------------------------ */

/* Headings inside dark bands must stay readable on the photo overlay */
.ao-section--dark h1,
.ao-hero h1 {
  color: #ffffff;
}

/* Eyebrow labels on dark backgrounds need a light accent tone */
.ao-section--dark .ao-eyebrow,
.ao-hero .ao-eyebrow,
.ao-cta-band .ao-eyebrow {
  color: #f2d187;
}

/* Paragraph text and small print in the footer were inheriting the
   light-surface ink colour (#33465f) on the near-black footer. */
.ao-footer p,
.ao-footer__bottom p,
.ao-footer li,
.ao-footer span,
.ao-footer .small {
  color: #cfdceb;
}

/* Keep the footer logo visible above any decorative layering */
.ao-footer img {
  position: relative;
  z-index: 2;
  filter: none;
  opacity: 1;
}

/* Inline confirmation shown after the blog enquiry form is sent */
.ao-form__note {
  color: #e2ecf5;
  font-size: 0.94rem;
}
.ao-section:not(.ao-section--dark) .ao-form__note { color: #33465f; }

/* ------------------------------------------------------------------
   Contrast fix: paragraphs inside the photo CTA band.
   The global `p { color: var(--ao-ink-soft) }` rule painted dark ink
   (#33465f) on top of the darkened hero photo, so the band text was
   unreadable. Match the band's own light text colour instead.
   ------------------------------------------------------------------ */
.ao-cta-band p,
.ao-cta-band .ao-lede,
.ao-cta-band li {
  color: #eef4fa;
}

.ao-cta-band .ao-btn {
  text-align: center;
}

/* ------------------------------------------------------------------
   Contrast fix: outline buttons placed on the dark hero panel
   The base .ao-btn--outline uses dark brand ink (#0f3c5e) which is
   unreadable on the translucent dark hero panel / hero photo overlay.
   Scoped to dark backgrounds only so light-surface outline buttons keep
   their original styling.
   ------------------------------------------------------------------ */
.ao-hero .ao-btn--outline,
.ao-section--dark .ao-btn--outline,
.ao-cta-band .ao-btn--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
}
.ao-hero .ao-btn--outline:hover,
.ao-hero .ao-btn--outline:focus-visible,
.ao-section--dark .ao-btn--outline:hover,
.ao-section--dark .ao-btn--outline:focus-visible,
.ao-cta-band .ao-btn--outline:hover,
.ao-cta-band .ao-btn--outline:focus-visible {
  background: #ffffff;
  color: var(--ao-brand-deep);
  border-color: #ffffff;
}

/* Slightly brighten the eyebrow label over the darkened photo CTA band
   so its sampled contrast clears the 4.5 ratio for small text. */
.ao-cta-band .ao-eyebrow {
  color: #fff2cd;
}

/* ------------------------------------------------------------------
   Contrast fix: never leave animated sections at reduced opacity.
   The AOS library sets `opacity: 0` on every [data-aos] element until
   its scroll animation finishes, so anything inside a section that is
   mid-transition (or never triggered, e.g. if the CDN script fails to
   load) is painted as a translucent wash over the white surface. That
   dropped measured contrast to ~3.9:1 for headings and ~2.9:1 for body
   copy inside `.ao-card` on the contacts page.
   Forcing full opacity keeps the slide-up motion (transform only) while
   guaranteeing text is always rendered at its true colour, which meets
   WCAG AA on the light card surfaces.
   ------------------------------------------------------------------ */
[data-aos][data-aos] {
  opacity: 1 !important;
}

/* The fade-* variants animate opacity only; keep the cue via transform so
   the reveal still reads as motion without lowering text contrast. */
[data-aos^="fade"][data-aos^="fade"]:not(.aos-animate) {
  opacity: 1 !important;
  transform: translate3d(0, 12px, 0);
}

/* Belt-and-braces: card copy on the light surface gets the darker ink so
   the small body text keeps a comfortable margin above 4.5:1. */
.ao-card h1,
.ao-card h2,
.ao-card h3,
.ao-card h4 {
  color: #0d1a2b;
}

.ao-card p,
.ao-card li,
.ao-card span {
  color: #2b3d56;
}

/* ------------------------------------------------------------------
   Guard for the card-ink contrast rules above: `.ao-card` is also used
   inside the deep-navy `.ao-section--dark` band (trainer cards), where
   dark ink on a near-black surface would fail badly. Higher-specificity
   rules restore the light text colours for that context only.
   ------------------------------------------------------------------ */
.ao-section--dark .ao-card h1,
.ao-section--dark .ao-card h2,
.ao-section--dark .ao-card h3,
.ao-section--dark .ao-card h4 {
  color: #ffffff;
}

.ao-section--dark .ao-card p,
.ao-section--dark .ao-card li,
.ao-section--dark .ao-card span {
  color: #c3d2e2;
}

/* ------------------------------------------------------------------
   Contrast fix (final): `.ao-card` always sits on its own opaque white
   surface (`background: var(--ao-surface)`), even when placed inside the
   deep-navy `.ao-section--dark` band. An earlier guard rule forced white
   text for cards in dark sections, which produced white-on-white headings
   (ratio 1:1) and pale blue body copy (ratio 1.54:1) on this page.
   Restore the readable dark ink for the card surface itself.
   ------------------------------------------------------------------ */
.ao-section--dark .ao-card,
.ao-section--dark .ao-card h1,
.ao-section--dark .ao-card h2,
.ao-section--dark .ao-card h3,
.ao-section--dark .ao-card h4 {
  color: #0d1a2b;
}

.ao-section--dark .ao-card p,
.ao-section--dark .ao-card li,
.ao-section--dark .ao-card span {
  color: #2b3d56;
}

/* Keep supporting copy inside those light cards comfortably above 4.5:1 */
.ao-section--dark .ao-card .ao-card__icon {
  color: var(--ao-brand-deep);
  background: var(--ao-brand-soft);
}

/* ------------------------------------------------------------------
   Contrast fix: media-card meta labels.
   `--ao-accent-deep` (#a9862b) measures ~3.4:1 on the white figure
   surface, below the 4.5:1 threshold for this small uppercase text.
   Use a darker gold that clears 4.5:1 while keeping the accent feel.
   ------------------------------------------------------------------ */
.ao-media-card__meta {
  color: #6b5210;
}

/* Guard in case a media card is ever placed on a dark band */
.ao-section--dark .ao-media-card__meta,
.ao-cta-band .ao-media-card__meta {
  color: #f2d187;
}

/* ------------------------------------------------------------------
   Contrast repairs (final pass)
   ------------------------------------------------------------------ */

/* 1) Feature lists placed directly inside the deep-navy section.
   `.ao-feature-list li { color: var(--ao-ink-soft) }` is a mid dark blue
   (#33465f) that is unreadable on #0a1626. The `.ao-section--dark p`
   helper never applied because list items are not <p>. Use the same light
   tone the section already uses for body copy. */
.ao-section--dark .ao-feature-list li,
.ao-section--dark .ao-feature-list li i {
  color: #dbe7f2;
}

/* 2) Correction of an earlier over-eager guard.
   `.ao-card` keeps a WHITE surface even inside `.ao-section--dark`, so the
   previously appended dark-band guard (white headings / pale-grey copy)
   left white text on a white card. Restore readable dark ink for cards on
   the light card surface regardless of the surrounding band. Appended last
   so it wins over the earlier same-specificity guard. */
.ao-section--dark .ao-card h1,
.ao-section--dark .ao-card h2,
.ao-section--dark .ao-card h3,
.ao-section--dark .ao-card h4 {
  color: #0d1a2b;
}

.ao-section--dark .ao-card p,
.ao-section--dark .ao-card li,
.ao-section--dark .ao-card span {
  color: #2b3d56;
}

/* the icon badge inside those white cards keeps its brand tint */
.ao-section--dark .ao-card .ao-card__icon {
  color: var(--ao-brand-deep);
}

/* 3) Media-card meta labels: --ao-accent-deep (#a9862b) on the white card
   only reaches ~3.4:1. Darken to a deeper gold that clears 4.5:1. */
.ao-media-card__meta {
  color: #8a6a1a;
}
