/* ==========================================================================
   Spinning® Festival 2027 – The Greek Riviera
   1. Tokens          8. Packages, Full Ride Pass, VIP
   2. Base            9. Jersey add-on
   3. Shared pieces  10. What's included
   4. Countdown      11. Ride for a Reason
   5. Header         12. Partners
   6. Hero           13. Registration
   7. Experience,    14. FAQ
      Programme,     15. Final call to action
      Presenters     16. Footer + mobile booking bar
                     17. Booking modal
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
/* Fonts are hosted here and cut down to the letters and weights the site
   uses. After adding text with new characters (or Greek text to a Latin-only
   font), rebuild them; see README.md. */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo.woff2') format('woff2');
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/noto-sans-greek.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0370-03FF;
}

:root {
  --navy-900: #071630;
  --navy-800: #0A1F3D;
  --ink: #0B1B33;
  --blue: #1659C7;
  --blue-dark: #0E3F91;
  --sky: #8FD3FF;
  --teal: #3CCFD0;

  --text: #3A4A63;
  --muted: #5B6B82;
  --pale: #B9C6DA;
  --pale-2: #D6E2F2;

  --line: #E3E8EF;
  --line-strong: #D5DDE8;
  --dashed: #B5C3D6;
  --bg-soft: #F5F7FA;
  --bg-tint: #EEF3FA;

  /* Archivo and Instrument Sans have no Greek letters; Noto Sans covers them. */
  --font-body: 'Instrument Sans', 'Noto Sans', 'Helvetica Neue', Helvetica, sans-serif;
  --font-display: 'Archivo', 'Noto Sans', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --page-width: 1240px;
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 12.5l4.5 4.5L19 7.5%27/%3E%3C/svg%3E");
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}

img { max-width: 100%; }
section[id] { scroll-margin-top: 80px; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

/* 3. Shared pieces --------------------------------------------------------- */
.container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 1040px; }
.container--tight { max-width: 880px; }

.bg-soft { background: var(--bg-soft); }
.balance { text-wrap: balance; }

.text-link { color: var(--blue); }
.text-link:hover { color: var(--blue-dark); }

/* Lists laid out as grids: no bullets or indent */
.hero__facts, .feature-grid, .presenter-grid, .package-grid,
.included__grid, .charity__grid, .partner-grid, .slot-grid { margin: 0; padding: 0; list-style: none; }

/* First link on every page; off screen until a keyboard user tabs to it */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Read by screen readers, not shown */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Small uppercase label above a section title */
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow--teal { color: var(--teal); }

.section-head { display: flex; flex-direction: column; gap: 18px; }
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.section-head-row > p { margin: 0; color: var(--text); }

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  color: var(--navy-800);
}
.section-title--light { color: inherit; }

.lead { margin: 0; color: var(--text); font-size: 18px; text-wrap: pretty; }
.note { margin: 0; font-size: 14px; color: var(--muted); }

/* Smaller blue uppercase tag: presenter country, partner role */
.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.price {
  font-family: var(--font-display);
  font-stretch: 105%;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-800);
}

.tagline {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
}

/* Pill buttons. Colours repeat on :hover so links keep their colour. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13px; }
.btn--md { min-height: 52px; padding: 0 28px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 15px; }
.btn--block { display: flex; justify-content: center; padding: 0; }
.btn--start { align-self: flex-start; }

.btn--navy, .btn--navy:hover { background: var(--navy-800); color: #FFFFFF; }
.btn--blue, .btn--blue:hover { background: var(--blue); color: #FFFFFF; }
.btn--white, .btn--white:hover { background: #FFFFFF; color: var(--navy-900); }
.btn--ghost, .btn--ghost:hover { border: 1.5px solid rgba(255, 255, 255, 0.7); color: #FFFFFF; }
.btn--outline, .btn--outline:hover { border: 1.5px solid var(--navy-800); color: var(--navy-800); }

/* List with check-mark icons */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li { display: flex; gap: 10px; }
.check-list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: var(--check-color, var(--blue));
  -webkit-mask: var(--check-icon) center / contain no-repeat;
  mask: var(--check-icon) center / contain no-repeat;
}
.vip .check-list { --check-color: var(--teal); }

/* 4. Countdown ------------------------------------------------------------- */
.countdown {
  background: var(--navy-900);
  color: #FFFFFF;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.countdown__inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 28px;
}
.countdown__timer { display: flex; align-items: center; gap: 10px; }
.countdown__label { color: var(--pale); }
.countdown__units {
  display: flex;
  gap: 14px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.countdown__num { color: var(--teal); }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  min-height: 73px; /* the nav, filled in by layout.js */
}
.nav {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-800);
  line-height: 1.05;
}
.brand__mark { height: 40px; width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; }
.brand__name, .footer__brand {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand__tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--ink); text-decoration: none; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__actions .btn { white-space: nowrap; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.lang-switch button {
  min-width: 40px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 700 12px/1 var(--font-display);
  letter-spacing: 0.12em;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--navy-800); color: #FFFFFF; }
.lang-switch button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-800);
  color: #FFFFFF;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,22,48,0.15) 0%, rgba(7,22,48,0.25) 40%, rgba(7,22,48,0.88) 78%, #071630 100%);
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 24px 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pale-2);
}
.hero__kicker-line { width: 40px; height: 1px; background: var(--teal); }
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-size: clamp(40px, 7vw, 104px);
  text-wrap: balance;
}
.hero__title-line { display: block; }
.hero__title-accent { color: var(--sky); }
.hero__title-sub {
  font-weight: 500;
  font-size: 0.42em;
  letter-spacing: 0.32em;
  margin-top: 18px;
  color: #FFFFFF;
}
.reg { font-size: 0.32em; vertical-align: top; position: relative; top: 0.25em; }
.hero__lead {
  margin: 0;
  max-width: 620px;
  font-size: clamp(18px, 1.6vw, 21px);
  color: #E4ECF7;
  text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts {
  margin-top: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 20px;
}
.fact { display: flex; align-items: center; gap: 14px; }
.fact__text { display: flex; flex-direction: column; line-height: 1.25; }
.fact__title { font-weight: 600; }
.fact__sub { font-size: 14px; color: var(--pale); }

/* 7a. Experience ----------------------------------------------------------- */
.experience { padding: 120px 0 112px; }
.experience > .container { display: flex; flex-direction: column; gap: 56px; }
.experience__intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 32px 64px;
  align-items: end;
}
.experience__copy { display: flex; flex-direction: column; gap: 16px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}
.feature {
  padding: 32px 28px;
  background: var(--bg-soft);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-800);
}
.feature p { margin: 0; color: var(--text); }

/* 7b. Programme ------------------------------------------------------------ */
.programme { padding: 112px 0; }
.programme > .container { display: flex; flex-direction: column; gap: 48px; }
.day {
  background: #FFFFFF;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 1px 2px rgba(10, 31, 61, 0.06);
}
.day__media { flex: 1 1 420px; min-height: 340px; position: relative; }
.day__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.day__body {
  flex: 999 1 560px;
  min-width: 0;
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.day--sunday .day__media { min-height: 300px; }
.day--sunday .day__media img { object-position: 35% 65%; }
.day--sunday .day__body { padding: 44px; gap: 18px; justify-content: center; }
.day--sunday .lead { max-width: 620px; }

.day__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.day__titles { display: flex; flex-direction: column; gap: 8px; }
.day__titles p { margin: 0; color: var(--text); }
.day__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1.1;
  color: var(--navy-800);
}
.time-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 600;
  color: var(--navy-800);
}
.schedule {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.schedule li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.schedule li:last-child { border-bottom: 1px solid var(--line); }
.schedule__time {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 600;
  color: var(--blue);
}
.schedule__who { font-weight: 500; }
.day__presenters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.day__presenters-label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 7c. Presenters ----------------------------------------------------------- */
.presenters { padding: 120px 0; }
.presenters > .container { display: flex; flex-direction: column; gap: 48px; }
.presenters .section-head-row > p { max-width: 380px; }
.presenter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 28px 20px;
}
.presenter { display: flex; flex-direction: column; gap: 14px; }

/* Placeholder photo tile; colour variants set background + text colour */
.presenter__photo {
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.presenter__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo--navy  { background: var(--navy-800); color: var(--sky); }
.photo--ice   { background: #DCE8F7; color: var(--navy-800); }
.photo--blue  { background: var(--blue); color: #FFFFFF; }
.photo--mist  { background: #E8EEF5; color: var(--blue); }
.photo--night { background: var(--navy-900); color: var(--teal); }

.presenter__initials {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 46px;
  letter-spacing: 0.04em;
}
.presenter__label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.presenter__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.presenter__info { display: flex; flex-direction: column; gap: 4px; }
.presenter__name {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  color: var(--navy-800);
}
.presenter__bio { margin: 0; font-size: 15px; color: var(--muted); }

/* 8. Packages, Full Ride Pass, VIP ----------------------------------------- */
.packages { padding: 112px 0 120px; }
.packages > .container { display: flex; flex-direction: column; gap: 24px; }
.packages .section-head { margin-bottom: 24px; }
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 20px;
}
.package {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 1px solid var(--line);
}
.package--featured { border: 2px solid var(--blue); position: relative; }
.package__flag {
  position: absolute;
  top: -14px;
  left: 32px;
  padding: 5px 14px;
  background: var(--blue);
  color: #FFFFFF;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.package__head { display: flex; flex-direction: column; gap: 6px; }
.package__day {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}
.package__name {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--navy-800);
}
.package__price { display: flex; align-items: baseline; gap: 12px; }
.package__price .price { font-size: 56px; }
.package__unit { color: var(--muted); }
.package .check-list {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
  flex-grow: 1;
}

.pass {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 48px;
}
.pass__intro { flex: 1 1 300px; display: flex; flex-direction: column; gap: 10px; }
.pass__title-row { display: flex; align-items: center; gap: 14px; }
.pass__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--navy-800);
}
.pass__intro .tagline { margin-top: 6px; font-size: 26px; line-height: 1.2; color: var(--navy-800); }
.pass__options {
  flex: 2 1 480px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}
.pass-option {
  background: var(--bg-tint);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pass-option__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}
.pass-option .price { font-size: 44px; line-height: 1.05; }
.pass-option__note { font-size: 15px; color: var(--text); }
.pass > .btn { flex: 0 0 auto; justify-content: center; }

.vip {
  margin-top: 16px;
  background: var(--navy-900);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
  position: relative;
  overflow: hidden;
}
.vip__intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.vip__head { display: flex; flex-direction: column; gap: 6px; }
.vip__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
}
.vip__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.02;
  text-transform: uppercase;
}
.vip__intro .tagline { font-size: 24px; color: var(--pale-2); }
.vip__prices { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.vip-price {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 130px;
}
.vip-price__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pale);
}
.vip-price .price { font-size: 40px; line-height: 1.1; color: inherit; }
.vip__details {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
}
.vip__includes { display: flex; flex-direction: column; gap: 14px; }
.vip__includes-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pale);
}
.vip .check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 12px 24px;
}
.vip .btn { min-height: 56px; padding: 0 32px; letter-spacing: 0.16em; }
.vip__kit {
  flex: 1 1 100%;
  margin: 0;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
}
.vip__kit-media { flex: 0 1 300px; border-radius: 16px; }
.vip__kit-body { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.vip__kit-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
}
.vip__kit-text { margin: 0; font-size: 17px; line-height: 1.5; color: var(--pale-2); }

/* 9. Jersey add-on --------------------------------------------------------- */
.jersey { padding: 112px 0; }
.jersey > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 72px;
}
.jersey__media { flex: 1.3 1 420px; border-radius: 22px; }
/* Photo frame, shared with the VIP kit photo */
.jersey__media, .vip__kit-media { overflow: hidden; background: #DCE6F0; }
.jersey__media img, .vip__kit-media img { width: 100%; height: auto; display: block; }
.jersey__body { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.jersey .section-title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.04; }
.jersey__price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.jersey__price-row .price { font-size: 48px; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--navy-800);
  font-size: 14px;
  font-weight: 600;
}

/* 10. What's included ------------------------------------------------------ */
.included { padding: 104px 0; background: var(--navy-800); color: #FFFFFF; }
.included > .container { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.included__intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.included .section-title { font-size: clamp(30px, 3.6vw, 48px); }
.included__intro img { width: 100%; height: auto; max-width: 440px; border-radius: 18px; display: block; }
.included__grid {
  flex: 1.4 1 460px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0 32px;
}
.included__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 500;
}
.included__item:nth-last-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }

/* 11. Ride for a Reason ---------------------------------------------------- */
.charity { padding: 120px 0; }
.charity > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.charity .section-title { font-size: clamp(30px, 4vw, 54px); }
.charity__text { margin: 0; max-width: 680px; color: var(--text); font-size: 19px; text-wrap: pretty; }
.charity__text strong { color: var(--navy-800); }
.charity__text a { color: inherit; }
.charity__logo { width: 71px; height: auto; }
.charity__grid {
  width: 100%;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  text-align: left;
}
.charity__card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.charity__card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  color: var(--navy-800);
}
.charity .note { margin-top: 8px; }

/* 12. Partners ------------------------------------------------------------- */
.partners { padding: 112px 0; }
.partners > .container { display: flex; flex-direction: column; gap: 40px; }
.partners .btn { min-height: 48px; padding: 0 24px; font-size: 13px; }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.partner {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--line);
}
.partner__logo {
  height: 96px;
  border-radius: 12px;
  border: 1.5px dashed var(--dashed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.partner__logo--image { border: 0; justify-content: flex-start; }
.partner__logo--image img { height: 100%; width: auto; }
.partner__info { display: flex; flex-direction: column; gap: 4px; }
.partner__name {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-800);
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 14px;
}
.slot {
  padding: 22px 24px;
  border-radius: 16px;
  border: 1.5px dashed var(--dashed);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.slot__role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}
.slot__status {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* 13. Registration --------------------------------------------------------- */
.registration { padding: 112px 0; }
.registration > .container { display: flex; flex-direction: column; gap: 40px; }
.registration .section-head-row > p { max-width: 420px; }
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 12px;
}
.steps li {
  padding: 22px;
  border-radius: 16px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps__num {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 26px;
  color: var(--blue);
}
.steps__label { font-weight: 600; color: var(--navy-800); }

/* 14. FAQ ------------------------------------------------------------------ */
.faq { padding: 104px 0 120px; }
.faq > .container { display: flex; flex-direction: column; gap: 36px; }
.faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.faq__list details { border-bottom: 1px solid var(--line-strong); }
.faq__list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-800);
}
.faq-plus {
  flex: none;
  font-size: 28px;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s;
}
details[open] .faq-plus { transform: rotate(45deg); }
.faq__list p { margin: 0 0 24px; color: var(--text); max-width: 720px; }
.faq__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 24px 28px;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.faq__more-title { font-weight: 600; color: var(--navy-800); }
.faq__more-text { color: var(--text); }

/* 15. Final call to action ------------------------------------------------- */
.final-cta { position: relative; overflow: hidden; background: var(--navy-900); color: #FFFFFF; }
.final-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}
.final-cta__shade { position: absolute; inset: 0; background: rgba(7, 22, 48, 0.72); }
.final-cta__content {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 128px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.final-cta .section-title { font-size: clamp(34px, 5vw, 68px); line-height: 1; }
.final-cta__meta { margin: 0; font-size: 19px; color: var(--pale-2); }
.final-cta .btn { min-height: 58px; padding: 0 34px; }
.final-cta .tagline { font-size: 24px; color: var(--sky); }

/* 16. Footer + mobile booking bar ------------------------------------------ */
.site-footer {
  flex-grow: 1;
  background: var(--navy-900);
  color: var(--pale);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
}
.footer__grid {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 64px 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 40px 48px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; font-style: normal; }
.footer__col--brand { gap: 12px; }
.footer__col--brand > span { max-width: 260px; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #FFFFFF; text-decoration: none; }
.footer__mark { height: 40px; width: auto; flex: none; }
.footer__heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}
.footer__col a, .footer__highlight { color: #FFFFFF; }
.footer__nav a { text-decoration: none; }
.footer-bottom {
  max-width: var(--page-width);
  margin: 56px auto 0;
  padding: 24px 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 13px;
}

.sticky-book {
  display: none;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  padding: 0 10px 0 24px;
  background: var(--blue);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(7, 22, 48, 0.35);
}
.sticky-book:hover { color: #FFFFFF; }
.sticky-book__text { display: flex; flex-direction: column; line-height: 1.15; }
.sticky-book__title {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sticky-book__sub { font-size: 12px; color: #DCE8FB; }
.sticky-book__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 17. Booking modal --------------------------------------------------------- */
html:has(.booking[open]) { overflow: hidden; }

.booking {
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(7, 22, 48, 0.35);
}
.booking[open] { display: flex; flex-direction: column; }
.booking::backdrop { background: rgba(7, 22, 48, 0.6); }
.booking [hidden] { display: none !important; }

.booking__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.booking__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--navy-800);
}
.booking__close {
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--navy-800);
  cursor: pointer;
}
.booking__close:hover { background: var(--bg-soft); }
.booking__close:focus { outline: none; }
.booking__close:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* flex: 1 alone collapses the form to 0 in Safari when the dialog has no set height. */
.booking__form { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.booking__body {
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.booking fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.booking__legend {
  padding: 0;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Package cards: the radio sits on top of the whole card */
.picks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.pick {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  cursor: pointer;
}
.pick input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.pick:hover { border-color: var(--dashed); }
.pick:has(input:checked) { border-color: var(--blue); background: var(--bg-tint); box-shadow: 0 0 0 1.5px var(--blue); }
.pick:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.pick__day {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pick--vip .pick__day { color: var(--blue); }
.pick__name {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-800);
}
.pick__meta { font-size: 13px; line-height: 1.35; color: var(--muted); }
.pick__kit { align-self: flex-start; margin-top: 4px; padding: 3px 8px; font-size: 12px; color: var(--blue); }
.pick:has(input:checked) .pick__kit { background: #FFFFFF; }
.pick .price { margin-top: 6px; font-size: 22px; }

/* Rider and contact fields */
.riders { display: flex; flex-direction: column; gap: 16px; }
/* Safari draws the legend on the fieldset's top edge when the fieldset is a
   grid, so the grid sits on an inner div and the floated legend above it. */
.booking .rider {
  padding: 18px;
  border-radius: 14px;
  background: var(--bg-soft);
}
.rider__title {
  float: left;
  width: 100%;
  margin-bottom: 14px;
  padding: 0;
  font-weight: 600;
  color: var(--navy-800);
}
.rider__fields { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy-800); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.field textarea { resize: vertical; }
/* iOS draws its own grey select; replace it with the field style and a chevron. */
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%230A1F3D%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 9l6 6 6-6%27/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 89, 199, 0.15); }

.check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }

.booking__info {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--bg-tint);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.booking__info svg { flex: none; color: var(--blue); }
.booking__info div { display: flex; flex-direction: column; gap: 6px; }
.booking__info p { margin: 0; }
.booking__info strong { color: var(--navy-800); font-weight: 600; }

.booking__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: #FFFFFF;
}
.booking__total { display: flex; flex-direction: column; gap: 4px; }
.booking__total-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.booking__total .price { font-size: 30px; }
.booking__terms { flex-basis: 100%; font-size: 13px; line-height: 1.5; }
.booking__foot .btn { border: 0; cursor: pointer; }

/* Shown after the email app is opened */
.booking__done {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 24px;
  overflow-y: auto;
}
.booking__done-title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 26px;
  color: var(--navy-800);
}
.booking__done-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.booking__done-actions .btn { background-color: transparent; cursor: pointer; font-size: 13px; }
.booking__done-actions .btn--blue { background: var(--blue); border: 0; }
.booking__back {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: 15px;
  text-decoration: underline;
  cursor: pointer;
}

/* Tablets: the nav links no longer fit beside the actions ------------------ */
@media (max-width: 1200px) {
  .nav-links { display: none; }
}

/* Phones ------------------------------------------------------------------- */
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .pass { padding: 24px 20px; }
  .pass > .btn { flex-basis: 100%; padding: 0 16px; letter-spacing: 0.08em; }
  .vip { padding: 32px 20px; }
  .sticky-book {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 50;
  }
  .footer-bottom { padding-bottom: 104px; }
  .booking {
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-radius: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .booking__head, .booking__body, .booking__foot { padding-left: 16px; padding-right: 16px; }
  .booking__head { padding-top: 12px; padding-bottom: 12px; }
  .booking__title { font-size: 20px; }
  .booking__info { padding: 14px; font-size: 13px; }
  .picks { grid-template-columns: 1fr 1fr; }
  .fields, .rider__fields { grid-template-columns: 1fr; }
  .booking__foot { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .booking__total { flex-direction: row; align-items: baseline; gap: 12px; }
  .booking__total .price { font-size: 24px; }
  .booking__terms { font-size: 12px; line-height: 1.4; }
  .booking__foot .btn { width: 100%; justify-content: center; padding: 0 16px; letter-spacing: 0.08em; white-space: nowrap; }
}

/* 18. Legal pages (privacy.html, terms.html) ------------------------------- */
.legal { padding: 64px 0 96px; }
.legal h2 {
  margin: 48px 0 12px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--navy-800);
}
.legal p, .legal li { color: var(--text); text-wrap: pretty; }
.legal p { margin: 0 0 12px; }
.legal .section-head p { margin: 0; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li + li { margin-top: 8px; }
.legal a { overflow-wrap: anywhere; }

.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal a { color: inherit; }
.booking__terms a { white-space: nowrap; }
