/* ==========================================================================
   Alentejo Offroad School — demo (pure HTML + CSS)
   Design language: editorial / elite performance (Big Shoulders + Barlow)
   ========================================================================== */

/* ---------- Self-hosted fonts (latin subset) ---------- */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("assets/fonts/big-shoulders-display-700-900-latin.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/barlow-300-latin.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/barlow-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/barlow-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/barlow-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-primary: #1b1b1b;
  --brand-secondary: #fffbf0;
  --neutral-bg: #ffffff;
  --neutral-surface: #f9f9f9;
  --text: #1b1b1b;
  --text-muted: rgba(27, 27, 27, 0.8);

  --font-primary: "Big Shoulders Display", "Oswald", Impact, sans-serif;
  --font-secondary: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 40px;

  --shadow-cta: 0 4px 15px rgba(27, 27, 27, 0.2);
  --shadow-carousel: rgba(27, 27, 27, 0.1) 1px 2px 16px 1px;

  --container: 1460px;
  --gutter: 24px;
  --header-h: 80px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-secondary);
  background: var(--neutral-bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { list-style: none; padding: 0; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--brand-primary); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 1200px; }
.center { text-align: center; }

/* ---------- Typography ---------- */

.eyebrow {
  display: block;
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.display {
  font-family: var(--font-primary);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--brand-primary);
}
.display--lg  { font-size: clamp(50px, 6vw, 68px); margin-bottom: 40px; }
.display--xl  { font-size: clamp(50px, 6.5vw, 72px); }
.display--xxl { font-size: clamp(56px, 7.5vw, 84px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid transparent;
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
  white-space: nowrap;
}
.btn--sm { font-size: 12px; padding: 12px 32px; }
.btn--lg { font-size: 13px; padding: 20px 40px; }
.btn--dark { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); box-shadow: var(--shadow-cta); }
.btn--dark:hover { background: #262626; transform: scale(1.05); }
.btn--sm.btn--dark { box-shadow: none; }
.btn--sm.btn--dark:hover { transform: none; }
.btn--cream { background: var(--brand-secondary); color: var(--brand-primary); border-color: var(--brand-primary); }
.btn--cream:hover { background: #fff; }
.btn--white { background: #fff; color: var(--brand-primary); box-shadow: var(--shadow-cta); }
.btn--white:hover { background: var(--brand-secondary); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f3f4f6;
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__left { display: flex; align-items: center; gap: 48px; }
.nav__logo img { height: 56px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__links a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--brand-primary); }

/* ---------- Hero ---------- */

.hero {
  min-height: 85vh;
  padding-block: calc(var(--header-h) + 80px) 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.hero__grid {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  margin-bottom: 64px;
}
.hero__brand { flex: 0 0 650px; }
.hero__statement {
  font-family: var(--font-primary);
  font-size: 100px;
  line-height: 0.85;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--brand-primary);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.hero__copy { max-width: 850px; }
.hero__title {
  font-family: var(--font-primary);
  font-size: 56px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 8px 0 32px;
}
.hero__lead {
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1.6;
  font-weight: 300;
  max-width: 650px;
}

/* Infinite image carousel */
.carousel { width: 100%; overflow: hidden; margin-top: 16px; }
.carousel__track {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  width: max-content;
  animation: scroll-x 60s linear infinite;
}
.carousel:hover .carousel__track { animation-play-state: paused; }
.carousel__track img {
  width: 400px;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-carousel);
}

/* ---------- Sections ---------- */

.section { padding-block: 112px; }
.section--cream { background: var(--brand-secondary); }
.section--white { background: var(--neutral-bg); }
.section--dark  { background: var(--brand-primary); color: #fff; }
.section--bordered { border-top: 1px solid rgba(27, 27, 27, 0.05); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 64px;
}
.section-head__title { max-width: 42rem; }
.section-head__text {
  max-width: 28rem;
  padding-bottom: 16px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.625;
}

/* ---------- Cards with cutout footer ---------- */

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

.card {
  --card-bg: #1b1b1b;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  transition: translate .3s ease;
}
.card:hover { translate: 0 -8px; }

.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 32px 8px;
  background: var(--card-bg);
  color: #fff;
  border-radius: 22px 22px 0 0;
}
.card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
}
.card__meta {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}
.card__title {
  font-family: var(--font-primary);
  font-size: 38px;
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}
.card__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.625;
  margin-bottom: 16px;
}

/* The notched footer: same SVG path as the reference, applied as a mask */
.card__foot {
  position: relative;
  height: 60px;
  margin-top: -1px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 24px 18px 32px;
}
.card__foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 670 111' preserveAspectRatio='none'%3E%3Cpath d='M670 0H0V91C0 102.046 8.9543 111 20 111H518.641C526.216 111 533.14 106.721 536.529 99.9469L570.988 31.0531C574.377 24.2789 581.301 20 588.875 20H650C661.046 20 670 11.0457 670 0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 670 111' preserveAspectRatio='none'%3E%3Cpath d='M670 0H0V91C0 102.046 8.9543 111 20 111H518.641C526.216 111 533.14 106.721 536.529 99.9469L570.988 31.0531C574.377 24.2789 581.301 20 588.875 20H650C661.046 20 670 11.0457 670 0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.card__cta {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
}
.card__arrow {
  position: relative;
  width: 22px;
  height: 22px;
  margin-bottom: -6px;
  color: var(--brand-primary);
  transition: transform .3s ease;
}
.card__arrow svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card:hover .card__arrow { transform: translateX(6px) scale(1.1); }

/* Product variant */
.card__product {
  height: 220px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 24px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__product img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform .7s ease;
}
.card--product:hover .card__product img { transform: scale(1.06); }
.card--product .card__title { font-size: 32px; }

/* ---------- Capsules ---------- */

.capsules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-block: 32px;
}
.capsule {
  padding: 16px 32px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(27, 27, 27, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: float var(--dur, 6s) ease-in-out var(--delay, 0s) infinite;
  transition: scale .3s ease;
  cursor: default;
}
.capsule--tint { background: rgba(27, 27, 27, 0.05); }
.capsule:hover { scale: 1.1; }

.muted-note {
  margin: 32px auto 0;
  max-width: 36rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ---------- Events ---------- */

.events { position: relative; overflow: hidden; }
.events__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(10rem, 30vw, 28rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  user-select: none;
}
.events__inner { position: relative; }
.events__head { max-width: 56rem; margin: 0 auto 64px; }
.events .display { color: #fff; margin-bottom: 24px; }
.events__sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.dates {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin-inline: auto;
}
.date {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: border-color .3s ease, background-color .3s ease, color .3s ease;
}
.date:hover { background: #fff; color: var(--brand-primary); border-color: #fff; }
.date--past { color: rgba(255, 255, 255, 0.3); border-style: dashed; }
.date--next {
  position: relative;
  background: #fff;
  color: var(--brand-primary);
  border-color: #fff;
}
.date__badge {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.date__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.4;
}
.date__day {
  font-family: var(--font-primary);
  font-size: 64px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

/* ---------- Partners marquee ---------- */

.partners { overflow: hidden; margin-top: 8px; padding-block: 8px; }
.partners__track {
  display: flex;
  gap: 20px;
  padding-right: 20px;
  width: max-content;
  animation: scroll-x 50s linear infinite;
}
.partners:hover .partners__track { animation-play-state: paused; }
.partners__track li {
  height: 140px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(27, 27, 27, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-carousel);
}
.partners__track img { height: 100px; width: auto; max-width: 280px; object-fit: contain; }

/* ---------- Final CTA (contacts) ---------- */

.cta {
  position: relative;
  height: 680px;
  overflow: hidden;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta__cols {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  gap: 16px;
  padding-inline: 16px;
  opacity: 0.4;
  overflow: hidden;
}
.cta__cols--left  { left: 0;  right: calc(50% + 220px); }
.cta__cols--right { right: 0; left: calc(50% + 220px); }
.cta__col { flex: 1; display: flex; flex-direction: column; }
.cta__col--up   { animation: scroll-up 40s linear infinite; }
.cta__col--down { animation: scroll-down 40s linear infinite; }
.cta__stack { display: flex; flex-direction: column; gap: 16px; padding-bottom: 16px; }
.cta__stack img { width: 100%; object-fit: cover; border-radius: var(--radius-md); }

.cta__card-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 460px;
  padding-inline: var(--gutter);
}
.cta__card {
  background: #fff;
  color: var(--brand-primary);
  border-radius: 32px;
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.5);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta__logo {
  padding: 12px;
  margin-bottom: 28px;
  background: rgba(27, 27, 27, 0.05);
  border-radius: var(--radius-md);
}
.cta__logo img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; mix-blend-mode: multiply; }
.cta__title {
  font-family: var(--font-primary);
  font-size: 42px;
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cta__title em { color: rgba(27, 27, 27, 0.6); }
.cta__text { color: var(--text-muted); line-height: 1.625; margin-bottom: 24px; }

.cta__contacts {
  width: 100%;
  margin-bottom: 28px;
  border-top: 1px solid rgba(27, 27, 27, 0.08);
}
.cta__contacts > div {
  padding-block: 12px;
  border-bottom: 1px solid rgba(27, 27, 27, 0.08);
}
.cta__contacts dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(27, 27, 27, 0.4);
  margin-bottom: 4px;
}
.cta__contacts dd { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.cta__contacts a:hover { text-decoration: underline; text-underline-offset: 3px; }

.cta__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--brand-primary);
  color: #fff;
  padding-block: 16px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.cta__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s ease;
}
.cta__btn:hover { background: #000; box-shadow: 0 10px 15px -3px rgba(27, 27, 27, 0.2); }
.cta__btn:hover svg { transform: translateX(8px); }

.cta__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(27,27,27,.6), transparent 50%, rgba(27,27,27,.6)),
    linear-gradient(to bottom, rgba(27,27,27,.2), transparent 50%, rgba(27,27,27,.2));
}

/* ---------- Footer ---------- */

.footer {
  background: var(--brand-primary);
  color: #fff;
  padding-block: 112px 56px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 64px;
  margin-bottom: 64px;
}
.footer__claim { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.footer__title {
  font-family: var(--font-primary);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(60px, 8vw, 96px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 80px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 18px; }
.footer__col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}
.footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: color .2s ease;
}
.footer__col a:hover { color: rgba(255, 255, 255, 0.6); }
.link-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}
.footer__col a:hover .link-arrow { transform: translate(2px, -2px); }

/* Eyes — CSS-only look-around loop */
.eyes { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; opacity: 0.3; }
.eye {
  position: relative;
  width: 24px;
  height: 34px;
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  animation: blink 6s infinite;
}
.eye__ball {
  position: absolute;
  left: 5px;
  top: 7px;
  width: 14px;
  height: 20px;
  background: var(--brand-primary);
  border-radius: 50%;
  animation: look 8s ease-in-out infinite;
}
.eye__ball.is-tracking { animation: none; transition: transform 75ms ease-out; }
.eye__ball span {
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
}

/* Giant marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 40px;
  margin-bottom: 64px;
}
.marquee__track {
  display: inline-flex;
  gap: 80px;
  padding-right: 80px;
  animation: scroll-x 30s linear infinite;
}
.marquee__track span {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 200px;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  cursor: default;
  transition: color .4s ease, -webkit-text-stroke .4s ease;
}
.marquee__track span:hover {
  color: transparent;
  -webkit-text-stroke: 1.5px #fff;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer__bottom p {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- Keyframes ---------- */

@keyframes scroll-x   { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-up  { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes scroll-down{ from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes float      { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes look {
  0%, 15%   { transform: translate(0, 0); }
  25%, 40%  { transform: translate(-4px, 2px); }
  50%, 60%  { transform: translate(4px, -3px); }
  70%, 85%  { transform: translate(3px, 4px); }
  100%      { transform: translate(0, 0); }
}
@keyframes blink {
  0%, 46%, 50%, 100% { transform: scaleY(1); }
  48% { transform: scaleY(0.1); }
}

/* Scroll-reveal (script.js adds .is-visible); content stays visible without JS */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .8s ease-out,
    transform .8s ease-out,
    translate .3s ease,
    background-color .3s ease,
    border-color .3s ease,
    color .3s ease;
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Stagger siblings in grids */
.js .cards .reveal:nth-child(3n+2),
.js .dates .reveal:nth-child(5n+2) { transition-delay: .08s; }
.js .cards .reveal:nth-child(3n+3),
.js .dates .reveal:nth-child(5n+3) { transition-delay: .16s; }
.js .dates .reveal:nth-child(5n+4) { transition-delay: .24s; }
.js .dates .reveal:nth-child(5n+5) { transition-delay: .32s; }

/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
  .hero__brand { flex-basis: 520px; }
  .hero__statement { font-size: 84px; }
  .hero__title { font-size: 46px; }
  .hero__lead { font-size: 20px; }
}

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { flex-direction: column; }
  .cta__cols--left  { right: calc(50% + 200px); }
  .cta__cols--right { left: calc(50% + 200px); }
  .cta__col--wide { display: none; }
}

@media (max-width: 767px) {
  :root { --header-h: 68px; }

  .nav__links { display: none; }
  .nav__logo img { height: 46px; }
  .btn--sm { padding: 10px 20px; font-size: 11px; }

  .hero { min-height: auto; padding-block: calc(var(--header-h) + 48px) 56px; }
  .hero__grid { flex-direction: column; gap: 32px; margin-bottom: 40px; }
  .hero__brand { flex-basis: auto; }
  .hero__statement { font-size: 72px; }
  .hero__actions { gap: 12px; }
  .btn--lg { padding: 18px 28px; font-size: 12px; }
  .hero__title { font-size: 38px; margin-top: 0; }
  .hero__lead { font-size: 18px; }
  .carousel__track img { width: 280px; height: 190px; }

  .section { padding-block: 80px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 40px; }
  .section-head__text { padding-bottom: 0; }

  .cards { grid-template-columns: 1fr; gap: 24px; }
  .card__body { padding: 24px 24px 8px; }
  .card__foot { padding-left: 24px; }
  .card__img { height: 220px; }

  .capsules { gap: 12px; }
  .capsule { padding: 12px 20px; font-size: 12px; }

  .dates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .date { padding: 20px; gap: 10px; }
  .date__day { font-size: 52px; }

  .partners__track li { height: 110px; padding: 12px 16px; }
  .partners__track img { height: 76px; max-width: 200px; }

  .cta { height: auto; padding-block: 72px; }
  .cta__cols { left: 0; right: 0; opacity: 0.25; }
  .cta__cols--right { display: none; }
  .cta__col--wide { display: flex; }
  .cta__card { padding: 32px 24px; }

  .footer { padding-block: 80px 40px; }
  .footer__links { gap: 48px; }
  .marquee { padding-block: 24px; margin-bottom: 40px; }
  .marquee__track { gap: 40px; padding-right: 40px; }
  .marquee__track span { font-size: 120px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
