/* AMUZI SPORTS — BASE RESET & TYPOGRAPHY */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

/* ONE continuous cinematic glow-field behind the entire page — fixed to the
   viewport (not the document), so there is a single unbroken canvas with no
   seams between sections, on every page. A position:fixed element (rather
   than background-attachment:fixed) so it also works correctly on iOS
   Safari. Every section below is transparent so this shows through. */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.site-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.42;
}
.site-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,45,76,0.86) 0%, rgba(15,45,76,0.76) 32%, rgba(10,32,57,0.94) 100%);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--ink);
}
/* Manual p.41 — Big Shoulders headlines are set in all caps with an 8 degree
   slant simulating italics. Applied to display headlines only; h3/h4 act as
   labels and stay upright so dense card grids don't skew. */
h1, h2 {
  display: block;
  transform: skewX(var(--head-slant));
  /* Origin at the bottom keeps the baseline where it was and leans the tops
     to the right, so nothing is pushed off the left edge. The right padding
     is the headroom that lean needs: many section wrappers are
     overflow:hidden, and without it the top-right of a long headline clips. */
  transform-origin: left bottom;
  padding-right: 0.22em;
}
/* Centred panels: mirror the slant headroom so the headline stays optically
   centred rather than sitting a fraction left. */
.final-cta h1, .final-cta h2, .stat-card h1, .stat-card h2,
.afa-credential h1, .afa-credential h2 { padding-left: 0.22em; }
/* Anything that must not lean — card titles, table headers, nav. */
h3, h4, .no-slant, .card h3, .card h4 { transform: none; }
/* Headings inside a dark panel or over media stay white. */
.hero h1, .hero h2,
.coe-feature h1, .coe-feature h2, .coe-feature h3, .coe-feature h4,
.final-cta h2, .pathway-flow__card h3, .card--dark h3, .card--dark h4 { color: var(--white); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: 0; text-transform: none; font-weight: 700; }

p { margin: 0; }

/* Manual p.42 — HIGHLIGHTERS. Section labels sit on a communication-yellow
   block with institutional blue type, exactly as the manual sets its own
   section headings. Set in Big Shoulders caps. */
.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  background: var(--com-yellow);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 3px 10px 2px;
  line-height: 1.25;
}
.eyebrow::before { content: none; }
.eyebrow--light,
.eyebrow--saffron,
.eyebrow--gold { color: #000000; background: var(--com-yellow); }
/* On a gold ground the yellow bar needs an edge to separate it; the type
   stays black, as it does on every other yellow highlighter. */
.on-gold .eyebrow,
.eyebrow--on-gold { color: #000000; background: var(--com-yellow); border: 1px solid rgba(0,0,0,0.55); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-65);
  max-width: 56ch;
}

.small { font-size: var(--fs-small); }
.caption {
  font-size: var(--fs-caption);
  color: var(--ink-45);
  line-height: 1.5;
}

.note-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-accent-soft);
  background: rgba(57,151,247,0.14);
  border: 1px solid rgba(57,151,247,0.4);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Sections are transparent — the single fixed .site-bg glow-field shows
   through continuously behind the whole page, with no per-section seams. */
.section { padding-block: var(--sp-9); position: relative; background: transparent; }
.section--tight { padding-block: var(--sp-7); }
.section--dark, .section--pearl, .section--white { background: transparent; color: var(--ink-85); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }

.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; }

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

.skip-link {
  position: absolute; left: var(--sp-4); top: -60px;
  background: var(--saffron); color: var(--white);
  padding: var(--sp-3) var(--sp-5); border-radius: var(--radius-sm);
  z-index: 1000; transition: top 0.2s var(--ease-premium);
  font-family: var(--font-sub); font-weight: 600;
}
.skip-link:focus { top: var(--sp-4); }

:focus-visible {
  outline: 2px solid var(--blue-accent-soft);
  outline-offset: 3px;
}

::selection { background: var(--saffron); color: var(--white); }

/* Reveal-on-scroll utility (JS toggles .is-visible) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }
