/* GOAB 2026 — "dusk beach" design system.
   Same cartoon ink + sunset palette as the 2025 site, pushed toward a neon, synthwave future. */

:root {
  --ink: #16122b;
  --night: #1d1638;
  --plum: #3a1f4f;
  --wine: #a52a46;
  --red: #d12d38;
  --coral: #ed5b4e;
  --orange: #f95114;
  --tangerine: #f97014;
  --sun: #ffb347;
  --sand: #ffe48b;
  --sand-soft: #fff4d1;
  --teal: #00dbb3;
  --sky: #0099ff;
  --magenta: #ff3d9a;
  --paper: #fffaf0;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);

  --font-display: "Unbounded", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 22px;
  --border: 3px solid var(--ink);
  --pop: 6px 6px 0 var(--ink);
  --pop-lg: 10px 10px 0 var(--ink);
  --glow-teal: 0 0 24px rgba(0, 219, 179, 0.55);
  --glow-orange: 0 0 32px rgba(249, 81, 20, 0.55);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  background: var(--night);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--teal); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--teal);
  color: var(--ink);
  font-weight: 700;
  border-radius: 999px;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
  text-wrap: balance;
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 62ch;
  margin: 0;
}

.grad-text {
  background: linear-gradient(92deg, var(--sand) 0%, var(--sun) 28%, #ff7a3d 58%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-shadow: none;
}

/* ---------- Buttons & chips ---------- */

.btn {
  --btn-bg: var(--orange);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: var(--border);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink), var(--glow-orange); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--blue { --btn-bg: var(--sky); }
.btn--blue:hover { box-shadow: 6px 6px 0 var(--ink), 0 0 32px rgba(0, 153, 255, 0.6); }
.btn--teal { --btn-bg: var(--teal); --btn-fg: var(--ink); }
.btn--teal:hover { box-shadow: 6px 6px 0 var(--ink), var(--glow-teal); }
.btn--sand { --btn-bg: var(--sand); --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; border-color: currentColor; box-shadow: none; }
.btn--ghost:hover { box-shadow: none; background: rgba(255, 255, 255, 0.08); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 13px; }
.btn svg { width: 18px; height: 18px; flex: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 2px solid currentColor;
}
.chip--live { color: var(--teal); background: rgba(0, 219, 179, 0.1); }
.chip--live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(0, 219, 179, 0.7); }
  100% { box-shadow: 0 0 0 10px rgba(0, 219, 179, 0); }
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(22, 18, 43, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 78px; height: auto; }
.brand__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal);
  padding: 3px 8px;
  border: 1.5px solid currentColor;
  border-radius: 6px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.1); color: var(--sand); }
.nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: rgba(22, 18, 43, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 15px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- Hero: dusk sky, scanline sun, neon grid sea ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 120px 0 0;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(249, 112, 20, 0.85) 0%, rgba(209, 45, 56, 0.6) 30%, transparent 65%),
    linear-gradient(180deg, #120d26 0%, #2a1747 35%, #6b2156 62%, #c2363f 82%, #f97014 100%);
}

.stars {
  position: absolute;
  inset: 0 0 40% 0;
  z-index: -3;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 12%, #ffe48b 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 30%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 78% 16%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 38%, #00dbb3 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 54%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 70% 52%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 60%, #ffe48b 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 70%, #fff 50%, transparent 51%);
  opacity: 0.8;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.45; } to { opacity: 0.95; } }

.hero__sun {
  position: absolute;
  left: 50%;
  bottom: 110px;
  z-index: 0;
  width: min(440px, 80vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 60px rgba(255, 140, 40, 0.75));
}
.hero__sun img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Solid top half, synthwave scanlines on the bottom half. */
  -webkit-mask-image:
    linear-gradient(180deg, #000 0 54%, transparent 54%),
    repeating-linear-gradient(180deg, #000 0 16px, transparent 16px 24px);
  mask-image:
    linear-gradient(180deg, #000 0 54%, transparent 54%),
    repeating-linear-gradient(180deg, #000 0 16px, transparent 16px 24px);
}

.hero__sea {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  z-index: 1;
  perspective: 340px;
  perspective-origin: 50% 0%;
  background: linear-gradient(180deg, #2b1a4a 0%, #16122b 100%);
  border-top: 2px solid rgba(255, 228, 139, 0.85);
  box-shadow: 0 -6px 40px rgba(255, 140, 40, 0.6);
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  left: -50%;
  right: -50%;
  top: 0;
  height: 200%;
  transform-origin: 50% 0;
  transform: rotateX(62deg);
  background-image:
    linear-gradient(90deg, rgba(0, 219, 179, 0.75) 2px, transparent 2px),
    linear-gradient(0deg, rgba(255, 61, 154, 0.65) 2px, transparent 2px);
  background-size: 64px 64px;
  animation: grid-roll 2.4s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}
@keyframes grid-roll { to { background-position: 0 64px; } }

.hero__wave {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -2px;
  z-index: 2;
  /* Full wave, squashed to a capped height, so it never balloons on wide screens
     or shows a flat teal band where the drawing is cropped. */
  height: clamp(70px, calc(104vw * 349 / 1792 * 0.6), 220px);
  background: url("/assets/2026/wave-teal.svg") center bottom / 100% 100% no-repeat;
  filter: drop-shadow(0 -4px 20px rgba(0, 219, 179, 0.45));
  pointer-events: none;
}

.hero__content { position: relative; z-index: 3; }
.hero__scene {
  position: relative;
  flex: 1 0 auto;
  height: clamp(400px, 40vw, 560px);
  margin-top: -130px;
}

.hero__ribbon {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}
.hero__ribbon .chip { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chip--sand { color: var(--sand); background: rgba(255, 228, 139, 0.08); }

.hero h1 {
  font-size: clamp(36px, 5.2vw, 72px);
  max-width: 17ch;
  margin: 0 auto;
  text-shadow: 0 4px 0 rgba(22, 18, 43, 0.35);
}
.hero h1 .strike {
  position: relative;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.hero h1 .strike::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 52%;
  height: 0.12em;
  background: var(--teal);
  border-radius: 99px;
  transform: rotate(-3deg) scaleX(0);
  transform-origin: left;
  box-shadow: var(--glow-teal);
  animation: strike 0.7s 0.6s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}
@keyframes strike { to { transform: rotate(-3deg) scaleX(1); } }

.hero__kicker {
  margin: 20px auto 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--sand);
}
.hero__sub {
  margin: 10px auto 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255, 255, 255, 0.86);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.countdown {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
  padding: 12px 18px;
  font-family: var(--font-mono);
  background: rgba(22, 18, 43, 0.55);
  border: 1.5px solid rgba(0, 219, 179, 0.5);
  border-radius: 18px;
  box-shadow: var(--glow-teal), inset 0 0 20px rgba(0, 219, 179, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.countdown__label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.countdown__units { display: flex; gap: 10px; }
.countdown__unit { min-width: 52px; text-align: center; }
.countdown__unit b { display: block; font-size: 26px; line-height: 1.1; color: var(--white); font-variant-numeric: tabular-nums; }
.countdown__unit span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.hero__cast { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero__octo {
  position: absolute;
  left: max(-30px, calc(50% - 720px));
  bottom: 140px;
  width: clamp(150px, 19vw, 260px);
  filter: drop-shadow(0 0 22px rgba(0, 219, 179, 0.5));
  animation: bob 5s ease-in-out infinite;
}
.hero__surfer {
  position: absolute;
  right: max(-20px, calc(50% - 700px));
  bottom: 120px;
  width: clamp(150px, 18vw, 250px);
  filter: drop-shadow(0 0 22px rgba(255, 140, 40, 0.55));
  animation: surf 4.2s ease-in-out infinite;
}
.hero__tag {
  position: absolute;
  left: max(20px, calc(50% - 560px));
  top: 10%;
  width: clamp(80px, 8vw, 120px);
  animation: drift 7s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-16px) rotate(-2deg); } }
@keyframes surf { 0%, 100% { transform: translate(0, 0) rotate(-3deg); } 50% { transform: translate(-14px, -10px) rotate(3deg); } }
@keyframes drift { 50% { transform: translate(10px, -18px) rotate(14deg); } }

/* Floating cartoon cast on inner-page heroes and the CTA band */
.cast {
  position: absolute;
  z-index: 1;
  width: clamp(140px, 14vw, 210px);
  pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(0, 219, 179, 0.35));
  animation: bob 5s ease-in-out infinite;
}
.cast--right { right: max(16px, calc(50% - 700px)); bottom: 56px; }
.cast--left { left: max(16px, calc(50% - 700px)); bottom: 56px; }
.cast--hang { right: max(16px, calc(50% - 640px)); top: 24px; width: clamp(120px, 12vw, 180px); animation-duration: 6s; }
/* On inner heroes the cast rides the wave, whatever its height. */
.page-hero .cast--left,
.page-hero .cast--right { bottom: calc(var(--wave-h) * 0.72); z-index: 3; }
@media (max-width: 960px) { .cast { display: none; } }

/* Smaller screens: keep the 7-8-9 character, smaller and up in the open sky. */
@media (max-width: 1080px) {
  .hero__tag { width: 76px; left: 16px; top: 34%; }
}
@media (max-width: 640px) {
  .hero__tag { width: 60px; left: 6%; top: 2%; }
}
@media (max-width: 640px) {
  .hero { padding-top: 112px; min-height: 0; }
  .hero__scene { height: 320px; margin-top: 0; }
  .hero__sea { height: 120px; }
  .hero__sun { bottom: 24px; width: min(280px, 74vw); }
  .hero__ctas .btn { width: 100%; font-size: 14px; padding: 12px 18px; }
  .hero__octo { width: 120px; left: -16px; bottom: 60px; }
  .hero__surfer { width: 130px; right: -10px; bottom: 40px; }
  .countdown__unit { min-width: 44px; }
  .countdown__unit b { font-size: 22px; }
}

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

.section { position: relative; padding: clamp(80px, 10vw, 128px) 0; }
.section--teal { background: var(--teal); color: var(--ink); }
.section--sand { background: var(--sand-soft); color: var(--ink); }
.section--night { background: var(--night); }
.section--sunset {
  background:
    radial-gradient(80% 80% at 80% 0%, rgba(255, 228, 139, 0.45), transparent 60%),
    linear-gradient(160deg, var(--tangerine) 0%, var(--orange) 40%, var(--red) 75%, var(--wine) 100%);
}
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lede { margin: 0 auto; }

.edge-wave {
  position: absolute;
  left: 0;
  right: 0;
  height: 70px;
  pointer-events: none;
}
.edge-wave--top { top: -1px; transform: scaleY(-1); }
.edge-wave svg { width: 100%; height: 100%; display: block; }

/* Spec strip directly under the hero */
.spec {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -6px;
}
.spec__item {
  padding: 22px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--pop);
}
.spec__item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
}
.spec__item strong { display: block; margin-top: 6px; font-size: 16px; line-height: 1.4; }
@media (max-width: 900px) { .spec { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; } }

/* Benefit cards */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit {
  position: relative;
  padding: 28px 24px;
  color: var(--ink);
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--pop);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit:hover { transform: translate(-3px, -3px) rotate(-0.6deg); box-shadow: var(--pop-lg); }
.benefit__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  font-size: 28px;
  border: var(--border);
  border-radius: 16px;
  background: var(--sand);
}
.benefit:nth-child(2) .benefit__icon { background: var(--teal); }
.benefit:nth-child(3) .benefit__icon { background: var(--coral); }
.benefit:nth-child(4) .benefit__icon { background: #8fd3ff; }
.benefit h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 20px; line-height: 1.15; }
.benefit p { margin: 0; font-size: 15px; color: rgba(22, 18, 43, 0.78); }
@media (max-width: 1000px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* Track cards */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.track {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  color: var(--ink);
  background: var(--paper);
  border: var(--border);
  border-radius: 28px;
  box-shadow: var(--pop-lg);
  overflow: hidden;
}
.track::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 10px;
  background: linear-gradient(90deg, var(--orange), var(--magenta), var(--teal));
}
.track--two::before { background: linear-gradient(90deg, var(--teal), var(--sky), var(--magenta)); }
.track__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.track__code {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
}
.track__module { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine); }
.track h3 { margin: 20px 0 10px; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.08; letter-spacing: -0.01em; }
.track__for {
  margin: 0 0 22px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(0, 219, 179, 0.16);
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
}
.track__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 22px;
}
.track__meta div { padding: 14px; background: var(--white); border: 2px solid var(--ink); border-radius: 16px; }
.track__meta dt { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine); }
.track__meta dd { margin: 4px 0 0; font-size: 15px; font-weight: 700; line-height: 1.35; }
.track__meta dd span { display: block; font-weight: 500; font-size: 13px; color: rgba(22, 18, 43, 0.7); }
.track__meta .has-photo dd { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; align-items: center; }
.track__meta .has-photo img { grid-row: 1 / span 2; width: 56px; height: 56px; object-fit: cover; border: 2px solid var(--ink); border-radius: 50%; }
.track ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.track li { position: relative; padding-left: 30px; font-size: 15px; }
.track li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316122b' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.track__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 2px dashed rgba(22, 18, 43, 0.25);
}
.price { line-height: 1.2; }
.price small { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(22, 18, 43, 0.6); }
.price strong { font-family: var(--font-display); font-size: 30px; }
.price span { font-size: 14px; color: rgba(22, 18, 43, 0.7); }
.price .price__member { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--wine); }

.terminal {
  margin: 0 0 24px;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: #d9fff6;
  background: var(--ink);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(0, 219, 179, 0.35), 0 0 30px rgba(0, 219, 179, 0.18);
  overflow-x: auto;
}
.terminal__bar { display: flex; gap: 6px; margin-bottom: 10px; }
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.terminal__bar i:nth-child(2) { background: var(--sand); }
.terminal__bar i:nth-child(3) { background: var(--teal); }
.terminal .k { color: var(--teal); }
.terminal .s { color: var(--sand); }
.terminal .c { color: rgba(217, 255, 246, 0.5); }
.terminal .p { color: var(--magenta); }
.cursor { display: inline-block; width: 0.6em; height: 1.1em; vertical-align: -0.2em; background: var(--teal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 960px) { .tracks { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .track { padding: 24px 20px; }
  .track__meta { grid-template-columns: 1fr; }
}

/* Advantage: stat + list */
.advantage { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.stat-card {
  position: relative;
  padding: 36px;
  color: var(--white);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(0, 219, 179, 0.35), transparent 60%),
    linear-gradient(160deg, #2a1747, var(--ink));
  border: var(--border);
  border-radius: 28px;
  box-shadow: var(--pop-lg);
  overflow: hidden;
}
.stat-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background-image:
    linear-gradient(90deg, rgba(0, 219, 179, 0.35) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 61, 154, 0.3) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: perspective(300px) rotateX(60deg);
  pointer-events: none;
}
.stat-card .eyebrow { color: var(--teal); }
.stat-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0 6px; }
.stat-from { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: rgba(255, 255, 255, 0.45); text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 4px; }
.stat-arrow { font-size: 30px; color: var(--teal); }
.stat-to { font-family: var(--font-display); font-size: clamp(48px, 7vw, 84px); font-weight: 800; line-height: 1; color: var(--teal); text-shadow: var(--glow-teal); }
.stat-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); }
.stat-card .big90 {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 22px;
  padding: 8px 14px;
  font-weight: 800;
  color: var(--ink);
  background: var(--sand);
  border: 2px solid var(--ink);
  border-radius: 12px;
  transform: rotate(-2deg);
}

.feature-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.feature-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.feature-list li:hover { border-color: var(--teal); background: rgba(0, 219, 179, 0.08); }
.feature-list .num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--ink);
  background: var(--teal);
  border-radius: 14px;
}
.feature-list li:nth-child(2) .num { background: var(--sand); }
.feature-list li:nth-child(3) .num { background: var(--coral); color: var(--white); }
.feature-list li:nth-child(4) .num { background: #8fd3ff; }
.feature-list h3 { margin: 0 0 4px; font-size: 18px; }
.feature-list p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .advantage { grid-template-columns: 1fr; } }

/* Leaders */
.leaders { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.leader {
  padding: 24px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--pop);
}
.leader h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.leader p { margin: 0; font-size: 15px; color: rgba(22, 18, 43, 0.76); }
.leaders__art { position: relative; }
.leaders__art img { width: 100%; max-width: 380px; margin: 0 auto; animation: bob 6s ease-in-out infinite; }
.approval {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding: 22px 26px;
  background: var(--ink);
  color: var(--white);
  border-radius: 22px;
  box-shadow: var(--pop);
  border: var(--border);
}
.approval p { margin: 0; font-weight: 600; }
.approval p span { color: var(--sand); }
@media (max-width: 960px) {
  .leaders { grid-template-columns: 1fr; }
  .leaders__art { order: -1; }
  .leaders__art img { max-width: 260px; }
}
@media (max-width: 560px) { .leader-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .section-title { max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-band .lede { margin: 0 auto; color: rgba(255, 255, 255, 0.9); }
.cta-band .hero__ctas { margin-top: 30px; }
.note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--sand);
  border: var(--border);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  text-align: left;
}
.cta-band .ask { margin-top: 22px; font-size: 15px; color: rgba(255, 255, 255, 0.9); }
.cta-band .ask a { font-weight: 700; color: var(--sand); }

/* Beach 2026 */
.beach { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.beach__art {
  position: relative;
  padding: 26px;
  background: var(--sand);
  border: var(--border);
  border-radius: 32px;
  box-shadow: var(--pop-lg);
  transform: rotate(-1.5deg);
}
.beach__art img { width: 100%; }
.beach__stamp {
  position: absolute;
  right: -14px;
  top: -18px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--orange);
  border: var(--border);
  border-radius: 12px;
  transform: rotate(6deg);
}
.beach p { margin: 0 0 16px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.socials a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .beach { grid-template-columns: 1fr; } }

/* Footer */
.site-footer {
  position: relative;
  padding: 64px 0 40px;
  color: var(--white);
  background: var(--ink);
}
/* The footer's own ink rises in a wave over whatever section sits above it,
   so there's no flat band of a guessed "edge" color. */
.site-footer .edge-wave { top: auto; bottom: calc(100% - 1px); height: 80px; transform: scaleY(-1); }
.site-footer .edge-wave path { fill: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--sand); }
.footer-brand img { width: 120px; }
.footer-brand p { color: var(--muted); max-width: 40ch; }
.organizer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 14px;
}
.organizer span { font-size: 12px; color: var(--ink); font-weight: 600; }
.organizer img { width: 120px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bottom p { margin: 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .strike::after { transform: rotate(-3deg) scaleX(1); }
}

/* ---------- Inner pages (expense template) ---------- */

.page-hero {
  position: relative;
  padding: 150px 0 140px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(249, 112, 20, 0.8) 0%, rgba(209, 45, 56, 0.5) 40%, transparent 70%),
    linear-gradient(180deg, #120d26 0%, #2a1747 50%, #6b2156 100%);
}
.page-hero h1 { font-size: clamp(34px, 5.4vw, 64px); max-width: 18ch; margin: 18px auto 0; }
.page-hero .lede { margin: 20px auto 0; color: rgba(255, 255, 255, 0.86); }
.page-hero {
  /* Capped so very wide screens don't get a towering wave. */
  --wave-h: clamp(70px, calc(104vw * 349 / 1792 * 0.55), 190px);
  padding-bottom: calc(var(--wave-h) + 40px);
}
/* Show the whole wave (squashed a little) instead of cropping it over a flat teal band. */
.page-hero .hero__wave { height: var(--wave-h); }

.email-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; }
.email-card {
  color: var(--ink);
  background: var(--paper);
  border: var(--border);
  border-radius: 26px;
  box-shadow: var(--pop-lg);
  overflow: hidden;
}
.email-card__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--white);
}
.email-card__bar .terminal__bar { margin: 0; }
.email-card__bar > span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.email-body {
  margin: 0;
  padding: 26px clamp(18px, 3vw, 32px) 30px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}
.email-body mark { padding: 0 3px; color: var(--ink); background: var(--sand); border-radius: 4px; }
.email-body .subj { font-weight: 800; }
.howto { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.howto li { counter-increment: step; position: relative; padding-left: 50px; font-weight: 600; }
.howto li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-family: var(--font-mono);
  font-weight: 800;
  background: var(--teal);
  border: 2px solid var(--ink);
  border-radius: 12px;
}
.facts { position: sticky; top: 96px; display: grid; gap: 16px; }
.facts .leader h3 { font-size: 16px; }
@media (max-width: 960px) {
  .email-layout { grid-template-columns: 1fr; }
  .facts { position: static; }
}

/* ---------- Masterclass detail pages ---------- */

.page-hero .hero__ribbon { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mc-hero h1 { max-width: 20ch; }
.mc-hero .hero__ctas { margin-top: 28px; }
.mc-hero .countdown { margin-top: 22px; }
.crumb { display: inline-block; margin-bottom: 18px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--sand); }

.mc-overview { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.mc-overview p { margin: 0 0 16px; }
.mc-overview .terminal { margin: 0; font-size: 14px; box-shadow: var(--pop-lg); border: var(--border); }
@media (max-width: 960px) { .mc-overview { grid-template-columns: 1fr; } }

/* Session flow timeline */
.flow { position: relative; display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.flow::before {
  content: "";
  position: absolute;
  left: 43px;
  top: 20px;
  bottom: 20px;
  width: 4px;
  background: repeating-linear-gradient(180deg, var(--ink) 0 10px, transparent 10px 18px);
  opacity: 0.35;
}
.flow__item { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 24px; align-items: start; }
.flow__date {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 90px;
  padding: 12px 6px;
  text-align: center;
  color: var(--ink);
  background: var(--sand);
  border: var(--border);
  border-radius: 20px;
  box-shadow: 4px 4px 0 var(--ink);
}
.flow__date small { font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.flow__date b { font-family: var(--font-display); font-size: 34px; line-height: 1; }
.flow__item:nth-child(2) .flow__date { background: var(--teal); }
.flow__card {
  padding: 26px 28px;
  color: var(--ink);
  background: var(--white);
  border: var(--border);
  border-radius: 24px;
  box-shadow: var(--pop);
}
.flow__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 10px; }
.flow__head .track__code { font-size: 13px; }
.flow__time { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--wine); }
.flow__card h3 { margin: 0 0 16px; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.15; }
.flow__card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.flow__card li { position: relative; padding-left: 30px; font-size: 15px; }
.flow__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316122b' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.flow__card li strong { display: block; }
@media (max-width: 640px) {
  .flow::before { display: none; }
  .flow__item { grid-template-columns: 1fr; gap: 12px; }
  .flow__date { width: auto; grid-auto-flow: column; justify-content: start; gap: 10px; padding: 8px 16px; border-radius: 14px; }
  .flow__date b { font-size: 22px; }
  .flow__card { padding: 22px 20px; }
}

/* Attendee journey */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 56px 0 0; padding: 0; list-style: none; counter-reset: step; }
.journey li {
  counter-increment: step;
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--pop);
}
.journey li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--wine);
}
.journey h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.25; }
.journey p { margin: 0; font-size: 14px; color: rgba(22, 18, 43, 0.75); }
@media (max-width: 960px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }

/* Speaker */
.speaker { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.speaker__photo { position: relative; width: 100%; max-width: 300px; margin: 0 auto; }
.speaker__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--teal), var(--glow-teal);
  transform: scale(1);
}
.speaker__photo .beach__stamp { top: 6px; right: -6px; }
.speaker h2 { margin: 12px 0 8px; font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); line-height: 1.05; }
.speaker__role { margin: 0 0 18px; font-weight: 600; color: var(--sand); }
.speaker__creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.speaker__creds li { padding: 6px 12px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.2); border-radius: 999px; }
.speaker p { margin: 0 0 14px; color: var(--muted); }
@media (max-width: 860px) {
  .speaker { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .speaker__photo { max-width: 220px; }
  .speaker__creds { justify-content: center; }
}

/* Who + included */
.mc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.mc-split h3.eyebrow { margin: 0 0 18px; color: var(--wine); }
.mc-split .leader-grid { grid-template-columns: 1fr; }
.checklist { margin: 0; padding: 26px; display: grid; gap: 14px; list-style: none; background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--pop); }
.checklist li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 600; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316122b' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist + .approval { margin-top: 24px; }
@media (max-width: 900px) { .mc-split { grid-template-columns: 1fr; } }

/* Pricing tiers */
.tiers { display: grid; gap: 12px; max-width: 720px; margin: 34px auto 0; padding: 0; list-style: none; text-align: left; }
.tier {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 18px;
  padding: 16px 20px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.9);
  border: var(--border);
  border-radius: 18px;
  box-shadow: 4px 4px 0 var(--ink);
}
.tier__name { font-weight: 800; }
.tier__when { grid-column: 1; font-size: 13px; color: rgba(22, 18, 43, 0.7); }
.tier__price { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-family: var(--font-display); font-size: 26px; line-height: 1.1; }
.tier__price span { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 600; color: rgba(22, 18, 43, 0.6); }
.tier__status { display: none; justify-self: start; margin-top: 4px; padding: 2px 10px; font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; }
.tier.is-current { background: var(--white); box-shadow: 6px 6px 0 var(--ink), 0 0 0 4px var(--sand); transform: scale(1.02); }
.tier.is-current .tier__status { display: inline-block; color: var(--ink); background: var(--teal); }
.tier.is-past { opacity: 0.55; box-shadow: none; }
.tier.is-past .tier__price { text-decoration: line-through; text-decoration-thickness: 3px; }
.tier.is-past .tier__status { display: inline-block; color: var(--white); background: rgba(22, 18, 43, 0.6); }
.tier--member { background: var(--sand); }
.tier--member .tier__status { display: inline-block; color: var(--white); background: var(--wine); }
.cta-band .tiers + .hero__ctas { margin-top: 34px; }
@media (max-width: 480px) {
  .tier { grid-template-columns: 1fr; }
  .tier__price { grid-row: auto; grid-column: 1; text-align: left; }
}

/* Next module card */
.next-module {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px;
  color: var(--white);
  background: linear-gradient(160deg, #2a1747, var(--ink));
  border: var(--border);
  border-radius: 28px;
  box-shadow: var(--pop-lg);
}
.next-module h3 { margin: 10px 0 6px; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; }
.next-module p { margin: 0; color: var(--muted); }
.next-module .eyebrow { color: var(--teal); }
@media (max-width: 760px) { .next-module { grid-template-columns: 1fr; } }

/* Mobile sticky register bar */
.mc-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  color: var(--white);
  background: rgba(22, 18, 43, 0.94);
  border: 2px solid rgba(0, 219, 179, 0.5);
  border-radius: 999px;
  box-shadow: var(--glow-teal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(140%);
  transition: transform 0.25s ease;
}
.mc-sticky.is-visible { transform: none; }
.mc-sticky small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.mc-sticky strong { font-size: 15px; }
@media (max-width: 760px) {
  .mc-sticky { display: flex; }
  .has-sticky .site-footer { padding-bottom: 110px; }
}

/* ---------- Shared chrome additions ---------- */

.nav a[aria-current="page"] { color: var(--sand); background: rgba(255, 255, 255, 0.08); }
.linklike {
  padding: 0;
  font: inherit;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.linklike:hover { color: var(--sand); }
.footer-bottom a { color: inherit; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.footer-social a:hover { color: var(--teal); border-color: var(--teal); }
.footer-social svg { width: 18px; height: 18px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Modal (native <dialog>) */
.modal {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  overflow: visible;
}
.modal::backdrop { background: rgba(22, 18, 43, 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(0.97); } }
.modal__panel {
  position: relative;
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper);
  border: var(--border);
  border-radius: 28px;
  box-shadow: var(--pop-lg), 0 0 60px rgba(0, 219, 179, 0.25);
}
.modal__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 10px;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(90deg, var(--orange), var(--magenta), var(--teal));
}
.modal .chip--live { color: #00866d; background: rgba(0, 219, 179, 0.14); }
.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
}
.modal__close svg { width: 18px; height: 18px; }
.modal__title { margin: 16px 0 8px; font-family: var(--font-display); font-size: clamp(26px, 4vw, 36px); line-height: 1.08; }
.modal__lede { margin: 0 0 20px; color: rgba(22, 18, 43, 0.78); }
.modal__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.modal__perks li { padding: 14px; background: var(--white); border: 2px solid var(--ink); border-radius: 16px; }
.modal__perks b { display: block; margin-bottom: 4px; font-size: 15px; }
.modal__perks span { font-size: 14px; color: rgba(22, 18, 43, 0.75); line-height: 1.45; }
.modal__tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.modal__tracks div { padding: 14px; color: var(--white); background: var(--ink); border-radius: 16px; }
.modal__tracks small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.modal__tracks strong { display: block; margin: 4px 0 2px; font-size: 15px; }
.modal__tracks span { font-size: 13px; color: var(--muted); }
.modal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.modal__actions .btn--ghost { color: var(--ink); }
.modal__fine { margin: 16px 0 0; font-size: 14px; color: rgba(22, 18, 43, 0.7); }
@media (max-width: 560px) { .modal__perks, .modal__tracks { grid-template-columns: 1fr; } }

/* Luma calendar embed */
.luma-frame {
  padding: 10px;
  background: var(--white);
  border: var(--border);
  border-radius: 26px;
  box-shadow: var(--pop-lg);
}
.luma-frame iframe { display: block; width: 100%; height: 560px; border: 0; border-radius: 18px; }
@media (max-width: 640px) { .luma-frame iframe { height: 620px; } }

/* ---------- Blog ---------- */

.page-hero--short { padding: 140px 0 calc(var(--wave-h) + 24px); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.filters a {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}
.filters a:hover { border-color: var(--teal); color: var(--teal); }
.filters a[aria-current="true"] { color: var(--ink); background: var(--teal); border-color: var(--teal); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: var(--border);
  border-radius: 24px;
  box-shadow: var(--pop);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translate(-3px, -3px); box-shadow: var(--pop-lg); }
.post-card__img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--sand) center / cover no-repeat; border-bottom: var(--border); }
.post-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 24px; }
.post-card h3 { margin: 0; font-family: var(--font-display); font-size: 19px; line-height: 1.2; }
.post-card p { margin: 0; font-size: 15px; color: rgba(22, 18, 43, 0.72); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(22, 18, 43, 0.6); }
.post-meta .tag { padding: 3px 10px; color: var(--ink); background: var(--teal); border: 1.5px solid var(--ink); border-radius: 999px; }
.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card--featured .post-card__img { aspect-ratio: auto; min-height: 320px; border-bottom: 0; border-right: var(--border); }
.post-card--featured .post-card__body { justify-content: center; padding: clamp(24px, 4vw, 44px); }
.post-card--featured h3 { font-size: clamp(22px, 2.4vw, 30px); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-card--featured { grid-template-columns: 1fr; }
  .post-card--featured .post-card__img { min-height: 220px; border-right: 0; border-bottom: var(--border); }
}
.empty { padding: 40px; text-align: center; background: var(--white); border: var(--border); border-radius: 24px; }

/* Article */
.article-hero .post-meta { justify-content: center; color: var(--muted); }
.article-hero .post-meta .tag { border-color: transparent; }
.article-hero h1 { font-size: clamp(30px, 4.6vw, 56px); max-width: 22ch; }
.article-cover {
  position: relative;
  z-index: 3;
  max-width: 980px;
  margin: -90px auto 0;
  overflow: hidden;
  border: var(--border);
  border-radius: 28px;
  box-shadow: var(--pop-lg);
  background: var(--sand);
}
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.prose {
  max-width: 720px;
  margin: 56px auto 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2, .prose h3, .prose h4 { margin: 1.8em 0 0.5em; font-family: var(--font-display); line-height: 1.2; }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 24px; }
.prose h4 { font-size: 20px; }
.prose a { color: #0b6fc2; font-weight: 600; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose img { width: 100%; height: auto; border: var(--border); border-radius: 20px; }
.prose blockquote {
  margin: 1.5em 0;
  padding: 18px 22px;
  font-size: 20px;
  font-weight: 600;
  background: var(--white);
  border-left: 6px solid var(--orange);
  border-radius: 0 18px 18px 0;
}
.prose hr { border: 0; border-top: 2px dashed rgba(22, 18, 43, 0.2); margin: 2em 0; }
.prose code { padding: 2px 6px; font-family: var(--font-mono); font-size: 0.88em; background: rgba(22, 18, 43, 0.08); border-radius: 6px; }
.prose pre { padding: 18px; overflow-x: auto; color: #d9fff6; background: var(--ink); border-radius: 16px; }
.prose pre code { padding: 0; background: none; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 720px; margin: 48px auto 0; padding-top: 24px; border-top: 2px dashed rgba(22, 18, 43, 0.2); }
.share span { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.share a, .share button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font: 700 13px var(--font-body);
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
}
.share svg { width: 16px; height: 16px; }

/* ---------- Beach Club & people ---------- */

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person {
  position: relative;
  padding: 16px 16px 20px;
  color: var(--ink);
  background: var(--paper);
  border: var(--border);
  border-radius: 22px;
  box-shadow: var(--pop);
}
.person__photo { aspect-ratio: 1; margin-bottom: 14px; overflow: hidden; background: var(--sand); border: 2px solid var(--ink); border-radius: 16px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.person p { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: rgba(22, 18, 43, 0.72); }
.person .loc { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wine); }
.person__link { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 10px; }
.person__link svg { width: 16px; height: 16px; }
.people--sm { grid-template-columns: repeat(6, 1fr); gap: 14px; }
.people--sm .person { padding: 10px 10px 14px; border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
.people--sm h3 { font-size: 14px; }
.people--sm p { font-size: 12px; }
@media (max-width: 1100px) { .people--sm { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .people, .people--sm { grid-template-columns: 1fr 1fr; } }

.plan {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: var(--border);
  border-radius: 30px;
  box-shadow: var(--pop-lg);
}
.plan__price {
  padding: clamp(26px, 4vw, 44px);
  color: var(--white);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(0, 219, 179, 0.35), transparent 60%),
    linear-gradient(160deg, #2a1747, var(--ink));
}
.plan__price .eyebrow { color: var(--teal); }
.plan__price h3 { margin: 12px 0 4px; font-family: var(--font-display); font-size: 26px; }
.plan__amount { margin: 22px 0 6px; font-family: var(--font-display); font-size: clamp(44px, 6vw, 64px); line-height: 1; color: var(--teal); text-shadow: var(--glow-teal); }
.plan__amount small { font-size: 18px; color: var(--muted); text-shadow: none; }
.plan__price p { color: var(--muted); }
.plan__perks { margin: 0; padding: clamp(26px, 4vw, 44px); list-style: none; display: grid; gap: 12px; align-content: center; }
.plan__perks li { position: relative; padding-left: 30px; }
.plan__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316122b' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 860px) { .plan { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; list-style: none; padding: 24px; background: var(--white); border: var(--border); border-radius: 22px; box-shadow: var(--pop); }
.steps li::before { content: "0" counter(s); display: block; margin-bottom: 10px; font-family: var(--font-display); font-size: 34px; color: var(--orange); }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; font-size: 15px; color: rgba(22, 18, 43, 0.75); }
.steps { padding: 0; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.values { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.values li { padding: 12px 18px; background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.2); border-radius: 16px; }
.values b { color: var(--sand); }

.memorial { margin-top: 28px; padding: 22px 26px; color: var(--white); background: var(--ink); border: var(--border); border-radius: 22px; box-shadow: var(--pop); }
.memorial p { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img.photo { width: 100%; border: var(--border); border-radius: 28px; box-shadow: var(--pop-lg); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Developer Letter Request form ---------- */

.letter-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 26px;
  padding: 22px;
  background: var(--white);
  border: var(--border);
  border-radius: 22px;
  box-shadow: var(--pop);
}
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wine); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font: 500 16px var(--font-body);
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(0, 153, 255, 0.2); }
.letter-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.email-body mark.is-filled { background: rgba(0, 219, 179, 0.35); }
@media (max-width: 640px) { .letter-form { grid-template-columns: 1fr; } }
.track .btn--ghost { --btn-fg: var(--ink); }

/* Footer: past GOAB sites */
.footer-years { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 44px; }
.footer-years span { margin-right: 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.footer-years a { padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; border: 1.5px solid rgba(255, 255, 255, 0.2); border-radius: 999px; transition: color 0.15s ease, border-color 0.15s ease; }
.footer-years a:hover { color: var(--sand); border-color: var(--sand); }
.footer-years + .footer-bottom { margin-top: 28px; }
.footer-years a { min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .footer-years { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .footer-years span { grid-column: 1 / -1; margin: 0 0 4px; }
  .footer-years a { min-width: 0; padding: 7px 0; }
}

/* ---------- Beach Club: members-only hero + pass ---------- */

.club-hero { text-align: left; }
.club-hero__grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.club-hero__copy h1 { margin: 18px 0 0; max-width: 13ch; }
.club-hero__copy .lede { margin: 20px 0 0; }
.club-hero__copy .hero__ctas { justify-content: flex-start; }
.club-hero__art { position: relative; }
.club-hero__art::before {
  content: "";
  position: absolute;
  inset: 8% 6% 4%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 179, 71, 0.55), rgba(255, 61, 154, 0.18) 60%, transparent);
  filter: blur(10px);
}
.club-hero__art img { width: 100%; height: auto; animation: club-float 7s ease-in-out infinite; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35)); }
@keyframes club-float { 50% { transform: translateY(-10px) rotate(-0.6deg); } }
.club-hero__proof { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.club-hero__proof li {
  display: grid;
  padding: 10px 16px;
  background: rgba(22, 18, 43, 0.5);
  border: 1.5px solid rgba(0, 219, 179, 0.45);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.club-hero__proof b { font-family: var(--font-display); font-size: 22px; line-height: 1.1; color: var(--teal); }
.club-hero__proof span { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  .club-hero { text-align: center; }
  .club-hero__grid { grid-template-columns: 1fr; }
  .club-hero__copy h1, .club-hero__copy .lede { margin-left: auto; margin-right: auto; }
  .club-hero__copy .hero__ctas, .club-hero__proof { justify-content: center; }
  .club-hero__art { max-width: 560px; margin: 0 auto; }
}

.club-pass { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 56px; }
.club-pass__art { width: 100%; height: auto; max-width: 460px; margin: 0 auto; animation: club-float 6s ease-in-out infinite; filter: drop-shadow(0 16px 30px rgba(22, 18, 43, 0.25)); }
.club-pass .section-title { margin-top: 10px; }
.club-save {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 26px;
  padding: 18px 22px;
  background: var(--white);
  border: var(--border);
  border-radius: 22px;
  box-shadow: var(--pop);
}
.club-save small { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(22, 18, 43, 0.6); }
.club-save s { font-family: var(--font-display); font-size: 30px; color: rgba(22, 18, 43, 0.45); text-decoration-color: var(--coral); text-decoration-thickness: 3px; }
.club-save strong { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--orange); }
.club-save__arrow { font-size: 26px; color: var(--teal); }
.club-save__badge {
  margin-left: auto;
  padding: 8px 14px;
  font-weight: 800;
  color: var(--ink);
  background: var(--sand);
  border: 2px solid var(--ink);
  border-radius: 12px;
  transform: rotate(-2deg);
}
@media (max-width: 860px) {
  .club-pass { grid-template-columns: 1fr; text-align: center; }
  .club-save { justify-content: center; }
  .club-save__badge { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .club-hero__art img, .club-pass__art { animation: none; } }

/* Gold shimmer sweep on the Beach Club nav link (ported from the 2025 site's text-shimmer). */
.nav a.nav-shimmer {
  color: transparent;
  background-image: linear-gradient(90deg, #fff 0%, #fff 41%, #f9a61e 50%, #fff 59%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: nav-shimmer 6s linear infinite;
}
.nav a.nav-shimmer[aria-current="page"] { background-image: linear-gradient(90deg, var(--sand) 0%, var(--sand) 41%, #fff 50%, var(--sand) 59%, var(--sand) 100%); }
.nav a.nav-shimmer { position: relative; isolation: isolate; }
/* Hover keeps the shimmer text (the generic nav hover would wipe its text-clipped gradient),
   speeds it up, and sprinkles twinkling AI sparkles around the link. */
.nav a.nav-shimmer:hover,
.nav a.nav-shimmer:focus-visible {
  background-color: transparent;
  background-image: linear-gradient(90deg, var(--sand) 0%, var(--sand) 38%, #fff 50%, var(--sand) 62%, var(--sand) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-duration: 1.6s;
}
.nav a.nav-shimmer::before,
.nav a.nav-shimmer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav a.nav-shimmer::before {
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(120% 140% at 50% 50%, rgba(255, 228, 139, 0.16), rgba(249, 166, 30, 0.06) 60%, transparent 80%);
  box-shadow: 0 0 18px rgba(255, 179, 71, 0.25), inset 0 0 0 1px rgba(255, 228, 139, 0.22);
}
.nav a.nav-shimmer::after {
  inset: -12px -10px;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 44'%3E%3Cg fill='%23ffe48b'%3E%3Cg transform='translate(4 4) scale(.5)'%3E%3Cpath d='M12 0c.6 6.2 5.8 11.4 12 12-6.2.6-11.4 5.8-12 12-.6-6.2-5.8-11.4-12-12C6.2 11.4 11.4 6.2 12 0Z'/%3E%3C/g%3E%3Cg transform='translate(118 2) scale(.62)'%3E%3Cpath d='M12 0c.6 6.2 5.8 11.4 12 12-6.2.6-11.4 5.8-12 12-.6-6.2-5.8-11.4-12-12C6.2 11.4 11.4 6.2 12 0Z'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%2300dbb3'%3E%3Cg transform='translate(26 30) scale(.38)'%3E%3Cpath d='M12 0c.6 6.2 5.8 11.4 12 12-6.2.6-11.4 5.8-12 12-.6-6.2-5.8-11.4-12-12C6.2 11.4 11.4 6.2 12 0Z'/%3E%3C/g%3E%3Cg transform='translate(100 30) scale(.42)'%3E%3Cpath d='M12 0c.6 6.2 5.8 11.4 12 12-6.2.6-11.4 5.8-12 12-.6-6.2-5.8-11.4-12-12C6.2 11.4 11.4 6.2 12 0Z'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%23ff3d9a'%3E%3Cg transform='translate(64 0) scale(.3)'%3E%3Cpath d='M12 0c.6 6.2 5.8 11.4 12 12-6.2.6-11.4 5.8-12 12-.6-6.2-5.8-11.4-12-12C6.2 11.4 11.4 6.2 12 0Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 4px rgba(255, 228, 139, 0.9));
}
.nav a.nav-shimmer:hover::before,
.nav a.nav-shimmer:focus-visible::before { opacity: 1; }
.nav a.nav-shimmer:hover::after,
.nav a.nav-shimmer:focus-visible::after { opacity: 1; animation: nav-sparkle 1.4s ease-in-out infinite; }
@keyframes nav-sparkle {
  0% { transform: translateY(3px) scale(0.85); opacity: 0.35; }
  35% { transform: translateY(-2px) scale(1.05); opacity: 1; }
  60% { transform: translateY(-4px) scale(0.95) rotate(2deg); opacity: 0.7; }
  100% { transform: translateY(3px) scale(0.85); opacity: 0.35; }
}
@keyframes nav-shimmer { from { background-position: 200% 50%; } to { background-position: -100% 50%; } }
@media (prefers-reduced-motion: reduce) { .nav a.nav-shimmer, .nav a.nav-shimmer::after { animation: none !important; background-position: 0 50%; } }

/* "The beach is forever in our DNA" heading accent. */
.beach-word {
  /* Beach-sand gradient; the ink outline + offset shadow keep it readable on teal. */
  display: inline-block;
  background: linear-gradient(100deg, #fff4d1 0%, var(--sand) 35%, var(--sun) 75%, #ff9a3c 100%);
  filter:
    drop-shadow(1.5px 0 0 var(--ink)) drop-shadow(-1.5px 0 0 var(--ink))
    drop-shadow(0 1.5px 0 var(--ink)) drop-shadow(0 -1.5px 0 var(--ink))
    drop-shadow(4px 4px 0 var(--ink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Mobile: floating liquid-glass tab bar ---------- */

.tabbar { display: none; }

@media (max-width: 920px) {
  /* Header keeps only the logo and Register; the links move to the tab bar. */
  .nav-toggle { display: none; }
  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav a:not(.btn) { display: none; }
  .nav .btn { margin: 0; }

  .tabbar {
    position: fixed;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 60;
    display: flex;
    gap: 2px;
    width: min(calc(100% - 24px), 460px);
    padding: 6px;
    transform: translateX(-50%);
    border-radius: 999px;
    /* Liquid glass: frosted blur, a soft top sheen, a hairline rim and a lifted shadow. */
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.1) 100%),
      rgba(30, 22, 58, 0.42);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      inset 0 -1px 0 rgba(255, 255, 255, 0.08),
      0 12px 32px rgba(8, 5, 20, 0.45),
      0 0 0 0.5px rgba(0, 0, 0, 0.25);
  }
  .tabbar a {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 52px;
    padding: 6px 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar a:active { transform: scale(0.94); }
  .tabbar a[aria-current="page"] {
    color: var(--sand);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  .tab-shimmer {
    color: transparent;
    background-image: linear-gradient(90deg, #fff 0%, #fff 41%, #f9a61e 50%, #fff 59%, #fff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: nav-shimmer 6s linear infinite;
  }
  [aria-current="page"] > .tab-shimmer { background-image: linear-gradient(90deg, var(--sand) 0%, var(--sand) 41%, #fff 50%, var(--sand) 59%, var(--sand) 100%); }

  /* Keep page content, the footer and the masterclass register bar clear of it. */
  .site-footer { padding-bottom: calc(128px + env(safe-area-inset-bottom)); }
  .mc-sticky { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .has-sticky .site-footer { padding-bottom: calc(196px + env(safe-area-inset-bottom)); }
}
@media (max-width: 920px) and (prefers-reduced-motion: reduce) { .tab-shimmer { animation: none; background-position: 0 50%; } }
/* Browsers without backdrop blur get a solid glass tint instead. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tabbar { background: rgba(30, 22, 58, 0.94); }
}

/* ---------- Page transitions + top loading bar ---------- */

/* Same-site navigations cross-fade; the header and glass tab bar stay put,
   and the active tab pill glides to its new spot (Chrome/Edge 126+, Safari 18.2+). */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.tabbar { view-transition-name: tabbar; }
.tabbar a[aria-current="page"] { view-transition-name: tab-pill; }
.loadbar { view-transition-name: loadbar; }
::view-transition-old(root) { animation: vt-out 0.22s ease both; }
::view-transition-new(root) { animation: vt-in 0.38s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
::view-transition-group(tab-pill) { animation-duration: 0.45s; animation-timing-function: cubic-bezier(0.3, 1.3, 0.4, 1); }
::view-transition-group(site-header),
::view-transition-group(tabbar) { animation-duration: 0.3s; }
@keyframes vt-out { to { opacity: 0; transform: scale(0.985); filter: blur(2px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

.loadbar {
  --p: 0;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.loadbar.is-on { opacity: 1; }
.loadbar__fill {
  height: 100%;
  width: calc(var(--p) * 1%);
  background: linear-gradient(90deg, var(--teal), var(--sky) 30%, var(--magenta) 65%, var(--sun));
  box-shadow: 0 0 12px rgba(255, 61, 154, 0.7), 0 0 4px rgba(0, 219, 179, 0.8);
  border-radius: 0 3px 3px 0;
  transition: width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.loadbar__rider {
  position: absolute;
  top: 2px;
  left: calc(var(--p) * 1%);
  width: 34px;
  height: 34px;
  margin-left: -20px;
  transition: left 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.loadbar__rider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 219, 179, 0.8));
  animation: rider-bob 0.9s ease-in-out infinite;
}
.loadbar__rider::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -6px;
  width: 9px;
  height: 9px;
  background: var(--sand);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: rider-spark 0.9s ease-in-out infinite;
}
@keyframes rider-bob { 50% { transform: translateY(-4px) rotate(-6deg); } }
@keyframes rider-spark { 0%, 100% { opacity: 0.2; transform: scale(0.6) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(45deg); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .loadbar__rider img, .loadbar__rider::after { animation: none; }
}

.person .in-memoriam { font-weight: 600; font-style: italic; color: rgba(22, 18, 43, 0.6); }

/* Hero "Module" buttons jump to their track card; give it room under the fixed header and a brief glow. */
.track[id] { scroll-margin-top: 112px; }
.track:target { animation: track-arrive 1.6s ease-out 0.3s 1; }
@keyframes track-arrive {
  0%, 100% { box-shadow: var(--pop-lg); }
  35% { box-shadow: var(--pop-lg), 0 0 0 6px var(--teal), 0 0 40px rgba(0, 219, 179, 0.6); }
}
@media (prefers-reduced-motion: reduce) { .track:target { animation: none; } }

/* ---------- Newsletter (footer, every page) ---------- */
.newsletter {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  margin-bottom: 56px;
  padding: clamp(22px, 3.5vw, 36px);
  scroll-margin-top: 96px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(0, 219, 179, 0.18), transparent 60%),
    linear-gradient(160deg, #2a1747, #1d1638);
  border: 1.5px solid rgba(0, 219, 179, 0.45);
  border-radius: 28px;
  box-shadow: var(--glow-teal);
}
.newsletter .eyebrow { color: var(--teal); }
.newsletter h2 { margin: 10px 0 8px; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; }
.newsletter__copy p { margin: 0; color: var(--muted); }
.newsletter__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nl-field { display: grid; gap: 6px; }
.nl-field--wide { grid-column: 1 / -1; }
.nl-field label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sand); }
.nl-field label small { font-family: var(--font-body); letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; }
.nl-field input {
  min-height: 48px;
  padding: 10px 14px;
  font: 500 16px var(--font-body);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
}
.nl-field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 219, 179, 0.2); }
.nl-honeypot { position: absolute; left: -5000px; }
.nl-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.nl-status { margin: 0; font-size: 14px; font-weight: 600; color: var(--teal); }
.nl-status[data-kind="error"] { color: #ffb4a8; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .newsletter__form { grid-template-columns: 1fr; } }
.note a { color: inherit; font-weight: 800; text-underline-offset: 3px; }
