/* ==========================================================================
   ANCORA PERFORMANCE — shared styles
   Palette sampled from the supplied logo (gold on black).
   Shared by /en/ now and /ja/ later; language-specific tweaks use :lang().
   ========================================================================== */

/* Archivo (SIL OFL 1.1, see /assets/fonts/OFL.txt), self-hosted: latin subset, variable weight + width */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-variable.woff2") format("woff2");
}

:root {
  /* Brand colours from LOGO.png */
  --ink: #0b0b0c;           /* logo background, lifted a touch */
  --ink-2: #151516;
  --ink-3: #222224;
  --gold: #e0b655;          /* logo mid-tone */
  --gold-light: #f9d97f;    /* logo highlight */
  --gold-deep: #be933d;     /* logo shadow */
  --gold-text: #7a5a1a;     /* deep gold for text on light backgrounds (AA) */

  /* Neutrals */
  --paper: #f6f2ea;
  --paper-2: #ede6d9;
  --line-light: #d9d0bf;
  --line-dark: #2e2c29;
  --text: #1b1915;
  --text-muted: #554f46;
  --text-on-dark: #f4efe5;
  --muted-on-dark: #bdb5a7;

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.85rem, 1.5rem + 1.6vw, 2.75rem);
  --step-4: clamp(2.35rem, 1.7rem + 3vw, 4.25rem);

  /* Space */
  --gutter: clamp(16px, 5vw, 48px);
  --section: clamp(72px, 9vw, 136px);
  --maxw: 1200px;
  --radius: 4px;
  --header-h: 68px;

  --focus-dark: var(--gold-light);
  --focus-light: var(--gold-text);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  font-weight: 650;
  font-stretch: 108%;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

:focus-visible {
  outline: 3px solid var(--focus-light);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible { outline-color: var(--focus-dark); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.on-dark { background: var(--ink); color: var(--text-on-dark); }
.on-paper-2 { background: var(--paper-2); }

/* Eyebrow: echoes the wide-tracked "— PERFORMANCE —" line in the logo */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: var(--step--1);
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before {
  content: "";
  flex: 0 0 32px;
  height: 1px;
  background: currentColor;
}
.on-dark .eyebrow { color: var(--gold); }

.lede { font-size: var(--step-1); line-height: 1.6; }
.muted { color: var(--text-muted); }
.on-dark .muted { color: var(--muted-on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-light); }
.btn-dark { background: var(--ink); color: var(--text-on-dark); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(224, 182, 85, 0.12); }
.on-dark .btn-ghost { color: var(--text-on-dark); border-color: rgba(244, 239, 229, 0.5); }
.on-dark .btn-ghost:hover { border-color: var(--gold); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(224, 182, 85, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
  color: var(--text-on-dark);
}
.brand img { width: 30px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-size: 1.05rem;
  font-weight: 650;
  font-stretch: 125%;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.brand-sub {
  margin-top: 5px;
  font-size: 0.62rem;
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: 0.38em;
  color: var(--muted-on-dark);
}

.site-nav ul { list-style: none; display: flex; gap: 4px; }
.site-nav a {
  display: block;
  padding: 10px 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-on-dark);
  text-decoration: none;
  border-radius: 2px;
}
.site-nav a:hover { color: var(--gold-light); }
.nav-contact { display: none; }

.header-cta { min-height: 44px; padding: 10px 18px; font-size: 0.92rem; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 239, 229, 0.35);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-on-dark);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  .js .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: var(--ink);
    border-bottom: 1px solid rgba(224, 182, 85, 0.25);
    padding: 8px var(--gutter) 28px;
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line-dark); }
  .site-nav a { padding: 16px 2px; font-size: 1.1rem; }
  .nav-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(224, 182, 85, 0.25);
    font-size: 0.95rem;
  }
  .nav-contact a { color: var(--muted-on-dark); padding: 6px 0; }
  .no-js .site-nav { position: static; }
  .no-js .header-inner { flex-wrap: wrap; }
}

@media (max-width: 479px) {
  .brand-sub { letter-spacing: 0.3em; }
  .brand-name { font-size: 0.95rem; letter-spacing: 0.13em; }
  .brand img { width: 26px; }
  .header-inner { gap: 8px; }
  .header-cta { padding: 10px 12px; font-size: 0.85rem; }
  .menu-toggle { padding: 8px 10px; }
  .menu-label { display: none; }
}
@media (max-width: 374px) {
  .cta-long { display: none; }
}
@media (max-width: 359px) {
  .brand-text { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 104px) clamp(64px, 8vw, 120px);
  overflow: hidden;
}
.hero::before {
  /* soft gold glow, decorative */
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(224, 182, 85, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-kicker {
  margin: 0 0 8px;
  font-size: var(--step--1);
  font-weight: 650;
  font-stretch: 125%;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.hero h1 { margin-bottom: 28px; }
.h1-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: var(--step--1);
  font-weight: 600;
  font-stretch: 100%;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}
.h1-kicker::before {
  content: "";
  flex: 0 0 32px;
  height: 1px;
  background: var(--gold);
}
.h1-display {
  display: block;
  font-size: var(--step-4);
  font-weight: 700;
}
.hero h1 .accent { color: var(--gold); }
.hero .lede { color: var(--text-on-dark); max-width: 38em; }
.hero p.muted { max-width: 38em; }
.hero .btn-row { margin-top: 32px; }

.trust-line {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.trust-line li {
  padding: 7px 14px;
  border: 1px solid rgba(224, 182, 85, 0.4);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-on-dark);
}
.reassure {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  font-size: 0.95rem;
  color: var(--muted-on-dark);
  max-width: 36em;
}
.reassure svg { flex: 0 0 auto; margin-top: 4px; color: var(--gold); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: 62% 40%;
  border-radius: var(--radius);
}
.hero-media::after {
  /* thin gold frame offset, decorative */
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(224, 182, 85, 0.45);
  border-radius: var(--radius);
  z-index: -1;
}
.hero-media { z-index: 0; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; }
}
@media (max-width: 899px) {
  .hero-media::after { inset: 12px -10px -12px 10px; }
  .hero-media { margin-right: 10px; }
}

/* ---------- Split layouts ---------- */
.split {
  display: grid;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.media-right .split-media { order: 2; }
  .split.wide-text { grid-template-columns: 0.85fr 1.15fr; }
}
.split-media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}
.split-text h2 { margin-bottom: 26px; }

figure { margin: 0; }
figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.on-dark figcaption { color: var(--muted-on-dark); }

/* ---------- Communication ---------- */
.lang-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--line-light);
}
.lang-list li {
  padding: 18px 0 0;
  font-weight: 600;
  font-stretch: 112%;
}
.lang-list li span {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.communication .split-media img { aspect-ratio: 4 / 3; }

/* Residents vs visitors */
.audience {
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-light);
}
.audience-title { font-size: var(--step-2); margin-bottom: 28px; }
.audience-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
.audience-card {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}
.audience-card h3 { margin-bottom: 10px; }
.audience-card p { color: var(--text-muted); }
.text-link {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 0;
  font-weight: 600;
  color: var(--gold-text);
}
.text-link::after { content: " →"; }
.card a, .faq-answer a { color: var(--gold-text); font-weight: 500; }

/* ---------- Trainer ---------- */
.trainer .split { align-items: start; }
.trainer .split-media img { aspect-ratio: 4 / 5; object-position: 52% 30%; }
@media (min-width: 900px) {
  .trainer .split-media { position: sticky; top: calc(var(--header-h) + 32px); }
}
.trainer-story p { color: var(--text-on-dark); }
.cred-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
}
.cred-block h3 {
  margin-bottom: 18px;
  font-size: var(--step--1);
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.cred-list { list-style: none; display: grid; gap: 2px; }
.cred-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
}
.cred-list li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  transform: translateY(-2px) rotate(45deg);
  background: var(--gold);
}
.achievements {
  margin-top: 26px;
  font-size: 0.95rem;
  color: var(--muted-on-dark);
}
.achievements strong { color: var(--text-on-dark); font-weight: 600; }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 + p { margin-top: 22px; }

/* ---------- Goals / reasons ---------- */
.card-grid {
  list-style: none;
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.four { grid-template-columns: repeat(4, 1fr); } }
.card {
  padding: 28px 24px 30px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.98rem; }

.reasons {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid;
  gap: clamp(32px, 5vw, 72px);
}
@media (min-width: 900px) { .reasons { grid-template-columns: 0.9fr 1.1fr; } }
.reason-list { list-style: none; counter-reset: reason; }
.reason-list li {
  counter-increment: reason;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
}
.reason-list li:last-child { border-bottom: 1px solid var(--line-light); }
.reason-list li::before {
  content: counter(reason, decimal-leading-zero);
  grid-row: span 2;
  font-weight: 600;
  font-stretch: 125%;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--gold-text);
  padding-top: 3px;
}
.reason-list h3 { font-size: var(--step-1); }
.reason-list p { color: var(--text-muted); }
.reasons .btn { margin-top: 32px; }
.reasons-media { margin-top: 36px; }
.reasons-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 40% 50%;
  border-radius: var(--radius);
}

/* ---------- Approach ---------- */
.approach .section-head { max-width: 820px; }
.pillars {
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li {
  padding: clamp(28px, 3vw, 40px);
  background: var(--ink-2);
}
.pillar-index {
  display: block;
  margin-bottom: 28px;
  font-size: 0.8rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.pillars h3 { font-size: var(--step-2); margin-bottom: 12px; }
.pillars p { color: var(--muted-on-dark); }

.approach-figure { margin-top: clamp(40px, 5vw, 64px); }
.approach-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.approach-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.approach-gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; object-position: 50% 60%; }
.approach-gallery img:nth-child(4) { object-position: 70% 30%; }
@media (min-width: 900px) {
  .approach-gallery {
    grid-template-columns: 1.4fr 1.4fr 1fr 1fr;
    grid-template-rows: repeat(2, clamp(190px, 17vw, 240px));
    gap: 14px;
  }
  .approach-gallery img { height: 100%; min-height: 0; aspect-ratio: auto; }
  .approach-gallery img:first-child { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; object-position: 55% 50%; }
}
.approach-close {
  margin-top: clamp(40px, 5vw, 64px);
  max-width: 820px;
  font-size: var(--step-1);
  color: var(--text-on-dark);
}

/* ---------- Pricing ---------- */
.price-panel {
  display: grid;
  gap: 32px;
  padding: clamp(32px, 5vw, 64px);
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 24px 48px -32px rgba(27, 25, 21, 0.25);
}
@media (min-width: 900px) {
  .price-panel { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 64px; }
}
.price-panel h2 { margin-bottom: 22px; }
.price-checklist { list-style: none; display: grid; gap: 14px; }
.price-checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--paper);
  border-radius: var(--radius);
  font-weight: 500;
}
.price-checklist svg { flex: 0 0 auto; margin-top: 3px; color: var(--gold-text); }
.price-panel .btn { margin-top: 28px; }

/* Single lesson + packages */
.price-total {
  margin: 0;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.price-label {
  font-size: 0.85rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.single-lesson {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--line-light);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}
.single-info h3 { margin-bottom: 6px; }
.price-meta { margin: 8px 0 0; color: var(--text-muted); font-size: 0.95rem; }
.packages-title {
  margin: clamp(40px, 5vw, 56px) 0 18px;
  font-size: var(--step--1);
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.package-grid { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .package-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .package-grid { grid-template-columns: repeat(4, 1fr); } }
.package {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name  total"
    "facts facts"
    "btn   btn";
  align-items: baseline;
  gap: 12px 16px;
  padding: 22px 22px 24px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
}
.package-name {
  grid-area: name;
  margin: 0;
  font-size: var(--step-1);
  font-weight: 650;
  font-stretch: 108%;
}
.package .price-total { grid-area: total; text-align: right; }
.package .price-label { display: block; margin-top: 2px; }
.package-facts {
  grid-area: facts;
  list-style: none;
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.package-facts strong { color: var(--text); font-weight: 650; }
.package-btn { grid-area: btn; width: 100%; margin-top: 6px; color: var(--text); border-color: var(--text); }
.package-btn:hover { background: var(--ink); color: var(--text-on-dark); }
@media (min-width: 1080px) {
  .package {
    grid-template-columns: 1fr;
    grid-template-areas: "name" "total" "facts" "btn";
  }
  .package .price-total { text-align: left; }
  .package .price-label { display: inline; }
}
.price-terms {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 28px;
  max-width: 820px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.price-terms li { display: flex; gap: 12px; }
.price-terms li::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  margin-top: 0.62em;
  transform: rotate(45deg);
  background: var(--gold-deep);
}
.price-terms a { color: var(--gold-text); font-weight: 500; }

/* ---------- Locations ---------- */
.venue-note { font-weight: 600; color: var(--text); }
.venue-list { list-style: none; display: grid; gap: 10px; }
@media (min-width: 640px) { .venue-list { grid-template-columns: repeat(2, 1fr); } }
.venue {
  padding: 20px 20px 16px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}
.venue h3 { margin-bottom: 6px; font-size: 1.05rem; }
.venue-addr { margin: 0 0 4px; font-size: 0.9rem; line-height: 1.5; color: var(--text); }
.venue-ja { margin: 0; font-size: 0.8rem; line-height: 1.6; color: var(--text-muted); }
.venue .text-link { margin-top: 8px; font-size: 0.92rem; }
.venue-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  vertical-align: 2px;
}
.venue-access { margin: 6px 0 0; font-size: 0.9rem; color: var(--text); font-weight: 500; }
.area-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 640px) { .area-list { grid-template-columns: repeat(3, 1fr); } }
.area-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  font-weight: 600;
  font-stretch: 108%;
}
.area-list svg { flex: 0 0 auto; color: var(--gold-text); }
.area-list small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  font-stretch: 100%;
  color: var(--text-muted);
}
.locations .btn { margin-top: 32px; }

/* ---------- Nutrition ---------- */
.nutrition-band {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid;
  gap: 24px 64px;
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
@media (min-width: 900px) { .nutrition-band { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.nutrition-band .tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 12px;
  border: 1px solid var(--gold-text);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.nutrition-band p { font-size: var(--step-1); }

/* ---------- First session ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 18px;
  padding-bottom: 30px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-weight: 650;
  color: var(--gold);
  background: var(--ink);
  position: relative;
  z-index: 1;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23.5px; top: 48px; bottom: 0;
  width: 1px;
  background: rgba(224, 182, 85, 0.35);
}
.steps h3 { padding-top: 11px; margin-bottom: 6px; }
.steps p { grid-column: 2; color: var(--muted-on-dark); }
.first-session .split { align-items: start; }
.first-session .split-media img { aspect-ratio: 4 / 5; object-position: 30% 62%; }
.trial-note {
  margin-top: 8px;
  padding: 22px 24px;
  border: 1px solid rgba(224, 182, 85, 0.35);
  border-radius: var(--radius);
  color: var(--text-on-dark);
}
.first-session .btn-row { margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 0.7fr 1.3fr; gap: 80px; } }
.faq-list { border-top: 1px solid var(--line-light); }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 2px;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: 0 0 auto;
  width: 12px; height: 12px;
  margin-right: 6px;
  border-right: 2px solid var(--gold-text);
  border-bottom: 2px solid var(--gold-text);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-list summary:hover { color: var(--gold-text); }
.faq-answer { padding: 0 2px 26px; max-width: 46em; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact { text-align: left; }
.contact-inner {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
}
@media (min-width: 900px) { .contact-inner { grid-template-columns: 1.15fr 0.85fr; align-items: end; } }
.contact h2 { font-size: var(--step-4); margin-bottom: 26px; }
.contact .lede { color: var(--text-on-dark); max-width: 34em; }
.contact .btn-row { margin-top: 32px; }
.book-steps {
  list-style: none;
  counter-reset: bk;
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted-on-dark);
}
.book-steps li { counter-increment: bk; display: flex; gap: 12px; align-items: baseline; }
.book-steps li::before {
  content: counter(bk);
  flex: 0 0 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--gold);
  transform: translateY(-1px);
}
.book-steps strong { color: var(--text-on-dark); font-weight: 600; }
.contact-list { list-style: none; border-top: 1px solid var(--line-dark); }
.contact-list li { border-bottom: 1px solid var(--line-dark); }
.contact-list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 2px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-list .label {
  font-size: 0.76rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-list .value { font-size: var(--step-1); font-weight: 500; }
.contact-list a:hover .value { color: var(--gold-light); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 56px 40px;
  background: #050506;
  color: var(--muted-on-dark);
  border-top: 1px solid rgba(224, 182, 85, 0.18);
  font-size: 0.92rem;
}
.footer-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 800px) { .footer-inner { grid-template-columns: auto 1fr auto; } }
.footer-logo { width: 132px; height: auto; }
.footer-tagline {
  margin: 0 0 4px;
  font-weight: 600;
  font-stretch: 112%;
  color: var(--gold);
}
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-links a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-legal {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.82rem;
}

/* ---------- Simple pages (root fallback, 404) ---------- */
.simple-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 48px var(--gutter);
  text-align: center;
}
.simple-page img { width: 160px; margin: 0 auto 36px; }
.simple-page h1 { font-size: var(--step-3); margin-bottom: 16px; }
.simple-page p { color: var(--muted-on-dark); }
.simple-page .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Readability pass (21 Oct 2026) ----------
   Larger base and secondary text, calmer labels, darker secondary colours,
   and comfortable line lengths. Overrides the values above. */
:root {
  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  --text-muted: #46413a;
  --muted-on-dark: #cfc8bb;
}
body { line-height: 1.7; }
p { margin-bottom: 1.1em; }
h1, h2, h3 { font-stretch: 104%; letter-spacing: -0.005em; }

/* Section labels: less tracking, normal width */
.eyebrow,
.cred-block h3,
.packages-title,
.contact-list .label {
  font-size: 0.875rem;
  font-stretch: 100%;
  letter-spacing: 0.12em;
}
.hero-kicker { font-stretch: 112%; letter-spacing: 0.18em; }
.h1-kicker { letter-spacing: 0.06em; }
.pillar-index { font-stretch: 100%; letter-spacing: 0.12em; font-size: 0.875rem; }

/* Comfortable line length for running text */
.hero p,
.section-head p,
.split-text p,
.audience-card p,
.nutrition-band p,
.approach-close,
.contact .lede,
.faq-answer,
.price-terms {
  max-width: 64ch;
}

/* Secondary text: no smaller than ~15px, captions ~14px */
.card p,
.reason-list p,
.pillars p,
.steps p,
.audience-card p,
.package-facts,
.price-terms,
.price-meta,
.reassure,
.achievements,
.book-steps { font-size: 1rem; }
.trust-line li { font-size: 0.9375rem; }
.lang-list li span,
.area-list small,
.price-label { font-size: 0.875rem; letter-spacing: 0.02em; }
figcaption { font-size: 0.875rem; }
.venue-addr { font-size: 0.975rem; line-height: 1.55; }
.venue-ja { font-size: 0.875rem; }
.venue .text-link { font-size: 0.975rem; }
.site-footer { font-size: 0.975rem; }
.footer-legal { font-size: 0.875rem; line-height: 1.6; }

.header-cta { white-space: nowrap; }

/* FAQ answers read as main text, with a little more room */
.faq-answer { color: var(--text); padding-bottom: 28px; }
.faq-list summary { padding-block: 20px; }

/* A touch more space between list items */
.price-terms { gap: 12px; }
.package-facts { gap: 8px; }
.steps li { padding-bottom: 34px; }

/* ---------- Initial 90-minute offer ---------- */
.intro-offer {
  display: grid;
  gap: 24px 48px;
  padding: clamp(26px, 4vw, 44px);
  margin-bottom: 8px;
  background: var(--ink);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  border-top: 4px solid var(--gold);
}
@media (min-width: 900px) { .intro-offer { grid-template-columns: 1.5fr 1fr; align-items: center; } }
.intro-tag {
  margin: 0 0 10px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.intro-title { font-size: var(--step-2); line-height: 1.3; margin-bottom: 14px; }
.intro-price {
  margin: 0 0 18px;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold-light);
}
.intro-price span { display: block; margin-top: 6px; font-size: 0.95rem; font-weight: 500; color: var(--muted-on-dark); }
.intro-points { list-style: none; display: grid; gap: 8px; margin-bottom: 14px; }
.intro-points li { display: flex; gap: 12px; }
.intro-points li::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  margin-top: 0.7em;
  transform: rotate(45deg);
  background: var(--gold);
}
.intro-offer .text-link { color: var(--gold-light); }
.intro-actions { display: grid; gap: 12px; }
.intro-actions .btn { width: 100%; }
.intro-offer .btn-dark { background: transparent; color: var(--text-on-dark); border-color: rgba(244, 239, 229, 0.55); }
.intro-offer .btn-dark:hover { border-color: var(--gold); background: rgba(224, 182, 85, 0.12); }
.intro-offer .btn-line { color: var(--text-on-dark); }
.step-time {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border: 1px solid rgba(224, 182, 85, 0.5);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  vertical-align: 2px;
  white-space: nowrap;
}
.first-session .lede { color: var(--text-on-dark); }
.reassess-note { margin-top: 14px; font-size: 0.95rem; }

/* ---------- Rewards ---------- */
.rewards {
  margin-top: 32px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  max-width: 820px;
}
.rewards-list { list-style: none; display: grid; gap: 10px; }
.rewards-list strong { color: var(--text); }

/* ---------- Privacy note + statistics consent bar ---------- */
.privacy-note { margin-top: 26px; font-size: 0.9rem; color: var(--muted-on-dark); }
.privacy-note summary { cursor: pointer; padding: 6px 0; color: var(--text-on-dark); }
.privacy-note > div { max-width: 70ch; padding-top: 6px; }
.privacy-note p { margin-bottom: 0.7em; }
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--gold-light);
  text-decoration: underline;
  cursor: pointer;
}
.consent-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  max-width: 720px;
  margin-inline: auto;
  padding: 14px 16px;
  background: var(--ink-2);
  color: var(--text-on-dark);
  border: 1px solid rgba(224, 182, 85, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 0.9rem;
}
.consent-bar p { flex: 1 1 260px; margin: 0; }
.consent-bar a { color: var(--gold-light); }
.consent-bar .btn { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }
.consent-bar :focus-visible { outline-color: var(--focus-dark); }

/* ---------- Two-photo row (Why section) ---------- */
.photo-pair { margin-top: clamp(40px, 5vw, 64px); }
.photo-pair-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .photo-pair-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
.photo-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.photo-pair img:nth-child(2) { object-position: 45% 50%; }

/* ---------- Nutrition details (/ja/) ---------- */
.nutrition-price {
  margin: 14px 0 0;
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--text);
}
.nutrition-price small { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.nutrition-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 4px 0 18px;
  color: var(--text);
}
.nutrition-list li { display: flex; gap: 12px; }
.nutrition-list li::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  margin-top: 0.75em;
  transform: rotate(45deg);
  background: var(--gold-deep);
}

/* ---------- Language bar (scrolls away; header below stays sticky) ---------- */
.lang-bar {
  background: #050506;
  color: var(--muted-on-dark);
  font-size: 0.875rem;
}
.lang-bar-inner { display: flex; justify-content: flex-end; min-height: 36px; align-items: center; }
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-switch a {
  display: inline-block;
  padding: 6px 6px;
  color: var(--muted-on-dark);
  text-decoration: none;
  border-radius: 2px;
}
.lang-switch a:hover { color: var(--gold-light); text-decoration: underline; }
.lang-switch a[aria-current="page"] { color: var(--gold); font-weight: 600; }
.lang-bar :focus-visible { outline-color: var(--focus-dark); }

/* ---------- LINE ---------- */
.btn-line {
  border-color: #06c755;
  color: inherit;
  background: transparent;
}
.on-dark .btn-line { color: var(--text-on-dark); }
.btn-line:hover { background: rgba(6, 199, 85, 0.14); }
.btn-line .line-icon { flex: 0 0 auto; color: #06c755; }
/* Solid variant: dark text on LINE green keeps contrast above 9:1 */
.btn-line-solid { background: #06c755; color: var(--ink) !important; border-color: #06c755; }
.btn-line-solid .line-icon { color: var(--ink); }
.btn-line-solid:hover { background: #2fd876; }
.line-note {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--muted-on-dark);
  max-width: 56ch;
}
.line-note a { color: var(--gold-light); }
.nav-contact .nav-line { color: #4fe08d; font-weight: 600; }
.contact-list .value-sub { font-size: 0.9rem; color: var(--muted-on-dark); }

/* ---------- Package and payment terms ---------- */
.terms-grid { display: grid; gap: 28px 56px; margin-top: 36px; }
@media (min-width: 900px) { .terms-grid { grid-template-columns: 0.8fr 1.2fr; } }
.terms-title {
  margin-bottom: 14px;
  font-size: var(--step-1);
}
.terms-grid .price-terms { margin-top: 0; }

/* ---------- Footer social + language ---------- */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-social a { display: inline-block; padding: 6px 0; text-decoration: none; }
.footer-social a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-bottom + .footer-legal { margin-top: 18px; }

/* ---------- Japanese price table (/ja/) ---------- */
.price-table {
  width: 100%;
  max-width: 880px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table th,
.price-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line-light);
}
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-weight: 600; }
.price-table th small { display: block; margin-top: 2px; font-size: 0.875rem; font-weight: 400; color: var(--text-muted); }
.price-table td {
  text-align: right;
  white-space: nowrap;
  font-size: var(--step-2);
  font-weight: 700;
}
.price-table td small { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.price-table tr.is-featured { background: #fffaf0; }
.price-table tr.is-featured th { border-left: 4px solid var(--gold); }
@media (max-width: 479px) {
  .price-table th, .price-table td { padding: 14px 14px; }
}
.ja-price-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Japanese typography ---------- */
:lang(ja) body,
html:lang(ja) {
  font-family: "Archivo", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}
html:lang(ja) body {
  line-height: 1.9;
  letter-spacing: 0.03em;
  font-feature-settings: "palt" 0;
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
html:lang(ja) h1,
html:lang(ja) h2,
html:lang(ja) h3,
html:lang(ja) h4 {
  font-stretch: 100%;
  line-height: 1.45;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-feature-settings: "palt" 1;
}
html:lang(ja) .h1-display { font-size: clamp(2rem, 1.35rem + 3vw, 3.6rem); line-height: 1.3; }
html:lang(ja) h2 { font-size: clamp(1.55rem, 1.25rem + 1.4vw, 2.3rem); }
html:lang(ja) .contact h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 3rem); }
html:lang(ja) .eyebrow,
html:lang(ja) .packages-title,
html:lang(ja) .cred-block h3,
html:lang(ja) .contact-list .label,
html:lang(ja) .h1-kicker { letter-spacing: 0.08em; text-transform: none; }
html:lang(ja) .lede { line-height: 1.85; }
html:lang(ja) .btn { letter-spacing: 0.04em; line-height: 1.4; }
html:lang(ja) .faq-list summary { line-height: 1.6; }
html:lang(ja) .hero p, html:lang(ja) .split-text p, html:lang(ja) .faq-answer { max-width: 40em; }
/* Email addresses, phone numbers and postal addresses: no mid-token breaks on /ja/ */
html:lang(ja) .contact-list .value,
html:lang(ja) .venue-addr { letter-spacing: 0; overflow-wrap: normal; }
html:lang(ja) .contact-list .value { font-size: clamp(1rem, 0.9rem + 0.6vw, 1.3rem); }

@media (max-width: 479px) {
  html:lang(ja) .cta-long { display: none; }
}

/* Brand lockup and buttons must never break mid-word */
.brand-text, .brand-name, .brand-sub, .header-cta {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
@media (min-width: 1100px) {
  html:lang(ja) .site-nav a { white-space: nowrap; padding-inline: 8px; font-size: 0.875rem; letter-spacing: 0.02em; }
}

/* keep short phrases together in headings */
.nb { display: inline-block; }
.name-en {
  display: block;
  margin-top: 6px;
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* ---------- Restrained reveal (JS adds .reveal only when motion is OK) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* Japanese pages (future /ja/): looser line height, no forced width stretch */
:lang(ja) body { line-height: 1.85; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { font-stretch: 100%; letter-spacing: 0.02em; }

/* ---------- Readability pass 2: even paragraph edges, stronger text ----------
   Overrides earlier rules. */
:root {
  --step-0: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);   /* 17px → 19px */
  --text-muted: #3a362f;                                  /* secondary text on light backgrounds */
  --muted-on-dark: #ddd6ca;                               /* secondary text on dark backgrounds */
}

/* One consistent text width per column, so paragraph right edges line up */
main p,
main .faq-answer,
main .price-terms,
main .rewards-list,
main .intro-points { max-width: 62ch; }
.hero .lede, .hero p.muted, .contact .lede, .approach-close { max-width: 62ch; }
.card p, .audience-card p, .venue p, .package p, .single-lesson p,
.reason-list p, .pillars p, .steps p, .price-table *, .contact-list * { max-width: none; }

/* English: balanced line endings, no awkward last-line orphans */
html:lang(en) main p,
html:lang(en) main li { text-wrap: pretty; hyphens: manual; }

/* Japanese: normal character-based wrapping (phrase-only breaking made ragged edges),
   justified paragraphs for a clean right edge, kinsoku rules kept */
html:lang(ja) body { word-break: normal; line-break: strict; }
html:lang(ja) main p,
html:lang(ja) .faq-answer p,
html:lang(ja) .audience-card p,
html:lang(ja) .card p,
html:lang(ja) .steps p,
html:lang(ja) .pillars p,
html:lang(ja) .reason-list p {
  text-align: justify;
  text-justify: inter-character;
  text-wrap: wrap;
}
html:lang(ja) main p { max-width: 40em; }
/* Large intro text and short notes read better left-aligned (justify over-stretches them) */
html:lang(ja) .lede, html:lang(ja) .intro-price, html:lang(ja) .intro-tag,
html:lang(ja) .reassure, html:lang(ja) .trial-note, html:lang(ja) .price-meta { text-align: left; }
/* Headings, buttons and short labels keep phrase-based breaks (no mid-word splits) */
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3, html:lang(ja) h4,
html:lang(ja) .btn, html:lang(ja) summary, html:lang(ja) .trust-line li,
html:lang(ja) .site-nav a, html:lang(ja) .step-time, html:lang(ja) .price-table th {
  word-break: auto-phrase;
  text-align: left;
}
/* Addresses, emails, prices: never justified, never broken mid-token */
html:lang(ja) .venue-addr, html:lang(ja) .contact-list .value, html:lang(ja) .price-table td,
html:lang(ja) .line-note, html:lang(ja) figcaption, html:lang(ja) .footer-legal { text-align: left; }

/* ---------- Language bar always visible: bar + header stay stuck together ---------- */
:root { --langbar-h: 36px; }
html { scroll-padding-top: calc(var(--langbar-h) + var(--header-h) + 12px); }
.lang-bar { position: sticky; top: 0; z-index: 51; border-bottom: 1px solid rgba(224, 182, 85, 0.12); }
.lang-bar-inner { min-height: var(--langbar-h); }
.site-header { top: var(--langbar-h); }
.lang-switch { gap: 4px; }
.lang-switch a { padding: 6px 8px; min-height: 32px; display: inline-flex; align-items: center; }
@media (max-width: 1099px) {
  .site-nav {
    max-height: calc(100vh - var(--header-h) - var(--langbar-h));
    max-height: calc(100dvh - var(--header-h) - var(--langbar-h));
  }
}
@media (min-width: 900px) {
  .trainer .split-media { top: calc(var(--langbar-h) + var(--header-h) + 32px); }
}

/* Slightly larger secondary text */
.line-note, figcaption, .privacy-note { font-size: 0.95rem; }
.venue-ja, .price-table th small, .price-label { font-size: 0.9rem; }

@media print {
  .site-header, .menu-toggle, .skip-link { display: none; }
  .on-dark { background: #fff; color: #000; }
}
