:root {
  --midnight: #002642;
  --burgundy: #840032;
  --gold: #e59500;
  --bone: #e5dada;
  --black: #02040f;
  --ink: #101522;
  --line: rgba(229, 218, 218, 0.16);
  --line-strong: rgba(229, 149, 0, 0.38);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --header-h: 78px;
  --footer-h: 76px;
  --max-w: 1500px;
  --page-x: clamp(18px, 4vw, 56px);
  --chrome-x: max(var(--page-x), calc((100vw - var(--max-w)) / 2));
  --radius-lg: 26px;
  --radius-md: 16px;
  --brand-h: 50px;
  --brand-shift: 0px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--black);
  color: var(--bone);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  min-height: 100svh;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(132, 0, 50, 0.26), transparent 32rem),
    radial-gradient(circle at 75% 20%, rgba(0, 38, 66, 0.42), transparent 28rem),
    linear-gradient(180deg, #02040f 0%, #050713 46%, #02040f 100%);
  color: var(--bone);
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-chrome {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 50;
  border-color: var(--line);
  background: color-mix(in srgb, var(--black) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header {
  top: 0;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.75rem, 2vw, 2rem);
  padding: 0.58rem var(--chrome-x);
  border-bottom: 1px solid var(--line);
}

.site-footer {
  bottom: 0;
  min-height: var(--footer-h);
  display: flex;
  align-items: center;
  padding: 0.55rem var(--chrome-x);
  border-top: 1px solid var(--line);
}

.footer-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.8rem, 2vw, 2rem);
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  opacity: 0.96;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: var(--brand-h);
  max-height: var(--brand-h);
  object-fit: contain;
  transform: translateX(var(--brand-shift));
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(229, 218, 218, 0.14);
  border-radius: 12px;
  background: rgba(2, 4, 15, 0.52);
  color: var(--bone);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.22rem, 0.85vw, 0.62rem);
  min-width: 0;
  margin-left: auto;
}

.footer-nav { margin-left: auto; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(229, 218, 218, 0.76);
  font-size: clamp(0.68rem, 0.72vw, 0.84rem);
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0.52rem 0.68rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.nav-link svg,
.rift-menu-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.nav-link svg { fill: currentColor; }

.rift-menu-icon {
  background: currentColor;
  -webkit-mask: url("assets/optimized/rift-menu-icon.webp") center / contain no-repeat;
  mask: url("assets/optimized/rift-menu-icon.webp") center / contain no-repeat;
}

.nav-link:hover .rift-menu-icon,
.nav-link[aria-current="page"] .rift-menu-icon {
  background: var(--gold);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  border-color: var(--line-strong);
  background: rgba(229, 149, 0, 0.09);
  color: var(--bone);
}

.nav-link:hover { transform: translateY(-1px); }

.site-main {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: var(--footer-h);
  left: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-padding-top: 12px;
}

.page-section {
  height: 100%;
  min-height: 100%;
  padding: clamp(14px, 2.35vw, 34px) var(--page-x);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  gap: clamp(10px, 1.45vw, 18px);
  scroll-margin-top: 12px;
}

.section-kicker {
  width: min(var(--max-w), 100%);
  margin: 0 auto;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(0.72rem, 0.85vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: lowercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 7.4rem);
  text-wrap: balance;
}

h2, h3 { font-size: clamp(1.22rem, 1.5vw, 1.85rem); }

.home-panel,
.event-grid,
.contact-grid {
  width: min(var(--max-w), 100%);
  margin-inline: auto;
  min-height: 0;
}

.home-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.97fr) minmax(300px, 0.6fr);
  gap: clamp(16px, 3vw, 42px);
  align-items: stretch;
}

.home-copy,
.home-summary,
.event-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 38%),
    color-mix(in srgb, var(--ink) 76%, transparent);
  box-shadow: var(--shadow);
}

.home-copy {
  min-height: 0;
  padding: clamp(24px, 5vw, 70px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(1rem, 2vw, 1.6rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: color-mix(in srgb, var(--ink) 76%, transparent);
}

.home-copy::before,
.home-copy::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-copy::before {
  z-index: 0;
  inset: 0;
  background: url("assets/optimized/ahri-home.webp") 50% 50% / cover no-repeat;
  opacity: 0.70;
  filter: saturate(1.06) contrast(1.04) brightness(1.3);
  transform: scale(1.02);
  transform-origin: center;
  transition: transform 500ms ease, filter 500ms ease;
}

.home-copy::after {
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 62% 18%, rgba(229, 149, 0, 0.18), transparent 38%),
    linear-gradient(90deg, rgba(2, 4, 15, 0.45), rgba(2, 4, 15, 0.15));
}


.home-copy:hover::before {
  transform: scale(1.05);
}

.home-summary:hover::before {
  transform: scale(1.045);
}
.home-copy-mark {
  position: absolute;
  z-index: 2;
  inset: clamp(0.5rem, 2vw, 1.5rem);
  background: url("assets/optimized/h9-mark-background.webp") center / contain no-repeat;
  opacity: 0.13;
  pointer-events: none;
}

.home-lead {
  width: min(100%, var(--home-title-w, 44rem));
  max-width: none;
  margin: 0;
  color: rgba(229, 218, 218, 0.78);
  font-size: clamp(1.06rem, 1.55vw, 1.42rem);
  line-height: 1.45;
  text-wrap: balance;
}

.home-copy > h1,
.home-copy > .home-lead {
  position: relative;
  z-index: 3;
  text-align: center;
}

.home-copy > h1 { justify-self: center; }

.home-copy > .home-lead { justify-self: center; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(229, 149, 0, 0.62);
  border-radius: 999px;
  background: rgba(229, 149, 0, 0.12);
  color: var(--bone);
  padding: 0.66rem 1.04rem;
  font-weight: 860;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  border-color: rgba(229, 149, 0, 0.95);
  background: rgba(229, 149, 0, 0.2);
  color: var(--bone);
  transform: translateY(-1px);
}

.button-accent,
.button-primary,
.button-secondary {
  background: linear-gradient(180deg, #f0ac2c 0%, var(--gold) 100%);
  border-color: rgba(229, 149, 0, 0.96);
  color: var(--black);
  box-shadow: 0 12px 28px rgba(229, 149, 0, 0.18);
}

.button-accent:hover,
.button-primary:hover,
.button-secondary:hover {
  background: linear-gradient(180deg, #ffc14f 0%, #ee9d08 100%);
  color: var(--black);
  box-shadow: 0 16px 34px rgba(229, 149, 0, 0.24);
}

.home-summary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(16px, 2vw, 24px);
  display: grid;
  align-content: center;
  gap: 0.72rem;
}

.home-summary::before,
.home-summary::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-summary::before {
  z-index: -3;
  background: url("assets/optimized/leblanc-summary.webp") 48% 44% / cover no-repeat;
  opacity: 0.65;
  filter: saturate(1.08) contrast(1.06) brightness(1.3);
  transform: scale(1.02);
  transform-origin: center;
  transition: transform 500ms ease, filter 500ms ease;
}

.home-summary::after {
  z-index: -2;
  background:
    radial-gradient(circle at 70% 22%, rgba(229, 149, 0, 0.22), transparent 38%),
    linear-gradient(90deg, rgba(2, 4, 15, 0.45), rgba(2, 4, 15, 0.15));
}

.home-summary-mark {
  position: absolute;
  z-index: -1;
  inset: clamp(0.55rem, 1.65vw, 1.2rem) clamp(0.25rem, 0.8vw, 0.8rem) clamp(0.55rem, 1.65vw, 1.2rem) clamp(1rem, 2.2vw, 2.1rem);
  background: url("assets/optimized/h9-mark-background.webp") 68% center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.home-summary > *:not(.home-summary-mark) {
  position: relative;
  z-index: 1;
}

.summary-label {
  justify-self: start;
  margin: 0;
  border: 1px solid rgba(229, 149, 0, 0.34);
  border-radius: 999px;
  background: rgba(2, 4, 15, 0.48);
  color: rgba(229, 218, 218, 0.84);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  padding: 0.5rem 0.68rem;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.home-summary a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.48rem;
  border: 1px solid rgba(229, 218, 218, 0.14);
  border-radius: var(--radius-md);
  background: rgba(2, 4, 15, 0.58);
  padding: 0.84rem 0.78rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.home-summary a:hover {
  border-color: var(--line-strong);
  background: rgba(229, 149, 0, 0.07);
  transform: translateY(-1px);
}

.home-summary strong {
  min-width: 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(0.8rem, 0.74vw, 0.92rem);
}

.home-summary span {
  justify-self: end;
  color: rgba(229, 218, 218, 0.78);
  font-size: clamp(0.78rem, 0.72vw, 0.86rem);
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.event-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 2.5vw, 32px);
  height: 100%;
}

.event-card {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(135px, 0.78fr) minmax(0, 1fr);
}

.card-media {
  position: relative;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--midnight);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.84);
  transition: transform 500ms ease, filter 500ms ease;
}

.event-card:hover .card-media img {
  transform: scale(1.025);
  filter: brightness(0.90) saturate(1.06);
}

.status-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  border: 1px solid rgba(229, 149, 0, 0.58);
  border-radius: 999px;
  background: rgba(2, 4, 15, 0.76);
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  padding: 0.42rem 0.62rem;
  text-transform: uppercase;
}

.status-badge-accent {
  border-color: rgba(229, 149, 0, 0.58);
  color: var(--gold);
}

.card-body {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(0.58rem, 1vw, 0.92rem);
  padding: clamp(14px, 1.9vw, 26px);
  overflow: hidden;
}

.event-card h2 {
  min-height: 2.05em;
  display: flex;
  align-items: flex-start;
}

.podium-list {
  min-height: 0;
  display: grid;
  align-content: center;
  gap: 0.46rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.podium-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.68rem;
  border: 1px solid rgba(229, 218, 218, 0.1);
  border-radius: 14px;
  background: rgba(2, 4, 15, 0.32);
  padding: 0.42rem 0.62rem;
}

.podium-row img {
  width: 36px;
  height: 36px;
}

.podium-nick {
  font-size: 1rem;
  font-weight: 700;
}

.podium-record {
  border-radius: 999px;
  background: rgba(229, 218, 218, 0.08);
  color: rgba(229, 218, 218, 0.74);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  padding: 0.24rem 0.46rem;
}

.event-details {
  min-height: 0;
  display: grid;
  align-self: center;
  align-content: center;
  gap: 0.5rem;
  margin: 0;
}

.event-card-upcoming .event-details {
  transform: none;
  will-change: auto;
}

.event-details div {
  display: grid;
  grid-template-columns: minmax(6rem, 0.32fr) minmax(0, 1fr);
  gap: 0.7rem;
  border-bottom: 1px solid rgba(229, 218, 218, 0.1);
  padding-bottom: 0.5rem;
}

.event-details div:last-child { border-bottom: 0; padding-bottom: 0; }

.event-details dt {
  color: rgba(229, 218, 218, 0.56);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-details dd {
  margin: 0;
  color: rgba(229, 218, 218, 0.88);
  font-size: 1rem;
  font-weight: 500;
}

.card-button {
  align-self: end;
  justify-self: start;
  margin-top: 0.1rem;
}

.contact-card {
  min-width: 0;
  min-height: 0;
  padding: clamp(16px, 2.35vw, 30px);
  overflow: hidden;
}

.social-card {
  display: grid;
  align-content: center;
}

.social-list {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: clamp(0.52rem, 1.1vh, 0.78rem);
  width: min(100%, 44rem);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.social-list a {
  display: grid;
  grid-template-columns: 1.34rem minmax(6.2rem, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.62rem, 1vw, 0.9rem);
  min-height: clamp(46px, 5.4vh, 58px);
  border: 1px solid rgba(229, 218, 218, 0.12);
  border-radius: 16px;
  background: rgba(2, 4, 15, 0.3);
  padding: clamp(0.52rem, 1vh, 0.68rem) clamp(0.74rem, 1.15vw, 1rem);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.social-list a:hover {
  border-color: rgba(229, 149, 0, 0.4);
  background: rgba(229, 149, 0, 0.055);
  transform: translateY(-1px);
}

.social-list svg {
  width: 1.34rem;
  height: 1.34rem;
  fill: var(--gold);
}

.social-list span {
  color: rgba(229, 218, 218, 0.66);
  font-size: clamp(0.82rem, 0.78vw, 0.96rem);
  font-weight: 820;
}

.social-list strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(0.92rem, 0.86vw, 1.06rem);
  font-weight: 900;
}


.map-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}

.map-frame {
  width: 100%;
  min-height: 0;
  height: 100%;
  border: 1px solid rgba(229, 218, 218, 0.12);
  border-radius: 20px;
  background: rgba(2, 4, 15, 0.6);
}

@media (max-height: 720px) and (min-width: 861px) {
  :root { --header-h: 68px; --footer-h: 68px; --brand-h: 44px; }

  .nav-link { padding: 0.46rem 0.6rem; }
  .page-section { padding-block: 12px; gap: 8px; }
  .event-card { grid-template-rows: minmax(118px, 0.58fr) minmax(0, 1fr); }
  .card-body { gap: 0.46rem; padding: 12px 18px; }
  .event-card h2 { min-height: 1.78em; }
  .button { min-height: 34px; padding: 0.5rem 0.78rem; }
  .podium-row { padding-block: 0.32rem; }
  .event-details { gap: 0.36rem; }
  .event-details div { padding-bottom: 0.36rem; }
  .social-list { gap: 0.42rem; }
  .social-list a { min-height: 42px; padding-block: 0.46rem; }
}

@media (max-width: 1080px) {
  :root { --footer-h: 76px; --brand-h: 44px; }

  .site-header,
  .site-footer { padding-inline: var(--page-x); }

  .menu-toggle { display: inline-flex; }

  .site-header {
    position: fixed;
    align-items: center;
  }

  .site-header .brand,
  .site-footer .brand {
    position: absolute;
    left: var(--page-x);
    top: 50%;
    transform: translateY(-50%);
  }

  .site-header .brand img,
  .site-footer .brand img { transform: none; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: var(--page-x);
    left: var(--page-x);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.42rem;
    margin-left: 0;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: color-mix(in srgb, var(--black) 96%, transparent);
    box-shadow: var(--shadow);
  }

  .site-footer .site-nav {
    top: auto;
    bottom: calc(100% + 10px);
  }

  .site-header.nav-open .site-nav,
  .site-footer.nav-open .site-nav { display: flex; }

  .site-nav::-webkit-scrollbar { display: none; }
  .nav-label { display: inline; }
  .nav-link {
    justify-content: flex-start;
    padding: 0.82rem 0.9rem;
    font-size: 0.9rem;
  }
  .nav-link svg,
  .rift-menu-icon { width: 1.06rem; height: 1.06rem; }

  .footer-bar { gap: 0.72rem; }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; --footer-h: 78px; --brand-h: 44px; }

  .home-panel,
  .event-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-section {
    height: auto;
    min-height: 100%;
  }

  .event-section,
  .contact-section {
    grid-template-rows: auto auto;
    align-content: start;
  }

  .home-copy { min-height: 290px; }
  .home-copy::before { background-image: url("assets/optimized/ahri-home-960.webp"); }
  .home-summary-mark { background-position: center; transform: none; }
  .event-grid,
  .contact-grid { height: auto; align-self: start; }
  .event-card {
    height: auto;
    min-height: 0;
    grid-template-rows: minmax(150px, 42vw) auto;
    overflow: hidden;
  }
  .card-media {
    border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  }
  .card-body { overflow: visible; }
  .event-card-upcoming .event-details { transform: none; will-change: auto; }
  .contact-card { padding: clamp(14px, 4vw, 24px); }
  .social-card { align-content: start; }
  .social-list { width: 100%; }
  .map-frame { min-height: 300px; }
}

@media (max-width: 560px) {
  :root { --footer-h: 74px; }

  :root { --page-x: 16px; }
  .page-section { padding: 16px; }
  .footer-bar { gap: 0.5rem; }
  h1 { font-size: clamp(3.35rem, 15vw, 4.7rem); max-width: 100%; }
  .home-lead { font-size: clamp(1rem, 4.3vw, 1.22rem); }
  .home-summary a { grid-template-columns: minmax(0, 1fr) auto; gap: 0.3rem; }
  .event-details div { grid-template-columns: 1fr; gap: 0.2rem; }
  .podium-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .podium-row img { width: 34px; height: 34px; }
  .podium-record { grid-column: 3; justify-self: end; }
  .social-list a { grid-template-columns: 1.25rem auto 1fr; }
}

/* ═══════════════ REDESIGN ENHANCEMENTS ═══════════════ */

/* --- Font families (Google Fonts loaded in <head>) --- */
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.035em;
}
.section-kicker,
.podium-record {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.brand {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.summary-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  pointer-events: none;
  background: rgba(229, 149, 0, 0.08);
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #f0ac2c, var(--gold));
  box-shadow: 0 0 8px rgba(229, 149, 0, 0.6);
  transition: width 60ms linear;
}

/* --- Reveal animations (IntersectionObserver toggles .is-visible) --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside revealed sections */
.reveal .event-card,
.reveal .contact-card,
.reveal .home-copy,
.reveal .home-summary {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible .event-card,
.reveal.is-visible .contact-card,
.reveal.is-visible .home-copy,
.reveal.is-visible .home-summary {
  opacity: 1;
  transform: translateY(0);
}
.reveal.is-visible .event-card:nth-child(1),
.reveal.is-visible .home-copy,
.reveal.is-visible .contact-card:nth-child(1) {
  transition-delay: 100ms;
}
.reveal.is-visible .event-card:nth-child(2),
.reveal.is-visible .home-summary,
.reveal.is-visible .contact-card:nth-child(2) {
  transition-delay: 220ms;
}

/* --- Section kicker decorative line --- */
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-kicker::after {
  content: '';
  flex: 1;
  max-width: 3rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* --- Card hover glow + image zoom --- */
.event-card,
.contact-card {
  transition: box-shadow 400ms ease, border-color 400ms ease, transform 400ms ease;
}
.event-card:hover,
.contact-card:hover {
  border-color: rgba(229, 149, 0, 0.28);
  box-shadow:
    0 0 0 1px rgba(229, 149, 0, 0.06),
    0 22px 70px rgba(0, 0, 0, 0.38),
    0 0 40px rgba(229, 149, 0, 0.08);
}
.event-card:hover {
  transform: translateY(-3px);
}

/* --- Card media gradient overlay for depth --- */
.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(2, 4, 15, 0.5) 100%);
  z-index: 1;
}
.card-media img {
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), filter 400ms ease;
}
.event-card:hover .card-media img {
  transform: scale(1.06);
  filter: brightness(0.94) saturate(1.08);
}
.status-badge {
  z-index: 2;
}

/* --- Button shimmer effect --- */
.button {
  position: relative;
  overflow: hidden;
}
.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transition: left 600ms ease;
  pointer-events: none;
}
.button:hover::before {
  left: 120%;
}

/* --- Podium stagger animation --- */
.podium-row {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.is-visible .podium-row {
  opacity: 1;
  transform: translateX(0);
}
.reveal.is-visible .podium-row:nth-child(1) { transition-delay: 300ms; }
.reveal.is-visible .podium-row:nth-child(2) { transition-delay: 400ms; }
.reveal.is-visible .podium-row:nth-child(3) { transition-delay: 500ms; }

/* --- Social icon hover enhancement --- */
.social-list a:hover svg {
  filter: drop-shadow(0 0 6px rgba(229, 149, 0, 0.5));
  transform: scale(1.12);
}
.social-list svg {
  transition: transform 300ms ease, filter 300ms ease;
}

/* --- Scroll hint (home section) --- */
.scroll-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}
.scroll-hint span {
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(229, 218, 218, 0.3);
  border-bottom: 2px solid rgba(229, 218, 218, 0.3);
  transform: rotate(45deg);
  animation: scroll-hint-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-hint-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.3; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 0.7; }
}

/* --- Custom scrollbar (desktop) --- */
.site-main::-webkit-scrollbar {
  width: 8px;
}
.site-main::-webkit-scrollbar-track {
  background: rgba(2, 4, 15, 0.6);
}
.site-main::-webkit-scrollbar-thumb {
  background: rgba(229, 149, 0, 0.2);
  border-radius: 999px;
}
.site-main::-webkit-scrollbar-thumb:hover {
  background: rgba(229, 149, 0, 0.4);
}
.site-main {
  scrollbar-width: thin;
  scrollbar-color: rgba(229, 149, 0, 0.2) rgba(2, 4, 15, 0.6);
}

/* --- Condensed contact section: kill dead space --- */
.social-card {
  align-content: space-between;
  padding: clamp(12px, 1.5vw, 20px);
}
.social-list {
  width: 100%;
  align-content: space-between;
  gap: clamp(0.4rem, 0.8vh, 0.6rem);
  height: 100%;
}
.social-list a {
  min-height: clamp(48px, 6.5vh, 58px);
  padding: clamp(0.44rem, 0.8vh, 0.58rem) clamp(0.72rem, 1vw, 0.92rem);
}
.social-list svg {
  width: 1.28rem;
  height: 1.28rem;
}
.social-list span {
  font-size: clamp(0.8rem, 0.76vw, 0.92rem);
  font-weight: 700;
}
.social-list strong {
  font-size: clamp(0.9rem, 0.84vw, 1.04rem);
  font-weight: 800;
}
.map-card {
  padding: clamp(8px, 1vw, 14px);
}

/* --- Condensed event cards: less media, tighter body --- */
.event-card {
  grid-template-rows: minmax(100px, 0.42fr) minmax(0, 1fr);
}
.card-body {
  gap: clamp(0.46rem, 0.8vw, 0.72rem);
  padding: clamp(12px, 1.6vw, 22px);
}
.event-card h2 {
  min-height: 1.6em;
}
.podium-list {
  gap: clamp(0.36rem, 0.7vw, 0.52rem);
}
.podium-row {
  padding: clamp(0.36rem, 0.6vw, 0.5rem) clamp(0.56rem, 0.9vw, 0.7rem);
  border-radius: 12px;
}
.podium-row img {
  width: 32px;
  height: 32px;
}
.podium-nick {
  font-size: clamp(0.88rem, 0.92vw, 1rem);
}
.podium-record {
  font-size: 0.76rem;
  padding: 0.2rem 0.42rem;
}
.event-details {
  gap: clamp(0.36rem, 0.6vw, 0.52rem);
}
.event-details div {
  padding-bottom: clamp(0.34rem, 0.6vw, 0.46rem);
}
.event-details dt {
  font-size: clamp(0.82rem, 0.86vw, 0.96rem);
}
.event-details dd {
  font-size: clamp(0.88rem, 0.92vw, 1rem);
}

/* --- Reduced motion: disable all enhancements --- */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal .event-card,
  .reveal .contact-card,
  .reveal .home-copy,
  .reveal .home-summary,
  .podium-row {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .scroll-hint { display: none; }
  .button::before { display: none; }
  .scroll-progress-bar { transition: none; }
}

/* --- Mobile: hide scroll hint, simplify animations --- */
@media (max-width: 860px) {
  .scroll-hint { display: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal .event-card,
  .reveal .contact-card,
  .reveal .home-copy,
  .reveal .home-summary {
    opacity: 1;
    transform: none;
  }
  .podium-row {
    opacity: 1;
    transform: none;
  }
}
