@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,500;0,600;0,700;0,800;0,900;1,600&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --ink: #07152e;
  --blue: #0f3279;
  --lime: #f36b21;
  --coral: #c7f10c;
  --paper: #f3f0e7;
  --white: #fffef6;
  --line: rgba(7, 21, 46, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  background: url("athletic-terni-runners.png") center / cover no-repeat;
  transform: scale(1.015);
  animation: hero-in 1.4s cubic-bezier(.2,.7,.2,1) both;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 17, 42, .92) 0%, rgba(4, 17, 42, .72) 29%, rgba(4, 17, 42, .13) 66%),
    linear-gradient(0deg, rgba(4, 17, 42, .75) 0%, transparent 35%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: .78;
}

.brand > span:last-child {
  display: grid;
  gap: 6px;
}

.brand b,
.brand em {
  font-family: "Barlow Condensed", Impact, sans-serif;
  letter-spacing: .11em;
  font-style: normal;
}

.brand b {
  font-size: 1.1rem;
}

.brand em {
  font-size: .8rem;
  color: var(--lime);
}

.brand-mark {
  display: flex;
  width: 35px;
  height: 36px;
  transform: skewX(-16deg);
  gap: 3px;
}

.brand-mark i {
  width: 8px;
  background: var(--lime);
}

.brand-mark i:nth-child(1) { height: 60%; align-self: end; }
.brand-mark i:nth-child(2) { height: 80%; align-self: end; }
.brand-mark i:nth-child(3) { height: 100%; }

.mini-social {
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  padding-bottom: 5px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-copy {
  padding-top: clamp(110px, 15vh, 170px);
}

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--lime);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1,
.season h2,
.social-section h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .73;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(5.4rem, 10.2vw, 10rem);
  max-width: 760px;
}

.hero h1 span {
  color: var(--lime);
}

.hero-english {
  margin: 28px 0 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: .02em;
}

.hero-bottom {
  position: absolute;
  bottom: 32px;
  left: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  transform: translateX(-50%);
}

.iloverun {
  display: flex;
  align-items: center;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.04em;
}

.iloverun .heart {
  margin-inline: 3px;
  color: var(--coral);
  font-size: .78em;
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scroll-hint .line {
  display: block;
  width: 70px;
  height: 1px;
  background: var(--lime);
}

.season {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr minmax(360px, .72fr);
  gap: 45px;
  padding-block: clamp(90px, 12vw, 160px);
}

.season-number {
  padding-top: 3px;
  border-top: 2px solid var(--ink);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.kicker {
  color: var(--blue);
}

.kicker::before {
  content: "";
  width: 24px;
  height: 4px;
  background: var(--lime);
}

.season h2 {
  font-size: clamp(4.3rem, 7.5vw, 7.3rem);
  line-height: .8;
}

.season h2 span {
  color: var(--lime);
}

.season-card {
  position: relative;
  overflow: hidden;
  align-self: start;
  margin-top: 45px;
  padding: 48px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 18px 18px 0 var(--lime);
}

.card-stripes {
  position: absolute;
  top: -28px;
  right: 25px;
  display: flex;
  gap: 10px;
  transform: rotate(26deg);
}

.card-stripes span {
  width: 12px;
  height: 105px;
  background: var(--lime);
}

.card-label {
  margin: 0 0 42px;
  color: var(--lime);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.season-card h3 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: .9;
  text-transform: uppercase;
}

.season-card h3 strong {
  color: var(--lime);
  font-weight: 900;
}

.card-copy {
  max-width: 410px;
  margin: 28px 0;
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
  line-height: 1.7;
}

.action-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px 0 22px;
  background: var(--lime);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}

.action-button:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.action-button:focus-visible,
.social-links a:focus-visible,
.mini-social:focus-visible,
.footer a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.action-button svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(90px, 11vw, 145px);
  background: var(--ink);
  color: var(--white);
}

.social-section::after {
  content: "RUN";
  position: absolute;
  right: -25px;
  top: -60px;
  color: rgba(255, 255, 255, .035);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 28vw;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.social-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 80px;
  align-items: end;
}

.kicker.light {
  color: var(--lime);
}

.social-section h2 {
  font-size: clamp(4rem, 7.4vw, 7.2rem);
  line-height: .8;
}

.social-section h2 span {
  color: var(--lime);
}

.social-copy {
  border-left: 1px solid rgba(255,255,255,.25);
  padding-left: 35px;
}

.social-copy p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
}

.social-copy p + p {
  margin-top: 18px;
  color: rgba(255,255,255,.58);
  font-style: italic;
}

.social-links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.social-links > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 118px;
  padding: 20px 30px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.social-links > a:hover {
  border-color: var(--lime);
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}

.social-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.social-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-icon .fill,
.social-links > a:nth-child(2) .social-icon svg {
  fill: currentColor;
  stroke: none;
}

.social-links small,
.footer span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,.52);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.social-links b {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.45rem;
  letter-spacing: .02em;
}

.link-arrow {
  color: var(--lime);
  font-size: 1.6rem;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  padding-block: 70px 28px;
}

.footer .brand {
  margin-bottom: 20px;
}

.footer .brand-mark i {
  background: var(--blue);
}

.footer .brand em {
  color: var(--blue);
}

.footer-brand p {
  margin: 0;
  color: rgba(7,21,46,.52);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
}

.footer address,
.footer .contact {
  font-style: normal;
}

.footer span {
  color: rgba(7,21,46,.48);
}

.footer address a,
.footer .contact a {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

.footer address a:hover,
.footer .contact a:hover {
  color: var(--lime);
}

.footer-meta {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-meta span {
  margin: 0;
  font-size: .55rem;
}

@keyframes hero-in {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1.015); }
}

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

@media (max-width: 900px) {
  .shell {
    width: min(100% - 40px, 720px);
  }

  .hero-image {
    background-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4,17,42,.94), rgba(4,17,42,.3)),
      linear-gradient(0deg, rgba(4,17,42,.78), transparent 45%);
  }

  .season {
    grid-template-columns: 45px 1fr;
  }

  .season-card {
    grid-column: 2;
    margin-top: 15px;
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .social-copy {
    max-width: 500px;
  }

  .social-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: calc(100% - 32px);
  }

  .hero {
    min-height: 760px;
  }

  .topbar {
    padding-top: 20px;
  }

  .hero-image {
    background-position: 63% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4,17,42,.96) 0%, rgba(4,17,42,.62) 48%, rgba(4,17,42,.12) 90%),
      linear-gradient(0deg, rgba(4,17,42,.9) 0%, transparent 45%);
  }

  .hero-copy {
    padding-top: 125px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 24vw, 6.2rem);
  }

  .eyebrow span:nth-child(n+2) {
    display: none;
  }

  .hero-bottom {
    bottom: 24px;
  }

  .scroll-hint span:first-child {
    display: none;
  }

  .scroll-hint .line {
    width: 40px;
  }

  .season {
    display: block;
    padding-block: 80px 100px;
  }

  .season-number {
    width: 42px;
    margin-bottom: 48px;
  }

  .season h2 {
    font-size: clamp(4rem, 20vw, 5.4rem);
  }

  .season-card {
    margin: 55px 9px 0 0;
    padding: 38px 28px;
    box-shadow: 10px 10px 0 var(--lime);
  }

  .season-card h3 {
    font-size: 2.65rem;
  }

  .social-section h2 {
    font-size: clamp(3.8rem, 19vw, 5.2rem);
  }

  .social-copy {
    padding-left: 22px;
  }

  .social-links {
    margin-top: 50px;
  }

  .social-links > a {
    min-height: 98px;
    padding: 16px 18px;
    gap: 14px;
  }

  .social-icon {
    width: 44px;
    height: 44px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 10px;
  }
}
