:root {
  --red: #ed1c24;
  --black: #080808;
  --charcoal: #111111;
  --charcoal-2: #171717;
  --white: #f7f7f4;
  --muted: #a6a6a2;
  --line: rgba(255, 255, 255, 0.14);
  --max: 1240px;
  --gutter: clamp(22px, 4vw, 64px);
  --section: clamp(80px, 11vw, 160px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 999;
  padding: 12px 16px;
  background: var(--white);
  color: var(--black);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand img {
  width: clamp(168px, 18vw, 238px);
  filter: brightness(0) invert(1);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}
.desktop-nav a {
  text-decoration: none;
  opacity: .86;
}
.desktop-nav a:hover { opacity: 1; }
.desktop-nav .nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.55);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    url("https://storage.googleapis.com/enduro24/Partners/DSC_2716.jpg") center 44% / cover no-repeat;
  transform: scale(1.025);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.10) 78%),
    linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.06) 52%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 2 * var(--gutter)));
  margin: 0 var(--gutter);
  padding: 180px 0 clamp(70px, 10vh, 120px);
}
.eyebrow {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero h1,
.section h2,
.world-banner h2,
.contact h2 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .94;
}
.hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(58px, 8.7vw, 132px);
}
.hero h1 span { color: var(--red); }
.hero-copy {
  max-width: 590px;
  margin: 32px 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 2vw, 22px);
}
.hero-signature {
  position: absolute;
  right: var(--gutter);
  bottom: 30px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 250px;
  padding: 15px 18px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.button-light { background: var(--white); color: var(--black); }

.section {
  position: relative;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: var(--section) 0;
}
.section-marker {
  position: absolute;
  top: var(--section);
  left: -30px;
  width: 16px;
  height: 16px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
}
.section h2 {
  margin: 0;
  font-size: clamp(42px, 5.6vw, 78px);
}
.intro-copy {
  padding-top: 34px;
  color: #c5c5c1;
  font-size: clamp(17px, 1.5vw, 20px);
}
.intro-copy p { margin: 0 0 22px; }

.numbers {
  width: auto;
  max-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  background: var(--white);
  color: var(--black);
}
.numbers-heading,
.metric-grid,
.data-note {
  width: min(var(--max), 100%);
  margin-left: auto;
  margin-right: auto;
}
.numbers-heading { margin-bottom: 60px; }
.metric-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  border-top: 1px solid rgba(0,0,0,.18);
  border-bottom: 1px solid rgba(0,0,0,.18);
}
.metric {
  min-height: 320px;
  padding: 38px 28px;
  border-right: 1px solid rgba(0,0,0,.18);
}
.metric:last-child { border-right: 0; }
.metric-featured {
  background: var(--red);
  color: white;
}
.metric-number {
  margin: 0 0 44px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(64px, 6vw, 100px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
}
.metric-icon {
  margin: 0 0 62px;
  font-family: "Oswald", sans-serif;
  font-size: 38px;
  color: var(--red);
}
.metric h3 {
  margin: 0 0 14px;
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1.1;
}
.metric p {
  margin: 0;
  color: rgba(0,0,0,.66);
  font-size: 14px;
}
.metric-featured p { color: rgba(255,255,255,.78); }
.data-note {
  margin-top: 20px;
  color: rgba(0,0,0,.52);
  font-size: 12px;
}

.world-banner {
  position: relative;
  min-height: min(78vh, 800px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.world-banner-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,.74)),
    url("https://storage.googleapis.com/enduro24/Partners/DSC_9186-HDR.jpg") center 42% / cover no-repeat;
  filter: grayscale(100%) contrast(1.08);
  transform: scaleX(-1) scale(1.02);
}
.world-banner-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  text-align: right;
}
.world-banner-content p {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: .36em;
}
.world-banner h2 {
  margin: 0;
  font-size: clamp(90px, 16vw, 250px);
}

.opportunities-heading {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 50px;
  margin-bottom: 68px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  min-height: 280px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
}
.service:hover { background: var(--charcoal-2); }
.service span {
  color: var(--red);
  font-family: "Oswald", sans-serif;
  font-size: 18px;
}
.service h3 {
  margin: 68px 0 14px;
  font-family: "Oswald", sans-serif;
  font-size: 25px;
  text-transform: uppercase;
  line-height: 1.1;
}
.service p { margin: 0; color: var(--muted); font-size: 14px; }

.partner-strip {
  border-top: 1px solid var(--line);
}
.partner-strip h2 { max-width: 850px; }
.logo-placeholders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.logo-placeholders span {
  display: grid;
  min-height: 130px;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #777;
  font-family: "Oswald", sans-serif;
  letter-spacing: .08em;
}
.placeholder-note { color: #777; font-size: 12px; }

.contact {
  padding: var(--section) var(--gutter);
  background: var(--red);
}
.contact-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.contact .eyebrow { color: var(--black); }
.contact h2 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(50px, 7.3vw, 110px);
}
.contact p:not(.eyebrow) {
  max-width: 600px;
  margin: 30px 0;
  color: rgba(0,0,0,.73);
  font-size: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px var(--gutter);
  background: #050505;
  border-top: 1px solid var(--line);
}
.site-footer img {
  width: 180px;
  filter: brightness(0) invert(1);
}
.site-footer p {
  margin: 0;
  color: #777;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal .8s ease forwards;
}
.hero .reveal:nth-child(2) { animation-delay: .12s; }
.hero .reveal:nth-child(3) { animation-delay: .24s; }
.hero .reveal:nth-child(4) { animation-delay: .36s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .desktop-nav a:not(.nav-cta) { display: none; }
  .section-grid,
  .opportunities-heading { grid-template-columns: 1fr; }
  .intro-copy { padding-top: 0; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(1),
  .metric:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,.18); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  :root { --gutter: 20px; }
  .site-header { padding-top: 20px; padding-bottom: 20px; }
  .brand img { width: 158px; }
  .nav-cta { padding: 8px 11px !important; font-size: 11px; }
  .hero { min-height: 820px; }
  .hero-media { background-position: 57% center; }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.20) 72%),
      linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.08));
  }
  .hero-content { padding-bottom: 72px; }
  .hero-signature { display: none; }
  .section-marker { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.18); }
  .metric:last-child { border-bottom: 0; }
  .services-grid,
  .logo-placeholders { grid-template-columns: 1fr; }
  .world-banner { min-height: 580px; }
  .world-banner-media { background-position: 54% center; }
  .world-banner-content { text-align: left; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; animation: none; }
  .button { transition: none; }
}


/* v0.2 â€” exact metrics, display formats and sponsored content */

.metric-number-small {
  color: var(--red);
  font-size: clamp(54px, 5vw, 82px);
}

.formats {
  border-top: 1px solid var(--line);
}

.formats-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
  margin-bottom: 70px;
}

.formats-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.format-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.format-card > div:last-child {
  padding: 28px;
}

.format-card small {
  color: var(--red);
  font-family: "Oswald", sans-serif;
  font-size: 17px;
}

.format-card h3 {
  margin: 68px 0 12px;
  font-family: "Oswald", sans-serif;
  font-size: 27px;
  line-height: 1.05;
  text-transform: uppercase;
}

.format-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.format-preview {
  position: relative;
  min-height: 300px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-color: #0d0d0d;
}

.format-preview::before,
.format-preview::after {
  content: "";
  position: absolute;
  background: #272727;
}

.format-preview::before {
  left: 12%;
  right: 12%;
  top: 18%;
  height: 10%;
}

.format-preview::after {
  left: 12%;
  width: 49%;
  top: 40%;
  bottom: 14%;
}

.format-preview span {
  position: absolute;
  z-index: 2;
  background: var(--red);
}

.preview-leaderboard span {
  left: 41%;
  right: 12%;
  top: 18%;
  height: 10%;
}

.preview-billboard span {
  left: 12%;
  right: 12%;
  top: 40%;
  height: 18%;
}

.preview-content span {
  left: 12%;
  width: 49%;
  top: 63%;
  height: 13%;
}

.preview-rectangle span {
  right: 12%;
  width: 24%;
  top: 40%;
  height: 36%;
}

.formats-note {
  margin: 22px 0 0;
  color: #777;
  font-size: 12px;
}

.sponsored {
  padding: var(--section) var(--gutter);
  background: var(--white);
  color: var(--black);
}

.sponsored-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.sponsored h2 {
  max-width: 900px;
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(62px, 9vw, 140px);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.sponsored h2 span {
  color: var(--red);
}

.sponsored-copy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(35px, 7vw, 100px);
  max-width: 1050px;
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,.22);
}

.sponsored-copy p {
  margin: 0;
  color: rgba(0,0,0,.68);
  font-size: 17px;
}

@media (max-width: 1080px) {
  .formats-heading {
    grid-template-columns: 1fr;
  }

  .format-card {
    grid-template-columns: 1fr;
  }

  .format-preview {
    min-height: 240px;
  }
}

@media (max-width: 700px) {
  .format-grid,
  .sponsored-copy {
    grid-template-columns: 1fr;
  }
}

/* SELECTED WORK — append to styles.css */

.selected-work {
  border-top: 1px solid var(--line);
}

.selected-work-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
  margin-bottom: 70px;
}

.selected-work-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.work-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}

.work-card figure {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
}

.work-card-wide figure {
  aspect-ratio: 16 / 8.5;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1),
              filter .35s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color .25s ease;
}

.work-card:hover::after {
  border-color: var(--red);
}

.work-card:hover img {
  transform: scale(1.035);
  filter: contrast(1.04);
}

.work-card-content {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 42px);
}

.work-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.work-meta span {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  letter-spacing: 0;
}

.work-card h3 {
  margin: 46px 0 16px;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(30px, 3.2vw, 52px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.work-card p {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 15px;
}

.work-link {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (min-width: 981px) {
  .work-card-wide {
    grid-column: span 2;
    grid-template-columns: 1.45fr .55fr;
    grid-template-rows: none;
  }

  .work-card-wide:nth-of-type(4) {
    grid-template-columns: .55fr 1.45fr;
  }

  .work-card-wide:nth-of-type(4) figure {
    order: 2;
  }

  .work-card-wide figure {
    aspect-ratio: auto;
    min-height: 470px;
  }
}

@media (max-width: 980px) {
  .selected-work-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card figure,
  .work-card-wide figure {
    aspect-ratio: 4 / 3;
  }

  .work-card h3 {
    margin-top: 32px;
    font-size: clamp(34px, 10vw, 48px);
  }
}


/* Mobile refinement for Sponsored Content heading */
@media (max-width: 650px) {
  .sponsored h2 {
    font-size: clamp(42px, 11.5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.015em;
    overflow-wrap: anywhere;
  }

  .sponsored-copy p {
    font-size: 16px;
  }
}
