@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@900&display=swap");

:root {
  --bg: #030303;
  --bg-soft: #080808;
  --panel: rgba(14, 14, 14, 0.88);
  --panel-strong: rgba(22, 22, 22, 0.94);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f4;
  --muted: #a8a8a8;
  --red: #f01414;
  --red-dark: #9d0909;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  --shell: min(1160px, calc(100% - 40px));
  color-scheme: dark;
  --font-japanese-display: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

html[data-theme="light"] {
  --bg: #f5f1ec;
  --bg-soft: #ffffff;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --line: rgba(20, 20, 20, 0.11);
  --line-strong: rgba(20, 20, 20, 0.22);
  --text: #111111;
  --muted: #615f5a;
  --shadow: 0 22px 70px rgba(20, 16, 12, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
}

html.is-script-scrolling {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 0%, rgba(240, 20, 20, 0.11), transparent 32rem),
    linear-gradient(180deg, #030303 0%, #000 44%, #050505 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
iframe {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--red);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 max(20px, calc((100vw - 1160px) / 2));
  background: rgba(0, 0, 0, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(0, 0, 0, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  color: #fff;
}

.brand-logo-frame {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 20, 20, 0.2), rgba(240, 20, 20, 0.02) 66%);
  box-shadow: 0 0 0 1px rgba(240, 20, 20, 0.22), 0 0 34px rgba(240, 20, 20, 0.22);
}

.brand-logo-frame::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.72;
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(240, 20, 20, 0.46));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand-name {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-subline {
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.site-nav .nav-cta {
  padding: 11px 16px;
  color: #fff;
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: #fff;
  color: #000;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-strong);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.theme-toggle-dot {
  position: relative;
  width: 28px;
  height: 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.theme-toggle-dot::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  transition: transform 0.18s ease, background 0.18s ease;
}

html[data-theme="light"] .theme-toggle-dot::after {
  transform: translateX(13px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  padding: 130px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.54);
  transform: scale(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.59) 38%, rgba(0, 0, 0, 0.23) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.56) 0%, transparent 44%, rgba(0, 0, 0, 0.82) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-kicker {
  max-width: 520px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 8.4vw, 116px);
  line-height: 0.89;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

h1 span,
h2 span {
  color: var(--red);
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions,
.center-action,
.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn,
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover,
.btn:focus-visible,
.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 32px rgba(240, 20, 20, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #fff;
  color: #000;
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.11);
}

.stats-strip {
  position: relative;
  padding: 54px 0 60px;
  background: #020202;
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat-card {
  padding: 32px 20px;
  background: #050505;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--red);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat-card span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.trust-point {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.trust-point::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--red);
  transform: rotate(45deg);
}

.section-block {
  position: relative;
  padding: clamp(82px, 9vw, 138px) 0;
  border-bottom: 1px solid var(--line);
}

.section-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.section-block > * {
  position: relative;
  z-index: 2;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.section-copy,
.section-head p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.section-copy + .btn {
  margin-top: 28px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-card,
.price-card,
.calendar-day,
.training-card,
.map-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.step-card {
  padding: 24px;
}

.step-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.step-card h3,
.training-card h3,
.price-card h3 {
  margin: 12px 0 10px;
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.step-card p,
.training-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 30px;
  align-items: end;
  margin-bottom: 36px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 26px 20px 20px;
  overflow: hidden;
}

.price-card.is-featured {
  border-color: rgba(240, 20, 20, 0.9);
  background: linear-gradient(180deg, rgba(240, 20, 20, 0.13), rgba(18, 18, 18, 0.94));
}

.card-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 7px 10px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  margin: 6px 0 20px;
}

.price strong {
  display: block;
  color: #fff;
  font-size: 35px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.price span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.price-card .card-link {
  margin-top: auto;
  border-color: var(--line-strong);
  color: #fff;
}

.price-card.is-featured .card-link {
  background: var(--red);
  border-color: var(--red);
}

.price-card .card-link:hover,
.price-card .card-link:focus-visible {
  background: #fff;
  color: #000;
}

.mini-memberships {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.mini-memberships a,
.app-strip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.mini-memberships a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 16px 18px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.mini-memberships a:hover,
.mini-memberships a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.mini-memberships span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-memberships strong {
  color: var(--red);
  font-size: 18px;
}

.app-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
}

.app-strip div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.app-strip a,
.social-row a,
address a {
  color: #fff;
  border-bottom: 1px solid rgba(240, 20, 20, 0.85);
}

.schedule-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calendar-day {
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
    rgba(10, 10, 10, 0.88);
}

.calendar-day header {
  min-height: 64px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.calendar-day header span {
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.calendar-day header small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.calendar-events {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.calendar-event {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 13px 12px 13px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--red);
  background: rgba(0,0,0,0.36);
}

.calendar-event time {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-event strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.22;
}

.calendar-meta,
.calendar-event em {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  font-style: normal;
}

.schedule-note {
  max-width: 780px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.training-card {
  min-height: 190px;
  padding: 30px;
  background: rgba(9, 9, 9, 0.92);
  box-shadow: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.training-card:hover {
  background: rgba(240, 20, 20, 0.08);
  transform: translateY(-2px);
}

.training-card > span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--red);
  border: 1px solid rgba(240, 20, 20, 0.42);
  font-family: var(--font-japanese-display);
  font-size: 15px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.035em;
}

.story-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.story-image {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(240, 20, 20, 0.22), transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
}

.story-image img {
  max-height: 390px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.08);
  opacity: 0.82;
}

.story-image span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 10px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.narrow {
  max-width: 760px;
}

.centered,
.centered-title {
  text-align: center;
}

.centered-title {
  margin-bottom: 32px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 15px;
}

address {
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
}

address strong {
  color: #fff;
}

.social-row {
  margin-bottom: 26px;
}

.social-row a {
  color: var(--muted);
  font-size: 13px;
}

.map-card {
  min-height: 440px;
  overflow: hidden;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(1.05);
}

.site-footer {
  padding: 30px 0 92px;
  background: #000;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.mobile-sticky-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .schedule-calendar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --shell: min(100% - 28px, 760px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    max-height: calc(100vh - 74px);
    padding: 14px 20px 24px;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid var(--line-strong);
    transform: translateY(-112%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a,
  .site-nav .theme-toggle {
    min-height: 52px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .theme-toggle {
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border-top: 0;
    border-left: 0;
    border-right: 0;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 14px;
    border-bottom: 0;
  }

  .hero {
    min-height: 720px;
    padding-top: 118px;
  }

  .stats-grid,
  .trust-grid,
  .steps-grid,
  .section-head,
  .split-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .training-grid,
  .mini-memberships {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 0;
  }

  .schedule-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 64px;
  }

  .site-header {
    height: 66px;
  }

  .site-nav {
    top: 66px;
    max-height: calc(100vh - 66px);
  }

  .brand-logo-frame {
    width: 42px;
    height: 42px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 11px;
  }

  .brand-subline {
    display: none;
  }

  .hero {
    min-height: 680px;
    padding: 112px 0 74px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.72)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.92));
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions .btn,
  .trial-block .btn {
    width: 100%;
  }

  .stats-strip {
    padding: 30px 0 38px;
  }

  .stats-grid,
  .schedule-calendar {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .section-block {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .step-card,
  .training-card {
    padding: 22px;
  }

  .story-image,
  .map-card,
  .map-card iframe {
    min-height: 320px;
    height: 320px;
  }

  .story-image img {
    max-height: 285px;
  }

  .footer-inner {
    display: grid;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    background: var(--red);
    color: #fff;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 8px 28px rgba(240, 20, 20, 0.25);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}


/* Light theme: dark remains the default. This class only applies after the visitor chooses Light. */
html[data-theme="light"] body {
  background:
    radial-gradient(circle at 78% 0%, rgba(240, 20, 20, 0.10), transparent 34rem),
    linear-gradient(180deg, #f7f3ee 0%, #fffaf5 44%, #f1ebe4 100%);
  color: var(--text);
}

html[data-theme="light"] .site-header {
  background: #fffaf5;
  border-color: rgba(20, 20, 20, 0.12);
  box-shadow: 0 8px 26px rgba(20, 16, 12, 0.08);
}

html[data-theme="light"] .site-header.is-scrolled,
html[data-theme="light"] body.nav-open .site-header {
  background: #fffaf5;
  border-color: rgba(20, 20, 20, 0.14);
  box-shadow: 0 10px 30px rgba(20, 16, 12, 0.10);
}

html[data-theme="light"] .brand,
html[data-theme="light"] .site-nav a,
html[data-theme="light"] .theme-toggle {
  color: rgba(15, 15, 15, 0.78);
}

html[data-theme="light"] .brand-name {
  color: #111;
}

html[data-theme="light"] .brand-subline {
  color: rgba(17, 17, 17, 0.58);
}

html[data-theme="light"] .brand-logo-frame {
  background: radial-gradient(circle, rgba(240, 20, 20, 0.18), rgba(255, 255, 255, 0.48) 68%);
  box-shadow: 0 0 0 1px rgba(240, 20, 20, 0.22), 0 18px 34px rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .theme-toggle {
  background: rgba(17, 17, 17, 0.035);
  border-color: rgba(17, 17, 17, 0.18);
}

html[data-theme="light"] .theme-toggle-dot {
  background: rgba(17, 17, 17, 0.08);
}

html[data-theme="light"] .site-nav a:hover,
html[data-theme="light"] .site-nav a:focus-visible,
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:focus-visible {
  color: #000;
}

html[data-theme="light"] .site-nav .nav-cta,
html[data-theme="light"] .site-nav .nav-cta:hover,
html[data-theme="light"] .site-nav .nav-cta:focus-visible,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .mobile-sticky-cta {
  color: #fff;
}

html[data-theme="light"] .site-nav .nav-cta:hover,
html[data-theme="light"] .site-nav .nav-cta:focus-visible,
html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-primary:focus-visible {
  background: #111;
  border-color: #111;
}

html[data-theme="light"] .nav-toggle span {
  background: #111;
}

html[data-theme="light"] .hero,
html[data-theme="light"] .hero h1,
html[data-theme="light"] .hero .hero-copy,
html[data-theme="light"] .hero .hero-kicker,
html[data-theme="light"] .hero .btn-secondary {
  color: #fff;
}

html[data-theme="light"] .hero-video {
  filter: grayscale(1) contrast(1.08) brightness(0.62);
}

html[data-theme="light"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.5) 42%, rgba(0, 0, 0, 0.1) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 45%, rgba(247, 243, 238, 0.96) 100%);
}

html[data-theme="light"] .stats-strip {
  background: #f7f3ee;
}

html[data-theme="light"] .stat-card,
html[data-theme="light"] .calendar-day,
html[data-theme="light"] .training-card,
html[data-theme="light"] .faq-list details {
  background: rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .step-card,
html[data-theme="light"] .price-card,
html[data-theme="light"] .map-card {
  background: var(--panel);
}

html[data-theme="light"] .price-card.is-featured {
  background: linear-gradient(180deg, rgba(240, 20, 20, 0.12), rgba(255, 255, 255, 0.96));
}

html[data-theme="light"] .section-block::before {
  background:
    linear-gradient(rgba(20, 20, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, 0.035) 1px, transparent 1px);
}

html[data-theme="light"] .section-copy,
html[data-theme="light"] .section-head p,
html[data-theme="light"] .trust-point,
html[data-theme="light"] .price-card li,
html[data-theme="light"] address {
  color: rgba(17, 17, 17, 0.72);
}

html[data-theme="light"] .step-card h3,
html[data-theme="light"] .training-card h3,
html[data-theme="light"] .price-card h3,
html[data-theme="light"] .price strong,
html[data-theme="light"] .calendar-event strong,
html[data-theme="light"] .faq-list summary,
html[data-theme="light"] address strong,
html[data-theme="light"] .app-strip a,
html[data-theme="light"] .social-row a,
html[data-theme="light"] address a {
  color: var(--text);
}

html[data-theme="light"] .calendar-day header span,
html[data-theme="light"] .calendar-event strong {
  color: var(--text);
}

html[data-theme="light"] .calendar-event {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 17, 17, 0.08);
}

html[data-theme="light"] .calendar-meta,
html[data-theme="light"] .calendar-event em,
html[data-theme="light"] .schedule-note {
  color: rgba(17, 17, 17, 0.62);
}

html[data-theme="light"] .content-modal-card {
  background:
    radial-gradient(circle at top left, rgba(240,20,20,0.12), transparent 20rem),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(244,241,236,0.98));
  color: var(--text);
}

html[data-theme="light"] .modal-copy {
  color: rgba(17, 17, 17, 0.72);
}

html[data-theme="light"] .modal-copy strong,
html[data-theme="light"] .content-modal-card h2 {
  color: var(--text);
}

html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .price-card .card-link {
  background: rgba(17, 17, 17, 0.035);
  border-color: var(--line-strong);
  color: var(--text);
}

html[data-theme="light"] .price-card.is-featured .card-link {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

html[data-theme="light"] .price-card.is-featured .card-link:hover,
html[data-theme="light"] .price-card.is-featured .card-link:focus-visible {
  background: #111;
  border-color: #111;
  color: #fff;
}

html[data-theme="light"] .hero .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

html[data-theme="light"] .hero .btn-secondary:hover,
html[data-theme="light"] .hero .btn-secondary:focus-visible {
  background: #fff;
  color: #000;
}

html[data-theme="light"] .mini-memberships a,
html[data-theme="light"] .app-strip {
  background: rgba(255, 255, 255, 0.68);
}

html[data-theme="light"] .mini-memberships a:hover,
html[data-theme="light"] .mini-memberships a:focus-visible,
html[data-theme="light"] .training-card:hover {
  background: rgba(240, 20, 20, 0.065);
}

html[data-theme="light"] .story-image {
  background:
    radial-gradient(circle at center, rgba(240, 20, 20, 0.12), transparent 46%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.045), rgba(255, 255, 255, 0.82));
}

html[data-theme="light"] .story-image img {
  opacity: 0.92;
}

html[data-theme="light"] .map-card iframe {
  filter: grayscale(1) contrast(0.96) brightness(1.02);
}

html[data-theme="light"] .site-footer {
  background: #f7f3ee;
  color: rgba(17, 17, 17, 0.52);
}

@media (max-width: 920px) {
  html[data-theme="light"] .site-nav {
    background: rgba(255, 250, 245, 0.98);
  }
}

@media (max-width: 620px) {
  html[data-theme="light"] .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.54)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(247, 243, 238, 0.96));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* v04 admin rich-content support */
.section-head-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.hero-copy p,
.section-copy p,
.section-head-copy p,
.faq-answer p {
  margin: 0 0 0.85em;
}

.hero-copy p:last-child,
.section-copy p:last-child,
.section-head-copy p:last-child,
.faq-answer p:last-child {
  margin-bottom: 0;
}

.section-copy ul,
.section-head-copy ul,
.faq-answer ul {
  margin: 0.75em 0 0.75em 1.2em;
  padding: 0;
}

.faq-answer {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 15px;
}

html[data-theme="light"] .section-head-copy,
html[data-theme="light"] .faq-answer {
  color: rgba(17, 17, 17, 0.72);
}

/* v06 newsletter + GDPR cookie system */
.newsletter-block {
  background:
    radial-gradient(circle at 78% 18%, rgba(240, 20, 20, 0.13), transparent 30rem),
    #050505;
}

.newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(240, 20, 20, 0.42);
  box-shadow: var(--shadow);
}

.newsletter-form {
  display: grid;
  gap: 16px;
}

.newsletter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.newsletter-form label {
  display: grid;
  gap: 8px;
}

.newsletter-form label > span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: rgba(240, 20, 20, 0.78);
  box-shadow: 0 0 0 3px rgba(240, 20, 20, 0.14);
}

.newsletter-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.newsletter-consent {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.newsletter-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--red);
  flex: 0 0 auto;
}

.newsletter-consent span {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  font-size: 13px !important;
}

.newsletter-status {
  display: none;
  min-height: 22px;
  font-size: 13px;
  font-weight: 750;
}

.newsletter-status.is-visible {
  display: block;
}

.newsletter-status.is-ok {
  color: #86efac;
}

.newsletter-status.is-error {
  color: #fca5a5;
}

.map-consent-card {
  position: relative;
}

.external-media-placeholder {
  min-height: 440px;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(240, 20, 20, 0.12), transparent 22rem),
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
}

.external-media-placeholder strong {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.external-media-placeholder p {
  max-width: 360px;
  margin: 0 auto 6px;
  color: var(--muted);
}

.footer-legal-actions a,
.footer-privacy-actions button {
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(240, 20, 20, 0.65);
  padding: 0 0 2px;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.footer-legal-actions a:hover,
.footer-privacy-actions button:hover {
  color: #fff;
}

body.modal-open {
  overflow: hidden;
}

.content-modal {
  position: fixed;
  inset: 0;
  z-index: 270;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
}

.content-modal[hidden] {
  display: none !important;
}

.content-modal-card {
  position: relative;
  width: min(860px, 100%);
  max-height: min(82vh, 860px);
  overflow: auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(240, 20, 20, 0.55);
  background:
    radial-gradient(circle at top left, rgba(240,20,20,0.16), transparent 20rem),
    linear-gradient(135deg, rgba(17,17,17,0.98), rgba(4,4,4,0.98));
  box-shadow: 0 30px 100px rgba(0,0,0,0.7);
}

.content-modal-card h2 {
  margin: 0 0 22px;
  max-width: 720px;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.content-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.07);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.content-modal-close:hover,
.content-modal-close:focus-visible {
  background: var(--red);
  border-color: var(--red);
  outline: none;
}

.modal-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.modal-copy p {
  margin: 0 0 18px;
}

.modal-copy strong {
  color: #fff;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 250;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.9fr) auto;
  gap: 20px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px;
  background: rgba(5, 5, 5, 0.96);
  border: 1px solid rgba(240, 20, 20, 0.56);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden],
.cookie-modal[hidden],
.external-media-placeholder[hidden],
[data-cookie-media-src][hidden] {
  display: none !important;
}

.cookie-banner-copy strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cookie-banner-copy p {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
}

.cookie-preferences {
  display: grid;
  gap: 8px;
}

.cookie-check {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-check input {
  accent-color: var(--red);
}

.cookie-check.is-locked {
  opacity: 0.66;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  min-height: 40px;
  padding: 10px 13px;
}

.cookie-link,
.footer-privacy-actions button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cookie-link:hover,
.cookie-link:focus-visible,
.footer-privacy-actions button:hover,
.footer-privacy-actions button:focus-visible {
  color: var(--red);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 270;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.cookie-modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(780px, calc(100vh - 44px));
  overflow: auto;
  padding: clamp(26px, 5vw, 46px);
  background: var(--panel-strong);
  border: 1px solid rgba(240, 20, 20, 0.45);
  box-shadow: var(--shadow);
}

.cookie-modal-card h2 {
  font-size: clamp(34px, 5vw, 56px);
}

.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.footer-privacy-actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
}

html[data-theme="light"] .newsletter-block {
  background:
    radial-gradient(circle at 78% 18%, rgba(240, 20, 20, 0.10), transparent 30rem),
    #f7f3ee;
}

html[data-theme="light"] .newsletter-card,
html[data-theme="light"] .cookie-modal-card {
  background: var(--panel-strong);
}

html[data-theme="light"] .newsletter-form label > span,
html[data-theme="light"] .external-media-placeholder strong,
html[data-theme="light"] .cookie-modal-card h2 {
  color: var(--text);
}

html[data-theme="light"] .newsletter-form input[type="text"],
html[data-theme="light"] .newsletter-form input[type="email"] {
  background: rgba(255,255,255,0.72);
  color: var(--text);
}

html[data-theme="light"] .external-media-placeholder {
  background:
    radial-gradient(circle at center, rgba(240, 20, 20, 0.10), transparent 22rem),
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.46));
}

html[data-theme="light"] .cookie-banner {
  background: rgba(255, 250, 245, 0.97);
  color: var(--text);
}

html[data-theme="light"] .cookie-banner-copy strong,
html[data-theme="light"] .cookie-check {
  color: var(--text);
}

html[data-theme="light"] .cookie-banner-copy p {
  color: rgba(17, 17, 17, 0.68);
}

@media (max-width: 980px) {
  .newsletter-card,
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .newsletter-card {
    padding: 24px;
  }

  .newsletter-row {
    grid-template-columns: 1fr;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 74px;
    padding: 14px;
  }

  .cookie-actions .btn,
  .cookie-actions .cookie-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* v09 story people + footer logos / credit */
.story-personalities {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(240, 20, 20, 0.36);
}

.story-personalities h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-personality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-personality-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.story-personality-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center center;
  padding: 8px;
  background: radial-gradient(circle at 50% 35%, rgba(240, 20, 20, 0.14), rgba(0, 0, 0, 0.36) 58%, rgba(0, 0, 0, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.08);
  filter: grayscale(1) contrast(1.08);
  opacity: 0.94;
}

.story-personality-card h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
  line-height: 1.16;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.story-personality-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.story-personality-card .story-personality-role {
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-personality-card a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  word-break: break-word;
  border-bottom: 1px solid rgba(240, 20, 20, 0.7);
}

.story-personality-card a:hover,
.story-personality-card a:focus-visible {
  color: var(--red);
}

.footer-logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-strip a,
.footer-logo-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  opacity: 0.62;
  transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.footer-logo-strip a:hover,
.footer-logo-strip a:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-logo-strip img {
  display: block;
  width: auto;
  max-width: 112px;
  max-height: 44px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.4) contrast(1.06);
}

.footer-credit {
  margin-top: 20px;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: none;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(240, 20, 20, 0.55);
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #fff;
}

html[data-theme="light"] .story-personalities h3,
html[data-theme="light"] .story-personality-card h4 {
  color: var(--text);
}

html[data-theme="light"] .story-personality-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(17, 17, 17, 0.1);
}

html[data-theme="light"] .story-personality-card img {
  background: radial-gradient(circle at 50% 35%, rgba(240, 20, 20, 0.1), rgba(255, 255, 255, 0.9) 55%, rgba(235, 235, 235, 0.94));
  border-color: rgba(17, 17, 17, 0.09);
}

html[data-theme="light"] .story-personality-card a {
  color: var(--text);
}

html[data-theme="light"] .footer-logo-strip {
  border-top-color: rgba(17, 17, 17, 0.1);
}

html[data-theme="light"] .footer-logo-strip img {
  filter: grayscale(1) brightness(0.8) contrast(1.08);
}

html[data-theme="light"] .footer-credit a {
  color: rgba(17, 17, 17, 0.62);
}

html[data-theme="light"] .footer-credit a:hover,
html[data-theme="light"] .footer-credit a:focus-visible {
  color: var(--red);
}

@media (max-width: 760px) {
  .story-personality-grid {
    grid-template-columns: 1fr;
  }

  .story-personality-card {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
  }

  .story-personality-card img {
    width: 88px;
    height: 88px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 6px;
  }

  .footer-logo-strip {
    gap: 14px 20px;
  }

  .footer-logo-strip img {
    max-width: 96px;
    max-height: 38px;
  }
}

@media (max-width: 460px) {
  .story-personality-card {
    grid-template-columns: 1fr;
  }

  .story-personality-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 8px;
  }
}

/* v10 i18n language switch */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  min-width: 34px;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid transparent;
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a.is-active {
  color: #fff;
  background: rgba(255, 0, 0, 0.18);
  border-color: rgba(255, 0, 0, 0.55);
}

html[data-theme="light"] .language-switch {
  background: rgba(17, 17, 17, 0.035);
  border-color: rgba(17, 17, 17, 0.18);
}

html[data-theme="light"] .language-switch a {
  color: rgba(15, 15, 15, 0.72);
}

html[data-theme="light"] .language-switch a:hover,
html[data-theme="light"] .language-switch a:focus-visible,
html[data-theme="light"] .language-switch a.is-active {
  color: #111;
  background: rgba(255, 0, 0, 0.12);
  border-color: rgba(255, 0, 0, 0.36);
}

@media (max-width: 920px) {
  .language-switch {
    width: 100%;
    justify-content: stretch;
    margin: 8px 0;
  }

  .language-switch a {
    flex: 1;
    min-height: 44px;
    border-bottom: 0;
  }
}

/* v11: cleaner two-line desktop navigation for Dutch labels */
@media (min-width: 921px) {
  html {
    scroll-padding-top: 106px;
  }

  .site-header {
    height: 88px;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 7px;
    font-size: 11px;
    letter-spacing: 0.075em;
  }

  .nav-main,
  .nav-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .nav-main {
    gap: clamp(13px, 1.35vw, 22px);
  }

  .nav-tools {
    gap: 8px;
    opacity: 0.94;
  }

  .site-nav .nav-cta {
    padding: 10px 14px;
    white-space: nowrap;
  }

  .nav-tools .language-switch {
    padding: 2px;
  }

  .nav-tools .language-switch a {
    min-height: 26px;
    min-width: 31px;
    padding: 0 7px;
    font-size: 10px;
  }

  .nav-tools .theme-toggle {
    min-height: 32px;
    padding: 0 10px;
    font-size: 10px;
  }

  .nav-tools .theme-toggle-dot {
    width: 26px;
    height: 14px;
  }

  .nav-tools .theme-toggle-dot::after {
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
  }

  html[data-theme="light"] .nav-tools .theme-toggle-dot::after {
    transform: translateX(12px);
  }
}

@media (max-width: 920px) {
  .site-header {
    height: 74px;
  }

  .site-nav {
    top: 74px;
    max-height: calc(100vh - 74px);
  }

  .nav-main,
  .nav-tools {
    display: grid;
    gap: 0;
  }

  .nav-tools {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    order: 20;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 66px;
  }

  .site-nav {
    top: 66px;
    max-height: calc(100vh - 66px);
  }
}

/* v14: keep language switching from leaving menu/reveal layers in a half-rendered state. */
html.is-language-switching .reveal,
html.is-language-switching .reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html.is-language-switching .site-nav,
html.is-language-switching .nav-main,
html.is-language-switching .nav-tools {
  transition: none !important;
}

/* June 2026 first revision: private lessons, merchandise, contact expansion and history page. */
.story-image {
  min-height: 520px;
  place-items: stretch;
}

.story-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(.88) contrast(1.08);
  opacity: .94;
}

.private-lesson-grid,
.merchandise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.private-lesson-card,
.merchandise-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 20, 20, .15), transparent 12rem),
    rgba(9, 9, 9, .92);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.private-lesson-card:hover,
.merchandise-card:hover,
.merchandise-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(240, 20, 20, .58);
}

.private-lesson-card h3,
.merchandise-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.05;
  text-transform: uppercase;
}

.private-lesson-card > strong,
.merchandise-card > strong {
  position: relative;
  z-index: 1;
  color: var(--red);
  font-size: 18px;
}

.private-lesson-card p {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  color: var(--muted);
}

.private-lesson-card > a:not(.btn) {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 4px 0 18px;
  color: #fff;
  border-bottom: 1px solid var(--red);
}

.private-lesson-card .btn {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: 2px;
}

.private-lesson-mark,
.merchandise-glyph {
  position: absolute;
  top: 12px;
  right: 16px;
  color: rgba(240, 20, 20, .18);
  font-family: var(--font-japanese-display);
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 900;
  font-synthesis: none;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
}

.private-lesson-contact {
  border-color: rgba(240, 20, 20, .6);
  background:
    linear-gradient(145deg, rgba(240, 20, 20, .16), rgba(10, 10, 10, .95)),
    rgba(9, 9, 9, .92);
}

.merchandise-card {
  min-height: 230px;
}

.merchandise-shop-card {
  border-color: rgba(240, 20, 20, .6);
}

.contact-extra {
  display: grid;
  gap: 18px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-extra > div {
  display: grid;
  gap: 5px;
}

.contact-extra strong {
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-extra a {
  width: fit-content;
  color: var(--muted);
}

.contact-extra a:hover,
.contact-extra a:focus-visible {
  color: var(--red);
}

.worldwide-gym-list {
  display: grid;
  gap: 5px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

/* Standalone history page. */
.history-body {
  background:
    radial-gradient(circle at 80% 0%, rgba(240, 20, 20, .14), transparent 34rem),
    var(--bg);
}

.history-site-header {
  background: rgba(0, 0, 0, .9);
}

.history-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.history-nav-actions .language-switch {
  display: inline-flex;
}

.history-back-link {
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.history-back-link:hover,
.history-back-link:focus-visible {
  color: #fff;
}

.history-main {
  padding-top: 88px;
}

.history-hero {
  position: relative;
  display: grid;
  min-height: 72vh;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.history-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(.82) contrast(1.1) brightness(.58);
}

.history-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.32) 65%, rgba(0,0,0,.12)),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.9));
}

.history-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: clamp(80px, 12vw, 150px) 0 clamp(62px, 8vw, 100px);
}

.history-hero h1 {
  max-width: 850px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(46px, 8vw, 104px);
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.history-hero .section-copy {
  max-width: 720px;
  color: rgba(255,255,255,.78);
  font-size: clamp(17px, 2vw, 22px);
}

.history-timeline {
  display: grid;
  gap: 1px;
  padding: 90px 0 120px;
}

.history-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
  min-height: 460px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.018);
}

.history-entry:nth-child(even) .history-entry-image {
  order: 2;
}

.history-entry:nth-child(even) .history-entry-copy {
  order: 1;
}

.history-entry-image {
  min-height: 460px;
  overflow: hidden;
}

.history-entry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.82) contrast(1.08);
  transition: transform .4s ease, filter .4s ease;
}

.history-entry:hover .history-entry-image img {
  transform: scale(1.025);
  filter: grayscale(.45) contrast(1.06);
}

/* Keep selected archive images fully visible, including captioned or narrow-source images such as Fujiwara/Jan and Thailand. */
.history-entry-image--contain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vw, 28px);
  background: #080808;
}

.history-entry-image--contain img,
.history-entry:hover .history-entry-image--contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.history-entry-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 78px);
}

.history-year {
  margin-bottom: 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.history-entry h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.history-entry .section-copy {
  max-width: 580px;
}

.history-footer-cta {
  display: flex;
  justify-content: center;
  padding: 0 0 110px;
}

html[data-theme="light"] .private-lesson-card,
html[data-theme="light"] .merchandise-card,
html[data-theme="light"] .history-entry {
  background: rgba(255,255,255,.88);
}

html[data-theme="light"] .private-lesson-card h3,
html[data-theme="light"] .merchandise-card h3,
html[data-theme="light"] .contact-extra strong,
html[data-theme="light"] .history-entry h2 {
  color: var(--text);
}

html[data-theme="light"] .private-lesson-card > a:not(.btn),
html[data-theme="light"] .contact-extra a {
  color: var(--text);
}

@media (max-width: 1180px) {
  .nav-main {
    gap: 10px;
  }

  .nav-main > a {
    font-size: 10px;
  }
}

@media (max-width: 920px) {
  .private-lesson-grid,
  .merchandise-grid {
    grid-template-columns: 1fr;
  }

  .private-lesson-card,
  .merchandise-card {
    min-height: 210px;
  }

  .history-site-header {
    position: relative;
  }

  .history-main {
    padding-top: 0;
  }

  .history-nav-actions {
    gap: 7px;
  }

  .history-nav-actions .theme-toggle span:last-child,
  .history-back-link span {
    display: none;
  }

  .history-entry,
  .history-entry:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .history-entry:nth-child(even) .history-entry-image,
  .history-entry:nth-child(even) .history-entry-copy {
    order: initial;
  }

  .history-entry-image {
    min-height: 380px;
  }
}

@media (max-width: 620px) {
  .story-image {
    height: 420px;
    min-height: 420px;
  }

  .story-image img {
    max-height: none;
  }

  .history-hero {
    min-height: 64vh;
  }

  .history-hero-inner {
    padding-bottom: 54px;
  }

  .history-timeline {
    padding: 50px 0 80px;
  }

  .history-entry-image {
    min-height: 280px;
  }

  .history-entry-copy {
    padding: 30px 24px 38px;
  }
}

/* First-version layout refinements. */
@media (min-width: 921px) {
  .nav-main {
    gap: clamp(8px, .8vw, 13px);
  }

  .nav-main > a {
    font-size: 10px;
  }
}

.mini-memberships {
  grid-template-columns: minmax(0, 1fr);
}

/* June 2026 v4: navigation and training-card readability refinements. */
@media (min-width: 921px) {
  .nav-main > a {
    font-size: 11px;
    letter-spacing: .055em;
  }

  /* With four active training options, center Private / Small Group on row two. */
  .training-grid > .training-card:nth-child(4):last-child {
    grid-column: 2;
  }
}

.training-card > .training-japanese-label {
  min-width: 0;
  height: 48px;
  padding: 0 .18rem;
  column-gap: .62em;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.training-japanese-label > .training-japanese-char {
  display: inline-block;
}

@media (max-width: 920px) {
  .training-grid > .training-card:nth-child(4):last-child {
    grid-column: auto;
  }

  .training-card > .training-japanese-label {
    min-width: 0;
    height: 44px;
    padding: 0 .14rem;
    column-gap: .52em;
    font-size: 21px;
    letter-spacing: 0;
  }
}


/* June 2026 v11: balanced Japanese training-character spacing. */
.training-card > .training-japanese-label {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  padding-inline: 12px !important;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  letter-spacing: 0 !important;
}

.training-card > .training-japanese-label > .training-japanese-char {
  display: block !important;
  flex: 0 0 auto;
  margin: 0 !important;
}

.training-card > .training-japanese-label > .training-japanese-char:not(:last-child) {
  margin-right: 12px !important;
}

@media (max-width: 920px) {
  .training-card > .training-japanese-label {
    padding-inline: 9px !important;
  }

  .training-card > .training-japanese-label > .training-japanese-char:not(:last-child) {
    margin-right: 9px !important;
  }
}
