/*
 * TRIFORCE KIX — monochrome layout with sakura accents
 * 01 Base / 02 Header / 03 Hero / 04 Content / 05 Responsive
 * All copy and editable tables live in index.html.
 */
:root {
  --ink: #151718;
  --paper: #f3f3f0;
  --white: #fff;
  --muted: #5e6264;
  --line: #d4d6d5;
  --dark-line: #424648;
  --dark-muted: #b6babc;
  /* Trial actions: muted sakura, with readable white text. */
  --accent: #b45675;
  --accent-hover: #9e4364;
  --accent-text: #aa4c6c;
  --accent-on-dark: #e49bb3;
  --line-green: #06c755;
  --line-link: #007f35;
  /* Schedule: soft paper colors against charcoal. */
  --class-kids: #eee3b8;
  --class-beginner: #d7e4d8;
  --class-basic: #d2e0e9;
  --class-regular: #ddd5eb;
  --class-judo: #dfcfc3;
  --class-competition: #ecd2bd;
  --class-free: #d9dcdd;
  --gutter: clamp(24px, 6vw, 96px);
  --max: 1360px;
  --font:
    "Inter Variable", "Noto Sans JP Variable", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  scroll-padding-bottom: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.95 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.5;
}
h2 {
  font-size: clamp(28px, 2.9vw, 42px);
  letter-spacing: -0.035em;
  font-weight: 650;
}
h3 {
  font-size: 19px;
}
p {
  overflow-wrap: anywhere;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  font: inherit;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
::selection {
  background: #d7dadd;
  color: #151718;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #828990;
  outline-offset: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: -10000px;
  z-index: 100;
  background: white;
  color: var(--ink);
  padding: 10px 20px;
}
.skip-link:focus {
  left: 12px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.6;
  margin-bottom: 24px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 2.1;
}
.fine-print {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 56px;
  padding: 17px 25px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  transition:
    background 0.2s,
    color 0.2s;
}
.button span[aria-hidden] {
  font-size: 23px;
  line-height: 1;
}
.button-light {
  background: var(--paper);
  color: var(--ink);
}
.button-light:hover {
  background: #d4d7d8;
}
.button-dark {
  background: var(--ink);
  color: var(--white);
}
.button-dark:hover {
  background: #3e4447;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid currentColor;
  padding: 12px 0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.text-link span[aria-hidden] {
  font-size: 21px;
}
.text-link:hover {
  opacity: 0.65;
}
.section {
  padding: 100px var(--gutter);
  max-width: var(--max);
  margin: auto;
}
.section > *,
.hero > * {
  min-width: 0;
}
.heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}
.section-note {
  font-size: 13px;
  color: var(--muted);
}
.tag {
  display: inline-block;
  border-left: 2px solid currentColor;
  padding-left: 10px;
  font-size: 10px;
  color: var(--muted);
}
.dark-section {
  color: var(--paper);
  background: var(--ink);
}
/* 02 Header — plain wordmark, without an invented emblem */
.header {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 100px;
  padding: 24px var(--gutter);
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 20;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-name {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.brand-name b {
  font-weight: 400;
  padding-left: 4px;
}
.brand-name small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  margin-top: 8px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
}
.nav a:hover {
  color: #b3b8bb;
}
.header-cta {
  border: 1px solid #777e82;
  background: transparent;
  font-size: 11px;
  min-height: 44px;
  padding: 12px 18px;
  gap: 24px;
}
.header-cta:hover {
  background: var(--paper);
  color: var(--ink);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #777e82;
  color: var(--paper);
  background: none;
  flex-shrink: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}
/* 03 Hero — plain type on white, with a portrait on the right */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 30px clamp(32px, 5vw, 80px);
  padding: 64px var(--gutter) 26px;
  background: linear-gradient(110deg, #fff 0%, #fff 45%, #edf0f1 100%);
  color: var(--ink);
}
.hero-copy {
  padding: 22px 0 35px;
}
.hero .eyebrow {
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 26px;
}
.hero .eyebrow > span {
  padding: 0 10px;
}
.hero h1 {
  font-size: clamp(29px, 3.65vw, 57px);
  line-height: 1.5;
  letter-spacing: -0.045em;
  font-weight: 750;
}
.hero h1 > span {
  font-size: 0.87em;
}
.hero-intro {
  padding-top: 25px;
}
.hero-lead {
  font-size: 16px;
  line-height: 1.9;
  font-weight: 600;
}
.hero-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
  margin-top: 20px;
}
.hero-reservation {
  margin-top: 28px;
}
.hero-button {
  min-width: 270px;
}
.hero-caption {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.hero-visual {
  width: 100%;
  max-width: 420px;
  margin: 0;
  justify-self: end;
}
.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 60% center;
}
.image-status {
  position: absolute;
  bottom: 18px;
  left: 28px;
  right: 20px;
  color: #d2d5d7;
  font-size: 9px;
}
.hero .image-status {
  position: static;
  display: block;
  padding-top: 12px;
  color: var(--muted);
  font-size: 10px;
}
.hero-bottom {
  grid-column: 1/-1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid #d4d8da;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.scroll-cue {
  display: inline-flex;
  gap: 22px;
  font-size: 10px;
  text-decoration: none;
  letter-spacing: 0;
}
.scroll-cue > span {
  font-size: 15px;
  line-height: 1;
}
/* 04 Content */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 9%;
}
.about-body {
  padding-top: 36px;
}
.intro-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
  margin-bottom: 24px;
}
.benefits {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.benefits article {
  position: relative;
  padding: 34px 32px 0;
  border-right: 1px solid var(--line);
}
.benefits article:first-child {
  padding-left: 0;
}
.benefits article:last-child {
  border-right: 0;
  padding-right: 0;
}
.benefit-number {
  display: block;
  color: #646b70;
  font-size: 38px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.05em;
}
.benefits h3 {
  font-size: 18px;
  margin: 24px 0 12px;
}
.benefits p {
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
}
.philosophy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10%;
  align-items: center;
  padding-top: 25px;
}
.philosophy-art {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}
.philosophy-art::after {
  content: "";
  position: absolute;
  width: 180%;
  height: 1px;
  background: #d0d2d3;
  transform: rotate(-35deg);
  pointer-events: none;
  z-index: -1;
}
.mat-word {
  font-size: clamp(110px, 16vw, 230px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
}
.mat-word > span {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  padding-left: 5px;
  margin-top: 20px;
}
.art-caption {
  font-size: 11px;
  margin-top: 34px;
  padding-left: 5px;
}
.philosophy-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
  margin: 22px 0 30px;
}
.feature-item {
  display: flex;
  gap: 22px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.feature-item > span {
  font-size: 10px;
  color: var(--muted);
  padding-top: 5px;
}
.feature-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.feature-item p {
  color: var(--muted);
  font-size: 14px;
}
#classes {
  padding-top: 20px;
}
.class-grid {
  border-top: 1px solid var(--ink);
}
.class-card {
  display: grid;
  grid-template-columns: 145px 1fr 1fr 90px;
  align-items: center;
  gap: 26px;
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
}
.class-index {
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.class-card h3 {
  font-size: 18px;
}
.class-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.class-card a {
  display: inline-flex;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.class-card a:hover {
  opacity: 0.6;
}
.class-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}
/* Weekly schedule: a true HTML table, scrollable within its own region */
.schedule {
  max-width: none;
}
.schedule .heading-row,
.schedule .table-scroll,
.schedule .table-footnote {
  max-width: 1168px;
  margin-left: auto;
  margin-right: auto;
}
.schedule .eyebrow {
  color: var(--dark-muted);
}
.table-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.schedule-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
  table-layout: fixed;
}
.schedule-table caption {
  text-align: left;
  font-size: 14px;
  padding-bottom: 22px;
}
.schedule-table caption span {
  color: var(--dark-muted);
  font-size: 12px;
}
.schedule-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: #282d2f;
  padding: 18px 16px;
  border: 1px solid var(--dark-line);
}
.schedule-table th small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--dark-muted);
  margin-top: 4px;
}
.schedule-table td {
  vertical-align: top;
  padding: 12px 10px;
  border: 1px solid var(--dark-line);
}
/* Slot names remain visible, so color is never the only cue. */
.session--kids {
  --session-bg: var(--class-kids);
}
.session--beginner {
  --session-bg: var(--class-beginner);
}
.session--basic {
  --session-bg: var(--class-basic);
}
.session--regular {
  --session-bg: var(--class-regular);
}
.session--judo {
  --session-bg: var(--class-judo);
}
.session--competition {
  --session-bg: var(--class-competition);
}
.session--free {
  --session-bg: var(--class-free);
}
.session {
  padding: 14px 10px;
  margin-bottom: 10px;
  background: var(--session-bg, var(--class-free));
  color: #293237;
  border-radius: 3px;
  line-height: 1.65;
}
.session:last-child {
  margin-bottom: 0;
}
.session > span {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  margin-bottom: 9px;
  font-variant-numeric: tabular-nums;
}
.session b {
  color: inherit;
  font-size: 13px;
  font-weight: 600;
}
.session small {
  display: block;
  color: inherit;
  font-size: 11px;
  margin-top: 5px;
}
.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  list-style: none;
  padding: 0;
  margin: -15px auto 28px;
  max-width: 1168px;
}
.schedule-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--dark-muted);
}
.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
  background: var(--session-bg);
}
.table-footnote {
  color: var(--dark-muted);
  font-size: 12px;
  margin-top: 20px;
}
.mobile-scroll-hint {
  display: none;
}
/* Membership: a wide comparison table, not a narrow price list */
.pricing-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  align-items: start;
  margin-bottom: 40px;
}
.pricing-intro > .eyebrow {
  grid-column: 1/-1;
}
.pricing-intro h2 {
  grid-row: span 3;
}
.pricing-intro > .muted {
  margin-top: 5px;
}
.pricing-intro > .text-link {
  justify-self: start;
  margin-top: 16px;
}
.trial-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.trial-price > span {
  font-size: 9px;
  letter-spacing: 0.1em;
}
.trial-price small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0;
}
.trial-price strong {
  font-size: 39px;
  letter-spacing: -0.05em;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
}
.trial-price strong > span {
  font-size: 10px;
  letter-spacing: 0;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
}
.price-table thead th {
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  padding: 16px 24px;
  color: var(--muted);
  background: #e7e9e8;
}
.price-table thead th:last-child {
  text-align: right;
}
.price-table tbody th {
  text-align: left;
  font-size: 17px;
  width: 70%;
  font-weight: 600;
}
.price-table tbody th,
.price-table td {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.price-table td {
  text-align: right;
  white-space: nowrap;
  font-size: 12px;
}
.price-table td strong {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.price-table small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 5px;
}
.price-discount {
  font-size: 13px;
  margin-top: 24px;
}
.price-discount strong {
  white-space: nowrap;
}
.joining-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 12px 40px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 28px;
}
.joining-info h3 {
  font-size: 16px;
}
.joining-info ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  grid-row: span 2;
}
.joining-info p {
  color: var(--muted);
  font-size: 13px;
}
.pricing-details > .fine-print {
  margin-top: 18px;
}
/* First visit: a numbered vertical path */
.trial {
  padding-top: 20px;
}
.trial-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--ink);
}
.trial-steps li {
  display: grid;
  grid-template-columns: 140px 1fr 1.2fr;
  align-items: start;
  gap: 35px;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.step-top {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  font-size: 9px;
}
.step-top b {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.step-top > span {
  display: none;
}
.trial-steps h3 {
  font-size: 18px;
}
.trial-steps p {
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
}
.trial-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding-top: 30px;
}
.trial-bottom p {
  font-size: 19px;
  font-weight: 600;
}
/* Instructor: text first, portrait on the right */
.instructor {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10%;
  align-items: center;
  border-top: 1px solid var(--line);
}
.instructor-copy {
  grid-column: 1;
  grid-row: 1;
}
.instructor-image {
  grid-column: 2;
  grid-row: 1;
  position: relative;
}
.instructor-image img {
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 60% center;
}
.instructor-role {
  font-size: 13px;
  color: var(--muted);
  margin-top: 28px;
}
.instructor-name {
  font-size: 36px;
  font-weight: 650;
  letter-spacing: 0.04em;
  margin-top: 7px;
}
.instructor-record {
  margin-top: 30px;
}
.instructor-record h4 {
  margin: 0 0 15px;
  font-size: 15px;
  font-weight: 600;
}
.instructor-record ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.instructor-record li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.9;
}
.instructor-record time {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
/* FAQ: a full-width, dark accordion */
.faq {
  max-width: none;
  background: var(--ink);
  color: var(--paper);
}
.faq > div {
  max-width: 1168px;
  margin-left: auto;
  margin-right: auto;
}
.faq > div:first-child {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 0 40px;
  align-items: start;
  margin-bottom: 45px;
}
.faq > div:first-child .eyebrow {
  grid-row: span 2;
  color: var(--dark-muted);
}
.faq > div:first-child .muted {
  color: var(--dark-muted);
  font-size: 12px;
  margin-top: 15px;
}
.faq-items {
  border-top: 1px solid var(--dark-line);
}
.faq details {
  border-bottom: 1px solid var(--dark-line);
}
.faq summary {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 5px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.question-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--dark-muted);
  align-self: flex-start;
  padding-top: 2px;
}
.faq summary::after {
  content: "+";
  margin-left: auto;
  width: 24px;
  flex-shrink: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 300;
}
.faq details[open] summary::after {
  content: "−";
}
.faq-answer {
  padding: 0 60px 28px;
  font-size: 14px;
  line-height: 2;
  color: var(--dark-muted);
}
.faq-answer a {
  color: var(--paper);
}
/* Access and contact */
.access {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8%;
  align-items: center;
}
.access-copy h3 {
  font-size: 18px;
  margin-top: 30px;
}
.access-info {
  margin: 22px 0 15px;
}
.access-info > div {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 13px;
}
.access-info dt {
  color: var(--muted);
}
.access-info dd {
  margin: 0;
}
.access-info address {
  font-style: normal;
  line-height: 1.9;
}
.map-container {
  min-height: 430px;
  background: #e7e9e8;
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}
.map-help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 13px;
  line-height: 1.9;
}
.social-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
  max-width: var(--max);
  margin: auto;
  padding: 0 var(--gutter) 80px;
}
.social-section .eyebrow {
  font-size: 9px;
  margin-bottom: 15px;
}
.social-section h2 {
  font-size: 23px;
}
.social-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
}
.social-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  font-size: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.social-links a:hover {
  opacity: 0.6;
}
/* Final invitation: asymmetrical, with the action next to the statement */
.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 50px;
  align-items: center;
  padding: 70px var(--gutter) 35px;
}
.final-cta .eyebrow {
  grid-column: 1/-1;
  color: var(--dark-muted);
}
.final-cta h2 {
  font-size: clamp(34px, 4.4vw, 64px);
  grid-column: 1;
}
.final-cta > p:not(.eyebrow) {
  grid-column: 1;
  color: var(--dark-muted);
  font-size: 12px;
  margin-top: 20px;
}
.final-cta > .button {
  grid-column: 2;
  grid-row: 2/4;
  min-width: 290px;
}
.final-caption {
  grid-column: 1/-1;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--dark-muted);
  padding-top: 55px;
}
.footer {
  color: var(--paper);
  background: var(--ink);
  padding: 35px var(--gutter) 25px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--dark-line);
  padding-top: 30px;
}
.footer-top nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
}
.footer-top nav a {
  font-size: 12px;
  text-decoration: none;
}
.back-to-top {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #777e82;
  text-decoration: none;
  font-size: 22px;
  flex-shrink: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 35px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--dark-muted);
}
.footer-bottom small {
  font-size: 9px;
}
.draft-notice {
  color: var(--dark-muted);
  font-size: 11px;
  margin-top: 22px;
}
.mobile-cta {
  display: none;
}
/* 05 Responsive */
@media (min-width: 1700px) {
  .hero,
  .header,
  .final-cta,
  .footer {
    padding-left: max(var(--gutter), calc((100vw - 1440px) / 2));
    padding-right: max(var(--gutter), calc((100vw - 1440px) / 2));
  }
}
@media (max-width: 1100px) {
  .header {
    gap: 24px;
  }
  .nav {
    gap: 16px;
  }
  .nav a {
    font-size: 12px;
  }
  .class-card {
    grid-template-columns: 110px 1fr 1fr 90px;
    gap: 22px;
  }
  .class-card h3 {
    font-size: 17px;
  }
  .class-card p {
    font-size: 13px;
  }
  .trial-steps li {
    grid-template-columns: 100px 1fr 1.2fr;
    gap: 25px;
  }
  .trial-steps h3 {
    font-size: 18px;
  }
}
@media (max-width: 950px) {
  .header {
    flex-wrap: wrap;
    min-height: 88px;
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 20px;
  }
  .header-cta {
    margin-left: auto;
  }
  .nav {
    order: 4;
    width: 100%;
    justify-content: space-between;
    margin: 5px 0 0;
  }
  .header.is-enhanced .nav {
    display: none;
  }
  .header.is-enhanced .nav.is-open {
    display: flex;
    padding: 20px 0 5px;
  }
  .menu-toggle:not([hidden]) {
    display: block;
  }
  .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .about {
    gap: 45px 7%;
  }
  .about-body {
    padding-top: 25px;
  }
  .intro-text {
    font-size: 17px;
  }
  .benefits article {
    padding-left: 24px;
    padding-right: 24px;
  }
  .benefits h3 {
    font-size: 18px;
  }
  .philosophy {
    gap: 7%;
    padding-top: 10px;
  }
  .philosophy-art {
    min-height: 390px;
  }
  .class-card {
    grid-template-columns: 100px 1fr 90px;
    gap: 15px 20px;
  }
  .class-card h3 {
    grid-column: 2;
  }
  .class-card p {
    grid-column: 2;
    grid-row: 2;
  }
  .class-card a {
    grid-column: 3;
    grid-row: 1/3;
  }
  .class-index {
    align-self: start;
    margin-top: 4px;
  }
  .heading-row {
    gap: 25px;
  }
  .section-note {
    font-size: 13px;
  }
  .pricing-intro {
    gap: 0 45px;
  }
  .trial-steps li {
    grid-template-columns: 80px 1fr 1fr;
    gap: 25px;
  }
  .instructor {
    gap: 8%;
  }
  .access-info > div {
    grid-template-columns: 65px 1fr;
    gap: 10px;
    font-size: 13px;
  }
  .social-section {
    gap: 35px;
  }
  .social-section h2 {
    font-size: 21px;
  }
  .final-cta {
    gap: 0 30px;
  }
  .final-cta > .button {
    min-width: 250px;
  }
  .footer-top {
    gap: 24px;
  }
  .footer-top nav {
    gap: 18px;
  }
}
@media (max-width: 680px) {
  :root {
    --gutter: 24px;
  }
  html {
    scroll-padding-top: 24px;
  }
  .header {
    min-height: 82px;
    padding-top: 20px;
    padding-bottom: 18px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-name small {
    font-size: 8px;
    margin-top: 7px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
    width: 42px;
    height: 42px;
  }
  .nav {
    flex-wrap: wrap;
    gap: 0;
  }
  .nav a {
    flex-basis: 50%;
    padding: 12px 0;
    font-size: 12px;
  }
  .image-status {
    left: 16px;
    right: 12px;
    bottom: 14px;
    font-size: 8px;
  }
  .section {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  h2 {
    font-size: 28px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
  }
  .muted {
    font-size: 14px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-body {
    padding-top: 0;
  }
  .intro-text {
    font-size: 17px;
    margin-bottom: 20px;
  }
  .benefits {
    grid-template-columns: 1fr;
    margin-top: 5px;
  }
  .benefits article,
  .benefits article:first-child,
  .benefits article:last-child {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 0 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
  }
  .benefit-number {
    grid-row: span 2;
    font-size: 30px;
    padding-top: 3px;
  }
  .benefits h3 {
    font-size: 18px;
    margin: 0 0 10px;
  }
  .benefits p {
    font-size: 14px;
  }
  .philosophy {
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 32px;
  }
  .philosophy-art {
    min-height: 250px;
  }
  .mat-word {
    font-size: clamp(100px, 40vw, 180px);
  }
  .mat-word > span {
    font-size: 8px;
    margin-top: 13px;
  }
  .art-caption {
    margin-top: 20px;
    font-size: 10px;
  }
  .philosophy-copy > p:not(.eyebrow) {
    margin-bottom: 24px;
  }
  .feature-item {
    padding: 18px 0;
  }
  #classes {
    padding-top: 5px;
  }
  .heading-row {
    display: block;
    margin-bottom: 28px;
  }
  .section-note {
    font-size: 13px;
    margin-top: 17px;
  }
  .class-card {
    grid-template-columns: 1fr auto;
    gap: 13px 16px;
    padding: 25px 0;
  }
  .class-index {
    grid-column: 1/-1;
    margin: 0;
    font-size: 10px;
  }
  .class-card h3 {
    grid-column: 1;
    grid-row: 2;
    font-size: 17px;
  }
  .class-card p {
    grid-column: 1/-1;
    grid-row: 3;
    font-size: 13px;
  }
  .class-card a {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
    gap: 10px;
  }
  .class-note {
    font-size: 13px;
  }
  .schedule .heading-row .text-link {
    margin-top: 20px;
  }
  .schedule-table caption {
    font-size: 14px;
    padding-bottom: 18px;
  }
  .schedule-table caption span {
    display: block;
    margin-top: 7px;
  }
  .table-footnote {
    margin-top: 16px;
  }
  .mobile-scroll-hint {
    display: block;
    margin-top: 12px;
    font-weight: 600;
  }
  .pricing-intro {
    display: block;
    margin-bottom: 30px;
  }
  .pricing-intro > .muted {
    margin-top: 20px;
  }
  .pricing-intro > .text-link {
    margin-top: 10px;
  }
  .trial-price {
    margin-top: 25px;
  }
  .trial-price strong {
    font-size: 36px;
  }
  .price-table thead th {
    padding: 13px 10px;
    font-size: 12px;
  }
  .price-table tbody th,
  .price-table td {
    padding: 22px 10px;
  }
  .price-table tbody th {
    width: 62%;
    font-size: 16px;
  }
  .price-table td {
    font-size: 12px;
  }
  .price-table td strong {
    font-size: 27px;
  }
  .price-table small {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 7px;
  }
  .price-discount {
    font-size: 13px;
    margin-top: 20px;
  }
  .joining-info {
    display: block;
    padding: 23px 0;
    margin-top: 24px;
  }
  .joining-info h3 {
    font-size: 15px;
  }
  .joining-info ul {
    margin: 14px 0;
  }
  .fine-print {
    font-size: 12px;
  }
  .trial {
    padding-top: 5px;
  }
  .trial-steps li {
    grid-template-columns: 62px 1fr;
    gap: 12px 16px;
    padding: 26px 0;
  }
  .step-top {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 8px;
  }
  .step-top b {
    font-size: 34px;
  }
  .trial-steps h3 {
    font-size: 18px;
  }
  .trial-steps p {
    grid-column: 2;
    font-size: 14px;
  }
  .trial-bottom {
    display: block;
    padding-top: 25px;
  }
  .trial-bottom p {
    font-size: 17px;
    margin-bottom: 20px;
  }
  .trial-bottom .button {
    width: 100%;
  }
  .instructor {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .instructor-copy {
    grid-row: 1;
    grid-column: 1;
  }
  .instructor-image {
    grid-row: 2;
    grid-column: 1;
    width: 80%;
    margin-left: auto;
  }
  .instructor-copy > .muted {
    font-size: 14px;
  }
  .instructor-copy > .fine-print {
    font-size: 12px;
  }
  .faq > div:first-child {
    display: block;
    margin-bottom: 30px;
  }
  .faq > div:first-child .muted {
    margin-top: 17px;
  }
  .faq summary {
    padding: 23px 0;
    gap: 14px;
    font-size: 14px;
  }
  .faq summary::after {
    width: 18px;
    font-size: 22px;
  }
  .question-label {
    font-size: 12px;
  }
  .faq-answer {
    padding: 0 28px 24px;
    font-size: 14px;
  }
  .access {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .access-copy h3 {
    font-size: 17px;
    margin-top: 25px;
  }
  .access-info > div {
    grid-template-columns: 66px 1fr;
    font-size: 13px;
    gap: 12px;
  }
  .social-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 60px;
  }
  .social-section h2 {
    font-size: 21px;
  }
  .social-links a {
    padding: 16px 0;
    font-size: 14px;
  }
  .final-cta {
    display: block;
    padding-top: 55px;
    padding-bottom: 30px;
  }
  .final-cta .eyebrow {
    font-size: 8px;
    margin-bottom: 22px;
  }
  .final-cta h2 {
    font-size: 33px;
  }
  .final-cta > p:not(.eyebrow) {
    font-size: 12px;
    margin-top: 17px;
  }
  .final-cta > .button {
    width: 100%;
    min-width: 0;
    margin-top: 30px;
  }
  .final-caption {
    display: block;
    font-size: 8px;
    padding-top: 35px;
  }
  .footer {
    padding-top: 5px;
    padding-bottom: 115px;
  }
  .footer-top {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px;
    padding-top: 26px;
  }
  .footer-top nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    margin-left: 0;
  }
  .footer-top nav a {
    font-size: 12px;
  }
  .footer-bottom {
    padding-top: 30px;
    font-size: 8px;
    gap: 15px;
  }
  .footer-bottom small {
    font-size: 8px;
  }
  .draft-notice {
    font-size: 11px;
    line-height: 1.8;
    margin-top: 20px;
  }
  .mobile-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: rgba(21, 23, 24, 0.98);
    color: var(--paper);
    border-top: 1px solid #737a7e;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }
  .mobile-cta > span {
    font-size: 10px;
    max-width: 100px;
    line-height: 1.6;
  }
  .mobile-cta > .button {
    flex: 1;
    min-height: 46px;
    padding: 12px 16px;
    gap: 12px;
    font-size: 12px;
  }
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Portrait hero: keep the copy readable before stacking on small screens. */
@media (max-width: 950px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 25px 30px;
    padding-top: 45px;
  }
  .hero h1 {
    font-size: 3.8vw;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 0.09em;
  }
  .hero-lead {
    font-size: 14px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-button {
    min-width: 230px;
  }
}
@media (max-width: 680px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
    gap: 30px;
    background: linear-gradient(150deg, #fff 0%, #fff 40%, #edf0f1 100%);
  }
  .hero-copy {
    padding: 0;
  }
  .hero .eyebrow {
    font-size: 7px;
    margin-bottom: 22px;
  }
  .hero .eyebrow > span {
    padding: 0 5px;
  }
  .hero h1 {
    font-size: clamp(26px, 7.8vw, 46px);
    line-height: 1.5;
    letter-spacing: -0.07em;
  }
  .hero h1 > span {
    font-size: 0.9em;
  }
  .hero-intro {
    padding-top: 23px;
  }
  .hero-lead {
    font-size: 14px;
  }
  .hero-description {
    margin-top: 16px;
    font-size: 14px;
  }
  .hero-reservation {
    margin-top: 23px;
  }
  .hero-button {
    width: 100%;
    min-width: 0;
  }
  .hero-caption {
    font-size: 11px;
  }
  .hero-visual {
    max-width: 360px;
    width: 88%;
  }
  .hero .image-status {
    font-size: 10px;
    padding-top: 10px;
  }
  .hero-bottom {
    font-size: 8px;
    gap: 15px;
    padding-top: 17px;
  }
  .scroll-cue {
    font-size: 10px;
    gap: 15px;
  }
}

/* Real profile and contact information. */
.instructor {
  align-items: start;
}
@media (max-width: 680px) {
  .instructor-name {
    font-size: 31px;
  }
  .instructor-role {
    margin-top: 23px;
  }
  .instructor-record {
    margin-top: 24px;
  }
  .instructor-record li {
    grid-template-columns: 46px 1fr;
    gap: 12px;
    font-size: 13px;
  }
  .instructor-image {
    width: 100%;
  }
  .map-container {
    min-height: 340px;
  }
  .map-container iframe {
    height: 340px;
  }
}

/* A shared portrait asset is used in both photo slots. */
.instructor-image .image-status {
  position: static;
  display: block;
  padding-top: 12px;
  color: var(--muted);
  font-size: 10px;
}

/* Accent colors are tied to actions, independently of page background. */
.button.button--trial {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.button.button--trial:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
a.trial-link {
  color: var(--accent-text);
  border-bottom-color: currentColor;
  text-decoration-color: currentColor;
}
a.trial-link:hover {
  color: var(--accent-hover);
  opacity: 1;
}
.dark-section a.trial-link,
.faq a.trial-link {
  color: var(--accent-on-dark);
}
.dark-section a.trial-link:hover,
.faq a.trial-link:hover {
  color: #f4b7cb;
  opacity: 1;
}
a.line-link {
  color: var(--line-link);
  border-bottom-color: currentColor;
  text-decoration-color: currentColor;
}
a.line-link:hover {
  color: #006a2b;
  opacity: 1;
}
.dark-section a.line-link,
.faq a.line-link {
  color: var(--line-green);
}
.dark-section a.line-link:hover,
.faq a.line-link:hover {
  color: #55df8d;
  opacity: 1;
}
.class-card a[data-schedule-link] {
  min-height: 44px;
  align-items: center;
}
@media (max-width: 680px) {
  .schedule-legend {
    margin: 0 0 25px;
    gap: 12px 18px;
  }
  .schedule-legend li {
    font-size: 10px;
  }
}
