:root {
  --bg: #09090b;
  --bg-soft: #111216;
  --panel: #15171c;
  --panel-hover: #1b1d23;
  --text: #f7f7f8;
  --muted: #a5a7ae;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #d50b2f;
  --accent-2: #ef183d;
  --container: 1180px;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -10%, rgba(213, 11, 47, 0.14), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.page-shell { overflow: hidden; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 74vh;
  display: grid;
  align-items: center;
  padding: 76px 0 82px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), transparent 28%),
    linear-gradient(90deg, transparent 0 49.8%, rgba(255,255,255,0.025) 50%, transparent 50.2% 100%);
  background-size: auto, 110px 100%;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: .23;
  z-index: -2;
  pointer-events: none;
}

.hero-glow--one {
  width: 360px;
  height: 360px;
  background: var(--accent);
  top: -110px;
  left: 9%;
}

.hero-glow--two {
  width: 300px;
  height: 300px;
  background: #811122;
  right: 5%;
  bottom: -150px;
}

.hero__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.impact-logo {
  width: min(690px, 88vw);
  height: auto;
  margin: 0 auto 42px;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.25));
}

.eyebrow,
.section-kicker {
  color: #f04a65;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
p { margin-top: 0; }

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 6vw, 5.25rem);
  line-height: .98;
  letter-spacing: -0.055em;
  font-weight: 850;
  text-wrap: balance;
}

.hero__copy {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.72;
  text-wrap: balance;
}

.brands {
  position: relative;
  padding: 100px 0 118px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4.3vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.brand-card {
  min-height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #050505;
  box-shadow: var(--shadow);
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.brand-card::after {
  content: "";
  position: absolute;
}

.brand-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 24, 61, .34);
  background: #0b0b0b;
}

.brand-card--black { background: #050505; }

.brand-link {
  width: 100%;
  min-height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.brand-link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: -5px;
  border-radius: calc(var(--radius) - 4px);
}

.brand-card img {
  width: auto;
  max-width: 88%;
  max-height: 138px;
  object-fit: contain;
}


.brand-card .brand-logo--mad {
  max-width: 92%;
  max-height: 168px;
}

.brand-card .brand-logo--wide {
  max-width: 92%;
  max-height: 108px;
}

.brand-card .brand-logo--kodiak {
  max-width: 48%;
  max-height: 165px;
}

.brand-card .brand-logo--elite {
  max-width: 42%;
  max-height: 158px;
}

.brand-card .brand-logo--concret {
  max-width: 90%;
  max-height: 150px;
}

.brand-card .brand-logo--vitacore {
  max-width: 92%;
  max-height: 118px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #070708;
}

.footer__inner {
  min-height: 148px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  color: #7f828a;
  font-size: 13px;
}

.footer__logo {
  width: 180px;
  height: auto;
}

.footer__inner p { margin: 0; }
.footer__contact { text-align: center; }
.footer__contact a {
  color: #f7f7f8;
  text-decoration: none;
  transition: color .2s ease;
}
.footer__contact a:hover { color: #f04a65; }
.footer__copyright { justify-self: end; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 66px 0 70px; }
  .impact-logo { width: min(610px, 92vw); margin-bottom: 34px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: start; flex-direction: column; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; padding: 28px 0; }
  .footer__logo, .footer__copyright { justify-self: center; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding: 48px 0 58px; }
  .impact-logo { width: 94vw; margin-bottom: 28px; }
  .eyebrow { font-size: 10px; letter-spacing: .14em; }
  h1 { font-size: clamp(2.25rem, 12vw, 3.8rem); line-height: 1.01; }
  .hero__copy { font-size: 1rem; line-height: 1.65; }
  .brands { padding: 72px 0 80px; }
  .brand-grid { grid-template-columns: 1fr; gap: 14px; }
  .brand-card { min-height: 196px; padding: 0; border-radius: 18px; }
  .brand-link { min-height: 196px; padding: 28px; }
  .brand-card img { max-height: 116px; }
  .brand-card .brand-logo--mad { max-width: 90%; max-height: 145px; }
  .brand-card .brand-logo--kodiak { max-width: 45%; max-height: 136px; }
  .brand-card .brand-logo--elite { max-width: 38%; max-height: 132px; }
  .brand-card .brand-logo--concret { max-width: 88%; max-height: 126px; }
  .brand-card .brand-logo--vitacore { max-width: 92%; max-height: 96px; }
}
