:root {
  --blue: #2b54a7;
  --blue-bright: #3d6fd6;
  /* Greys are translucent black on light and translucent white on dark, so they take on the colour behind them */
  --ink: rgba(0, 0, 0, 0.88);
  --ink-2: rgba(0, 0, 0, 0.56);
  --line: rgba(0, 0, 0, 0.14);
  --bg: #ffffff;
  --bg-gray: rgba(0, 0, 0, 0.04);
  /* Sea and sun: the dark sections are Atlantic navy, with sunshine yellow as their accent */
  --bg-dark: #0f1e3a;
  --card-dark: rgba(255, 255, 255, 0.07);
  --ink-dark: #f8f5ee;
  --ink-dark-2: rgba(255, 255, 255, 0.68);
  --sun: #f5b942;
  --sun-bright: #ffc95c;
  --sun-ink: #172036;
  --radius: 28px;
  --gutter: 20px;
  --sound-edge: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

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

/* Navy behind the page, so overscrolling past either end shows navy, not white */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg-dark); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.logo {
  display: inline-block;
  aspect-ratio: 1544 / 1066;
  background: currentColor;
  -webkit-mask: url(images/logo.png) center / contain no-repeat;
  mask: url(images/logo.png) center / contain no-repeat;
}

/* Sound button: floats in the top-right; past the hero it shrinks into a frosted circle */

.sound {
  position: fixed;
  top: calc(var(--sound-edge) + env(safe-area-inset-top));
  right: calc(var(--sound-edge) + env(safe-area-inset-right));
  z-index: 10;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease), scale 0.5s var(--ease), transform 0.2s var(--ease);
}
.sound:hover { background: rgba(255, 255, 255, 0.16); }
.sound:active { transform: scale(0.94); }
.sound:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.sound svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.25)); transition: filter 0.5s; }
.sound.is-floating {
  scale: 0.82;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.sound.is-floating:hover { background: rgba(255, 255, 255, 0.88); }
.sound.is-floating svg { filter: none; }
.sound .sound-speaker { fill: currentColor; }
.sound .sound-on, .sound[aria-pressed="true"] .sound-off { display: none; }
.sound[aria-pressed="true"] .sound-on { display: inline; }




/* Buttons */

.pill {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.pill:hover { text-decoration: none; }
.pill:active { transform: scale(0.97); }
.pill-light { background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.pill-blue { background: var(--blue); color: #fff; }
.pill-blue:hover { background: var(--blue-bright); }

.more { font-size: 17px; }
.more::after { content: " ›"; }

/* Hero */

.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-dark);
  color: #fff;
}

/* No transform animation on or around the hero video: Safari flashes the video when one ends */
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Title top left, action bottom right, the footage free in between. A soft shadow keeps the white type legible on bright sky. */
.hero-title, .hero-action { position: absolute; display: flex; flex-direction: column; gap: 12px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 2px 24px rgba(0, 0, 0, 0.3); }
.hero-title {
  top: calc(72px + env(safe-area-inset-top));
  left: var(--gutter);
  align-items: flex-start;
  animation: rise 1.4s 0.2s var(--ease) both;
}
.hero-action {
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(40px + env(safe-area-inset-bottom));
  align-items: center;
  gap: 8px;
  animation: rise 1.4s 0.6s var(--ease) both;
}
.hero-action .pill { text-shadow: none; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18); }
.hero-clock { margin: 0; cursor: default; font-variant-numeric: tabular-nums; }
.hero-clock:active { transform: none; }
.logo-hero { filter: drop-shadow(0 1px 12px rgba(0, 0, 0, 0.3)); }

.logo-hero { width: 88px; margin-bottom: 4px; }

.hero h1 {
  font-size: 56px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero-sub { font-size: 21px; line-height: 1.3; font-weight: 500; color: rgba(255, 255, 255, 0.95); white-space: nowrap; }

.hero-count { margin: 0; font-size: 15px; font-weight: 500; color: #fff; }
.hero-count b { font-weight: 700; color: #fff; }

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Sections */

.section { padding: 88px 0; }
.section-gray { background: var(--bg-gray); }
.section-dark { background: var(--bg-dark); color: var(--ink-dark); }
.section-dark .lead, .section-dark p { color: var(--ink-dark-2); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; }

h2 {
  font-size: 40px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.section-dark h2 { color: var(--ink-dark); }

.h2-sub { display: block; font-size: 0.5em; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); margin-top: 6px; }

h3 { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }

.lead { font-size: 21px; line-height: 1.38; color: var(--ink-2); font-weight: 500; letter-spacing: -0.015em; }
.lead + p, p + p { margin-top: 16px; }
.lead + .lead { margin-top: 20px; }
:where(.section p:not(.lead)) { color: var(--ink-2); }

.frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(0, 0, 0, 0.06);
}
.frame-tall { aspect-ratio: 4 / 5; margin-bottom: 40px; }


/* Reveal */

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Stats */

.stats { display: grid; gap: 24px; margin: 0; }
.stats div { margin: 0; }
.stats dt {
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--sun);
  font-variant-numeric: tabular-nums;
}
.stats dd { margin: 6px 0 0; font-size: 17px; font-weight: 500; color: #fff; }

/* At a glance */

.glance { padding-top: 72px; }
.summary { margin: 0; padding: 0 0 0 1.1em; font-size: 19px; line-height: 1.45; }
.summary li { padding: 6px 0; padding-left: 4px; }
.summary li::marker { color: var(--blue); }

/* Gallery */

.gallery { overflow: hidden; }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.gallery-nav { display: none; gap: 10px; margin-bottom: 28px; }
.gallery-nav button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-gray);
  color: var(--ink);
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}
.gallery-nav button:hover { background: rgba(0, 0, 0, 0.08); }
.gallery-nav button:disabled { opacity: 0.35; cursor: default; }
.gallery-track {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track li {
  flex: 0 0 76%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-gray);
  scroll-snap-align: start;
}

/* Laptops only: the portrait loops side by side. --e (0 to 1) fans them in, --x (0 to 1) sends them out. */
.triptych-section { display: none; padding: 128px 0 0; overflow: hidden; }
.triptych { display: flex; justify-content: center; align-items: center; gap: 28px; }
@media (min-aspect-ratio: 1 / 1) {
  .triptych-section { display: block; }
  .chapter-wipe .chapter-stage { display: none; }
}
.tri {
  margin: 0;
  width: min(24vw, 290px);
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  overflow: hidden;
  background: var(--card-dark);
  will-change: transform, opacity;
}
.tri video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tri-mid {
  position: relative;
  z-index: 2;
  transform: translateY(calc((1 - var(--e, 1)) * 180px)) scale(calc(1.08 - (1 - var(--e, 1)) * 0.14 - var(--x, 0) * 0.12));
  opacity: calc(1 - var(--x, 0));
}
.tri-left {
  transform: translateX(calc((1 - var(--e, 1)) * 85% - var(--x, 0) * 45%)) translateY(calc((1 - var(--e, 1)) * 120px)) rotate(calc((1 - var(--e, 1)) * -14deg - var(--x, 0) * 8deg)) scale(calc(1 - (1 - var(--e, 1)) * 0.12));
  opacity: calc(min(1, var(--e, 1) * 1.6) - var(--x, 0));
}
.tri-right {
  transform: translateX(calc((1 - var(--e, 1)) * -85% + var(--x, 0) * 45%)) translateY(calc((1 - var(--e, 1)) * 120px)) rotate(calc((1 - var(--e, 1)) * 14deg + var(--x, 0) * 8deg)) scale(calc(1 - (1 - var(--e, 1)) * 0.12));
  opacity: calc(min(1, var(--e, 1) * 1.6) - var(--x, 0));
}

.register-photo { aspect-ratio: 4 / 3; margin-bottom: 56px; }

/* Chapters: a pinned photo or loop that changes shape as you scroll, then the text on a plain background.
   Each chapter has its own move. --p runs 0 to 1 across the pinned stretch (set in main.js). */

.chapter {
  --t: 72px;
  --x: var(--gutter);
  --b: 34svh;
  position: relative;
  background: var(--bg);
  color: var(--ink);
}
.chapter-dark { background: var(--bg-dark); color: var(--ink-dark); }
.chapter-stage { height: 170svh; }
.chapter-media { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.chapter-frame {
  position: absolute;
  inset: 0;
  will-change: clip-path;
}
.chapter-frame picture { display: block; height: 100%; }
.chapter-frame img, .chapter-frame video { display: block; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.scene-video-wide { display: none !important; }
@media (min-aspect-ratio: 1 / 1) {
  .scene-video-tall { display: none !important; }
  .scene-video-wide { display: block !important; }
}

/* Full screen, shrinking into a rounded frame with the text rising in below it */
.chapter-shrink .chapter-frame {
  clip-path: inset(calc(var(--p, 0) * var(--t)) calc(var(--p, 0) * var(--x)) calc(var(--p, 0) * var(--b)) calc(var(--p, 0) * var(--x)) round calc(var(--p, 0) * 28px));
}
.chapter-shrink .chapter-frame video { transform: scale(calc(1.08 - var(--p, 0) * 0.08)); }

/* A small rounded frame growing to full screen */
.chapter-grow .chapter-frame {
  clip-path: inset(calc((1 - var(--p, 0)) * 22svh) calc((1 - var(--p, 0)) * 14vw) calc((1 - var(--p, 0)) * 22svh) calc((1 - var(--p, 0)) * 14vw) round calc((1 - var(--p, 0)) * 28px));
}

/* A narrow strip opening out to full width */
.chapter-wipe .chapter-frame {
  clip-path: inset(calc((1 - var(--p, 0)) * 12svh) calc((1 - var(--p, 0)) * 42%) calc((1 - var(--p, 0)) * 12svh) calc((1 - var(--p, 0)) * 42%) round 28px);
}


.chapter-copy { position: relative; padding-bottom: 112px; }
.chapter-shrink .chapter-copy { margin-top: calc(56px - var(--b)); }
.chapter-grow .chapter-copy, .chapter-wipe .chapter-copy { padding-top: 96px; }
.chapter-copy p + p { margin-top: 16px; }
:where(.chapter p:not(.lead)) { color: var(--ink-2); font-size: 19px; }
:where(.chapter-dark p:not(.lead)) { color: var(--ink-dark-2); }
.chapter-dark .lead { color: var(--ink-dark); }
.chapter-dark a:not(.pill) { color: var(--sun); }
.chapter-dark .pill-blue { background: var(--sun); color: var(--sun-ink); }
.chapter-dark .pill-blue:hover { background: var(--sun-bright); }
.chapter .stats { margin: 48px 0 0; }
.chapter .columns { margin: 40px 0 48px; }
.nowrap { white-space: nowrap; }
.columns p { font-size: 19px; }
/* Phones only: laptops already show these Pico shots in the hero and chapters */
.group-reel { display: none; aspect-ratio: 16 / 9; margin: 0 0 40px; }
.group-reel video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-aspect-ratio: 1 / 1) {
  .group-reel { display: block; }
}

.safety-photo { aspect-ratio: 4 / 5; margin-top: 48px; }

/* Price */

.price h2 { text-align: center; }
.price-cards { display: grid; gap: 16px; margin-bottom: 64px; }
.price .room-note { margin: -48px 0 64px; }
.price-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--bg-gray);
  text-align: center;
}
.price-amount {
  font-size: 48px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.price-card:first-child .price-amount { color: var(--blue); }
.section .price-label { margin-top: 8px; font-size: 19px; color: var(--ink); font-weight: 500; }

.price h3 { margin-bottom: 20px; }
.price .sub-head { margin-top: 80px; margin-bottom: 12px; font-size: 28px; letter-spacing: -0.025em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checks li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* Flights */

.flight-list { display: grid; gap: 16px; margin-top: 24px; }
.flight {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--bg-gray);
}
.section .flight-day { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.section .flight-route { margin-top: 6px; font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.flight-route span[aria-hidden] { color: var(--blue); padding: 0 4px; }
.flight-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.section .flight-meta span:last-child { color: var(--ink); font-weight: 600; }

/* Hotel */

.hotel .frame-tall { aspect-ratio: 4 / 3; }
.hotel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.hotel-grid .frame { margin: 0; aspect-ratio: 4 / 3; border-radius: 20px; }

.note {
  margin-top: 40px;
  padding: 26px;
  border-radius: 22px;
  background: var(--bg-gray);
}
.note h3 { margin-bottom: 8px; }

/* Bikes */

/* Renting only: the discount as the hook, then three steps */
.rent { display: grid; gap: 48px; margin-top: 32px; }
.rent-big {
  font-size: 120px;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--sun);
  font-variant-numeric: tabular-nums;
}
.rent-label { margin-top: 14px; font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-dark); }
.rent-urgent { margin-top: 28px; padding-left: 16px; border-left: 2px solid var(--sun); font-size: 17px; }
.rent-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.rent-steps li {
  counter-increment: step;
  position: relative;
  padding: 28px 0 28px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.rent-steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.rent-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 26px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18);
  color: var(--sun);
  font-size: 17px;
  font-weight: 700;
}
.rent-steps h3 { margin-bottom: 8px; font-size: 21px; color: var(--ink-dark); }
.rent-steps p { font-size: 17px; }
.rent-steps .actions { margin-top: 20px; }
.rent-steps .code { margin: 16px 0 0; }
.bike-note { max-width: 640px; margin-top: 48px; }
.chapter .bike-note { font-size: 15px; }

.code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.code:active { transform: scale(0.98); }
.code-value { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.code-action { font-size: 15px; font-weight: 500; color: var(--sun); }
.code.is-copied { background: rgba(245, 185, 66, 0.12); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.section-dark .more { color: var(--sun); }

/* Team */

.people { display: grid; gap: 16px; margin-top: 8px; }
.person { display: grid; gap: 20px; padding: 28px 26px; border-radius: var(--radius); background: var(--bg-gray); }
.person h3 { font-size: 22px; }
.person-lead h3 { font-size: 28px; letter-spacing: -0.025em; }
/* Tóta higher, Finnur lower and overlapping */
.avatar-pair { display: flex; align-items: flex-start; }
.avatar-pair .avatar { width: 150px; height: 150px; box-shadow: 0 0 0 5px var(--bg-gray), 0 0 0 5px var(--bg); }
.avatar-pair .avatar + .avatar { position: relative; margin: 64px 0 0 -30px; }
.person-coaches { padding: 32px 26px; }
.person-coaches h3 { font-size: 28px; letter-spacing: -0.025em; }
.person-lead { padding: 0; gap: 0; overflow: hidden; }
.lead-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }
.lead-text { padding: 28px 26px 32px; }
.avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-gray);
}
.section .role { margin: 2px 0 12px; font-size: 15px; font-weight: 500; color: var(--blue); }

/* Terms */

.terms-list { list-style: none; margin: 0; padding: 0; }
.terms-list li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.terms-list li:first-child { border-top: 1px solid var(--line); }
.terms-list strong { font-size: 19px; font-weight: 600; }
.terms-list span { color: var(--ink-2); }

/* Register */

.register { padding: 112px 0 120px; text-align: center; }
.register h2 { font-size: 48px; }
.register .lead { margin-bottom: 40px; }

.count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: -16px 0 24px;
  font-size: 17px;
  font-weight: 500;
}
.section-dark .count { color: var(--ink-dark); }
.count b { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--sun); font-variant-numeric: tabular-nums; }

.people-list { margin: -16px 0 24px; }
button.count {
  width: 100%;
  margin: 0;
  padding: 8px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
}
.chevron {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border: solid var(--sun);
  border-width: 0 2px 2px 0;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.count[aria-expanded="true"] .chevron { transform: translateY(1px) rotate(225deg); }

.names {
  margin: 8px 0 0;
  padding: 8px 20px;
  border-radius: 24px;
  background: var(--card-dark);
  list-style: none;
  counter-reset: name;
  text-align: left;
  max-height: 320px;
  overflow-y: auto;
  animation: rise 0.5s var(--ease) both;
}
.names li {
  counter-increment: name;
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-dark);
  font-size: 17px;
}
.names li:last-child { border-bottom: 0; }
.names li::before { content: counter(name); min-width: 24px; color: var(--ink-dark-2); font-variant-numeric: tabular-nums; }

.clock-card {
  display: block;
  padding: 26px 20px;
  border-radius: 32px;
  background: var(--card-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  margin-bottom: 16px;
}

.register-label { display: block; font-size: 15px; font-weight: 500; color: var(--ink-dark-2); margin-bottom: 12px; }

.prereg { display: grid; gap: 12px; text-align: left; }
.prereg label { display: grid; gap: 6px; }
.prereg label span { padding-left: 4px; font-size: 15px; font-weight: 500; color: var(--ink-dark-2); }
.prereg input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: var(--card-dark);
  color: #fff;
  font: inherit;
  font-size: 17px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.prereg input:focus { border-color: var(--sun); box-shadow: 0 0 0 4px rgba(245, 185, 66, 0.25); }
.prereg .register-button { margin-top: 8px; }
.prereg .fine { text-align: center; margin-top: 4px; }
.section .form-error { color: #ff8a80; text-align: center; font-weight: 500; }

.register-button {
  display: block;
  width: 100%;
  padding: 20px;
  border: 0;
  border-radius: 999px;
  background: var(--sun);
  color: var(--sun-ink);
  font: inherit;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(245, 185, 66, 0.3);
  transition: transform 0.25s var(--ease), background-color 0.3s, opacity 0.2s;
}
.register-button:hover { text-decoration: none; background: var(--sun-bright); }
.register-button:active { transform: scale(0.98); }
.register-button:disabled { opacity: 0.6; cursor: default; }

.done {
  padding: 32px 24px;
  border-radius: 32px;
  background: var(--card-dark);
  animation: rise 0.8s var(--ease) both;
}
.done-check {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%23172036' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 40px no-repeat;
}
.section .done-title { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: #fff; margin-bottom: 8px; }
.done-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 24px; }
.pill-glass { background: rgba(255, 255, 255, 0.12); color: #fff; }
.pill-glass:hover { background: rgba(255, 255, 255, 0.2); }
.link-button { border: 0; background: none; padding: 4px; color: var(--sun); font: inherit; font-size: 15px; cursor: pointer; }

.clock { display: flex; justify-content: center; gap: 6px; }
.clock > span { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.clock b {
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.clock i { margin-top: 6px; font-style: normal; font-size: 13px; color: var(--ink-dark-2); }

a.register-button::after { content: " ›"; }
a.register-button { animation: glow 2.8s ease-in-out infinite; }

@keyframes glow {
  50% { box-shadow: 0 12px 56px rgba(245, 185, 66, 0.55); }
}

.section .fine { margin-top: 20px; font-size: 15px; }

/* Films: YouTube loads only after a tap */

.gallery-films { margin-top: 56px; }
.film-grid { display: grid; gap: 24px; }
.film { margin: 0; display: grid; gap: 12px; }
.film figcaption { font-size: 17px; font-weight: 600; color: var(--ink); }
.film-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--card-dark);
  cursor: pointer;
}
.film-frame img, .film-frame iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.film-frame img { transition: transform 0.6s var(--ease); }
.film-frame:hover img { transform: scale(1.03); }
.film-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%231d1d1f'/%3E%3C/svg%3E") 55% 50% / 30px no-repeat;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease);
}
.film-frame:hover .film-play { transform: scale(1.06); }
.film-frame:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Lightbox: the photo grows out of its spot on the page */

[data-zoom] { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 50; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  cursor: zoom-out;
}
.lightbox-img {
  position: fixed;
  object-fit: cover;
  border-radius: 22px;
  will-change: left, top, width, height;
  touch-action: none;
  cursor: zoom-out;
}
.lightbox-btn {
  position: fixed;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14) center / 20px no-repeat;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background-color 0.2s;
}
.lightbox.is-open .lightbox-btn { opacity: 1; }
.lightbox-btn:hover { background-color: rgba(255, 255, 255, 0.24); }
.lightbox-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox-close {
  top: calc(16px + env(safe-area-inset-top));
  right: calc(16px + env(safe-area-inset-right));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 5l10 10M15 5L5 15' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.lightbox-prev, .lightbox-next { top: 50%; margin-top: -22px; }
.lightbox-prev {
  left: calc(16px + env(safe-area-inset-left));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M12.5 4l-6 6 6 6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.lightbox-next {
  right: calc(16px + env(safe-area-inset-right));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.5 4l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.lightbox-btn[hidden] { display: none; }
@media (hover: none) {
  .lightbox-prev, .lightbox-next { display: none; }
}
html.is-locked { overflow: hidden; }

/* Footer */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 48px var(--gutter) calc(48px + env(safe-area-inset-bottom));
  background: var(--bg-dark);
  color: var(--ink-dark-2);
  text-align: center;
  font-size: 13px;
}
.footer .logo { width: 56px; color: var(--ink-dark); }
.footer-note { max-width: 46ch; display: grid; gap: 4px; margin-bottom: 40px; font-size: 14px; line-height: 1.5; color: var(--ink-dark-2); }
.footer-note p { margin: 0; }
.footer-note-title { font-weight: 600; color: var(--ink-dark); }

/* Larger screens */

@media (min-width: 734px) {
  :root { --gutter: 40px; --sound-edge: 24px; }
  .hero h1 { font-size: 96px; }
  .hero-sub { font-size: 26px; }
  .logo-hero { width: 128px; }
  .hero-title { top: 112px; }
  .hero-action { bottom: 64px; left: auto; }
  .safety-photo { aspect-ratio: 16 / 9; }
  .safety-photo img { object-position: 50% 72%; }
  .chapter { --t: 96px; --x: max(var(--gutter), calc((100vw - 1100px) / 2)); --b: 30svh; }
  .columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; }
  .columns p + p { margin-top: 0; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats dt { font-size: 72px; }
  .section { padding: 120px 0; }
  h2 { font-size: 56px; }
  .lead { font-size: 24px; }
  .summary { font-size: 21px; }
  .gallery-nav { display: flex; }
  .gallery-track {
    gap: 20px;
    padding: 0 max(var(--gutter), calc((100vw - 980px) / 2 + var(--gutter)));
    scroll-padding-inline: max(var(--gutter), calc((100vw - 980px) / 2 + var(--gutter)));
  }
  .gallery-track li { flex-basis: 360px; }
  .price-cards, .flight-list { grid-template-columns: 1fr 1fr; }
  .price .sub-head { font-size: 34px; }
  .price-amount { font-size: 56px; }
  .checks { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .frame-tall, .hotel .frame-tall { aspect-ratio: 16 / 9; }
  .hotel-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .rent { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .rent-hook { position: sticky; top: 120px; }
  .rent-big { font-size: 168px; }
  .person { grid-template-columns: 200px 1fr; align-items: center; gap: 48px; padding: 44px 48px; }
  .avatar, .avatar-pair { justify-self: center; }
  .person-lead { grid-template-columns: 1fr 1fr; gap: 0; padding: 0; align-items: stretch; }
  .lead-photo { height: 100%; min-height: 460px; aspect-ratio: auto; }
  .lead-text { align-self: center; padding: 48px 52px; }
  .avatar-pair .avatar { width: 220px; height: 220px; box-shadow: 0 0 0 6px var(--bg-gray), 0 0 0 6px var(--bg); }
  .avatar-pair .avatar + .avatar { margin: 96px 0 0 -44px; }
  .person-coaches { grid-template-columns: 1fr 1fr; gap: 0; padding: 52px 0; align-items: center; min-height: 460px; }
  .coaches-text { padding: 0 52px; }
  .person-coaches .avatar-pair { order: 2; }
  .person-coaches h3 { font-size: 34px; }
  .person-lead h3 { font-size: 34px; }
  .terms-list li { grid-template-columns: 220px 1fr; gap: 24px; }
  .register h2 { font-size: 72px; }
  .film-grid { grid-template-columns: 1fr 1fr; }
  .clock-card { padding: 32px 20px; }
  .clock { gap: 20px; }
  .clock > span { min-width: 84px; }
  .clock b { font-size: 64px; }
}

@media (min-width: 1069px) {
  .hero h1 { font-size: 128px; }
  h2 { font-size: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title, .hero-action { animation: none; transform: none; }
  .chapter-frame { clip-path: none !important; }
  .tri { transform: none !important; opacity: 1 !important; }
  .chapter-frame img, .chapter-frame video { transform: none !important; }
  .chapter-stage { height: 100svh; }
  .chapter-copy { margin-top: 0 !important; padding-top: 72px; }
  a.register-button, .done { animation: none; }
}
