/* Джудо клуб „Топалов“ – public site
   Visual language: Japanese judo (washi paper, sumi ink, hinomaru red, hanko seals, seigaiha waves)
   + Olympic sport (condensed uppercase type, scoreboard numbers, gold / silver / bronze). */
:root {
  --red: #e80040;
  --red-dark: #c00035;
  --sumi: #16161a;
  --sumi-2: #222228;
  --washi: #f6f2ea;
  --washi-2: #ece5d6;
  --paper: #ffffff;
  --ai: #161555;
  --gold: #c9a227;
  --silver: #a8adb5;
  --bronze: #b5703b;
  --text: #26262c;
  --muted: #6f6d78;
  --line: #e4ddd0;
  --line-dark: rgba(255,255,255,.12);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --jp: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --seigaiha-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Cg stroke='%23ffffff' stroke-opacity='.07' stroke-width='1' fill='none'%3E%3Ccircle cx='20' cy='-10' r='20' fill='%2316161a'/%3E%3Ccircle cx='20' cy='-10' r='16'/%3E%3Ccircle cx='20' cy='-10' r='12'/%3E%3Ccircle cx='20' cy='-10' r='8'/%3E%3Ccircle cx='20' cy='-10' r='4'/%3E%3Ccircle cx='0' cy='0' r='20' fill='%2316161a'/%3E%3Ccircle cx='0' cy='0' r='16'/%3E%3Ccircle cx='0' cy='0' r='12'/%3E%3Ccircle cx='0' cy='0' r='8'/%3E%3Ccircle cx='0' cy='0' r='4'/%3E%3Ccircle cx='40' cy='0' r='20' fill='%2316161a'/%3E%3Ccircle cx='40' cy='0' r='16'/%3E%3Ccircle cx='40' cy='0' r='12'/%3E%3Ccircle cx='40' cy='0' r='8'/%3E%3Ccircle cx='40' cy='0' r='4'/%3E%3Ccircle cx='20' cy='10' r='20' fill='%2316161a'/%3E%3Ccircle cx='20' cy='10' r='16'/%3E%3Ccircle cx='20' cy='10' r='12'/%3E%3Ccircle cx='20' cy='10' r='8'/%3E%3Ccircle cx='20' cy='10' r='4'/%3E%3Ccircle cx='0' cy='20' r='20' fill='%2316161a'/%3E%3Ccircle cx='0' cy='20' r='16'/%3E%3Ccircle cx='0' cy='20' r='12'/%3E%3Ccircle cx='0' cy='20' r='8'/%3E%3Ccircle cx='0' cy='20' r='4'/%3E%3Ccircle cx='40' cy='20' r='20' fill='%2316161a'/%3E%3Ccircle cx='40' cy='20' r='16'/%3E%3Ccircle cx='40' cy='20' r='12'/%3E%3Ccircle cx='40' cy='20' r='8'/%3E%3Ccircle cx='40' cy='20' r='4'/%3E%3Ccircle cx='20' cy='30' r='20' fill='%2316161a'/%3E%3Ccircle cx='20' cy='30' r='16'/%3E%3Ccircle cx='20' cy='30' r='12'/%3E%3Ccircle cx='20' cy='30' r='8'/%3E%3Ccircle cx='20' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
  --seigaiha-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Cg stroke='%2316161a' stroke-opacity='.06' stroke-width='1' fill='none'%3E%3Ccircle cx='20' cy='-10' r='20' fill='%23f6f2ea'/%3E%3Ccircle cx='20' cy='-10' r='16'/%3E%3Ccircle cx='20' cy='-10' r='12'/%3E%3Ccircle cx='20' cy='-10' r='8'/%3E%3Ccircle cx='20' cy='-10' r='4'/%3E%3Ccircle cx='0' cy='0' r='20' fill='%23f6f2ea'/%3E%3Ccircle cx='0' cy='0' r='16'/%3E%3Ccircle cx='0' cy='0' r='12'/%3E%3Ccircle cx='0' cy='0' r='8'/%3E%3Ccircle cx='0' cy='0' r='4'/%3E%3Ccircle cx='40' cy='0' r='20' fill='%23f6f2ea'/%3E%3Ccircle cx='40' cy='0' r='16'/%3E%3Ccircle cx='40' cy='0' r='12'/%3E%3Ccircle cx='40' cy='0' r='8'/%3E%3Ccircle cx='40' cy='0' r='4'/%3E%3Ccircle cx='20' cy='10' r='20' fill='%23f6f2ea'/%3E%3Ccircle cx='20' cy='10' r='16'/%3E%3Ccircle cx='20' cy='10' r='12'/%3E%3Ccircle cx='20' cy='10' r='8'/%3E%3Ccircle cx='20' cy='10' r='4'/%3E%3Ccircle cx='0' cy='20' r='20' fill='%23f6f2ea'/%3E%3Ccircle cx='0' cy='20' r='16'/%3E%3Ccircle cx='0' cy='20' r='12'/%3E%3Ccircle cx='0' cy='20' r='8'/%3E%3Ccircle cx='0' cy='20' r='4'/%3E%3Ccircle cx='40' cy='20' r='20' fill='%23f6f2ea'/%3E%3Ccircle cx='40' cy='20' r='16'/%3E%3Ccircle cx='40' cy='20' r='12'/%3E%3Ccircle cx='40' cy='20' r='8'/%3E%3Ccircle cx='40' cy='20' r='4'/%3E%3Ccircle cx='20' cy='30' r='20' fill='%23f6f2ea'/%3E%3Ccircle cx='20' cy='30' r='16'/%3E%3Ccircle cx='20' cy='30' r='12'/%3E%3Ccircle cx='20' cy='30' r='8'/%3E%3Ccircle cx='20' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.75 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; color: var(--sumi); line-height: 1.05; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3, .h3 { font-size: 1.4rem; letter-spacing: .02em; }
p { margin: 0 0 1.1em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[lang="ja"] { font-family: var(--jp); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.narrow-left { max-width: 760px; margin-bottom: 2.5rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.nowrap { white-space: nowrap; }
.d-block { display: block; }
.plain { list-style: none; padding: 0; margin: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sumi); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 0; }
[hidden] { display: none !important; }

/* ---- section label: red sun + text */
.eyebrow { display: inline-flex; align-items: center; gap: .9rem; font: 500 .82rem/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--red); margin: 0 0 1.3rem; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; }
.section-dark .eyebrow, .page-head .eyebrow, .coach-hero .eyebrow, .slide .eyebrow { color: #fff; }

/* gold / silver / bronze rule under section titles */
.section-title { position: relative; padding-bottom: 1.1rem; margin-bottom: 1.4rem; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 84px; height: 4px;
  background: linear-gradient(90deg, var(--gold) 0 30%, transparent 30% 35%, var(--silver) 35% 65%, transparent 65% 70%, var(--bronze) 70% 100%); }
.center .section-title::after { left: 50%; transform: translateX(-50%); }

/* ---- buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 1em 2em; border-radius: 0; border: 2px solid transparent;
  font: 500 .92rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); white-space: nowrap; }
.btn-lg { padding: 1.2em 2.4em; font-size: 1rem; }
.btn-sm { padding: .75em 1.2em; font-size: .8rem; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--sumi); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--sumi); border-color: #fff; }
.btn-light { background: #fff; color: var(--sumi); }
.btn-light:hover { background: var(--red); color: #fff; }
.btn-outline { border-color: var(--sumi); color: var(--sumi); background: transparent; }
.btn-outline:hover { background: var(--sumi); color: #fff; }
.link-arrow { font: 500 .9rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--sumi); text-decoration: none; display: inline-flex; gap: .7em; align-items: center; }
.link-arrow::after { content: "→"; color: var(--red); transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---- header */
.topbar { background: var(--sumi); color: rgba(255,255,255,.6); font-size: .8rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.topbar a { color: rgba(255,255,255,.8); text-decoration: none; margin-left: 1.6rem; }
.topbar a:hover { color: #fff; }
.header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; transition: background .4s var(--ease), border-color .4s, box-shadow .4s; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.logo { display: block; }
.logo img { width: 190px; height: auto; }
.logo .logo-light { display: none; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav ul { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; }
.nav ul a { position: relative; display: block; padding: .6rem .8rem; font: 500 .95rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--sumi); text-decoration: none; }
.nav ul a::after { content: ""; position: absolute; left: 50%; bottom: -.1rem; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .3s var(--ease); }
.nav ul a:hover { color: var(--red); }
.nav ul a[aria-current="page"] { color: var(--red); }
.nav ul a[aria-current="page"]::after, .nav ul a:hover::after { transform: scale(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--sumi); margin: 6px 0; transition: transform .3s, opacity .3s, background .3s; }

/* home: header floats over the slider, turns white on scroll */
.has-overlay-header .topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 61; background: transparent; }
.has-overlay-header .header { position: fixed; left: 0; right: 0; top: 34px; background: transparent; border-bottom-color: transparent; }
.has-overlay-header .header:not(.scrolled) .logo-dark { display: none; }
.has-overlay-header .header:not(.scrolled) .logo-light { display: block; }
.has-overlay-header .header:not(.scrolled) .nav ul a { color: #fff; }
.has-overlay-header .header:not(.scrolled) .nav-toggle span { background: #fff; }
.has-overlay-header .header.scrolled { top: 0; background: var(--paper); border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(22,22,26,.08); }

@media (max-width: 1100px) {
  .topbar-addr { display: none; }
  .topbar-in { justify-content: flex-end; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav { position: fixed; inset: 0; background: var(--sumi) var(--seigaiha-dark); flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; z-index: 1; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: center; gap: .1rem; }
  .nav ul a, .has-overlay-header .header:not(.scrolled) .nav ul a { color: #fff; font-size: 1.9rem; padding: .35rem 1rem; }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--red); }
  .header:has(.nav.open) .nav-toggle span { background: #fff; }
  .header:has(.nav.open) .logo { position: relative; z-index: 2; }
  .header:has(.nav.open) .logo-dark { display: none; }
  .header:has(.nav.open) .logo-light { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header-in { min-height: 70px; }
}
@media (max-width: 560px) {
  .topbar a:not([href^="tel"]) { display: none; }
  .logo img { width: 156px; }
}

/* ---- hero slider */
.slider { position: relative; height: min(100svh, 940px); min-height: 620px; background: var(--sumi); color: #fff; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.3s var(--ease), visibility 1.3s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-media { position: absolute; inset: 0; overflow: hidden; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s linear; filter: saturate(.85) contrast(1.05); }
.slide.is-active .slide-media img { transform: scale(1); }
.slide-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(22,22,26,.94) 0%, rgba(22,22,26,.75) 40%, rgba(22,22,26,.2) 78%, rgba(22,22,26,.35) 100%),
              linear-gradient(0deg, rgba(22,22,26,.85) 0%, rgba(22,22,26,0) 40%); }
.slide-body { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 110px; padding-bottom: 120px; }
.slide-body > * { max-width: 700px; opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.slide.is-active .slide-body > * { opacity: 1; transform: none; }
.slide.is-active .slide-body > :nth-child(2) { transition-delay: .15s; }
.slide.is-active .slide-body > :nth-child(3) { transition-delay: .3s; }
.slide.is-active .slide-body > :nth-child(4) { transition-delay: .45s; }
.slide-title { color: #fff; font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: .98; margin-bottom: .4em; }
.slide-text { font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.85); max-width: 34em; margin-bottom: 2.4rem; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* red sun + vertical 柔道 */
.slider-kanji { position: absolute; z-index: 2; right: max(4vw, calc((100vw - var(--wrap)) / 2)); top: 50%; transform: translateY(-46%);
  writing-mode: vertical-rl; white-space: nowrap; font: 900 clamp(4.5rem, 9vw, 8.5rem)/1 var(--jp); color: #fff; letter-spacing: .08em; pointer-events: none;
  text-shadow: 0 10px 40px rgba(0,0,0,.35); }
.slider-kanji .sun { position: absolute; z-index: -1; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--red); top: -.2em; left: 50%; transform: translateX(-50%); opacity: .92; box-shadow: 0 0 80px rgba(232,0,64,.45); }
@media (max-width: 900px) { .slider-kanji { font-size: 3.4rem; top: 120px; transform: none; right: 24px; } }

.slider-ui { position: absolute; z-index: 4; left: 0; right: 0; bottom: 2.4rem; }
.slider-ui .wrap { display: flex; align-items: center; gap: 2rem; }
.slider-count { font: 500 1.2rem var(--display); color: #fff; min-width: 4.5em; margin: 0; letter-spacing: .06em; }
.slider-count span { color: rgba(255,255,255,.45); }
.slider-dots { display: flex; gap: .6rem; flex: 1; max-width: 420px; }
.slider-dot { flex: 1; height: 22px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.slider-dot::before, .slider-dot i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; background: rgba(255,255,255,.25); }
.slider-dot i { right: auto; width: 0; background: var(--red); }
.slider-dot.is-active i { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.slider.paused .slider-dot.is-active i { animation-play-state: paused; }
.slider-dot.is-done i { width: 100%; background: #fff; }
@keyframes progress { to { width: 100%; } }
.slider-arrows { display: flex; gap: .5rem; margin-left: auto; }
.slider-arrows button { width: 50px; height: 50px; border: 2px solid rgba(255,255,255,.35); background: transparent; color: #fff; cursor: pointer; font-size: 1rem; transition: border-color .3s, background .3s; }
.slider-arrows button:hover { border-color: var(--red); background: var(--red); }
@media (max-width: 700px) {
  .slider { min-height: 640px; height: 100svh; }
  .slide-media::after { background: linear-gradient(0deg, rgba(22,22,26,.96) 15%, rgba(22,22,26,.55) 65%, rgba(22,22,26,.45) 100%); }
  .slide-body { justify-content: flex-end; padding-bottom: 130px; }
  .slider-arrows { display: none; }
  .slider-ui { bottom: 1.8rem; }
}

/* ---- scoreboard strip */
.facts { background: var(--sumi); color: rgba(255,255,255,.65); border-top: 4px solid var(--red); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 2.2rem 1.6rem; border-left: 1px solid var(--line-dark); font-size: .88rem; line-height: 1.5; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font: 600 3.4rem/1 var(--display); color: #fff; margin-bottom: .5rem; }
.facts strong em { color: var(--red); font-style: normal; }
@media (max-width: 800px) { .facts ul { grid-template-columns: 1fr 1fr; } .facts li { padding: 1.5rem 1rem; } .facts li:nth-child(3) { border-left: 0; padding-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--line-dark); } .facts strong { font-size: 2.6rem; } }

/* ---- sections */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-alt { background: var(--washi); }
.section-dark { position: relative; background: var(--sumi) var(--seigaiha-dark); color: rgba(255,255,255,.75); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-lead { max-width: 40em; color: var(--muted); font-size: 1.08rem; margin-bottom: 3.5rem; }
.section-dark .section-lead { color: rgba(255,255,255,.65); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.section-head .section-title { margin: 0; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

.page-head { position: relative; background: var(--sumi) var(--seigaiha-dark); color: #fff; padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.5rem, 6vw, 5rem); overflow: hidden; border-bottom: 4px solid var(--red); }
.page-head h1 { color: #fff; margin: 0; max-width: 16em; }
.page-head .lead { color: rgba(255,255,255,.75); margin: 1.2rem 0 0; max-width: 40em; font-size: 1.1rem; }
.page-kanji { position: absolute; right: max(3vw, calc((100vw - var(--wrap)) / 2)); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; white-space: nowrap;
  font: 900 clamp(5rem, 11vw, 10rem)/1 var(--jp); color: rgba(255,255,255,.08); pointer-events: none; }
.page-kanji::before { content: ""; position: absolute; z-index: -1; width: .9em; height: .9em; border-radius: 50%; background: var(--red); opacity: .9; left: 50%; top: -.05em; transform: translateX(-50%); }
@media (max-width: 700px) { .page-kanji { font-size: 4.2rem; top: 1.5rem; transform: none; } }
.crumb { margin: 0 0 1.4rem; font: 500 .82rem var(--display); letter-spacing: .18em; text-transform: uppercase; }
.crumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.crumb a:hover { color: #fff; }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.stack { display: grid; gap: 1.5rem; margin-bottom: 3.5rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* about split: photo over a red sun */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.split-media { position: relative; isolation: isolate; }
.split-media::before { content: ""; position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--red); top: -9%; left: -9%; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 10px solid var(--paper); box-shadow: 0 30px 60px -30px rgba(22,22,26,.45); }
.split-media .badge-year { position: absolute; right: -1rem; bottom: 2.5rem; background: var(--sumi); color: #fff; padding: 1.3rem 1.6rem; font: 500 .8rem var(--display); letter-spacing: .14em; text-transform: uppercase; }
.split-media .badge-year strong { display: block; font: 600 2.8rem/1 var(--display); color: #fff; letter-spacing: 0; margin-bottom: .3rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-media { margin: 1.5rem 0 0 1.5rem; } .split-media .badge-year { right: 1rem; } }

/* values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.value { background: var(--sumi); padding: 2.6rem 2.2rem; transition: background .4s; }
.value:hover { background: var(--sumi-2); }
.value:hover .value-num { display: block; font: 600 2.6rem/1 var(--display); color: var(--red); margin-bottom: 1.2rem; }
.value h3 { font-size: 1.55rem; margin-bottom: .7rem; }
.value p { margin: 0; color: rgba(255,255,255,.68); }
.value blockquote { margin: 0; }
.value blockquote p { font-style: italic; }
.value blockquote footer { color: var(--red); font: 500 .8rem var(--display); letter-spacing: .14em; text-transform: uppercase; margin-top: .9rem; }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .values-grid { grid-template-columns: 1fr; } }

/* coaches */
.coach { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.coach-photo { position: relative; aspect-ratio: 4 / 5; background: var(--washi) var(--seigaiha-light); overflow: hidden; }
.coach-photo::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--red); left: 15%; top: 12%; opacity: 0; transform: scale(.6); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.coach-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.coach:hover .coach-photo img { transform: scale(1.04); }
.coach-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,22,26,.9) 0%, rgba(22,22,26,0) 55%); opacity: 0; transition: opacity .5s var(--ease); }
.coach:hover .coach-photo::after { opacity: 1; }
.coach-hover { position: absolute; z-index: 2; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; color: #fff; font-size: .92rem; line-height: 1.6; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.coach:hover .coach-hover, .coach:focus-visible .coach-hover { opacity: 1; transform: none; }
.coach-hover .link-arrow { color: #fff; margin-top: .7rem; }
.coach-initials { position: absolute; inset: 0; display: grid; place-items: center; font: 600 5rem var(--display); color: var(--sumi); opacity: .18; }
.coach-body { padding: 1.2rem 0 0; border-top: 4px solid var(--sumi); margin-top: -4px; position: relative; z-index: 2; transition: border-color .3s; }
.coach:hover .coach-body { border-top-color: var(--red); }
.coach-body h3 { font-size: 1.55rem; margin-bottom: .25rem; }
.coach-role { color: var(--red); font: 500 .82rem var(--display); letter-spacing: .16em; text-transform: uppercase; margin: 0; }
@media (hover: none) { .coach-hover { display: none; } }

/* featured coach (staff page) */
.featured { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 6rem); align-items: center; margin-bottom: clamp(4rem, 8vw, 7rem); }
.featured-photo { position: relative; display: block; isolation: isolate; }
.featured-photo::before { content: ""; position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--red); right: -10%; top: -8%; }
.featured-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--washi); border: 10px solid var(--paper); box-shadow: 0 30px 60px -30px rgba(22,22,26,.45); }
.featured h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin-bottom: .3rem; }
@media (max-width: 900px) { .featured { grid-template-columns: 1fr; } .featured-photo { margin: 2rem 2rem 0 0; } }

/* motto in Japanese corner brackets 「 」 */
.motto { position: relative; margin: 0 0 2rem; padding: .2rem 1.6rem; font: 600 clamp(1.15rem, 1.8vw, 1.4rem)/1.5 var(--sans); color: var(--sumi); }
.motto::before, .motto::after { position: absolute; font: 900 2rem/1 var(--jp); color: var(--red); }
.motto::before { content: "「"; left: -.4rem; top: -.4rem; }
.motto::after { content: "」"; right: -.2rem; bottom: -.2rem; }
.coach-hero .motto { color: #fff; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 2rem; }
.tags li { border: 2px solid var(--sumi); padding: .4rem .9rem; font: 500 .8rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--sumi); }
.coach-hero .tags li { border-color: rgba(255,255,255,.35); color: #fff; }

/* coach profile */
.coach-hero { position: relative; background: var(--sumi) var(--seigaiha-dark); color: rgba(255,255,255,.75); padding: clamp(3rem, 6vw, 5rem) 0 0; overflow: hidden; border-bottom: 4px solid var(--red); }
.coach-hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.coach-hero-photo { position: relative; align-self: end; isolation: isolate; }
.coach-hero-photo::before { content: ""; position: absolute; z-index: -1; width: 86%; aspect-ratio: 1; border-radius: 50%; background: var(--red); left: 7%; top: 6%; }
.coach-hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 12%); mask-image: linear-gradient(0deg, transparent 0, #000 12%); }
.coach-hero-photo .coach-initials { position: static; display: grid; aspect-ratio: 4 / 5; color: #fff; opacity: 1; }
.coach-hero-body { position: relative; padding-bottom: clamp(3rem, 6vw, 5rem); }
.coach-hero h1 { color: #fff; margin-bottom: .5rem; font-size: clamp(2.8rem, 6vw, 5rem); }
.coach-hero .coach-role { margin-bottom: 2.2rem; font-size: .95rem; }
.coach-hero .lead { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; }
.coach-facts { display: flex; flex-wrap: wrap; margin: 0 0 2.4rem; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.coach-facts div { padding: 1.1rem 2rem 1.1rem 0; margin-right: 2rem; border-right: 1px solid var(--line-dark); }
.coach-facts div:last-child { border-right: 0; margin-right: 0; }
.coach-facts dt { font: 500 .74rem var(--display); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .25rem; }
.coach-facts dd { margin: 0; font: 600 1.9rem/1.1 var(--display); color: #fff; }
.coach-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 900px) {
  .coach-hero-in { grid-template-columns: 1fr; }
  .coach-hero-photo { order: 2; max-width: 440px; }
  .coach-hero-body { padding-bottom: 0; }
}

.profile { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 6rem); }
.profile-block { margin-bottom: 3.5rem; }
.profile-block:last-child { margin-bottom: 0; }
.profile-block > h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.profile aside .profile-block { background: var(--washi); padding: 2.2rem; border-top: 4px solid var(--sumi); }
.profile aside h2 { font-size: 1.5rem; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } }

/* achievements with medal discs */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 1.4rem 3.4rem 1fr; gap: .7rem; align-items: start; padding: .95rem 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.timeline li:last-child { border-bottom: 0; }
.timeline li::before { content: ""; width: 1.1rem; height: 1.1rem; margin-top: .15rem; border-radius: 50%; background: var(--line); box-shadow: inset 0 -2px 0 rgba(0,0,0,.15), inset 0 2px 0 rgba(255,255,255,.5); }
.timeline li.medal-gold::before { background: radial-gradient(circle at 35% 30%, #f3dc84, var(--gold) 60%, #9b7a12); }
.timeline li.medal-silver::before { background: radial-gradient(circle at 35% 30%, #f1f2f4, var(--silver) 60%, #7d828a); }
.timeline li.medal-bronze::before { background: radial-gradient(circle at 35% 30%, #e7b089, var(--bronze) 60%, #7e4520); }
.timeline li.medal-none::before { background: var(--red); width: .55rem; height: .55rem; margin: .45rem 0 0 .3rem; border-radius: 0; transform: rotate(45deg); box-shadow: none; }
.timeline .year { font: 600 1.1rem/1.4 var(--display); color: var(--sumi); }
.edu { list-style: none; margin: 0; padding: 0; }
.edu li { padding: .8rem 0 .8rem 1.4rem; position: relative; border-bottom: 1px solid var(--line); line-height: 1.5; }
.edu li:last-child { border-bottom: 0; }
.edu li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.coach-trainings { list-style: none; margin: 0; padding: 0; }
.coach-trainings li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.coach-trainings li:last-child { border-bottom: 0; }
.coach-trainings strong { display: block; color: var(--sumi); font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }

/* cards (news, tournaments) */
.card { display: flex; flex-direction: column; background: var(--paper); }
.card-media { display: block; aspect-ratio: 3 / 2; background: var(--washi) var(--seigaiha-light); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.4rem 0 0; }
.card-body time, .card-meta { font: 500 .82rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: .6rem; }
.card-body h3 { font-size: 1.4rem; }
.card-body h3 a { color: var(--sumi); text-decoration: none; }
.card-body h3 a:hover { color: var(--red); }
.card-body p:last-child { margin-bottom: 0; color: var(--muted); }
.card-row { flex-direction: row; gap: 2.5rem; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.card-row .card-media { flex: 0 0 300px; aspect-ratio: 4 / 3; }
.card-row .card-body { padding: 0; }
@media (max-width: 700px) { .card-row { flex-direction: column; align-items: stretch; gap: 0; } .card-row .card-media { flex-basis: auto; } .card-row .card-body { padding-top: 1.4rem; } }

/* tournament band (home) */
.tour-band { display: grid; grid-template-columns: 1fr 1fr; background: var(--washi) var(--seigaiha-light); }
.tour-band-media { min-height: 460px; position: relative; overflow: hidden; }
.tour-band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-band-body { padding: clamp(3rem, 6vw, 6rem); align-self: center; }
.tour-band-body .date { font: 500 1.15rem var(--display); letter-spacing: .08em; color: var(--red); text-transform: uppercase; margin-bottom: 1rem; }
@media (max-width: 900px) { .tour-band { grid-template-columns: 1fr; } .tour-band-media { min-height: 300px; } }

/* testimonials */
.testimonial { margin: 0; padding: 2.4rem; background: var(--paper); border-top: 4px solid var(--sumi); }
.testimonial blockquote { margin: 0 0 1.6rem; position: relative; }
.testimonial blockquote::before { content: "「"; display: block; font: 900 2.4rem/1 var(--jp); color: var(--red); margin: -.3rem 0 .6rem -.4rem; }
.testimonial blockquote p { font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.testimonial figcaption { display: flex; align-items: center; gap: 1rem; font-size: .9rem; }
.testimonial figcaption strong { font: 600 1.05rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--sumi); }
.testimonial figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }

/* sponsors */
.sponsors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sponsors li { display: grid; place-items: center; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.sponsors img { width: 96px; height: 96px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .4s, opacity .4s; mix-blend-mode: multiply; }
.sponsors li:hover img { filter: none; opacity: 1; }
.sponsors span { display: grid; place-items: center; min-height: 96px; text-align: center; font-weight: 600; font-size: .85rem; color: var(--sumi); }

/* CTA */
.cta { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.cta h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 0 0 .6rem; }
.cta p { margin: 0; max-width: 36em; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---- schedule */
.schedule-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.chip { border: 2px solid var(--line); background: var(--paper); color: var(--sumi); border-radius: 0; padding: .6rem 1.1rem; font: 500 .9rem var(--display); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: all .25s; }
.chip:hover { border-color: var(--sumi); }
.chip[aria-pressed="true"] { background: var(--sumi); border-color: var(--sumi); color: #fff; }
.chip.today { position: relative; }
.chip.today::after { content: ""; position: absolute; top: -5px; right: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.venue-jump { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-bottom: 3rem; font-size: .95rem; }
.venue-jump a { color: var(--sumi); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.venue-jump a:hover { color: var(--red); }
.venue { border-top: 4px solid var(--sumi); padding: 2.2rem 0 1rem; margin-bottom: 2.5rem; scroll-margin-top: 110px; }
.venue-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.venue-head h2 { margin: 0 0 .3rem; font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.venue-head p { margin: 0; }
.venue-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.venue-notes { background: var(--washi); border-left: 4px solid var(--red); padding: 1rem 1.3rem; margin-bottom: 1.4rem; }
.venue-notes p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; }
table.schedule { width: 100%; border-collapse: collapse; font-size: .98rem; }
.schedule th, .schedule td { text-align: left; padding: 1rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule thead th { font: 500 .8rem var(--display); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.schedule tbody th { font-weight: 700; color: var(--sumi); }
.schedule td.nowrap { font: 500 1.15rem var(--display); color: var(--sumi); letter-spacing: .04em; }
.schedule tbody tr { transition: background .2s; }
.schedule tbody tr:hover { background: var(--washi); }
.schedule td a { color: var(--sumi); text-decoration-color: var(--red); }
@media (max-width: 640px) {
  .schedule thead { display: none; }
  .schedule tr { display: grid; grid-template-columns: 1fr auto; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .schedule th, .schedule td { border: 0; padding: .1rem 0; }
  .schedule tbody th { grid-column: 1 / -1; }
  .schedule td:last-child { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
}

/* ---- article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 4rem; align-items: start; }
.article-side img { border: 10px solid var(--paper); box-shadow: 0 30px 60px -30px rgba(22,22,26,.45); }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } }
.article-hero { margin-bottom: 3rem; width: 100%; }
.lead { font-size: 1.15rem; }

.prose { overflow-wrap: anywhere; font-size: 1.04rem; }
.prose img { margin: 1.5rem 0; }
.prose h2 { margin-top: 1.6em; font-size: 2rem; }
.prose h3 { margin-top: 1.4em; }
.prose blockquote { border-left: 4px solid var(--red); margin: 1.6em 0; padding: .2em 0 .2em 1.6em; font-size: 1.15rem; font-weight: 600; color: var(--sumi); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li::marker { color: var(--red); }
.prose iframe.ql-video, .prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: .6rem; }
.prose > :last-child { margin-bottom: 0; }

/* sponsorship */
.help-way { padding: 2.6rem 2.2rem; background: var(--washi); border-top: 4px solid var(--sumi); }
.help-way .value-num { display: block; font: 600 2.6rem/1 var(--display); color: var(--red); margin-bottom: 1rem; }
.help-way h2 { font-size: 1.7rem; }
.bank { margin: 4rem 0; padding: clamp(2rem, 4vw, 3.2rem); background: var(--sumi) var(--seigaiha-dark); color: #fff; display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: center; border-left: 6px solid var(--red); }
.bank h2 { color: #fff; font-size: 2rem; margin: 0; }
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: .7rem 1.6rem; margin: 0 0 1rem; }
.bank dt { color: rgba(255,255,255,.55); font: 500 .8rem var(--display); letter-spacing: .16em; text-transform: uppercase; align-self: center; }
.bank dd { margin: 0; }
.bank code { font: 500 1.35rem var(--display); letter-spacing: .1em; color: #fff; }
.bank .copy { cursor: copy; border-bottom: 2px dashed var(--red); }
.bank .muted { color: rgba(255,255,255,.6); }
.bank a { color: #fff; }
@media (max-width: 800px) { .bank { grid-template-columns: 1fr; } }

/* contacts & forms */
.contact-list { list-style: none; padding: 0; margin: 0 0 3rem; }
.contact-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.contact-list a { color: var(--sumi); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--red); }
.contact-list .label { display: block; font: 500 .78rem var(--display); text-transform: uppercase; letter-spacing: .18em; color: var(--red); margin-bottom: .2rem; }
.venue-list { list-style: none; padding: 0; }
.venue-list li { margin-bottom: .7rem; }
.venue-list a { color: var(--sumi); }
.form-card { background: var(--washi); padding: clamp(1.8rem, 4vw, 3rem); border-top: 4px solid var(--red); }
.form-card h2 { font-size: 2rem; }
.field { display: block; margin-bottom: 1.3rem; flex: 1; }
.field > span { display: block; font: 500 .8rem var(--display); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem; color: var(--sumi); }
.field-row { display: flex; gap: 1.2rem; }
.field-sm { flex: 0 0 180px; }
@media (max-width: 560px) { .field-row { flex-direction: column; gap: 0; } .field-sm { flex-basis: auto; } }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--paper); border: 2px solid var(--line); border-radius: 0; padding: .85rem 1rem; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--sumi); outline: none; }
[aria-invalid="true"] { border-color: var(--red) !important; }
.field-error { color: var(--red-dark); font-size: .88rem; margin: -.8rem 0 1.2rem; font-weight: 600; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: .4rem 0 1.6rem; font-size: .93rem; }
.check input { margin-top: .3rem; width: 18px; height: 18px; flex: none; accent-color: var(--red); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1.1rem 1.3rem; margin-bottom: 1.4rem; border-left: 4px solid; }
.notice-success { background: #eef6f0; color: #1d5a35; border-color: #3c9a62; }
.notice-error { background: #fbecef; color: #8d0026; border-color: var(--red); }
.map iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.7) contrast(1.05); }

.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 3.5rem; }
.pager a, .pager span { min-width: 2.8rem; text-align: center; padding: .55rem .7rem; border: 2px solid var(--line); text-decoration: none; color: var(--sumi); font: 500 1rem var(--display); }
.pager span { background: var(--sumi); color: #fff; border-color: var(--sumi); }

/* ---- footer */
.footer { background: var(--sumi) var(--seigaiha-dark); color: rgba(255,255,255,.62); font-size: .95rem; }
.maxims { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); padding-top: 3.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-dark); flex-wrap: wrap; text-align: center; }
.maxims p { margin: 0; }
.maxim-kanji { display: block; font: 900 clamp(1.8rem, 3.4vw, 2.6rem)/1.2 var(--jp); color: #fff; letter-spacing: .12em; }
.maxim-bg { display: block; font: 500 .78rem var(--display); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: .5rem; }
.maxim-sep { width: 26px; height: 26px; border-radius: 50%; background: var(--red); flex: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; }
.footer h2 { font: 500 .9rem var(--display); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 1.3rem; }
.footer img { width: 190px; margin-bottom: 1.4rem; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer a:hover { color: var(--red); }
.footer .plain li { margin-bottom: .6rem; }
.footer .btn { margin-top: 1.4rem; }
.footer .btn:hover { color: #fff; }
.footer .muted { color: rgba(255,255,255,.45); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 1.6rem; padding-bottom: 1.8rem; font-size: .8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } .maxim-sep { display: none; } }

/* reveal on scroll (JS only) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .slide-media img { transform: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .topbar, .header, .footer, .schedule-tools, .venue-jump, .venue-actions, .slider-ui, .slider-kanji { display: none !important; } .venue { break-inside: avoid; } }

/* ---- gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; margin-top: 2.5rem; }
.gallery-item { display: block; aspect-ratio: 1; overflow: hidden; background: var(--washi); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.gallery-item:hover img { transform: scale(1.06); opacity: .9; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(22,22,26,.96); display: grid; place-items: center; padding: 3.5rem 4.5rem; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: transparent; border: 2px solid rgba(255,255,255,.35); color: #fff; width: 48px; height: 48px; font-size: 1.1rem; cursor: pointer; }
.lightbox button:hover { background: var(--red); border-color: var(--red); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font: 500 .95rem var(--display); letter-spacing: .1em; }
@media (max-width: 600px) { .lightbox { padding: 4rem .5rem; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: .8rem; transform: none; } }

/* topbar social icons */
.topbar-links { display: inline-flex; align-items: center; }
.topbar .topbar-icon { display: inline-flex; align-items: center; margin-left: 1.1rem; }
.topbar .topbar-icon svg { display: block; transition: transform .2s; }
.topbar .topbar-icon:hover svg { transform: scale(1.15); }
@media (max-width: 560px) { .topbar a.topbar-icon { display: inline-flex; } }

/* footer social icons */
.social { display: flex; gap: .7rem; }
.social a { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 2px solid rgba(255,255,255,.25); color: #fff; transition: background .25s, border-color .25s; }
.social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer .social a:hover { color: #fff; }

/* ---------------------------------------------------------------- page builder sections */
.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; }
.blk-actions { margin-top: 2.2rem; }
.section-lead-tight { margin: .9rem 0 0; }
.blk-head-gap { margin-bottom: 3rem; }

/* vertical spacing */
.sp-none { padding-top: 0; padding-bottom: 0; }
.sp-sm { padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.sp-lg { padding-top: clamp(6rem, 12vw, 10rem); padding-bottom: clamp(6rem, 12vw, 10rem); }
.sp-xl { padding-top: clamp(8rem, 15vw, 13rem); padding-bottom: clamp(8rem, 15vw, 13rem); }
.facts.sp-sm li, .facts.sp-lg li, .facts.sp-xl li { padding-top: 1.4rem; padding-bottom: 1.4rem; }

/* content width */
.w-narrow > .wrap { max-width: 880px; }
.w-wide > .wrap { max-width: 1480px; }
.w-full > .wrap { max-width: none; padding-left: clamp(16px, 3vw, 56px); padding-right: clamp(16px, 3vw, 56px); }

/* columns */
.cols-1 .grid, .cols-1 .values-grid { grid-template-columns: 1fr; }
.cols-2 .grid, .cols-2 .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 .grid, .cols-3 .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 .grid, .cols-4 .values-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cols-3 .grid, .cols-3 .values-grid, .cols-4 .grid, .cols-4 .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cols-2 .grid, .cols-2 .values-grid, .cols-3 .grid, .cols-3 .values-grid, .cols-4 .grid, .cols-4 .values-grid { grid-template-columns: 1fr; } }

/* text section */
.blk-text.center .wrap { text-align: center; }
.blk-text.center .prose { margin-left: auto; margin-right: auto; max-width: 46em; }

/* image + text: mirrored */
.split-reverse .split-media { order: 2; }
.split-reverse .split-media::before { left: auto; right: -9%; }
@media (max-width: 900px) { .split-reverse .split-media { order: 0; } }

/* heights: slider */
.slider.h-sm { height: 540px; min-height: 0; }
.slider.h-md { height: min(78svh, 760px); min-height: 560px; }
.slider.h-lg { height: min(90svh, 860px); min-height: 600px; }
@media (max-width: 900px) { .slider.h-sm { height: 600px; } .slider.h-md, .slider.h-lg { height: 100svh; min-height: 640px; } }

/* heights: page header */
.page-head.h-sm { padding: clamp(2.6rem, 5vw, 3.6rem) 0 clamp(2.2rem, 4vw, 3rem); }
.page-head.h-sm .page-kanji { font-size: 4rem; }
.page-head.h-lg { padding: clamp(6rem, 11vw, 9.5rem) 0 clamp(5rem, 8vw, 7.5rem); }
.page-head.h-xl { min-height: 72svh; display: flex; align-items: center; }
.page-head.h-xl > .wrap { width: 100%; }

/* heights: tournament band */
.tour-band.h-sm .tour-band-media { min-height: 320px; }
.tour-band.h-lg .tour-band-media { min-height: 640px; }
.tour-band.h-xl .tour-band-media { min-height: 88svh; }
.tour-band-reverse .tour-band-media { order: 2; }
@media (max-width: 900px) { .tour-band-reverse .tour-band-media { order: 0; } }

/* heights: map */
.map.h-sm iframe { height: 300px; }
.map.h-lg iframe { height: 600px; }
.map.h-xl iframe { height: 82svh; }

/* big image */
.blk-image-fig { margin: 0; }
.blk-image-fig.w-full > .wrap { padding: 0; }
.blk-image-frame { position: relative; overflow: hidden; background: var(--sumi); }
.blk-image-frame img { display: block; width: 100%; height: 480px; object-fit: cover; }
.blk-image-fig.h-sm img { height: 320px; }
.blk-image-fig.h-lg img { height: 660px; }
.blk-image-fig.h-xl img { height: 100svh; min-height: 520px; }
.blk-image-frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem clamp(1.4rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2.2rem);
  background: linear-gradient(transparent, rgba(22,22,26,.82)); color: #fff; font: 500 clamp(1.4rem, 3vw, 2.4rem)/1.15 var(--display); letter-spacing: .02em; text-transform: uppercase; }
@media (max-width: 640px) { .blk-image-frame img, .blk-image-fig.h-lg img { height: 300px; } }

/* Mobile: the transparent header over the slider photo made the logo hard to read (banners/text in the photo).
   Give the top bar + header a dark, blurred backdrop until the page is scrolled. */
@media (max-width: 1100px) {
  .has-overlay-header .topbar { background: rgba(14,14,17,.88); }
  .has-overlay-header .header:not(.scrolled) {
    background: linear-gradient(rgba(14,14,17,.88), rgba(14,14,17,.72));
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .has-overlay-header .header:has(.nav.open) { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Mobile slider: keep the text below the header (never pushed up under the logo) and more compact on small phones. */
@media (max-width: 700px) {
  .slide-body { justify-content: safe flex-end; padding-top: 128px; padding-bottom: 96px; }
  .slide-title { font-size: clamp(2.1rem, 9.4vw, 2.9rem); line-height: 1.02; }
  .slide-text { font-size: 1rem; line-height: 1.55; margin-bottom: 1.5rem; }
  .slide-actions { flex-wrap: nowrap; gap: .7rem; }
  .slide-actions .btn { flex: 1 1 0; justify-content: center; text-align: center; padding-left: .8rem; padding-right: .8rem; white-space: nowrap; }
  .slider-kanji { font-size: 2.5rem; top: 122px; right: 16px; }
}
@media (max-width: 700px) and (max-height: 700px) {
  .slide-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---- responsive fixes (audit 11.2026) */
/* bank details: IBAN must fit on small phones */
.bank > *, .bank dl, .bank dd { min-width: 0; }
@media (max-width: 560px) {
  .bank dl { grid-template-columns: 1fr; gap: .15rem; }
  .bank dt { margin-top: .7rem; }
  .bank code { font-size: 1.08rem; letter-spacing: .04em; overflow-wrap: anywhere; }
}
/* featured coach: keep the red sun inside the screen on tablets/phones */
@media (max-width: 900px) { .featured-photo::before { right: -2rem; width: 70%; } }
/* coach profile labels readable on phones */
@media (max-width: 700px) { .coach-facts dt { font-size: .8rem; letter-spacing: .14em; } }
/* bigger touch targets on phones */
@media (max-width: 700px) {
  .topbar-in { padding-top: 0; padding-bottom: 0; }
  .topbar a { display: inline-flex; align-items: center; min-height: 36px; }
  .topbar .topbar-icon { min-width: 36px; justify-content: center; margin-left: .3rem; }
  .slider-dot { height: 36px; }
  .footer-bottom a { display: inline-block; padding: .55rem 0; }
}
@media (max-width: 700px) { .has-overlay-header .header:not(.scrolled) { top: 36px; } }
@media (max-width: 700px) {
  .link-arrow { display: inline-block; padding: .55rem 0; }
  .venue-jump a { display: inline-block; padding: .5rem 0 .3rem; }
  .check input[type="checkbox"] { width: 22px; height: 22px; }
}
