/* Shelly Swimming School — home page */
@font-face {
  font-family: "Instrument Sans";
  src: url("../assets/fonts/InstrumentSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/Fraunces-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #086cc1;
  --blue-dark: #065a9f;
  --blue-deep: #05528f;
  --navy: #0b2545;
  --orange: #ff8a2b;
  --orange-light: #ffa04d;
  --sky: #eaf3fb;
  --sky-2: #f3f8ff;
  --muted: #4a5f7d;
  --line: #e3ebf6;
  --font: "Instrument Sans", Poppins, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --nav-h: 72px;
  /* responsive tokens (guide: mobile <600, tablet 600-991, desktop 992-1439, ultra-wide 1440+) */
  --pad-x: 2rem;
  --sec-y: 6rem;
  --h1: clamp(1.75rem, 1.25rem + 2.2vw, 3.25rem);
  --h2: clamp(1.375rem, 1rem + 1.4vw, 2.5rem);
  --h3: clamp(1.125rem, 1rem + 0.6vw, 1.625rem);
}

@media (min-width: 600px) and (max-width: 991px) { :root { --pad-x: 1.5rem; --sec-y: 3.5rem; } }
@media (max-width: 599px) { :root { --pad-x: 1rem; --sec-y: 2rem; } }
@media (max-width: 599px) { html { font-size: 93.75%; } }
@media (min-width: 1440px) { :root { --pad-x: 3rem; --sec-y: 7rem; } }


* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--navy);
  overflow-x: clip;
}
img, video { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button { font-family: inherit; }
h1, h2, h3, p { margin: 0; }
strong, b { font-weight: 600; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #fff;
}

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 16px; }

.wrap { max-width: 1280px; margin: 0 auto; }
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 3px; color: var(--blue); text-transform: uppercase; }
.h2 { margin-top: 12px; font-size: var(--h2); line-height: 1.1; font-weight: 500; letter-spacing: -1px; }
.h2-lg { letter-spacing: -1.5px; }
.u-link { text-decoration: underline; text-underline-offset: 3px; }
.u-link:hover { opacity: 0.7; }

/* buttons */
.btn {
  display: inline-block; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 0.9375rem var(--font); padding: 15px 26px; transition: background 0.2s, color 0.2s;
}
.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: var(--orange-light); color: var(--navy); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.8); color: #fff; padding: 14px 26px; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn-outline { border: 1.5px solid var(--blue); color: var(--blue); padding: 14px 24px; }
.btn-outline:hover { background: var(--sky); color: var(--blue-dark); }

/* ===== loader ===== */
#loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  animation: ldOut 0.6s ease 2s forwards;
}
.ld-logo { position: relative; width: 132px; height: 132px; }
.ld-logo img {
  position: relative; z-index: 2; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25); animation: ldBob 1.6s ease-in-out infinite;
}
.ld-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.7); animation: ldRipple 2s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
.ld-ring:nth-child(2) { animation-delay: 0.65s; }
.ld-ring:nth-child(3) { animation-delay: 1.3s; }
.ld-bar { width: 160px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 100%; background: var(--orange); border-radius: 4px; transform: translateX(-100%); animation: ldBar 2s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.ld-name { font: 500 0.9375rem/1 var(--font); letter-spacing: 3px; color: #eaf3ff; text-transform: uppercase; }
@keyframes ldRipple { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.3); opacity: 0; } }
@keyframes ldBob { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.04); } }
@keyframes ldBar { to { transform: translateX(0); } }
@keyframes ldOut { to { opacity: 0; visibility: hidden; } }

/* ===== instagram tab ===== */
.ig-tab {
  position: fixed; right: 0; bottom: 96px; z-index: 80; display: flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff; padding: 12px 18px 12px 16px; border-radius: 12px 0 0 12px;
  box-shadow: 0 8px 24px rgba(8, 108, 193, 0.35); font-weight: 600; font-size: 0.875rem;
}
.ig-tab:hover { color: inherit; }

/* ===== announcement bar ===== */
.ab {
  position: relative; overflow: hidden; background: var(--blue); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14); padding: 10px 16px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  animation: abIn 0.6s var(--ease) both;
}
.ab[hidden] { display: none; }
.ab::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg); animation: abShine 5s ease-in-out 1.2s infinite; pointer-events: none;
}
.ab-in { display: flex; align-items: center; justify-content: center; gap: 10px 14px; flex-wrap: wrap; padding-right: 28px; min-width: 0; }
.ab-pill {
  background: var(--orange); color: var(--navy); border-radius: 999px; padding: 3px 10px;
  font: 600 0.6875rem var(--font); letter-spacing: 1.5px; animation: abPulse 2.4s ease-in-out infinite;
}
.ab-mq { display: contents; }
.ab-run { display: contents; }
.ab-text { font: 500 0.875rem/1.25rem var(--font); }
.ab-link { display: inline-block; color: #fff; font: 600 0.875rem var(--font); text-decoration: underline; text-underline-offset: 3px; animation: abNudge 2s ease-in-out infinite; }
.ab-link:hover { color: #fff; }
.ab-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0;
  color: #eaf3ff; font-size: 1.375rem; line-height: 1; width: 32px; height: 32px; cursor: pointer;
}
.ab-close:hover { color: #fff; }
@keyframes abIn { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes abShine { 0% { left: -40%; } 45%, 100% { left: 140%; } }
@keyframes abPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 43, 0.6); } 50% { box-shadow: 0 0 0 7px rgba(255, 138, 43, 0); } }
@keyframes abNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes abrun { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ===== nav ===== */
.nav {
  position: sticky; top: 0; z-index: 20; min-height: var(--nav-h);
  background: transparent; border-bottom: 1px solid transparent;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--pad-x); flex-wrap: nowrap;
  transition: background 0.25s, backdrop-filter 0.25s, border-color 0.25s;
}
.nav.scrolled { background: rgba(6, 50, 88, 0.95); backdrop-filter: blur(10px); border-bottom-color: rgba(255, 255, 255, 0.18); }
.nav.menu-open { background: rgba(6, 50, 88, 0.95); }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 50px; height: 50px; object-fit: cover; border-radius: 50%; background: #fff; flex: none; }
.nav-brand span { font-weight: 600; font-size: 1rem; color: #fff; letter-spacing: 0.3px; }
.nv-burger {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto;
  background: none; border: 1.5px solid rgba(255, 255, 255, 0.65); border-radius: 50%; color: #fff; cursor: pointer; padding: 0;
}
.nv-links { display: flex; gap: clamp(1rem, 2vw, 1.75rem); font-size: 0.8125rem; font-weight: 500; flex-wrap: nowrap; }
.nv-links > div { display: block; }
.nv-links a, .nv-links button {
  display: inline-block; background: none; border: 0; border-bottom: 3px solid transparent; padding: 2px 0; margin: 0;
  font: 500 0.8125rem var(--font); color: #fff; cursor: pointer; text-transform: uppercase; letter-spacing: 1.2px;
}
.nv-links a:hover, .nv-links button:hover { color: #ffb27a; }
.nv-links button[aria-expanded="true"] { color: #ffb27a; border-bottom-color: var(--orange); }
.nv-links .caret { font-size: 0.6875rem; }
.nv-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.refresh {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.65); border-radius: 50%; color: #fff;
  transition: transform 0.5s ease, background 0.2s ease;
}
.refresh:hover { background: rgba(255, 255, 255, 0.16); transform: rotate(180deg); color: #fff; }
.lang { display: flex; border: 1.5px solid rgba(255, 255, 255, 0.65); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button { background: transparent; color: #fff; border: 0; border-radius: 999px; padding: 7px 14px; font: 600 0.8125rem var(--font); cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.portal { display: inline-block; background: var(--orange); color: var(--navy); border-radius: 999px; padding: 12px 22px; font: 600 0.875rem var(--font); }
.portal:hover { background: var(--orange-light); color: var(--navy); }

/* mega menu */
.nm-scrim { position: fixed; inset: 0; z-index: 15; width: 100%; border: 0; padding: 0; background: rgba(8, 108, 193, 0.45); cursor: default; }
.nm-panel {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(8, 108, 193, 0.18); max-height: calc(100vh - 90px); overflow-y: auto;
}
.nm-panel[hidden], .nm-scrim[hidden] { display: none; }
.nm-in { max-width: 1280px; margin: 0 auto; padding: 36px var(--pad-x) 40px; position: relative; }
.nm-x { position: absolute; top: 12px; right: 28px; background: none; border: 0; font-size: 1.75rem; line-height: 1; width: 36px; height: 36px; color: var(--muted); cursor: pointer; }
.nm-x:hover { color: var(--blue); }
.nm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px 40px; align-items: start; }
.nm-title { font-weight: 600; font-size: 0.8125rem; letter-spacing: 2px; color: var(--blue); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.nm-list { margin-top: 8px; display: flex; flex-direction: column; }
.nm-list a { display: block; padding: 9px 0; font-size: 1rem; line-height: 1.375rem; color: var(--navy); transition: padding 0.15s, color 0.15s; }
.nm-list a:hover { color: var(--blue); padding-left: 6px; }
.nm-promo {
  background: var(--blue); color: #fff; border-radius: 20px; padding: 28px;
  background-image: repeating-linear-gradient(115deg, #0a63b0 0 22px, #0b70c8 22px 44px);
}
.nm-promo h3 { font-size: 1.375rem; line-height: 1.2; font-weight: 500; }
.nm-promo p { margin-top: 12px; font-size: 0.9375rem; line-height: 1.5rem; color: #eaf3ff; }
.nm-promo a { display: inline-block; margin-top: 20px; background: var(--orange); color: var(--navy); border-radius: 999px; padding: 13px 20px; white-space: nowrap; font: 600 0.875rem var(--font); }
.nm-promo a:hover { background: var(--orange-light); color: var(--navy); }

/* ===== stacked slides ===== */
.slide {
  position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 -24px 48px rgba(11, 37, 69, 0.16); will-change: transform, filter;
}
.slide + .slide { border-radius: 36px 36px 0 0; overflow: clip; }
.slide > section { width: 100%; }

/* ===== hero ===== */
.hero-slide { margin-top: calc(var(--nav-h) * -1); background: linear-gradient(120deg, #065a9f 0%, #086cc1 55%, #2b8fd9 100%); }
.hero {
  position: relative; flex: 1 1 auto; min-height: 680px; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, #065a9f 0%, #086cc1 55%, #2b8fd9 100%);
}
.hero-media { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 18px, rgba(255, 255, 255, 0.11) 18px 36px); }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-tint { position: absolute; inset: 0; background: rgba(5, 40, 68, 0.5); }
.hero-top { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 38, 66, 0.7) 0, rgba(4, 38, 66, 0) 180px); }
.hero-in {
  position: relative; max-width: 1280px; margin: 0 auto; min-height: 680px; padding: 170px var(--pad-x) 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 56px;
}
.hero-txt { align-self: flex-end; text-align: right; max-width: 620px; min-width: 0; }
.hero-eyebrow { font-weight: 600; font-size: 0.75rem; letter-spacing: 4px; }
.hero h1 {
  margin-top: 22px; font-size: var(--h1); line-height: 1.18; letter-spacing: -1px; font-weight: 500;
  text-shadow: 0 2px 20px rgba(0, 30, 55, 0.35);
}
.hero h1 b { font-weight: inherit; }
.hero-p { margin: 24px 0 0 auto; font-size: 1rem; line-height: 1.625rem; max-width: 420px; }
.hero-btns { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.hero-btns .btn-orange { padding: 16px 28px; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }
.hero-contact { font-size: 1.0625rem; line-height: 1.875rem; text-shadow: 0 1px 12px rgba(0, 30, 55, 0.55); }
.hero-contact a { color: inherit; }

/* ===== programs ===== */
.slide-white { background: #fff; }
.programs { max-width: 1280px; margin: 0 auto; padding: var(--sec-y) var(--pad-x); }
.chips { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.chip { border-radius: 999px; padding: 9px 16px; font-size: 0.875rem; line-height: 1.25rem; }
.chip-orange { background: #fff3e6; border: 1.5px solid #ffd5a8; color: #7a3a00; }
.chip-blue { background: var(--sky); border: 1.5px solid #cfe3f6; color: var(--navy); }
.chips .more { font-weight: 600; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 3px; }
.prog-stage { position: relative; margin-top: 36px; height: 560px; }
.prog-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.prog-card {
  position: absolute; left: 50%; top: 50%; width: min(100%, 900px); height: 320px; display: flex;
  border-radius: 32px; overflow: hidden; box-shadow: 0 24px 60px rgba(11, 37, 69, 0.22);
  transition: transform 0.35s var(--ease), opacity 0.3s ease;
}
.prog-body { flex: 1 1 60%; min-width: 0; padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.prog-title { font-size: var(--h3); line-height: 1.15; font-weight: 500; letter-spacing: -0.5px; }
.prog-body p { margin-top: 12px; font-size: 1rem; line-height: 1.625rem; }
.prog-points { margin-top: 16px; display: flex; gap: 8px 22px; flex-wrap: wrap; }
.prog-points div { display: flex; gap: 8px; font-weight: 600; font-size: 0.9375rem; }
.prog-btn { margin-top: 22px; border: 0; border-radius: 999px; padding: 13px 24px; font: 600 0.9375rem var(--font); cursor: pointer; align-self: flex-start; }
.prog-btn-m { display: none; }
.prog-card:not(.is-active) .prog-btn-d { display: none; }
.prog-media {
  flex: 0 0 36%; margin: 18px 18px 18px 0; border-radius: 24px; background-color: rgba(255, 255, 255, 0.16);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 16px, rgba(255, 255, 255, 0.05) 16px 32px);
  display: flex; align-items: flex-end; padding: 14px;
}
.prog-card.t0 { --bg:#086cc1; --fg:#fff; --sub:#eaf3ff; --btn:#ff8a2b; --btnfg:#0b2545; }
.prog-card.t1 { --bg:#ff8a2b; --fg:#0b2545; --sub:#1f2f4d; --btn:#0b2545; --btnfg:#fff; }
.prog-card.t2 { --bg:#cfe6fb; --fg:#0b2545; --sub:#2c4468; --btn:#086cc1; --btnfg:#fff; }
.prog-card.t3 { --bg:#0b2545; --fg:#fff; --sub:#dbe7f7; --btn:#ff8a2b; --btnfg:#0b2545; }
.prog-card { background: var(--bg); color: var(--fg); }
.prog-card p { color: var(--sub); }
.prog-btn { background: var(--btn); color: var(--btnfg); }

/* ===== venues ===== */
.slide-sky { background: var(--sky); }
.venues { background: var(--sky); padding: var(--sec-y) var(--pad-x); }
.ven-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.ven-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 2.5px; color: var(--blue); text-transform: uppercase; }
.ven-head h2 { margin-top: 28px; }
.ven-intro { max-width: 480px; font-size: 1.125rem; line-height: 1.875rem; color: var(--muted); }
.ven-wrap { margin-top: 48px; display: flex; gap: 24px; flex-wrap: wrap; align-items: stretch; }
.ven-media {
  flex: 1 1 280px; min-width: 0; min-height: 360px; border-radius: 40px; background: var(--blue); padding: 32px;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 16px, rgba(255, 255, 255, 0.11) 16px 32px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.ven-cap { margin-top: auto; align-self: flex-start; background: #fbf9f4; color: var(--navy); border-radius: 28px; padding: 26px 30px; font-weight: 500; font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.3; max-width: 300px; }
.ven-main { flex: 2.3 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ven-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.ven-btn {
  text-align: left; background: #fff; color: var(--navy); border: 1.5px solid #d9e6f3; border-radius: 20px;
  padding: 0 24px; min-height: 84px; font: 500 1rem var(--font); cursor: pointer; display: flex; align-items: center; gap: 14px;
}
.ven-btn:hover { border-color: var(--blue); }
.ven-btn[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.ven-btn svg { flex: none; }
.ven-btn .ic-on { display: none; }
.ven-btn[aria-pressed="true"] .ic-on { display: block; }
.ven-btn[aria-pressed="true"] .ic-off { display: none; }
.ven-card { background: #fff; border-radius: 32px; padding: 32px 36px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.ven-info { min-width: 0; flex: 1 1 280px; }
.ven-name { font-size: var(--h3); line-height: 1.2; font-weight: 500; letter-spacing: -0.5px; }
.ven-addr { margin-top: 12px; font-size: 1rem; line-height: 1.625rem; color: var(--muted); }
.ven-addr a, .ven-phone a { color: inherit; }
.ven-phone { margin-top: 12px; font-size: 0.9375rem; line-height: 1.5rem; color: var(--muted); }
.ven-help { margin-top: 16px; font-size: 0.875rem; line-height: 1.375rem; color: var(--muted); max-width: 380px; }
.ven-acts { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ven-acts .btn-blue { padding: 16px 28px; font-size: 1rem; }

/* ===== results ===== */
.slide-blue { background: var(--blue); }
.results { background: var(--blue); color: #fff; padding: var(--sec-y) var(--pad-x); overflow: hidden; }
.res-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; align-items: start; }
.results .eyebrow { color: #fff; }
.res-mark {
  margin-top: 24px; font-weight: 600; font-size: 13.75rem; line-height: 0.8; height: 150px;
  background: radial-gradient(circle, var(--orange) 1.8px, transparent 2.4px) 0 0 / 7px 7px;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.res-nav { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.res-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.7); background: transparent; color: #fff; font-size: 1.25rem; cursor: pointer; }
.res-nav button:hover { background: #fff; color: var(--blue); }
.res-quotes { grid-column: span 2; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; align-items: start; padding-bottom: 70px; }
.res-q {
  background: var(--navy); color: #fff; border-radius: 24px; padding: 26px 28px; cursor: pointer;
  box-shadow: 0 24px 50px rgba(4, 30, 60, 0.35); transition: transform 0.7s var(--ease), opacity 0.7s ease;
  opacity: 0.62; transform: translateY(36px) rotate(2.5deg) scale(0.97);
}
.res-q.before { transform: translateY(36px) rotate(-2.5deg) scale(0.97); }
.res-q.active { opacity: 1; transform: none; }
.res-q-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.res-q-n { background: rgba(255, 255, 255, 0.12); border-radius: 8px; padding: 5px 9px; font: 500 0.8125rem var(--font); color: #dbe7f7; }
.res-q-v { font-weight: 600; font-size: 0.8125rem; color: #9cc7ee; }
.res-q h3 { margin-top: 22px; font-size: 1.5rem; line-height: 1.25; font-weight: 500; letter-spacing: -0.3px; color: var(--orange); }
.res-q p { margin-top: 18px; font-size: 1rem; line-height: 1.6875rem; color: #dbe7f7; }
.res-q-who { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: #cfe6fb; color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 1.125rem; flex: none; }
.res-q-who b { display: block; font-size: 0.9375rem; }
.res-q-who span { font-size: 0.875rem; color: #9cc7ee; }

/* ===== shop ===== */
.slide-ice { background: var(--sky-2); }
.shop { background: var(--sky-2); padding: var(--sec-y) var(--pad-x); }
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.shop-head > div:first-child { min-width: 0; max-width: 700px; }
.shop-blurb { margin-top: 16px; font-size: 1.0625rem; line-height: 1.75rem; color: var(--muted); max-width: 560px; }
.shop-side { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; }
.soon { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid #cfe3f6; color: var(--blue); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 0.875rem; }
.shdot { width: 9px; height: 9px; border-radius: 50%; background: #65bc46; animation: shPulse 2s ease-out infinite; }
@keyframes shPulse { 0% { box-shadow: 0 0 0 0 rgba(101, 188, 70, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(101, 188, 70, 0); } }
.shop-side a.more { font-weight: 600; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 3px; }
.shopgrid {
  margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(190px, auto));
  grid-template-areas: "a a b c" "d e f c" "g h h h"; gap: 16px;
}
.shtile {
  position: relative; overflow: hidden; border-radius: 28px; padding: 22px 24px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.shtile:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(8, 108, 193, 0.2); }
.shhatch { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 16px, color-mix(in srgb, currentColor 7%, transparent) 16px 32px); transition: transform 0.6s ease; }
.shtile:hover .shhatch { transform: translateX(22px); }
.shtop { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.shnum { font-weight: 600; font-size: 0.875rem; letter-spacing: 1.5px; opacity: 0.75; }
.sharrow { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid currentColor; display: flex; align-items: center; justify-content: center; transition: transform 0.35s ease, background 0.25s ease; }
.shtile:hover .sharrow { transform: rotate(-45deg); background: color-mix(in srgb, currentColor 14%, transparent); }
.shname { position: relative; font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.15; font-weight: 500; letter-spacing: -0.5px; }

/* ===== CTA ===== */
.slide-cta { background: linear-gradient(135deg, #086cc1, #05528f); }
.cta { position: relative; background: linear-gradient(135deg, #086cc1, #05528f); color: #fff; padding: var(--sec-y) var(--pad-x); overflow: hidden; }
.cta > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-in { position: relative; max-width: 1280px; margin: 0 auto; }
.cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px 64px; align-items: center; }
.cta .eyebrow { color: #fff; }
.cta h2 { margin-top: 16px; }
.cta-body { margin-top: 20px; font-size: 1.125rem; line-height: 1.875rem; color: #eaf3ff; max-width: 520px; }
.cta-row { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row .btn-orange { padding: 16px 30px; font-size: 1rem; }
.cta-row .btn-ghost { font-size: 1rem; padding: 14px 28px; border-color: rgba(255, 255, 255, 0.75); }
.cta-row .btn-ghost:hover { background: #fff; color: var(--blue); }
.cta-card { background: #fff; color: var(--navy); border-radius: 32px; padding: 32px 34px; box-shadow: 0 30px 70px rgba(4, 30, 60, 0.3); }
.cta-card-title { font-weight: 600; font-size: 0.8125rem; letter-spacing: 2px; color: var(--blue); }
.cta-steps { margin-top: 12px; display: flex; flex-direction: column; }
.cta-step { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cta-step i { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--navy); display: flex; align-items: center; justify-content: center; font: normal 600 1rem var(--font); flex: none; }
.cta-step div { font-size: 1rem; line-height: 1.625rem; padding-top: 3px; }
.cta-card .btn-blue { margin-top: 22px; padding: 14px 24px; }
.stats { margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.25); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; }
.stats b { display: block; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; font-weight: 500; letter-spacing: -1px; }
.stats span { display: block; margin-top: 8px; font-size: 0.9375rem; color: #eaf3ff; }

/* ===== footer ===== */
.footer { position: relative; z-index: 2; background: var(--blue); color: #f2f8ff; padding: calc(var(--sec-y) * 0.7) var(--pad-x) 28px; font-size: 0.875rem; }
.footer a { color: #f2f8ff; }
.f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; align-items: start; }
.f-grid > div, .f-lists > div { min-width: 0; }
.f-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.2; }
.f-brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.f-tag { margin-top: 24px; font-weight: 500; font-size: 1.25rem; line-height: 1.3; color: #fff; max-width: 300px; }
.f-desc { margin-top: 14px; line-height: 1.375rem; max-width: 320px; }
.f-h { font-weight: 600; font-size: 0.75rem; letter-spacing: 2px; color: #fff; text-transform: uppercase; }
.f-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 0.9375rem; line-height: 1.375rem; color: #fff; }
.f-contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.f-addr { margin-top: 14px; line-height: 1.375rem; max-width: 260px; }
.f-addr a { text-decoration: underline; text-underline-offset: 3px; }
.f-links { margin-top: 20px; display: flex; flex-direction: column; }
.f-links a, .fd-b a { padding: 6px 0; font-size: 0.875rem; transition: padding 0.15s, color 0.15s; }
.f-links a:hover, .fd-b a:hover { color: #fff; padding-left: 6px; }
.f-note { margin-top: 18px; line-height: 1.375rem; }
.f-app { margin-top: 16px; font-size: 0.8125rem; line-height: 1.3125rem; max-width: 280px; }
.f-portal { display: inline-block; margin-top: 16px; background: var(--orange); color: var(--navy) !important; border-radius: 999px; padding: 11px 22px; font: 600 0.875rem var(--font); }
.f-portal:hover { background: var(--orange-light); }
.f-qr { display: flex; gap: 16px; margin-top: 18px; }
.f-qr a { display: block; text-align: center; color: #fff; }
.f-qr .qr { display: block; background: #fff; border-radius: 12px; padding: 6px; line-height: 0; }
.f-qr .qr-svg { display: block; width: 76px; height: 76px; }
.f-qr small { display: block; margin-top: 8px; font: 600 0.75rem var(--font); letter-spacing: 0.3px; }
.f-lists { margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.35); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 36px 40px; align-items: start; }
.fd-h { font: 600 0.75rem var(--font); letter-spacing: 2px; color: #fff; background: none; border: 0; padding: 0; width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: default; text-transform: uppercase; }
.fd-ch { display: none; }
.fd-b { margin-top: 18px; }
.fd-progs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 0 24px; }
.fd-vens { display: flex; flex-direction: column; }
.f-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.35); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 0.8125rem; }
.f-bottom > div { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.socials { display: flex; gap: 8px; }
.socials a { display: flex; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; align-items: center; justify-content: center; }
.socials a:hover { background: #fff; color: var(--blue); }

/* ===== quiz modal ===== */
.quiz { position: fixed; inset: 0; z-index: 50; background: rgba(8, 108, 193, 0.7); display: flex; align-items: center; justify-content: center; padding: 20px; }
.quiz[hidden] { display: none; }
.quiz-box { background: #fff; border-radius: 24px; width: min(100%, 560px); padding: 40px; position: relative; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
.quiz-x { position: absolute; top: 16px; right: 20px; background: none; border: 0; font-size: 1.625rem; color: var(--muted); cursor: pointer; }
.quiz-dots { display: flex; gap: 6px; margin-bottom: 28px; }
.quiz-dots i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.quiz-dots i.on { background: var(--blue); }
.quiz-step { font-size: 0.8125rem; font-weight: 600; letter-spacing: 2px; color: var(--blue); }
.quiz-q { margin-top: 10px; font-size: 1.625rem; line-height: 1.2; font-weight: 500; }
.quiz-opts { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.quiz-opts button { text-align: left; background: #fff; border: 1.5px solid #cfdcf0; border-radius: 12px; padding: 14px 18px; font: 500 1rem var(--font); color: var(--navy); cursor: pointer; }
.quiz-opts button:hover { border-color: var(--blue); background: #fff6ef; }
.quiz-back { margin-top: 20px; background: none; border: 0; color: var(--muted); font: 500 0.875rem var(--font); cursor: pointer; }
.quiz-form { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.quiz-form input { border: 1.5px solid #cfdcf0; border-radius: 10px; padding: 14px 16px; font: 400 0.9375rem var(--font); outline: none; }
.quiz-form input:focus { border-color: var(--blue); }
.quiz-send { margin-top: 20px; width: 100%; padding: 15px; font-size: 1rem; }
.quiz-done { text-align: center; padding: 20px 0; }
.quiz-done p { margin-top: 12px; font-size: 1rem; line-height: 1.625rem; color: var(--muted); }
.quiz-done .btn { margin-top: 20px; padding: 13px 26px; }
.quiz [hidden] { display: none !important; }

/* ===== responsive ===== */
@media (max-width: 1100px) {
  .shopgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: none; grid-template-rows: none; grid-auto-rows: minmax(170px, auto); }
  .shtile { grid-area: auto !important; }
}


@media (max-width: 1260px) {
  .nav { padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
  .nv-burger { display: inline-flex; }
  .nv-links, .nv-right { display: none; }
  .nav.mopen { background: var(--blue); backdrop-filter: none; }
  .nav.mopen .nv-links { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; width: 100%; order: 3; padding: 8px 0 4px; }
  .nav.mopen .nv-links > div { width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .nav.mopen .nv-links a, .nav.mopen .nv-links button { display: block; width: 100%; text-align: left; padding: 12px 2px; font-size: 0.8125rem; letter-spacing: 1px; border-bottom: 0; }
  .nav.mopen .nv-right { display: flex; width: 100%; order: 4; justify-content: space-between; gap: 12px; padding: 12px 0 8px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
  body.sub .nav.mopen { background: var(--blue); }
}
@media (max-width: 900px) {
  .slide { min-height: 0; }
  .hero { min-height: 0; }
  .hero-in { padding: 104px var(--pad-x) 32px; min-height: 0; gap: 28px; }
}

@media (max-width: 700px) {
  .slide { position: static; box-shadow: none; }
  .ab-in { flex-wrap: nowrap; overflow: hidden; gap: 10px; width: 100%; justify-content: flex-start; padding-right: 44px; }
  .ab-pill { flex: none; }
  .ab-mq { display: block; flex: 1; min-width: 0; overflow: hidden; }
  .ab-run { display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; padding-left: 100%; animation: abrun 14s linear -3.6s infinite; }
  .ab:hover .ab-run { animation-play-state: paused; }
  .hero-in { padding: 96px var(--pad-x) 24px; gap: 14px; }
  .hero-txt { align-self: flex-start; text-align: left; }
  .hero-p { margin-left: 0; margin-top: 14px; }
  .hero-btns { justify-content: flex-start; margin-top: 20px; gap: 10px; }
  .ig-tab { padding: 12px; bottom: 76px; border-radius: 12px 0 0 12px; }
  .ig-tab span { display: none; }

  /* programs become a swipe row */
  .prog-media { display: none; }
  .prog-stage { height: auto; display: flex; flex-direction: row; gap: 16px; margin: 28px -20px 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 20px 28px; }
  .prog-stage::-webkit-scrollbar { display: none; }
  .prog-stage > svg { display: none; }
  .prog-card { position: relative; left: auto; top: auto; flex: 0 0 84%; width: 84%; height: auto; transform: none !important; opacity: 1 !important; pointer-events: auto !important; scroll-snap-align: center; }
  .prog-body { padding: 28px 24px; }
  .prog-btn-d { display: none; }
  .prog-btn-m { display: inline-block; }

  .ven-media { flex-basis: 100%; min-height: 190px; padding: 20px; border-radius: 28px; }
  .ven-cap { padding: 16px 20px; font-size: 1.125rem; max-width: 240px; border-radius: 20px; }
  .ven-grid { display: flex; overflow-x: auto; gap: 10px; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .ven-grid::-webkit-scrollbar { display: none; }
  .ven-btn { flex: none; min-height: 46px; padding: 0 16px; border-radius: 999px; font-size: 0.875rem; white-space: nowrap; gap: 8px; }
  .ven-btn svg { width: 18px; height: 18px; }
  .ven-card { padding: 22px 20px; border-radius: 24px; gap: 18px; }
  .ven-name { font-size: 1.5rem; }
  .ven-acts { width: 100%; flex-wrap: nowrap; gap: 8px; }
  .ven-acts > * { flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; padding: 14px 8px !important; font-size: 0.875rem !important; }

  .res-nav { display: none; }
  .res-quotes { display: flex; flex-direction: row; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 20px 4px; margin: 0 -20px; }
  .res-quotes::-webkit-scrollbar { display: none; }
  .res-q { flex: 0 0 84%; scroll-snap-align: center; transform: none !important; opacity: 1 !important; }
  .res-mark { font-size: 7.5rem; height: 64px; margin-top: 12px; background-size: 6px 6px; }

  .shopgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 10px; margin-top: 28px; }
  .shtile { aspect-ratio: 1 / 1; padding: 12px; border-radius: 18px; gap: 8px; }
  .shtile:hover { transform: none; box-shadow: none; }
  .shname { font-size: 0.8125rem; line-height: 1.2; letter-spacing: 0; overflow-wrap: anywhere; }
  .shtile .sharrow { display: none; }
  .shnum { font-size: 0.6875rem; }

  .cta-row { flex-wrap: nowrap; gap: 8px; }
  .cta-row > * { flex: 1 1 auto; min-width: 0; padding: 14px 10px !important; font-size: 0.875rem !important; text-align: center; white-space: nowrap; }

  .nm-panel { position: fixed; top: 0; bottom: 0; height: 100%; max-height: none; z-index: 60; border: 0; box-shadow: none; -webkit-overflow-scrolling: touch; }
  .nm-scrim { display: none; }
  .nm-in { padding: 84px 20px 40px; }
  .nm-x { position: fixed; top: 14px; right: 16px; width: 44px; height: 44px; border: 1.5px solid #cfdcec; border-radius: 50%; background: #fff; font-size: 1.625rem; display: flex; align-items: center; justify-content: center; z-index: 2; }
  .nm-grid { grid-template-columns: 1fr; gap: 26px; }
  .nm-list a { padding: 10px 0; font-size: 0.9375rem; border-bottom: 1px solid #eef3fa; }
  .nm-title { font-size: 0.75rem; }
  .nm-promo h3 { font-size: 1.125rem; }
  .nm-promo p { font-size: 0.875rem; line-height: 1.35rem; }
  .nm-promo a { padding: 12px 20px; font-size: 0.875rem; }

  /* footer accordions */
  .fd-h { cursor: pointer; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
  .fd-ch { display: inline; font-size: 1.25rem; line-height: 1; }
  .fd-b { display: none; margin-top: 6px; }
  .fd-b.open { display: block; }
  .fd-b a { display: block; padding: 9px 0; font-size: 0.9375rem; }
  .fd-progs.open { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  #loader { display: none !important; }
  .slide { position: static; min-height: 0; }
  .ab-run { white-space: normal; }
}

/* ===== inner pages ===== */
body.sub { background: #fff; }
body.sub .nav { background: var(--blue); }
body.sub .nav.scrolled, body.sub .nav.menu-open { background: rgba(6, 50, 88, 0.95); }
body.sub main { background: #fff; color: var(--navy); font-family: var(--font); overflow-x: clip; }


/* ===== form controls on the inner pages: one height, one custom select arrow ===== */
body.sub main select,
body.sub main input:not([type="checkbox"]):not([type="radio"]):not([type="search"]) { height: 50px; }
body.sub main select {
  -webkit-appearance: none; appearance: none; cursor: pointer; line-height: 1.2;
  padding-right: 48px !important;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23086CC1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 18px center / 16px !important;
}
body.sub main select:invalid, body.sub main select option[value=""] { color: #4a5f7d; }
body.sub main select option { color: #0b2545; }
body.sub main input[type="date"] { min-height: 50px; padding-top: 0 !important; padding-bottom: 0 !important; }
body.sub main select:focus, body.sub main textarea:focus, body.sub main input:focus { border-color: var(--blue) !important; }
body.sub main ::placeholder { color: #8a9bb3; opacity: 1; }

/* ===== address suggestions (contact form) ===== */
.addr-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1.5px solid #cfdcf0; border-radius: 16px; box-shadow: 0 18px 40px rgba(8, 108, 193, 0.18); max-height: 280px; overflow-y: auto;
}
.addr-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font: 400 0.875rem/1.35 var(--font); color: var(--muted); }
.addr-list li strong { font-weight: 600; font-size: 0.9375rem; color: var(--navy); }
.addr-list li:hover, .addr-list li.on { background: var(--sky); }

/* the "9 venues" stat links to the venues page */
.stats a.stat-link { display: block; color: inherit; text-decoration: none; }
.stats a.stat-link b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: var(--orange); }
.stats a.stat-link:hover { color: #fff; }
.stats a.stat-link:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* inner pages: sections carry inline padding, so tokens are applied with !important */
body.sub main section:not(.ev-hero) { padding-left: var(--pad-x) !important; padding-right: var(--pad-x) !important; }
@media (max-width: 991px) {
  body.sub main > section.pt-lg { padding-top: var(--sec-y) !important; }
  body.sub main > section.pb-lg { padding-bottom: var(--sec-y) !important; }
}

/* brand cursor: a small blue dot, and a ring with an orange centre over anything clickable (mouse and trackpad only) */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='5.5' fill='%23086CC1' stroke='white' stroke-width='2.5'/></svg>") 12 12, auto; }
  a, button, summary, select, label[for], [role="button"], [role="option"], [onclick],
  [style*="cursor: pointer"], [style*="cursor:pointer"] { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><circle cx='16' cy='16' r='11.5' fill='none' stroke='white' stroke-width='5'/><circle cx='16' cy='16' r='11.5' fill='none' stroke='%23086CC1' stroke-width='2.5'/><circle cx='16' cy='16' r='3.2' fill='%23FF8A2B' stroke='white' stroke-width='1.5'/></svg>") 16 16, pointer !important; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]), textarea { cursor: text; }
  :disabled, [aria-disabled="true"] { cursor: not-allowed !important; }
}

/* display type: Fraunces (soft serif) for headings, in the spirit of Abbotsleigh's Recife display face */
h1, h2, h3, .prog-title, .ven-name, .ven-cap, .f-tag, .quiz-q, .stats b, .shname, .ev-fee b {
  font-family: "Fraunces", Georgia, "Times New Roman", "PingFang SC", "Songti SC", "Microsoft YaHei", serif !important;
  font-weight: 400 !important; letter-spacing: -0.015em !important; font-optical-sizing: auto; text-transform: none !important;
}

/* ===== form submit progress + success ===== */
.sub-progress { height: 6px; margin: 4px 0 14px; border-radius: 999px; background: #d9e6f3; overflow: hidden; }
.sub-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #086cc1, #ff8a2b); transition: width 0.12s linear; }
.is-loading { cursor: progress !important; pointer-events: none; opacity: 0.92; }
.spin { display: inline-block; width: 1em; height: 1em; margin-right: 0.6em; vertical-align: -0.15em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ok-ic { position: relative; display: block; width: 3.25rem; height: 3.25rem; margin: 0 0 0.9rem; border-radius: 50%; background: #65bc46; animation: okpop 0.5s cubic-bezier(0.22, 0.8, 0.24, 1) both; }
.ok-ic::after { content: ""; position: absolute; left: 1.15rem; top: 0.7rem; width: 0.8rem; height: 1.5rem; border: solid #fff; border-width: 0 0.28rem 0.28rem 0; transform: rotate(45deg); }
.quiz-done .ok-ic { margin-left: auto; margin-right: auto; }
@keyframes okpop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 1.6s; } .ok-ic { animation: none; } }


/* custom date picker (js/datepicker.js) */
input[data-dp] { cursor: pointer !important; background-repeat: no-repeat !important; background-position: right 1rem center !important; background-size: 1.25rem !important; padding-right: 3rem !important; text-overflow: ellipsis; }
.dp-backdrop { display: none; position: fixed; inset: 0; z-index: 998; background: rgba(11, 37, 69, 0); transition: background 0.25s; pointer-events: none; }
.dp-backdrop.in { background: rgba(11, 37, 69, 0.35); }
.dp { position: absolute; z-index: 999; box-sizing: border-box; width: 20rem; padding: 0.875rem; border-radius: 1.25rem; background: #fff; color: #0b2545; font: 400 0.9375rem "Instrument Sans", Poppins, system-ui, sans-serif; box-shadow: 0 24px 60px rgba(8, 40, 80, 0.28), 0 0 0 1.5px #d9e6f3; opacity: 0; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s; }
.dp.in { opacity: 1; transform: none; }
.dp *, .dp *::before { box-sizing: border-box; }
.dp button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer !important; border-radius: 0.75rem; }
.dp button:disabled { cursor: not-allowed !important; opacity: 0.32; }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
.dp-title { display: flex; align-items: center; justify-content: center; gap: 0.25rem; flex: 1; min-width: 0; }
.dp-t { padding: 0.45rem 0.6rem !important; font-weight: 600; font-size: 1rem; }
.dp-t:hover { background: #eaf3fb !important; color: #086cc1; }
.dp-range { font-weight: 600; padding: 0.45rem 0; }
.dp-nav { width: 2.5rem; height: 2.5rem; font-size: 1.5rem; line-height: 1; color: #086cc1 !important; border: 1.5px solid #d9e6f3 !important; border-radius: 50% !important; display: flex; align-items: center; justify-content: center; padding-bottom: 0.15rem !important; }
.dp-nav:hover:not(:disabled) { background: #eaf3fb !important; }
.dp-week { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 0.25rem; text-align: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; color: #4a5f7d; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-day { height: 2.5rem; border-radius: 50% !important; font-size: 0.9375rem; position: relative; }
.dp-day.out { color: #8a9bb3; }
.dp-day:hover:not(:disabled):not(.sel) { background: #eaf3fb !important; }
.dp-day.today::after { content: ""; position: absolute; left: 50%; bottom: 0.3rem; width: 0.3rem; height: 0.3rem; margin-left: -0.15rem; border-radius: 50%; background: #ff8a2b; }
.dp-day.sel, .dp-opt.sel { background: #086cc1 !important; color: #fff !important; font-weight: 600; }
.dp-day:focus-visible, .dp-opt:focus-visible, .dp-t:focus-visible, .dp-nav:focus-visible, .dp-link:focus-visible { outline: 3px solid #0b2545; outline-offset: 1px; }
.dp-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; padding: 0.25rem 0; }
.dp-opt { height: 3rem; border-radius: 0.9rem !important; font-size: 1rem; border: 1.5px solid #e3ebf6 !important; }
.dp-opt:hover:not(:disabled):not(.sel) { background: #eaf3fb !important; border-color: #086cc1 !important; }
.dp-foot { display: flex; justify-content: space-between; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid #e3ebf6; }
.dp-link { padding: 0.55rem 0.9rem !important; font-weight: 600; font-size: 0.9375rem; color: #086cc1 !important; }
.dp-link:hover { background: #eaf3fb !important; }
/* phones: bottom sheet */
.dp.sheet { position: fixed; left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto !important; max-height: 92vh; overflow-y: auto; border-radius: 1.5rem 1.5rem 0 0; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.28s cubic-bezier(0.22, 0.8, 0.24, 1); opacity: 1; }
.dp.sheet.in { transform: none; }
.dp.sheet .dp-day { height: 2.75rem; }
@media (max-width: 600px) { .dp-backdrop { display: block; pointer-events: auto; } }
@media (prefers-reduced-motion: reduce) { .dp, .dp.sheet, .dp-backdrop { transition: none; } }

/* custom dropdown (js/dropdown.js) */
.cs-native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden; clip: rect(0 0 0 0); }
.cs-btn { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; min-height: 3.125rem; padding: 0 1rem; box-sizing: border-box; background: #fff; border: 1.5px solid #cfdcf0; border-radius: 1rem; font: 400 0.9375rem "Instrument Sans", Poppins, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: #0b2545; text-align: left; cursor: pointer; transition: border-color 0.2s; }
.cs-btn:hover { border-color: #8fb6de; }
.cs-btn:focus-visible { outline: 3px solid #0b2545; outline-offset: 2px; }
.cs-btn[aria-expanded="true"] { border-color: #086cc1; }
.cs-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.cs-btn.is-empty .cs-val { color: #8a9bb3; }
.cs-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-chev { flex: none; transition: transform 0.2s; }
.cs-btn[aria-expanded="true"] .cs-chev { transform: rotate(180deg); }
.cs-list { position: absolute; z-index: 999; box-sizing: border-box; display: flex; flex-direction: column; padding: 0.375rem; background: #fff; border-radius: 1rem; box-shadow: 0 24px 60px rgba(8, 40, 80, 0.28), 0 0 0 1.5px #d9e6f3; font: 400 0.9375rem "Instrument Sans", Poppins, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: #0b2545; opacity: 0; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s; }
.cs-list.in { opacity: 1; transform: none; }
.cs-search { position: relative; flex: none; padding: 0.25rem 0.25rem 0.5rem; }
.cs-mag { position: absolute; left: 1rem; top: 50%; margin-top: -0.55rem; color: #086cc1; pointer-events: none; }
.cs-q { width: 100%; box-sizing: border-box; height: 2.75rem; padding: 0 0.9rem 0 2.6rem; border: 1.5px solid #cfdcf0; border-radius: 0.85rem; background: #f3f8ff; font: inherit; color: #0b2545; outline: none; cursor: text; }
.cs-q:focus { border-color: #086cc1; background: #fff; }
.cs-q::placeholder { color: #8a9bb3; opacity: 1; }
.cs-items { overflow-y: auto; max-height: 15.5rem; overscroll-behavior: contain; }
.cs-opt { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0.85rem; border-radius: 0.7rem; cursor: pointer; line-height: 1.3; }
.cs-opt[hidden] { display: none; }
.cs-opt.ph { color: #8a9bb3; }
.cs-opt.on { background: #eaf3fb; }
.cs-opt.sel { font-weight: 600; color: #086cc1; }
.cs-opt[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; }
.cs-opt mark { background: #ffe3c8; color: inherit; border-radius: 0.2rem; padding: 0 0.05rem; }
.cs-check { flex: none; }
.cs-none { padding: 1rem 0.85rem; color: #4a5f7d; }
.cs-list.sheet { position: fixed; left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto !important; border-radius: 1.5rem 1.5rem 0 0; padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.28s cubic-bezier(0.22, 0.8, 0.24, 1); opacity: 1; }
.cs-list.sheet.in { transform: none; }
.cs-list.sheet .cs-items { max-height: min(50vh, 20rem); }
.cs-list.sheet .cs-opt { padding: 0.95rem 1rem; }
@media (prefers-reduced-motion: reduce) { .cs-list, .cs-list.sheet, .cs-chev { transition: none; } }

/* venue map (js/venue-map.js) */
.vmap-sec { max-width: 1280px; margin: 0 auto; padding: 40px var(--pad-x) 0; }
.vmap { height: 28rem; border-radius: 1.5rem; overflow: hidden; background: #eaf3fb; box-shadow: 0 0 0 1.5px #d9e6f3; }
@media (max-width: 700px) { .vmap { height: 22rem; border-radius: 1.25rem; } }
.vm-mk { width: 2.25rem; height: 2.25rem; }
.vm-pin { all: unset; box-sizing: border-box; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #086cc1; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(8, 40, 80, 0.35); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.vm-pin span { transform: rotate(45deg); color: #fff; font: 600 0.75rem "Instrument Sans", Poppins, system-ui, sans-serif; }
.vm-pin:hover, .vm-pin:focus-visible { background: #ff8a2b; transform: rotate(-45deg) scale(1.1); }
.vm-pin:focus-visible { outline: 3px solid #0b2545; outline-offset: 2px; }
.mapboxgl-popup-content { border-radius: 1rem !important; padding: 1rem 1.1rem !important; font-family: "Instrument Sans", Poppins, system-ui, sans-serif; color: #0b2545; box-shadow: 0 16px 40px rgba(8, 40, 80, 0.25) !important; }
.vm-pop strong { display: block; font-size: 1rem; padding-right: 1rem; }
.vm-pop p { margin: 0.35rem 0 0.8rem; font-size: 0.875rem; line-height: 1.35rem; color: #4a5f7d; }
.vm-pop > div { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vm-pop a { display: inline-block; padding: 0.5rem 0.9rem; border-radius: 999px; font-weight: 600; font-size: 0.8125rem; text-decoration: none; }
.vm-a { background: #086cc1; color: #fff; }
.vm-b { border: 1.5px solid #086cc1; color: #086cc1; }
.mapboxgl-popup-close-button { font-size: 1.25rem; padding: 0.2rem 0.5rem; }
@media (max-width: 700px) {
  main > section:has(#venue-search) { padding-bottom: 1.5rem !important; }
  .vmap-sec { padding-top: 1.25rem; }
  main > section:has(.mbwrap) { padding-top: 1.25rem !important; }
}
/* inner-page header sections: less space below on phones */
@media (max-width: 700px) { main > section.pt-lg:first-child:not(.pb-lg) { padding-bottom: 1.25rem !important; } }
@media (max-width: 700px) { main > section.pt-lg:first-child:not(.pb-lg) + section.pb-lg:not(.pt-lg) { padding-top: 1.25rem !important; } }
/* hero buttons on one line on phones */
@media (max-width: 700px) {
  .hero-btns { flex-wrap: nowrap; justify-content: stretch; }
  .hero-btns > * { flex: 1 1 auto; text-align: center; }
  .hero-btns .btn, .hero-btns .btn-orange { padding: 12px 16px; font-size: 0.8125rem; white-space: nowrap; }
}
@media (max-width: 359px) { .hero-btns { gap: 8px; } .hero-btns .btn, .hero-btns .btn-orange { padding: 11px 12px; font-size: 0.75rem; } }
/* hero phone / email line: smaller on phones */
/* the contact line is removed on phones; its space moves above the buttons (below the eyebrow) so the hero keeps its height and the buttons sit at the bottom */
@media (max-width: 700px) { .hero-foot { display: none; } .hero-btns { margin-top: calc(20px + 3.9rem); } }
/* programme cards: smaller recommendation button on phones */
@media (max-width: 700px) { .prog-btn { font-size: clamp(0.6875rem, 3.1vw, 0.8125rem); padding: 11px 12px; margin-top: 16px; white-space: nowrap; align-self: stretch; text-align: center; } }
/* home hero: hide the intro paragraph on phones */
@media (max-width: 700px) { .hero-p { visibility: hidden; } .hero h1 { color: transparent; text-shadow: none; } }
/* hero eyebrow on one line on phones */
@media (max-width: 700px) { .hero-eyebrow { font-size: 0.6875rem; letter-spacing: 1.6px; white-space: nowrap; } }
/* burger -> X and slide-in mobile menu (motion modelled on abbotsleigh.nsw.edu.au: 500ms, cubic-bezier(.4,0,.2,1)) */
.nv-burger .bars { position: relative; display: block; width: 20px; height: 14px; pointer-events: none; }
.nv-burger .bars span { position: absolute; left: 0; display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.nv-burger .bars span:nth-child(1) { top: 0; }
.nv-burger .bars span:nth-child(2), .nv-burger .bars span:nth-child(3) { top: 50%; transform: translateY(-50%); }
.nv-burger .bars span:nth-child(4) { bottom: 0; }
.nav.mopen:not(.mclose) .nv-burger .bars span:nth-child(1), .nav.mopen:not(.mclose) .nv-burger .bars span:nth-child(4) { top: 6px; bottom: auto; left: 50%; width: 0; }
.nav.mopen:not(.mclose) .nv-burger .bars span:nth-child(2) { transform: translateY(-50%) rotate(45deg); }
.nav.mopen:not(.mclose) .nv-burger .bars span:nth-child(3) { transform: translateY(-50%) rotate(-45deg); }
@media (max-width: 1260px) {
  .nav.mopen { min-height: 100vh; min-height: 100dvh; max-height: 100dvh; align-content: flex-start; overflow-y: auto; animation: mnavIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both; }
  .nav.mopen.mclose { animation: mnavOut 0.35s cubic-bezier(0.4, 0, 0.2, 1) both; }
  .nav.mopen .nv-links > div { animation: mItemIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both; }
  .nav.mopen .nv-links > div:nth-child(1) { animation-delay: 0.12s; }
  .nav.mopen .nv-links > div:nth-child(2) { animation-delay: 0.18s; }
  .nav.mopen .nv-links > div:nth-child(3) { animation-delay: 0.24s; }
  .nav.mopen .nv-links > div:nth-child(4) { animation-delay: 0.3s; }
  .nav.mopen .nv-links > div:nth-child(5) { animation-delay: 0.36s; }
  .nav.mopen .nv-links > div:nth-child(6) { animation-delay: 0.42s; }
  .nav.mopen .nv-right { animation: mItemIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both; }
  .nav.mopen.mclose .nv-links > div, .nav.mopen.mclose .nv-right { animation: none; }
}
body.menu-lock { overflow: hidden; }
@keyframes mnavIn { from { clip-path: inset(0 0 calc(100% - 4.5rem) 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes mnavOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 calc(100% - 4.5rem) 0); } }
@keyframes mItemIn { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav.mopen, .nav.mopen .nv-links > div, .nav.mopen .nv-right { animation: none !important; } .nv-burger .bars span { transition: none; } }
/* mega menu on phones: promo card first */
@media (max-width: 700px) { .nm-grid > .nm-promo { order: -1; } }
/* mega menu: secondary link in the promo card */
.nm-promo a.nm-all { display: table; margin-top: 12px; background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.8); padding: 11.5px 20px; }
.nm-promo a.nm-all:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
