/* Kinect landing components. Mobile first: base rules are the phone layout, min-width
   queries add columns on wider screens. Values come from tokens.css only. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--k-bg);
  color: var(--k-text);
  font-family: var(--k-font-body);
  font-size: var(--k-body-size);
  line-height: var(--k-body-lh);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--k-interactive); text-decoration: none; }
a:hover { color: var(--k-navy); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-family: var(--k-font-display); font-weight: 600; color: var(--k-text); overflow-wrap: anywhere; }
h1 { font-size: var(--k-h1-size); line-height: var(--k-h1-lh); letter-spacing: var(--k-h1-ls); text-wrap: balance; }
h2 { font-size: var(--k-h2-size); line-height: var(--k-h2-lh); letter-spacing: var(--k-h2-ls); text-wrap: balance; }
h3 { font-size: var(--k-h3-size); line-height: var(--k-h3-lh); }
h4 { font-size: var(--k-title-size); line-height: var(--k-title-lh); }
p { margin: 0; text-wrap: pretty; }

.container { max-width: var(--k-container); width: 100%; margin: 0 auto; padding-left: var(--k-gutter); padding-right: var(--k-gutter); }

/* Text roles */
.eyebrow { font-size: var(--k-eyebrow-size); font-weight: 600; letter-spacing: var(--k-eyebrow-ls); text-transform: uppercase; color: var(--k-interactive); }
.on-dark .eyebrow { color: var(--k-interactive-on-dark); }
.lead { font-size: var(--k-lead-size); line-height: var(--k-lead-lh); color: var(--k-text-body); max-width: 560px; }
.body { color: var(--k-text-body); }
.muted { color: var(--k-text-muted); }
.meta { font-size: var(--k-meta-size); line-height: var(--k-meta-lh); color: var(--k-text-muted); }
.on-dark { color: var(--k-text-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--k-text-on-dark); }
.on-dark .body { color: var(--k-text-on-dark-body); }
.on-dark .meta, .on-dark .muted { color: var(--k-text-on-dark-muted); }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: var(--k-gap-xs); font-size: var(--k-badge-size); font-weight: 600; letter-spacing: var(--k-badge-ls); text-transform: uppercase; padding: 5px 9px; border-radius: var(--k-radius-pill); white-space: nowrap; line-height: 1; }
.badge-brand { color: var(--k-on-brand-container); background: var(--k-brand-container); }
.badge-brand-dark { color: var(--k-brand-container); background: var(--k-brand-deep); }
.badge-outline { color: var(--k-text-muted); border: 1px solid var(--k-border-strong); }
.badge-free { color: var(--k-success); background: var(--k-success-container); }
.badge-pill-lg { font-size: var(--k-eyebrow-size); letter-spacing: 0.08em; padding: 7px 12px; white-space: normal; text-align: left; line-height: 1.3; }
/* Price badges ship empty and fill from the API, so a wrong number never shows and then
   changes. Empty they are transparent; filled they fade in. */
.badge[data-price-badge] { transition: opacity 200ms ease; }
.badge[data-price-badge]:empty { opacity: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--k-font-body); font-weight: 600; font-size: var(--k-btn-size); line-height: 1.15; padding: var(--k-btn-pad-y) var(--k-btn-pad-x); border-radius: var(--k-radius-pill); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; text-align: center; transition: background var(--k-ease), color var(--k-ease), border-color var(--k-ease), transform 160ms ease, box-shadow 160ms ease; }
.btn:focus-visible { outline: 3px solid var(--k-interactive); outline-offset: 2px; }
.btn-sm { font-size: var(--k-btn-sm-size); padding: var(--k-btn-sm-pad-y) var(--k-btn-sm-pad-x); }
.btn-cta { background: var(--k-cta); color: var(--k-on-cta); }
.btn-cta:hover { background: var(--k-cta-hover); color: var(--k-on-cta); transform: translateY(-1px); box-shadow: var(--k-shadow-cta); }
.btn-cta:active { transform: translateY(0); box-shadow: none; }
.on-dark .btn-cta, .card-dark .btn-cta, .price-featured .btn-cta { color: var(--k-on-cta-dark); }
.on-dark .btn-cta:hover, .card-dark .btn-cta:hover { background: var(--k-cta-hover-on-dark); color: var(--k-on-cta-dark); }
.btn-outline { border-color: var(--k-navy); color: var(--k-navy); background: transparent; }
.btn-outline:hover { background: var(--k-navy); color: var(--k-text-on-dark); }
.on-dark .btn-outline { border-color: var(--k-text-on-dark); color: var(--k-text-on-dark); }
.btn-link { color: var(--k-interactive); padding-left: 4px; padding-right: 4px; background: transparent; }
.btn-link:hover { color: var(--k-navy); }
.on-dark .btn-link, .card-dark .btn-link { color: var(--k-interactive-on-dark); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Nav */
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--k-gap); padding-top: 14px; padding-bottom: 14px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; color: var(--k-text); }
.wordmark:hover { color: var(--k-text); }
.wordmark .mark { width: 26px; height: 26px; background: url("/img/mark.svg") center / contain no-repeat; }
.wordmark .name { font-family: var(--k-font-display); font-weight: 700; font-size: var(--k-wordmark-size); letter-spacing: -0.02em; line-height: 1; }
.nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40; flex-direction: column; background: var(--k-surface); border-top: 1px solid var(--k-border); border-bottom: 1px solid var(--k-border); padding: 4px var(--k-gutter); box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08); }
.nav-links.open { display: flex; }
.nav-links a { color: var(--k-text); font-weight: 600; font-size: 16px; padding: 13px 0; border-bottom: 1px solid var(--k-border); }
.nav-links a:last-child { border-bottom: 0; }
.nav-links a:hover { color: var(--k-interactive); }
.nav-actions { display: flex; align-items: center; gap: var(--k-gap-sm); }
.nav-actions .btn { display: none; }
.nav-toggle { display: flex; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; border-radius: var(--k-radius-xs); }
.nav-toggle span { display: block; height: 2px; background: var(--k-navy); border-radius: 2px; transition: transform var(--k-ease), opacity var(--k-ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--k-gap-md); align-items: center; padding-top: 12px; padding-bottom: 32px; }
.hero-copy { display: flex; flex-direction: column; gap: var(--k-gap); align-items: flex-start; }
.hero h1 .accent { color: var(--k-brand); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; width: 100%; }
.hero-actions .btn-cta { width: 100%; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--k-gap); padding-top: 4px; width: 100%; }
.stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stat .value { font-family: var(--k-font-display); font-weight: 600; font-size: var(--k-stat-size); line-height: 1; color: var(--k-text); }
.stat .meta { font-size: 12px; }
.hero-media { position: relative; aspect-ratio: 16 / 11; min-height: 0; }
.next-up { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--k-surface-dark); color: var(--k-text-on-dark); border-radius: var(--k-radius-sm); padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.next-up-text { min-width: 0; }
.next-up .label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-interactive-on-dark); }
.next-up .title { font-family: var(--k-font-display); font-weight: 600; font-size: 15px; line-height: 1.2; }

/* Image placeholders until real photos land in web/img */
.image-slot { width: 100%; height: 100%; border-radius: var(--k-radius-xl); overflow: hidden; position: relative; background: linear-gradient(135deg, var(--k-accent-blue), var(--k-brand-container) 55%, var(--k-accent-peach)); display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; color: var(--k-on-brand-container); font-family: var(--k-font-display); font-size: 22px; font-weight: 600; }
.image-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.image-slot.square { aspect-ratio: 1 / 1; border-radius: var(--k-radius-md); }

/* Sections */
.section { padding-top: var(--k-section-y); padding-bottom: var(--k-section-y); }
.section-white { background: var(--k-surface); border-top: 1px solid var(--k-border); border-bottom: 1px solid var(--k-border); padding-top: var(--k-section-y-sm); padding-bottom: var(--k-section-y-sm); }
.section-dark { background: var(--k-surface-dark); }
.section-intro { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.stack { display: flex; flex-direction: column; gap: var(--k-gap-lg); }
.grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--k-gap); }

/* Class cards */
.card { background: var(--k-bg); border-radius: var(--k-radius-lg); padding: var(--k-card-pad); display: flex; flex-direction: column; gap: var(--k-gap-sm); transition: transform 220ms ease, box-shadow 220ms ease; }
.card-dark { background: var(--k-surface-dark); color: var(--k-text-on-dark); }
.card-dark h3 { color: var(--k-text-on-dark); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--k-gap-sm); }
.card-head .badge { white-space: normal; text-align: right; line-height: 1.25; }
.card-day { font-size: var(--k-meta-size); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-text-muted); white-space: nowrap; }
.card-dark .card-day { color: var(--k-interactive-on-dark); }
.card .body { font-size: var(--k-body-sm-size); }
.card-dark .body { color: var(--k-text-on-dark-body); }
.card-guides { display: flex; align-items: center; justify-content: space-between; gap: var(--k-gap-sm); padding-top: 2px; }
.card-dark .card-guides .meta { color: var(--k-text-on-dark-muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--k-gap-sm); padding-top: 4px; }
.next-date { display: block; }
.card-dark .next-date { color: var(--k-text-on-dark-muted); }

.avatars { display: flex; gap: 6px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--k-surface); background: var(--k-brand-container) center / cover no-repeat; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15); cursor: pointer; padding: 0; color: var(--k-on-brand-container); font-weight: 700; font-size: 14px; transition: transform 160ms ease; }
.card-dark .avatar { border-color: var(--k-surface-dark); }
.avatar:hover { transform: translateY(-2px) scale(1.06); }

/* Timeline */
.morning { display: flex; flex-direction: column; gap: var(--k-gap-md); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.timeline li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--k-radius-sm); background: var(--k-bg); border-left: 3px solid var(--k-cta); }
.timeline .time { font-family: var(--k-font-display); font-weight: 600; font-size: 18px; line-height: 1; color: var(--k-navy); }
.timeline .what { display: flex; flex-direction: column; gap: 1px; }
.timeline .what strong { font-weight: 600; font-size: var(--k-body-sm-size); }

/* Calendar */
.cal { background: var(--k-surface); border: 1px solid var(--k-border); border-radius: var(--k-radius-lg); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: var(--k-gap); }
.cal-title { font-size: var(--k-h3-size); }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--k-border-strong); background: var(--k-surface); font-size: 26px; line-height: 1; cursor: pointer; color: var(--k-navy); display: inline-flex; align-items: center; justify-content: center; padding-bottom: 3px; transition: background var(--k-ease); }
.cal-nav:hover { background: var(--k-bg); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-weekdays span { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--k-text-muted); padding: 4px 0; }
.cal-weekdays span:nth-child(n+5) { color: var(--k-navy); }
.cal-cell { position: relative; min-height: 46px; border-radius: 8px; padding: 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; font: inherit; border: 1px solid transparent; background: transparent; color: var(--k-text-muted); }
.cal-pad { visibility: hidden; }
.cal-weekend { background: var(--k-bg); }
.cal-has { color: var(--k-text); cursor: pointer; border-color: var(--k-border); background: var(--k-surface); transition: background var(--k-ease), border-color var(--k-ease), transform 160ms ease; }
.cal-has:hover { border-color: var(--k-interactive); transform: translateY(-1px); }
.cal-past { opacity: 0.45; }
.cal-today .cal-num { color: var(--k-brand); text-decoration: underline; text-underline-offset: 3px; }
.cal-selected { border-color: var(--k-navy); background: var(--k-navy); color: var(--k-text-on-dark); }
.cal-selected .cal-num { color: var(--k-text-on-dark); }
.cal-num { font-family: var(--k-font-display); font-weight: 600; font-size: 14px; line-height: 1; }
.cal-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; line-height: 1; }
.chip-text { display: none; }
.chip-tbc .dot { opacity: 0.5; box-shadow: inset 0 0 0 1.5px currentColor; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-fri { background: var(--k-cal-fri); color: var(--k-cal-fri); }
.dot-sat { background: var(--k-cal-sat); color: var(--k-cal-sat); }
.dot-sun { background: var(--k-cal-sun); color: var(--k-cal-sun); }
.dot-cc { background: transparent; box-shadow: inset 0 0 0 2px var(--k-brand); }
.cal-selected .dot-sat { background: var(--k-interactive-on-dark); }
.cal-cc { border-color: var(--k-brand); box-shadow: inset 0 0 0 1px var(--k-brand); }
.cal-tag { display: none; position: absolute; top: 4px; right: 4px; font-size: 8px; font-weight: 700; letter-spacing: 0.04em; color: var(--k-on-brand-container); background: var(--k-brand-container); padding: 2px 4px; border-radius: 4px; line-height: 1; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 4px; font-size: 12px; color: var(--k-text-muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-empty { grid-column: 1 / -1; padding: 20px; text-align: center; color: var(--k-text-muted); }

.day-panel { display: flex; flex-direction: column; gap: var(--k-gap-sm); }
.day-list { display: flex; flex-direction: column; gap: 8px; }
.day-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; background: var(--k-surface); border: 1px solid var(--k-border); border-radius: var(--k-radius-sm); padding: 12px 14px; transition: box-shadow 220ms ease, transform 220ms ease; }
.day-row:hover { box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06); transform: translateY(-1px); }
.day-time { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; font-family: var(--k-font-display); font-weight: 600; font-size: 15px; color: var(--k-navy); }
.day-what { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.day-what .name { font-weight: 600; }
.day-what .badges { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 2px; }
.guide-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--k-interactive); text-underline-offset: 3px; }
.guide-link:hover { color: var(--k-interactive); }

/* Pricing */
.price { display: flex; flex-direction: column; gap: 8px; padding: var(--k-card-pad); border-radius: var(--k-radius-lg); background: var(--k-bg); align-items: flex-start; transition: transform 220ms ease, box-shadow 220ms ease; }
.price .amount { font-family: var(--k-font-display); font-weight: 600; font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; color: var(--k-navy); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.price .amount small { font-family: var(--k-font-body); font-weight: 400; font-size: var(--k-body-sm-size); color: var(--k-text-muted); letter-spacing: 0; white-space: nowrap; }
.price .body { font-size: var(--k-body-sm-size); }
.price-featured { background: var(--k-surface-dark); color: var(--k-text-on-dark); }
.price-featured .eyebrow { color: var(--k-interactive-on-dark); }
.price-featured .amount { color: var(--k-text-on-dark); }
.price-featured .amount small, .price-featured .meta { color: var(--k-text-on-dark-muted); }
.price-featured .body { color: var(--k-text-on-dark-body); }

/* Guides */
.guides-bio { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--k-gap); }
.guide-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--k-gap); align-items: start; padding: 12px; border-radius: var(--k-radius-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--k-border-on-dark); }
.guide-card .image-slot { aspect-ratio: 1 / 1; border-radius: var(--k-radius-md); }
.guide-card:target { outline: 2px solid var(--k-cta); outline-offset: 4px; }
.guide-text { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.guide-text .role { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-interactive-on-dark); }
.guide-text h3 { font-size: var(--k-title-size); }
.guide-text .body { font-size: var(--k-body-sm-size); }
.guide-text .btn-link { padding-left: 0; padding-top: 4px; padding-bottom: 4px; }

/* Mission */
.pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--k-gap); }
.pillar { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; padding: var(--k-card-pad-sm); border-radius: var(--k-radius-lg); background: var(--k-surface); border: 1px solid var(--k-border); transition: transform 220ms ease, box-shadow 220ms ease; }
.pillar .icon { width: 36px; height: 36px; border-radius: var(--k-radius-xs); grid-row: span 2; }
.pillar .title { font-family: var(--k-font-display); font-weight: 600; font-size: var(--k-title-size); line-height: 1.2; }
.pillar .body { font-size: var(--k-body-sm-size); }
.cta-card { background: var(--k-surface); border: 1px solid var(--k-border); border-radius: var(--k-radius-xl); padding: var(--k-card-pad); display: flex; flex-direction: column; gap: var(--k-gap); }
.cta-text { display: flex; flex-direction: column; gap: 4px; }
.cta-card .title { font-family: var(--k-font-display); font-weight: 600; font-size: var(--k-h3-size); line-height: 1.15; letter-spacing: -0.01em; }
.cta-card .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cta-card .actions .btn { flex: 1 1 140px; }

/* Footer */
.footer { border-top: 1px solid var(--k-border); }
.footer .container { padding-top: 22px; padding-bottom: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: var(--k-meta-size); color: var(--k-text-muted); }
.footer .wordmark .mark { width: 22px; height: 22px; }
.footer .wordmark .name { font-size: 16px; }
.footer .links { display: flex; gap: 16px; flex-wrap: wrap; }

/* Cards lift on hover */
.card:hover, .pillar:hover, .price:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08); }
.guide-card:hover .image-slot img { transform: scale(1.03); }

/* Modals */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; padding: 0; background: rgba(15, 23, 42, 0.55); }
.modal-panel { background: var(--k-surface); border-radius: var(--k-radius-xl) var(--k-radius-xl) 0 0; box-shadow: var(--k-shadow-modal); width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; overflow: auto; padding: 20px var(--k-gutter) 28px; display: flex; flex-direction: column; gap: var(--k-gap-md); animation: sheet-in 260ms cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--k-gap); }
.modal-close { background: var(--k-bg); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; color: var(--k-text-muted); flex: none; display: inline-flex; align-items: center; justify-content: center; }
.modal-close:hover { color: var(--k-text); }
.modal-session { background: var(--k-bg); border-radius: var(--k-radius-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }

.info-panel { position: relative; padding-top: 16px; }
.info-close { position: absolute; top: 12px; right: 12px; z-index: 1; }
.info-body { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding-right: 40px; }
.info-body h3 { font-size: var(--k-h2-size); }
.info-body .lead { font-size: var(--k-lead-size); }
.info-photo { width: 120px; aspect-ratio: 1 / 1; height: auto; border-radius: var(--k-radius-md); margin-bottom: 4px; }
.info-list { margin: 4px 0 0; display: grid; grid-template-columns: 1fr; gap: 2px 0; }
.info-list dt { font-size: var(--k-eyebrow-size); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-interactive); margin-top: 10px; }
.info-list dd { margin: 0; color: var(--k-text-body); }
.info-guides { display: flex; align-items: center; gap: 10px; padding-top: 6px; }
.info-actions { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--k-border); padding-top: var(--k-gap); }
.info-actions:empty { display: none; }
.info-actions .btn { width: 100%; }

.form { display: flex; flex-direction: column; gap: var(--k-gap); }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-weight: 600; font-size: 14px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select { font: inherit; font-size: 16px; padding: 11px 13px; border-radius: var(--k-radius-xs); border: 1.5px solid var(--k-border-strong); background: var(--k-surface); color: var(--k-text); width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--k-interactive); box-shadow: 0 0 0 3px var(--k-accent-blue); }
.field.invalid input { border-color: var(--k-error); }
.error { color: var(--k-error); font-size: var(--k-meta-size); font-weight: 600; }
.error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--k-text-body); }
.check input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--k-cta); flex: none; }
.form-error { color: var(--k-error); background: var(--k-error-container); border-radius: var(--k-radius-xs); padding: 12px 14px; font-size: 14px; }
.success { display: flex; flex-direction: column; gap: var(--k-gap); }
.success .code { font-family: var(--k-font-display); font-weight: 700; font-size: 30px; letter-spacing: 0.08em; color: var(--k-brand); animation: code-pop 420ms cubic-bezier(0.2, 0.9, 0.3, 1.3); }
@keyframes code-pop { from { transform: scale(0.85); opacity: 0; } to { transform: none; opacity: 1; } }
.success .box { background: var(--k-success-container); color: var(--k-success); border-radius: var(--k-radius-sm); padding: 12px 14px; font-weight: 600; }
.success .box.wait { background: var(--k-accent-peach); color: var(--k-on-brand-container); }

/* Waiver page */
.doc { max-width: 760px; margin: 0 auto; padding: 32px var(--k-gutter) 64px; display: flex; flex-direction: column; gap: var(--k-gap); }
.doc p { color: var(--k-text-body); }

/* Motion: reveal on scroll */
/* Scroll reveal. The script adds .reveal-wait only to sections that start below the fold,
   so nothing on screen at load is ever hidden, and a page whose script fails to load hides
   nothing at all. */
.reveal { transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-wait { opacity: 0; transform: translateY(14px); }
.reveal-wait.in { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

/* ---------- Tablet and up ---------- */
@media (min-width: 640px) {
  .hero { padding-top: 24px; padding-bottom: 48px; }
  .hero-actions .btn-cta { width: auto; }
  .hero-media { aspect-ratio: 4 / 3; }
  .next-up { left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: var(--k-radius-md); }
  .next-up .title { font-size: 17px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal { padding: 16px; gap: 10px; }
  .cal-cell { min-height: 64px; padding: 6px; }
  .cal-num { font-size: 15px; }
  .chip { padding: 3px 6px; border-radius: 6px; }
  .chip-text { display: inline; }
  .chip-fri { background: var(--k-cal-fri-bg); color: var(--k-cal-fri); }
  .chip-sat { background: var(--k-cal-sat-bg); color: var(--k-cal-sat); }
  .chip-sun { background: var(--k-cal-sun-bg); color: var(--k-cal-sun); }
  .cal-selected .chip { background: rgba(255, 255, 255, 0.14); color: var(--k-text-on-dark); }
  .chip .dot { display: none; }
  .day-row { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .day-time { grid-column: auto; }
  .guides-bio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-card { grid-template-columns: minmax(0, 1fr); padding: 0; background: transparent; border: 0; }
  .guide-card .image-slot { border-radius: var(--k-radius-lg); }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pillar .icon { grid-row: auto; }
  .cta-card { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 28px; }
  .cta-card .actions .btn { flex: none; }
  .footer .container { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .modal { align-items: center; padding: var(--k-gap); }
  .modal-panel { border-radius: var(--k-radius-xl); max-height: calc(100vh - 32px); padding: 28px; }
  .info-photo { width: 150px; }
  .info-actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .info-actions .btn { width: auto; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1000px) {
  .nav { padding-top: 18px; padding-bottom: 18px; }
  .nav-links { display: flex; position: static; flex-direction: row; gap: 28px; background: transparent; border: 0; padding: 0; box-shadow: none; }
  .nav-links a { padding: 0; border: 0; font-size: 15px; }
  .nav-actions .btn { display: inline-flex; }
  .nav-toggle { display: none; }
  .wordmark .mark { width: 28px; height: 28px; }
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--k-gap-xl); padding-top: 32px; padding-bottom: 64px; }
  .hero-copy { gap: var(--k-gap-md); }
  .hero-media { aspect-ratio: 4 / 5; }
  .stats { display: flex; gap: 32px; width: auto; }
  .stat .meta { font-size: var(--k-meta-size); }
  .card { min-height: 250px; }
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: var(--k-card-pad-sm); }
  .timeline .time { font-size: var(--k-stat-size); }
  .cal { padding: 20px; }
  .cal-cell { min-height: 84px; align-items: flex-start; }
  .cal-chips { justify-content: flex-start; }
  .cal-legend { font-size: 13px; }
  .cal-tag { display: inline-block; }
  .cal-cc { box-shadow: none; }
  .price .amount { font-size: 40px; }
  .prices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .guides-bio { gap: var(--k-gap-md); }
  .guide-text h3 { font-size: var(--k-h3-size); }
  .cta-card { padding: 40px; }
  .cta-card .title { font-size: 30px; }
  .modal-panel { padding: 32px; }
  .info-body h3 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-wait { opacity: 1; transform: none; transition: none; }
  .card, .pillar, .price, .day-row, .btn, .image-slot img, .avatar, .cal-has { transition: none; }
  .card:hover, .pillar:hover, .price:hover, .btn-cta:hover, .day-row:hover, .avatar:hover, .cal-has:hover { transform: none; }
  .modal-panel, .success .code { animation: none; }
}

/* ---- Registration sheet, tightened for phones (2026-09-22) ----------------
   The form was taller than a phone screen, so the submit button sat below the
   fold and the sheet had to be scrolled twice. Now: tighter rows, the optional
   code hidden behind one tap, and the submit pinned to the bottom of the sheet. */
.modal .form { gap: 10px; }
.modal .field { gap: 4px; }
.modal .field label { font-size: 13px; }
.modal .check { font-size: 14px; line-height: 1.35; }
.modal-panel { padding-bottom: 14px; }

.code-toggle { align-self: flex-start; background: none; border: 0; padding: 2px 0; margin: -2px 0; font: inherit; font-size: var(--k-meta-size); font-weight: 600; color: var(--k-interactive); text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.code-toggle:hover { color: var(--k-navy); }

.form-actions { position: sticky; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 10px 0 2px; background: var(--k-surface); box-shadow: 0 -10px 14px -10px rgba(15, 23, 42, 0.25); }
.form-actions .btn { width: 100%; }
.form-actions .meta { text-align: center; }

/* WhatsApp contact. Brand green stays the brand green in both themes: it is WhatsApp's
   colour, not ours, and people recognise it. */
.btn-wa { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--k-border-strong); background: var(--k-surface); color: var(--k-text); }
.btn-wa svg { width: 17px; height: 17px; color: #25D366; transition: color var(--k-ease); flex: none; }
.btn-wa:hover { background: #25D366; border-color: #25D366; color: #FFFFFF; }
.btn-wa:hover svg { color: #FFFFFF; }
.on-dark .btn-wa { background: transparent; border-color: var(--k-border-on-dark); color: var(--k-text-on-dark); }

/* Floating bubble. Hidden while a modal is open, because on a phone it lands on top of
   the sticky Reserve button inside the registration sheet. */
.wa-bubble {
  position: fixed; right: 16px; bottom: 16px; z-index: 45;
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25D366; color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.wa-bubble svg { width: 27px; height: 27px; }
.wa-bubble:hover { color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.34); }
.wa-bubble:focus-visible { outline: 3px solid var(--k-interactive); outline-offset: 3px; }
body.modal-open .wa-bubble { display: none; }
@media (prefers-reduced-motion: reduce) { .wa-bubble { transition: none; } }

/* Struck through "was" price on a free plan. */
/* Smaller than the live number so "$30 Free per class" stays on one line and the free
   card keeps the same height as the paid ones beside it. */
.price .amount .was { font-size: 0.62em; color: var(--k-text-muted); font-weight: 500; text-decoration-thickness: 2px; }
