/* IRT brand blue sampled from the rendered header at https://www.irtfoot.ma/ar.
   Arabic letter spacing stays normal to preserve connected letterforms. */
:root {
  --blue: #092ddb;
  --blue-dark: #0621a8;
  --ink: #101f43;
  --muted: #5b6680;
  --paper: #fff;
  --wash: #f3f5fa;
  --line: #dce2ee;
  --night: #071844;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --primary: var(--blue);
  --text-main: var(--ink);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
  -webkit-font-smoothing: antialiased;
}
body {
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.85 "Cairo",
    sans-serif;
  direction: rtl;
}
h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}
h1,
h2,
h3 {
  letter-spacing: normal;
  text-wrap: balance;
}
h1,
h2 {
  font-family: "Changa", "Cairo", sans-serif;
  font-weight: 800;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  flex-shrink: 0;
}
bdi,
[dir="ltr"] {
  unicode-bidi: isolate;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #7294ff;
  outline-offset: 5px;
}
::selection {
  background: var(--blue);
  color: white;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
section {
  padding: 96px 0;
  scroll-margin-top: 80px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}
.chapter {
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-variant-numeric: tabular-nums;
}
.section-head {
  max-width: 650px;
  margin-bottom: 36px;
}
.section-head h2,
.math-heading {
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-head h2 span {
  color: var(--blue);
}
.section-head p,
.math-desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
  max-width: 530px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 12px 25px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
  transition:
    background-color 180ms,
    color 180ms,
    transform 160ms var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn:active {
  transform: scale(0.98);
}
.skip-link {
  position: fixed;
  top: -100px;
  right: 20px;
  z-index: 3000;
  background: white;
  color: var(--blue);
  padding: 12px 24px;
}
.skip-link:focus {
  top: 10px;
}
/* A calm masthead gives the campaign image room to speak. */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 43px;
  height: 52px;
  object-fit: contain;
}
.brand-title {
  font-family: "Changa", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--blue);
}
.brand-sub {
  font-size: 9px;
  letter-spacing: 1.2px;
  direction: ltr;
  color: var(--muted);
  line-height: 1.6;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a[aria-current] {
  color: var(--blue);
  border-color: var(--blue);
}
.nav-inner > .btn {
  min-height: 44px;
  padding: 10px 22px;
  font-size: 13px;
}
/* Supporter photograph + physical pass, using the club's blue and white. */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--night);
  color: #fff;
  padding: 68px 0 0;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(7, 24, 68, 0.05),
      rgba(7, 24, 68, 0.4) 43%,
      #071844 72%
    ),
    url("assets/hero-tanger-2026.webp") left center/cover no-repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 64px;
  align-items: center;
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #d5def8;
  font-weight: 700;
  margin-bottom: 22px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #b9ccff;
  border-radius: 50%;
}
.tag-divider {
  height: 13px;
  width: 1px;
  background: #7585ae;
  margin-inline: 4px;
}
.hero h1 {
  font-size: clamp(48px, 5.6vw, 78px);
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero h1 span {
  color: #adc1ff;
}
.hero-desc {
  font-size: 16px;
  line-height: 1.95;
  color: #d0d9ed;
  max-width: 520px;
  margin-bottom: 22px;
}
.hero-desc b {
  color: white;
}
.curva-text {
  font-family: inherit;
  direction: rtl;
  display: inline;
}
.hero-price-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.hero-price-main {
  font-family: "Changa", sans-serif;
  font-size: 47px;
  font-weight: 800;
  line-height: 1.3;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.hero-price-main span {
  font-family: "Cairo", sans-serif;
  font-size: 15px;
  font-weight: 600;
}
.hero-price-old {
  font-size: 13px;
  color: #a8b6d4;
  text-decoration: line-through;
}
.hero-save-badge {
  font-size: 11px;
  background: #ffffff12;
  border: 1px solid #ffffff2b;
  color: #e3eaff;
  border-radius: 4px;
  padding: 3px 9px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-ctas .btn-secondary {
  border-color: #ffffff45;
  color: #fff;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 440px;
  padding-bottom: 25px;
}
.visual-caption {
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  text-shadow: 0 1px 8px #071844;
}
.pass-card {
  width: min(355px, 100%);
  color: var(--blue);
  background: #fff;
  border-radius: 13px;
  padding: 22px 26px 18px;
  position: relative;
  box-shadow: 0 22px 50px #0005;
  transform: rotate(-5deg);
  overflow: hidden;
}
.pass-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.pass-card-top img {
  width: 36px;
  height: 45px;
  object-fit: contain;
}
.pass-kicker {
  font:
    700 9px/1.5 "Cairo",
    sans-serif;
  letter-spacing: 1.5px;
}
.pass-card-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 16px;
}
.pass-label {
  font-size: 10px;
  color: var(--muted);
}
.pass-title {
  font-family: "Changa", sans-serif;
  font-size: 51px;
  font-weight: 800;
  line-height: 1.3;
}
.pass-title span {
  color: var(--ink);
}
.pass-year {
  font-size: 29px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1px;
  opacity: 0.15;
}
.pass-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-top: 13px;
  font-size: 10px;
  font-weight: 700;
  gap: 10px;
}
.barcode {
  height: 23px;
  width: 70px;
  background: repeating-linear-gradient(
    90deg,
    var(--blue) 0 1px,
    transparent 1px 3px,
    var(--blue) 3px 5px,
    transparent 5px 7px,
    var(--blue) 7px 8px,
    transparent 8px 12px
  );
}
.pass-caption {
  font-size: 11px;
  display: flex;
  gap: 10px;
  color: #e0e8fb;
  padding-top: 23px;
  padding-left: 12px;
}
.pass-caption span {
  font-size: 23px;
}
.quick-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  gap: 18px;
}
.perk-card {
  padding: 22px 28px 26px;
  position: relative;
  background: #ffffff06;
  border-radius: 16px;
}
.perk-card:first-child {
  padding-inline-start: 28px;
}
.perk-card:last-child {
  border: 0;
}
.perk-card .perk-title {
  font-size: 14px;
  margin-bottom: 3px;
  font-weight: 800;
}
.perk-card p {
  font-size: 12px;
  color: #b7c6e5;
  max-width: 310px;
  line-height: 1.85;
}
/* Pricing uses a ticket stub, with a readable isolated calculation. */
.math-section {
  padding: 88px 0;
  background: #fff;
}
.math-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  margin-bottom: 54px;
}
.math-title-wrap {
  display: flex;
}
.math-desc b {
  color: var(--blue);
}
.math-split-card {
  display: flex;
  direction: rtl;
  min-width: 0;
  border: 0;
  border-radius: 22px;
  position: relative;
  box-shadow: 0 18px 55px #0a25550c;
  overflow: hidden;
}
.math-navy-side {
  width: 37%;
  padding: 27px 20px;
  background: var(--blue);
  color: white;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.navy-ticket-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 800;
}
.navy-sub {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 12px;
  color: #d8e0ff;
}
.navy-accent-bar {
  display: none;
  width: 30px;
  height: 3px;
  background: #fff;
  margin-top: 20px;
}
.math-white-side {
  width: 63%;
  padding: 25px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--wash);
}
.white-price-row {
  direction: ltr;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  color: var(--blue);
}
.price-giant-num {
  font-family: "Changa", sans-serif;
  font-size: 67px;
  line-height: 1.15;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.price-curr-tag {
  font-size: 13px;
  font-weight: 700;
}
.price-unit-label {
  font-size: 13px;
  font-weight: 800;
}
.price-unit-bar {
  display: none;
}
.math-calc-pill {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 11px;

  padding-top: 13px;
  margin-top: 4px;
  width: 100%;
}
.math-saving-pill {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.math-saving-pill b {
  color: var(--blue);
}
.math-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;

  padding-top: 34px;
}
.math-feature-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}
.feature-icon-wrap {
  width: 42px;
  height: 42px;
  background: var(--wash);
  display: grid;
  place-items: center;
  border-radius: 9px;
}
.feature-icon-wrap svg {
  stroke: var(--blue);
  width: 21px;
}
.feature-text h3 {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 6px;
  font-weight: 800;
}
.feature-text p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.feature-progress-line {
  display: none;
}
.campaign-strip {
  background: #fff;
  color: var(--blue);
  padding: 14px 0;
}
.campaign-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: "Changa", sans-serif;
  font-size: 22px;
  font-weight: 700;
}
.campaign-strip span:nth-child(even) {
  font-size: 15px;
  opacity: 0.55;
}
.campaign-strip [dir="ltr"] {
  font-family: "Cairo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}
/* Match day chapter. */
.derby-section {
  padding: 72px 0 0;
}
.derby-card {
  position: relative;
  min-height: 465px;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 55px;
  color: #fff;
  background: var(--night);
}
.derby-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}
.derby-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0718440a, #07184491 46%, #071844f5 90%);
}
.derby-content {
  position: relative;
  max-width: 560px;
}
.derby-content .eyebrow {
  color: #d1ddff;
}
.derby-content h2 {
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.35;
  margin-bottom: 15px;
}
.derby-content h2 span {
  color: #b3c7ff;
}
.derby-content p {
  font-size: 14px;
  line-height: 1.95;
  color: #d6dff3;
  max-width: 450px;
  margin-bottom: 24px;
}
.derby-content .btn {
  background: #fff;
  color: var(--blue);
}
/* Equal-height prize cards keep information in predictable places. */
.prizes-section {
  padding: 88px 0;
}
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prize-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.prize-img-wrap {
  aspect-ratio: 1.65;
  overflow: hidden;
  background: var(--wash);
  position: relative;
}
.prize-img-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prize-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prize-badge {
  font-size: 10px;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 7px;
}
.prize-title {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.8;
  margin-bottom: 8px;
}
.prize-desc {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 22px;
}
.prize-footer {
  margin-top: auto;
  padding-top: 15px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.prize-footer b {
  color: var(--ink);
  font-weight: 700;
}
.club-pack-visual {
  display: grid;
  place-items: center;
  background: var(--blue);
  isolation: isolate;
}
.club-pack-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    125deg,
    transparent 0 35px,
    #ffffff0c 35px 65px
  );
  z-index: -1;
}
.club-pack-visual > img {
  width: 90px;
  height: 113px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border-radius: 5px;
}
/* The finale keeps the campaign image as a quiet visual layer behind the CTA. */
.finale-section {
  padding: 72px 0;
}
.finale-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--blue);
  color: white;
  text-align: center;
  padding: 55px 30px;
  isolation: isolate;
}
.finale-logo {
  width: 43px;
  height: 53px;
  object-fit: contain;
  background: #fff;
  border-radius: 5px;
  padding: 4px;
  margin: 0 auto 18px;
}
.finale-card h2 {
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.4;
  margin-bottom: 15px;
}
.finale-card p {
  font-size: 14px;
  color: #d5e0ff;
  margin-bottom: 24px;
}
.finale-card .btn {
  background: #fff;
  color: var(--blue);
}
footer {
  padding: 24px 0;
  color: var(--muted);
  font-size: 11px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
/* Honest prelaunch preview, with proper keyboard focus and mobile safe areas. */
body.modal-open {
  overflow: hidden;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #071844a6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms,
    visibility 180ms;
}
.modal.active {
  transition: opacity 180ms;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-sheet {
  background: #fff;
  width: 100%;
  max-width: 460px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 25px 80px #07184440;
  transform: translateY(8px);
  transition: transform 180ms var(--ease);
}
.modal.active .modal-sheet {
  transform: none;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.modal-head h3 {
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 5px;
}
.modal-head p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.modal-close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font: 24px/1 sans-serif;
}
.form-group {
  margin-bottom: 17px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
}
.form-group input,
.form-group select {
  width: 100%;
  min-height: 48px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  padding: 10px 13px;
  font-size: 16px;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--blue);
}
#confirmSubmit {
  width: 100%;
  margin-top: 6px;
}
.form-feedback {
  font-size: 12px;
  line-height: 1.9;
  padding: 14px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 15px;
  color: var(--blue);
}
.mobile-sticky-bar {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--blue-dark);
  }
  .hero .btn-secondary:hover {
    background: #ffffff14;
  }
  .nav-links a:hover {
    color: var(--blue);
  }
  .derby-content .btn:hover,
  .finale-card .btn:hover {
    background: #e5ebff;
  }
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 82px;
  }
  .hero-grid {
    gap: 90px;
  }
  .hero-visual {
    min-height: 470px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .nav-links {
    gap: 18px;
  }
  .hero-grid {
    gap: 35px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero-visual {
    min-height: 450px;
  }
  .math-top-grid {
    gap: 35px;
  }
  .math-features-row {
    gap: 24px;
  }
  .math-feature-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .prize-body {
    padding: 20px;
  }
  .prize-title {
    font-size: 18px;
  }
}
@media (max-width: 800px) {
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 11px;
  }
  .nav-links li:last-child {
    display: none;
  }
  .hero {
    padding-top: 46px;
  }
  .hero-grid {
    gap: 25px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-desc {
    font-size: 14px;
  }
  .hero-visual {
    min-height: 390px;
  }
  .pass-card {
    padding: 18px;
  }
  .pass-title {
    font-size: 42px;
  }
  .pass-kicker {
    font-size: 8px;
  }
  .visual-caption {
    font-size: 10px;
  }
  .pass-card-bottom {
    font-size: 8px;
  }
  .hero-ctas {
    gap: 8px;
  }
  .hero-ctas .btn {
    padding: 12px 16px;
    font-size: 12px;
  }
  .quick-perks {
    margin-top: 42px;
  }
  .perk-card {
    padding: 20px 16px;
  }
  .perk-card p {
    font-size: 11px;
  }
  .math-top-grid {
    gap: 24px;
  }
  .math-navy-side {
    padding: 20px 12px;
  }
  .navy-ticket-badge {
    font-size: 16px;
  }
  .navy-ticket-badge svg {
    width: 18px;
  }
  .price-giant-num {
    font-size: 54px;
  }
  .math-white-side {
    padding: 22px 12px;
  }
  .campaign-strip .wrap {
    font-size: 18px;
  }
  .prizes-grid {
    gap: 15px;
  }
  .prize-body {
    padding: 18px;
  }
  .prize-title {
    font-size: 16px;
  }
  .prize-desc {
    font-size: 12px;
  }
  .prize-footer {
    font-size: 10px;
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 78px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  section {
    padding: 58px 0;
    scroll-margin-top: 74px;
  }
  .nav-inner {
    height: 68px;
    gap: 15px;
  }
  .brand-logo {
    width: 34px;
    height: 43px;
  }
  .brand {
    gap: 9px;
  }
  .brand-title {
    font-size: 23px;
  }
  .brand-sub {
    font-size: 8px;
  }
  .nav-links {
    display: none;
  }
  .nav-inner > .btn {
    padding: 9px 16px;
    font-size: 12px;
    min-height: 42px;
  }
  .hero {
    padding-top: 36px;
  }
  .hero:before {
    background:
      linear-gradient(
        180deg,
        #071844 0%,
        #071844f2 30%,
        #07184435 68%,
        #071844 95%
      ),
      url("assets/hero-tanger-2026.webp") 28% 75% / auto 85% no-repeat;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero h1 {
    font-size: clamp(45px, 12vw, 65px);
    line-height: 1.27;
    margin-bottom: 18px;
  }
  .hero-tag {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .hero-desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 18px;
  }
  .hero-price-main {
    font-size: 42px;
  }
  .hero-price-box {
    gap: 14px;
    margin-bottom: 20px;
  }
  .hero-price-main span {
    font-size: 14px;
  }
  .hero-save-badge {
    font-size: 10px;
  }
  .hero-price-old {
    font-size: 12px;
  }
  .hero-ctas {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10px;
  }
  .hero-ctas .btn {
    font-size: 13px;
    min-height: 50px;
  }
  .hero-visual {
    min-height: 290px;
    align-items: center;
    padding: 28px 10px 12px;
  }
  .visual-caption {
    display: none;
  }
  .pass-card {
    width: 290px;
    max-width: 95%;
    padding: 18px 23px 15px;
    transform: rotate(-4deg);
  }
  .pass-title {
    font-size: 45px;
  }
  .pass-card-top img {
    width: 30px;
    height: 38px;
  }
  .pass-kicker {
    font-size: 8px;
  }
  .pass-year {
    font-size: 25px;
  }
  .pass-card-middle {
    margin: 5px 0 10px;
  }
  .pass-card-bottom {
    font-size: 9px;
  }
  .pass-caption {
    font-size: 10px;
    padding-top: 18px;
  }
  .quick-perks {
    grid-template-columns: 1fr;
    margin-top: 10px;
    border: 0;
    padding-bottom: 13px;
  }
  .perk-card,
  .perk-card:first-child {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
    align-items: start;
    padding: 15px 0;
    border: 0;
    background: transparent;
  }
  .perk-card:last-child {
  }
  .perk-card .perk-title {
    font-size: 12px;
    margin: 0;
  }
  .perk-card p {
    font-size: 11px;
    max-width: none;
  }
  .math-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .math-heading,
  .section-head h2 {
    font-size: 36px;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 14px;
  }
  .chapter {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }
  .math-desc,
  .section-head p {
    font-size: 14px;
    line-height: 1.95;
  }
  .math-navy-side {
    padding: 26px 18px;
    width: 36%;
  }
  .math-white-side {
    padding: 23px 16px;
    width: 64%;
  }
  .navy-ticket-badge {
    font-size: 20px;
    gap: 6px;
  }
  .navy-sub {
    font-size: 11px;
  }
  .price-giant-num {
    font-size: 64px;
  }
  .math-calc-pill {
    font-size: 11px;
  }
  .math-features-row {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 27px;
  }
  .math-feature-card {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }
  .feature-text h3 {
    font-size: 14px;
  }
  .feature-text p {
    font-size: 12px;
  }
  .campaign-strip {
    padding: 15px 0;
  }
  .campaign-strip .wrap {
    font-size: 14px;
    gap: 15px;
    justify-content: center;
  }
  .campaign-strip span:nth-last-child(-n + 2) {
    display: none;
  }
  .campaign-strip span:nth-child(even) {
    font-size: 10px;
  }
  .derby-section {
    padding: 44px 0 0;
  }
  .derby-card {
    padding: 32px 24px;
    min-height: 420px;
    align-items: flex-end;
  }
  .derby-card > img {
    object-position: 35% center;
  }
  .derby-overlay {
    background: linear-gradient(0deg, #071844f5, #07184490 60%, #07184420);
  }
  .derby-content h2 {
    font-size: 39px;
    line-height: 1.35;
  }
  .derby-content p {
    font-size: 13px;
    line-height: 1.9;
  }
  .derby-content .btn {
    font-size: 12px;
  }
  .prizes-section {
    padding: 55px 0;
  }
  .section-head {
    margin-bottom: 26px;
  }
  .prizes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .prize-img-wrap {
    aspect-ratio: 1.9;
  }
  .prize-body {
    padding: 23px;
  }
  .prize-title {
    font-size: 21px;
  }
  .prize-desc {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .prize-footer {
    font-size: 11px;
  }
  .prize-badge {
    font-size: 11px;
  }
  .club-pack-visual > img {
    width: 75px;
    height: 99px;
  }
  .finale-section {
    padding: 44px 0;
  }
  .finale-card {
    padding: 36px 20px;
  }
  .finale-card h2 {
    font-size: 35px;
  }
  .finale-card p {
    font-size: 12px;
    line-height: 1.9;
  }
  .finale-card .btn {
    font-size: 12px;
    padding: 13px 17px;
  }
  .finale-logo {
    width: 36px;
    height: 46px;
  }
  footer {
    padding: 20px 0 calc(106px + env(safe-area-inset-bottom));
  }
  .footer-inner {
    flex-direction: column;
    gap: 5px;
    font-size: 10px;
    text-align: center;
  }
  .mobile-sticky-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 900;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px #0718440a;
  }
  .mobile-sticky-price {
    font-size: 24px;
    line-height: 1.4;
    color: var(--blue);
    font-weight: 900;
  }
  .mobile-sticky-price span {
    font-size: 12px;
  }
  .mobile-sticky-sub {
    font-size: 10px;
    color: var(--muted);
  }
  .mobile-sticky-bar .btn {
    min-height: 45px;
  }
  .modal {
    padding: 16px;
  }
  .modal-sheet {
    padding: 24px;
    max-height: calc(100dvh - 32px);
  }
  .modal-head h3 {
    font-size: 22px;
  }
  .modal-head {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .pass-card {
    transform: none;
  }
}

/* A gently rotating stadium diorama, with direct drag and tap interaction. */
.stadium-section {
  position: relative;
  padding: 65px 0 130px;
  background: #071844;
  color: #fff;
  overflow: hidden;
}
.stadium-layout {
  display: grid;
  grid-template-columns: 0.67fr 1.33fr;
  gap: 30px;
  align-items: center;
}
.stadium-copy {
  position: relative;
  z-index: 1;
  padding-block: 25px;
}
.stadium-copy .eyebrow {
  color: #b5c9ff;
  font-size: 12px;
}
.stadium-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a5bfff;
  box-shadow: 0 0 0 5px #9fbbff15;
}
.stadium-copy h2 {
  font-size: clamp(34px, 3.4vw, 47px);
  line-height: 1.45;
  margin-bottom: 20px;
}
.stadium-copy h2 span {
  color: #adc1ff;
}
.stadium-copy > p {
  font-size: 14px;
  line-height: 2;
  color: #c0cdeb;
  max-width: 345px;
}
.stadium-ticket-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  margin: 8px 0 12px;
}
.stadium-detail-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff35;
  border-radius: 9px;
  font: 26px/1 sans-serif;
  color: #aac3ff;
}
.stadium-ticket-detail strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.stadium-ticket-detail div > span {
  display: block;
  font-size: 11px;
  color: #c0cdeb;
  margin-top: 3px;
}
.stadium-text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 7px;

  font-size: 12px;
  font-weight: 700;
}
.stadium-text-link > span {
  font-size: 19px;
}
.stadium-experience {
  min-width: 0;
}
.stadium-stage {
  height: 510px;
  position: relative;
  isolation: isolate;
  touch-action: pan-y;
}
.stadium-stage:before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 12%;
  height: 24%;
  background: #0004;
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
}
.stadium-stamp {
  position: absolute;
  left: 23px;
  top: 5px;
  color: #d1dcf4;
  font-size: 9px;
  line-height: 1.9;
  letter-spacing: 1.4px;
  z-index: 2;
  pointer-events: none;
}
.stadium-stamp > span {
  color: #94a8d0;
  font-size: 8px;
  letter-spacing: 1px;
}
#stadiumCanvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  opacity: 0;
  touch-action: pan-y;
  transition: opacity 250ms var(--ease);
}
#stadiumCanvas.is-dragging {
  cursor: grabbing;
}
.is-ready #stadiumCanvas {
  opacity: 1;
}
.stadium-model-label {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 10px;
  color: #c6d6f5;
  padding: 7px 13px;

  border-radius: 5px;
  background: #0b2252;
}
.stadium-model-label > span {
  height: 6px;
  width: 6px;
  background: #5e91ff;
  border-radius: 50%;
}
.stadium-model-note {
  font-size: 9px;
  color: #99aed5;
  text-align: center;
  margin-top: 13px;
}
.stadium-fallback {
  position: absolute;
  inset: 18% 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #adc1ff;
  gap: 15px;
  font-size: 12px;
}
.flat-pitch {
  width: 90%;
  aspect-ratio: 1.6;
  border: 2px solid #93b3ff;
  background: repeating-linear-gradient(90deg, #164b51 0 10%, #19565b 10% 20%);
  transform: perspective(500px) rotateX(40deg) rotateZ(-15deg);
  position: relative;
  box-shadow:
    0 14px 0 #112653,
    0 17px 0 #557ada;
}
.flat-pitch:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 1px solid #dae6ff;
}
.flat-pitch:after {
  content: "";
  position: absolute;
  width: 25%;
  aspect-ratio: 1;
  border: 1px solid #dae6ff;
  border-radius: 50%;
  left: 37.5%;
  top: 30%;
}
.flat-pitch > span:before,
.flat-pitch > span:after {
  content: "";
  position: absolute;
  top: 24%;
  height: 52%;
  width: 15%;
  border: 1px solid #dae6ff;
}
.flat-pitch > span:before {
  left: -1px;
}
.flat-pitch > span:after {
  right: -1px;
}
@media (hover: hover) and (pointer: fine) {
  .stadium-text-link:hover {
    color: #adc1ff;
  }
}
@media (max-width: 1050px) {
  .stadium-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 10px;
  }
  .stadium-stage {
    height: 410px;
  }
  .stadium-copy h2 {
    font-size: 38px;
  }
  .stadium-model-note {
    font-size: 8px;
    margin-top: 12px;
  }
  .stadium-stage:before {
    bottom: 22%;
    filter: blur(18px);
  }
}
@media (prefers-reduced-motion: reduce) {
  #stadiumCanvas {
    transition: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero:before {
    animation: hero-settle 1600ms var(--ease) both;
    transform-origin: 30% 60%;
  }
}
@keyframes hero-settle {
  from {
    transform: scale(1.035);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* Anchor offset is handled once by html's scroll padding. */
section {
  scroll-margin-top: 0;
}
.navy-ticket-badge {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.navy-ticket-badge span {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .math-navy-side {
    padding-inline: 12px;
  }
  .navy-ticket-badge {
    font-size: 18px;
  }
}

/* Soft transitions and direct, purposeful interactions. */
.hero:before {
  background-image:
    linear-gradient(0deg, #071844, transparent 35%),
    linear-gradient(90deg, #0718440d, #07184466 43%, #071844 72%),
    url("assets/hero-tanger-2026.webp");
}
.stadium-section:after {
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  height: 80px;
  background: #fff;
  clip-path: ellipse(72% 100% at 45% 100%);
  pointer-events: none;
}
.stadium-hint {
  text-align: center;
  color: #c0cdeb;
  font-size: 10px;
  margin: 3px 0 0;
  line-height: 1.9;
}
.stadium-stage {
  background: radial-gradient(ellipse at 50% 48%, #16429850, transparent 66%);
}
#stadiumCanvas:focus-visible {
  outline-offset: -5px;
  border-radius: 20px;
}
.stadium-detail-icon {
  border: 0;
  background: #ffffff0c;
  border-radius: 14px;
}
.stadium-model-label {
  border-radius: 30px;
  background: #ffffff0a;
}
.math-navy-side {
  border-radius: 20px 0 0 20px;
}
.attendance-calculator {
  width: 100%;
  margin: 12px 0 5px;
  text-align: right;
}
.attendance-calculator label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}
.attendance-calculator output {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  background: #092ddb0b;
  border-radius: 7px;
  padding: 2px 8px;
  font-size: 13px;
}
.attendance-calculator input {
  display: block;
  width: 100%;
  height: 32px;
  margin: 6px 0;
  accent-color: var(--blue);
  cursor: ew-resize;
}
.attendance-calculator p {
  font-size: 9px;
  line-height: 1.9;
  color: var(--muted);
}
.finale-card {
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 5% 100%, #4166ff, transparent 55%), var(--blue);
}
.perk-card,
.prize-card,
.math-feature-card {
  transition:
    transform 240ms var(--ease),
    box-shadow 240ms var(--ease);
}
.stadium-text-link > span {
  transition: transform 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .perk-card:hover {
    transform: translateY(-4px);
    background: #ffffff0a;
  }
  .prize-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px #07184412;
  }
  .math-feature-card:hover {
    transform: translateY(-3px);
  }
  .stadium-text-link:hover > span {
    transform: translateX(-6px);
  }
}
@media (max-width: 640px) {
  .stadium-section {
    padding-bottom: 100px;
  }
  .stadium-section:after {
    height: 50px;
  }
  .stadium-stage {
    height: 350px;
  }
  .stadium-hint {
    font-size: 9px;
    padding-inline: 10px;
  }
  .quick-perks {
    gap: 10px;
  }
  .perk-card,
  .perk-card:first-child {
    padding: 17px 18px;
    border: 0;
  }
  .math-split-card {
    border-radius: 18px;
  }
  .attendance-calculator label {
    font-size: 10px;
  }
  .finale-card {
    border-radius: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .perk-card,
  .prize-card,
  .math-feature-card,
  .stadium-text-link > span {
    transition: none;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.chapter {
  border: 0;
  background: #092ddb0b;
  border-radius: 9px;
}
.math-navy-side {
  border-radius: 0;
}
@media (max-width: 800px) {
  .stadium-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stadium-copy {
    padding: 0;
  }
  .stadium-copy > p {
    max-width: 480px;
  }
  .stadium-stage {
    height: 460px;
  }
  .stadium-ticket-detail {
    padding: 12px 0;
  }
  .stadium-experience {
    margin-top: 28px;
  }
  .stadium-copy h2 {
    font-size: 42px;
  }
}
@media (max-width: 640px) {
  .stadium-section {
    padding-top: 44px;
  }
  .stadium-copy h2 {
    font-size: 35px;
    margin-bottom: 14px;
  }
  .stadium-copy > p {
    font-size: 13px;
  }
  .stadium-copy .eyebrow {
    font-size: 11px;
  }
  .stadium-ticket-detail {
    margin: 5px 0 7px;
  }
  .stadium-text-link {
    font-size: 11px;
  }
  .stadium-stage {
    height: 335px;
    margin-inline: -10px;
  }
  .stadium-stamp {
    left: 20px;
    top: 0;
    font-size: 8px;
  }
  .stadium-stamp > span {
    font-size: 7px;
  }
  .stadium-model-label {
    bottom: 5px;
    font-size: 9px;
  }
}

/* Purchase activity is encoded by both marker size and colour intensity. */
.density-section {
  padding: 58px 0 35px;
}
.density-map {
  position: relative;
  isolation: isolate;
  background: #071844;
  color: #fff;
  border-radius: 30px;
  overflow: hidden;
}
.density-geography {
  position: relative;
  width: min(100%, 1000px);
  aspect-ratio: 900/650;
  margin-inline: auto;
  direction: ltr;
}
.density-geography > img {
  display: block;
  width: 100%;
  height: 100%;
}
.density-map-heading {
  position: absolute;
  top: 38px;
  left: 38px;
  z-index: 2;
  direction: rtl;
  text-align: right;
}
.density-map-heading .eyebrow {
  color: #b7ccff;
  font-size: 11px;
  margin-bottom: 10px;
}
.density-map-heading .chapter {
  background: #ffffff0e;
}
.density-map-heading h2 {
  font-size: clamp(29px, 3.4vw, 44px);
  line-height: 1.45;
}
.density-preview {
  display: inline-block;
  margin-top: 12px;
  font-size: 9px;
  color: #c5d3ed;
}
.density-sea {
  position: absolute;
  top: 27%;
  left: 43%;
  transform: rotate(-12deg);
  font-size: 12px;
  color: #a7bcdf;
}
.density-country {
  position: absolute;
  top: 75%;
  left: 53%;
  font-size: 24px;
  color: #94b0d6;
  font-weight: 700;
}
.density-point {
  position: absolute;
  width: max(44px, var(--point-size));
  height: max(44px, var(--point-size));
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 2;
}
.density-glow {
  position: absolute;
  width: 190%;
  height: 190%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #477cff80,
    #2555f515 55%,
    transparent 70%
  );
  opacity: calc(0.22 + var(--density) * 0.78);
  pointer-events: none;
}
.density-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(17, 73, 224, calc(0.4 + var(--density) * 0.6));
  box-shadow:
    inset 0 1px 12px #a1bdff30,
    0 4px 16px #0002;
  transition: transform 180ms var(--ease);
  pointer-events: none;
}
.density-core bdi {
  font-size: clamp(14px, 1.5vw, 19px);
  font-weight: 900;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.density-core > span {
  font:
    700 10px/1.4 "Cairo",
    sans-serif;
  color: #e0eaff;
}
.density-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #fff;
  color: var(--night);
  padding: 7px 14px;
  border-radius: 10px;
  box-shadow: 0 8px 25px #0003;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms;
  direction: rtl;
}
.density-point:focus-visible .density-tooltip,
.density-point.is-open .density-tooltip {
  opacity: 1;
  visibility: visible;
}
.density-point:focus-visible,
.density-point.is-open {
  z-index: 3;
}
.density-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 30px 25px;
  color: #c1d0ec;
  font-size: 10px;
}
.density-legend > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.density-legend i {
  display: inline-block;
  width: 52px;
  height: 7px;
  border-radius: 5px;
  background: linear-gradient(90deg, #294f87, #4f82ff);
}
.season-track {
  margin-top: 30px;
  max-width: 435px;
}
.season-track-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
}
.season-track-title > span:last-child {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.season-stamps {
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  gap: 5px;
  direction: ltr;
}
.season-stamps > span {
  display: grid;
  place-items: center;
  aspect-ratio: 0.65;
  border-radius: 6px;
  background: #e7eaf1;
  color: #596884;
  font: 700 8px/1 sans-serif;
  transition:
    background-color 180ms,
    color 180ms,
    transform 180ms var(--ease);
}
.season-stamps > span.is-filled {
  background: var(--blue);
  color: #fff;
}
.season-track > p {
  font-size: 10px;
  margin-top: 10px;
  color: var(--muted);
}
.derby-card {
  border-radius: 26px;
  min-height: 500px;
}
.derby-card > img {
  transition: transform 600ms var(--ease);
}
.derby-matchmark {
  position: absolute;
  left: 40px;
  bottom: 35px;
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.derby-matchmark b {
  font: 900 clamp(75px, 10vw, 140px) / 1 sans-serif;
  letter-spacing: -7px;
  color: #ffffffdf;
}
.derby-matchmark > span {
  font-size: 10px;
}
.prize-showcase {
  border-radius: 26px;
  overflow: hidden;
  background: var(--wash);
}
.prize-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  background: #e9edf6;
}
.prize-tabs button {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 67px;
  text-align: right;
  padding: 15px 22px;
  border: 0;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
  font-size: 15px;
  font-weight: 800;
  transition:
    color 180ms,
    background-color 180ms;
}
.prize-tabs button > span:first-child {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.prize-tab-arrow {
  margin-inline-start: auto;
  font-size: 20px;
}
.prize-tabs [aria-selected="true"] {
  color: #fff;
  background: var(--blue);
}
.prize-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 390px;
}
.prize-feature-image {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #e7ebf4;
}
.prize-feature-image > img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 450px;
  object-fit: cover;
}
.prize-feature-image > span {
  position: absolute;
  left: 20px;
  bottom: 14px;
  font: 900 88px/1 sans-serif;
  color: #fff9;
  letter-spacing: -7px;
}
.prize-feature-image.is-club-pack {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #3157ec, var(--blue) 70%);
}
.prize-feature-image.is-club-pack img {
  width: 130px;
  height: 160px;
  padding: 10px;
  object-fit: contain;
  background: #fff;
  border-radius: 17px;
  transform: rotate(-7deg);
  box-shadow: 0 20px 50px #00135660;
}
.prize-feature-copy {
  grid-column: 1;
  grid-row: 1;
  padding: 45px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.prize-feature-kicker {
  font-size: 10px;
  color: var(--blue);
  font-weight: 800;
}
.prize-feature-copy h3 {
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.45;
  margin: 12px 0 18px;
}
.prize-feature-copy > p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 330px;
}
.prize-feature-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin: 26px 0;
  font-size: 11px;
  color: var(--muted);
}
.prize-feature-meta strong {
  color: var(--ink);
}
.prize-feature-copy .btn {
  margin-top: auto;
  font-size: 12px;
}
.fan-questions {
  padding: 65px 0 35px;
}
.fan-questions-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.fan-questions h2 {
  font-size: 38px;
  line-height: 1.45;
}
.fan-questions h2 span {
  color: var(--blue);
}
.fan-answers details {
  background: var(--wash);
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 0 22px;
}
.fan-answers summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  list-style: none;
  padding-block: 19px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}
.fan-answers summary::-webkit-details-marker {
  display: none;
}
.fan-answers summary > span {
  font: 24px/1 sans-serif;
  color: var(--blue);
  transition: transform 180ms var(--ease);
}
.fan-answers [open] summary > span {
  transform: rotate(45deg);
}
.fan-answers p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
  padding-bottom: 22px;
  max-width: 510px;
}
@media (hover: hover) and (pointer: fine) {
  .density-point:hover {
    z-index: 3;
  }
  .density-point:hover .density-tooltip {
    opacity: 1;
    visibility: visible;
  }
  .density-point:hover .density-core {
    transform: scale(1.06);
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .derby-card:hover > img {
    transform: scale(1.035);
  }
}
@media (max-width: 1050px) {
  .derby-matchmark {
    left: 25px;
  }
  .derby-content {
    max-width: 65%;
  }
  .prize-feature-copy {
    padding: 30px;
  }
  .prize-tabs button {
    padding: 12px 18px;
  }
  .fan-questions-layout {
    gap: 35px;
  }
}
@media (max-width: 800px) {
  .density-map-heading {
    position: relative;
    top: auto;
    left: auto;
    padding: 26px 28px 0;
  }
  .density-map-heading h2 {
    font-size: 34px;
  }
  .density-map-heading .eyebrow {
    margin-bottom: 6px;
  }
  .density-preview {
    margin-top: 7px;
  }
  .density-legend {
    font-size: 9px;
  }
  .derby-matchmark {
    opacity: 0.5;
    bottom: 25px;
  }
  .prize-panel {
    grid-template-columns: 1fr 1fr;
    min-height: 355px;
  }
  .prize-feature-copy {
    padding: 25px;
  }
  .prize-feature-copy h3 {
    font-size: 29px;
  }
  .prize-feature-copy > p {
    font-size: 12px;
  }
  .fan-questions-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .fan-questions h2 {
    font-size: 35px;
  }
}
@media (max-width: 640px) {
  .density-section {
    padding: 42px 0 25px;
  }
  .density-map {
    border-radius: 24px;
  }
  .density-map-heading {
    padding: 22px 22px 0;
  }
  .density-map-heading h2 {
    font-size: 31px;
  }
  .density-map-heading .eyebrow {
    font-size: 9px;
  }
  .density-point {
    width: max(44px, calc(var(--point-size) * 0.68));
    height: max(44px, calc(var(--point-size) * 0.68));
  }
  .density-core bdi {
    font-size: 12px;
  }
  .density-core > span {
    font-size: 8px;
  }
  .density-tooltip {
    font-size: 10px;
    padding: 5px 10px;
    bottom: calc(100% + 6px);
  }
  .density-sea {
    font-size: 8px;
  }
  .density-country {
    font-size: 15px;
  }
  .density-legend {
    padding: 22px 20px;
    gap: 8px;
    font-size: 8px;
  }
  .season-track {
    margin-top: 22px;
  }
  .season-stamps {
    gap: 4px;
  }
  .season-stamps > span {
    border-radius: 4px;
    font-size: 7px;
  }
  .derby-card {
    min-height: 490px;
    padding-bottom: 130px;
  }
  .derby-content {
    max-width: 100%;
  }
  .derby-matchmark {
    opacity: 0.9;
    left: 25px;
    bottom: 22px;
  }
  .derby-matchmark b {
    font-size: 70px;
    letter-spacing: -4px;
  }
  .derby-matchmark > span {
    font-size: 9px;
  }
  .prize-tabs {
    gap: 3px;
    padding: 5px;
  }
  .prize-tabs button {
    padding: 10px;
    min-height: 57px;
    font-size: 11px;
    gap: 7px;
    border-radius: 10px;
  }
  .prize-tab-arrow {
    display: none;
  }
  .prize-tabs button > span:first-child {
    font-size: 8px;
  }
  .prize-panel {
    display: flex;
    flex-direction: column;
  }
  .prize-feature-image {
    height: 225px;
    flex: none;
  }
  .prize-feature-image > img {
    max-height: none;
  }
  .prize-feature-copy {
    padding: 25px;
    min-height: 325px;
  }
  .prize-feature-copy h3 {
    font-size: 30px;
  }
  .prize-feature-copy > p {
    font-size: 13px;
  }
  .prize-feature-meta {
    margin: 20px 0;
  }
  .prize-feature-image.is-club-pack img {
    width: 100px;
    height: 125px;
  }
  .fan-questions {
    padding-top: 45px;
  }
  .fan-questions h2 {
    font-size: 32px;
  }
  .fan-answers summary {
    font-size: 12px;
  }
  .fan-answers p {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .density-core,
  .density-tooltip,
  .season-stamps > span,
  .derby-card > img,
  .prize-tabs button,
  .fan-answers summary > span {
    transition: none;
  }
}

summary:focus-visible,
.prize-panel:focus-visible {
  outline: 3px solid #7294ff;
  outline-offset: 3px;
}

/* Tangier's map chapter uses a locally sourced map base and a clearly marked
   illustrative density overlay. */
.density-section {
  padding: clamp(62px, 8vw, 96px) 0 70px;
}
.density-map {
  background: #f7f9fd;
  color: var(--night);
  border: 1px solid #c9d6eb;
  border-radius: 14px;
  box-shadow: 0 20px 55px #07184412;
}
.density-map-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1631 / 1113;
  background: #e8eef8;
  touch-action: none;
  cursor: grab;
}
.density-map-viewport.is-dragging {
  cursor: grabbing;
}
.density-geography {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  transform-origin: center;
  will-change: transform;
}
.density-geography > img {
  filter: grayscale(1) contrast(0.9) brightness(1.08);
}
.density-geography:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #dce8fb73;
  mix-blend-mode: screen;
}
.density-map-tools {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
  direction: ltr;
  padding: 5px;
  border: 1px solid #c9d6eb;
  border-radius: 7px;
  background: #ffffffec;
  box-shadow: 0 6px 18px #07184418;
}
.density-map-control,
.density-map-reset {
  display: grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #d2dced;
  border-radius: 4px;
  background: #fff;
  color: var(--night);
  font: 800 18px/1 sans-serif;
}
.density-map-reset {
  min-width: 44px;
  color: var(--blue);
  font: 700 9px/1 "Cairo", sans-serif;
}
.density-map-control:hover,
.density-map-control:focus-visible,
.density-map-reset:hover,
.density-map-reset:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}
.density-map-scale {
  min-width: 36px;
  color: var(--muted);
  text-align: center;
  font: 700 9px/1.2 sans-serif;
  font-variant-numeric: tabular-nums;
}
.density-attribution {
  position: absolute;
  right: 11px;
  bottom: 8px;
  z-index: 4;
  padding: 3px 5px;
  border-radius: 3px;
  background: #ffffffd9;
  color: #405c8f;
  font: 9px/1.2 sans-serif;
}
.density-map-heading {
  position: relative;
  inset: auto;
  max-width: none;
  padding: 32px 38px 18px;
}
.density-map-heading .eyebrow {
  color: var(--blue);
  margin-bottom: 14px;
}
.density-map-heading .chapter {
  background: #092ddb0d;
}
.density-map-heading h2 {
  color: var(--night);
  line-height: 1.35;
  margin-bottom: 10px;
}
.density-map-heading h2 span {
  color: var(--blue);
}
.density-map-heading p {
  max-width: 290px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}
.density-preview {
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.density-sea {
  top: 16%;
  left: 68%;
  color: #405c8f;
  font-size: 11px;
  letter-spacing: 0.3px;
}
.density-country {
  top: auto;
  bottom: 9%;
  left: 12%;
  color: #5a7098;
  font-size: 18px;
  letter-spacing: 2px;
}
.density-point {
  width: 16px;
  height: 16px;
  z-index: 2;
}
.density-glow {
  width: calc(170% + var(--density) * 170%);
  height: calc(170% + var(--density) * 170%);
  opacity: calc(0.16 + var(--density) * 0.3);
  background: radial-gradient(circle, #477cff91, #2555f52d 55%, transparent 72%);
}
.density-core {
  border: 2px solid #fff;
  background: rgba(13, 74, 241, calc(0.52 + var(--density) * 0.48));
  box-shadow:
    inset 0 1px 12px #b7cdff55,
    0 4px 16px #07184430;
}
.density-core bdi {
  display: none;
}
.density-core > span {
  display: none;
}
.density-tooltip {
  opacity: 1;
  visibility: visible;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: max-content;
  text-align: right;
  border-radius: 5px;
  padding: 4px 7px;
  border: 1px solid #c9d6eb;
  background: #fffffff2;
  box-shadow: 0 5px 16px #07184424;
  font-size: 9px;
  line-height: 1.25;
  transform: translateX(-50%) scale(calc(1 / var(--map-scale, 1)));
  transform-origin: center bottom;
}
.density-tooltip strong {
  color: var(--night);
  font-size: 14px;
  white-space: nowrap;
}
.density-tooltip small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.density-point[data-place="0"] .density-tooltip {
  left: 0;
  transform: scale(calc(1 / var(--map-scale, 1)));
  transform-origin: left bottom;
}
.density-point[data-place="1"] .density-tooltip {
  right: 0;
  left: auto;
  transform: scale(calc(1 / var(--map-scale, 1)));
  transform-origin: right bottom;
}
.density-point[data-place="2"] .density-tooltip {
  left: 50%;
  transform: translateX(0) scale(calc(1 / var(--map-scale, 1)));
  transform-origin: left bottom;
}
.density-point[data-place="3"] .density-tooltip {
  right: 0;
  left: auto;
  transform: scale(calc(1 / var(--map-scale, 1)));
  transform-origin: right bottom;
}
.density-point[data-place="4"] .density-tooltip {
  left: 0;
  transform: scale(calc(1 / var(--map-scale, 1)));
  transform-origin: left bottom;
}
.density-point[data-place="5"] .density-tooltip {
  right: 0;
  left: auto;
  transform: scale(calc(1 / var(--map-scale, 1)));
  transform-origin: right bottom;
}
.density-legend {
  border-top: 1px solid #d3ddeb;
  padding: 18px 30px 22px;
  color: #5b6d90;
  font-size: 10px;
}
.density-legend i {
  width: 44px;
  height: 5px;
  border-radius: 0;
  background: linear-gradient(90deg, #afc1e3, #092ddb);
}
.density-destination {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--night);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  pointer-events: none;
}
.density-destination > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  background: var(--night);
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 12px;
}
.finale-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(54px, 7vw, 88px) 30px;
  background:
    linear-gradient(105deg, #071844ec 0%, #092ddbc7 54%, #092ddb86 100%),
    url("assets/tanger-matchday-neighborhoods.webp") center 54% / cover
      no-repeat;
}
.finale-card h2,
.finale-card p,
.finale-card .btn {
  position: relative;
  z-index: 1;
}
.finale-card h2 {
  text-shadow: 0 3px 24px #07184480;
}
.finale-card p {
  text-shadow: 0 2px 14px #071844b3;
}
@media (max-width: 800px) {
  .density-map-heading {
    top: 26px;
    right: 28px;
    left: auto;
    max-width: 260px;
  }
  .density-map-heading h2 {
    font-size: 34px;
  }
  .density-map-heading p {
    font-size: 12px;
  }
}
@media (max-width: 640px) {
  .density-section {
    padding: 48px 0 40px;
  }
  .density-map {
    border-radius: 9px;
  }
  .density-map-heading {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    max-width: none;
    padding: 23px 22px 0;
  }
  .density-map-heading h2 {
    font-size: 31px;
  }
  .density-map-heading p {
    max-width: 340px;
    font-size: 13px;
  }
  .density-geography {
    margin-top: 0;
  }
  .density-map-tools {
    top: 10px;
    left: 10px;
  }
  .density-map-control,
  .density-map-reset {
    min-width: 32px;
    height: 32px;
  }
  .density-map-reset {
    min-width: 42px;
  }
  .density-point {
    width: max(44px, calc(var(--point-size) * 0.68));
    height: max(44px, calc(var(--point-size) * 0.68));
  }
  .density-core bdi {
    font-size: 12px;
  }
  .density-core > span {
    font-size: 8px;
  }
  .density-tooltip {
    font-size: 9px;
    padding: 4px 7px;
  }
  .density-tooltip strong {
    font-size: 11px;
  }
  .density-tooltip small {
    font-size: 9px;
  }
  .density-point[data-place="1"] .density-tooltip {
    right: 100%;
  }
  .density-point[data-place="2"] .density-tooltip {
    left: calc(100% + 6px);
    bottom: calc(100% + 4px);
  }
  .density-point[data-place="4"] .density-tooltip {
    left: calc(100% + 8px);
  }
  .density-sea {
    font-size: 8px;
  }
  .density-country {
    font-size: 14px;
  }
  .density-destination {
    font-size: 8px;
  }
  .density-destination > span {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
  .density-legend {
    padding: 18px 20px 21px;
    gap: 7px;
    font-size: 9px;
  }
  .density-point {
    width: 16px;
    height: 16px;
  }
  .density-glow {
    width: 280%;
    height: 280%;
  }
}

/* Final phone pass: keep the campaign surfaces continuous and the map compact. */
@media (max-width: 640px) {
  body {
    background: var(--paper);
  }

  .hero {
    background: var(--night);
    border-radius: 0;
  }

  .hero:before {
    background:
      linear-gradient(180deg, #071844 0%, #071844d9 26%, #0718444d 66%, #071844 100%),
      url("assets/hero-tanger-2026.webp") center / cover no-repeat;
  }

  .pass-card,
  .prize-showcase,
  .derby-card,
  .finale-card {
    border-radius: 18px;
  }

  .density-map {
    border-radius: 18px;
  }

  .density-map-viewport {
    aspect-ratio: auto;
    height: clamp(285px, 78vw, 345px);
  }

  .density-geography {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .density-legend {
    padding: 16px 18px 19px;
  }
}

/* Prize carousel interaction remains comfortable on touch screens. */
.prize-panel {
  touch-action: pan-y;
}
.prize-swipe-hint {
  display: none;
}
@media (max-width: 640px) {
  .prize-showcase {
    border-radius: 18px;
  }

  .prize-tabs {
    padding: 6px;
    gap: 4px;
  }

  .prize-tabs button {
    min-height: 60px;
    justify-content: center;
    border-radius: 12px;
  }

  .prize-swipe-hint {
    display: block;
    padding: 8px 18px 5px;
    color: var(--muted);
    background: #e9edf6;
    text-align: center;
    font-size: 9px;
    font-weight: 700;
  }

  .prize-panel {
    min-height: 0;
  }

  .prize-feature-image {
    height: min(56vw, 220px);
  }

  .prize-feature-copy {
    min-height: 285px;
    padding: 24px 22px 26px;
  }

  .prize-feature-copy h3 {
    margin-top: 9px;
    margin-bottom: 12px;
    font-size: clamp(27px, 8vw, 34px);
  }

  .prize-feature-copy .btn {
    width: 100%;
  }
}
