:root {
  --red: #c0392b;
  --red-dark: #9e2b20;
  --black: #111111;
  --ink: #1b1b1b;
  --white: #ffffff;
  --paper: #f6f4f0;
  --gold: #d4a94c;
  --dark-card: #1a1a1a;
  --gray: #555555;
  --line: #e4e0d8;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --c-kids: #d4a94c;
  --c-teens: #e07b2e;
  --c-adults: #c0392b;
  --c-open: #6b6b6b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: 0.01em; margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--black); color: var(--white); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.muted { color: #b9b9b9; }
.kicker { font-family: var(--display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }

.topbar { background: var(--red); height: 6px; }

/* ---- header / nav ---- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-nav { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 12px 24px; }
.site-nav .brand { display: flex; align-items: center; gap: 10px; color: var(--black); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.site-nav .brand b { color: var(--red); font-weight: 800; }
.site-nav .brand img { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0 0 0 auto; padding: 0; }
.nav-links a { color: var(--black); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--red); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--red); }
.nav-links .btn { color: var(--white); padding: 10px 18px; border: 0; }
.nav-links .btn:hover { color: var(--white); }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-burger { display: none; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; margin-left: auto; }
.nav-burger span { display: block; height: 2px; background: var(--black); }
.site-nav .lang-switcher { margin-left: 0; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 40px; font-size: 0.95rem; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--black); }
.btn-outline { border-color: var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.link-arrow { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: ' →'; }

/* ---- hero ---- */
.hero { position: relative; background: linear-gradient(90deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.6) 55%, rgba(10,10,10,0.35) 100%), url('/img/hero-cover.jpg'); background-size: cover; background-position: center; color: var(--white); }
.hero .kicker { color: var(--gold); }
.hero-inner { padding-top: 110px; padding-bottom: 110px; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 800; text-transform: uppercase; max-width: 12ch; }
.hero h1 span { color: var(--red); }
.hero-lede { font-size: 1.2rem; max-width: 46ch; margin: 18px 0 0; color: #e8e8e8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-page .hero-inner { padding-top: 70px; padding-bottom: 60px; }
.hero-page h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); max-width: none; }

/* ---- stats ---- */
.stats { background: var(--black); color: var(--white); border-top: 4px solid var(--red); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { padding: 26px 20px; display: flex; flex-direction: column-reverse; gap: 2px; border-left: 1px solid #2a2a2a; }
.stat:first-child { border-left: 0; }
.stat-value { font-family: var(--display); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--white); }
.stat-label { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: #a8a8a8; }

/* ---- sections ---- */
.section { padding: 80px 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark .kicker { color: var(--gold); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2, .split h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-top: 4px solid var(--black); padding: 24px; background: var(--white); }
.card-kids { border-top-color: var(--c-kids); }
.card-teens { border-top-color: var(--c-teens); }
.card-adults { border-top-color: var(--c-adults); }
.card-open { border-top-color: var(--c-open); }
.card h2, .card h3 { font-size: 1.6rem; text-transform: uppercase; margin: 10px 0 8px; }
.card p { margin: 0; color: var(--gray); }
.card .slots { font-size: 0.95rem; }
.tag { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 2px 8px; color: var(--black); }
.tag-kids { background: var(--c-kids); }
.tag-teens { background: var(--c-teens); }
.tag-adults { background: var(--c-adults); color: var(--white); }
.tag-open { background: var(--c-open); color: var(--white); }

/* today */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.split-photo { margin: 0; border: 4px solid var(--red); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.today-list { list-style: none; margin: 24px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.today-item, .slot { display: flex; gap: 16px; align-items: baseline; padding: 12px 16px; border-left: 5px solid var(--c-adults); background: #1d1d1d; }
.today-item time, .slot time { font-family: var(--display); font-weight: 700; font-size: 1.15rem; white-space: nowrap; color: var(--gold); }
.cat-kids { border-left-color: var(--c-kids); }
.cat-teens { border-left-color: var(--c-teens); }
.cat-adults { border-left-color: var(--c-adults); }
.cat-open { border-left-color: var(--c-open); }

/* coaches */
.coach-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.coach img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #eee; filter: grayscale(0.2); }
.coach h3 { font-size: 1.5rem; text-transform: uppercase; margin: 14px 0 4px; }
.coach p { margin: 0; color: var(--gray); font-size: 0.95rem; }

/* price strip */
.price-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.price-pill { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; padding: 20px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--black); }
.price-pill span { width: 100%; font-family: var(--display); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.price-pill b { font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.price-pill small { color: var(--gray); }
.price-pill:hover { border-color: var(--red); }

/* cta + footer */
.cta-band { background: var(--red); color: var(--white); }
.cta-band .kicker { color: var(--black); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; }
.cta-band p { margin: 8px 0 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-red { background: var(--black); }
.cta-band .btn-red:hover { background: #000; }
.site-footer { background: var(--black); color: #cfcfcf; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 56px 24px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; gap: 16px; align-items: center; max-width: 360px; }
.footer-brand img { border-radius: 50%; }
.footer-brand p { margin: 4px 0 0; font-size: 0.95rem; }
.footer-name { font-family: var(--display); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; color: var(--white); }
.footer-name b { color: var(--red); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h2 { font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer-cols a { display: block; color: #cfcfcf; text-decoration: none; padding: 4px 0; }
.footer-cols a:hover { color: var(--white); }
.footer-base { max-width: 1160px; margin: 0 auto; padding: 18px 24px 28px; border-top: 1px solid #2a2a2a; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.85rem; color: #8a8a8a; }
.footer-base p { margin: 0; }
.footer-base a { color: #8a8a8a; text-decoration: none; }
.footer-base a:hover { color: var(--white); }

/* ---- schedule ---- */
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 0 0 28px; font-size: 0.95rem; }
.legend li { border-left: 5px solid; padding-left: 8px; }
.week { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; align-items: start; }
.day { border: 1px solid var(--line); background: var(--paper); }
.day h2 { display: flex; align-items: center; justify-content: space-between; font-size: 1.4rem; text-transform: uppercase; padding: 12px 14px; background: var(--black); color: var(--white); }
.day h2 em { font-style: normal; font-size: 0.8rem; letter-spacing: 0.12em; background: var(--red); padding: 2px 8px; }
.day .d-short { display: none; }
.day.is-today { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.day.is-today h2 { background: var(--red); }
.day.is-today h2 em { background: var(--black); }
.day.is-today .d-long { display: none; }
.day.is-today .d-short { display: inline; }
.day ol { list-style: none; margin: 0; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.day .slot { flex-direction: column; gap: 2px; background: var(--white); padding: 10px 12px; }
.day .slot time { color: var(--black); font-size: 1.05rem; }
.day .slot span { font-size: 0.95rem; line-height: 1.3; }

/* ---- membership ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--dark-card); color: var(--white); padding: 32px 26px 26px; border-top: 4px solid var(--gold); }
.price-card.featured { border-top-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.price-card .badge { position: absolute; top: -14px; left: 26px; background: var(--red); color: var(--white); font-family: var(--display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; padding: 4px 10px; }
.price-card .plan-name { color: var(--gold); text-transform: uppercase; font-size: 1.3rem; letter-spacing: 0.08em; }
.price-card .price { font-family: var(--display); font-size: 3rem; font-weight: 800; margin: 10px 0 6px; }
.price-card .price small { font-family: var(--body); font-size: 1rem; font-weight: 400; color: #aaa; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.price-card li { padding: 8px 0 8px 26px; border-bottom: 1px solid #2c2c2c; position: relative; }
.price-card li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 10px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.price-card .btn-outline { border-color: var(--white); color: var(--white); }
.price-card .btn-outline:hover { background: var(--white); color: var(--black); }

/* ---- instructors ---- */
.instructor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.instructor-card { display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); padding: 0 0 22px; background: var(--white); }
.instructor-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #eee; }
.instructor-card > div { padding: 0 22px; }
.instructor-card h2 { font-size: 1.8rem; text-transform: uppercase; }
.instructor-card p { margin: 8px 0 0; color: var(--gray); }
.instructor-card.lead { grid-column: 1 / -1; flex-direction: row; padding: 0; background: var(--black); color: var(--white); border-color: var(--black); }
.instructor-card.lead img { width: 42%; max-width: 420px; }
.instructor-card.lead > div { padding: 32px; align-self: center; }
.instructor-card.lead h2 { font-size: 2.6rem; }
.instructor-card.lead p { color: #d4d4d4; font-size: 1.1rem; }

/* ---- contact + legal ---- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.contact-card { border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 30px; }
.contact-card h2 { font-size: 1.8rem; text-transform: uppercase; margin-bottom: 10px; }
.contact-card .btn { margin-top: 12px; }
.ticks { padding-left: 1.2rem; margin: 0; }
.ticks li { margin-bottom: 8px; }

/* Member account pages */
.account-card { max-width: 480px; margin: 0 auto; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 30px; }
.account-card.wide { max-width: 760px; }
.account-form label { display: block; margin-bottom: 1rem; font-weight: 600; }
.account-form input { display: block; width: 100%; padding: 0.6rem; margin-top: 0.25rem; font-size: 1rem; border: 1px solid var(--line); border-radius: 4px; }
.account-card .btn { border: none; cursor: pointer; }
.account-events { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.account-event h3 { margin-bottom: 4px; }
.account-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 12px; }
.account-photo-grid img { width: 100%; height: 120px; object-fit: cover; border-radius: 4px; display: block; }
.account-photo-grid a { display: block; text-align: center; font-size: 0.85rem; margin-top: 4px; }
.account-downloads { list-style: none; padding: 0; margin-top: 12px; }
.account-downloads li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.legal-page { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.legal-page h1 { font-size: 3rem; text-transform: uppercase; margin-bottom: 12px; }
.legal-page h2 { font-size: 1.6rem; text-transform: uppercase; margin: 28px 0 8px; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { color: var(--red); border-bottom-color: var(--line); }
  .nav-links .nav-cta-item { margin-top: 14px; }
  .nav-links .btn { width: 100%; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .site-nav { position: relative; flex-wrap: nowrap; }
  .split { grid-template-columns: 1fr; }
  .instructor-card.lead { flex-direction: column; }
  .instructor-card.lead img { width: 100%; max-width: none; }
  .hero-inner { padding-top: 72px; padding-bottom: 72px; }
  .section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .coach-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .coach h3 { font-size: 1.2rem; }
  .coach p { display: none; }
  .site-nav .brand span { display: none; }
  .stat { border-left: 0; border-top: 1px solid #2a2a2a; }
  .footer-cols { gap: 36px; }
}

/* Admin */
body.admin { background: #f4f4f4; }
.admin-login, .admin-dashboard, .admin-form { max-width: 480px; margin: 4rem auto; background: var(--white); padding: 2rem; border-radius: 8px; }
.admin-form.wide { max-width: 720px; }
.admin-login label, .admin-form label { display: block; margin-bottom: 1rem; font-weight: 600; }
.admin-login input, .admin-form input, .admin-form textarea {
  display: block; width: 100%; padding: 0.5rem; margin-top: 0.25rem; font-size: 1rem;
  border: 1px solid #ccc; border-radius: 4px;
}
.admin-login button, .admin-form button {
  background: var(--red); color: var(--white); border: none; padding: 0.7rem 1.2rem;
  border-radius: 4px; font-weight: 700; cursor: pointer;
}
.admin-nav { list-style: none; padding: 0; }
.admin-nav li { margin-bottom: 0.75rem; }
.error { color: var(--red); font-weight: 600; }
.success { color: #1e7a3c; font-weight: 600; }
.admin-row { border: 1px solid #ddd; border-radius: 6px; padding: 1rem; margin-bottom: 1rem; }
.admin-form select {
  display: block; width: 100%; padding: 0.5rem; margin-top: 0.25rem; font-size: 1rem;
  border: 1px solid #ccc; border-radius: 4px;
}
.admin-checkbox { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; margin-bottom: 0.5rem; }
.admin-checkbox input[type=checkbox] { display: inline-block; width: auto; margin-top: 0; }
.pill { display: inline-block; background: #eee; border-radius: 999px; padding: 0.15rem 0.6rem; font-size: 0.8rem; font-weight: 600; margin-left: 0.5rem; }
.admin-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.admin-photo img { width: 100%; height: 120px; object-fit: cover; border-radius: 4px; display: block; margin-bottom: 0.4rem; }

/* Google's own widget (the raw <select> with 100+ options and its
   "Powered by Google Translate" chrome) is kept in the DOM so it still
   drives the actual translation, but it's never shown — the visible
   control is the custom .lang-switcher built in translate-widget.ejs,
   which reads Google's options and renders a compact, site-styled
   dropdown instead of the browser's full-height native <select> list. */
.translate-widget-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lang-switcher {
  position: relative;
  margin-left: auto;
}
.lang-switcher-button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
}
.lang-switcher-button:hover {
  border-color: var(--red);
}
.lang-switcher-caret {
  font-size: 0.7rem;
  color: #888;
}
/* Specificity note: .site-nav ul {display:flex; flex-wrap:wrap;} (used for
   the main nav links) would otherwise win over a plain .lang-switcher-list
   rule since it has higher specificity — scope this selector under
   .lang-switcher so it wins instead. Visibility is driven by the .is-open
   class (toggled in JS) rather than the `hidden` attribute, since an
   explicit `display` value here would otherwise override the browser's
   default `[hidden] { display: none }` UA rule. */
.lang-switcher .lang-switcher-list {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  max-height: 260px;
  width: 220px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 20;
}
.lang-switcher .lang-switcher-list.is-open {
  display: block;
}
.lang-switcher-list li {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}
.lang-switcher-list li:hover {
  background: #f4f4f4;
  color: var(--red);
}

/* Reposition Google's translate banner to a fixed bar at the bottom of the
   viewport instead of the default top placement, which pushes page content
   down. Google sets `body { top: <N>px }` via an inline style with high
   specificity from its own JS, so !important is required to override it. */
body {
  top: 0 !important;
}
.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate {
  top: auto !important;
  bottom: 0 !important;
  position: fixed !important;
}

/* Events */
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.event-item { display: flex; gap: 20px; align-items: flex-start; border: 1px solid var(--line); border-left: 4px solid var(--black); padding: 20px; background: var(--white); }
.event-date { flex: none; width: 64px; text-align: center; background: var(--black); color: var(--white); padding: 10px 0; }
.event-date b { display: block; font-size: 1.8rem; line-height: 1; }
.event-date span { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.event-body h3 { margin: 4px 0 6px; font-size: 1.4rem; text-transform: uppercase; }
.event-body p { margin: 0 0 6px; color: var(--gray); }
.event-type { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.event-meta { font-size: 0.95rem; }
.events-past-h { margin: 48px 0 16px; text-transform: uppercase; }

/* Maintenance mode */
.maint-banner { background: #b01c2a; color: #fff; padding: 10px 16px; font-weight: 600; text-align: center; }
.maint-banner a { color: #fff; text-decoration: underline; }

/* Holding page (design A: belt promotion) */
body.maint { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #0e0e0e; color: #f4f1e8; font-family: Barlow, system-ui, sans-serif; }
.maint-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 48px 24px; text-align: center; }
.maint-crest { position: relative; width: 168px; height: 168px; display: flex; align-items: center; justify-content: center; }
.maint-crest img { width: 136px; height: 136px; border-radius: 50%; }
.maint-ring { position: absolute; inset: 0; width: 168px; height: 168px; opacity: .6; animation: maint-spin 24s linear infinite; }
.maint-kicker { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: .3em; text-transform: uppercase; color: #c9b77c; }
.maint-stage h1 { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(3rem, 9vw, 5.5rem); line-height: .95; text-transform: uppercase; }
.maint-message { margin: 0; max-width: 560px; font-size: 1.15rem; line-height: 1.55; color: #cfcac0; }
.maint-belt-wrap { width: min(640px, 100%); display: flex; flex-direction: column; gap: 10px; }
.maint-belt { height: 30px; border-radius: 4px; background: #1e1e1e; overflow: hidden; border: 1px solid #2e2e2e; }
.maint-belt-fill { height: 100%; width: 100%; position: relative; background: linear-gradient(90deg, #edeae2 0 20%, #2f5fb3 20% 40%, #6b3fa0 40% 60%, #6e4426 60% 80%, #111 80% 100%); animation: maint-fill 9s cubic-bezier(.6,.05,.3,1) infinite alternate; }
.maint-bar { position: absolute; right: 12px; top: 0; bottom: 0; width: 46px; background: #b01c2a; display: flex; align-items: center; justify-content: space-evenly; }
.maint-bar i { width: 3px; height: 18px; background: #fff; }
.maint-belt-labels { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #8c877e; }
.maint-clock { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.maint-clock-label { font-family: 'Barlow Condensed', sans-serif; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; color: #8c877e; }
.maint-units { display: flex; gap: 10px; }
.maint-units span { min-width: 76px; padding: 10px 12px; background: #1a1a1a; border-radius: 8px; display: flex; flex-direction: column; }
.maint-units b { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 2.25rem; line-height: 1; font-variant-numeric: tabular-nums; }
.maint-units small { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: #8c877e; }
.maint-strip { border-top: 1px solid #222; background: #121212; padding: 18px 48px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: .95rem; }
.maint-strip h2 { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: .15em; text-transform: uppercase; color: #c9b77c; }
.maint-strip ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.maint-strip time { font-weight: 700; font-variant-numeric: tabular-nums; }
.maint-strip p { margin: 0; color: #8c877e; }
.maint-email { margin-left: auto; color: #c9b77c; }
@keyframes maint-fill { from { width: 6%; } to { width: 100%; } }
@keyframes maint-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .maint-belt-fill, .maint-ring { animation: none; } }
@media (max-width: 700px) {
  .maint-crest, .maint-ring { width: 120px; height: 120px; }
  .maint-crest img { width: 96px; height: 96px; }
  .maint-units span { min-width: 64px; }
  .maint-strip { padding: 18px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .maint-strip ol { flex-direction: column; gap: 6px; }
  .maint-email { margin-left: 0; }
}
