@font-face{font-family:Manrope;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/manrope-cyrillic-ext.woff2") format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Manrope;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/manrope-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/manrope-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Manrope;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/manrope-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --bg: #f6f3ee;
  --paper: #fffcf8;
  --ink: #161311;
  --muted: #5e5852;
  --line: #e4ddd4;
  --red: #a02423;
  --red-dark: #861c1b;
  --dark: #100e0c;
  --soft: #f3ece4;
  --header: 76px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
section[id] { scroll-margin-top: calc(var(--header) + 12px); }

.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.btn:hover { background: var(--red-dark); }
.btn--line, .btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px #c8bfb6;
}
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn--line:hover, .btn--ghost:hover { background: transparent; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

.kicker {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  background: none;
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker--light { color: #f0d2a0; }
.section-title {
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 18px;
}
.dir-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: -6px 0 22px; }
.dir-nav a { color: var(--ink); font-weight: 650; text-decoration: none; }
.dir-nav a:hover { color: var(--red); }
.section-cta { margin-top: 28px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,252,248,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header__bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
@media (min-width: 1181px) {
  .header__bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }
  .header__bar .logo { margin-right: 0; }
  .site-nav { justify-content: center; }
}
.logo__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  flex: none;
}
.logo b, .logo small { display: block; }
.logo b { font-size: 15px; line-height: 1.15; }
.logo small { color: var(--muted); font-size: 11px; letter-spacing: 0.12em; }
.site-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: #3c3834; font-size: 14px; white-space: nowrap; }
.site-nav a:hover { color: var(--red); }
.nav-toggle { display: none; }
.btn--header { white-space: nowrap; }

.hero {
  position: relative;
  min-height: 680px;
  background-color: var(--dark);
  background-image:
    linear-gradient(90deg, rgba(16,14,12,.94) 0%, rgba(16,14,12,.78) 34%, rgba(16,14,12,.28) 62%, rgba(16,14,12,.12) 100%),
    url("../images/hero.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  color: #f7f4ef;
  overflow: hidden;
}
.hero__copy {
  position: relative;
  z-index: 1;
  padding: 64px 0 56px;
}
.hero h1, .hero__lead, .hero__text, .hero__actions { max-width: 720px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: #f4efe8;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d24a42;
  flex: none;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 750;
  max-width: 14ch;
}
.hero__lead { margin-top: 20px; font-size: clamp(18px, 2vw, 22px); line-height: 1.35; font-weight: 650; max-width: 42ch; }
.hero__text { margin-top: 12px; max-width: 36ch; color: #d9d3cc; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__place {
  margin-top: 22px;
  color: var(--red);
  font-size: 14px;
  font-weight: 650;
}

.band, .section { padding: 60px 0; }
.section--tight { padding-top: 12px; }

.system {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: end;
}
.system h2, .teams h2, .cost h2, .request h2, .school h2, .arsenal h2, .seminar h2 {
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.system__text p + p, .teams p + p, .cost p + p, .seminar__copy p + p { margin-top: 14px; }
.system__text p, .teams p, .cost p, .request > div > p, .school p, .format p, .direction p, .steps p, .muted, .seminar__copy p {
  color: var(--muted);
  line-height: 1.6;
}

#formats {
  background: linear-gradient(180deg, #2c221c 0%, #46342c 48%, #5e4538 100%);
  color: #f6f1ea;
}
#formats .section-title,
#formats .format h3,
#formats .format .format__lead { color: #f6f1ea; }
#formats .format p { color: #d5ccc3; }
#formats .formats,
#formats .format { border-color: rgba(246, 241, 234, .22); }
.pip {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 .5em;
  border-radius: 50%;
  background: #d24a42;
  vertical-align: .12em;
}
.formats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  border-top: 1px solid var(--line);
}
.format {
  min-height: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 28px 0 0;
}
#formats .format .format__num {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: #f7f4ef;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
#formats .format .format__num::after {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: #d24a42;
}
.format h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 12px; }
.format__count {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.format .format__lead { color: var(--ink); font-weight: 650; line-height: 1.45; }
.format p + p { margin-top: 10px; }

.directions { display: grid; gap: 14px; }
.direction {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1.6fr;
  gap: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
}
.direction h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1; }
.direction header p { margin-top: 12px; max-width: 28ch; }
.direction__body--split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.direction h4 {
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.direction ul, .teams ul { list-style: none; display: grid; gap: 8px; }
.direction li, .teams li { position: relative; padding-left: 16px; }
.direction li::before, .teams li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.direction__note + .direction__note { margin-top: 10px; }
.path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  position: relative;
  margin-top: 28px;
}
.path::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 7px;
  height: 2px;
  background: var(--red);
}
.path li {
  position: relative;
  padding-top: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.path li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--paper);
}

.arsenal {
  background: var(--dark);
  color: #f7f4ef;
  padding: 80px 0;
}
.arsenal h2 { max-width: 12ch; }
.arsenal__lead { max-width: 46ch; margin-top: 16px; color: #d9d3cc; }
.arsenal__label {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0d2a0;
  font-weight: 750;
}
.hall__switch { display: none; }
.hall { display: grid; grid-template-columns: 1.7fr 0.72fr; gap: 18px 28px; margin-top: 34px; align-items: stretch; }
.hall__stage { position: relative; min-height: 560px; }
.piece {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #efe6da;
  cursor: pointer;
  transform: rotate(var(--rot, 0deg));
  transition: transform .45s ease, opacity .45s ease;
}
.piece svg { width: 100%; height: auto; max-height: 78%; }
.piece__name { transform: rotate(calc(var(--rot, 0deg) * -1)); text-align: center; }
.piece h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; text-transform: none; color: #fff; }
.piece p { margin: 0; max-width: 18ch; color: #d9d3cc; font-size: 13px; line-height: 1.35; text-align: center; opacity: 0; }
.piece.is-on p, .piece:focus-visible p { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .hall__stage:hover .piece { opacity: .38; }
  .hall__stage .piece:hover, .hall__stage .piece:focus-visible { opacity: 1; z-index: 2; transform: translateY(-8px) scale(1.06) rotate(var(--rot, 0deg)); }
  .hall__stage .piece:hover p, .hall__stage .piece:focus-visible p { opacity: 1; }
  .hall__stage:not(:hover) .piece.is-on { opacity: 1; }
}
.piece:focus-visible { outline: 2px solid #f0d2a0; outline-offset: 4px; }
.piece--fan { left: 0; top: 14%; width: 40%; height: 72%; color: #f0d7b4; z-index: 1; }
.piece--fan svg { transform-origin: 50% 92%; animation: fan-open 1.15s ease both; }
.piece--staff { left: 36%; top: 0; width: 8%; height: 96%; }
.piece--stick { left: 45%; top: 18%; width: 6%; height: 52%; }
.piece--sword { left: 51%; top: 2%; width: 16%; height: 50%; --rot: -22deg; }
.piece--saber { left: 68%; top: 6%; width: 26%; height: 48%; --rot: 12deg; }
.piece--nunchaku { left: 33%; top: 76%; width: 34%; height: 18%; }
.piece--daggers { left: 62%; top: 64%; width: 16%; height: 28%; }
.piece--tonfa { left: 78%; top: 60%; width: 20%; height: 30%; }
.piece--tfan { left: 8%; top: 2%; width: 84%; height: 32%; }
.piece--tsword { left: 22%; top: 36%; width: 56%; height: 28%; --rot: -8deg; }
.piece--tsaber { left: 10%; top: 66%; width: 78%; height: 26%; --rot: 6deg; }
.piece--line { color: #cfc8bf; }
.hall__stage--air .piece p { max-width: 16ch; }
@keyframes fan-open { from { transform: scaleX(.18); } to { transform: scaleX(1); } }
.fan-note {
  max-width: 640px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.fan-note h3 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  text-transform: none;
  color: #fff;
}
.fan-note p { color: #d9d3cc; }
.aside-note { margin-top: 22px; max-width: 46ch; color: var(--muted); }
.fanbox {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .7fr);
  grid-template-areas: "stage detail";
  gap: 8px 36px;
  align-items: center;
}
.fanbox__lead { max-width: 52ch; margin: -8px 0 18px; color: var(--muted); }
.fanbox__stage { grid-area: stage; position: relative; }
.fan-svg { width: 100%; height: auto; display: block; overflow: visible; }
.rib { transform-origin: 320px 400px; animation: rib-in .7s ease both; animation-delay: calc(var(--i) * 45ms); }
.fanbox__stage { padding: 16px 78px 0; }
.rib path {
  fill: #e6d3bc;
  stroke: #f6f3ee;
  stroke-width: 1.6;
  cursor: pointer;
  transform-origin: 320px 400px;
  transition: transform .45s ease, fill .45s ease, opacity .45s ease;
}
.rib:nth-child(1) path { fill: #f4e7d6; }
.rib:nth-child(2) path { fill: #ead9c4; }
.rib:nth-child(3) path { fill: #e0ccb0; }
.rib:nth-child(4) path { fill: #d6bf9e; }
.rib:nth-child(5) path { fill: #ccb28c; }
.rib:nth-child(6) path { fill: #c2a57a; }
.rib:nth-child(7) path { fill: #b89868; }
.rib:nth-child(8) path { fill: #ae8b56; }
.rib.is-on path { fill: #8e342e; transform: scale(1.04); }
.fan-axis { pointer-events: none; }
@keyframes rib-in { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
.fanbox__picks {
  grid-area: stage;
  position: absolute;
  z-index: 1;
  left: 78px;
  right: 78px;
  top: 16px;
  bottom: 0;
  pointer-events: none;
}
.fanbox__picks button {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  padding: 2px;
  color: #2c241e;
  font-weight: 750;
  font-size: 13px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
}
.fanbox__picks button.is-on { color: #fff; text-shadow: 0 1px 2px rgba(42,33,28,.85); }
.fanbox__picks button:nth-child(1) { left: 6.76%; top: 66.09%; }
.fanbox__picks button:nth-child(2) { left: 15.13%; top: 46.4%; }
.fanbox__picks button:nth-child(3) { left: 27.39%; top: 31.91%; }
.fanbox__picks button:nth-child(4) { left: 42.17%; top: 24.24%; }
.fanbox__picks button:nth-child(5) { left: 57.83%; top: 24.24%; }
.fanbox__picks button:nth-child(6) { left: 72.61%; top: 31.91%; }
.fanbox__picks button:nth-child(7) { left: 84.87%; top: 46.4%; }
.fanbox__picks button:nth-child(8) { left: 93.24%; top: 66.09%; }
.fanbox__picks button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.fanbox__detail { grid-area: detail; align-self: center; min-height: 210px; }
.fanbox__num { color: var(--red); font-size: 13px; font-weight: 750; letter-spacing: .16em; }
.fanbox__detail h3 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.03em; line-height: 1.05; margin: 8px 0 12px; }
.fanbox__detail p { color: var(--muted); max-width: 34ch; }
.fanbox__detail a { display: inline-block; margin-top: 16px; font-weight: 750; text-underline-offset: 3px; }
.fanbox__detail a:hover { color: var(--red); }
.fanbox__close { margin-top: 22px; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
@media (hover: hover) and (pointer: fine) {
  .fanbox.is-hot .rib path { opacity: .45; }
  .fanbox.is-hot .rib.is-on:not(.is-hot) path { fill: #d6bf9e; opacity: .45; transform: none; }
  .fanbox.is-hot .rib.is-hot path { fill: #8e342e; opacity: 1; transform: scale(1.04); }
}

.teams { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 36px; align-items: start; }
.teams ul { margin: 14px 0; }
.teams li { color: var(--muted); }

.journey {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  margin-top: 12px;
}
.journey::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: #d9cfc4;
  transform-origin: left center;
  animation: draw-x 1.15s ease both;
}
.journey li {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}
.journey li:nth-child(odd) { justify-content: flex-start; }
.journey li:nth-child(even) { justify-content: flex-end; }
.journey__body { max-width: 24ch; }
.journey li:nth-child(odd) .journey__body { padding-bottom: 36px; }
.journey li:nth-child(even) .journey__body { padding-top: 36px; }
.journey__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(160, 36, 35, .7);
  color: var(--red);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.04em;
  animation: pop .45s ease both;
  animation-delay: calc(var(--i) * .14s + .25s);
}
.journey h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 8px; }
.journey p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.journey li:hover .journey__mark { background: var(--red); color: #fff; }
.journey__note { margin-top: 8px; color: var(--muted); font-size: 14px; }
@keyframes draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }

.cost {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  padding: 28px;
  background: var(--soft);
  border-radius: 18px;
}
.cost h2 { max-width: 18ch; margin-bottom: 12px; }
.cost .btn { flex: none; }

.school { background: var(--dark); color: #f7f4ef; padding: 60px 0; }
.school__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.school p { color: #f4efe8; }
.school p + p { margin-top: 12px; }
.school h2 { margin-bottom: 16px; }
.school__card {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.school__address { color: #fff; font-weight: 700; }
.school a { color: #fff; }
.text-link { font-weight: 700; text-underline-offset: 3px; }

.request { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: start; }
.request h2 { margin-bottom: 14px; }
.request__phone { margin-top: 18px; }
.request__phone a { color: var(--ink); font-weight: 750; text-decoration: none; }
.request-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.request-form label span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 650; }
.request-form input:not([type="checkbox"]), .request-form select, .request-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d9d1c8;
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
}
.request-form textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; flex: none; }
.consent span { font-weight: 450; color: var(--muted); }
.honeypot { position: absolute; left: -9999px; }
.form-error { color: var(--red); font-weight: 650; }
.form-error[hidden] { display: none; }

.site-footer { padding: 18px 0 14px; border-top: 1px solid var(--line); }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; }
.footer__bar .logo { margin: 0; }
.footer__address { margin: 0; font-weight: 650; }
.footer__contact { display: flex; align-items: center; gap: 16px; }
.footer__phone { font-weight: 750; text-decoration: none; white-space: nowrap; }
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer__legal a { color: var(--muted); }
.footer__legal p { margin: 0; }

.cookie-bar {
  position: fixed;
  z-index: 30;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  width: min(720px, calc(100% - 32px));
  margin-inline: auto;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(16,14,12,.12);
}
.cookie-bar p { color: var(--muted); font-size: 14px; }
.cookie-bar[hidden] { display: none; }

.dialog {
  width: min(520px, calc(100% - 24px));
  padding: 28px 24px 24px;
  border: 0;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
}
.dialog::backdrop { background: rgba(16,14,12,.55); }
.dialog h2 { font-size: 28px; letter-spacing: -0.03em; margin: 8px 0; }
.muted { margin-bottom: 16px; }
.success-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f3ea;
  color: #1d7a3a;
  font-size: 22px;
}
body.dialog-open { overflow: hidden; }

.legal { width: min(760px, calc(100% - 40px)); margin: 40px auto 64px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 12px 0 16px; }
.legal h2 { margin: 28px 0 8px; font-size: 22px; }
.legal p, .legal li { color: #3f3a36; }
.legal p + p, .legal ul { margin-top: 10px; }
.legal ul { padding-left: 1.25em; }
.legal a { color: var(--red); }
.legal-meta { color: var(--muted); font-size: 14px; }

.chapters {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #170E0B;
}
.chapter-break {
  position: relative;
  height: 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 38% 130% at 50% 50%, rgba(92, 48, 32, .55) 0%, rgba(23, 14, 11, 0) 70%),
    linear-gradient(90deg, #0c0a09 0%, #170E0B 24%, #3a2218 50%, #170E0B 76%, #0c0a09 100%);
}
.chapters > .chapter-break:nth-child(4) {
  background:
    radial-gradient(ellipse 32% 140% at 34% 50%, rgba(84, 42, 28, .5) 0%, rgba(23, 14, 11, 0) 72%),
    linear-gradient(90deg, #0c0a09 0%, #2a1812 36%, #170E0B 68%, #0c0a09 100%);
}
.chapters > .chapter-break:nth-child(6) {
  background:
    radial-gradient(ellipse 32% 140% at 66% 50%, rgba(110, 58, 36, .42) 0%, rgba(23, 14, 11, 0) 72%),
    linear-gradient(90deg, #0c0a09 0%, #170E0B 34%, #321910 66%, #0c0a09 100%);
}
.chapters > .chapter-break:nth-child(8) {
  background:
    radial-gradient(ellipse 48% 120% at 50% 55%, rgba(70, 36, 24, .5) 0%, rgba(23, 14, 11, 0) 74%),
    linear-gradient(90deg, #0c0a09 0%, #170E0B 30%, #2e1a13 50%, #170E0B 70%, #0c0a09 100%);
}
.chapter-break__line {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: min(640px, 62%);
  height: 1px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(244,236,226,.55) 18%, rgba(244,236,226,.55) 82%, transparent);
}
.chapter-break__mark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 0 0 7px rgba(80, 18, 18, .78);
}
.chapter {
  position: relative;
  min-height: clamp(600px, 64vh, 720px);
  display: flex;
  align-items: center;
  color: #f7f4ef;
  overflow: hidden;
  background: #0c0a09;
}
.chapter__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}
.js .chapter__photo { transform: scale(1.045); }
.js .chapter.is-visible .chapter__photo { transform: scale(1); transition: transform 1.8s ease; }
.chapter__shade { position: absolute; inset: 0; }
.chapter--wushu .chapter__shade { background: linear-gradient(90deg, rgba(8,7,6,.96) 0%, rgba(8,7,6,.8) 26%, rgba(8,7,6,.28) 48%, rgba(8,7,6,0) 70%); }
.chapter--wushu .chapter__photo { object-position: 84% center; }
.chapter--wing .chapter__shade { background: linear-gradient(90deg, rgba(8,7,6,.94) 0%, rgba(8,7,6,.68) 24%, rgba(8,7,6,.16) 50%, rgba(8,7,6,0) 72%); }
.chapter--taiji .chapter__shade { background: linear-gradient(90deg, rgba(8,7,6,.92) 0%, rgba(8,7,6,.6) 32%, rgba(8,7,6,.12) 58%, rgba(8,7,6,0) 78%); }
.chapter--qigong { min-height: clamp(640px, 68vh, 760px); }
.chapter--qigong .chapter__shade { background: linear-gradient(90deg, rgba(8,7,6,.86) 0%, rgba(8,7,6,.46) 26%, rgba(8,7,6,.08) 48%, rgba(8,7,6,0) 68%); }
.chapter--arms .chapter__shade { background: linear-gradient(90deg, rgba(8,7,6,.95) 0%, rgba(8,7,6,.72) 30%, rgba(8,7,6,.18) 54%, rgba(8,7,6,0) 74%); }
.chapter__copy { position: relative; z-index: 1; max-width: 1160px; padding: 48px 0; }
.chapter__lead, .chapter ul, .chapter__note, .chapter__arms, .chapter__sets { max-width: 440px; }
.chapter h2 { font-size: clamp(40px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 750; }
.chapter__lead { margin-top: 12px; max-width: 28ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.35; font-weight: 650; }
.chapter ul { list-style: none; display: grid; gap: 2px; margin-top: 18px; }
.chapter li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #ebe6e0;
  font-size: 16px;
  line-height: 1.45;
}
.chapter li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 2px;
  border-radius: 1px;
  background: #d24a42;
  transform: translateY(-0.12em);
}
.chapter__note, .chapter__arms { margin-top: 16px; max-width: 42ch; color: #d2cbc3; font-size: 15px; line-height: 1.5; }
.chapter__arms { margin-top: 8px; }
.chapter--wing .chapter__copy { padding-top: 56px; padding-bottom: 48px; }
.chapter--wing .chapter__lead, .chapter--wing ul, .chapter--wing .chapter__note { max-width: 360px; }
.chapter--qigong .chapter__copy { padding-top: 56px; padding-bottom: 48px; }
.chapter--qigong .chapter__lead, .chapter--qigong ul { max-width: 340px; }
.chapter--qigong ul { margin-top: 22px; }
.chapter--arms { align-items: center; }
.chapter--arms .chapter__copy { padding-top: 56px; padding-bottom: 48px; }
.chapter--arms .chapter__lead, .chapter--arms .chapter__sets { max-width: 480px; }
.chapter__sets { display: grid; gap: 16px; margin-top: 22px; }
.chapter__sets h3 { margin-bottom: 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #f0d2a0; font-weight: 750; }
.chapter__sets p { max-width: 46ch; color: #f4efe8; }
.focus-note__line { max-width: 62ch; margin-bottom: 16px; font-size: clamp(18px, 2vw, 22px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.45; }
.focus-note p { max-width: 52ch; color: var(--muted); line-height: 1.6; }
#topics {
  background: linear-gradient(180deg, #2c221c 0%, #46342c 48%, #5e4538 100%);
  color: #f6f1ea;
}
#topics .section-title,
#topics .focus-note__line { color: #f6f1ea; }
#topics .focus-note p { color: #d5ccc3; }

.seminar {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f3efe8;
  color: var(--ink);
}
.seminar__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}
.seminar__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243,239,232,.9) 0%, rgba(243,239,232,.72) 28%, rgba(243,239,232,.18) 52%, rgba(243,239,232,0) 70%);
}
.seminar__copy {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 48px));
  margin-left: max(24px, calc((100% - 1160px) / 2));
  margin-right: auto;
  padding: 40px 0;
}
.seminar__copy h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.2;
  max-width: 16em;
  margin-bottom: 10px;
}
.seminar__lead { max-width: 42ch; font-size: 15px; line-height: 1.55; }
.seminar__panel {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(22,19,17,.14);
}
.seminar__copy .seminar__label {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}
.seminar__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 22px;
  margin: 0;
}
.seminar__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}
.seminar__list li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 2px;
  border-radius: 1px;
  background: var(--red);
  transform: translateY(-0.12em);
}
.seminar__note { max-width: 46ch; margin-top: 12px; font-size: 14px; line-height: 1.5; }
.seminar__panel .btn { margin-top: 16px; }

@media (max-width: 1180px) {
  .site-nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    order: 3;
    flex: none;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: relative;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .site-nav.is-open {
    display: grid;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    padding: 8px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }
  .btn--header { order: 2; padding-inline: 14px; }
  .formats { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .hall { grid-template-columns: 1fr; }
  .system, .teams, .school__grid, .request { grid-template-columns: 1fr 1fr; }
  .direction { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap { width: min(1160px, calc(100% - 28px)); }
  .band, .section { padding: 44px 0; }
  .section-title,
  .system h2, .request h2, .school h2 {
    font-size: 26px;
  }
  .section-title { margin-bottom: 10px; }
  .system { gap: 12px; align-items: start; }
  .btn {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 7px;
    font-size: 15px;
  }
  .chapter-break { height: 44px; }
  .chapter-break__mark { width: 30px; height: 30px; font-size: 14px; }
  .chapter-break__line { width: 78%; }
  .hero {
    min-height: 500px;
    background-image:
      linear-gradient(180deg, rgba(16,14,12,.88) 0%, rgba(16,14,12,.62) 42%, rgba(16,14,12,.78) 100%),
      url("../images/hero.png");
    background-position: 72% center;
  }
  .hero__copy { padding: 32px 0 36px; }
  .hero h1 { font-size: 32px; }
  .hero__lead { font-size: 16px; }
  .formats, .direction__body--split, .system, .teams, .school__grid, .request, .path {
    grid-template-columns: 1fr;
  }
  .formats { row-gap: 0; border-top: 0; }
  .format { padding: 22px 0; border-top: 1px solid var(--line); }
  .fanbox { grid-template-columns: 1fr; grid-template-areas: "stage" "detail" "picks"; }
  .fanbox__stage { grid-area: stage; max-width: 520px; }
  .fanbox__detail { grid-area: detail; min-height: 0; }
  .fanbox__picks {
    grid-area: picks;
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    pointer-events: auto;
    padding-bottom: 4px;
  }
  .fanbox__picks button {
    position: static;
    transform: none;
    flex: none;
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--ink);
    font-size: 14px;
  }
  .fanbox__picks button.is-on { background: var(--red); color: #fff; box-shadow: none; }
  .hall__switch { display: flex; gap: 18px; margin-top: 22px; }
  .hall__switch button {
    border: 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: #d9d3cc;
    font: inherit;
    font-weight: 700;
    padding: 4px 0;
    cursor: pointer;
  }
  .hall__switch button.is-on { color: #fff; border-bottom-color: #f0d2a0; }
  .hall[data-show="wushu"] .hall__set--taiji,
  .hall[data-show="taiji"] .hall__set--wushu { display: none; }
  .hall, .hall__set, .hall__stage { min-width: 0; max-width: 100%; }
  .hall__stage {
    display: flex;
    min-height: 0;
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .piece {
    position: relative;
    left: auto;
    top: auto;
    width: 78%;
    height: 380px;
    flex: 0 0 78%;
    scroll-snap-align: center;
    transform: none;
    opacity: 1;
  }
  .piece p { opacity: 1; }
  .journey { display: block; margin-left: 4px; padding-left: 44px; }
  .journey::before {
    left: 16px;
    right: auto;
    top: 6px;
    bottom: 6px;
    width: 1px;
    height: auto;
    transform-origin: top center;
    animation-name: draw-y;
  }
  .journey li { min-height: 0; display: block; text-align: left; padding: 0 0 22px; }
  .journey li:nth-child(odd) .journey__body,
  .journey li:nth-child(even) .journey__body { padding: 0; }
  .journey__mark {
    left: -44px;
    top: 1px;
    width: 32px;
    height: 32px;
    margin: 0;
    font-size: 11px;
  }
  .school { padding: 44px 0; }
  .footer__bar, .footer__contact, .footer__legal { flex-direction: column; align-items: flex-start; }
  .footer__contact { gap: 10px; }
  .path::before { display: none; }
  .path li { text-align: left; padding: 0 0 0 28px; }
  .path li::before { left: 0; top: 2px; margin: 0; box-shadow: 0 0 0 4px var(--paper); }
  .cost { flex-direction: column; align-items: stretch; }
  .cookie-bar, .footer__legal { flex-direction: column; }
  .header__bar { gap: 8px; }
  .logo b { white-space: nowrap; font-size: 14px; }
  .logo small { letter-spacing: 0.08em; }
  .btn--header { font-size: 13px; padding-inline: 10px; }
  .chapter { min-height: 520px; align-items: flex-end; }
  .chapter--qigong { min-height: 500px; }
  .chapter__shade { background: linear-gradient(180deg, rgba(8,7,6,.05) 0%, rgba(8,7,6,.35) 34%, rgba(8,7,6,.88) 68%, rgba(8,7,6,.96) 100%) !important; }
  .chapter--wushu .chapter__photo { object-position: 78% 42%; }
  .chapter--wing .chapter__photo { object-position: 74% center; }
  .chapter--taiji .chapter__photo { object-position: 70% center; }
  .chapter--qigong .chapter__photo { object-position: 76% 40%; }
  .chapter--arms .chapter__photo { object-position: 82% 60%; }
  .chapter__copy, .chapter--wing .chapter__copy, .chapter--taiji .chapter__copy, .chapter--qigong .chapter__copy, .chapter--arms .chapter__copy {
    max-width: none;
    padding: 96px 0 24px;
  }
  .chapter h2 { font-size: 30px; }
  .chapter__lead, .focus-note__line { font-size: 16px; }
  .chapter li { font-size: 15px; }
  .format h3 { font-size: 20px; }
  .journey h3 { font-size: 16px; }
  .seminar { min-height: 0; display: block; }
  .seminar__photo {
    position: relative;
    height: 168px;
    object-position: right center;
  }
  .seminar__shade { display: none; }
  .seminar__copy {
    width: min(1160px, calc(100% - 28px));
    margin-left: auto;
    margin-right: auto;
    padding: 22px 0 8px;
  }
  .seminar__copy h2 { font-size: 24px; max-width: none; }
  .request-form input:not([type="checkbox"]),
  .request-form select,
  .request-form textarea {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 16px;
  }
  .request-form textarea { min-height: 92px; }
  .seminar__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .journey::before, .journey__mark { animation: none; }
  .js .chapter__photo { transform: none; transition: none; }
}
