/* GPS Challenge 3.0 — Option B "Dune Poster"
   Daylight look: sand and paper, condensed poster type, the logo's ridge line as the recurring shape, flip-tile countdown. */
:root {
  --sand: #EFE3CC;
  --sand-2: #E6D5B6;
  --paper: #FBF8F1;
  --ink: #192522;
  --ink-2: #2A3833;
  --muted: #6A6458;
  --orange: #ED8333;
  --amber: #F9A434;
  --rust: #A66B3F;
  --sky: #8CC4C4;
  --line: #D9CBB0;
  --wrap: min(1280px, calc(100% - 64px));
  --display: "Big Shoulders Display", Impact, "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--sand); color: var(--ink); font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.6; padding-bottom: env(safe-area-inset-bottom, 0px); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }

.big { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(46px, 6vw, 92px); line-height: .9; letter-spacing: -.005em; }
.big .tone { color: var(--rust); }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; font-weight: 500; }
.note { font-size: 14px; color: var(--muted); margin-top: 26px; }
.note a { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: var(--amber); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--amber); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn:disabled { opacity: .6; cursor: wait; }
.text-link { display: inline-block; margin-top: 22px; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--orange); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: calc(10px + env(safe-area-inset-top, 0px)) 32px 10px; background: rgba(239, 227, 204, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand img { width: 70px; height: auto; }
.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--rust); }

/* Hero — sized to fit one screen (viewport height minus the top bar) */
.hero { --bar: 76px; height: calc(100svh - var(--bar) - env(safe-area-inset-top, 0px)); min-height: 560px; max-height: 1080px; display: flex; flex-direction: column; padding-top: clamp(4px, 1.6vh, 18px); }
.hero-type { flex: none; width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: auto auto minmax(260px, 340px); justify-content: space-between; gap: 16px clamp(20px, 3vw, 48px); align-items: end; }
.hero-h1 { display: contents; font-weight: 900; }
.hero-gps {
  font-family: var(--display); font-weight: 900; font-size: min(19vw, 30vh); line-height: .78; letter-spacing: -.02em;
  background: url("../img/dune-drive.webp") center 40% / cover, var(--orange);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  padding-top: .04em;
}
.hero-stack { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: min(5.8vw, 9.5vh); line-height: .84; display: flex; flex-direction: column; align-self: end; padding-bottom: .02em; }
.hero-ver { color: var(--orange); }
.hero-side { display: flex; flex-direction: column; gap: clamp(10px, 1.8vh, 18px); align-self: end; padding-bottom: 4px; }
.hero-when { display: flex; flex-wrap: wrap; gap: 0 14px; font-size: 15px; color: var(--muted); }
.hero-when strong { color: var(--ink); font-size: 18px; flex-basis: 100%; }
.hero-lede { font-size: 16px; max-width: 380px; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-photo { position: relative; flex: 1; min-height: 240px; margin-top: clamp(10px, 2.6vh, 32px); isolation: isolate; }
.hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
  clip-path: polygon(0 18%, 36% 4%, 44.5% 15%, 53% 0, 100% 18%, 100% 100%, 0 100%); }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; clip-path: polygon(0 18%, 36% 4%, 44.5% 15%, 53% 0, 100% 18%, 100% 100%, 0 100%); background: linear-gradient(0deg, rgba(25,37,34,.9) 0%, rgba(25,37,34,.55) 35%, rgba(25,37,34,0) 70%); }

/* Flip countdown */
.countdown { position: absolute; left: 50%; bottom: clamp(14px, 3.5vh, 44px); transform: translateX(-50%); z-index: 1; text-align: center; color: var(--paper); width: max-content; max-width: calc(100% - 32px); }
.cd-title { font-weight: 600; font-size: 15px; margin-bottom: clamp(6px, 1.2vh, 14px); }
.cd-tiles { display: flex; gap: 14px; justify-content: center; }
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tile {
  position: relative; min-width: 1.6em; padding: .08em .18em 0; border-radius: 12px;
  font-family: var(--display); font-weight: 800; font-size: min(7.5vw, 10vh, 112px); line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #23312D 0 50%, #1A2623 50% 100%); color: var(--paper);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); perspective: 400px;
}
.tile::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(0,0,0,.45); }
.tile-sec { color: var(--amber); }
.tile.flip [data-digits] { display: inline-block; animation: flip .42s cubic-bezier(.3,.7,.4,1); transform-origin: 50% 55%; }
@keyframes flip { 0% { transform: rotateX(-90deg); opacity: .2; } 100% { transform: rotateX(0); opacity: 1; } }
.cd-label { font-size: 14px; font-weight: 600; color: rgba(251,248,241,.85); }
.cd-note { margin-top: clamp(6px, 1.4vh, 16px); font-size: 14px; color: rgba(251,248,241,.8); }
.cd-note [data-countdown-state]:not(:empty) { display: block; color: var(--amber); font-weight: 700; }

.ridge { display: block; width: 100%; height: 90px; background: var(--ink); }
.ridge path { fill: none; stroke: var(--amber); stroke-width: 3; vector-effect: non-scaling-stroke; }

/* Sections */
.sec { padding-block: clamp(80px, 10vw, 140px); }
.intro { background: var(--ink); color: var(--paper); padding-top: 40px; }
.intro .big .tone { color: var(--amber); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.intro-copy p + p { margin-top: 18px; color: rgba(251,248,241,.78); }
.intro .text-link { color: var(--paper); }

.how { background: var(--paper); }
.how-steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.how-steps li { padding: 28px 28px 0 0; position: relative; }
.how-steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.how-n { font-family: var(--display); font-weight: 900; font-size: 72px; line-height: .9; color: var(--orange); display: block; margin-bottom: 18px; }
.how-steps h3 { font-size: 20px; margin-bottom: 8px; }
.how-steps p { color: #4C4A42; font-size: 16px; }

/* Strip */
.strip-sec { background: var(--sand); padding-bottom: clamp(60px, 7vw, 100px); }
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.strip-head p { max-width: 320px; color: var(--muted); }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(32px, calc((100% - 1280px) / 2)) 18px; scrollbar-color: var(--rust) transparent; }
.strip:focus-visible { outline-offset: -3px; }
.strip-item { position: relative; flex: none; height: clamp(320px, 34vw, 460px); aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; scroll-snap-align: start; background: var(--sand-2); text-decoration: none; }
.strip-item.s-w { aspect-ratio: 16 / 10; }
.strip-item.s-t { aspect-ratio: 2 / 3; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.strip-item:hover img { transform: scale(1.04); }
.strip-item span { position: absolute; left: 14px; bottom: 14px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 99px; }

/* Days */
.days { background: var(--paper); }
.days-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.day { border-radius: 18px; padding: 30px 28px 34px; min-height: 340px; display: flex; flex-direction: column; }
.day-fri { background: linear-gradient(180deg, #E9A56A, #D9784A); color: var(--ink); }
.day-sat { background: linear-gradient(180deg, var(--sky), #C9DCCF 70%); color: var(--ink); }
.day-sun { background: linear-gradient(180deg, #F2C27A, var(--amber)); color: var(--ink); }
.day-date { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 1; }
.day-date span { display: block; font-size: 86px; line-height: .86; }
.day h3 { font-size: 22px; margin-top: auto; padding-top: 40px; }
.day-time { font-weight: 700; margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.day p:last-child { font-size: 15px; }

/* Recap */
.recap { position: relative; color: var(--paper); background: var(--ink); isolation: isolate; overflow: hidden; }
.recap > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.recap::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25,37,34,.92) 0%, rgba(25,37,34,.7) 50%, rgba(25,37,34,.3) 100%); }
.recap-inner { padding-block: clamp(90px, 11vw, 150px); }
.recap-inner > p:not(.recap-note) { margin-top: 18px; font-size: 19px; }
.recap-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 56px; margin: 44px 0 0; }
.recap-stats div { display: flex; flex-direction: column; }
.recap-stats dd { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 7vw, 104px); line-height: .9; color: var(--amber); }
.recap-stats dt { font-size: 15px; color: rgba(251,248,241,.85); }
.recap-note { margin-top: 36px; font-size: 13px; color: rgba(251,248,241,.6); }

/* Entry */
.entry { background: var(--sand); }
.entry-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.ticket { display: grid; grid-template-columns: 1fr; background: var(--paper); border-radius: 20px; position: relative; box-shadow: 0 30px 60px -40px rgba(25,37,34,.5); }
.ticket-main { padding: 40px 40px 34px; }
.ticket-kicker { font-weight: 700; color: var(--rust); }
.ticket-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 4.6vw, 68px); line-height: .92; margin: 10px 0 26px; }
.ticket-sub { color: var(--muted); margin-bottom: 24px; }
.ticket-stub { position: relative; padding: 26px 40px 32px; border-top: 2px dashed var(--line); font-size: 15px; color: var(--muted); }
.ticket-stub strong { color: var(--ink); font-size: 18px; }
.ticket-stub p + p { margin-top: 6px; }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; top: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--sand); }
.ticket-stub::before { left: -14px; }
.ticket-stub::after { right: -14px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 6px 0 6px 28px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 11px; height: 6px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.bring-list { margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.bring-list div { padding: 18px 0; border-top: 1px solid var(--line); }
.bring-list dt { font-weight: 700; font-size: 17px; }
.bring-list dd { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

/* Register */
.register { background: var(--ink); color: var(--paper); }
.register-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.register-head p { color: rgba(251,248,241,.8); max-width: 520px; }
.register-head a { color: var(--amber); }
.register-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(24px, 4vw, 52px); }
.steps-bar { list-style: none; padding: 0; margin: 0 0 34px; display: flex; gap: 10px; flex-wrap: wrap; }
.steps-bar li { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 99px; background: var(--sand); color: var(--muted); font-weight: 600; font-size: 14px; }
.steps-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); font-size: 13px; flex: none; }
.steps-bar li.is-current { background: var(--ink); color: var(--paper); }
.steps-bar li.is-current .steps-n { background: var(--orange); color: var(--ink); }
.steps-bar li.is-done { color: var(--ink); }
.steps-bar li.is-done .steps-n { background: var(--amber); }
.res-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.res-form legend { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 40px; line-height: 1; padding: 0; margin-bottom: 8px; }
.fs-note { color: var(--muted); margin-bottom: 26px; max-width: 640px; font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px 16px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1.3fr 1fr 1fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field-wide { grid-column: 1 / -1; }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 400; font-size: 16px; }
.field input[type=file] { padding: 12px; min-height: 0; }
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(237,131,51,.2); }
.field input:user-invalid, .field select:user-invalid { border-color: #C9452E; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.field.is-off { opacity: .4; }
.choices { display: flex; gap: 8px; }
.choice { flex: 1; position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.vehicle { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.vehicle-title { margin: 0 0 16px; }
.vehicle-title span { display: inline-block; background: var(--orange); color: var(--ink); font-size: 14px; padding: 4px 14px; border-radius: 99px; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 32px; }
.form-status { margin-top: 16px; font-size: 15px; }
.form-status[data-kind=error] { color: #8E2E1D; background: #F8E1D8; border-radius: 12px; padding: 12px 16px; }
.fee-table { border-radius: 16px; background: var(--sand); padding: 6px 22px; margin-bottom: 18px; }
.fee-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fee-row:last-child { border-bottom: 0; }
.fee-row label small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 3px; }
.fee-row strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fee-input { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--muted); }
.fee-input input { width: 74px; min-height: 46px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; text-align: center; color: var(--ink); }
.fee-total strong { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; color: var(--rust); }
.agree { display: grid; grid-template-columns: 28px 1fr; gap: 12px; margin: 28px 0 24px; font-size: 15px; }
.agree input { width: 20px; height: 20px; accent-color: var(--orange); margin-top: 2px; }
.res-done { background: var(--sand); border-radius: 18px; padding: 40px; }
.res-done h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 48px; line-height: 1; margin-bottom: 12px; }

.pay-summary { background: var(--sand); border-radius: 16px; padding: 20px 22px; font-size: 15px; }
.pay-summary p + p { margin-top: 6px; color: var(--muted); }

/* Partners */
.partners { background: var(--paper); }
.partners-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.partners-head p { max-width: 380px; color: var(--muted); }
.logos { list-style: none; padding: 20px; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; background: #fff; border-radius: 18px; }
.logos li { flex: 0 0 calc(100% / 7); display: grid; place-items: center; height: 104px; padding: 0 18px; }
.logos img { max-height: 54px; max-width: 150px; width: auto; object-fit: contain; }
.logos .logo-dark img { background: var(--ink); padding: 8px 10px; border-radius: 8px; box-sizing: content-box; max-height: 40px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-top: 64px; }
.tiers-intro h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 46px; line-height: .92; }
.tiers-intro p { color: var(--muted); margin-top: 16px; }
.tier { display: flex; flex-direction: column; border-radius: 20px; padding: 32px; }
.tier-gold { background: var(--ink); color: var(--paper); }
.tier-silver { background: var(--sand); }
.tier-name { font-weight: 700; }
.tier-gold .tier-name { color: var(--amber); }
.tier-price { font-family: var(--display); font-weight: 900; font-size: 62px; line-height: .95; margin: 8px 0 4px; }
.tier-sum { font-size: 15px; opacity: .75; margin-bottom: 18px; }
.tier .ticks { flex: 1; margin-bottom: 26px; }

/* FAQ */
.faq-sec { background: var(--sand); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.faq-grid > div:first-child p { margin-top: 22px; color: var(--muted); }
.faq-grid > div:first-child a { color: var(--ink); font-weight: 700; }
.faq details { background: var(--paper); border-radius: 14px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 24px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sand); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); }
.faq details p { padding: 0 64px 22px 24px; color: #4C4A42; }

/* Closing */
.closing { position: relative; overflow: hidden; isolation: isolate; color: var(--paper); background: var(--rust); text-align: center; }
.closing > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(25,37,34,.35); }
.closing-inner { padding-block: clamp(100px, 12vw, 170px); }
.closing .big { max-width: 900px; margin: 0 auto; font-size: clamp(52px, 7.5vw, 116px); }
.closing-count { margin: 26px 0 30px; font-size: 19px; font-weight: 600; }
.closing-count [data-digits] { font-family: var(--display); font-weight: 900; font-size: 2em; vertical-align: -.12em; color: var(--amber); }

/* Footer */
.footer { background: var(--sand); padding: 64px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid img { width: 110px; height: auto; }
.footer a { color: var(--ink); }
.footer-legal { margin-top: 44px; font-size: 13px; }

/* Dialogs */
.terms-dialog, .lightbox { border: 0; padding: 0; }
.terms-dialog { width: 860px; max-width: calc(100% - 32px); max-height: calc(100% - 48px); border-radius: 20px; background: var(--paper); color: var(--ink); display: none; }
.terms-dialog[open] { display: flex; flex-direction: column; }
.terms-dialog::backdrop, .lightbox::backdrop { background: rgba(25,37,34,.82); }
.terms-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.terms-head h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 32px; line-height: 1; }
.terms-close { border: 0; background: var(--sand); border-radius: 50%; font-size: 16px; cursor: pointer; width: 40px; height: 40px; color: var(--ink); flex: none; }
.terms-body { overflow-y: auto; padding: 8px 28px 24px; font-size: 15px; }
.terms-body h3 { font-size: 17px; margin: 26px 0 8px; }
.terms-body p + p { margin-top: 10px; }
.terms-intro { margin-top: 16px; color: var(--muted); }
.terms-foot { padding: 16px 28px; border-top: 1px solid var(--line); text-align: right; }
.lightbox { background: transparent; max-width: 92vw; overflow: visible; }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 14px; }
.lightbox figcaption { color: var(--paper); margin-top: 10px; text-align: center; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .logos li { flex-basis: 25%; }
  .hero-type { grid-template-columns: auto minmax(0, 1fr); }
  .hero-gps { font-size: min(30vw, 22vh); }
  .hero-stack { font-size: min(8vw, 8.5vh); }
  .hero-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .hero-lede { display: none; }
  .intro-grid, .entry-grid, .faq-grid, .register-head { grid-template-columns: 1fr; gap: 40px; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .how-steps li { padding-bottom: 28px; }
  .days-grid { grid-template-columns: 1fr; }
  .day { min-height: 0; }
  .recap-stats { grid-template-columns: repeat(2, auto); }
  .tiers { grid-template-columns: 1fr 1fr; }
  .tiers-intro { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --wrap: calc(100% - 40px); }
  body { font-size: 16px; }
  .topbar { padding-inline: 16px; }
  .brand img { width: 56px; }
  .hero { --bar: 66px; min-height: 520px; }
  .hero-type { grid-template-columns: 1fr; gap: 10px; }
  .hero-gps { font-size: min(42vw, 17vh); }
  .hero-stack { font-size: min(12vw, 6.2vh); flex-direction: row; gap: .22em; align-self: start; }
  .hero-side { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-when { font-size: 14px; }
  .hero-when strong { font-size: 16px; }
  .hero-cta .btn { flex: 1; min-height: 46px; padding: 0 14px; font-size: 14px; }
  .hero-photo { min-height: 220px; }
  .cd-title { font-size: 13px; }
  .cd-note { font-size: 12px; }
  .hero-photo > img, .hero-photo::after { clip-path: polygon(0 10%, 36% 2%, 44.5% 8%, 53% 0, 100% 10%, 100% 100%, 0 100%); }
  .cd-tiles { gap: 8px; }
  .tile { font-size: min(12vw, 7vh, 56px); border-radius: 9px; }
  .ridge { height: 50px; }
  .strip-head, .partners-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .strip { padding-inline: 20px; }
  .strip-item { height: 300px; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li, .how-steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .how-n { font-size: 56px; }
  .bring-list { grid-template-columns: 1fr; }
  .ticket-main, .ticket-stub { padding-inline: 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps-bar li { padding-right: 12px; font-size: 13px; }
  .res-form legend { font-size: 30px; overflow-wrap: anywhere; }
  .steps-bar { flex-wrap: nowrap; }
  .steps-bar li:not(.is-current) > span:last-child { display: none; }
  .steps-bar li:not(.is-current) { padding-right: 8px; }
  .fee-row { flex-wrap: wrap; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .logos li { flex-basis: 50%; height: 88px; padding: 0 10px; }
  .logos img { max-width: 120px; max-height: 42px; }
  .tiers { grid-template-columns: 1fr; }
  .tiers-intro h3 { font-size: 38px; }
  .faq details p { padding-right: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* WordPress additions */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 99px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.admin-bar .topbar { top: 32px; }
.admin-bar .hero { height: calc(100svh - var(--bar) - 32px); }
@media (max-width: 782px) { .admin-bar .topbar { top: 46px; } .admin-bar .hero { height: calc(100svh - var(--bar) - 46px); } }
@media (max-width: 600px) { .admin-bar .topbar { top: 0; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Registration notices */
.reg-notice { border-radius: 16px; padding: 22px 24px; background: var(--sand); font-size: 16px; }
.reg-notice h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 40px; line-height: 1; margin-bottom: 10px; }
.reg-notice p + p { margin-top: 8px; }
.reg-notice-success { background: #E3EFE2; border: 2px solid #5E9A63; }
.reg-notice-success strong { color: #2E6B35; }
.reg-notice-warn { background: #FBEBD9; border: 2px solid var(--orange); margin-bottom: 26px; }
.reg-notice-error { background: #F8E1D8; border: 2px solid #C9452E; }
.res-form .field select:disabled { background-color: #F3EEE4; }

/* Inner pages (privacy policy etc.) */
.page-shell { background: var(--paper); padding-block: clamp(60px, 8vw, 110px); min-height: 60vh; }
.page-shell .wrap { max-width: 760px; }
.page-shell h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(46px, 6vw, 80px); line-height: .92; margin-bottom: 32px; }
.entry-content h2 { font-size: 26px; margin: 36px 0 12px; }
.entry-content h3 { font-size: 20px; margin: 28px 0 10px; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 16px; }
.entry-content a { color: var(--rust); }
.entry-content img { height: auto; border-radius: 12px; }
.vehicle .grid-3 + .grid-3 { margin-top: 18px; }
.passenger-row { margin-top: 18px; }
.passenger-row[hidden] { display: none; }
.pay-summary { margin-bottom: 8px; }
