/* Layout: stacked full-width bands, each with a centered 1180px inner wrapper; no fixed heights, so every page ends where its content ends. */
:root {
  --bg: #050605;
  --panel: #0d100c;
  --panel-2: #131812;
  --line: #22381c;
  --fg: #f3f6f0;
  --muted: #a8b3a2;
  --green: #39ff14;
  --green-dim: #2bc410;
  --yellow: #ffd700;
  --ink: #050605;
  --display: "Barlow", "Arial Black", Impact, Arial, sans-serif;
  --body: "Barlow", Arial, Helvetica, sans-serif;
  --max: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: 72px; }
.band.tight { padding-block: 48px; }
.band.alt { background: var(--panel); border-block: 1px solid var(--line); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(5, 6, 5, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.logo { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 28px; letter-spacing: 0.5px; text-decoration: none; color: var(--fg); line-height: 1; text-transform: uppercase; }
.logo span { color: var(--green); }
.logo:hover { color: var(--fg); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--fg); font: 700 15px var(--body); text-transform: uppercase; letter-spacing: 1px; padding: 10px 16px; border-radius: 999px; min-height: 44px; cursor: pointer; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; padding-block: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav .btn { padding: 10px 18px; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
  .site-header.open .nav { display: flex; }
}

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 0.98; margin: 0; text-wrap: balance; letter-spacing: 0.2px; }
h1 { font-size: clamp(44px, 8vw, 92px); }
h2 { font-size: clamp(32px, 5vw, 54px); }
h3 { font-size: 24px; line-height: 1.1; }
.green { color: var(--green); }
.yellow { color: var(--yellow); }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--yellow); margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 18px 0 0; }
.muted { color: var(--muted); }
p { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.section-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 36px; max-width: 760px; }
.section-head p { color: var(--muted); margin-top: 10px; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; border: 2px solid var(--green); background: var(--green); color: var(--ink); transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn.ghost:hover { border-color: var(--green); color: var(--green); }
.btn.small { min-height: 40px; padding: 8px 16px; font-size: 13px; }

/* Hero */
.hero { padding-block: 64px 56px; background: radial-gradient(ellipse 60% 70% at 85% 30%, rgba(57, 255, 20, 0.14), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero.solo .wrap { grid-template-columns: minmax(0, 1fr); }
.hero-photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); aspect-ratio: 4 / 3; max-width: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--panel); }
.ticker-track { display: flex; gap: 40px; width: max-content; padding-block: 14px; animation: scroll 40s linear infinite; }
.ticker-track span { font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; color: var(--green); }
.ticker-track span:nth-child(even) { color: var(--yellow); }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* Grids & cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
/* Green outline is used for one thing only: a live notice parents need to see (the weather status). */
.card.notice { border-color: var(--green); box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.25), 0 12px 40px rgba(57, 255, 20, 0.08); }
.card .meta { font-weight: 700; font-size: 14px; color: var(--yellow); text-transform: uppercase; letter-spacing: 1px; }
.card .btn { align-self: flex-start; margin-top: auto; }
.card ul { margin: 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.card p { color: var(--muted); }
.pill { display: inline-flex; align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); }
.pill.on { color: var(--ink); background: var(--green); border-color: var(--green); }
.pill.off { color: var(--yellow); border-color: var(--yellow); background: transparent; }

/* Pillars (value strip) */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pillars div { padding: 24px; border-right: 1px solid var(--line); background: var(--panel); }
.pillars div:last-child { border-right: 0; }
.pillars strong { display: block; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 22px; color: var(--green); margin-bottom: 4px; }
.pillars span { color: var(--muted); font-size: 15px; }

/* Price */
.price { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 52px; line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.price small { font-size: 18px; color: var(--muted); font-style: normal; font-weight: 600; }

/* Schedule */
.week { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.day { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.day h3 { font-size: 20px; padding: 14px 18px; background: var(--panel-2); border-bottom: 1px solid var(--line); color: var(--green); }
.slot { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--fg); font-weight: 600; }
.slot:last-child { border-bottom: 0; }
.slot b { color: var(--yellow); font-variant-numeric: tabular-nums; }
.slot:hover { background: var(--panel-2); color: var(--green); }

/* News */
.news { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.news .card h3 { font-size: 22px; }
.notice { border-left: 4px solid var(--yellow); background: var(--panel-2); padding: 14px 18px; border-radius: 0 12px 12px 0; }

/* Quick links */
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.quick a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; color: var(--fg); text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 15px; }
.quick a::after { content: "›"; color: var(--green); font-size: 24px; line-height: 1; }
.quick a:hover { border-color: var(--green); color: var(--green); }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.person { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.person .photo { aspect-ratio: 4 / 5; background: var(--panel-2); position: relative; display: flex; align-items: center; justify-content: center; max-width: 100%; }
.person .photo span { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 64px; color: var(--line); }
.person .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person .info { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.person .role { color: var(--yellow); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.person p { color: var(--muted); font-size: 15px; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; }
.stats div { display: flex; flex-direction: column; }
.stats b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 44px; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* FAQ */
details.faq { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
details.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; padding-block: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: "+"; color: var(--green); font-size: 24px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); padding-bottom: 20px; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--fg); background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); outline: none; }
.form-msg { grid-column: 1 / -1; }

/* CTA band */
.cta { text-align: left; background: linear-gradient(120deg, rgba(57, 255, 20, 0.16), transparent 60%), var(--panel); border-block: 1px solid var(--line); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta .btn-row { margin-top: 0; }

/* Footer */
.site-footer { background: #020302; border-top: 1px solid var(--line); }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 32px; padding-block: 56px 40px; }
.site-footer h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); }
.site-footer p, .site-footer li { color: var(--muted); font-size: 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--fg); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.legal { border-top: 1px solid var(--line); padding-block: 20px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.words { overflow: hidden; border-top: 1px solid var(--line); }
.words .ticker-track { animation-duration: 60s; }
.words .ticker-track span { color: #2f4a27; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; }
.words .ticker-track span:nth-child(even) { color: #2f4a27; }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { padding-left: 28px; position: relative; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 3px; background: var(--green); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 7px 14px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; align-items: start; }
.anchor { scroll-margin-top: 100px; }

/* Images */
.logo-img img { width: 52px; height: 52px; }
.card-img { width: calc(100% + 52px); max-width: none; margin: -26px -26px 4px; aspect-ratio: 3 / 2; object-fit: contain; background: #000; border-bottom: 1px solid var(--line); border-radius: 18px 18px 0 0; }
.hero-photo:has(img[src*="classes/"]) { aspect-ratio: 3 / 2; background: #000; }
.hero-photo img[src*="classes/"] { object-fit: contain; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-banner { padding-block: 24px 40px; border-bottom: 1px solid var(--line); background: #000; }
.hero-banner img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); }
.hero-banner .btn-row { margin-top: 24px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
@media (max-width: 600px) { .gallery { grid-template-columns: minmax(0, 1fr); } .gallery img { aspect-ratio: 3 / 4; } }
.banner-img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }

/* v2: wordmark header, dropdown nav, mockup home */
.logo-img img { width: auto; height: 46px; }
.site-footer .logo-img img { height: 52px; }
.nav { gap: 4px 20px; }
.has-sub { position: relative; }
.caret { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 7px; }
.sub { display: none; position: absolute; top: 100%; left: -14px; min-width: 230px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px; flex-direction: column; box-shadow: 0 18px 40px rgba(0,0,0,0.5); z-index: 40; }
.sub a { padding: 10px 12px !important; border-radius: 8px; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; }
.sub a:hover { background: var(--panel-2); }
@media (min-width: 981px) { .has-sub:hover .sub, .has-sub:focus-within .sub { display: flex; } }
@media (max-width: 980px) {
  .has-sub .caret { display: none; }
  .sub { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; background: transparent; min-width: 0; }
  .sub a { border-bottom: 1px solid var(--line) !important; border-radius: 0; color: var(--muted) !important; }
}
.home-hero { background: #000; padding-block: 0 32px; border-bottom: 1px solid var(--line); }
.home-hero img { width: 100%; height: auto; max-width: 1180px; margin: 0 auto; }
.home-hero .btn-row { margin-top: 8px; }
.intro { text-align: center; max-width: 760px; margin: 0 auto 36px; display: flex; flex-direction: column; gap: 12px; }
.intro p { font-size: 18px; }
.panels { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 1000px) { .panels { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel p { color: var(--muted); }
.panel-title { font-size: 26px; color: var(--fg); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.news-item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item .date { border: 1px solid var(--green); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 58px; text-transform: uppercase; }
.news-item .date span { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--muted); }
.news-item .date b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 19px; color: var(--green); line-height: 1; }
.news-item h3 { font-size: 18px; color: var(--green); margin-bottom: 4px; }
.news-item p { font-size: 15px; }
.quick-list { display: flex; flex-direction: column; gap: 10px; }
.quick-list a { display: flex; justify-content: space-between; align-items: center; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--fg); text-decoration: none; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.quick-list a::after { content: "›"; color: var(--green); font-size: 22px; }
.quick-list a:hover { border-color: var(--green); color: var(--green); }
.hours-title { font-size: 18px; color: var(--yellow); margin-top: 6px; }
.hours { display: grid; grid-template-columns: auto auto; gap: 6px 12px; margin: 0; font-size: 15px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.tile { position: relative; display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000; text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.3s; }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 24px; color: var(--fg); }
.tile:hover img { transform: scale(1.04); }
.tile:hover span { color: var(--green); }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } }

/* Breadcrumbs: "Home › Classes › Pro" */
.crumbs { border-bottom: 1px solid var(--line); background: var(--panel); font-size: 14px; }
.crumbs .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-block: 10px; }
.crumbs a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--green); text-decoration: underline; }
.crumbs .sep { color: var(--muted); opacity: .6; }
.crumbs [aria-current] { color: var(--fg); font-weight: 700; }
/* New here? 3 steps, at the bottom of every page */
.next-steps { padding-block: 44px; border-top: 1px solid var(--line); background: var(--panel); }
.next-steps h2 { font-size: clamp(22px, 4vw, 30px); margin: 0 0 20px; }
.next-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.next-steps li a { display: flex; gap: 14px; align-items: flex-start; height: 100%; box-sizing: border-box; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--fg); text-decoration: none; min-height: 44px; }
.next-steps li a:hover, .next-steps li a:focus-visible { border-color: var(--green); }
.next-steps b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #000; font-weight: 900; }
.next-steps strong { display: block; font-size: 17px; margin-bottom: 2px; }
.next-steps li span { color: var(--muted); font-size: 15px; }
.next-steps li span strong { color: var(--fg); }
.next-steps .ns-alt { margin: 18px 0 0; color: var(--muted); }
.next-steps .ns-alt a { color: var(--green); font-weight: 700; }

.grid.plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid.plans .price { white-space: nowrap; font-size: clamp(34px, 3.4vw, 48px); }
.grid.plans .price small { white-space: nowrap; }

/* Page ends where the content ends: no bounce or blank area past the footer (iPhone/iPad Safari), no sideways drift. */
html { background: #020302; overscroll-behavior-y: none; }
body { overflow-x: clip; overscroll-behavior-y: none; }
.site-footer { padding-bottom: env(safe-area-inset-bottom, 0px); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Long-form text (privacy policy) */
.prose h2 { font-size: clamp(22px, 3vw, 30px); margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin: 0 0 14px; }
.prose .checklist { margin: 0 0 14px; }
.prose li { color: var(--muted); }

/* "Ask a question" chat box (chat.js). Fixed to the screen, so it never adds space to the bottom of a page. */
.chat-fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 10px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px 10px 14px; border: 2px solid var(--green); border-radius: 999px; background: var(--green); color: var(--ink); font: 800 14px var(--body); letter-spacing: 0.6px; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55); }
.chat-fab:hover { background: var(--yellow); border-color: var(--yellow); }
.chat-fab svg { width: 20px; height: 20px; flex: none; }
.chat-fab[hidden], .site-header.open ~ .chat-fab { display: none; }
.chat-fab-short { display: none; }
.chat-panel { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 10px)); z-index: 41; width: 390px; height: min(620px, calc(100vh - 110px)); height: min(620px, calc(100dvh - 110px)); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--green); border-radius: 18px; box-shadow: 0 18px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(57, 255, 20, 0.15); overflow: hidden; font-size: 16px; line-height: 1.45; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.chat-head span { display: block; color: var(--muted); font-size: 13px; }
.chat-x { flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--fg); font-size: 26px; line-height: 1; cursor: pointer; }
.chat-x:hover { border-color: var(--green); color: var(--green); }
.chat-body { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 8px; }
.chat-body[hidden], .chat-form[hidden], .chat-foot[hidden], .chat-office[hidden], .chat-chips[hidden] { display: none; }
.chat-log { display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.bot { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.me { align-self: flex-end; background: var(--green); color: var(--ink); font-weight: 600; border-bottom-right-radius: 4px; }
.chat-msg.note { align-self: center; max-width: 100%; background: none; color: var(--muted); font-size: 14px; text-align: center; padding: 4px 8px; }
.chat-msg a { color: var(--green); font-weight: 700; }
.chat-follow { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); white-space: normal; }
.chat-msg.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.chat-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chatDot 1.2s infinite ease-in-out; }
.chat-msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .chat-msg.typing span { animation: none; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chat-chip { min-height: 40px; padding: 8px 14px; border: 1px solid var(--green); border-radius: 999px; background: none; color: var(--fg); font: 600 14px var(--body); cursor: pointer; }
.chat-chip:hover { background: var(--green); color: var(--ink); }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--panel); }
.chat-form textarea { flex: 1; min-width: 0; min-height: 46px; max-height: 120px; resize: none; padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); color: var(--fg); font: 16px/1.4 var(--body); }
.chat-form textarea:focus, .chat-office input:focus, .chat-office textarea:focus { outline: none; border-color: var(--green); }
.chat-send { flex: none; width: 46px; height: 46px; border: 0; border-radius: 999px; background: var(--green); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.chat-send:hover { background: var(--yellow); }
.chat-send:disabled { opacity: 0.5; cursor: wait; }
.chat-send svg { width: 22px; height: 22px; }
.chat-foot { margin: 0; padding: 0 14px 12px; color: var(--muted); font-size: 13px; text-align: center; }
.chat-link { padding: 0; border: 0; background: none; color: var(--green); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.chat-link:hover { color: var(--yellow); }
.chat-office { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.chat-office-title { margin: 0; color: var(--muted); font-size: 14px; }
.chat-office-title strong { display: block; color: var(--fg); font-size: 17px; }
.chat-office label { display: flex; flex-direction: column; gap: 5px; font-weight: 700; font-size: 14px; }
.chat-office input, .chat-office textarea { font: 400 16px var(--body); color: var(--fg); background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 46px; }
.chat-office textarea { min-height: 90px; resize: vertical; }
.chat-small { margin: 0; color: var(--muted); font-size: 13px; }
.chat-err { margin: 0; min-height: 1em; color: var(--yellow); font-size: 14px; }
.chat-err:empty { display: none; }
.chat-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .chat-fab { padding: 10px 16px 10px 12px; }
  .chat-fab-long { display: none; }
  .chat-fab-short { display: inline; }
  .chat-panel { left: 0; right: 0; bottom: 0; width: auto; height: 86vh; height: 86dvh; max-height: 680px; border-radius: 18px 18px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
@media print { .chat-fab, .chat-panel { display: none !important; } }
.chat-msg a[href^="tel:"] { white-space: nowrap; }
.chat-lang { flex: none; margin-left: auto; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--fg); font: 700 13px var(--body); cursor: pointer; }
.chat-lang:hover { border-color: var(--green); color: var(--green); }

/* Home page program links: clean text blocks, no photos */
.prog-blocks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.prog-block { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 150px; padding: 24px 24px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--fg); transition: border-color 0.15s, background 0.15s; }
.prog-block { container-type: inline-size; }
.prog-block b { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 26px; font-size: clamp(22px, 12cqi, 34px); line-height: 0.95; letter-spacing: 0.2px; padding-right: 4px; }
@media (max-width: 600px) { .prog-block { min-height: 0; gap: 14px; padding: 20px 20px 18px; } }
.prog-block span { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.prog-block span::after { content: "›"; flex: none; color: var(--green); font-size: 34px; line-height: 0.7; font-weight: 700; }
.prog-block:hover, .prog-block:focus-visible { border-color: var(--green); background: var(--panel-2); }
.prog-block:hover b, .prog-block:focus-visible b { color: var(--green); }
.got-this { max-width: 760px; }
.got-line { margin: 10px 0 0; font-weight: 800; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); }
