/* =====================================================
   Prodigy Consulting Group — Landing Page
   Palette: Navy #16305e / Gold accents / Off-white
   Accessibility: WCAG 2.1 AA color contrast throughout
   ===================================================== */

:root {
  --navy: #16305e;
  --navy-dark: #0d1f3f;
  --navy-light: #1e4180;
  --gold: #c9a227;           /* decorative use on dark backgrounds */
  --gold-light: #f0d060;     /* decorative use on dark backgrounds */
  --gold-text: #8a6a10;      /* AA-compliant gold for text on light bg (5.2:1) */
  --gold-text-lg: #9c7a12;   /* AA-compliant for large text on light bg (4.1:1) */
  --ink: #1d1d1f;
  --gray: #515157;           /* 7.4:1 on white, 6.8:1 on #f5f5f7 */
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --radius: 20px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --focus-ring: 0 0 0 3px #fff, 0 0 0 6px var(--navy);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Focus visibility (WCAG 2.4.7) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}
.services a:focus-visible,
.statement a:focus-visible,
.footer a:focus-visible {
  outline-color: var(--gold-light);
}

/* ---------- Skip link (WCAG 2.4.1) ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 2000;
  background: var(--navy);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--navy);
}

/* Large decorative headline text — AA large-text contrast on white */
.gold-text {
  background: linear-gradient(100deg, #7c5e0c, #a8851a 55%, #7c5e0c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #8a6a10; /* fallback if background-clip unsupported */
}

/* ---------- Scroll reveal (subtle) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.07s; }
.delay-2 { transition-delay: 0.14s; }
.delay-3 { transition-delay: 0.21s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(22, 48, 94, 0.35);
}
.btn-primary:hover { background: var(--navy-light); box-shadow: 0 12px 32px rgba(22, 48, 94, 0.45); }

.btn-lg { padding: 18px 44px; font-size: 18px; }

.btn-ghost {
  color: var(--navy);
  background: transparent;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.btn-ghost:hover { text-decoration-thickness: 2px; }
.btn-ghost .chev { font-size: 20px; text-decoration: none; }

.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 82px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  color: var(--ink);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(22, 48, 94, 0.07); color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  margin-left: 8px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--navy-light) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 90px;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(201, 162, 39, 0.10), transparent 60%),
    radial-gradient(900px 500px at 80% 110%, rgba(22, 48, 94, 0.07), transparent 60%),
    var(--bg);
  position: relative;
}

.hero-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: rgba(22, 48, 94, 0.07);
  border: 1px solid rgba(22, 48, 94, 0.15);
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--navy);
}

.hero-sub {
  font-size: clamp(18px, 2.4vw, 23px);
  color: var(--gray);
  max-width: 660px;
  margin: 26px auto 40px;
  font-weight: 400;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.hero-strip {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 56px;
  font-size: 15px;
  color: var(--gray);
}
.hero-strip strong { color: var(--navy); font-weight: 700; }
.strip-dot { color: rgba(22, 48, 94, 0.35); }

/* ---------- Statement (words light up as you scroll past) ---------- */
.statement {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26vh 0;
  background:
    radial-gradient(1000px 500px at 50% 120%, rgba(201, 162, 39, 0.12), transparent 60%),
    var(--navy-dark);
}

.statement-text {
  max-width: 920px;
  padding: 0 32px;
  font-size: clamp(32px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  text-align: center;
  color: #fff;
}

/* Words fully visible by default (no-JS / reduced motion). JS enables dimming. */
.statement-text.js-dim .word { opacity: 0.4; }
.statement-text .word {
  transition: opacity 0.35s var(--ease);
}
.statement-text.js-dim .word.lit { opacity: 1; }
.statement-text .word.gold { color: var(--gold-light); } /* 9.9:1 on navy-dark */

/* ---------- Stats ---------- */
.stats {
  padding: 130px 0;
  background: var(--bg-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.stat {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(22, 48, 94, 0.06);
  border-top: 3px solid var(--gold);
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(13, 31, 63, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.9s var(--ease);
}
.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(22, 48, 94, 0.14);
}

.stat-number {
  font-size: clamp(40px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-plus { color: var(--gold-text-lg); }

.stat-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold-text);
  margin: 16px 0 10px;
}

.stat p { font-size: 15px; color: var(--gray); }

/* ---------- Card icons ---------- */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(22, 48, 94, 0.07);
  color: var(--navy);
  margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------- Story ---------- */
.story { padding: 130px 0; }

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.story-text p:not(.eyebrow) {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.story-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-card {
  background: var(--bg-soft);
  border: 1px solid rgba(22, 48, 94, 0.05);
  border-radius: var(--radius);
  padding: 30px 34px;
  transition: transform 0.4s var(--ease), background 0.4s, box-shadow 0.4s, opacity 0.9s var(--ease);
}
.story-card:hover {
  transform: translateX(8px);
  background: #fff;
  box-shadow: 0 12px 32px rgba(22, 48, 94, 0.1);
}

.story-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.story-card p { font-size: 15px; color: var(--gray); }

/* ---------- Services ---------- */
.services {
  padding: 130px 0;
  background:
    radial-gradient(1000px 500px at 15% 0%, rgba(201, 162, 39, 0.08), transparent 55%),
    var(--navy);
  color: #fff;
}
.services .eyebrow { color: var(--gold-light); }   /* 8.4:1 on navy */
.services .section-title { color: #fff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.service {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s, opacity 0.9s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(240, 208, 96, 0.45);
}

.service-icon {
  background: rgba(240, 208, 96, 0.12);
  color: var(--gold-light);
}

.service h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--gold-light); }
.service p { font-size: 15px; color: rgba(255, 255, 255, 0.82); } /* 10:1 on navy */

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 150px 0;
  text-align: center;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(201, 162, 39, 0.1), transparent 60%),
    var(--bg);
}
.cta-banner h2 {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 40px;
}

/* ---------- Contact ---------- */
.contact {
  padding: 130px 0;
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--gray);
}
.contact-list strong { color: var(--ink); font-weight: 700; }
.contact-list a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-list a:hover { text-decoration-thickness: 2px; }
.contact-icon { flex-shrink: 0; margin-bottom: 0; }

.contact-form {
  background: #fff;
  border: 1px solid rgba(22, 48, 94, 0.06);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: 0 8px 40px rgba(13, 31, 63, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.req { color: #9d1f15; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  border: 1px solid #86868b;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(22, 48, 94, 0.15);
}

/* Honeypot — hidden from everyone; bots fill it, humans never see it */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 13px;
  color: var(--gray);
  margin: 4px 0 16px;
}

.form-status {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  min-height: 22px;
}
.form-status.ok { color: #14682d; }   /* 6.3:1 on white */
.form-status.err { color: #9d1f15; }  /* 7:1 on white */

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 72px 0 0;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  height: 78px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer-brand p { max-width: 280px; }

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-address a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.footer-links a:hover,
.footer-address a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.footer-address { font-style: normal; line-height: 2; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  padding-bottom: 24px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Inner pages (accessibility statement) ---------- */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 150px 24px 100px;
}
.page h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 12px;
}
.page h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 12px;
}
.page p, .page li { color: var(--gray); font-size: 17px; line-height: 1.7; margin-bottom: 14px; }
.page ul { list-style: disc; padding-left: 24px; }
.page a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.page-updated { font-size: 15px; margin-bottom: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .story-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .nav-inner { height: 80px; }
  .nav-logo img { height: 60px; }

  .nav-links {
    position: absolute;
    top: 80px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .nav-links.open { max-height: 360px; }
  .nav-links a {
    padding: 16px 24px;
    width: 100%;
    text-align: center;
    border-radius: 0;
  }
  .nav-cta { border-radius: 0 !important; margin-left: 0; }
  .nav-toggle { display: flex; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 22px; }
}

/* ---------- Accessibility widget ---------- */
.a11y-widget {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1500;
}

.a11y-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(13, 31, 63, 0.4);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.a11y-btn:hover { background: var(--navy-light); transform: scale(1.06); }
.a11y-btn svg { width: 30px; height: 30px; }

.a11y-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 264px;
  background: #fff;
  border: 1px solid rgba(22, 48, 94, 0.12);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(13, 31, 63, 0.25);
  padding: 18px;
}

.a11y-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.a11y-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.a11y-close {
  background: none;
  border: none;
  font-size: 16px;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.a11y-close:hover { background: var(--bg-soft); color: var(--ink); }

.a11y-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid rgba(22, 48, 94, 0.08);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}
.a11y-opt:hover { border-color: var(--navy); }

.a11y-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #86868b;
  background: #fff;
  flex-shrink: 0;
}
.a11y-opt[aria-pressed="true"] {
  background: rgba(22, 48, 94, 0.08);
  border-color: var(--navy);
}
.a11y-opt[aria-pressed="true"] .a11y-check {
  border-color: var(--navy);
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

.a11y-reset {
  width: 100%;
  padding: 10px;
  margin: 4px 0 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--navy);
  background: none;
  border: 1px solid rgba(22, 48, 94, 0.25);
  border-radius: 10px;
  cursor: pointer;
}
.a11y-reset:hover { background: var(--bg-soft); }

.a11y-link {
  display: block;
  text-align: center;
  font-size: 14px;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .a11y-widget { bottom: 16px; right: 16px; }
}

/* ---------- Accessibility preference: larger text ---------- */
html.a11y-large-text body { zoom: 1.18; }

/* ---------- Accessibility preference: high contrast ---------- */
html.a11y-contrast {
  --ink: #000000;
  --gray: #2f2f33;
  --gold-text: #5f490b;
  --gold-text-lg: #5f490b;
  --navy: #102647;
  --navy-light: #16305e;
  --bg-soft: #ffffff;
}
html.a11y-contrast .gold-text {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #5f490b;
}
html.a11y-contrast .service p { color: #ffffff; }
html.a11y-contrast .services { background: var(--navy-dark); }
html.a11y-contrast .service { border-color: rgba(255, 255, 255, 0.4); }
html.a11y-contrast .footer,
html.a11y-contrast .footer-bottom { color: #ffffff; }
html.a11y-contrast .footer-links a,
html.a11y-contrast .footer-address a { color: #ffffff; }
html.a11y-contrast .form-field input,
html.a11y-contrast .form-field textarea { border-color: #000; }
html.a11y-contrast .stat,
html.a11y-contrast .story-card,
html.a11y-contrast .contact-form { border-color: rgba(0, 0, 0, 0.35); }
html.a11y-contrast .statement-text.js-dim .word { opacity: 1; }

/* ---------- Accessibility preference: read aloud highlight ---------- */
.a11y-reading {
  outline: 3px solid var(--gold) !important;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Accessibility preference: underline links ---------- */
html.a11y-underline a { text-decoration: underline !important; text-underline-offset: 3px; }

/* ---------- Accessibility preference: stop animations ---------- */
html.a11y-no-motion * {
  animation: none !important;
  transition: none !important;
}
html.a11y-no-motion { scroll-behavior: auto; }
html.a11y-no-motion .reveal { opacity: 1; transform: none; }
html.a11y-no-motion .statement-text.js-dim .word { opacity: 1; }

/* ---------- Reduced motion (WCAG 2.3.3) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .statement-text.js-dim .word { opacity: 1; transition: none; }
  .hero-scroll-hint span { animation: none; }
  .btn, .stat, .story-card, .service { transition: none; }
  .btn:hover, .stat:hover, .story-card:hover, .service:hover { transform: none; }
}
