@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #0B0B0D;
  --surface: #1A1A1D;
  --surface-2: #232327;
  --border: #2B2B2F;
  --white: #F3F3F3;
  --mist: #B8B8B8;
  --muted: #888888;
  --red: #B31217;
  --gold: #C9A227;
  --display: 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', ui-monospace, monospace;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 64px 64px;
}
::selection { background: var(--red); color: #fff; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--white);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.site-header {
  min-height: 76px;
  border-bottom: 1px solid #1c1c20;
  background: rgba(11,11,13,.96);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 184px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--mist);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links .explore {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #55555c;
  border-radius: 3px;
  color: var(--white);
}

.campaign-main { min-height: calc(100vh - 76px); }
.hero {
  min-height: calc(100vh - 76px - 92px);
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(390px, 1.04fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(44px, 6vw, 76px);
}
.campaign-id {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
}
.slash { width: 10px; height: 20px; background: var(--red); transform: skewX(-12deg); }
h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 7.15vw, 104px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .008em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 .red { color: var(--red); }
.mission {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--mist);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}
.mission strong { color: var(--white); font-weight: 500; }
.event-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
}
.event-line span + span { color: var(--gold); }

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.action-card {
  min-width: 0;
  padding: 19px 20px 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.action-card:hover { border-color: #5a5a62; background: var(--surface-2); transform: translateY(-2px); }
.action-card.primary { border-color: var(--red); background: var(--red); }
.action-card.primary:hover { border-color: #d01820; background: #9e1015; }
.action-label {
  display: block;
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
}
.primary .action-label { color: rgba(255,255,255,.76); }
.action-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.action-copy { display: block; margin-top: 9px; color: var(--mist); font-size: 13px; line-height: 1.45; }
.primary .action-copy { color: rgba(255,255,255,.84); }
.contact-fallback {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}
.contact-fallback a { color: var(--mist); text-underline-offset: 3px; }

.photo-wrap { position: relative; min-height: 0; aspect-ratio: 3 / 4; }
.photo-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}
.photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11,11,13,.04) 42%, rgba(11,11,13,.62) 100%);
  pointer-events: none;
}
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
  pointer-events: none;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; filter: saturate(1) contrast(1.04); }
.photo-caption {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  text-shadow: 0 1px 4px rgba(0,0,0,.95), 0 0 16px rgba(0,0,0,.7);
}
.athlete-name { font-family: var(--display); font-size: 31px; line-height: 1; text-transform: uppercase; }
.athlete-cred { margin-top: 5px; color: var(--mist); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.team-mark {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(201,162,39,.6);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.campaign-footer { border-top: 1px solid #1c1c20; }
.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  font-size: 12px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--mist); text-decoration: none; }
.footer-links a:hover { color: var(--white); }

a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media (max-width: 900px) {
  .shell { width: min(100% - 36px, var(--container)); }
  .site-header, .header-inner { min-height: 68px; }
  .nav-links a:not(.explore) { display: none; }
  .brand img { width: 156px; }
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 38px 44px;
  }
  .copy { order: 1; }
  .photo-wrap { order: 2; width: min(100%, 560px); justify-self: center; }
  h1 { font-size: clamp(55px, 12vw, 88px); max-width: 760px; }
  .mission { max-width: 760px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, var(--container)); }
  .site-header, .header-inner { min-height: 62px; }
  .brand img { width: 140px; }
  .nav-links { gap: 12px; }
  .nav-links .explore { min-height: 38px; padding-inline: 12px; font-size: 12px; }
  .hero { padding-block: 29px 34px; gap: 25px; }
  .campaign-id { margin-bottom: 16px; font-size: 10px; }
  h1 { font-size: clamp(48px, 15.2vw, 66px); }
  .mission { margin-top: 17px; font-size: 16px; line-height: 1.48; }
  .event-line { margin-top: 16px; font-size: 10px; }
  .actions { grid-template-columns: 1fr; margin-top: 23px; }
  .action-card { padding: 17px 18px; }
  .action-title { font-size: 23px; }
  .contact-fallback { margin-top: 10px; }
  .photo-caption { left: 18px; right: 18px; bottom: 17px; }
  .athlete-name { font-size: 26px; }
  .athlete-cred { font-size: 9px; }
  .team-mark { display: none; }
  .footer-inner { min-height: 0; padding-block: 24px; align-items: flex-start; flex-direction: column; gap: 15px; }
}

@media (max-width: 340px) {
  .shell { width: min(100% - 22px, var(--container)); }
  .brand img { width: 120px; }
  .nav-links .explore { padding-inline: 9px; font-size: 11px; }
  h1 { font-size: 46px; }
}
