/* ==========================================================================
   SAFRA Annual Report 2026 — Concept 2
   Palette sampled directly from SAFRA's FY2024/2025 print report.
   Grid/breakpoints/spacing follow the Singapore Government Design System
   (designsystem.gov.sg) foundations: 320/512/768/1024/1280 breakpoints,
   Inter as the system typeface, 4/8/12-column responsive grid.
   All contrast pairs below are checked against WCAG 2.1 AA (4.5:1 body,
   3:1 large text/UI).
   ========================================================================== */

:root {
  --red: #F63440;        /* brand accent — large text / decorative only */
  --red-deep: #C31C29;   /* AA-safe red for body-scale text on light bg */
  --orange: #F4866B;     /* decorative accent */
  --cream: #FEEFE0;      /* page background */
  --cream-card: #FFFFFF; /* card surfaces on cream (skip-one-step contrast) */
  --ink: #221B1A;        /* darkest surface / headings */
  --ink-soft: #3D3738;   /* body text on light backgrounds */
  --white: #FFFFFF;

  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --space-3: 0.5rem;
  --space-4: 0.75rem;
  --space-5: 1rem;
  --space-6: 1.25rem;
  --space-7: 1.5rem;
  --space-8: 2rem;
  --space-9: 2.5rem;
  --space-10: 3rem;
  --space-12: 4rem;
  --space-14: 5rem;

  --radius: 14px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red-deep); }

.sr-only {
  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;
  top: -100px;
  left: var(--space-5);
  background: var(--ink);
  color: var(--white);
  padding: var(--space-4) var(--space-6);
  border-radius: 0 0 8px 8px;
  z-index: 1000;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--red-deep);
  outline-offset: 2px;
}

.demo-flag {
  background: var(--ink);
  color: var(--white);
  font-size: 0.8125rem;
  text-align: center;
  padding: var(--space-3) var(--space-5);
}

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.wrap.narrow { max-width: 780px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(34,27,26,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-6);
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--red);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.7rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle-bar::before { position: absolute; top: -6px; }
.nav-toggle-bar::after { position: absolute; top: 6px; }

.primary-nav {
  display: flex;
  gap: var(--space-7);
}
.primary-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
}
.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--red-deep); }

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-5);
    border-bottom: 1px solid rgba(34,27,26,0.08);
    display: none;
  }
  .primary-nav.is-open { display: flex; }
}

/* ---------- Section rhythm ---------- */
section { padding-block: var(--space-14); }
.section-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-deep);
  margin: 0 0 var(--space-4);
}
.section-tag.light { color: var(--orange); }
.section-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  color: var(--ink);
  margin: 0 0 var(--space-6);
  line-height: 1.15;
}
.section-heading.light { color: var(--white); }
.lede {
  font-size: 1.05rem;
  max-width: 62ch;
  color: var(--ink-soft);
}
.lede.light { color: rgba(255,255,255,0.88); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-block: var(--space-14) var(--space-12);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-kenburns 20s var(--ease) forwards;
}
@keyframes hero-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,20,18,0.55) 0%, rgba(34,20,18,0.35) 40%, rgba(34,20,18,0.92) 100%);
}
.hero-content { position: relative; color: var(--white); }

/* Hero text is above the fold on load — it must never depend on JS/scroll
   position to become visible, so it gets a CSS-only entrance, not .reveal. */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero-content > * { animation: hero-fade-up 0.7s var(--ease) both; }
.hero-content > *:nth-child(2) { animation-delay: 0.08s; }
.hero-content > *:nth-child(3) { animation-delay: 0.16s; }
.hero-content > *:nth-child(4) { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation: none; opacity: 1; transform: none; }
}

.kicker {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--orange);
  margin: 0 0 var(--space-5);
}
.hero-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 1.3rem + 5vw, 4.75rem);
  line-height: 1.05;
  margin: 0 0 var(--space-6);
}
.hero-heading .line { display: block; }
.hero-heading .accent { color: var(--red); }
.hero-lede {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  max-width: 46ch;
  color: rgba(255,255,255,0.92);
  margin: 0 0 var(--space-8);
}
.scroll-cue {
  display: inline-flex;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
}

/* ---------- Welcome ---------- */
.welcome { background: var(--cream); }
.pull-quote {
  margin: var(--space-9) 0 0;
  padding-left: var(--space-7);
  border-left: 3px solid var(--red);
}
.pull-quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  line-height: 1.4;
}
.pull-quote footer { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Highlights / stats ---------- */
.highlights { background: var(--cream); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1023px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 511px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: var(--space-7);
  box-shadow: 0 1px 2px rgba(34,27,26,0.06);
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  color: var(--red);
  margin: 0 0 var(--space-3);
}
.stat-label { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- So Drama! Entertainment ---------- */
.culture { background: var(--cream); }
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}
@media (max-width: 1023px) { .culture-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 511px) { .culture-grid { grid-template-columns: 1fr; } }
.culture-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: var(--space-7);
  box-shadow: 0 1px 2px rgba(34,27,26,0.06);
}
.culture-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--red);
  margin: 0 0 var(--space-3);
}
.culture-label { margin: 0; font-size: 0.92rem; }
.culture-photo { margin: var(--space-8) 0 0; }
.culture-photo img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.culture-photo figcaption { margin-top: var(--space-4); font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Privileges (dark section) ---------- */
.privileges { background: var(--ink); }
.privilege-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}
@media (max-width: 1023px) { .privilege-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 511px) { .privilege-grid { grid-template-columns: 1fr; } }
.privilege-card {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: var(--space-7);
}
.privilege-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--orange);
  margin: 0 0 var(--space-3);
}
.privilege-label { margin: 0; color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ---------- Events / story grid ---------- */
.events { background: var(--cream); }
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
}
@media (max-width: 1023px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .story-grid { grid-template-columns: 1fr; } }
.story-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(34,27,26,0.06);
}
.story-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.story-body { padding: var(--space-6) var(--space-7) var(--space-7); }
.story-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-deep);
  margin: 0 0 var(--space-3);
}
.story-body h3 { font-family: var(--font-display); margin: 0 0 var(--space-3); color: var(--ink); }
.story-body p { margin: 0; font-size: 0.95rem; }

/* ---------- Sporting Achievements ---------- */
.sports { background: var(--cream); }
.sport-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-7);
}
.sport-chip {
  background: var(--cream-card);
  border: 1px solid rgba(34,27,26,0.1);
  border-radius: 999px;
  padding: var(--space-4) var(--space-7);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.sport-highlight {
  margin-top: var(--space-9);
  display: flex;
  align-items: baseline;
  gap: var(--space-7);
  flex-wrap: wrap;
}
.sport-highlight-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  color: var(--red);
  margin: 0;
}
.sport-highlight-label { margin: 0; max-width: 52ch; font-size: 0.98rem; }

/* ---------- Featured article ---------- */
.feature-article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-9);
  align-items: center;
  background: var(--cream-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(34,27,26,0.06);
  margin-bottom: var(--space-9);
}
@media (max-width: 900px) { .feature-article { grid-template-columns: 1fr; } }
.feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.feature-body { padding: var(--space-8) var(--space-9) var(--space-8) 0; }
@media (max-width: 900px) { .feature-body { padding: 0 var(--space-7) var(--space-8); } }
.feature-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  margin: 0 0 var(--space-5);
  color: var(--ink);
}
.feature-body p { margin: 0 0 var(--space-5); font-size: 0.98rem; }
.feature-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-7);
  padding-top: var(--space-7);
  border-top: 1px solid rgba(34,27,26,0.1);
  flex-wrap: wrap;
}
.feature-stats div { display: flex; flex-direction: column; gap: var(--space-3); }
.feature-stats strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--red); }
.feature-stats span { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Data table ---------- */
.table-wrap { overflow-x: auto; margin: var(--space-8) 0; border-radius: var(--radius); border: 1px solid rgba(34,27,26,0.1); }
.data-table { width: 100%; border-collapse: collapse; background: var(--cream-card); font-size: 0.92rem; }
.data-table caption {
  text-align: left; padding: var(--space-6) var(--space-7); font-weight: 700;
  font-family: var(--font-display); color: var(--ink); background: var(--cream-card);
  border-bottom: 1px solid rgba(34,27,26,0.08);
}
.data-table th, .data-table td { padding: var(--space-5) var(--space-7); text-align: left; white-space: nowrap; }
.data-table thead th {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--red-deep); border-bottom: 2px solid rgba(34,27,26,0.1);
}
.data-table tbody th { font-weight: 600; color: var(--ink); white-space: normal; }
.data-table tbody tr:not(:last-child) td,
.data-table tbody tr:not(:last-child) th { border-bottom: 1px solid rgba(34,27,26,0.08); }
.data-table tbody td { color: var(--ink-soft); }

/* ---------- Chart ---------- */
.chart-block { margin: var(--space-9) 0; background: var(--cream-card); border-radius: var(--radius); padding: var(--space-8); box-shadow: 0 1px 2px rgba(34,27,26,0.06); }
.chart-title { font-family: var(--font-display); font-size: 1rem; color: var(--ink); margin: 0 0 var(--space-7); }
.bar-chart { width: 100%; height: auto; max-width: 440px; }
.chart-baseline { stroke: rgba(34,27,26,0.2); stroke-width: 1; }
.chart-bar-1 { fill: rgba(246,52,64,0.35); }
.chart-bar-2 { fill: rgba(246,52,64,0.65); }
.chart-bar-3 { fill: var(--red); }
.chart-value { font-family: var(--font-display); font-weight: 700; font-size: 15px; fill: var(--red-deep); text-anchor: middle; }
.chart-cat { font-family: var(--font-body); font-size: 12px; fill: var(--ink-soft); text-anchor: middle; }

/* ---------- Awards / milestones ---------- */
.awards { background: var(--cream); }
.milestone-list {
  list-style: none;
  margin: 0 0 var(--space-9);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.milestone {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-6);
}
.milestone-index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--red);
}
.milestone h3 { font-family: var(--font-display); margin: 0 0 var(--space-3); color: var(--ink); }
.milestone p { margin: 0; }
.award-photo { margin: 0; }
.award-photo img { border-radius: var(--radius); }
.award-photo figcaption {
  margin-top: var(--space-4);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Looking forward (dark section) ---------- */
.forward { background: var(--ink); }
.forward-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
  margin-top: var(--space-8);
}
@media (max-width: 900px) { .forward-grid { grid-template-columns: 1fr; } }
.forward-card {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: var(--space-7);
}
.forward-card h3 { font-family: var(--font-display); color: var(--white); margin: 0 0 var(--space-4); font-size: 1.05rem; }
.forward-card p { margin: 0; color: rgba(255,255,255,0.8); font-size: 0.92rem; }

/* ---------- Financials ---------- */
.financials { background: var(--cream); }
.fin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin: var(--space-8) 0 var(--space-9);
}
@media (max-width: 1023px) { .fin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 511px) { .fin-grid { grid-template-columns: 1fr; } }
.fin-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: var(--space-7);
  box-shadow: 0 1px 2px rgba(34,27,26,0.06);
}
.fin-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--red);
  margin: 0 0 var(--space-3);
}
.fin-label { margin: 0; font-size: 0.88rem; }
.btn-download {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: var(--space-5) var(--space-8);
  border-radius: 999px;
  margin-top: var(--space-4);
}
.btn-download:hover,
.btn-download:focus-visible { background: var(--red-deep); }
.fine-print { font-size: 0.8rem; color: var(--ink-soft); opacity: 0.75; margin-top: var(--space-4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding-block: var(--space-9); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.footer-tagline { margin: var(--space-3) 0 0; font-size: 0.85rem; }
.footer-meta { margin: 0; font-size: 0.8rem; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 200;
  background: rgba(34,27,26,0.06);
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-deep), var(--red), var(--orange));
}

/* ---------- Floating progress badge ---------- */
.progress-badge {
  position: fixed;
  right: var(--space-6);
  bottom: var(--space-6);
  z-index: 190;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--cream-card);
  border: 1px solid rgba(34,27,26,0.1);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  box-shadow: 0 8px 24px rgba(34,27,26,0.14);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.progress-badge.is-visible { opacity: 1; transform: translateY(0); }
.progress-ring { width: 32px; height: 32px; transform: rotate(-90deg); }
.progress-ring-track { fill: none; stroke: rgba(34,27,26,0.1); stroke-width: 3; }
.progress-ring-fill {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 106.8;
  stroke-dashoffset: 106.8;
  transition: stroke-dashoffset 0.1s linear;
}
.progress-badge-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 767px) { .progress-badge { display: none; } }

/* ---------- Quick-jump section nav ---------- */
.quickjump {
  position: fixed;
  top: 50%;
  right: var(--space-6);
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-end;
}
.quickjump a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.qj-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(34,27,26,0.22);
  flex-shrink: 0;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.qj-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--cream-card);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(34,27,26,0.14);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}
.quickjump a:hover .qj-label,
.quickjump a:focus-visible .qj-label { opacity: 1; transform: translateX(0); }
.quickjump a:hover .qj-dot,
.quickjump a:focus-visible .qj-dot,
.quickjump a.is-active .qj-dot {
  background: var(--red);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(246,52,64,0.18);
}
.quickjump a.is-active .qj-label { color: var(--red-deep); }
@media (max-width: 900px) { .quickjump { display: none; } }
@media (prefers-reduced-motion: reduce) { .qj-dot, .qj-label { transition: none; } }

/* ---------- Hero parallax ---------- */
.hero-bg-wrap {
  position: absolute;
  top: -12%; left: 0; right: 0; bottom: -12%;
  will-change: transform;
}
.hero-bg-wrap .hero-bg { width: 100%; height: 100%; }

/* ---------- Scroll-linked image parallax ---------- */
.parallax { will-change: transform; }
.culture-photo, .award-photo { overflow: hidden; border-radius: var(--radius); }
.culture-photo img, .award-photo img { border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .parallax, .hero-bg-wrap { transform: none !important; } }

/* ---------- Reveal-on-scroll (respects reduced motion) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.94);
  filter: blur(3px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* Subtle cascade so grids feel like one composed reveal, not N separate pop-ins */
.stat-grid > .reveal:nth-child(1), .culture-grid > .reveal:nth-child(1), .privilege-grid > .reveal:nth-child(1),
.story-grid > .reveal:nth-child(1), .fin-grid > .reveal:nth-child(1), .forward-grid > .reveal:nth-child(1),
.sport-chip-grid > .reveal:nth-child(1) { transition-delay: 0ms; }
.stat-grid > .reveal:nth-child(2), .culture-grid > .reveal:nth-child(2), .privilege-grid > .reveal:nth-child(2),
.story-grid > .reveal:nth-child(2), .fin-grid > .reveal:nth-child(2), .forward-grid > .reveal:nth-child(2),
.sport-chip-grid > .reveal:nth-child(2) { transition-delay: 70ms; }
.stat-grid > .reveal:nth-child(3), .culture-grid > .reveal:nth-child(3), .privilege-grid > .reveal:nth-child(3),
.story-grid > .reveal:nth-child(3), .fin-grid > .reveal:nth-child(3), .forward-grid > .reveal:nth-child(3),
.sport-chip-grid > .reveal:nth-child(3) { transition-delay: 140ms; }
.stat-grid > .reveal:nth-child(4), .culture-grid > .reveal:nth-child(4), .privilege-grid > .reveal:nth-child(4),
.story-grid > .reveal:nth-child(4), .fin-grid > .reveal:nth-child(4),
.sport-chip-grid > .reveal:nth-child(4) { transition-delay: 210ms; }
.stat-grid > .reveal:nth-child(5), .story-grid > .reveal:nth-child(5),
.sport-chip-grid > .reveal:nth-child(5) { transition-delay: 280ms; }
.stat-grid > .reveal:nth-child(6), .story-grid > .reveal:nth-child(6),
.sport-chip-grid > .reveal:nth-child(6) { transition-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
