/* ============================================================
   RE/MAX Distinctive — Quarterly Competition Awarding
   Art direction: low-key navy, champagne metal, editorial serif
   ============================================================ */

:root {
  /* Surfaces */
  --navy-950: #040c19;
  --navy-900: #071427;
  --navy-850: #0a1b33;
  --navy-800: #0e2340;
  --navy-700: #16304f;
  --line-dark: rgba(200, 169, 106, 0.16);
  --line-soft: rgba(255, 255, 255, 0.09);

  /* Paper */
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --ink: #10192b;
  --ink-soft: #4a566b;
  --line-light: rgba(16, 25, 43, 0.1);

  /* Metals */
  --gold: #c8a96a;
  --gold-bright: #e6cf9a;
  --gold-deep: #8f7440;
  --silver: #b9c0c9;
  --silver-deep: #7b848f;
  --bronze: #b98459;
  --bronze-deep: #7f5734;

  /* Brand accent */
  --remax-red: #d2223a;
  --remax-blue: #1a4b8c;

  /* Text on dark */
  --on-dark: #f2eee6;
  --on-dark-soft: rgba(242, 238, 230, 0.62);
  --on-dark-faint: rgba(242, 238, 230, 0.38);

  /* Type */
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Switzer", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3.25rem;
  --text-hero: clamp(2.9rem, 8vw, 6.25rem);

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-24: 6rem;

  --shell: 1220px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-950);
  padding: var(--s-3) var(--s-4);
  z-index: 200;
  font-size: var(--text-sm);
  font-weight: 600;
}
.skip-link:focus {
  left: var(--s-4);
  top: var(--s-4);
}

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

/* ---------- Shared type ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--s-4);
}
.eyebrow--dark {
  color: var(--gold-deep);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.section-title--light {
  color: var(--on-dark);
}

/* ---------- Masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 12, 25, 0.93);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line-dark);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--on-dark);
  flex: 0 0 auto;
}
.brand__logo {
  width: auto;
  height: 46px;
  flex: 0 0 auto;
}
.brand__rule {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.16);
  margin-left: var(--s-2);
  flex: 0 0 auto;
}
.brand__sub {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  white-space: nowrap;
}

.footer__logo {
  width: auto;
  height: 44px;
  margin-bottom: var(--s-4);
}

.masthead__nav {
  display: flex;
  gap: var(--s-6);
  margin-left: auto;
  font-size: var(--text-sm);
  color: var(--on-dark-soft);
}
.masthead__nav a {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s var(--ease);
}
.masthead__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.masthead__nav a:hover {
  color: var(--on-dark);
}
.masthead__nav a:hover::after {
  width: 100%;
}

.masthead__meta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--text-xs);
  color: var(--on-dark-faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding-left: var(--s-6);
  border-left: 1px solid var(--line-soft);
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4fd18b;
  box-shadow: 0 0 0 0 rgba(79, 209, 139, 0.6);
  animation: pulse 2.6s infinite;
  flex: 0 0 auto;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 209, 139, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(79, 209, 139, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 209, 139, 0);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: var(--s-24) 0 var(--s-16);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  transform: scale(1.02);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 12, 25, 0.97) 0%, rgba(4, 12, 25, 0.9) 34%, rgba(4, 12, 25, 0.42) 62%, rgba(4, 12, 25, 0.55) 100%),
    linear-gradient(to bottom, rgba(4, 12, 25, 0.6) 0%, transparent 30%, rgba(4, 12, 25, 0.85) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-hero);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 0 0 var(--s-6);
  max-width: 15ch;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-bright);
}

.hero__lede {
  max-width: 46ch;
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--on-dark-soft);
  margin: 0 0 var(--s-12);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: var(--s-16);
  padding-top: var(--s-8);
  border-top: 1px solid var(--line-dark);
  max-width: 760px;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.fact__k {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--on-dark);
}
.fact__l {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}

.hero__cue {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-12);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s var(--ease);
}
.hero__cue svg {
  width: 16px;
  height: 16px;
}
.hero__cue:hover {
  gap: var(--s-4);
}

/* ---------- Controls ---------- */

.controls {
  scroll-margin-top: 76px;
  background: var(--navy-900);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: var(--s-8) 0 var(--s-6);
  position: relative;
  z-index: 20;
}

.controls__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  flex-wrap: wrap;
}

.quarters {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.q-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--on-dark-soft);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--s-3) var(--s-6);
  cursor: pointer;
  border-radius: 2px;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
  position: relative;
}
.q-tab:hover:not([aria-selected="true"]):not(:disabled) {
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.05);
}
.q-tab[aria-selected="true"] {
  background: var(--gold);
  color: var(--navy-950);
  font-weight: 600;
}
.q-tab:disabled {
  color: var(--on-dark-faint);
  cursor: not-allowed;
  opacity: 0.55;
}
.q-tab__dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  margin-left: 7px;
  vertical-align: middle;
  opacity: 0.5;
}

.controls__side {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  margin-left: auto;
}
.controls__note {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--on-dark-faint);
  letter-spacing: 0.06em;
}

.ghost-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}
.ghost-btn svg {
  width: 14px;
  height: 14px;
}
.ghost-btn:hover {
  background: rgba(200, 169, 106, 0.1);
  border-color: var(--gold);
}
.ghost-btn.is-spinning svg {
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-6);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line-soft);
}
.chip {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 7px 15px;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.chip:hover {
  color: var(--navy-950);
  background: var(--gold);
  border-color: var(--gold);
}

/* ---------- KPIs ---------- */

.kpis {
  background: var(--navy-900);
  padding: var(--s-12) 0;
}
.kpis__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.kpi {
  background: var(--navy-900);
  padding: var(--s-8) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.kpi__l {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.kpi__v {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
}
.kpi__s {
  font-size: var(--text-xs);
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ---------- Board / categories ---------- */

.board {
  padding: var(--s-24) 0 var(--s-16);
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
}

.cat {
  scroll-margin-top: 96px;
}

.cat__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-8);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: var(--s-12);
  flex-wrap: wrap;
}
.cat__index {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: var(--s-3);
}
.cat__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--on-dark);
  max-width: 22ch;
}
.cat__rule {
  margin: 0;
  max-width: 42ch;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--on-dark-faint);
}

/* Podium */
.podium {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  align-items: end;
  gap: var(--s-6);
}
.podium--single {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}
.podium--two {
  grid-template-columns: 1.18fr 1fr;
}

.card {
  position: relative;
  background: linear-gradient(170deg, var(--navy-850) 0%, var(--navy-900) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--s-12) var(--s-6) var(--s-8);
  text-align: center;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
}
/* Podium visual order on wide screens: 2nd · 1st · 3rd */
@media (min-width: 901px) {
  .podium .card--1 {
    order: 2;
  }
  .podium .card--2 {
    order: 1;
  }
  .podium .card--3 {
    order: 3;
  }
}

.card--1 {
  padding-top: var(--s-16);
  padding-bottom: var(--s-12);
  border-color: rgba(200, 169, 106, 0.42);
  background: linear-gradient(170deg, #12253f 0%, var(--navy-900) 100%);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}
.card--1::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.medal {
  width: 62px;
  height: 62px;
  margin: 0 auto var(--s-6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy-950);
  position: relative;
}
.card--1 .medal {
  width: 76px;
  height: 76px;
  font-size: 2rem;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 0 0 1px rgba(230, 207, 154, 0.5), 0 8px 24px -8px rgba(200, 169, 106, 0.6);
}
.card--2 .medal {
  background: linear-gradient(145deg, #dfe4ea, var(--silver) 45%, var(--silver-deep));
  box-shadow: 0 0 0 1px rgba(223, 228, 234, 0.4);
}
.card--3 .medal {
  background: linear-gradient(145deg, #dba982, var(--bronze) 45%, var(--bronze-deep));
  box-shadow: 0 0 0 1px rgba(219, 169, 130, 0.4);
}

.card__place {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin: 0 0 var(--s-3);
}
.card--1 .card__place {
  color: var(--gold);
}

.card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-6);
  color: var(--on-dark);
  overflow-wrap: break-word;
  hyphens: none;
}
.card--1 .card__name {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.card__stats {
  display: flex;
  justify-content: center;
  gap: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line-soft);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.stat__v {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.card--1 .stat__v {
  color: var(--gold-bright);
}
.stat__l {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}

/* Runner-up table */
.runners {
  margin-top: var(--s-8);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.runners__row {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-6);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.25s var(--ease);
}
.runners__row:last-child {
  border-bottom: 0;
}
.runners__row:hover {
  background: rgba(255, 255, 255, 0.025);
}
.runners__row--head {
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  padding-block: var(--s-3);
}
.runners__rank {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.runners__name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--on-dark);
  min-width: 0;
  overflow-wrap: break-word;
}
.runners__num {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--on-dark-soft);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.runners__num--vol {
  min-width: 8.5ch;
}
.runners__row--head .runners__num {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-transform: inherit;
}

/* Empty state */
.empty {
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius);
  padding: var(--s-16) var(--s-8);
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
}
.empty__t {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin: 0 0 var(--s-3);
  color: var(--on-dark);
}
.empty__p {
  margin: 0 auto;
  max-width: 44ch;
  font-size: var(--text-sm);
  color: var(--on-dark-faint);
}

/* Skeleton */
.skeleton {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  padding: var(--s-24) 0;
}
.sk-bar {
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.sk-bar--wide {
  width: 42%;
  height: 34px;
}
.sk-bar--mid {
  width: 68%;
}
.sk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.sk-card {
  height: 240px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ---------- Rules (light section) ---------- */

.rules {
  background: var(--paper);
  color: var(--ink);
  padding: var(--s-24) 0;
}
.rules__head {
  max-width: 44ch;
  margin-bottom: var(--s-16);
}
.rules__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: var(--s-6);
}
.rule {
  background: var(--paper);
  border: 1px solid var(--line-light);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.rule__i {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
}
.rule__t {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.rule__p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- Disclosure ---------- */

.disclosure {
  background: var(--navy-900);
  padding: var(--s-24) 0;
  border-top: 1px solid var(--line-dark);
}
.disclosure__inner {
  max-width: 860px;
}
.disclosure__lead {
  margin: var(--s-6) 0 var(--s-12);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--on-dark-soft);
}

.accordion {
  border-top: 1px solid var(--line-soft);
}
.acc {
  border-bottom: 1px solid var(--line-soft);
}
.acc__btn {
  appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  text-align: left;
  padding: var(--s-6) var(--s-8) var(--s-6) 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  transition: color 0.25s var(--ease);
}
.acc__btn:hover {
  color: var(--gold-bright);
}
.acc__icon {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  position: relative;
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.3s var(--ease);
}
.acc__icon::before {
  left: 0;
  top: 5px;
  width: 12px;
  height: 1.5px;
}
.acc__icon::after {
  left: 5px;
  top: 0;
  width: 1.5px;
  height: 12px;
}
.acc__btn[aria-expanded="true"] .acc__icon::after {
  transform: scaleY(0);
}
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.acc__panel[data-open="true"] {
  grid-template-rows: 1fr;
}
.acc__panel > div {
  overflow: hidden;
}
.acc__body {
  padding: 0 var(--s-8) var(--s-6) 0;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--on-dark-soft);
}
.acc__body p {
  margin: 0 0 var(--s-4);
}
.acc__body p:last-child {
  margin-bottom: 0;
}
.acc__body ul {
  margin: 0 0 var(--s-4);
  padding-left: 1.2em;
}
.acc__body li {
  margin-bottom: var(--s-2);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line-dark);
  padding: var(--s-12) 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: var(--s-8);
  flex-wrap: wrap;
}
.footer__brand {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 var(--s-2);
  color: var(--on-dark);
}
.footer__line {
  margin: 0 0 var(--s-1);
  font-size: var(--text-xs);
  color: var(--on-dark-faint);
  line-height: 1.6;
}
.footer__meta {
  max-width: 44ch;
  text-align: right;
}
.footer__muted {
  opacity: 0.72;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .kpis__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .masthead__nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .podium,
  .podium--two {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .podium--single {
    grid-template-columns: 1fr;
  }
  .card {
    padding: var(--s-8) var(--s-6) var(--s-6);
  }
  .card--1 {
    padding-top: var(--s-10);
    padding-bottom: var(--s-8);
  }
  .medal {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
    margin-bottom: var(--s-4);
  }
  .card--1 .medal {
    width: 62px;
    height: 62px;
    font-size: 1.7rem;
  }
  .card__name {
    margin-bottom: var(--s-4);
  }
  .card__stats {
    padding-top: var(--s-4);
  }
  .cat__head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-6);
  }
  .sk-grid {
    grid-template-columns: 1fr;
  }
  .sk-card {
    height: 180px;
  }
  .footer__meta {
    text-align: left;
  }
}

@media (max-width: 720px) {
  :root {
    --s-24: 4rem;
    --s-16: 3rem;
  }
  .shell {
    padding: 0 var(--s-4);
  }
  .hero {
    min-height: auto;
    padding: var(--s-16) 0 var(--s-12);
  }
  .hero__media img {
    object-position: 70% center;
  }
  .hero__facts {
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: var(--s-8) var(--s-12);
  }
  .controls__row {
    flex-direction: column;
    align-items: stretch;
  }
  .quarters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .q-tab {
    padding: var(--s-3) var(--s-2);
    font-size: var(--text-xs);
  }
  .controls__side {
    margin-left: 0;
    justify-content: space-between;
    gap: var(--s-4);
  }
  .kpis__grid {
    grid-template-columns: 1fr;
  }
  .kpi {
    padding: var(--s-6);
  }
  .runners__row {
    grid-template-columns: 34px 1fr auto;
    gap: var(--s-3);
    padding: var(--s-4);
  }
  .runners__num--units {
    display: none;
  }
  .runners__row--head .runners__num--units {
    display: none;
  }
  .card__stats {
    gap: var(--s-6);
  }
  .footer__inner {
    flex-direction: column;
  }
  .masthead__meta,
  .brand__rule,
  .brand__sub {
    display: none;
  }
  .masthead__inner {
    min-height: 64px;
  }
  .brand__logo {
    height: 34px;
  }
  .footer__logo {
    height: 38px;
  }
}
