@charset "utf-8";

/* =========================================================
   本間剣友会・本間道場 — Editorial Minimal Theme (SP-first)
   ========================================================= */

:root {
  --bg: #fbf7ec;
  --bg-soft: #f5efe2;
  --bg-warm: #ebe1cd;
  --bg-dark: #0a0907;
  --ink: #14110d;
  --ink-soft: #4d463d;
  --ink-mute: #6f6862;
  --line: #c5b89a;
  --accent: #8b1e1e;
  --accent-soft: #a52a2a;

  --font-mincho: "Shippori Mincho B1", "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 24px;
  --section-y: 56px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--bg); }

/* =========================================================
   Intro / タイプライターアニメ
   ========================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__inner {
  width: min(92%, 560px);
  text-align: center;
  position: relative;
}

.intro__text {
  font-family: var(--font-mincho);
  font-size: clamp(15px, 4.4vw, 24px);
  line-height: 3;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: pre-line;
  min-height: 18em;
  margin: 0;
  font-weight: 500;
}

.intro__text::after {
  content: "▍";
  color: var(--accent);
  margin-left: 2px;
  animation: blink 0.9s steps(2) infinite;
}

.intro.is-done .intro__text::after { display: none; }

@keyframes blink {
  50% { opacity: 0; }
}

.intro__skip {
  position: absolute;
  bottom: -56px;
  right: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}
.intro__skip:hover { color: var(--accent); }

/* =========================================================
   Custom Cursor : 竹刀 (PC only)
   ========================================================= */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  display: none;
  width: 0;
  height: 0;
  overflow: visible;
}
.cursor__shinai {
  position: absolute;
  top: 0;
  left: 0;
  /* viewBox -50 -60 300 200 を 60x40 で表示。中央 (30, 20) がカーソル位置 */
  width: 60px;
  height: 40px;
  margin: -20px 0 0 -30px;
  overflow: visible;
  transform: translate3d(0, 0, 0);
  filter: drop-shadow(0 2px 3px rgba(10, 9, 7, 0.32));
  transition: filter 0.25s ease;
}
.cursor__shinai-g {
  /* 竹刀の少し下を支点に、切先を右上に向けて構える */
  transform-box: fill-box;
  transform-origin: 50% 65%;
  transform: rotate(-32deg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
/* hover 中はもう少し振りかぶる */
.cursor.is-active .cursor__shinai-g {
  transform: rotate(-50deg);
}
.cursor.is-active .cursor__shinai {
  filter: drop-shadow(0 8px 14px rgba(139, 30, 30, 0.5));
}
/* クリック時に切先を下に振り下ろし */
.cursor.is-strike .cursor__shinai-g {
  transform: rotate(48deg);
  transition: transform 0.16s cubic-bezier(0.7, 0, 0.4, 1);
}

/* 衝撃エフェクト */
.strike-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}
.strike {
  position: absolute;
  width: 0;
  height: 0;
}
.strike__ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  animation: strikeRing 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.strike__slash {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 2px;
  margin: -1px 0 0 -30px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: rotate(45deg);
  animation: strikeSlash 0.4s ease-out forwards;
}
@keyframes strikeRing {
  from { transform: scale(0.4); opacity: 0.95; }
  to   { transform: scale(2.4); opacity: 0; }
}
@keyframes strikeSlash {
  from { transform: rotate(45deg) scaleX(0); opacity: 1; }
  60%  { transform: rotate(45deg) scaleX(1); opacity: 0.95; }
  to   { transform: rotate(45deg) scaleX(1); opacity: 0; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor { display: block; }
  body { cursor: none; }
  a, button, input, textarea, .nav-toggle, .lang-toggle__btn, .contact-card, .discipline, .access-link, .discipline__link { cursor: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor { display: none !important; }
  .strike__ring, .strike__slash { animation-duration: 0.01s; opacity: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track, .discipline__num, .principles__media img, .hero-banner img { animation: none; transition: none; }
}

/* =========================================================
   Scroll fade-in
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* =========================================================
   Site shell
   ========================================================= */
/* Site shell — JS が intro 完了後に .is-ready を付与してフェードイン
   noscript フォールバックで JS 無効でも本文が見える */
.site {
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.site.is-ready {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .site { transition: none; }
}

.section {
  padding: var(--section-y) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

.section__marker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto 28px;
  text-align: left;
  text-transform: none;
}

.section__title {
  font-family: var(--font-mincho);
  font-size: clamp(34px, 9vw, 56px);
  line-height: 1.32;
  letter-spacing: 0.02em;
  font-weight: 500;
  margin: 0 0 28px;
  color: var(--ink);
}

.section__lead {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 36em;
  margin: 0 0 32px;
}

.section__fig {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin: 0 0 20px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 60;
}

.brand { display: flex; align-items: center; line-height: 1.1; padding-top: 6px; min-width: 0; flex-shrink: 1; }
.brand__title {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}
.lang-toggle__btn {
  background: none;
  border: none;
  padding: 6px 2px;
  cursor: pointer;
  color: var(--ink-mute);
  transition: color 0.2s;
  font: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}
.lang-toggle__btn.is-active { color: var(--ink); }
.lang-toggle__btn:hover { color: var(--accent); }
.lang-toggle__sep {
  color: var(--ink-mute);
  user-select: none;
}

.nav-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.is-open { background: var(--ink); border-color: var(--ink); }
.nav-toggle.is-open span { background: var(--bg); }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
  z-index: 40;
}
.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: center;
}
.site-nav__list a {
  font-family: var(--font-mincho);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--bg);
  position: relative;
  transition: color 0.2s;
}
.site-nav__list a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease, left 0.3s ease;
}
.site-nav__list a:hover { color: var(--accent-soft); }
.site-nav__list a:hover::before { width: 60%; left: 20%; }

/* =========================================================
   Hero Banner (full-width)
   ========================================================= */
.hero-banner {
  margin: 0;
  width: 100%;
  background: var(--bg-warm);
}
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   Hero
   ========================================================= */
.section--hero { padding-top: 56px; }

.hero__title {
  font-family: var(--font-mincho);
  font-size: clamp(30px, 8.6vw, 60px);
  line-height: 1.32;
  letter-spacing: 0.02em;
  font-weight: 500;
  margin: 0 0 32px;
  color: var(--ink);
}

.hero__body p {
  font-size: 17px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.hero__body p:last-child { margin-bottom: 0; }

/* =========================================================
   Disciplines
   ========================================================= */
.section--disciplines { position: relative; isolation: isolate; }
.section--disciplines::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: var(--bg-soft);
  z-index: -1;
}

.disciplines {
  display: grid;
  gap: 16px;
}

.discipline {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 28px 24px 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 18px;
  row-gap: 8px;
  align-items: end;
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.discipline:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(139, 30, 30, 0.35);
}
.discipline__num { transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), color 0.35s ease; }
.discipline:hover .discipline__num { transform: scale(1.12) rotate(-3deg); }

.discipline__num {
  grid-row: 1 / span 2;
  font-family: var(--font-mincho);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  align-self: center;
}

.discipline__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.discipline__head h3 {
  font-family: var(--font-mincho);
  font-size: 26px;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.04em;
}

.discipline__en {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
}

.discipline__desc {
  grid-column: 2;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0;
}

.discipline__link {
  grid-column: 2;
  justify-self: start;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.discipline__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.discipline__link:hover::after { transform: scaleX(1); }

/* =========================================================
   Principles
   ========================================================= */
.section--principles {
  color: var(--bg-soft);
  position: relative;
  isolation: isolate;
}
.section--principles::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: var(--bg-dark);
  z-index: -1;
}
.section--principles .section__marker { color: var(--accent-soft); }
.section--principles .section__title { color: var(--bg-soft); }
.section--principles .section__lead { color: #cfc7b8; }
.section--principles .section__fig { color: var(--ink-mute); }

.principles__media {
  position: relative;
  margin: 32px 0 0;
  overflow: hidden;
}
.principles__media img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  filter: brightness(0.92) saturate(0.9) contrast(1.04);
}

.principles__quote {
  border-left: 2px solid var(--accent);
  margin: 32px 0 0;
  padding: 8px 0 8px 22px;
}
.principles__quote p {
  font-family: var(--font-mincho);
  font-size: clamp(18px, 5.2vw, 22px);
  line-height: 2.6;
  letter-spacing: 0.06em;
  margin: 0;
  color: var(--bg-soft);
}

/* =========================================================
   Schedule
   ========================================================= */
.schedule {
  border-top: 1px solid var(--line);
  margin: 8px 0 24px;
}

.schedule__row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.schedule__day {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.schedule__kanji {
  font-family: var(--font-mincho);
  font-size: 38px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}

.schedule__en {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}

.schedule__time {
  font-family: var(--font-mono);
  font-size: clamp(20px, 6vw, 26px);
  letter-spacing: 0.04em;
  text-align: right;
  color: var(--ink);
}

.schedule__notes {
  display: grid;
  gap: 6px;
  margin: 4px 0 36px;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.schedule__cal-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin: 0 0 14px;
}

.schedule__cal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
@media (max-width: 767px) {
  .schedule__cal-frame {
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    width: auto;
    border-left: 0;
    border-right: 0;
  }
}
.schedule__cal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   Access
   ========================================================= */
.section--access { position: relative; isolation: isolate; }
.section--access::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: var(--bg-warm);
  z-index: -1;
}

.access-list {
  margin: 8px 0 32px;
  border-top: 1px solid var(--line);
}
.access-list__row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.access-list dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.access-list dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink);
}

.access-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  margin-bottom: 18px;
}
.access-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  position: relative;
}
.access-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.access-link:hover::after { transform: scaleX(1); }

/* =========================================================
   Contact
   ========================================================= */
.contact-card {
  display: block;
  background: var(--bg-dark);
  color: var(--bg-soft);
  padding: 28px 24px;
  border-radius: 4px;
  border: 1px solid rgba(245, 239, 226, 0.12);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease,
              background 0.35s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(139, 30, 30, 0.18));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(10, 9, 7, 0.55);
  border-color: var(--accent);
}
.contact-card:hover::after { opacity: 1; }
.contact-card:hover .contact-card__icon { transform: translateX(4px); }
.contact-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mincho);
  font-size: 22px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 22px;
  letter-spacing: 0;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.contact-card__mail {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  word-break: break-all;
  color: var(--bg);
  border-top: 1px solid rgba(245, 239, 226, 0.2);
  padding-top: 16px;
  margin-bottom: 6px;
}
.contact-card__person {
  font-size: 12px;
  color: var(--ink-mute);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-dark);
  color: var(--bg-soft);
  padding: 56px var(--gutter) 36px;
}
.site-footer__links {
  max-width: var(--maxw);
  margin: 0 auto 32px;
}
.site-footer__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent-soft);
  margin-bottom: 16px;
}
.site-footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__links a {
  font-family: var(--font-mincho);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--bg-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.site-footer__links a:hover {
  color: var(--accent-soft);
  border-color: var(--accent-soft);
}

.site-footer__copy {
  max-width: var(--maxw);
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  border-top: 1px solid rgba(245, 239, 226, 0.12);
  padding-top: 24px;
}

/* =========================================================
   Tablet (≥ 768px)
   ========================================================= */
@media (min-width: 768px) {
  :root {
    --gutter: 48px;
    --section-y: 88px;
  }

  body { font-size: 16px; }

  .contact-pill { display: inline-flex; align-items: center; }

  .brand__title { font-size: 22px; }
  .brand__caption { font-size: 10.5px; }

  .principles__media {
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
  }
  .principles__media img { height: 56vh; max-height: 540px; }

  .disciplines {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .discipline {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 36px 28px 32px;
    align-items: start;
    gap: 18px;
  }
  .discipline__num {
    grid-row: auto;
    font-size: 64px;
  }
  .discipline__desc { grid-column: auto; }
  .discipline__link { grid-column: auto; }

  .schedule__row { grid-template-columns: 1fr auto; padding: 28px 0; }
  .schedule__kanji { font-size: 48px; }

  .principles__quote { padding-left: 32px; }
  .principles__quote p { font-size: 24px; line-height: 2.2; }

  .access-list__row { grid-template-columns: 100px 1fr; padding: 20px 0; }
  .access-map { aspect-ratio: 16 / 9; }
  .schedule__cal-frame { aspect-ratio: 16 / 11; }

  .contact-card { padding: 40px 36px; }
  .contact-card__head { font-size: 26px; }

  .site-footer__links ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px;
  }
}

/* =========================================================
   Desktop (≥ 1024px)
   ========================================================= */
@media (min-width: 1024px) {
  :root { --section-y: 104px; }

  .nav-toggle { display: none; }

  .site-header__bar {
    justify-content: center;
    position: relative;
    padding: 28px var(--gutter) 14px;
  }
  .brand { padding-top: 0; }
  .brand__title { font-size: 28px; letter-spacing: 0.08em; }
  .header-tools {
    position: absolute;
    right: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
  }

  .site-nav {
    position: static;
    inset: auto;
    background: transparent;
    color: inherit;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: flex;
    justify-content: center;
    padding: 0 var(--gutter) 18px;
    max-width: var(--maxw);
    margin: 0 auto;
  }
  .site-nav__list {
    flex-direction: row;
    gap: 36px;
  }
  .site-nav__list a {
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    font-weight: 500;
  }
  .site-nav__list a:hover { color: var(--accent); }
  .site-nav__list a::before { background: var(--accent); }

  .section--hero {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .section--hero .section__marker { grid-column: 1 / -1; }
  .hero__title { grid-column: 1 / -1; margin-bottom: 32px; }
  .hero__body { grid-column: 1 / -1; max-width: 64em; }
  .hero__body p { font-size: 18px; }

  .section--principles {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    column-gap: 64px;
  }
  .section--principles .section__marker { grid-column: 1; justify-self: stretch; margin-left: 0; }
  .section--principles .section__title { grid-column: 1; justify-self: stretch; margin-left: 0; }
  .section--principles .section__lead { grid-column: 1; justify-self: stretch; margin-left: 0; }
  .principles__media {
    grid-column: 2;
    grid-row: 2 / span 4;
    margin: 0;
  }
  .principles__media img {
    height: 100%;
    max-height: none;
    min-height: 520px;
  }
  .principles__quote { grid-column: 1; }

  .section--schedule {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    column-gap: 64px;
  }
  .section--schedule .section__marker { grid-column: 1 / -1; }
  .section--schedule .section__title { grid-column: 1; }
  .schedule { grid-column: 1; }
  .schedule__notes { grid-column: 1; }
  .schedule__cal { grid-column: 2; grid-row: 2 / span 3; }
  .schedule__cal-frame { aspect-ratio: 4 / 3; }

  .section--access {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    column-gap: 64px;
  }
  .section--access .section__marker { grid-column: 1; justify-self: stretch; margin-left: 0; }
  .section--access .section__title { grid-column: 1; justify-self: stretch; margin-left: 0; }
  .section--access .section__lead { grid-column: 1; justify-self: stretch; margin-left: 0; }
  .access-list { grid-column: 1; }
  .access-map { grid-column: 2; grid-row: 2 / span 4; aspect-ratio: 4 / 3; }
  .access-link { grid-column: 1; }
}
