/* style.css */
/* Presentation revision · 30 October 2026. Clear scenes, editorial rhythm. */
@font-face { font-family: Tall; src: url('assets/performance-20261202/VympelTall-Bold.woff2'); font-display: swap; }
@font-face { font-family: Onest; src: url('assets/performance-20261202/OnestVympel400.woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Onest; src: url('assets/performance-20261202/OnestVympel500.woff2'); font-weight: 500; font-display: swap; }

:root {
  --red: #e52e25;
  --ink: #181a1b;
  --paper: #f7f7f3;
  --muted: #626463;
  --heading-secondary-opacity: .60;
  --line: #cdd0cb;
  --gutter: clamp(24px, 4.5vw, 88px);
  --space: clamp(72px, 7.5vw, 128px);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 24px; scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 Onest, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
figure, p { margin: 0; }
p + p { margin-top: 16px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
h1, h2 { font-family: Tall, Impact, sans-serif; text-transform: uppercase; font-style: italic; font-weight: 700; letter-spacing: var(--type-heading-tracking, -.02em); line-height: var(--type-heading-leading, 1.04); }
h2 { font-size: var(--type-title, clamp(52px, 5.3vw, 86px)); }
h3 { line-height: 1.2; letter-spacing: -.025em; }
h4 { line-height: 1.3; }
/* One secondary tone for heading words on light and dark surfaces.
   Keep outline lettering at full strength; do not nest muted fragments. */
.heading-muted { opacity: var(--heading-secondary-opacity); }
@media (forced-colors: active) { .heading-muted { opacity: 1; } }
em { color: var(--red); font-style: inherit; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
[hidden] { display: none !important; }
.wrap { padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.dark { color: #fff; background: var(--ink); }
.eyebrow { margin-bottom: 24px; text-transform: uppercase; font-size: 11px; font-weight: 500; letter-spacing: .09em; }
.muted { color: var(--muted); font-size: 14px; }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; margin-bottom: 56px; }
.section-intro { max-width: 430px; justify-self: end; font-size: 18px; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 44px; padding: 9px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; font-size: 14px; font-weight: 500; }
.text-link:hover { color: #bd241c; }
.dark .text-link:hover { color: #ff756c; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
input:focus, select:focus { outline: 2px solid var(--red); outline-offset: 2px; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 50; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; background: white; }
.skip:focus { width: auto; height: auto; clip-path: none; padding: 12px 20px; }

/* School navigation. */
.brand { flex-shrink: 0; }
.brand img { width: 174px; height: auto; }

/* Directions are comparable editorial rows, not competing posters. */

/* A wide training scene is held between a statement and three concrete principles. */

/* One person, one biography; the selector stays in the same place. */

/* Operational information: quiet typography and stable columns. */
.schedule { background: #e9ece7; }
.filters { display: grid; grid-template-columns: 1fr .8fr 1.15fr .8fr; gap: 24px; padding: 28px; background: var(--paper); }
label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 500; }
input, select { width: 100%; min-width: 0; border: 1px solid #b7beb6; border-radius: 0; padding: 13px 12px; background: #fff; color: var(--ink); font-size: 14px; line-height: 1.3; min-height: 48px; }
.schedule-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 32px 16px; font-size: 12px; }
.schedule-toolbar button { border: 0; border-bottom: 1px solid currentColor; background: transparent; padding: 8px 0; font-size: 12px; }
.schedule-columns, .group-row { display: grid; grid-template-columns: 1.15fr 1fr 1.1fr 155px; gap: 28px; align-items: center; }
.schedule-columns { padding: 15px 0; color: var(--muted); font-size: 11px; border-bottom: 1px solid #aeb6ac; }
.group-row { padding: 26px 0; border-bottom: 1px solid #c4ccc1; }
.group-name h3 { font-size: 18px; line-height: 1.3; }
.group-name p { color: #5a6158; font-size: 12px; margin-top: 8px; max-width: 230px; }
.group-hall p { font-size: 14px; }
.group-sessions { display: grid; gap: 18px; }
.session { display: grid; gap: 5px; }
.session-time { font-size: 21px; font-weight: 500; line-height: 1.15; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.session-days { font-size: 12px; color: #565e53; }
.group-action { min-height: 44px; padding: 11px 12px; font-size: 12px; border: 1px solid #747d70; background: transparent; }
.group-action:hover { background: var(--ink); border-color: var(--ink); color: white; }
.empty-groups { border-bottom: 1px solid #aeb6ac; padding-block: 36px; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.empty-groups p { max-width: 650px; }
.empty-groups button { flex-shrink: 0; }
.schedule-help { display: flex; gap: 20px 40px; align-items: center; justify-content: space-between; padding-block: 18px; font-size: 13px; }
.price-block { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; align-items: center; margin-top: 54px; padding-top: 42px; border-top: 1px solid #aeb6ac; }
.price-block .eyebrow { margin-bottom: 18px; }
.price-block h3 { font-size: 26px; }
.price-block > div > p:last-child:not(.eyebrow) { font-size: 12px; color: var(--muted); margin-top: 18px; }
.price { padding-left: 28px; border-left: 1px solid #aeb6ac; }
.price > span { display: block; font-size: 13px; }
.price > span:last-child { font-size: 12px; color: var(--muted); }
.price strong { display: block; font-weight: 500; font-size: clamp(40px, 4vw, 64px); line-height: 1.3; letter-spacing: -.05em; margin-block: 4px; white-space: nowrap; }
.price small { font-size: .55em; font-weight: 400; }
.expenses { margin-top: 36px; font-size: 13px; border-top: 1px solid #b6bfb2; border-bottom: 1px solid #b6bfb2; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary > span { flex-shrink: 0; font-size: 26px; font-weight: 400; line-height: 1; }
details[open] > summary > span { transform: rotate(45deg); }
.expenses summary { padding-block: 20px; }
.expenses > p { max-width: 850px; padding-bottom: 22px; color: #4c5549; }

/* Documentary scene and a short school tradition. */

/* Questions stay compact; the first visit is a new full photographic scene. */
.faq { display: grid; grid-template-columns: .85fr 1.3fr; gap: 80px; }
.faq h2 { font-size: clamp(44px, 4vw, 64px); }
.faq > div > p:not(.eyebrow) { margin-top: 28px; color: var(--muted); font-size: 14px; }
.faq .text-link { margin-top: 16px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding-block: 24px; font-size: 17px; line-height: 1.4; font-weight: 500; }
.faq-list details > p { font-size: 14px; color: #555c56; max-width: 620px; padding: 0 36px 26px 0; }
.preparation { padding-block: 48px 64px; border-top: 1px solid #494c49; }
.preparation > h3 { font-size: 24px; margin-bottom: 36px; }
.preparation ol { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.preparation li { display: flex; gap: 24px; }
.preparation li > span { color: #e8675e; font-size: 13px; line-height: 1.5; padding-top: 2px; }
.preparation h4 { font-size: 17px; margin-bottom: 12px; }
.preparation p { color: #c3c7c2; font-size: 13px; }

/* The space itself, followed by two equally legible addresses. */
.hall-addresses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; padding-block: 48px 52px; }
.hall-addresses article { display: flex; align-items: start; gap: 32px; }
.hall-num { font-size: 12px; padding-top: 7px; color: var(--muted); }
.hall-addresses h3 { font-size: 28px; margin-bottom: 20px; }
.hall-addresses p { font-size: 14px; }
.hall-addresses .entry { margin-top: 8px; color: var(--muted); }
.hall-addresses .text-link { margin-top: 20px; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); padding-top: 40px; }
.contact-row .eyebrow { margin-bottom: 12px; }
.contact-row p:not(.eyebrow) { font-size: 12px; }
.contact-row p span { color: var(--muted); }
.contact-phone { font-size: clamp(24px, 2.4vw, 38px); white-space: nowrap; font-weight: 500; letter-spacing: -.04em; }
.contact-row > a:last-child { font-size: 12px; border-bottom: 1px solid currentColor; }

/* Shared footer and accessible native dialogs. */
footer { padding-block: 56px 24px; background: var(--ink); color: #fff; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-brand img { width: 210px; height: auto; }
.footer-top p { font-size: 13px; color: #d3d6d1; }
.footer-top > a:last-child { font-size: 13px; }
.footer-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 48px; font-size: 10px; color: #a7aea7; }
.footer-bottom button { background: none; border: 0; border-bottom: 1px solid #a7aea7; color: #d3d6d1; padding: 8px 0; font-size: 11px; }
body.dialog-open { overflow: hidden; }
dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 40px); border: 0; padding: 40px; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgb(0 0 0 / 75%); }
.dialog-close { position: absolute; right: 12px; top: 9px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; }
dialog h2 { font-size: 44px; margin-bottom: 20px; }
dialog > p { font-size: 13px; }
dialog .eyebrow { margin-bottom: 16px; }
.demo-notice { padding: 14px 16px; margin-block: 20px; border-left: 3px solid var(--red); background: #e9ece5; font-size: 12px; }
.demo-notice a { text-decoration: underline; white-space: nowrap; }
#trial-form { margin-top: 24px; display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.small, #form-status { font-size: 12px; }
#form-status:empty { display: none; }
#form-status { background: #e7eade; padding: 14px; }
#info-dialog p { margin-top: 18px; }

/* Tablet keeps the same reading sequence, with fewer columns. */

@media (max-width: 1180px) {
  .schedule-columns, .group-row { grid-template-columns: 1.1fr .85fr 1fr 132px; gap: 20px; }
  .filters { gap: 16px; padding: 22px; }
  .group-action { padding-inline: 8px; }
  .faq { gap: 48px; }
  .contact-row { flex-wrap: wrap; }
}
@media (max-width: 800px) {
  :root { --gutter: 28px; --space: 72px; }
  h2 { font-size: 54px; }
  .brand img { width: 158px; }
  .section-heading { gap: 28px; margin-bottom: 40px; grid-template-columns: 1.15fr 1fr; }
  .section-intro { font-size: 15px; }
  .filters { grid-template-columns: 1fr 1fr; gap: 20px; }
  .schedule-columns { display: none; }
  .group-row { grid-template-columns: 1.1fr 1fr auto; gap: 12px 24px; align-items: start; }
  .group-name { grid-column: 1; grid-row: 1; }
  .group-hall { grid-column: 1; grid-row: 2; }
  .group-hall p { font-size: 12px; }
  .group-sessions { grid-column: 2; grid-row: 1 / span 2; }
  .group-action { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .price-block { gap: 28px; grid-template-columns: 1.2fr 1fr 1fr; }
  .price { padding-left: 20px; }
  .price strong { font-size: 38px; }
  .price-block h3 { font-size: 21px; }
  .faq { grid-template-columns: 1fr; gap: 36px; }
  .faq > div:first-child { max-width: 420px; }
  .preparation ol { gap: 28px; }
  .preparation li { gap: 14px; }
  .preparation h4 { font-size: 15px; }
  .hall-addresses { gap: 36px; }
  .hall-addresses article { gap: 16px; }
  .hall-addresses h3 { font-size: 24px; }
  .footer-bottom { flex-wrap: wrap; align-items: start; }
}
@media (max-width: 600px) {
  :root { --gutter: 22px; --space: 64px; }
  body { font-size: 15px; }
  h2 { font-size: clamp(44px, 12vw, 64px); }
  .eyebrow { margin-bottom: 20px; font-size: 10px; }
  .brand img { width: 148px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 34px; }
  .section-intro { justify-self: start; font-size: 15px; }
  .section-intro br { display: none; }
  .filters { padding: 20px; gap: 18px; grid-template-columns: 1fr; }
  .filters label { font-size: 12px; }
  .schedule-toolbar { padding-block: 24px 8px; }
  .group-row { grid-template-columns: 1fr 1fr; padding-block: 24px; gap: 12px 16px; }
  .group-name { grid-column: 1 / -1; grid-row: 1; }
  .group-name h3 { font-size: 19px; }
  .group-name p { max-width: none; margin-top: 6px; }
  .group-hall { grid-column: 1 / -1; grid-row: 2; padding-bottom: 8px; }
  .group-hall p { font-size: 13px; }
  .group-sessions { grid-column: 1; grid-row: 3; gap: 14px; }
  .session-time { font-size: 20px; }
  .session-days { font-size: 11px; }
  .group-action { grid-column: 2; grid-row: 3; justify-self: end; padding: 11px; font-size: 11px; }
  .empty-groups { flex-direction: column; align-items: start; gap: 20px; }
  .empty-groups button { align-self: start; }
  .schedule-help { flex-direction: column; align-items: start; gap: 4px; padding-block: 24px; }
  .price-block { grid-template-columns: 1fr 1fr; gap: 32px 20px; margin-top: 18px; padding-top: 32px; }
  .price-block > div:first-child { grid-column: 1 / -1; }
  .price-block h3 { font-size: 26px; }
  .price { padding-left: 0; border-left: 0; }
  .price + .price { padding-left: 20px; border-left: 1px solid #aeb6ac; }
  .price strong { font-size: clamp(33px, 9vw, 48px); }
  .price > span { font-size: 11px; }
  .expenses { margin-top: 28px; }
  .expenses summary { font-size: 13px; gap: 20px; }
  .faq h2 { font-size: 46px; }
  .faq { gap: 28px; }
  .faq > div > p:not(.eyebrow) { margin-top: 22px; }
  .faq-list summary { font-size: 16px; padding-block: 22px; }
  .faq-list details > p { padding-right: 16px; font-size: 13px; }
  .preparation { padding-block: 32px 44px; }
  .preparation > h3 { font-size: 23px; margin-bottom: 28px; }
  .preparation ol { grid-template-columns: 1fr; gap: 26px; }
  .preparation li { gap: 20px; }
  .preparation h4 { font-size: 17px; margin-bottom: 8px; }
  .preparation li + li { padding-top: 24px; border-top: 1px solid #454b45; }
  .hall-addresses { grid-template-columns: 1fr; gap: 32px; padding-block: 36px; }
  .hall-addresses article { gap: 20px; }
  .hall-addresses article + article { border-top: 1px solid var(--line); padding-top: 30px; }
  .hall-addresses h3 { font-size: 24px; margin-bottom: 18px; }
  .hall-addresses .text-link { margin-top: 16px; font-size: 13px; }
  .contact-row { flex-direction: column; align-items: start; gap: 24px; padding-top: 32px; }
  .contact-phone { font-size: 31px; }
  footer { padding-top: 40px; }
  .footer-top { flex-wrap: wrap; gap: 28px; }
  .footer-brand img { width: 190px; }
  .footer-top p { width: 65%; font-size: 12px; }
  .footer-top > a:last-child { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 20px; margin-top: 32px; }
  .footer-bottom p { margin: 0; }
  dialog { padding: 36px 24px 28px; }
  dialog h2 { font-size: 38px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .session-time { font-size: 18px; }
  .group-action { padding-inline: 8px; font-size: 10px; }
  .contact-phone { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Full-width scenes and the angular graphic language from the school's references. */
.eyebrow::before { content: ''; display: inline-block; width: 13px; height: 13px; border-left: 4px solid var(--red); border-right: 4px solid var(--red); transform: skewX(-14deg); margin-right: 14px; vertical-align: -2px; }
.button { position: relative; isolation: isolate; min-height: 58px; display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 16px 30px; border: 0; color: #fff; background: transparent; font-size: 14px; font-weight: 500; }
.button::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: skewX(-12deg); transition: background .15s; }
.button svg { width: 44px; padding-left: 18px; border-left: 1px solid rgb(255 255 255 / 45%); }
.button:hover::before { background: #bc241b; }
.button:focus-visible { outline-offset: 8px; }

/* A single dark field gives the three sculptural objects space. */
.programs { background: #141819; }
.programs .section-intro { color: #c4cbc7; }
.program-list { border-top: 1px solid #414846; }
.program { display: grid; grid-template-columns: 260px .9fr 1fr; align-items: center; gap: 48px; padding-block: 34px; border-bottom: 1px solid #414846; min-height: 320px; }
.program-visual { display: flex; align-items: center; justify-content: center; height: 250px; }
.program-visual img { width: 250px; height: 250px; object-fit: contain; }
.program-mma .program-visual img { width: 224px; height: 224px; }
.program-women .program-visual img { width: 280px; height: 280px; max-width: none; }
.program-heading h3 { font-family: Tall, Impact, sans-serif; font-style: italic; text-transform: uppercase; font-size: clamp(36px, 3.1vw, 50px); line-height: 1.08; max-width: 360px; }
.program-age { display: inline-block; margin-top: 22px; color: #e5e9e5; font-size: 12px; line-height: 1.4; padding-left: 14px; border-left: 3px solid var(--red); }
.program-copy p { max-width: 470px; color: #bec7c1; font-size: 15px; }
.program-copy .text-link { margin-top: 18px; color: #fff; }
.program-copy .text-link svg { color: #f35d50; }
.personal { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 40px; align-items: start; padding-top: 40px; }
.personal h3 { max-width: 320px; font-size: 22px; }
.personal p { font-size: 14px; color: #b8c2ba; }

/* H03: the complete group stays clear of the text column and its angled edge. */
.training-scene { position: relative; isolation: isolate; display: grid; grid-template-columns: 60% minmax(0, 1fr); min-height: clamp(620px, 50vw, 960px); background: #101617; }
.training-photo { position: absolute; inset: 0; width: 100%; z-index: -1; }
.training-photo picture { display: block; width: 100%; height: 100%; }
.training-photo img { width: 100%; height: 100%; object-fit: cover; object-position: left 70%; }
.training-panel { position: relative; isolation: isolate; grid-column: 2; display: flex; flex-direction: column; padding: clamp(40px, 4.5vw, 86px) var(--gutter) clamp(28px, 3vw, 56px) 5vw; }
.training-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgb(8 15 17 / 94%); clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
.training-heading .eyebrow { margin-bottom: 22px; }
.training-heading h2 { font-size: clamp(54px, 5vw, 86px); line-height: 1.04; }
.training-heading h2 em { color: #fff; white-space: nowrap; }
.training-heading > p { max-width: 390px; margin-top: 26px; color: #dce1dc; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; }
.training-heading::after { content: ''; display: block; width: 72px; height: 7px; margin-top: 28px; background: var(--red); transform: skewX(-20deg); }
.training-caption { margin-top: auto; padding-top: 30px; color: #e5e9e6; font-size: 12px; line-height: 1.5; }
.training-caption span { display: block; margin-top: 5px; color: #bdc7c4; font-size: 11px; }
@media (max-width: 1100px) {
  .training-scene { display: flex; flex-direction: column; min-height: 0; }
  .training-photo { position: relative; inset: auto; width: 100%; z-index: auto; aspect-ratio: 1.5; }
  .training-photo img { position: absolute; inset: 0; object-fit: cover; object-position: left top; }
  .training-panel { padding: 44px var(--gutter) 36px; background: #101617; }
  .training-panel::before { display: none; }
  .training-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 44px; align-items: end; }
  .training-heading h2 { font-size: clamp(46px, 6.8vw, 74px); line-height: 1.04; }
  .training-heading > p { margin-top: 0; max-width: 430px; font-size: 16px; }
  .training-heading::after { grid-column: 1 / -1; margin-top: 4px; }
  .training-caption { padding-top: 28px; }
}
@media (max-width: 700px) {
  .training-photo { aspect-ratio: 1.32; }
  .training-panel { padding: 36px var(--gutter) 30px; }
  .training-heading { display: block; }
  .training-heading h2 { font-size: clamp(45px, 12vw, 70px); }
  .training-heading > p { margin-top: 24px; font-size: 15px; }
  .training-heading::after { width: 64px; height: 6px; margin-top: 26px; }
  .training-caption { padding-top: 24px; }
}
.school-principles { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 64px; padding-block: 56px 64px; background: #f2f3ed; color: var(--ink); }
.school-principles h3 { font-size: 22px; margin-bottom: 18px; }
.school-principles p { font-size: 14px; color: #626a60; }
.school-principles .text-link { margin-top: 18px; color: var(--ink); }

/* The portrait is part of the whole screen, with a single red oblique plane. */
.coaches { position: relative; overflow: hidden; background: #e7ebe4; padding-bottom: 0; }
.coaches .section-heading { position: relative; z-index: 1; }
.coach-layout { position: relative; }
.coach-profile { display: grid; grid-template-columns: 48% 52%; min-height: 720px; align-items: stretch; }
.coach-profile figure { position: relative; height: 720px; align-self: end; padding: 24px 20px 0; }
.coach-profile figure::before { content: ''; position: absolute; width: 38%; inset-block: 14% 0; left: 28%; background: var(--red); transform: skewX(-12deg); }
.coach-profile figure img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.coach-biography { padding: 70px 0 300px 56px; }
.coach-discipline { display: inline-block; font-size: 12px; background: var(--ink); color: #fff; padding: 7px 20px; margin-bottom: 24px; clip-path: polygon(9px 0,100% 0,calc(100% - 9px) 100%,0 100%); }
.coach-biography h3 { font-family: Tall, Impact, sans-serif; font-style: italic; text-transform: uppercase; font-size: clamp(56px, 5.6vw, 88px); line-height: 1.02; max-width: 620px; }
.coach-role { font-size: 16px; max-width: 430px; margin-top: 24px; }
.coach-description { color: #586254; font-size: 14px; max-width: 420px; margin-top: 20px; }
.coach-selection { position: absolute; right: 0; bottom: 50px; width: calc(52% - 56px); }
.coach-selection > p { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 18px; }
.coach-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.coach-tabs button { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; text-align: left; gap: 18px; padding: 13px 18px; min-height: 48px; border: 0; background: transparent; font-size: 12px; flex: 1 1 46%; }
.coach-tabs button::before { content: ''; position: absolute; z-index: -1; inset: 0; background: #d6ddd2; clip-path: polygon(9px 0,100% 0,calc(100% - 9px) 100%,0 100%); }
.coach-tabs small { font-size: 10px; color: #5d6659; }
.coach-tabs button[aria-selected="true"] { color: white; }
.coach-tabs button[aria-selected="true"]::before { background: var(--ink); }
.coach-tabs button[aria-selected="true"] small { color: #d6ddd2; }
.coach-tabs button:hover::before { background: #c7d0c2; }
.coach-tabs button[aria-selected="true"]:hover::before { background: #30392e; }
.schedule { border-top: 1px solid #c4cdc0; }
.filters { position: relative; }
.filters::before { content: ''; position: absolute; left: 28px; top: -5px; width: 72px; height: 5px; background: var(--red); transform: skewX(-18deg); }

/* An authentic full-frame moment provides a different scale and texture. */
.life { position: relative; padding-top: 0; color: white; background: var(--ink); }
.life-heading { position: absolute; z-index: 2; top: 72px; left: 0; right: 0; display: grid; grid-template-columns: 1.25fr .8fr; align-items: start; gap: 80px; }
.life-heading h2 { font-size: clamp(56px, 5.7vw, 94px); }
.life-heading > p { margin-top: 40px; font-size: 15px; color: #e4e9e4; max-width: 400px; }
.life-panorama { position: relative; height: max(820px, 94svh); }
.life-panorama::after { content: ''; position: absolute; inset: 0; background: rgb(4 10 13 / 23%); }
.life-panorama img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.life-panorama figcaption { position: absolute; z-index: 1; bottom: 32px; left: var(--gutter); font-size: 11px; padding: 9px 16px; border-left: 3px solid var(--red); background: #171e1e; }
.life-tradition { display: grid; grid-template-columns: .6fr 1.4fr 1fr; gap: 40px; align-items: center; padding-block: 40px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.life-tradition .eyebrow { margin: 0; }
.life-tradition > p:not(.eyebrow) { font-size: 24px; line-height: 1.35; font-weight: 500; margin: 0; }
.life-tradition > span { font-size: 13px; color: var(--muted); }
.trial-scene { position: relative; isolation: isolate; min-height: max(780px, 94svh); overflow: hidden; background: #111517; }
.trial-scene > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.trial-copy { width: 47%; padding: 100px 24px 100px var(--gutter); }
.trial h2 { font-size: clamp(68px, 6.7vw, 116px); }
.trial h2 em { color: #fff; }
.trial-copy > p:not(.eyebrow) { font-size: 16px; max-width: 380px; margin-top: 30px; color: #e0e5e0; }
.trial-copy .button { margin-top: 36px; }
.preparation { border-top-width: 0; }
.halls { position: relative; padding-top: 0; }
.halls > .section-heading { position: absolute; z-index: 2; left: 0; right: 0; top: 72px; color: white; }
.halls .section-intro { font-size: 18px; }
.hall-scene { position: relative; height: max(650px, 80svh); isolation: isolate; }
.hall-scene::after { content: ''; position: absolute; inset: 0; background: rgb(7 13 14 / 42%); }
.hall-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hall-scene figcaption { position: absolute; z-index: 1; left: var(--gutter); bottom: 30px; color: white; font-size: 11px; }
dialog { border-top: 5px solid var(--red); }

@media (max-width: 1180px) {
  .program { grid-template-columns: 220px 1fr 1fr; gap: 30px; }
  .program-visual img { width: 220px; height: 220px; }
  .program-mma .program-visual img { width: 200px; height: 200px; }
  .program-women .program-visual img { width: 250px; height: 250px; }
  .personal { grid-template-columns: 1fr 1.2fr; gap: 24px; }
  .personal .text-link { grid-column: 2; justify-self: start; }
  .school-principles { gap: 36px; }
  .coach-biography { padding-left: 32px; }
  .coach-selection { width: calc(52% - 32px); }
  .coach-profile, .coach-profile figure { min-height: 700px; height: 700px; }
  .coach-biography h3 { font-size: 6.7vw; }
  .coach-role { font-size: 14px; }
  .coach-tabs button { font-size: 11px; padding-inline: 14px; gap: 10px; }
  .life-heading { gap: 40px; }
  .life-tradition { gap: 24px; }
  .life-tradition > p:not(.eyebrow) { font-size: 21px; }
  .trial-copy { width: 51%; }
  .trial h2 { font-size: 7.4vw; }
}
@media (max-width: 800px) {
  .program { grid-template-columns: 200px 1fr; gap: 10px 32px; padding-block: 34px; }
  .program-visual { grid-column: 1; grid-row: span 2; height: 240px; }
  .program-heading { grid-column: 2; }
  .program-heading h3 { font-size: 38px; }
  .program-age { margin-top: 16px; }
  .program-copy { grid-column: 2; }
  .program-copy p { font-size: 14px; }
  .program-women .program-visual img { width: 232px; height: 232px; }
  .program-copy .text-link { margin-top: 10px; }
  .school-principles { grid-template-columns: 1fr 1fr; gap: 32px; }
  .school-principles article:last-child { grid-column: 1 / -1; max-width: 440px; }
  .coach-profile { grid-template-columns: 45% 55%; min-height: 740px; height: 740px; }
  .coach-profile figure { height: 660px; min-height: 0; padding-inline: 0; }
  .coach-profile figure img { object-fit: cover; object-position: 50% top; }
  .coach-biography { padding: 56px 0 300px 24px; }
  .coach-biography h3 { font-size: 54px; }
  .coach-selection { width: calc(55% - 24px); bottom: 30px; }
  .coach-tabs { gap: 8px; }
  .coach-tabs button { flex-basis: 100%; min-height: 42px; padding-block: 10px; }
  .life-heading { top: 48px; grid-template-columns: 1.2fr 1fr; gap: 32px; }
  .life-heading h2 { font-size: 50px; }
  .life-heading > p { font-size: 13px; margin-top: 36px; }
  .life-panorama { height: 820px; }
  .life-tradition { grid-template-columns: 1fr 1fr; }
  .life-tradition .eyebrow { grid-column: 1 / -1; }
  .trial-copy { width: 55%; padding-top: 72px; }
  .trial h2 { font-size: 7.8vw; }
  .trial-copy > p:not(.eyebrow) { font-size: 14px; }
  .trial-scene { min-height: 800px; }
  .trial-scene > img { object-position: 60% center; }
  .halls > .section-heading { top: 48px; }
  .hall-scene { height: 680px; min-height: 0; }
}
@media (max-width: 600px) {
  .button { padding-inline: 24px; min-height: 56px; gap: 24px; font-size: 13px; }
  .button svg { width: 38px; padding-left: 14px; }
  .program { grid-template-columns: 1fr; padding: 32px 0; gap: 24px; }
  .program-visual { grid-column: 1; grid-row: 1; height: 220px; justify-content: flex-start; padding-left: 24px; }
  .program-visual img { width: 244px; height: 244px; }
  .program-mma .program-visual img { width: 220px; height: 220px; }
  .program-women .program-visual img { width: 270px; height: 270px; }
  .program-heading { grid-column: 1; grid-row: 2; }
  .program-heading h3 { font-size: 41px; max-width: 360px; }
  .program-age { font-size: 12px; margin-top: 16px; }
  .program-copy { grid-column: 1; grid-row: 3; }
  .program-copy p { font-size: 14px; }
  .program-copy .text-link { margin-top: 14px; }
  .personal { grid-template-columns: 1fr; gap: 22px; padding-top: 32px; }
  .personal h3 { font-size: 23px; }
  .personal .text-link { grid-column: 1; }
  .school-principles { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 44px; }
  .school-principles h3 { font-size: 21px; margin-bottom: 12px; }
  .school-principles p { font-size: 14px; }
  .school-principles article + article { border-top: 1px solid #c6cdc2; padding-top: 26px; }
  .school-principles article:last-child { grid-column: 1; }
  .coaches { padding-bottom: 40px; }
  .coach-profile { display: flex; flex-direction: column; min-height: 0; height: auto; }
  .coach-profile figure { width: 100%; height: 460px; min-height: 0; padding: 20px 0 0; }
  .coach-profile figure img { object-fit: contain; object-position: bottom center; }
  .coach-profile figure::before { inset-block: 18% 0; width: 34%; left: 30%; }
  .coach-biography { padding: 30px 0; min-height: 270px; }
  .coach-biography h3 { font-size: 52px; }
  .coach-discipline { margin-bottom: 18px; }
  .coach-role { font-size: 14px; margin-top: 22px; }
  .coach-description { font-size: 13px; margin-top: 16px; }
  .coach-selection { position: static; width: 100%; }
  .coach-tabs button { flex-basis: 45%; font-size: 11px; min-height: 58px; padding: 12px 16px; flex-direction: column; align-items: start; gap: 5px; }
  .coach-tabs button:last-child { flex-basis: 100%; min-height: 44px; flex-direction: row; align-items: center; }
  .life-heading { position: relative; top: auto; grid-template-columns: 1fr; gap: 24px; padding-top: 48px; padding-bottom: 32px; }
  .life-heading h2 { font-size: clamp(43px, 11.6vw, 64px); }
  .life-heading > p { margin-top: 0; font-size: 14px; }
  .life-panorama { height: 560px; }
  .life-panorama img { object-position: 69% center; }
  .life-panorama::after { background: transparent; }
  .life-panorama figcaption { left: 22px; bottom: 20px; font-size: 10px; }
  .life-tradition { grid-template-columns: 1fr; gap: 20px; padding-block: 32px; }
  .life-tradition > p:not(.eyebrow) { font-size: 24px; }
  .trial-scene { min-height: 0; padding-top: 0; }
  .trial-scene > img { position: relative; height: 470px; width: 100%; object-position: 74% center; }
  .trial-copy { width: 100%; padding: 40px var(--gutter) 48px; }
  .trial h2 { font-size: clamp(54px, 14vw, 78px); }
  .trial-copy > p:not(.eyebrow) { max-width: 420px; margin-top: 24px; }
  .trial-copy .button { margin-top: 28px; }
  .halls > .section-heading { top: 40px; }
  .halls .section-intro { font-size: 15px; }
  .hall-scene { height: 640px; }
  .hall-scene img { object-position: 50% center; }
  .hall-scene figcaption { left: 22px; bottom: 24px; font-size: 10px; }
}
@media (max-width: 360px) {
  .programs h2 { font-size: 40px; }
  .program-visual { padding-left: 12px; }
  .program-women .program-visual img { width: 240px; height: 240px; }
  .program-heading h3 { font-size: 36px; }
  .coach-profile figure { height: 400px; }
  .coach-biography h3 { font-size: 46px; }
}
@media (min-width: 601px) and (max-width: 1180px) {
  .coach-profile figure img { object-fit: contain; }
}

@media (prefers-reduced-motion: reduce) {
  .button::before { transition: none; }
}







/* Opening: navigation, contact details and two horizontal disciplines. */
.header { position: absolute; inset: 0 0 auto; z-index: 10; display: grid; grid-template-columns: auto minmax(0, 1fr) 260px; align-items: center; gap: clamp(44px, 3.8vw, 72px); min-height: 116px; padding: 25px var(--gutter); color: white; }
.header .brand img { width: 182px; }
.header-links { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 1.6vw, 30px); }
.header-links a { padding-block: 14px; font-size: 13px; white-space: nowrap; }
.header-links a:hover { color: #c8ced0; }
.header-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.header-phone { display: flex; align-items: center; gap: 9px; font-size: 18px; line-height: 1.2; font-weight: 500; white-space: nowrap; padding: 3px 0; text-decoration: none; }
.header-phone img { width: 16px; height: 16px; flex-shrink: 0; }
.header-phone:hover { color: #e5e9eb; text-decoration: none; }
.header-location { display: flex; flex-direction: column; gap: 4px; font-size: 11px; line-height: 1.5; color: #d9dfe1; }
.location-item { display: flex; align-items: center; gap: 9px; }
.location-item img { flex: 0 0 16px; width: 16px; height: 16px; opacity: .72; }
.menu-toggle { display: none; align-items: center; justify-self: end; gap: 14px; min-height: 48px; padding: 0; border: 0; background: none; color: white; }
.menu-label { font-size: 13px; }
.menu-symbol { position: relative; isolation: isolate; width: 56px; height: 48px; display: grid; place-items: center; padding-right: 5px; }
.menu-symbol::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--red); clip-path: polygon(0 0,100% 0,calc(100% - 11px) 100%,0 100%); }
.menu-toggle:hover .menu-symbol::before { background: #b61e18; }
.menu-symbol img { width: 24px; height: 24px; }
.hero-mobile-contact { display: none; }
.nav-dialog { width: min(760px, 90vw); max-width: none; max-height: none; height: 100dvh; margin: 0 0 0 auto; padding: 40px clamp(28px, 5vw, 72px); color: white; background: #111416; border: 0; border-left: 1px solid #555b5d; }
.nav-dialog[open] { display: flex; flex-direction: column; animation: nav-enter 220ms ease-out; }
.nav-dialog::backdrop { background: rgb(0 0 0 / 58%); }
.nav-top { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.nav-top > span { color: #b7bdbf; font-size: 11px; }
.nav-close { position: static; display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border: 1px solid #60686a; }
.nav-close img { width: 24px; height: 24px; }
.nav-links { display: grid; align-content: center; flex: 1; margin-block: 42px; }
.nav-links a { display: grid; grid-template-columns: 26px 1fr 24px; align-items: center; gap: 22px; padding: 22px 0; border-bottom: 1px solid #394044; font: italic 700 clamp(34px, 3.4vw, 54px)/1.05 Tall, Impact, sans-serif; text-transform: uppercase; }
.nav-links a:hover { color: #f66c65; }
.nav-index { align-self: center; color: #a3abad; font: 400 11px/1 Onest, Arial, sans-serif; }
.nav-links a svg { width: 24px; height: 24px; }
.nav-contact { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-top: 16px; }
.nav-contact p { font-size: 12px; }
.nav-contact span { font-size: 11px; color: #aeb8bb; }
.nav-contact > a { font-size: 20px; white-space: nowrap; }
.nav-dialog .nav-location { margin-top: 32px; font-size: 11px; color: #aeb8bb; }

.hero { position: relative; isolation: isolate; min-height: max(760px, min(100svh, 56.25vw)); color: white; background: #111416; overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: -1; }
.hero-image > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-content { --hero-title-size: clamp(72px, 6vw, 112px); width: 49%; max-width: 880px; padding: calc(clamp(148px, 10.5vw, 190px) + 12px) 24px 52px var(--gutter); }
.hero-kicker { font-size: 11px; letter-spacing: .055em; text-transform: uppercase; margin-bottom: 18px; color: #c8ced0; }
.hero-heading { display: grid; grid-template-columns: calc(var(--hero-title-size) * 2.8) minmax(0, 1fr); column-gap: 30px; align-items: end; }
.hero h1 { grid-column: 1 / -1; grid-row: 1; font-size: var(--hero-title-size); line-height: .98; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero-prefix { font-size: .61em; margin-bottom: 8px; }
.hero-last { margin-top: 8px; }
.hero-outline { color: transparent; -webkit-text-stroke: 1.2px #fff; }
.hero-audience { grid-column: 2; grid-row: 1; align-self: end; margin-bottom: calc(var(--hero-title-size) * .18); font-size: clamp(18px, 1.3vw, 21px); line-height: 1.45; color: #d9dfe1; }
.hero-facts { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 510px; margin-top: 52px; }
.hero-facts::after { content: ''; position: absolute; left: 50%; top: 50%; width: 2px; height: 52px; background: var(--red); opacity: .85; transform: translate(-50%, -50%) skewX(-12deg); pointer-events: none; }
.hero-fact { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; column-gap: 14px; row-gap: 6px; }
.hero-fact-icon { grid-column: 1; grid-row: 1 / 3; width: 52px; height: 52px; object-fit: contain; opacity: .46; filter: grayscale(1); }
.hero-fact-title { grid-column: 2; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.hero-fact-title strong { color: #f0443b; font: italic 700 34px/1 Tall, Impact, sans-serif; letter-spacing: .015em; }
.hero-fact-title > span { font-size: 13px; line-height: 1.4; }
.hero-fact-caption { grid-column: 2; font-size: 12px; line-height: 1.5; color: #d9dfe1; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 42px; }
.hero-actions .button { color: var(--ink); min-height: 58px; font-size: 13px; padding-left: 24px; gap: 20px; }
.hero-actions .button::before { background: white; }
.hero-actions .button::after { content: ''; position: absolute; z-index: -1; inset: 0 0 0 auto; width: 64px; background: var(--red); transform: skewX(-12deg); }
.hero-actions .button svg { color: white; border-color: transparent; }
.hero-actions .button:hover::before { background: #e7ebe4; }
.hero .text-link { font-size: 12px; gap: 12px; }
.hero .text-link:hover { color: #ff8b80; }
@keyframes nav-enter { from { transform: translateX(48px); } to { transform: translateX(0); } }
@media (min-width: 1700px) {
  .hero-content { width: 48%; padding-top: 192px; }
}
@media (min-width: 1281px) and (max-width: 1699px) {
  .header-links { justify-content: flex-start; }
}
@media (max-width: 1280px) {
  .header { grid-template-columns: 1fr auto 1fr; gap: 32px; }
  .header-links { display: none; }
  .menu-toggle { display: flex; }
  .hero-content { --hero-title-size: 5.8vw; width: 51%; padding-top: 158px; }
  .hero-audience { font-size: 18px; }
  .hero-facts { gap: 24px; max-width: 460px; }
}
@media (max-width: 1180px) {
  .header { grid-template-columns: 1fr auto; min-height: 96px; padding-block: 22px; }
  .header .brand img { width: 166px; }
  .header-contact { display: none; }
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-image { position: relative; inset: auto; z-index: 0; order: -1; height: clamp(460px, 68vw, 680px); }
  .hero-image > img { object-position: right top; }
  .hero-content { --hero-title-size: clamp(64px, 8vw, 94px); width: 100%; max-width: none; padding: 28px var(--gutter) 48px; }
  .hero-mobile-contact { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; padding-bottom: 28px; margin-bottom: 40px; border-bottom: 1px solid rgb(255 255 255 / 18%); }
  .mobile-call { position: relative; isolation: isolate; flex-shrink: 0; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 11px 20px 11px 16px; color: #151719; font-size: 12px; }
  .mobile-call::before { content: ''; position: absolute; inset: 0; z-index: -1; background: white; clip-path: polygon(0 0,100% 0,calc(100% - 9px) 100%,0 100%); }
  .mobile-call:hover::before { background: #e5e5e5; }
  .mobile-call img { width: 18px; height: 18px; }
  .hero-mobile-contact .header-location { font-size: 12px; }
  .hero-audience { font-size: 20px; }
}
@media (max-width: 700px) {
  .header { min-height: 82px; padding-block: 18px; }
  .header .brand img { width: 156px; }
  .menu-symbol { width: 52px; height: 44px; }
  .hero-image { height: clamp(360px, 80vw, 530px); }
  .hero-content { --hero-title-size: clamp(48px, 11.2vw, 78px); padding-top: 24px; padding-bottom: 42px; }
  .hero-mobile-contact { padding-bottom: 24px; margin-bottom: 40px; }
  .hero-kicker { font-size: 10px; margin-bottom: 14px; }
  .hero-heading { column-gap: 24px; }
  .hero-audience { font-size: 16px; }
  .hero-facts { margin-top: 42px; gap: 24px; }
  .hero-facts::after { height: 44px; }
  .hero-fact { grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; }
  .hero-fact-icon { width: 40px; height: 40px; }
  .hero-actions { margin-top: 36px; }
  .nav-dialog { width: 100%; padding: 24px; }
  .nav-links { margin-block: 28px; }
  .nav-links a { font-size: 40px; padding-block: 20px; gap: 12px; }
  .nav-contact { align-items: start; flex-direction: column; gap: 14px; }
  .nav-contact > a { font-size: 23px; }
}
@media (max-width: 460px) {
  .header .brand img { width: 104px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hero-image > img { object-position: 92% top; }
  .hero-mobile-contact { gap: 12px; }
  .hero-mobile-contact .header-location { font-size: 11px; min-width: 0; }
  .mobile-call { font-size: 11px; padding-inline: 12px 17px; }
  .hero-heading { column-gap: 24px; }
  .hero-audience { font-size: 14px; margin-bottom: 7px; }
  .hero-facts { gap: 22px; margin-top: 40px; }
  .hero-facts::after { height: 40px; }
  .hero-fact { grid-template-columns: 32px minmax(0, 1fr); column-gap: 8px; row-gap: 8px; }
  .hero-fact-icon { grid-row: 1; width: 32px; height: 32px; }
  .hero-fact-title { gap: 6px; }
  .hero-fact-title strong { font-size: 28px; }
  .hero-fact-title > span { font-size: 11px; }
  .hero-fact-caption { grid-column: 1 / -1; font-size: 12px; }
  .hero-actions { margin-top: 34px; }
  .nav-contact > a { display: block; width: 100%; padding: 14px 18px; background: white; color: var(--ink); text-align: center; clip-path: polygon(0 0,100% 0,calc(100% - 10px) 100%,0 100%); }
  .nav-links a { grid-template-columns: 18px minmax(0, 1fr) 18px; gap: 10px; }
  .nav-links a svg { width: 18px; height: 18px; }
}
@media (max-width: 360px) {
  .header .brand img { width: 80px; }
  .hero-image { height: 330px; }
  .hero-content { --hero-title-size: 40px; }
  .hero-heading { column-gap: 22px; }
  .hero-audience { font-size: 13px; margin-bottom: 4px; }
  .hero-facts { gap: 16px; }
  .hero-facts::after { height: 32px; }
  .hero-fact-title { gap: 5px; }
  .hero-fact-title strong { font-size: 24px; }
  .hero-fact-title > span { font-size: 10px; }
  .hero-mobile-contact { gap: 9px; }
  .mobile-call { gap: 6px; padding-inline: 10px 15px; }
  .hero-mobile-contact .header-location { font-size: 10px; }
  .location-item { gap: 6px; }
  .nav-links a { font-size: 28px; }
  .nav-contact > a { font-size: 21px; }
}
@media (max-width: 460px) and (max-height: 760px) {
  .nav-dialog { padding-block: 20px; }
  .nav-links { margin-block: 20px; }
  .nav-links a { padding-block: 14px; }
  .nav-dialog .nav-location { margin-top: 20px; }
}
@media (min-width: 500px) and (max-height: 700px) {
  .nav-links { margin-block: 20px; }
  .nav-links a { padding-block: 12px; }
  .nav-contact { flex-direction: row; align-items: end; }
  .nav-dialog .nav-location { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-dialog[open] { animation: none; }
}
@media (forced-colors: active) {
  .hero-outline { color: CanvasText; -webkit-text-stroke: 0; }
}




/* hero-screen.css */
/* H01 campaign composition · 31 October 2026. Other sections retain style.css. */
/* Navigation overlays the photograph; H01 starts at the top of the viewport. */
.header {
  position: absolute;
  inset: 0 0 auto;
  min-height: 88px;
  padding-block: 14px;
  background: transparent;
  isolation: isolate;
}
.header::before {
  content: none;
}
.hero--campaign {
  min-height: clamp(620px, 50vw, 960px);
  background: #080b0f;
}
.hero--campaign .hero-image {
  position: absolute;
  inset: 0;
  height: auto;
  z-index: -1;
}
.hero--campaign .hero-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero--campaign .hero-content {
  --hero-title-size: clamp(64px, 5.7vw, 108px);
  width: 44.5%;
  max-width: 890px;
  padding: clamp(76px, 7vw, 134px) 22px 54px var(--gutter);
}
.hero--campaign .hero-kicker {
  margin-bottom: 22px;
  font-size: 11px;
  letter-spacing: .07em;
  color: #c6cbce;
}
.hero--campaign .hero-heading {
  grid-template-columns: calc(var(--hero-title-size) * 2.8) minmax(0, 1fr);
  column-gap: 26px;
}
.hero--campaign h1 { line-height: .94; letter-spacing: -.025em; }
.hero--campaign .hero-prefix { font-size: .62em; margin-bottom: 10px; }
.hero--campaign .hero-last { margin-top: 9px; }
.hero--campaign .hero-outline { -webkit-text-stroke-width: 1.15px; }
.hero--campaign .hero-audience {
  margin-bottom: calc(var(--hero-title-size) * .14);
  font-size: clamp(16px, 1.18vw, 21px);
  line-height: 1.45;
  color: #e0e3e5;
}
.hero--campaign .hero-facts {
  max-width: 474px;
  gap: 26px;
  margin-top: 40px;
}
.hero--campaign .hero-facts::after { height: 46px; opacity: .9; }
.hero--campaign .hero-fact {
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 5px;
}
.hero--campaign .hero-fact-icon {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  opacity: .68;
}
.hero--campaign .hero-fact-title { gap: 8px; }
.hero--campaign .hero-fact-title strong { color: #f34a42; font-size: 32px; }
.hero--campaign .hero-fact-title > span { font-size: 12px; }
.hero--campaign .hero-fact-caption { grid-column: 2; font-size: 11.5px; color: #dce0e2; }
.hero--campaign .hero-actions { margin-top: 36px; gap: 14px 24px; }
.hero--campaign .hero-actions .button {
  min-width: 254px;
  min-height: 60px;
  padding-inline: 25px 22px;
  font-size: 13px;
}
.hero--campaign .hero-actions .button::after { width: 62px; }
.hero--campaign .hero-actions .text-link {
  min-height: 44px;
  padding-block: 10px;
  font-size: 12px;
}
.hero--campaign .hero-phone { color: #fff; font-size: 22px; line-height: 1.4; white-space: nowrap; letter-spacing: -.025em; }
.hero--campaign .hero-call {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 176px;
  min-height: 54px;
  padding: 14px 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.hero--campaign .hero-call::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: skewX(-12deg);
  border: 1px solid rgb(255 255 255 / 55%);
  transition: background 180ms ease, border-color 180ms ease;
}
.hero--campaign .hero-call img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.hero--campaign .hero-call:hover::before { background: rgb(255 255 255 / 8%); border-color: #fff; }

@media (min-width: 1101px) and (max-width: 1280px) {
  .header { min-height: 88px; }
  .header .header-location { display: none; }
  .hero--campaign { display: block; }
  .hero--campaign .hero-facts { gap: 20px; }
  .hero--campaign .hero-fact { grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; }
  .hero--campaign .hero-fact-icon { width: 34px; height: 34px; }
  .hero--campaign .hero-fact-title strong { font-size: 28px; }
  .hero--campaign .hero-fact-caption { font-size: 10.5px; }
  .hero--campaign .hero-actions { gap: 12px 22px; }
  .hero--campaign .hero-actions .button { min-width: 232px; }
}

/* Centre the copy below the overlay navigation; move the intact photo, not its subjects. */
@media (min-width: 1101px) {
  .hero--campaign {
    display: grid;
    grid-template-columns: 100%;
    align-items: center;
    padding-block: clamp(88px, 6.3vw, 120px) 0;
    /* The original room fills the exposed left edge beneath the shifted photo. */
    background-image: url("assets/performance-20261202/hero-v20-editorial-web-9442ad2979-1672.webp");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }
  .hero--campaign .hero-content {
    position: relative;
    z-index: 1;
    padding-block: 32px;
  }
  .hero--campaign .hero-image {
    inset: 0 auto 0 clamp(32px, 3vw, 64px);
    width: 100%;
    mask-image: linear-gradient(90deg,
      rgb(0 0 0 / 0) 0%,
      rgb(0 0 0 / .043) 2%,
      rgb(0 0 0 / .156) 4%,
      rgb(0 0 0 / .316) 6%,
      rgb(0 0 0 / .5) 8%,
      rgb(0 0 0 / .684) 10%,
      rgb(0 0 0 / .844) 12%,
      rgb(0 0 0 / .957) 14%,
      #000 16%);
  }
  .hero--campaign::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 50% 105% at 0% 58%,
      rgb(8 11 15 / 72%) 0%,
      rgb(8 11 15 / 70%) 30%,
      rgb(8 11 15 / 64%) 45%,
      rgb(8 11 15 / 53%) 60%,
      rgb(8 11 15 / 37%) 73%,
      rgb(8 11 15 / 19%) 85%,
      rgb(8 11 15 / 6%) 94%,
      rgb(8 11 15 / 0%) 100%);
  }
}

/* A separate photograph above the copy keeps all three people on narrow screens. */
@media (max-width: 1100px) {
  .header { min-height: 80px; grid-template-columns: 1fr auto; padding-block: 14px; }
  .header .brand img { width: 156px; }
  .header-contact { display: none; }
  .hero--campaign { min-height: 0; display: flex; flex-direction: column; }
  .hero--campaign .hero-image {
    position: relative;
    inset: auto;
    z-index: 0;
    order: -1;
    height: clamp(340px, 54vw, 520px);
    margin-top: 0;
  }
  .hero--campaign .hero-image > img { object-position: right top; }
  .hero--campaign .hero-content {
    --hero-title-size: clamp(48px, 5.2vw, 57px);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 34px;
    width: 100%;
    max-width: none;
    padding: 30px var(--gutter) 42px;
  }
  .hero--campaign .hero-kicker { grid-column: 1 / -1; margin-bottom: 20px; }
  .hero--campaign .hero-heading { grid-column: 1; column-gap: 20px; }
  .hero--campaign .hero-audience { font-size: 14px; }
  .hero--campaign .hero-facts { grid-column: 2; align-self: center; margin-top: 0; gap: 22px; }
  .hero--campaign .hero-fact { grid-template-columns: 1fr; row-gap: 8px; }
  .hero--campaign .hero-fact-icon { display: none; }
  .hero--campaign .hero-fact-title, .hero--campaign .hero-fact-caption { grid-column: 1; }
  .hero--campaign .hero-fact-caption { font-size: 12px; }
  .hero--campaign .hero-actions { grid-column: 1 / -1; margin-top: 28px; }
}

@media (max-width: 700px) {
  .header { min-height: 72px; padding-block: 12px; }
  .header .brand img { width: 132px; }
  .hero--campaign .hero-image { height: clamp(264px, 72vw, 480px); margin-top: 0; }
  .hero--campaign .hero-image > img { object-position: right top; }
  .hero--campaign .hero-content {
    --hero-title-size: clamp(40px, 12vw, 66px);
    display: block;
    padding: 24px var(--gutter) 34px;
  }
  .hero--campaign .hero-kicker { font-size: 10px; margin-bottom: 16px; }
  .hero--campaign .hero-heading { column-gap: 22px; }
  .hero--campaign .hero-prefix { margin-bottom: 7px; }
  .hero--campaign .hero-last { margin-top: 7px; }
  .hero--campaign .hero-audience { font-size: clamp(14px, 3.5vw, 18px); }
  .hero--campaign .hero-facts { margin-top: 27px; max-width: 474px; gap: 24px; }
  .hero--campaign .hero-facts::after { content: none; }
  .hero--campaign .hero-fact { row-gap: 8px; min-width: 0; align-content: start; align-items: start; justify-items: start; text-align: left; }
  .hero--campaign .hero-fact-title { justify-content: flex-start; min-height: 30px; }
  .hero--campaign .hero-fact-title strong { font-size: 30px; }
  .hero--campaign .hero-fact-title > span { font-size: 12px; }
  .hero--campaign .hero-fact-caption { font-size: 12px; }
  .hero--campaign .hero-actions { margin-top: 27px; gap: 14px 24px; }
  .hero--campaign .hero-actions .button { width: 100%; min-width: 250px; min-height: 58px; }
  .hero--campaign .hero-call { width: 100%; min-height: 52px; }
}

@media (max-width: 460px) {
  .header { align-items: start; padding-top: 8px; }
  .header .brand img { width: 96px; }
  .hero--campaign .hero-actions .button { width: 100%; }
  .hero--campaign .hero-actions .text-link { margin-left: 0; }
}
@media (max-width: 360px) {
  .header { padding-top: 4px; }
  .header .brand img { width: 80px; }
  .hero--campaign .hero-heading { column-gap: 18px; }
  .hero--campaign .hero-audience { font-size: 13px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero--campaign .hero-heading,
  .hero--campaign .hero-facts,
  .hero--campaign .hero-actions { animation: hero-arrive 480ms cubic-bezier(.2,.65,.35,1) both; }
  .hero--campaign .hero-facts { animation-delay: 70ms; }
  .hero--campaign .hero-actions { animation-delay: 120ms; }
  @keyframes hero-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .hero--campaign .hero-call::before { transition: none; }
}
/* Readable supporting copy without scaling the display heading or photograph. */
.hero--campaign .hero-fact-caption { font-size: 14px; line-height: 1.5; }
.hero--campaign .hero-fact-title > span { font-size: 14px; white-space: nowrap; }
.hero--campaign .hero-actions .button { font-size: 15px; }
.hero--campaign .hero-actions .text-link { font-size: 14px; }
@media (min-width: 1101px) {
  .hero--campaign .hero-audience { font-size: 18px; }
  .hero--campaign .hero-facts { margin-top: 34px; }
  .hero--campaign .hero-actions { margin-top: 30px; }
}
@media (max-width: 1100px) {
  .hero--campaign .hero-audience { font-size: 16px; }
}
@media (max-width: 700px) {
  .hero--campaign .hero-audience { margin-bottom: 0; line-height: 1.3; transform: translateY(6px); }
}
@media (max-width: 360px) {
  /* The minimum photo height crops the left face toward the logo on small phones. */
  .hero--campaign .hero-image { margin-top: calc(55px + max(10px, env(safe-area-inset-top, 0px))); }
  .hero--campaign .hero-facts { grid-template-columns: 1fr; gap: 16px; }
  .hero--campaign .hero-fact { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; }
  .hero--campaign .hero-fact + .hero-fact { padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 16%); }
  .hero--campaign .hero-fact-title { grid-column: 1; flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero--campaign .hero-fact-caption { grid-column: 2; }
}
@media (forced-colors: active) {
  .hero--campaign .hero-outline { -webkit-text-stroke: 0; color: CanvasText; }
}

/* navigation.css */
/* Compact navigation; mobile pages keep the logo and menu together. */
html:has(.nav-dialog--directory[open]) { background: #15191b; }
.header.header--compact {
  --menu-top: 28px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 3vw, 56px);
  min-height: 104px;
  padding-block: 26px;
  background: transparent;
  pointer-events: none;
}
.header--compact .brand { pointer-events: auto; }
.header-call { display: none; }
.header--compact .menu-toggle {
  position: fixed;
  top: max(var(--menu-top), calc(env(safe-area-inset-top, 0px) + 8px));
  right: max(var(--gutter), calc(env(safe-area-inset-right, 0px) + 12px));
  z-index: 1;
  isolation: isolate;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 0;
  width: 148px;
  min-height: 52px;
  padding: 0 0 0 8px;
  flex-shrink: 0;
  pointer-events: auto;
}
.header--compact .menu-toggle::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  transform: skewX(-12deg);
  background: rgb(14 18 20 / 96%);
  border: 1px solid rgb(255 255 255 / 36%);
  box-shadow: 0 3px 14px rgb(0 0 0 / 12%);
  transition: background 180ms ease, border-color 180ms ease;
}
.header--compact .menu-toggle::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 48px;
  transform: skewX(-12deg);
  background: #e52e25;
  transition: background 180ms ease;
}
.header--compact .menu-label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  font: 500 13px/1.2 Onest, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  justify-self: center;
}
.header--compact .menu-symbol {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  width: 24px;
  height: 32px;
  padding: 0;
  justify-self: center;
  transform: none;
}
.header--compact .menu-symbol::before { content: none; }
.header--compact .menu-symbol i { display: block; height: 2px; width: 24px; background: #fff; }
.header--compact .menu-symbol i:last-child { width: 17px; background: rgb(255 255 255 / 85%); transition: width 180ms ease; }
.header--compact .menu-toggle:hover .menu-symbol i:last-child { width: 24px; }
.header--compact .menu-toggle:hover::before { background: #20282c; border-color: rgb(255 255 255 / 64%); }
.header--compact .menu-toggle:hover::after { background: #f1443b; }
.header--compact .menu-toggle:hover .menu-label { color: #fff; }
.header--compact .menu-toggle:focus-visible { outline: 2px solid #e52e25; outline-offset: 7px; }

.nav-dialog.nav-dialog--directory {
  --drawer-cut: 40px;
  width: min(960px, calc(100vw - 40px));
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0 clamp(28px, 3.8vw, 64px) 40px calc(var(--drawer-cut) + 40px);
  clip-path: polygon(var(--drawer-cut) 0, 100% 0, 100% 100%, 0 100%);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  color-scheme: dark;
  scrollbar-color: #576168 #15191b;
  border: 0;
  color: #f7f7f3;
  background: #15191b;
}
.nav-dialog--directory[open] { display: block; animation: directory-enter 240ms cubic-bezier(.2,.7,.25,1) both; }
.nav-dialog--directory::backdrop { background: rgb(0 0 0 / 38%); }
.nav-dialog--directory .nav-top {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 108px;
  padding-block: 24px;
  background: #15191b;
  border-bottom: 1px solid #363c3f;
}
.nav-brand img { width: 172px; height: auto; }
.nav-dialog--directory .nav-close {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #d5d9da;
  font-size: 12px;
}
.nav-dialog--directory .nav-close:hover { color: #fff; }
.nav-dialog--directory .nav-close img { width: 22px; height: 22px; }
.nav-directory { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; margin-top: 28px; }
.nav-dialog--directory .nav-links { display: grid; align-content: start; margin: 0; }
.nav-dialog--directory .nav-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  border-bottom: 1px solid #343b3e;
  font: 400 21px/1.3 Onest, Arial, sans-serif;
  letter-spacing: -.025em;
  text-transform: none;
  transition: color 150ms ease;
}
.nav-link-arrow { width: 20px; height: 20px; color: #7f8b90; }
.nav-dialog--directory .nav-links a:hover { color: #fff; }
.nav-dialog--directory .nav-links a:hover .nav-link-arrow,
.nav-dialog--directory .nav-links a[aria-current="page"] .nav-link-arrow { color: #f36d65; }
.nav-dialog--directory .nav-links a[aria-current="page"] { color: #f7837a; }
.nav-connect { align-self: start; }
.nav-action { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: calc(100% - 16px); min-height: 54px; margin-inline: 8px; padding: 12px 22px; border: 0; border-radius: 0; background: transparent; color: #fff; text-align: left; font: 500 16px/1.3 Onest, Arial, sans-serif; cursor: pointer; }
.nav-action::before { content: ''; position: absolute; z-index: -1; inset: 0; border: 1px solid #7d898e; transform: skewX(-12deg); transition: background 180ms ease, border-color 180ms ease; }
.nav-action > :is(img, svg) { flex: none; width: 24px; height: 24px; }
.nav-call::before { border-color: transparent; background: #c22920; }
.nav-call > img { filter: brightness(0) invert(1); }
.nav-call:hover::before, .nav-call:active::before { background: #ab251d; }
.nav-question { margin-top: 12px; }
.nav-question:hover::before, .nav-question:active::before { border-color: #c4cbce; background: rgb(255 255 255 / 5%); }
.nav-messengers { display: grid; gap: 2px; margin-top: 14px; }
.nav-message { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 44px; padding: 8px; border: 0; border-radius: 0; background: transparent; color: #f7f7f3; text-align: left; font: 400 14px/1.4 Onest, Arial, sans-serif; cursor: pointer; }
.nav-message svg { flex: none; width: 24px; height: 24px; }
.nav-message:hover { color: #ff8b83; }
.nav-message:hover span { text-decoration: underline; text-underline-offset: 4px; }
.nav-dialog--directory .nav-contact-note { margin: 12px 0 0; font-size: 11px; line-height: 1.6; color: #b7c0c3; }
.nav-equipment { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 13px; color: #b7c0c3; text-decoration: underline; text-underline-offset: 4px; }
.nav-equipment:hover { color: #fff; }
.eq-bag-icon { display: none; }
.nav-dialog--directory a:focus-visible, .nav-dialog--directory button:focus-visible { outline: 2px solid #ff8b83; outline-offset: 4px; }
@keyframes directory-enter { from { opacity: .8; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }

.hero--campaign .hero-kicker.hero-location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding-left: calc(var(--hero-title-size) * .32);
  border-left: 0;
  color: #e0e4e6;
  letter-spacing: .045em;
}
.hero-location > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hero-location > span > img { width: 14px; height: 14px; flex: 0 0 14px; opacity: .8; }
.hero-location-divider { margin-right: 4px; color: #f34a42; font-weight: 500; }

@media (max-width: 1100px) {
  .nav-dialog.nav-dialog--directory {
    --drawer-cut: 28px;
    width: min(780px, 100vw);
    padding-inline: 28px;
    clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px);
  }
}

@media (max-width: 850px) {
  .nav-dialog.nav-dialog--directory { width: min(620px, 100vw); padding-inline: 28px; }
  .nav-directory { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 12px; }
  .nav-dialog--directory .nav-links a { min-height: 54px; padding-block: 12px; font-size: 19px; }
}
@media (max-width: 1100px) {
  .header.header--compact { --menu-top: 14px; justify-content: space-between; min-height: 80px; padding-block: 14px; }
}
@media (max-width: 700px) {
  .header.header--compact { --menu-top: 12px; min-height: 72px; padding-block: 12px; }
  body .header.header--compact .menu-toggle { width: 44px; height: 44px; min-height: 44px; grid-template-columns: 1fr; padding: 0; }
  body .header.header--compact .menu-toggle::before { content: none; }
  body .header.header--compact .menu-toggle::after { width: 100%; }
  body .header.header--compact .menu-label { display: none; }
  body .header.header--compact.header--mobile-sticky {
    --header-ink: #fff;
    --header-surface: rgb(17 23 26 / 82%);
    --header-line: rgb(255 255 255 / 10%);
    isolation: isolate;
    position: fixed;
    inset: 0 0 auto;
    min-height: 64px;
    align-items: center;
    padding: max(10px, env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 10px max(var(--gutter), env(safe-area-inset-left, 0px));
    border: 0;
    background: transparent;
    gap: 12px;
    color: var(--header-ink);
  }
  body .header.header--mobile-sticky[data-on-light="true"] {
    --header-ink: #15191b;
    --header-surface: rgb(250 250 247 / 88%);
    --header-line: rgb(21 25 27 / 9%);
  }
  .header--mobile-sticky::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--header-surface);
    border-bottom: 1px solid var(--header-line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 5px 18px rgb(0 0 0 / 5%);
    opacity: 0;
    transition: opacity 180ms ease, background-color 180ms ease;
  }
  .header--mobile-sticky.is-scrolled::before { opacity: 1; }
  body .header--compact.header--mobile-sticky .brand { position: static; inset: auto; display: flex; align-items: center; min-height: 44px; }
  body .header--compact.header--mobile-sticky .brand img { width: 96px; height: auto; }
  body .header--compact.header--mobile-sticky .brand { margin-right: auto; }
  .header--mobile-sticky .header-call {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    color: var(--header-ink);
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }
  .header--mobile-sticky .header-call::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 4px 2px;
    border: 1px solid currentColor;
    transform: skewX(-12deg);
    opacity: .7;
  }
  .header--mobile-sticky .header-call svg {
    width: 22px;
    height: 22px;
    transform-origin: 50% 60%;
    animation: header-phone-ring 10s ease-in-out 3s infinite;
  }
  .header--mobile-sticky .header-call:hover::before { opacity: 1; }
  .header--mobile-sticky .header-call:active::before { background: currentColor; opacity: .12; }
  .header--mobile-sticky .header-call:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
  body .header--mobile-sticky :is(.bjj-home,.club-home,.rules-home,.eq-home) { display: none; }
  body .header.header--mobile-sticky .menu-toggle { position: relative; top: auto; right: auto; color: #fff; }
  body .header.header--mobile-sticky .menu-toggle[data-on-light="true"] { color: #15191b; }
  body .header.header--mobile-sticky .menu-symbol i { background: currentColor; }
  body .header.header--mobile-sticky .menu-toggle::after {
    inset: 4px 2px;
    width: auto;
    background: transparent;
    border: 1px solid currentColor;
    opacity: .7;
    transition: opacity 180ms ease;
  }
  body .header.header--mobile-sticky .menu-toggle:hover::after {
    background: transparent;
    opacity: 1;
  }
  body .header.header--mobile-sticky .eq-bag {
    position: relative; inset: auto; flex: none; display: grid; place-items: center;
    width: 44px; height: 44px; min-height: 44px; padding: 0; gap: 0;
    color: var(--header-ink); background: transparent;
  }
  body .header.header--mobile-sticky .eq-bag::before {
    inset: 4px 2px; background: transparent; border: 1px solid currentColor;
    transform: skewX(-12deg); opacity: .7;
  }
  body .header.header--mobile-sticky .eq-bag-label { display: none; }
  body .header.header--mobile-sticky .eq-bag-icon { display: block; width: 21px; height: 21px; }
  body .header.header--mobile-sticky .eq-bag [data-cart-count] {
    position: absolute; top: 0; right: -2px; min-width: 15px; height: 15px;
    padding: 0 3px; display: grid; place-items: center; border-radius: 50%;
    background: var(--header-ink); color: #15191b; font-size: 9px; line-height: 1;
  }
  body .header.header--mobile-sticky[data-on-light="true"] .eq-bag [data-cart-count] { color: #fff; }
  body .header.header--mobile-sticky .eq-bag [data-cart-count]:empty { display: none; }
}
@keyframes header-phone-ring {
  0%, 13%, 100% { transform: rotate(0); }
  2.5% { transform: rotate(-8deg); }
  5% { transform: rotate(8deg); }
  7.5% { transform: rotate(-4deg); }
  10% { transform: rotate(4deg); }
}
@media (max-width: 460px) {
  .header.header--compact { --menu-top: 8px; min-height: 64px; padding-block: 8px; }
  .header--compact .menu-symbol { width: 22px; height: 28px; gap: 6px; }
  .header--compact .menu-symbol i { width: 22px; }
  .header--compact .menu-symbol i:last-child { width: 16px; }
  .header--compact .menu-toggle:hover .menu-symbol i:last-child { width: 22px; }
  .nav-dialog.nav-dialog--directory { padding-inline: 22px; padding-bottom: 20px; }
  .nav-dialog--directory .nav-top { min-height: 72px; padding-block: 12px; }
  .nav-brand img { width: 132px; }
  .nav-dialog--directory .nav-links a { grid-template-columns: minmax(0, 1fr) 18px; gap: 12px; font-size: 18px; }
  .nav-dialog--directory .nav-close { gap: 8px; }
}
/* Extra sections and community links complement the compact desktop menu. */
.nav-extra-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #343b3e; }
.nav-extra-links a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; color: #c7cfd2; font-size: 14px; line-height: 1.4; }
.nav-extra-links a:hover { color: #fff; }
.nav-phone { padding-block: 3px; color: #f7f7f3; font-size: 23px; line-height: 1.4; white-space: nowrap; letter-spacing: -.025em; }
.nav-communities { margin-top: 24px; padding-top: 24px; border-top: 1px solid #343b3e; }
.nav-dialog--directory .nav-label { margin: 0 0 12px; color: #aeb7bb; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.nav-social-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav-social-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; }
.nav-social-links img { width: 22px; height: 22px; object-fit: contain; }
.nav-social-links a:hover { color: #ff8b83; }
@media (max-width: 700px) {
  .nav-extra-links, .nav-communities { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-dialog--directory[open] { animation: none; }
  .header--compact .menu-symbol i:last-child, .header--compact .menu-toggle::before, .header--compact .menu-toggle::after, .nav-dialog--directory .nav-links a { transition: none; }
  .header--mobile-sticky::before { transition: none; }
  .nav-action::before { transition: none; }
  .header--mobile-sticky .header-call svg { animation: none; }
}

/* training-stories.css */
/* One geometry for every chapter. Photo composition never sets text width. */
.training-stories {
  --scene-height: 100vh;
  --scene-height: 100svh;
  --panel-width: 38%;
  --panel-slant: clamp(24px, 2.8vw, 48px);
  --panel-inset: clamp(38px, 4vw, 76px);
  --heading-size: clamp(44px, 4.05vw, 74px);
  background: #101617;
}
.training-stage { position: relative; display: flex; flex-direction: column; }
.training-deck { position: relative; isolation: isolate; }
.training-stories .training-scene {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--panel-width);
  height: var(--scene-height); min-height: var(--scene-height);
  overflow: hidden; scroll-margin-top: 24px; color: #fff;
}
.training-stories .training-photo {
  position: absolute; inset: 0;
  width: 100%;
  height: 100%; z-index: -1;
}
.training-stories .training-photo img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.training-stories .story-technique .training-photo img { object-position: left center; }
.training-stories .story-discipline .training-photo img { object-position: left top; }
.training-stories .training-panel {
  grid-column: 2; min-width: 0;
  padding: clamp(40px, 3.8vw, 68px) var(--panel-inset);
  display: flex; flex-direction: column;
}
.training-stories .training-panel::before {
  background: rgb(16 22 23 / 88%);
  clip-path: polygon(var(--panel-slant) 0, 100% 0, 100% 100%, 0 100%);
}
.training-stories .training-heading { display: block; margin-block: auto; }
.training-stories .training-heading .eyebrow { margin-bottom: 20px; font-size: 10px; letter-spacing: .08em; }
.training-stories .training-heading h2 { font-size: var(--heading-size); line-height: 1.04; }
.training-stories .training-heading h2 em { color: inherit; white-space: normal; }
.training-stories .training-heading > p {
  max-width: 36ch; margin-top: 26px;
  font-size: clamp(15px, 1.12vw, 17px); line-height: 1.65; color: #dce1dc;
}
.training-stories .training-heading::after {
  content: ''; display: block; width: 64px; height: 5px; margin-top: 28px;
  background: var(--red); transform: skewX(-20deg);
}
.training-stories .training-caption { padding-top: 26px; font-size: 11px; line-height: 1.5; color: #b9c3c5; }
.training-stories .panel-left { grid-template-columns: var(--panel-width) minmax(0, 1fr); }
.training-stories .panel-left .training-panel { grid-column: 1; }
.training-stories .panel-left .training-panel::before {
  clip-path: polygon(0 0, calc(100% - var(--panel-slant)) 0, 100% 100%, 0 100%);
}
.training-stories .panel-left .training-photo { inset: 0; }
.training-stories .panel-left .training-photo img { object-position: right center; }
#lesson-kirill .training-photo img { object-position: center top; }
/* The expanded canvas keeps the conversation clear and fills behind the translucent panel. */
@media (min-width: 1101px) {
  .training-stories .story-rules .training-photo {
    inset: 0;
    width: 100%; height: 100%;
  }
  .training-stories .story-rules .training-photo img { object-fit: cover; object-position: right bottom; }
}
.training-stories .panel-light { color: #181a1b; }
.training-stories .panel-light .training-panel::before { background: rgb(247 247 243 / 90%); }
.training-stories .panel-light .training-heading > p { color: #293238; }
.training-stories .panel-light .training-caption { color: #525b60; }
.training-stories.is-pinned {
  --scene-height: 100vh;
  --scene-height: 100svh;
  height: var(--story-height);
  overflow-anchor: none;
}
.is-pinned .training-stage { position: sticky; top: var(--sticky-top); }
.is-pinned .training-deck { display: grid; overflow: clip; }
/* Only the outgoing and incoming scene are painted. No zoom, blur or scroll loop. */
.training-stories.is-pinned .training-scene {
  --panel-enter: 72px;
  --scene-ease: cubic-bezier(.22, .68, .18, 1);
  grid-area: 1 / 1; background: transparent;
  visibility: hidden; pointer-events: none; z-index: 0;
}
.training-stories.is-pinned .panel-left { --panel-enter: -72px; }
.training-stories.is-pinned .training-scene.is-leaving { z-index: 1; visibility: visible; }
.training-stories.is-pinned .training-scene.is-active { z-index: 2; visibility: visible; pointer-events: auto; }
.is-pinned .training-photo { opacity: 0; }
.is-pinned .is-active .training-photo { opacity: 1; transition: opacity 720ms ease; }
/* Keep the old photo underneath the dissolve to avoid a dark flash halfway. */
.is-pinned .is-leaving .training-photo { opacity: 1; }
.is-pinned .training-panel {
  opacity: 0; transform: translate3d(var(--panel-enter), 0, 0);
  transition: opacity 240ms ease, transform 480ms var(--scene-ease);
}
.is-pinned .is-active .training-panel {
  opacity: 1; transform: translate3d(0, 0, 0);
  transition: opacity 520ms ease 80ms, transform 760ms var(--scene-ease) 40ms;
}
.training-title-line { display: block; }
/* Native stacking: the next entire screen rises over the stationary previous one. */
.training-stories.is-stacked { overflow-anchor: none; }
.training-stories.is-stacked .training-stage { display: block; position: relative; }
/* Content, rather than bottom padding, extends the last sticky scene's range. */
.training-stories.is-stacked .training-deck::after {
  content: ''; display: block; height: var(--training-end-hold);
}
.training-stories.is-stacked .training-scene {
  position: sticky; top: 0; z-index: var(--stack-index);
  margin-bottom: var(--training-hold); scroll-margin-top: 0;
}
.training-stories.is-stacked .training-scene:last-child { margin-bottom: 0; }
.is-pinned .training-heading .eyebrow,
.is-pinned .training-title-line,
.is-pinned .training-heading > p {
  opacity: 0; transform: translate3d(0, 18px, 0);
  transition: opacity 180ms ease, transform 240ms ease;
}
.is-pinned .is-active .training-heading .eyebrow,
.is-pinned .is-active .training-title-line,
.is-pinned .is-active .training-heading > p {
  opacity: 1; transform: translate3d(0, 0, 0);
  transition: opacity 520ms ease, transform 640ms var(--scene-ease);
  transition-delay: var(--text-delay, 160ms);
}
.is-pinned .training-heading > p { --text-delay: 300ms; }
.is-pinned .training-heading::after {
  opacity: 0; transform: skewX(-20deg) scaleX(.3); transform-origin: left;
  transition: opacity 200ms ease, transform 200ms ease;
}
.is-pinned .is-active .training-heading::after {
  opacity: 1; transform: skewX(-20deg) scaleX(1);
  transition: opacity 500ms ease 360ms, transform 620ms var(--scene-ease) 300ms;
}
/* Measurement / preference changes must not replay the entrance. */
.training-stories.is-measuring *, .training-stories.is-measuring *::after { transition: none !important; }
@media (min-width: 1101px) {
  .training-stories.is-flowing .training-scene { height: auto; min-height: var(--scene-height); }
}
@media (max-width: 1100px) {
  #o-shkole { scroll-margin-top: 76px; }
  .training-stories .training-scene { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .training-stories .training-photo { position: relative; inset: auto; width: 100%; height: auto; z-index: auto; aspect-ratio: 4 / 3; }
  .training-stories .training-photo img { position: absolute; inset: 0; object-fit: cover; object-position: center; }
  .training-stories .story-rules .training-photo img { object-position: center top; }
  #lesson-kirill .training-photo img { object-position: 60% top; }
  .training-stories .story-support .training-photo img { object-position: left center; }
  .training-stories .training-panel { position: relative; z-index: 1; margin-top: 0; padding: 38px var(--gutter) 30px; min-height: 340px; background: rgb(16 22 23 / 95%); }
  .training-stories .training-panel::before { display: none; }
  .training-stories .panel-light .training-panel { background: rgb(247 247 243 / 95%); }
  .training-stories .training-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; align-items: start; margin-block: 0; }
  .training-stories .training-heading h2 { font-size: clamp(48px, 6vw, 66px); }
  .training-stories .training-heading > p { max-width: none; margin-top: 36px; font-size: 16px; }
  .training-stories .training-heading::after { grid-column: 1 / -1; margin-top: 24px; }
}
@media (max-width: 700px) {
  .training-stories .training-panel { min-height: 380px; padding: 28px var(--gutter); }
  .training-stories .training-heading { display: block; }
  .training-stories .training-heading .eyebrow { margin-bottom: 18px; }
  .training-stories .training-heading h2 { font-size: clamp(44px, 11.5vw, 62px); }
  .training-stories .training-heading > p { margin-top: 22px; font-size: 15px; line-height: 1.6; }
  .training-stories .training-heading::after { margin-top: 24px; }
  .training-stories .training-caption { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .training-stories .training-scene { transition: none; transform: none; }
}
/* Stable mobile compositions stay in flow as browser chrome opens and closes. */
@media (max-width: 899px) {
  .training-stories { --scene-height: 100svh; }
  .training-stories .training-scene {
    min-height: var(--scene-height);
    overflow: visible;
  }
  .training-stories .training-photo {
    flex: 0 0 auto;
    height: min(75vw, 38svh);
    aspect-ratio: auto;
  }
  .training-stories .training-panel {
    flex: 1 0 auto;
    min-height: 0;
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  }
  .training-stories .training-title-line { overflow-wrap: anywhere; }
}

/* arrival.css */
/* FAQ: the site's left-aligned typography, with a softly fading reading window. */
.arrival-faq { --faq-paper:#eeefeb; --faq-window:640px; --faq-fade:112px; display:block; position:relative; padding:88px var(--gutter) 96px; background:var(--faq-paper); scroll-margin-top:-24px; overflow-anchor:none; }
.arrival-faq > div.faq-layout { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:clamp(64px,7.8vw,144px); align-items:center; max-width:1760px; margin-inline:auto; }
.arrival-faq .faq-intro { min-width:0; max-width:none; text-align:left; padding:24px 0 64px; }
.arrival-faq h2 { font-size:clamp(64px,6vw,100px); line-height:1.06; letter-spacing:-.015em; text-align:left; }
.arrival-faq h2 > span,.arrival-faq h2 em { display:block; }
.arrival-faq h2 em { color:transparent; -webkit-text-stroke:1px #262d30; }
.arrival-faq .faq-title-break { display:none; }
.arrival-faq .faq-contact { margin:44px 0 0; text-align:left; }
.arrival-faq .faq-contact-mobile { display:none; }
.arrival-faq .faq-contact p { margin:0 0 18px; color:#586165; font-size:16px; }
.arrival-faq .faq-messengers { display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:390px; border-bottom:1px solid #b5beba; }
.arrival-faq .faq-messenger { display:inline-flex; align-items:center; gap:9px; min-height:66px; padding:12px 0 18px; font-size:15px; font-weight:500; color:#263034; white-space:nowrap; transition:color .2s; }
.arrival-faq .faq-messenger-symbol { display:grid; place-items:center; flex:none; }
.arrival-faq .faq-messenger img { width:27px; height:27px; object-fit:contain; filter:brightness(0); opacity:.85; transition:transform .2s; }
.arrival-faq .faq-messenger[href]:hover { color:#a92520; }
.arrival-faq .faq-messenger[href]:hover img { transform:translateY(-2px); }
.arrival-faq .faq-messenger[aria-disabled="true"] { cursor:default; }
.arrival-faq .faq-contact-phone { font-size:20px; }
.arrival-faq .faq-browser { min-width:0; }
.arrival-faq .faq-list { display:block; min-width:0; border:0; }
.arrival-faq .faq-list details { position:relative; border:0; border-bottom:1px solid #bdc5c2; padding:0; background:transparent; }
.arrival-faq .faq-list summary { display:grid; grid-template-columns:24px minmax(0,1fr) 26px; align-items:center; gap:20px; min-height:100px; padding:30px 12px 30px 0; color:#222a2d; font-size:22px; line-height:1.4; font-weight:500; }
.arrival-faq .faq-list summary .faq-number { align-self:start; padding-top:7px; color:#637076; font-size:12px; font-weight:400; line-height:1.4; transform:none; }
.arrival-faq .faq-list summary .faq-question { min-width:0; font:inherit; line-height:inherit; transform:none; }
.arrival-faq .faq-list summary .faq-toggle { display:grid; place-items:center; width:26px; height:26px; color:#637076; transform:none; }
.arrival-faq .faq-toggle svg { width:20px; height:20px; }
.arrival-faq .faq-toggle-vertical { transform-origin:12px 12px; transition:transform .22s; }
.arrival-faq details[open] .faq-toggle-vertical { transform:scaleY(0); }
.arrival-faq .faq-list details[open] .faq-number,.arrival-faq .faq-list details[open] .faq-toggle { color:#b42a23; }
.arrival-faq .faq-list summary:hover { color:#a92520; }
.arrival-faq .faq-answer { padding:0 46px 34px 44px; }
.arrival-faq .faq-answer p { margin:0; color:#505c61; font-size:16px; line-height:1.75; max-width:44ch; }
.arrival-faq details[open] .faq-answer { animation:faq-answer-enter .24s ease-out; }
@keyframes faq-answer-enter { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
.arrival-faq.is-scrollable .faq-list { height:var(--faq-window); overflow-y:auto; overflow-x:hidden; overflow-anchor:none; overscroll-behavior-y:auto; scrollbar-width:none; padding-block:var(--faq-fade); scroll-padding-block:var(--faq-fade); mask-image:linear-gradient(to bottom,transparent,#000 var(--faq-fade),#000 calc(100% - var(--faq-fade)),transparent); -webkit-mask-image:linear-gradient(to bottom,transparent,#000 var(--faq-fade),#000 calc(100% - var(--faq-fade)),transparent); }
.arrival-faq.is-scrollable .faq-list::-webkit-scrollbar { display:none; }
.arrival-faq .faq-controls { display:flex; align-items:center; justify-content:flex-start; gap:32px; margin-top:12px; min-height:48px; padding-right:7px; }
@media(max-width:1099px) {
 .arrival-faq .faq-browser,.arrival-faq .faq-contact-mobile { padding-right:50px; }
}
@media(min-width:1100px) {
 .arrival-faq:not(.is-pinned) .faq-browser { padding-right:max(0px,calc(224px - var(--gutter))); }
}
.arrival-faq .faq-expand { min-height:44px; padding:8px 0; border:0; background:none; font-size:13px; line-height:1.4; color:#536167; text-align:left; text-decoration:underline; text-decoration-color:#a1acab; text-underline-offset:5px; }
.arrival-faq .faq-expand:hover { color:#222a2d; text-decoration-color:currentColor; }
.arrival-faq .faq-scroll-buttons { display:flex; gap:8px; }
.arrival-faq .faq-scroll-button { position:relative; isolation:isolate; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:none; color:#263238; transition:color .2s; }
.arrival-faq .faq-scroll-button svg { width:19px; height:19px; }
.arrival-faq .faq-scroll-button:hover:not(:disabled) { color:#a92520; }
.arrival-faq .faq-scroll-button:disabled { color:#a6b0b2; cursor:default; }
.arrival-faq summary:focus-visible,.arrival-faq button:focus-visible,.arrival-faq a:focus-visible { outline:2px solid #a92520; outline-offset:5px; }
.arrival-faq .faq-list summary:focus-visible { outline-offset:-4px; }
.arrival-faq .faq-list:focus-visible { outline:2px solid #a92520; outline-offset:8px; }
.arrival-faq.is-expanded .faq-list { height:auto; overflow:visible; padding-block:0; mask-image:none; -webkit-mask-image:none; }
.arrival-faq.is-expanded .faq-scroll-buttons { display:none; }
.arrival-faq.is-expanded .faq-intro { align-self:start; padding-top:100px; }
.arrival-faq.is-pinned { height:var(--faq-height); padding-block:0; }
.arrival-faq.is-pinned > div.faq-layout { position:sticky; top:0; height:100svh; min-height:0; grid-template-rows:minmax(0,1fr); padding-block:clamp(40px,6svh,72px); }
.arrival-faq.is-pinned .faq-browser { display:flex; flex-direction:column; height:100%; min-height:0; }
.arrival-faq.is-pinned .faq-list { flex:1; height:0; min-height:0; overflow-y:hidden; --faq-fade:clamp(64px,10svh,112px); }
.arrival-faq.is-pinned .faq-controls { flex:none; }
.arrival-faq.is-pinned .faq-intro { padding:0 0 32px; }
@media (min-width:1000px) and (max-height:800px) {
 .arrival-faq { --faq-window:560px; --faq-fade:88px; padding-block:64px; }
 .arrival-faq h2 { font-size:clamp(60px,5.8vw,86px); }
 .arrival-faq .faq-list summary { min-height:92px; padding-block:26px; font-size:20px; }
 .arrival-faq .faq-answer p { font-size:16px; line-height:1.65; }
}
@media (min-width:1000px) and (max-width:1200px) {
 .arrival-faq > div.faq-layout { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:56px; }
 .arrival-faq .faq-title-break { display:block; }
 .arrival-faq h2 { font-size:72px; }
 .arrival-faq .faq-list summary { font-size:19px; gap:14px; }
 .arrival-faq .faq-answer { padding-inline:38px 32px; }
}
@media (max-width:999px) {
 .arrival-faq { --faq-window:600px; --faq-fade:88px; padding-block:72px 80px; }
 .arrival-faq > div.faq-layout { grid-template-columns:1fr; gap:40px; max-width:740px; }
 .arrival-faq .faq-intro,.arrival-faq.is-expanded .faq-intro { padding:0; }
 .arrival-faq h2 { font-size:clamp(54px,8.3vw,78px); }
 .arrival-faq .faq-contact { margin:0; }
 .arrival-faq .faq-contact-desktop { display:none; }
 .arrival-faq .faq-contact-mobile { display:block; }
 .arrival-faq .faq-contact p { margin-bottom:16px; }
 .arrival-faq .faq-list summary { font-size:21px; }
}
@media (max-width:600px) {
 .arrival-faq { --faq-window:clamp(500px,70svh,580px); --faq-fade:56px; padding-block:56px 64px; }
 .arrival-faq > div.faq-layout { gap:32px; }
 .arrival-faq h2 { font-size:clamp(38px,11.6vw,66px); }
 .arrival-faq .faq-contact p { font-size:14px; }
 .arrival-faq .faq-messengers { gap:14px; max-width:360px; }
 .arrival-faq .faq-messenger { gap:7px; min-height:56px; font-size:12px; padding:8px 0 14px; }
 .arrival-faq .faq-messenger img { width:22px; height:22px; }
 .arrival-faq .faq-list summary { grid-template-columns:20px minmax(0,1fr) 22px; min-height:94px; gap:12px; padding:26px 4px 26px 0; font-size:18px; }
 .arrival-faq .faq-list summary .faq-number { padding-top:5px; font-size:11px; }
 .arrival-faq .faq-list summary .faq-toggle { width:22px; height:22px; }
 .arrival-faq .faq-toggle svg { width:18px; height:18px; }
 .arrival-faq .faq-answer { padding:0 20px 28px 32px; }
 .arrival-faq .faq-answer p { font-size:15px; line-height:1.7; }
 .arrival-faq .faq-controls { gap:16px; margin-top:8px; }
 .arrival-faq .faq-scroll-buttons { gap:8px; }
 .arrival-faq .faq-expand { font-size:12px; }
}
@media (min-width:700px) and (max-width:999px) {
 .arrival-faq.is-pinned > div.faq-layout { grid-template-rows:auto minmax(0,1fr); gap:24px; padding-block:32px; }
 .arrival-faq.is-pinned .faq-intro { display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:center; padding:0; }
 .arrival-faq.is-pinned h2 { font-size:clamp(42px,6vw,56px); }
 .arrival-faq.is-pinned .faq-title-break { display:block; }
 .arrival-faq.is-pinned .faq-contact-desktop { display:block; margin:0; }
 .arrival-faq.is-pinned .faq-contact-mobile { display:none; }
 .arrival-faq.is-pinned .faq-contact p { font-size:13px; margin-bottom:8px; }
 .arrival-faq.is-pinned .faq-messengers { gap:12px; }
 .arrival-faq.is-pinned .faq-messenger { font-size:12px; gap:7px; min-height:54px; padding-bottom:14px; }
 .arrival-faq.is-pinned .faq-messenger img { width:22px; height:22px; }
 .arrival-faq.is-pinned .faq-list { --faq-fade:64px; }
}
.faq-mobile-hint { display:none; }
@media (max-width:700px) {
 .arrival-faq .faq-browser,.arrival-faq .faq-contact-mobile { padding-right:0; }
 .arrival-faq .faq-browser { scroll-margin-top:80px; }
 .arrival-faq .faq-mobile-hint { display:block; margin:0 0 12px; color:#566168; font-size:12px; line-height:1.5; }
 .arrival-faq.is-mobile-compact .faq-list { height:auto; overflow:visible; padding:0; mask-image:none; -webkit-mask-image:none; }
 .arrival-faq .faq-list details[hidden] { display:none; }
 .arrival-faq .faq-list summary { grid-template-columns:minmax(0,1fr) 24px; min-height:70px; padding:18px 0; gap:16px; font-size:17px; }
 .arrival-faq .faq-list summary .faq-number { display:none; }
 .arrival-faq .faq-list summary .faq-toggle { width:24px; height:24px; color:#a92520; }
 .arrival-faq .faq-answer { padding:0 32px 22px 0; }
 .arrival-faq .faq-answer p { font-size:14px; line-height:1.65; }
 .arrival-faq .faq-scroll-buttons { display:none; }
 .arrival-faq .faq-controls { padding:0; margin-top:18px; }
 .arrival-faq .faq-expand { width:100%; min-height:48px; border:1px solid #9ba4a7; padding:12px 16px; text-decoration:none; text-align:center; font-size:13px; color:#293438; }
 .arrival-faq .faq-contact-mobile > p { display:none; }
 .arrival-faq .faq-contact-mobile .contact-direct > p { display:none; }
 .arrival-faq .faq-contact-mobile .contact-direct { margin-top:12px; }
 .arrival-faq .faq-contact-mobile .contact-channels { gap:4px 18px; }
 .arrival-faq .faq-contact-mobile .contact-channel { min-height:44px; }
}
@media (prefers-reduced-motion:reduce) {
 .arrival-faq *,.arrival-faq *::before { animation:none!important; transition:none!important; }
}

/* journey.css */
/* One quiet anchor on the left, one chapter at a time on the right. */
.journey { position:relative; color:#f5f5f3; background:#111517; scroll-margin-top:-24px; }
.journey-stage { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:clamp(64px,7.8vw,144px); align-items:center; min-height:760px; max-width:1760px; margin-inline:auto; padding:56px var(--gutter); }
.journey-stage::before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(ellipse at 77% 43%,#2a32354d,transparent 52%); }
.journey-lead { align-self:start; padding-block:24px; }
.journey h3 { font-family:Tall,Impact,sans-serif; font-size:clamp(64px,6.4vw,104px); font-weight:700; font-style:italic; line-height:1.02; letter-spacing:-.015em; text-transform:uppercase; }
.journey h3 em { color:transparent; -webkit-text-stroke:1px #d5d7d7; }
.journey-offer { margin:36px 0 0; font-size:19px; line-height:1.6; color:#bfc5c7; }
.journey-offer strong { font-weight:500; color:#f5f5f3; }
.journey-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px 20px; margin:30px 7px 0; }
.journey-cta { position:relative; isolation:isolate; display:inline-flex; align-items:center; justify-content:space-between; gap:24px; border:0; background:none; color:#fff; padding:0 24px; margin:0; min-height:64px; min-width:284px; font-size:15px; font-weight:500; }
.journey-cta::before { content:''; position:absolute; inset:0; z-index:-1; background:#cf2921; transform:skewX(-12deg); transition:background .2s; }
.journey-cta svg { width:24px; transition:transform .2s; }
.journey-cta:hover::before { background:#b9221a; }
.journey-cta:hover svg { transform:translateX(4px); }
.journey-skip { position:relative; isolation:isolate; display:inline-flex; align-items:center; justify-content:space-between; gap:14px; min-height:64px; min-width:180px; padding:0 20px; font-size:14px; color:#d8dee0; }
.journey-skip::before { content:''; position:absolute; inset:0; z-index:-1; border:1px solid #69767d; transform:skewX(-12deg); transition:border-color .2s,background .2s; }
.journey-skip svg { width:20px; height:20px; transition:transform .2s; }
.journey-skip:hover { color:#fff; }
.journey-skip:hover::before { border-color:#c4cbce; background:#ffffff08; }
.journey-skip:hover svg { transform:translateX(4px); }
.journey-view { min-width:0; max-width:620px; width:100%; justify-self:end; }
.journey-mobile-hint { display:none; margin:0 0 16px; font-size:12px; line-height:1.5; color:#aeb7ba; }
.journey-nav { display:none; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:0 0 30px; }
.journey-nav button { position:relative; isolation:isolate; display:flex; align-items:baseline; gap:10px; min-height:50px; padding:8px 0 18px; border:0; border-bottom:1px solid #4b5458; background:none; color:#a4aeb2; text-align:left; transition:color .24s ease; }
.journey-nav button > span:first-child { font-family:Tall,Impact,sans-serif; font-size:28px; font-style:italic; line-height:1; }
.journey-nav button > span:last-child { font-size:12px; }
.journey-nav button::before { content:''; position:absolute; inset:-28px -12px -1px; z-index:-1; pointer-events:none; background:radial-gradient(ellipse 50% 100% at 50% 100%,#e52e2536,transparent 100%); opacity:0; transition:opacity .35s ease; }
.journey-nav button::after { content:''; position:absolute; height:2px; bottom:-1px; left:0; width:100%; background:#ed574e; transform:scaleX(0); transform-origin:left; transition:transform .35s ease; }
.journey-nav button[aria-pressed="true"] { color:#fff; }
.journey-nav button[aria-pressed="true"]::before { opacity:1; }
.journey-nav button[aria-pressed="true"]::after { transform:scaleX(1); }
.journey-nav button[aria-pressed="true"] > span:first-child { color:#ff8b80; }
.journey-nav button:hover { color:#fff; }
.journey-status { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.journey-slide + .journey-slide { margin-top:72px; }
.journey-slide { display:flex; flex-direction:column; align-items:center; gap:26px; min-width:0; }
.journey-visual { position:relative; isolation:isolate; display:grid; place-items:center; height:300px; width:100%; }
.journey-visual::after { content:''; position:absolute; z-index:-1; width:260px; height:44px; bottom:0; left:50%; transform:translateX(-50%); background:radial-gradient(ellipse,#030506b3,transparent 68%); }
.journey-visual img { width:320px; height:320px; object-fit:contain; max-width:100%; }
.journey-visual img[src$="volume-parent-dialogue.webp"] { transform:translateY(3%) scale(1.08); }
.journey-visual img[src$="volume-schedule.webp"] { transform:translateY(3%); }
.journey-copy { width:100%; max-width:470px; }
.journey-copy h4 { font-size:clamp(30px,2.7vw,42px); font-weight:500; line-height:1.17; letter-spacing:-.04em; }
.journey-copy > p { margin:20px 0 0; color:#bec6c9; font-size:17px; line-height:1.7; max-width:40ch; }
.journey-pack { display:flex; flex-wrap:wrap; gap:10px 22px; list-style:none; margin:20px 0 0; padding:16px 0 0; border-top:1px solid #434e53; color:#e1e5e6; }
.journey-pack li { position:relative; padding-left:16px; font-size:12px; line-height:1.6; }
.journey-pack li::before { content:''; position:absolute; left:1px; top:5px; width:4px; height:7px; border-right:1.5px solid #f4786e; border-bottom:1.5px solid #f4786e; transform:rotate(45deg); }
.journey-cta:focus-visible,.journey-nav button:focus-visible,.journey-skip:focus-visible { outline:2px solid #fff; outline-offset:6px; }
/* Progressive enhancement: no JS leaves every chapter readable. */
.journey.is-enhanced .journey-lead { align-self:center; }
.journey.is-enhanced .journey-nav { display:grid; }
.journey.is-enhanced .journey-slides { display:grid; }
.journey.is-enhanced .journey-slide { grid-area:1 / 1; margin:0; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(18px); transition:opacity .32s ease,transform .45s cubic-bezier(.2,.7,.2,1),visibility 0s; }
.journey.is-enhanced .journey-slide.is-active { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); }
.journey.is-pinned { height:var(--journey-height); }
.journey.is-pinned .journey-stage { position:sticky; top:0; height:100svh; }
@media (min-width:1000px) and (max-height:800px) {
 .journey-stage { min-height:700px; padding-block:40px; gap:7vw; }
 .journey h3 { font-size:clamp(60px,5.8vw,86px); }
 .journey-offer { margin-top:28px; font-size:17px; }
 .journey-actions { margin-top:24px; }
 .journey-cta,.journey-skip { min-height:60px; }
 .journey-visual { height:230px; }
 .journey-visual img { width:260px; height:260px; }
 .journey-slide { gap:22px; }
 .journey-copy h4 { font-size:32px; }
 .journey-copy > p { font-size:16px; line-height:1.6; margin-top:16px; }
}
@media (min-width:1000px) and (max-width:1200px) {
 .journey-stage { gap:56px; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
 .journey h3 { font-size:62px; }
 .journey-actions { column-gap:18px; }
 .journey-cta { min-width:0; padding-inline:18px; gap:16px; font-size:14px; }
 .journey-skip { min-width:0; padding-inline:16px; gap:12px; font-size:13px; }
 .journey-nav { gap:12px; }
 .journey-nav button { flex-direction:column; gap:10px; }
}
@media (max-width:999px) {
 .journey-stage { display:block; min-height:0; padding-block:64px; }
 .journey-lead { display:grid; grid-template-columns:1fr 1fr; gap:0 36px; padding:0; align-items:start; }
 .journey h3 { grid-row:1 / 3; font-size:clamp(52px,7vw,70px); }
 .journey-offer { margin:0; font-size:16px; }
 .journey-actions { margin-top:20px; }
 .journey-cta,.journey-skip { min-width:0; padding-inline:20px; min-height:58px; font-size:13px; gap:18px; }
 .journey-view { margin:64px auto 0; max-width:560px; }
 .journey.is-enhanced .journey-mobile-hint { display:block; }
 .journey-nav { gap:20px; }
 .journey-visual { height:260px; }
 .journey-visual img { width:280px; height:280px; }
 .journey-copy h4 { font-size:34px; }
 .journey-copy > p { font-size:16px; }
}
@media (max-width:600px) {
 .journey-stage { padding-block:48px 64px; }
 .journey-lead { display:block; }
 .journey h3 { font-size:clamp(44px,12.4vw,70px); }
 .journey-offer { margin-top:24px; font-size:15px; }
 .journey-offer br { display:none; }
 .journey-actions { margin-top:22px; }
 .journey-cta,.journey-skip { min-height:56px; width:100%; font-size:14px; }
 .journey-view { margin-top:42px; }
 .journey-nav { grid-template-columns:.85fr .9fr 1.25fr 1fr; gap:10px; margin-bottom:24px; }
 .journey-nav button { flex-direction:column; gap:10px; padding-bottom:14px; min-height:65px; }
 .journey-nav button > span:first-child { font-size:26px; }
 .journey-visual { height:205px; }
 .journey-visual img { width:224px; height:224px; }
 .journey-visual::after { width:210px; }
 .journey-slide { gap:24px; }
 .journey-copy h4 { font-size:30px; }
 .journey-copy > p { font-size:15px; line-height:1.65; margin-top:16px; }
 .journey-pack { gap:8px 18px; }
}
@media (prefers-reduced-motion:reduce) {
 .journey *, .journey *::before, .journey *::after { animation:none!important; transition:none!important; }
 .journey.is-enhanced .journey-slide { transform:none; }
}
@media (max-width:700px) {
 .journey-nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .journey-nav button { flex-direction:row; align-items:center; justify-content:flex-start; gap:12px; min-height:60px; padding:12px; border:1px solid #667278; background:rgb(255 255 255 / 3%); color:#e2e6e8; }
 .journey-nav button > span:first-child { font-size:25px; }
 .journey-nav button > span:last-child { font-size:12px; }
 .journey-nav button::before { inset:0; background:rgb(229 46 37 / 8%); }
 .journey-nav button::after { content:none; }
 .journey-nav button[aria-pressed="true"] { border-color:#f4776d; background:rgb(229 46 37 / 8%); }
 .journey-nav button:active { transform:translateY(1px); }
 .journey-mobile-hint { color:#c4cdd0; }
}

/* coaches.css */
/* H04 · complete editorial photographs, one session, native page scroll. */
.coach-story {
  --coach-ink: #101112;
  --coach-muted: #c0c1c0;
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--coach-ink);
  scroll-margin-top: 0;
}
.coach-stage { position: relative; }
.coach-heading { position: relative; z-index: 3; padding: 48px var(--gutter) 42px; }
.coach-heading h2 { font-size: clamp(54px, 5.2vw, 82px); }
.coach-heading h2 span { color: transparent; -webkit-text-stroke: 1px #fff; }
.coach-heading > p { max-width: 480px; margin: 16px 0 0; color: var(--coach-muted); font-size: 14px; line-height: 1.65; text-wrap: pretty; }
.coach-heading > p br { display: none; }
.coach-scenes { position: relative; }
.coach-scene {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 57vw, 860px);
  overflow: hidden;
  background: var(--coach-ink);
  scroll-margin-top: 24px;
}
.coach-scene + .coach-scene { border-top: 1px solid rgb(255 255 255 / 12%); }
.coach-portrait { position: absolute; z-index: -2; inset: 0; margin: 0; }
.coach-portrait picture, .coach-portrait img { display: block; width: 100%; height: 100%; }
.coach-portrait img { object-fit: cover; object-position: 50% top; }
.coach-scene::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(9 10 11 / 73%) 0%, rgb(9 10 11 / 51%) 34%, rgb(9 10 11 / 8%) 57%, transparent 72%), linear-gradient(0deg, rgb(9 10 11 / 46%), transparent 24%);
}
.coach-copy { position: relative; z-index: 1; width: 47%; padding: 66px 0 72px var(--gutter); }
.coach-field { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 500; letter-spacing: .045em; line-height: 1.5; text-transform: uppercase; }
.coach-field::before { content: ''; width: 26px; height: 2px; flex: 0 0 auto; background: var(--red); }
.coach-copy h3 { margin-top: 24px; font: italic 700 clamp(64px, 7.3vw, 116px)/.99 Tall, Impact, sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.coach-copy h3 span { display: block; }
.coach-copy .coach-given-name { color: var(--red); }
.coach-position { max-width: 355px; margin-top: 28px; font-size: 16px; font-weight: 500; line-height: 1.5; }
.coach-detail { max-width: 360px; margin-top: 14px; color: var(--coach-muted); font-size: 14px; line-height: 1.65; }
.coach-access { display: none; position: absolute; left: var(--gutter); top: 20px; z-index: 10; min-height: 44px; padding: 10px 16px; color: #fff; background: #141617; border: 1px solid #fff; font-size: 13px; }
.coach-story.is-scroll-story .coach-access { display: block; clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; }
.coach-story.is-scroll-story .coach-access:focus-visible { clip-path: none; width: auto; height: auto; padding: 10px 16px; overflow: visible; }

@media (min-width: 900px) and (min-height: 680px) and (prefers-reduced-motion: no-preference) {
  .coach-story.is-scroll-story { height: calc(100svh + var(--coach-scroll-length, 310vh)); }
  .is-scroll-story .coach-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
  .is-scroll-story .coach-heading { position: absolute; top: 0; left: 0; width: 48%; padding-top: clamp(30px, 4.4vh, 52px); padding-bottom: 0; }
  .is-scroll-story .coach-heading h2 { font-size: clamp(52px, 4.5vw, 74px); }
  .is-scroll-story .coach-scenes { position: absolute; inset: 0; }
  .is-scroll-story .coach-scene { position: absolute; inset: 0; align-items: flex-end; min-height: 0; border: 0; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 350ms ease, visibility 350ms; }
  .is-scroll-story .coach-scene.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
  /* Keep the section heading on the site rhythm; give the biography its own
     lower starting line, shared by all five coaches. */
  .is-scroll-story .coach-copy { position: absolute; top: max(calc(var(--section-heading-inset, 72px) + 188px), 32svh); padding-top: 0; padding-bottom: 0; transform: translateY(10px); transition: transform 400ms cubic-bezier(.2,.65,.3,1); }
  .is-scroll-story .coach-scene.is-active .coach-copy { transform: translateY(0); }
}
@media (min-width: 900px) and (max-height: 800px) {
  .is-scroll-story .coach-heading h2 { font-size: 52px; }
  .is-scroll-story .coach-copy h3 { margin-top: 18px; font-size: clamp(64px, 6.4vw, 92px); }
  .is-scroll-story .coach-position { margin-top: 22px; font-size: 15px; }
  .is-scroll-story .coach-detail { margin-top: 12px; font-size: 13px; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .coach-copy { width: 49%; }
  .coach-portrait img { object-position: right top; }
  .coach-field { font-size: 10px; letter-spacing: .02em; gap: 9px; }
  .coach-position, .coach-detail { max-width: 300px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .coach-heading { padding-block: 42px 36px; }
  .coach-heading h2 { font-size: 60px; }
  .coach-scene { min-height: 620px; }
  .coach-copy { width: 51%; padding-block: 62px; }
  .coach-copy h3 { font-size: clamp(52px, 8vw, 70px); }
  .coach-field { font-size: 10px; gap: 8px; }
  .coach-position { max-width: 300px; margin-top: 24px; font-size: 15px; }
  .coach-detail { max-width: 300px; font-size: 13px; }
  .coach-portrait img { object-position: 56% top; }
}
@media (max-width: 599px) {
  .coach-heading { padding-block: 42px 30px; }
  .coach-heading h2 { font-size: clamp(52px, 14vw, 64px); }
  .coach-heading > p { margin-top: 12px; font-size: 13px; }
  .coach-scene { display: flex; flex-direction: column; align-items: stretch; min-height: 0; overflow: hidden; }
  .coach-scene + .coach-scene { border-top: 0; }
  .coach-scene::after { content: none; }
  .coach-portrait { position: relative; z-index: 0; order: -1; width: 100%; aspect-ratio: 4 / 5; }
  .coach-portrait img { object-position: 50% top; }
  .coach-portrait::after { content: none; }
  .coach-copy { width: 100%; margin-top: 0; padding: 24px var(--gutter) 50px; }
  .coach-field { font-size: 10px; letter-spacing: .025em; gap: 10px; }
  .coach-copy h3 { margin-top: 18px; font-size: clamp(48px, 16vw, 82px); line-height: 1; }
  .coach-copy h3 span { display: inline; }
  .coach-copy h3 span + span::before { content: ' '; }
  .coach-position { max-width: 335px; margin-top: 20px; font-size: 15px; }
  .coach-detail { max-width: 350px; margin-top: 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .coach-story *, .coach-story *::before, .coach-story *::after { animation: none !important; transition: none !important; }
}



/* H04: one full-width photographic plate, separate people and original emblem.
   The source portrait rectangle is absent from the DOM; there are no side fades. */
.coach-scene {
 --coach-scene-shift: 5vw;
 background: linear-gradient(90deg, rgb(16 17 18 / 36%), transparent 52%), url('assets/coach-studio-wide-20261105-r10.webp') center / cover no-repeat;
}
.coach-scene::after { content: none; }
.coach-portrait, .is-scroll-story .coach-portrait { inset: 0; width: auto; max-width: none; z-index: 0; }
.coach-portrait .coach-foreground { position: absolute; inset: 0 calc(8% + var(--coach-scene-shift)) 0 auto; width: auto; height: 100%; aspect-ratio: 2 / 3; z-index: 2; pointer-events: none; }
.coach-portrait picture img, .is-scroll-story .coach-portrait picture img { object-fit: contain; object-position: center; mask-image: none; }
/* Atmosphere stays behind the cutout: a faint side-lit veil and an offset
   silhouette shadow. The photograph itself keeps its original exposure. */
.coach-foreground::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 7% -15% -2%;
  background:
    radial-gradient(ellipse 30% 41% at 27% 48%, rgb(185 196 203 / 13%), rgb(153 165 176 / 5%) 53%, transparent 82%),
    radial-gradient(ellipse 38% 19% at 62% 85%, rgb(146 158 168 / 10%), transparent 78%);
  pointer-events: none;
}
.coach-portrait .coach-foreground img {
  filter: drop-shadow(22px 15px 20px rgb(0 0 0 / 38%));
}
@media (max-width: 599px) {
  .coach-foreground::before { opacity: .72; }
  .coach-portrait .coach-foreground img {
    filter: drop-shadow(12px 9px 15px rgb(0 0 0 / 32%));
  }
}
.coach-emblem { position: absolute; z-index: 1; top: 11%; right: calc(6% + var(--coach-scene-shift)); height: 88%; aspect-ratio: 117.346 / 155.686; background: center / contain no-repeat url('assets/coach-emblem-studio.svg'); pointer-events: none; }
.coach-copy { z-index: 2; }
/* Desktop: bring the portrait closer to the copy. Keep the emblem above the
   portrait's lower crop, with room above the flame and beside the menu. */
@media (min-width: 1101px) {
 .coach-scene { --coach-scene-shift: 10vw; }
 .coach-emblem { top: 16px; right: max(16%, calc(var(--gutter) + 180px)); height: calc(100% - 16px); }
}
@media (min-width: 900px) and (max-width: 1100px) {
 .coach-scene { --coach-scene-shift: 2vw; }
 .coach-portrait .coach-foreground { top: 50px; right: calc(1% + var(--coach-scene-shift)); height: calc(100% - 50px); }
 .coach-emblem { right: calc(4% + var(--coach-scene-shift)); }
}
@media (min-width: 600px) and (max-width: 899px) {
 .coach-scene { --coach-scene-shift: 0px; }
 .coach-portrait .coach-foreground { right: -3%; }
 .coach-emblem { right: 2%; }
 .coach-copy { width: 46%; }
 .coach-copy h3 { font-size: clamp(48px, 7.5vw, 65px); }
}
@media (max-width: 599px) {
 .coach-scene { --coach-scene-shift: 0px; background-position: center top; }
 .coach-portrait { position: relative; inset: auto; width: 100%; aspect-ratio: 2 / 3; }
 .coach-portrait .coach-foreground { inset: 0; width: 100%; height: 100%; }
 .coach-emblem { top: 9%; right: 4%; height: 82%; }
 .coach-copy { width: 100%; background: #101112; }
}

/* Keep the studio and emblem fixed while the five isolated portraits change. */
@media (min-width: 900px) and (min-height: 680px) and (prefers-reduced-motion: no-preference) {
  .is-scroll-story .coach-scenes {
    background: linear-gradient(90deg, rgb(16 17 18 / 36%), transparent 52%), url('assets/coach-studio-wide-20261105-r10.webp') center / cover no-repeat;
  }
  .is-scroll-story .coach-scenes::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 16px;
    right: max(16%, calc(var(--gutter) + 180px));
    height: calc(100% - 16px);
    aspect-ratio: 117.346 / 155.686;
    background: center / contain no-repeat url('assets/coach-emblem-studio.svg');
    pointer-events: none;
  }
  .is-scroll-story .coach-scene { z-index: 1; background: transparent; }
  .is-scroll-story .coach-emblem { display: none; }
}
@media (min-width: 900px) and (max-width: 1100px) and (min-height: 680px) and (prefers-reduced-motion: no-preference) {
  .is-scroll-story .coach-scenes::before { top: 11%; right: 6%; height: 88%; }
}
@media (max-width: 599px) {
  .coach-portrait::after {
    content: '';
    position: absolute;
    z-index: 3;
    inset: auto 0 0;
    height: 13%;
    background: linear-gradient(transparent, #101112);
    pointer-events: none;
  }
}

/* Match Syskov headroom by scaling each complete portrait uniformly.
   Bottom anchoring keeps the photograph crop at the scene boundary. */
#coach-korzun { --coach-portrait-scale: 1; }
#coach-postregan { --coach-portrait-scale: 0.972648; }
#coach-shalashov { --coach-portrait-scale: 0.969435; }
#coach-kocheshev { --coach-portrait-scale: 0.972019; }
.coach-portrait .coach-foreground img {
  transform: scale(var(--coach-portrait-scale, 1));
  transform-origin: center bottom;
}

/* Enlarge Syskov around the top of his hair; crop only the lower trousers. */
#coach-syskov { --coach-portrait-scale: 1.04; }
#coach-syskov .coach-foreground img { transform-origin: center 5.078125%; }
#coach-syskov .coach-portrait { overflow: hidden; }

/* The v2 asset scales the whole original portrait to 92%, extends only trousers
   and places the crown at y78/1536. Keep scale 1 here to avoid a second reduction. */
#coach-korzun .coach-foreground img {
  transform-origin: center 5.078125%;
  transform: translateX(1%) scale(var(--coach-portrait-scale));
}
#coach-korzun .coach-portrait { overflow: hidden; }

/* Credentials remain secondary to the portrait and name, without list markers. */
.coach-credentials {
  max-width: 460px;
  margin-top: 28px;
  color: rgb(255 255 255 / 66%);
  font-size: 15px;
  line-height: 1.65;
}
.coach-credentials p { margin: 0; }
.coach-credentials p + p { margin-top: 16px; }
.coach-record { white-space: nowrap; }
.coach-position { color: rgb(255 255 255 / 84%); }
.coach-detail {
  max-width: 460px;
  margin-top: 28px;
  color: rgb(255 255 255 / 58%);
  font-size: 14px;
  line-height: 1.6;
}
@media (min-width: 900px) and (min-height: 680px) {
  .is-scroll-story .coach-copy h3 { font-size: clamp(64px, 6vw, 96px); }
  .is-scroll-story .coach-position { margin-top: 28px; max-width: 460px; }
}
@media (min-width: 900px) and (min-height: 680px) and (max-height: 800px) {
  .is-scroll-story .coach-copy { top: max(calc(var(--section-heading-inset, 72px) + 152px), 29svh); }
  .is-scroll-story .coach-copy h3 { margin-top: 20px; font-size: clamp(60px, 5.6vw, 80px); }
  .is-scroll-story .coach-position { margin-top: 20px; }
  .is-scroll-story .coach-credentials { margin-top: 24px; font-size: 14px; line-height: 1.6; }
  .is-scroll-story .coach-credentials p + p { margin-top: 12px; }
  .is-scroll-story .coach-detail { margin-top: 24px; font-size: 14px; line-height: 1.6; }
}
@media (max-width: 899px) {
  .coach-copy { padding-right: var(--gutter); }
  .coach-credentials, .coach-detail { max-width: 440px; }
}

/* locations.css */
/* H09: locations, contact and footer. Scope deliberately excludes H01–H08. */
.locations { background: #f7f7f3; min-height:100svh; display:flex; flex-direction:column; justify-content:center; padding:clamp(80px,9svh,104px) var(--gutter) clamp(40px,5svh,64px); scroll-margin-top:-24px; }
.locations-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; margin-bottom: 32px; }
.locations-heading .eyebrow { color: #626463; margin-bottom: 20px; }
.locations-heading h2 { display: grid; row-gap: .06em; font-size: clamp(54px,4.8vw,78px); line-height: 1.08; }
.locations-heading h2 > span,.locations-heading h2 > em { display: block; }
.locations-intro { justify-self: end; max-width: 365px; font-size: 16px; line-height: 1.65; padding-bottom: 4px; }
.locations-intro span { display: block; color: #626463; font-size: 13px; line-height: 1.6; margin-top: 12px; max-width: 300px; }
.locations-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px,5vw,80px); }
.location { min-width: 0; border-top: 1px solid #b8bbb7; padding-top: 20px; }
.location-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.location-heading h3 { font-size: clamp(23px,2vw,29px); font-weight: 500; line-height: 1.25; }
.location-dot { height: 8px; width: 8px; border-radius: 50%; background: var(--red); flex: none; }
.location-address-line { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 14px; margin-top:14px; }
.location-address { font-size: 16px; margin:0; }
.location-floor { margin: 0; font-size: 13px; color: #626463; }
.location-map-frame { position: relative; height: clamp(180px,24svh,240px); margin: 18px 0 22px; background: #e4e6e1; isolation: isolate; }
.location-map { width: 100%; height: 100%; background: #e4e6e1; font-family: Onest,Arial,sans-serif; z-index: 0; }
.map-loading { display: grid; place-items: center; height: 100%; padding: 40px; color: #555b58; font-size: 14px; text-align: center; }
.map-unavailable { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 30px; background: #e4e6e1; color: #444b45; font-size: 14px; text-align: center; z-index: 1; }
.location-map .leaflet-tile-pane { filter: grayscale(1) contrast(.87) brightness(1.06); }
.location-map .leaflet-control-attribution { font-size: 10px; background: #fffffff0; color: #434744; }
.location-map .leaflet-control-attribution a { color: #434744; }
.location-map .leaflet-control-zoom { border: 1px solid #c8ccc7; box-shadow: 0 2px 8px #1b211b12; border-radius: 0; }
.location-map .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; border-radius: 0; color: #181a1b; }
.location-map .leaflet-control-zoom a:focus-visible { outline-offset: -3px; }
.vympel-map-pin { background: var(--red); border: 3px solid white; border-radius: 50%; box-shadow: 0 3px 12px #181a1b30; }
.vympel-map-pin::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: white; }
.location-map .leaflet-tooltip { font: 500 12px/1.3 Onest,Arial,sans-serif; color: #181a1b; border: 0; border-radius: 0; box-shadow: 0 3px 10px #181a1b12; padding: 8px 12px; }
.map-external { position: absolute; left: 14px; bottom: 28px; z-index: 2; display: inline-flex; align-items: center; gap: 16px; min-height: 44px; background: #fff; padding: 10px 13px; font-size: 12px; font-weight: 500; box-shadow: 0 3px 14px #181a1b15; }
.map-external svg { width: 17px; height: 17px; }
.map-external:hover { color: #b7241d; }
.location-bottom { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:24px; }
.location-entry { display: flex; gap: 12px; align-items: flex-start; }
.location-entry img { flex: 0 0 22px; margin-top: 3px; filter: brightness(0); opacity: .55; }
.location-entry strong { display: block; font-size: 12px; font-weight: 500; margin-bottom: 5px; }
.location-entry span { display: block; color: #626463; font-size: 14px; line-height: 1.7; }
.location-schedule { justify-self:start; gap:16px; max-width:100%; font-size:13px; min-height:52px; margin:0 6px; padding:13px 17px; white-space:nowrap; }
.location-schedule svg { width:32px; height:22px; padding-left:12px; transition:transform .2s ease; }
.location-schedule:hover { color:#fff; }
.location-schedule:hover svg { transform: translateX(4px); }
.school-contact { position: relative; isolation: isolate; min-height:100svh; display:flex; align-items:center; background: #141717; color: #fff; scroll-margin-top:-24px; }
.school-contact::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 65%; z-index: -1; background: rgb(10 16 18 / 94%); clip-path: polygon(0 0,100% 0,82% 100%,0 100%); }
.school-contact-copy { position: relative; width: 55%; min-width: 0; padding: clamp(64px,6vw,96px) 28px clamp(72px,7vw,112px) var(--gutter); }
.school-contact-copy .eyebrow { color: #c5c9c5; margin-bottom: 24px; }
.school-contact h2 { font-size: clamp(70px,7.2vw,116px); line-height: .98; }
.school-contact h2 > span { color: transparent; -webkit-text-stroke: 1.2px #f4f5f2; }
.school-contact-intro { margin-top: 30px; font-size: 16px; color: #c5c9c5; line-height: 1.7; }
.school-contact-person { display: flex; flex-direction: column; gap: 5px; margin-top: 42px; font-size: 13px; color: #fff; }
.school-contact-person span + span { color: #aeb6b2; }
.school-contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 32px; margin-top: 22px; }
.school-contact-phone { display: block; width: fit-content; font-size: clamp(25px,2.4vw,40px); line-height: 1.3; letter-spacing: -.045em; white-space: nowrap; }
.school-contact .school-contact-button { min-height: 54px; padding: 13px 20px; gap: 18px; margin-inline: 6px; }
.school-contact .school-contact-button svg { width: 38px; padding-left: 14px; }
.school-contact .school-contact-button:hover { color: #fff; }
.school-contact-email { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: fit-content; font-size: 14px; border-bottom: 1px solid #616865; padding: 12px 0; margin-top: 15px; }
.school-contact-email svg { width: 19px; height: 19px; }
.school-contact a:hover { color: #ff8c83; }
.school-contact-image { position: absolute; inset: 0; overflow: hidden; z-index: -2; }
.school-contact-image > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 69% center; }
.school-contact-image figcaption { position: absolute; right: var(--gutter); bottom: 30px; width: fit-content; padding: 11px 14px; background: #101313e8; color: #fff; font-size: 12px; line-height: 1.5; }
.school-contact-image figcaption span { display: block; color: #b9c0ba; font-size: 10px; margin-top: 4px; }
.school-footer { background: #141717; color: #fff; padding: 0 var(--gutter); }
.school-footer-main { display: grid; grid-template-columns: 1.35fr .8fr 1fr 1fr; gap: 48px; padding: 68px 0 64px; border-top: 1px solid #3d4340; }
.school-footer-identity img { width: 220px; height: auto; }
.school-footer-identity p { font-size: 12px; line-height: 1.7; margin-top: 24px; color: #aeb6b2; }
.school-footer .footer-label { margin: 0 0 20px; color: #aeb6b2; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.school-footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.school-footer-nav a { font-size: 13px; min-height: 36px; padding: 6px 0; }
.school-footer-social > p:not(.footer-label) { font-size: 13px; color: #fff; margin: 0; line-height: 1.7; }
.school-footer .nav-social-links { margin-top: 16px; }
.school-footer-bottom { display: flex; align-items: center; gap: 28px; padding-block: 22px; border-top: 1px solid #3d4340; color: #aeb6b2; font-size: 11px; }
.school-footer-bottom button { padding: 10px 0; min-height: 44px; background: none; border: 0; color: inherit; font-size: inherit; }
.school-back-top { display: inline-flex; align-items: center; gap: 20px; margin-left: auto; min-height: 44px; color: #fff; }
.school-back-top svg { width: 18px; height: 18px; }
.school-footer a:hover,.school-footer-bottom button:hover { color: #ff8c83; }
@media (min-width: 1800px) { .locations,.school-footer { padding-inline: max(var(--gutter),calc((100vw - 1600px)/2)); } }
@media (max-width: 1050px) {
  .locations-heading { margin-bottom:32px; gap:32px; }
  .locations-heading h2 { font-size:clamp(46px,6.5vw,60px); }
  .locations-grid { gap:32px; }
  .location-address-line { min-height:48px; align-content:start; }
  .location-bottom { grid-template-columns:1fr; gap:18px; }
  .location-entry { min-height:80px; }
  .locations-intro { font-size: 16px; }
  .location-entry span br { display: none; }
  .school-contact-copy { padding-right: 28px; }
  .school-contact-intro br { display: none; }
  .school-footer-main { gap: 32px; grid-template-columns: 1.2fr 1fr 1fr; }
  .school-footer-identity { grid-column: 1 / -1; display: flex; align-items: center; gap: 40px; margin-bottom: 12px; }
  .school-footer-identity p { margin: 0; }
}
@media (max-width: 700px) {
  .locations { padding-top:80px; padding-bottom:56px; }
  .locations-heading { grid-template-columns:1fr; gap:24px; margin-bottom:32px; }
  .locations-heading h2 { font-size:clamp(46px,10vw,64px); }
  .locations-heading .eyebrow { margin-bottom: 22px; }
  .locations-intro { justify-self: start; max-width: 370px; font-size: 16px; }
  .locations-intro span { display: none; }
  .locations-intro br:first-child { display: none; }
  .locations-grid { grid-template-columns: 1fr; gap: 52px; }
  .location { padding-top: 24px; }
  .location-heading h3 { font-size: clamp(23px,5.7vw,30px); }
  .location-address-line { min-height:0; margin-top:12px; }
  .location-address { margin:0; font-size:16px; }
  .location-map-frame { height:220px; margin-top:18px; margin-bottom:20px; }
  .location-entry { min-height: 0; }
  .location-entry span { max-width: 340px; }
  .location-schedule { margin-top:0; }
  .school-contact { --contact-photo-band: clamp(180px,45vw,260px); min-height:100svh; }
  .school-contact::before { inset: 0 0 var(--contact-photo-band); width: auto; clip-path: polygon(0 0,100% 0,100% 95%,0 100%); }
  .school-contact-copy { width: 100%; padding: 64px var(--gutter) calc(var(--contact-photo-band) + 72px); }
  .school-contact h2 { font-size: clamp(60px,18vw,94px); }
  .school-contact-intro { max-width: 360px; font-size: 15px; margin-top: 26px; }
  .school-contact-person { margin-top: 34px; }
  .school-contact-phone { font-size: clamp(25px,7vw,36px); }
  .school-contact-actions { flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 22px; }
  .school-contact .school-contact-button { min-height: 54px; padding-inline: 22px; gap: 28px; }
  .school-contact-email { font-size: 13px; }
  .school-contact-image > img { top: auto; height: calc(var(--contact-photo-band) + 90px); object-position: 65% center; }
  .school-contact-image figcaption { left: var(--gutter); right: auto; max-width: calc(100% - 2 * var(--gutter)); bottom: 20px; font-size: 11px; }
  .school-footer-main { grid-template-columns: 1fr 1fr; gap: 32px 22px; padding: 44px 0; }
  .school-footer-identity { display: block; margin-bottom: 8px; }
  .school-footer-identity img { width: 210px; }
  .school-footer-identity p { margin-top: 18px; }
  .school-footer .footer-label { margin-bottom: 15px; }
  .school-footer-nav a { font-size: 12px; min-height: 40px; padding-block: 8px; }
  .school-footer-social { grid-column: 1/-1; }
  .school-footer-social > p:not(.footer-label) br { display: none; }
  .school-footer-bottom { flex-wrap: wrap; gap: 4px 22px; padding-block: 18px; }
  .school-back-top { gap: 8px; }
}
@media (max-width: 360px) {
  .school-footer-bottom { column-gap: 18px; }
  .school-footer-bottom button { order: 3; flex-basis: 100%; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .location-schedule svg { transition: none; } }
@media (forced-colors: active) { .school-contact h2 > span { color: CanvasText; -webkit-text-stroke: 0; } }

/* programs.css */
/* H02: one discipline in view, a short definition and two useful explanations. */
.programs.programs--chapters { padding:0; background:#141819; scroll-margin-top:0; }
.programs-stage { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr; min-height:720px; padding:clamp(48px,6vh,72px) var(--gutter) 40px; }
.programs-content { display:contents; }
.programs-stage::before { content:''; position:absolute; z-index:-1; inset:18% 46% 6% -12%; pointer-events:none; background:radial-gradient(ellipse at center,#46505226,transparent 65%); }
.programs--chapters .section-heading { display:block; margin:0; }
.programs--chapters #programs-title { display:grid; justify-items:start; gap:8px; width:fit-content; max-width:100%; line-height:1.04; }
.programs--chapters #programs-title > span { white-space:nowrap; }
.programs--chapters #programs-title .programs-title-outline { color:transparent; -webkit-text-stroke:.8px #bdc6c7; }
.programs--chapters .program-list { grid-column:1 / -1; border:0; align-self:center; padding-block:36px; }
.programs--chapters .program { --art-size:300px; --shadow-y:90%; --shadow-width:76%; --shadow-height:12%; position:relative; display:grid; grid-template-columns:minmax(200px,.85fr) minmax(0,1.02fr) minmax(0,1.25fr); align-items:center; gap:clamp(32px,4vw,60px); min-height:320px; padding:24px 0; border:0; }
.programs--chapters .program-visual { position:relative; display:flex; align-items:center; justify-content:center; height:300px; padding:0; }
.programs--chapters .program-visual::after { content:none; }
.programs--chapters .program-art { position:relative; isolation:isolate; width:var(--art-size); max-width:100%; aspect-ratio:1; flex-shrink:0; }
.programs--chapters .program-art img { display:block; width:100%; height:100%; max-width:100%; object-fit:contain; }
/* The shadow follows the artwork's actual square, including when the column narrows. */
.programs--chapters .program-art::after { content:''; position:absolute; z-index:-1; pointer-events:none; width:var(--shadow-width); height:var(--shadow-height); top:var(--shadow-y); left:50%; transform:translate(-50%,-50%); background:radial-gradient(ellipse closest-side,#020404b8 0%,#02040470 38%,transparent 100%); }
.programs--chapters .program-mma { --art-size:272px; --shadow-y:96%; --shadow-width:78%; --shadow-height:10%; }
.programs--chapters .program-women { --art-size:320px; }
.programs--chapters .program-personal { --shadow-y:95%; --shadow-width:88%; --shadow-height:9%; }
.programs--chapters .program-personal .program-art::after { background:radial-gradient(ellipse closest-side,#02040499 0%,#02040450 38%,transparent 100%); }
.programs--chapters .program-heading h3 { font-size:clamp(40px,3.6vw,58px); line-height:1.06; max-width:420px; }
.programs--chapters .program-mma .program-heading h3 > span { display:block; white-space:nowrap; }
.programs--chapters :is(.program-mma,.program-personal) .program-heading h3 { font-size:clamp(36px,3.2vw,50px); }
.programs--chapters .program-age { margin-top:24px; font-size:13px; line-height:1.6; color:#d4dcda; }
.programs--chapters .program-copy p.program-intro { font-size:17px; line-height:1.65; max-width:46ch; color:#dce2e0; }
.program-details { display:grid; gap:16px; margin:22px 0 0; }
.program-details > div { border-top:1px solid #3e4b4e; padding-top:14px; }
.program-details dt { display:flex; align-items:baseline; gap:10px; color:#f1f3f3; font-size:14px; line-height:1.5; font-weight:500; }
.program-details dt::before { content:''; flex:0 0 3px; width:3px; height:10px; background:#e85d51; transform:skewX(-14deg); }
.program-details dd { margin:6px 0 0 13px; color:#bfc9c6; font-size:14px; line-height:1.65; }
.programs--chapters .program-copy .text-link { margin-top:22px; }
/* Compact navigation shares the scale of the first-visit steps. */
.programs-controls { display:none; width:100%; max-width:620px; min-width:0; }
.programs-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.programs-nav button { position:relative; isolation:isolate; display:flex; align-items:baseline; gap:10px; min-width:0; min-height:50px; padding:8px 0 18px; border:0; border-bottom:1px solid #4b5458; background:none; color:#a4aeb2; text-align:left; transition:color .24s ease; }
.programs-nav button::before { content:''; position:absolute; inset:-28px -12px -1px; z-index:-1; pointer-events:none; background:radial-gradient(ellipse 50% 100% at 50% 100%,#e52e2536,transparent 100%); opacity:0; transition:opacity .35s ease; }
.programs-nav button::after { content:''; position:absolute; bottom:-1px; left:0; width:100%; height:2px; background:#ed574e; transform:scaleX(0); transform-origin:left; transition:transform .35s ease; }
.programs-nav button > span:first-child { font-family:Tall,Impact,sans-serif; font-size:28px; font-style:italic; line-height:1; }
.programs-nav button > span:last-child { font-size:12px; line-height:1.4; }
.programs-nav button[aria-pressed="true"] { color:#fff; }
.programs-nav button[aria-pressed="true"] > span:first-child { color:#ff8b80; }
.programs-nav button[aria-pressed="true"]::before { opacity:1; }
.programs-nav button[aria-pressed="true"]::after { transform:scaleX(1); }
.programs-nav button:hover { color:#fff; }
.programs-nav button:focus-visible { outline:2px solid #fff; outline-offset:5px; }
.programs--chapters.is-enhanced .programs-controls { display:grid; }
.programs--chapters.is-enhanced .program-list { display:grid; width:100%; }
.programs--chapters.is-enhanced .program { grid-area:1 / 1; margin:0; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(18px); transition:opacity .28s ease,transform .42s cubic-bezier(.2,.7,.2,1),visibility 0s; }
.programs--chapters.is-enhanced .program.is-active { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); }
.programs-scroll.is-pinned { height:var(--programs-height); }
.programs-scroll.is-pinned .programs-stage { position:sticky; top:0; height:100svh; }
@media (min-width:1000px) {
 /* Artwork and title form one left-hand group, with its navigation directly below. */
 .programs--chapters.is-enhanced .programs-content { display:grid; grid-column:1; grid-row:2; align-self:center; grid-template-columns:minmax(200px,.85fr) minmax(0,1.02fr) minmax(0,1.25fr); grid-template-rows:auto auto; gap:32px clamp(32px,4vw,60px); padding-block:36px; }
 .programs--chapters.is-enhanced .program-list { display:contents; }
 .programs--chapters.is-enhanced .program { grid-area:1 / 1 / 3 / -1; grid-template-columns:subgrid; grid-template-rows:subgrid; gap:inherit; min-height:0; padding:0; }
 .programs--chapters.is-enhanced .program-visual { grid-column:1; grid-row:1; }
 .programs--chapters.is-enhanced .program-heading { grid-column:2; grid-row:1; }
 .programs--chapters.is-enhanced .program-copy { grid-column:3; grid-row:1 / 3; align-self:center; }
 .programs--chapters.is-enhanced .programs-controls { grid-column:1 / 3; grid-row:2; align-self:start; justify-self:start; z-index:1; }
}
@media (min-width:1000px) and (max-height:800px) {
 .programs-stage { min-height:640px; padding-top:32px; padding-bottom:28px; }
 .programs--chapters #programs-title { gap:6px; }
 .programs--chapters .eyebrow { margin-bottom:18px; }
 .programs--chapters .program-list { padding-block:28px; }
 .programs--chapters.is-enhanced .programs-content { padding-block:28px; row-gap:24px; }
 .programs--chapters .program { --art-size:260px; min-height:280px; padding-block:0; }
 .programs--chapters .program-visual { height:260px; }
 .programs--chapters .program-mma { --art-size:240px; }
 .programs--chapters .program-women { --art-size:280px; }
 .programs--chapters .program-heading h3 { font-size:clamp(38px,3.4vw,50px); }
 .programs--chapters :is(.program-mma,.program-personal) .program-heading h3 { font-size:clamp(34px,3.1vw,46px); }
 .programs--chapters .program-copy p.program-intro { font-size:15px; }
 .program-details { margin-top:18px; gap:14px; }
 .program-details > div { padding-top:12px; }
 .program-details dt,.program-details dd { font-size:13px; }
 .programs--chapters .program-copy .text-link { margin-top:18px; }
}
@media (min-width:1000px) and (max-width:1200px) {
 .programs--chapters .program { grid-template-columns:200px minmax(0,1fr) minmax(0,1.35fr); gap:30px; }
 .programs--chapters.is-enhanced .programs-content { grid-template-columns:200px minmax(0,1fr) minmax(0,1.35fr); column-gap:30px; }
 .programs--chapters .program-heading h3 { font-size:38px; }
 .programs--chapters :is(.program-mma,.program-personal) .program-heading h3 { font-size:33px; }
 .programs--chapters .program-age { font-size:12px; }
 .programs--chapters .program-copy p.program-intro { font-size:14px; }
 .programs-nav { gap:12px; }
 .programs-nav button { flex-direction:column; }
}
@media (max-width:999px) {
 .programs-stage { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto 1fr; min-height:0; padding-block:56px 40px; }
 .programs--chapters .program-list { padding-block:40px 8px; }
 .programs--chapters .program { grid-template-columns:minmax(180px,.75fr) minmax(0,1fr); gap:20px 32px; padding:0; min-height:280px; }
 .programs--chapters .program-visual { grid-column:1; grid-row:1 / 3; height:280px; }
 .programs--chapters .program-heading { grid-column:2; align-self:end; }
 .programs--chapters .program-copy { grid-column:2; align-self:start; }
 .programs--chapters .program-heading h3 { font-size:42px; }
 .programs--chapters :is(.program-mma,.program-personal) .program-heading h3 { font-size:38px; }
 .programs--chapters .program-age { margin-top:18px; }
 .programs--chapters .program-copy p.program-intro { font-size:15px; }
 .programs--chapters .program-copy .text-link { margin-top:18px; }
 .programs-controls { grid-column:1; max-width:none; }
 .programs--chapters.is-enhanced .programs-controls { grid-row:2; margin-top:32px; }
 .programs--chapters.is-enhanced .program-list { grid-row:3; }
 .programs-nav button { flex-direction:column; gap:10px; }
}
@media (max-width:600px) {
 .programs-stage { padding-block:48px 32px; }
 .programs--chapters #programs-title { gap:8px; }
 .programs--chapters .program-list { padding-block:32px 0; }
 .programs--chapters .program { --art-size:250px; grid-template-columns:1fr; grid-template-rows:224px auto 1fr; gap:24px; }
 .programs--chapters .program-visual { grid-column:1; grid-row:1; height:224px; }
 .programs--chapters .program-mma { --art-size:228px; }
 .programs--chapters .program-women { --art-size:260px; }
 .programs--chapters .program-heading { grid-column:1; grid-row:2; align-self:start; }
 .programs--chapters .program-heading h3 { font-size:clamp(36px,10.2vw,46px); max-width:100%; }
 .programs--chapters :is(.program-mma,.program-personal) .program-heading h3 { font-size:clamp(34px,9.6vw,43px); }
 .programs--chapters .program-age { font-size:12px; margin-top:16px; }
 .programs--chapters .program-copy { grid-column:1; grid-row:3; }
 .programs-nav { gap:12px 20px; grid-template-columns:1fr 1fr; }
 .programs-nav button { flex-direction:row; gap:8px; min-height:56px; padding:10px 4px 14px; }
 .programs-nav button > span:first-child { font-size:26px; }
 .programs-nav button > span:last-child { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) {
 .programs--chapters *, .programs--chapters *::before, .programs--chapters *::after { animation:none!important; transition:none!important; }
 .programs--chapters.is-enhanced .program { transform:none; }
}
@media (forced-colors:active) {
 .programs--chapters #programs-title .programs-title-outline { color:CanvasText; -webkit-text-stroke:0; }
}
.programs-mobile-hint { display:none; }
@media (max-width:700px) {
 .programs-mobile-hint { display:block; margin:0 0 16px; font-size:12px; line-height:1.5; color:#c4cdd0; }
 .programs-nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .programs-nav button { flex-direction:row; align-items:center; gap:12px; min-height:60px; padding:12px; border:1px solid #667278; background:rgb(255 255 255 / 3%); color:#e2e6e8; }
 .programs-nav button > span:first-child { font-size:25px; }
 .programs-nav button::before { inset:0; background:rgb(229 46 37 / 8%); }
 .programs-nav button::after { content:none; }
 .programs-nav button[aria-pressed="true"] { border-color:#f4776d; background:rgb(229 46 37 / 8%); }
 .programs-nav button:active { transform:translateY(1px); }
}


/* memberships.css */
/* Side-by-side composition follows the site's open, left-aligned sections. */
.memberships{background:#141617;scroll-margin-top:-24px}
.membership-stage{color:#f2f1ec;background:#141617}
.membership-screen{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;gap:clamp(64px,7vw,128px);max-width:1920px;min-height:100svh;min-height:100dvh;margin-inline:auto;padding-block:clamp(80px,10svh,128px)}
.membership-primary,.membership-selection,.membership-aside{min-width:0}
.membership-heading{margin:0 0 clamp(44px,6svh,72px);text-align:left}
.membership-heading .eyebrow{color:#bec5c0;margin-bottom:20px}
.memberships h2{font-size:clamp(64px,6.2vw,108px);line-height:1.04;letter-spacing:-.015em}
.membership-tickets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(52px,4.2vw,80px);padding-inline:32px}
.membership-ticket{position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;min-height:clamp(270px,33svh,330px);color:#efeee9;transform:skewX(-12deg)}
.membership-ticket-surface{position:absolute;z-index:-1;inset:0;border:1px solid #8f95918f;background:#ffffff02}
.membership-ticket-surface>span{display:block;height:52px;background:#ffffff08}
.membership-ticket--paper{color:#171a1b}
.membership-ticket--paper .membership-ticket-surface{border:0;background:#f1f0eb;box-shadow:0 20px 34px #00000026}
.membership-ticket--paper .membership-ticket-surface>span{background:#d92b22}
.membership-ticket-locale{display:flex;align-items:center;min-height:52px;padding:12px 24px;color:inherit;font:500 12px/1.5 Onest,Arial,sans-serif;letter-spacing:.025em;text-transform:uppercase;transform:skewX(12deg)}
.membership-ticket--paper .membership-ticket-locale{color:#fff}
.membership-ticket-body{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:28px;padding:28px 22px 0}
.membership-ticket-body>p,.membership-ticket-price,.membership-ticket-action>span,.membership-ticket-action>svg{transform:skewX(12deg)}
.membership-ticket-name{font:italic 700 clamp(34px,2.8vw,46px)/1.1 Tall,Impact,sans-serif;text-transform:uppercase;letter-spacing:0;white-space:nowrap}
.membership-ticket-name>span{font-size:.65em}
.membership-ticket-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px}
.membership-ticket-price strong{font:500 clamp(30px,2.6vw,42px)/1.25 Onest,Arial,sans-serif;letter-spacing:-.04em;white-space:nowrap}
.membership-ticket-price strong>span{font-size:.7em}
.membership-ticket-price>span{color:#b9bfbc;font-size:12px;white-space:nowrap}
.membership-ticket--paper .membership-ticket-price>span{color:#5b605d}
.membership-ticket-action{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;margin:22px 18px 20px;padding:8px 10px 0 4px;border-top:1px solid #737c775e;color:#fff;isolation:isolate}
.membership-ticket-action>span{font-size:13px;color:#d2d7d4}
.membership-ticket--paper .membership-ticket-action{border-color:#d0d2cc}
.membership-ticket--paper .membership-ticket-action>span{color:#424744}
.membership-ticket-action::before{content:'';position:absolute;inset:7px 0 0 auto;width:42px;z-index:-1;background:#d92b22;transition:background .18s ease}
.membership-ticket-action svg{width:21px;height:21px;transition:transform .18s ease}
.membership-ticket-action:hover::before{background:#b9221b}
.membership-ticket-action:hover svg{transform:skewX(12deg) translateX(3px)}
.membership-ticket-action:focus-visible{outline:2px solid #fff;outline-offset:5px}
.membership-ticket--paper .membership-ticket-action:focus-visible{outline-color:#b9221b}
.membership-rate-note,.membership-term-note{max-width:58ch;color:#aeb7b2;font-size:12px;line-height:1.7;text-align:left}
.membership-rate-note{margin:30px 0 0}
.membership-term-note{margin:6px 0 0}
.membership-aside{padding-top:clamp(100px,14svh,160px)}
.membership-formats{margin:0}
.membership-formats>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:24px;padding:26px 0;border-bottom:1px solid #424946}
.membership-formats>div:first-child{padding-top:0}
.membership-formats dt{font:500 18px/1.45 Onest,Arial,sans-serif;letter-spacing:-.015em}
.membership-formats dt>span{display:block;max-width:28ch;margin-top:9px;color:#aeb7b2;font-size:13px;line-height:1.6;font-weight:400;letter-spacing:0}
.membership-formats dd{margin:0;text-align:right;font-size:27px;line-height:1.25;font-weight:500;letter-spacing:-.025em;white-space:nowrap}
.membership-formats dd>span{display:block;margin-top:8px;color:#b5bdb9;font-size:12px;line-height:1.5;font-weight:400;letter-spacing:0}
.membership-format-small dd{font-size:14px;font-weight:400;letter-spacing:0}
.membership-format-small a{display:inline-flex;align-items:center;gap:14px;min-height:44px;border-bottom:1px solid #657269;transition:color .18s ease}
.membership-format-small svg{width:20px;height:20px}
.membership-format-small a:hover{color:#ff8278}
.membership-contact{margin-top:38px}
.membership-contact>span{display:block;margin-bottom:14px;color:#b5bdb9;font-size:13px;line-height:1.5}
.membership-contact>a{position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:30px;min-height:58px;margin-left:6px;padding:12px 22px;font-size:22px;font-weight:500;letter-spacing:-.025em;white-space:nowrap}
.membership-contact>a::before{content:'';position:absolute;inset:0;z-index:-1;border:1px solid #8b928d;transform:skewX(-12deg);transition:background .18s ease,border-color .18s ease}
.membership-contact svg{width:22px;height:22px}
.membership-contact>a:hover::before{background:#262a28;border-color:#c7cec9}
@media(min-width:1101px) and (max-height:780px){
  .membership-screen{padding-block:76px 60px}
  .membership-heading{margin-bottom:44px}
  .memberships h2{font-size:68px}
  .membership-ticket{min-height:270px}
  .membership-ticket-body{padding-top:24px;gap:22px}
  .membership-aside{padding-top:106px}
  .membership-formats>div{padding-block:22px}
  .membership-formats>div:first-child{padding-top:0}
  .membership-contact{margin-top:30px}
}
@media(min-width:681px) and (max-width:1100px){
  .membership-screen{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,5vw,56px);padding-block:78px 70px}
  .membership-heading{margin-bottom:30px}
  .memberships h2{font-size:clamp(46px,5.9vw,64px)}
  .membership-heading .eyebrow{margin-bottom:16px;font-size:10px}
  .membership-tickets{grid-template-columns:minmax(0,300px);gap:26px;padding-inline:24px}
  .membership-ticket{min-height:218px}
  .membership-ticket-surface>span,.membership-ticket-locale{height:42px;min-height:42px}
  .membership-ticket-locale{padding-left:23px;font-size:11px}
  .membership-ticket-body{padding:18px 18px 0;gap:18px}
  .membership-ticket-name{font-size:36px}
  .membership-ticket-price strong{font-size:30px}
  .membership-ticket-action{margin:14px 14px 14px;min-height:44px}
  .membership-ticket-action>span{font-size:12px}
  .membership-rate-note{margin-top:24px}
  .membership-aside{padding-top:94px}
  .membership-formats>div{column-gap:16px;padding-block:24px}
  .membership-formats>div:first-child{padding-top:0}
  .membership-formats dt{font-size:16px}
  .membership-formats dt>span{font-size:12px}
  .membership-formats dd{font-size:23px}
  .membership-format-small dd{font-size:12px}
  .membership-format-small a{gap:8px}
  .membership-contact>a{font-size:20px;gap:20px;padding-inline:16px}
}
@media(max-width:680px){
  .membership-screen{display:block;padding-block:80px 100px}
  .membership-heading{margin-bottom:38px;text-align:left}
  .membership-heading .eyebrow{margin-bottom:18px;font-size:10px}
  .memberships h2{font-size:clamp(44px,9vw,62px)}
  .membership-tickets{gap:44px;padding-inline:26px}
  .membership-ticket{min-height:250px}
  .membership-ticket-locale{font-size:10px;padding-left:24px}
  .membership-ticket-body{padding-inline:18px;gap:24px}
  .membership-ticket-name{font-size:34px}
  .membership-ticket-price strong{font-size:30px}
  .membership-ticket-action{margin-inline:14px}
  .membership-ticket-action>span{font-size:12px}
  .membership-aside{padding-top:52px}
  .membership-formats dt{font-size:16px}
  .membership-formats dd{font-size:24px}
  .membership-format-small dd{font-size:13px}
  .membership-contact>a{font-size:21px;gap:28px}
}
@media(max-width:520px){
  .membership-tickets{grid-template-columns:minmax(0,300px);gap:28px}
  .membership-ticket-name{font-size:40px}
  .membership-ticket-locale{font-size:12px}
  .membership-formats>div{column-gap:18px}
  .membership-formats dt>span{font-size:12px}
  .membership-contact>a{font-size:20px;padding-inline:16px}
}
@media(max-width:360px){
  .membership-ticket-locale{font-size:10px}
  .membership-ticket-name{font-size:34px}
  .membership-formats>div{grid-template-columns:1fr;gap:14px}
  .membership-formats dd{text-align:left}
  .membership-formats dd>span{display:inline;margin-left:6px}
  .membership-contact>a{font-size:19px;gap:20px}
}
@media(prefers-reduced-motion:reduce){
  .membership-ticket-action::before,.membership-ticket-action svg,.membership-format-small a,.membership-contact>a::before{transition:none}
}

/* schedule.css */
/* Schedule: the site's paper, slanted display type and restrained red accents. */
#raspisanie{background:#efefeb;border-top:1px solid #d3d4cf;padding-block:clamp(48px,5vw,80px);scroll-margin-top:0}
.schedule-wrap{max-width:1600px;margin-inline:auto}
.schedule-heading{display:grid;grid-template-columns:1.1fr 1fr;align-items:end;gap:40px;margin-bottom:38px}
.schedule-heading .eyebrow{margin-bottom:18px;color:#555b58}
#schedule-title{font-size:clamp(52px,4.7vw,74px);line-height:1.03}
.schedule-workspace{display:grid;grid-template-columns:312px minmax(0,1fr);gap:32px;align-items:start}
.schedule-results{min-width:0}
.schedule-intro{max-width:460px;justify-self:end;padding-bottom:3px}
.schedule-intro>p:first-child{font-size:18px;line-height:1.55}
.schedule-intro>p+p{font-size:13px;line-height:1.65;color:#5c625e;margin-top:14px;max-width:47ch}
#filters{scroll-margin-top:24px}
.schedule-filters{position:sticky;top:18px;background:#f9f9f6;border:1px solid #d4d7d0;padding:22px}
.schedule-halls{margin:0;padding:0;border:0;min-width:0}
.schedule-halls legend{padding:0;margin-bottom:12px;font-size:13px;font-weight:500}
.schedule-hall-options{display:grid;gap:8px}
.schedule-hall-options label{position:relative;display:block;cursor:pointer;font-size:14px;min-width:0}
.schedule-hall-options input{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:0;opacity:0;pointer-events:none}
.schedule-hall-options span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;border:1px solid #b9c0b8;background:transparent;transition:background .18s,color .18s,border-color .18s}
.schedule-hall-options input:checked+span{background:#202423;color:#fff;border-color:#202423;box-shadow:inset 0 -3px var(--red)}
.schedule-hall-options input:focus-visible+span{outline:3px solid var(--red);outline-offset:3px}
.schedule-hall-options label:hover span{border-color:#202423}
#schedule-hall-note{margin-top:10px;font-size:12px;color:#5b635c;min-height:20px}
.schedule-age-range:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding:3px 10px 3px 12px;border-left:3px solid var(--red);background:#eceee8;font-size:12px;line-height:1.5}
.schedule-age-range>span{min-width:0}
.schedule-age-range button{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;min-height:44px;padding:4px 0;border:0;background:transparent;font:inherit;color:#535b53;text-decoration:underline;text-underline-offset:3px}
.schedule-age-range button span{font-size:20px;text-decoration:none}
.schedule-age-range button:hover{color:#ac241c}
.schedule-age-range button:focus-visible{outline:2px solid var(--red);outline-offset:3px}
#schedule-refine{margin-top:20px;border-top:1px solid #d4d7d0;padding-top:18px}
#schedule-refine>summary{display:none;list-style:none;font-size:13px;font-weight:500;align-items:center;gap:6px;min-height:48px}
#schedule-refine>summary::-webkit-details-marker{display:none}
#schedule-refine>summary svg{margin-left:auto;width:20px;height:20px;transition:transform .18s}
#schedule-refine[open]>summary svg{transform:rotate(180deg)}
#schedule-filter-count{color:#656c66;font-size:12px;line-height:1.4;transform:none;white-space:nowrap}
.schedule-filter-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.schedule-filter-fields label{font-size:12px;gap:7px;font-weight:400;min-width:0;color:#4c554e}
.schedule-filter-fields input,.schedule-filter-fields select{font-size:13px;border-color:#bbc2b9;background:#fff;color:var(--ink);height:48px;padding-inline:10px}
.schedule-filter-fields select[name=direction]{font-size:12px}
.schedule-filter-fields input::placeholder{color:#697169;opacity:1}
#age-error{font-size:13px;color:#ad241d;margin-top:12px}
#raspisanie .schedule-toolbar{position:sticky;z-index:5;top:0;background:#efefeb;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 12px;min-height:64px;border-bottom:1px solid #aeb6ac}
.schedule-result-heading{display:block;min-width:0}
#group-count{font-weight:500;font-size:17px;white-space:nowrap;line-height:1.5}
#schedule-context{margin:0;color:#5b635c;font-size:12px;line-height:1.5}
.schedule-result-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
#raspisanie #reset-filters{font:400 12px/1.5 Onest,Arial,sans-serif;min-height:44px;border:0;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#90988f;padding:7px 0;background:transparent}
#schedule-edit-filters{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:12px}
#schedule-edit-filters svg{width:17px;height:17px}
#schedule-edit-filters:hover,#reset-filters:hover{color:#ac241c}
#schedule-time-note{font-size:13px;padding:14px 0 4px;color:#4e5750;margin:0}
#raspisanie .schedule-columns,#raspisanie .group-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(205px,1fr) 140px;gap:20px;align-items:center}
#raspisanie .schedule-columns{padding:15px 14px 12px;font-size:11px;letter-spacing:.02em;color:#5c645c;border-bottom:1px solid #ccd1c8}
#raspisanie .group-row{padding:22px 14px;border-bottom:1px solid #c9cfc5;background:transparent;transition:background .18s}
#raspisanie .group-row:nth-child(even){background:#ffffff45}
#raspisanie .group-row:hover,#raspisanie .group-row:focus-within{background:#fafbf7}
#raspisanie .group-name{grid-column:auto;grid-row:auto;min-width:0}
#raspisanie .group-name h3{font:400 15px/1.4 Onest,Arial,sans-serif;letter-spacing:-.015em;max-width:35ch}
#raspisanie .group-abbr{font-size:12px;font-weight:400;color:#636a63;white-space:nowrap}
#raspisanie .group-composition{font-size:14px;font-weight:500;line-height:1.5;color:#202820;margin-top:8px;max-width:none}
#raspisanie .group-hall{font-size:12px;color:#5b635c;margin-top:7px;grid-column:auto;grid-row:auto;max-width:none}
#raspisanie .group-sessions{display:grid;gap:8px;grid-column:auto;grid-row:auto;min-width:0}
#raspisanie .session{display:grid;grid-template-columns:82px minmax(0,1fr);gap:8px 12px;align-items:baseline;padding:3px 0}
#raspisanie .session-days{font-size:13px;font-weight:400;line-height:1.5;color:#475148;white-space:nowrap}
#raspisanie .session-time{font:500 21px/1.25 Onest,Arial,sans-serif;white-space:nowrap;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
#raspisanie .session-prefix{font-size:13px;color:#60685f;font-weight:400;letter-spacing:0}
#raspisanie .session--match .session-time{color:#af251c;text-decoration:underline;text-decoration-color:#e52e2570;text-decoration-thickness:2px;text-underline-offset:5px}
#raspisanie .session--other .session-time{color:#656c63;font-weight:400}
#raspisanie .group-action{grid-column:auto;grid-row:auto;justify-self:stretch;align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:12px 13px;border:1px solid #a4aea1;font-size:12px;line-height:1.4;white-space:nowrap;background:transparent;color:var(--ink);transition:background .18s,border-color .18s,color .18s}
#raspisanie .group-action svg{width:18px;height:18px}
#raspisanie .group-action:hover{background:#202423;color:white;border-color:#202423}
#raspisanie .empty-groups{display:block;padding:36px 20px;border-bottom:1px solid #c9cfc5}
.empty-groups-actions{display:flex;align-items:center;gap:14px 24px;flex-wrap:wrap;margin-top:18px}
#raspisanie .empty-groups h3{font:500 21px/1.4 Onest,Arial,sans-serif;margin-bottom:10px;max-width:40ch}
#raspisanie .empty-groups p{font-size:14px;color:#596259;max-width:65ch}
#raspisanie .empty-groups a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:5px}
#raspisanie .empty-groups button{min-height:44px}
.schedule-footnote{font-size:12px;line-height:1.7;color:#5c655c;margin-top:16px;max-width:90ch}
#raspisanie .schedule-help{display:flex;justify-content:flex-start;align-items:center;gap:32px;padding:26px 28px;background:#e4e7df;margin-top:28px;border:0}
#raspisanie .schedule-help h3{font:500 18px/1.4 Onest,Arial,sans-serif;letter-spacing:-.02em;color:#181a1b}
#raspisanie .schedule-help p{font-size:13px;line-height:1.6;color:#535d53;margin-top:8px}
.schedule-contact{display:flex;align-items:center;gap:30px;min-height:52px;padding:4px 0 4px 12px;font-size:12px;color:#4d574e}
.schedule-contact strong{display:block;font-size:22px;line-height:1.6;font-weight:500;color:#181d19;letter-spacing:-.03em}
.schedule-contact>svg{height:42px;width:42px;padding:10px;background:var(--red);color:white;transform:skewX(-10deg)}
.schedule-contact:hover strong{text-decoration:underline;text-underline-offset:5px}
#selected-group-summary{margin:20px 0;padding:18px 20px;border:1px solid #b7beb1;background:#e9ede4;font-size:13px;line-height:1.6}
#selected-group-summary h3{font:500 16px/1.5 Onest,Arial,sans-serif;margin-bottom:7px}
#selected-group-summary p{margin-top:5px}
#selected-group-summary strong{font-weight:500}
#selected-group-summary .selected-group-label{font-size:11px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:8px;color:#5b655a}
#selected-group-summary .group-sessions{margin-top:12px;gap:8px}
#selected-group-summary .session{display:flex;justify-content:space-between;gap:24px}
#trial-dialog select[name=direction]{font-size:12px}
@media(min-width:761px){#schedule-refine::details-content{display:block!important}}
/* In the flowing list the action sits with its group, clear of the fixed helper. */
@media(min-width:901px){
  #raspisanie:not(.is-pinned-schedule) .schedule-columns,
  #raspisanie:not(.is-pinned-schedule) .group-row{grid-template-columns:minmax(0,1.2fr) minmax(205px,1fr);gap:12px 24px}
  #raspisanie:not(.is-pinned-schedule) .schedule-columns>span:last-child{display:none}
  #raspisanie:not(.is-pinned-schedule) .group-name{grid-column:1;grid-row:1}
  #raspisanie:not(.is-pinned-schedule) .group-sessions{grid-column:2;grid-row:1 / span 2}
  #raspisanie:not(.is-pinned-schedule) .group-action{grid-column:1;grid-row:2;justify-self:start;min-width:140px}
}
@media(max-width:1100px){
  .schedule-workspace{display:block}
  .schedule-filters{position:static;padding:22px}
  .schedule-hall-options{display:flex;gap:10px;flex-wrap:wrap}
  .schedule-filter-fields{grid-template-columns:minmax(140px,.7fr) minmax(260px,1.5fr) minmax(180px,.9fr);gap:20px}
  .schedule-filter-fields select[name=direction]{font-size:13px}
  #raspisanie .schedule-toolbar{padding-top:16px}
  #raspisanie .schedule-columns,#raspisanie .group-row{grid-template-columns:minmax(0,1.2fr) minmax(235px,1fr) 140px;gap:20px}
  #raspisanie .group-name h3{font-size:16px}
  #raspisanie .session-time{font-size:21px}
  #raspisanie .session{grid-template-columns:84px 1fr;gap:10px}
  .schedule-result-heading{display:block}
}
@media(max-width:900px){
  .schedule-workspace{display:block}
  .schedule-heading{gap:24px}
  .schedule-intro>p:first-child{font-size:16px}
  .schedule-filters{position:static;padding:22px}
  .schedule-hall-options{display:flex;gap:10px;flex-wrap:wrap}
  #raspisanie .schedule-toolbar{padding-top:16px}
  .schedule-filter-fields{grid-template-columns:1fr 1fr;gap:16px}
  .schedule-filter-fields select[name=direction]{font-size:14px}
  .schedule-direction{grid-column:1 / -1;grid-row:2;align-self:start}
  .schedule-time{grid-column:2;grid-row:1}
  #raspisanie .schedule-columns,#raspisanie .group-row{grid-template-columns:minmax(0,1.1fr) minmax(225px,1fr);gap:12px 24px}
  #raspisanie .schedule-columns>span:last-child{display:none}
  #raspisanie .group-action{grid-column:2;justify-self:start;min-width:160px;margin-top:2px}
  #raspisanie .group-name{grid-row:1 / span 2}
  #raspisanie .group-sessions{grid-column:2}
}
@media(max-width:760px){
  #raspisanie{padding-block:48px}
  .schedule-heading{grid-template-columns:1fr;gap:20px;margin-bottom:28px}
  #schedule-title{font-size:52px}
  .schedule-intro{justify-self:start;max-width:530px;padding:0}
  .schedule-intro>p:first-child{font-size:16px}
  .schedule-intro>p+p{font-size:12px;max-width:60ch;margin-top:10px}
  .schedule-filters{padding:18px 18px 0}
  .schedule-hall-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .schedule-hall-options label:last-child{grid-column:1 / -1}
  .schedule-hall-options label{font-size:12px}
  .schedule-hall-options span{padding:10px 8px;min-height:46px}
  .schedule-hall-options label:last-child span{min-height:40px}
  #schedule-hall-note{font-size:11px;min-height:18px}
  #schedule-refine{margin-top:14px;padding-top:0}
  #schedule-refine>summary{display:flex;font-size:12px;min-height:52px}
  .schedule-filter-fields{grid-template-columns:minmax(90px,.7fr) minmax(150px,1.1fr);gap:16px 12px;padding:4px 0 20px;align-items:end}
  .schedule-filter-fields input,.schedule-filter-fields select{font-size:16px;padding-inline:8px}
  .schedule-direction{grid-column:1 / -1;grid-row:2;align-self:auto}
  .schedule-time{grid-column:2;grid-row:1}
  .schedule-filter-fields select[name=direction]{font-size:13px}
  #age-error{margin:0 0 18px}
  #raspisanie .schedule-toolbar{padding:12px 0;gap:12px;align-items:center}
  #group-count{font-size:16px;white-space:normal}
  #schedule-context{font-size:11px;max-width:35ch}
  .schedule-result-actions{gap:6px;flex-direction:column;align-items:flex-end}
  #schedule-edit-filters,#raspisanie #reset-filters{font-size:11px;min-height:34px}
  #raspisanie .schedule-columns{display:none}
  #raspisanie .group-row{grid-template-columns:1fr;padding:22px 8px;gap:15px}
  #raspisanie .group-name,#raspisanie .group-sessions,#raspisanie .group-action{grid-column:1;grid-row:auto}
  #raspisanie .group-name h3{font-size:17px;max-width:35ch}
  #raspisanie .group-composition{font-size:13px;margin-top:6px}
  #raspisanie .group-sessions{max-width:340px;gap:7px}
  #raspisanie .session{grid-template-columns:1fr 1fr;gap:20px;padding:0}
  #raspisanie .session-time{font-size:23px}
  #raspisanie .session-days{font-size:13px}
  #raspisanie .group-action{justify-self:start;min-width:160px;margin:0;min-height:44px}
  #raspisanie .empty-groups{flex-direction:column;align-items:start;padding:28px 8px;gap:20px}
  #raspisanie .empty-groups h3{font-size:19px}
  #raspisanie .empty-groups p{font-size:13px}
  .schedule-footnote{font-size:11px;line-height:1.7}
  #raspisanie .schedule-help{align-items:start;flex-direction:column;gap:18px;padding:24px 20px;margin-top:24px}
  .schedule-contact{width:100%;justify-content:space-between;padding:0;gap:16px}
  .schedule-contact strong{font-size:21px}
  #selected-group-summary{padding:14px;margin:16px 0}
}
@media(min-width:901px) and (max-height:650px){.schedule-filters{position:static}}
@media(max-width:360px){
  #schedule-title{font-size:42px}
  .schedule-filters{padding-inline:12px}
  .schedule-hall-options label{font-size:11px}
  .schedule-filter-fields{grid-template-columns:90px minmax(0,1fr);gap:12px 8px}
  .schedule-filter-fields select{font-size:12px}
  .schedule-filter-fields select[name=direction]{font-size:13px}
  #raspisanie .group-name h3{font-size:16px}
  #raspisanie .session-time{font-size:21px}
  .schedule-result-actions{gap:0}
  #schedule-context{max-width:150px}
}
@media(prefers-reduced-motion:reduce){#raspisanie *,#raspisanie *::before,#raspisanie *::after{transition:none!important;animation:none!important}}

/* Keep the native controls, with a consistent inset for their arrows. */
#filters select,#trial-dialog select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234c554e' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px}
#filters input[type=number]{padding-right:12px}
.schedule-scroll-status{display:none}
.schedule-results[hidden], #raspisanie .schedule-help[hidden], .schedule-disclosure[hidden] { display:none!important; }
.schedule-disclosure { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:52px; padding:12px 16px; border:1px solid #747e74; color:#202720; background:transparent; font:500 14px/1.4 Onest,Arial,sans-serif; text-align:left; }
.schedule-disclosure svg { flex:none; width:20px; height:20px; }
.schedule-disclosure[aria-expanded="true"] svg { transform:rotate(45deg); }
.schedule-disclosure:focus-visible { outline:2px solid #ac241c; outline-offset:4px; }
@media(max-width:760px) {
  #raspisanie { scroll-margin-top:72px; }
  #filters { scroll-margin-top:76px; }
  .schedule-intro > p + p { display:none; }
  #schedule-toggle { margin-block:12px 18px; background:#fff; }
  #raspisanie .schedule-toolbar { position:static; }
  .schedule-collapse { margin-top:20px; }
}

/* The document supplies the scrolling distance; only the list moves in the scene. */
@media(min-width:1101px) and (min-height:700px) and (prefers-reduced-motion:no-preference){
  #raspisanie.is-pinned-schedule{padding-block:0;height:calc(100svh + var(--schedule-travel,0px) + 1px);overflow:visible;overflow-anchor:none}
  .is-pinned-schedule .schedule-wrap{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;padding-block:22px 18px}
  .is-pinned-schedule .schedule-heading{flex:none;margin-bottom:20px;gap:32px}
  .is-pinned-schedule .schedule-heading .eyebrow{margin-bottom:9px;font-size:11px}
  .is-pinned-schedule #schedule-title{font-size:clamp(46px,6.6vh,64px)}
  .is-pinned-schedule .schedule-intro{max-width:460px}
  .is-pinned-schedule .schedule-intro>p:first-child{font-size:16px;line-height:1.5}
  .is-pinned-schedule .schedule-intro>p+p{font-size:12px;line-height:1.55;margin-top:10px}
  .is-pinned-schedule .schedule-workspace{flex:1;min-height:0;grid-template-columns:328px minmax(0,1fr);gap:28px;align-items:stretch}
  .is-pinned-schedule .schedule-filters{position:static;align-self:start;padding:16px}
  .is-pinned-schedule .schedule-halls legend{margin-bottom:10px}
  .is-pinned-schedule .schedule-hall-options{grid-template-columns:1.5fr 1fr;gap:8px}
  .is-pinned-schedule .schedule-hall-options label:first-child{grid-column:1 / -1}
  .is-pinned-schedule .schedule-hall-options label{font-size:12px}
  .is-pinned-schedule .schedule-hall-options span{min-height:44px;padding:9px 8px}
  .is-pinned-schedule #schedule-hall-note{margin-top:8px;font-size:11px}
  .is-pinned-schedule #schedule-refine{margin-top:14px;padding-top:14px}
  .is-pinned-schedule .schedule-filter-fields{grid-template-columns:120px minmax(0,1fr);gap:12px}
  .is-pinned-schedule .schedule-filter-fields label{gap:6px}
  .is-pinned-schedule .schedule-filter-fields input,.is-pinned-schedule .schedule-filter-fields select{height:44px;font-size:12px}
  .is-pinned-schedule .schedule-time{grid-column:2;grid-row:1}
  .is-pinned-schedule .schedule-direction{grid-column:1 / -1;grid-row:2}
  .is-pinned-schedule .schedule-results{display:flex;flex-direction:column;min-height:0}
  #raspisanie.is-pinned-schedule .schedule-toolbar{position:static;flex:none;min-height:50px;padding-bottom:8px}
  .is-pinned-schedule #schedule-edit-filters{display:none}
  .is-pinned-schedule #schedule-time-note{flex:none;padding:8px 0;font-size:12px}
  #raspisanie.is-pinned-schedule .schedule-columns{flex:none;padding-block:12px}
  #raspisanie.is-pinned-schedule .schedule-columns,#raspisanie.is-pinned-schedule .group-row{grid-template-columns:minmax(0,1.2fr) minmax(205px,1fr) 110px;gap:16px}
  .is-pinned-schedule .schedule-list-window{flex:1;min-height:0;overflow:clip;position:relative}
  .is-pinned-schedule .schedule-list-content{display:flow-root;will-change:transform}
  #raspisanie.is-pinned-schedule .group-row{padding-block:20px}
  .is-pinned-schedule .schedule-scroll-status{display:flex;align-items:center;gap:14px;flex:none;height:30px;border-top:1px solid #aeb6ac;color:#535d53;font-size:11px}
  .is-pinned-schedule .schedule-scroll-line{height:2px;max-width:140px;flex:1;background:#cbd0c5;overflow:hidden}
  .schedule-scroll-line>span{display:block;height:100%;background:var(--red);transform:scaleX(var(--schedule-progress,0));transform-origin:left}
  .schedule-scroll-status>svg{width:16px;height:16px}
  .is-pinned-schedule.is-list-complete .schedule-scroll-status>svg{transform:rotate(180deg)}
  .is-pinned-schedule.is-short-list .schedule-scroll-line,.is-pinned-schedule.is-short-list .schedule-scroll-status>svg{visibility:hidden}
  #raspisanie.is-pinned-schedule .schedule-help{flex:none;margin-top:14px;padding:10px 16px;gap:20px}
  #raspisanie.is-pinned-schedule .schedule-help h3{font-size:16px}
  #raspisanie.is-pinned-schedule .schedule-help p{font-size:12px;margin-top:3px}
  .is-pinned-schedule .schedule-help br{display:none}
  .is-pinned-schedule .schedule-contact{min-height:44px;padding-block:0;gap:20px;font-size:11px}
  .is-pinned-schedule .schedule-contact strong{font-size:20px;line-height:1.5}
  .is-pinned-schedule .schedule-contact>svg{width:36px;height:36px;padding:8px}
}
@media(forced-colors:active){#filters select,#trial-dialog select{appearance:auto;background-image:none;padding-right:12px}}

/* learning-morning.css */
/* Open white scenes and explicit choices for the age programme. */
.learning-age { background:#fff; color:#171b1d; padding-top:clamp(56px,6.4vw,100px); scroll-margin-top:20px; }
.learning-heading { display:flex; justify-content:space-between; align-items:end; gap:40px; padding-bottom:40px; }
.learning-heading h2 { font-size:clamp(48px,5.1vw,84px); }
.learning-heading h2 span { color:transparent; -webkit-text-stroke:1px #202628; }
.learning-heading > p { max-width:340px; padding-bottom:7px; color:#505759; font-size:15px; line-height:1.65; }
.learning-heading .eyebrow { margin-bottom:20px; }
.learning-layout { display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); align-items:center; gap:28px; max-width:1760px; margin-inline:auto; padding:0 var(--gutter) 64px; }
.learning-content { min-width:0; max-width:510px; position:relative; z-index:1; }
.learning-control-label { margin:0 0 12px; font-size:14px; font-weight:600; }
.learning-disciplines { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.learning-disciplines button { display:flex; flex-direction:column; text-align:left; align-items:stretch; padding:17px 18px 14px; border:1px solid #a9b0b1; background:#fff; color:#273033; cursor:pointer; transition:background .18s,color .18s,border-color .18s; }
.learning-discipline-title { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.learning-disciplines strong { font:italic 700 35px/.95 Tall,Impact,sans-serif; }
.learning-discipline-title svg { width:22px; height:22px; opacity:0; color:#fff; }
.learning-discipline-name { margin-top:11px; font-size:12px; line-height:1.35; }
.learning-discipline-min { font-size:10px; margin-top:12px; color:#586164; }
.learning-disciplines button[aria-pressed="true"] { background:#171d20; color:#fff; border-color:#171d20; }
.learning-disciplines button[aria-pressed="true"] .learning-discipline-title svg { opacity:1; }
.learning-disciplines button[aria-pressed="true"] .learning-discipline-min { color:#cbd1d2; }
.learning-disciplines button:not([aria-pressed="true"]):hover { border-color:#171d20; background:#f3f4f2; }
.learning-age-label { margin-top:26px; }
.learning-track { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.learning-track[data-learning-track="mma"] { grid-template-columns:1fr 1fr; }
.learning-track button { border:1px solid #b8bfc0; padding:11px 8px 9px; background:#fff; color:#485255; font:italic 700 clamp(24px,2.35vw,35px)/1 Tall,Impact,sans-serif; text-align:center; white-space:nowrap; cursor:pointer; transition:background .18s,color .18s,border-color .18s; }
.learning-track button span { display:block; font:10px/1.4 Onest,Arial,sans-serif; margin-top:5px; }
.learning-track button[aria-selected="true"] { color:#fff; background:#b8231c; border-color:#b8231c; }
.learning-track button:not([aria-selected="true"]):hover { border-color:#b8231c; color:#b8231c; }
.learning-disciplines button:focus-visible,.learning-track button:focus-visible { outline:3px solid #e52e25; outline-offset:4px; }
.learning-panels { margin-top:30px; }
.learning-panel { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:22px; min-height:170px; align-items:start; }
.learning-panel:focus-visible { outline:2px solid var(--red); outline-offset:8px; }
.learning-age-number { padding-top:3px; font:italic 700 clamp(60px,5.8vw,90px)/.9 Tall,Impact,sans-serif; letter-spacing:-.025em; color:#171b1d; white-space:nowrap; }
.learning-age-number span { display:block; margin-top:12px; color:#60686a; font:11px/1.4 Onest,Arial,sans-serif; letter-spacing:0; }
.learning-description .learning-subject { display:none; }
.learning-description h3 { font-size:clamp(21px,1.9vw,27px); font-weight:500; margin:0 0 10px; line-height:1.2; }
.learning-description > p:last-child { margin:0; font-size:14px; line-height:1.65; color:#3d4649; }
.learning-match { margin-top:22px; padding-top:20px; border-top:1px solid #d2d6d4; }
.learning-selection { font-size:12px; line-height:1.5; margin:0 0 13px; color:#505a5d; }
.learning-match .button { min-height:52px; padding:13px 23px; margin-left:6px; gap:24px; font-size:13px; }
.learning-scene { width:calc(100% + 28px); margin:0 -14px; align-self:center; }
.learning-scene-stage { display:grid; align-items:center; aspect-ratio:4/3; }
.learning-scene-stage img { display:block; grid-area:1/1; width:100%; height:auto; max-height:100%; min-height:0; object-fit:contain; mask-image:linear-gradient(#000 98%,transparent); }
.learning-scene figcaption { margin:10px 20px 0; color:#697174; font-size:10px; text-align:right; }
.learning-panel.is-entering,.learning-scene-stage img.is-entering { animation:age-enter .25s ease-out both; }
@keyframes age-enter { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
@media (min-width:1101px) and (max-width:1250px) {
 .learning-layout { grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr); gap:18px; }
 .learning-panel { grid-template-columns:1fr; gap:14px; min-height:210px; }
 .learning-age-number { display:flex; align-items:baseline; gap:14px; font-size:70px; }
 .learning-age-number span { margin:0; }
}
@media (max-width:1100px) {
 .learning-heading { align-items:start; gap:26px; }
 .learning-heading h2 { font-size:clamp(44px,5.7vw,62px); }
 .learning-heading > p { max-width:230px; font-size:14px; }
 .learning-layout { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; }
 .learning-panel { grid-template-columns:1fr; gap:16px; min-height:235px; }
 .learning-age-number { display:flex; align-items:baseline; gap:14px; font-size:74px; }
 .learning-age-number span { margin:0; }
 .learning-disciplines button { padding:14px 12px; }
 .learning-track button { font-size:27px; }
}
@media (max-width:760px) {
 .learning-heading { flex-direction:column; gap:22px; padding-bottom:30px; }
 .learning-heading h2 { font-size:clamp(40px,10vw,66px); }
 .learning-heading > p { max-width:430px; margin:0; }
 .learning-heading > p br { display:none; }
 .learning-layout { grid-template-columns:1fr; gap:32px; padding-bottom:40px; }
 .learning-content { max-width:none; }
 .learning-panel { grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); min-height:165px; gap:22px; }
 .learning-age-number { display:block; font-size:clamp(65px,15vw,90px); }
 .learning-age-number span { margin-top:12px; }
 .learning-track button { font-size:clamp(24px,6vw,30px); }
 .learning-scene { width:calc(100% + 24px); margin:0 -12px; }
 .learning-scene figcaption { margin-top:5px; font-size:9px; }
}
@media (max-width:390px) {
 .learning-panel { grid-template-columns:1fr; gap:16px; min-height:235px; }
 .learning-age-number { display:flex; align-items:baseline; gap:14px; font-size:72px; }
 .learning-age-number span { margin:0; }
 .learning-track { gap:6px; }
 .learning-track button { font-size:clamp(24px,7vw,26px); padding-inline:4px; }
 .learning-track button span { font-size:9px; }
 .learning-match .button { font-size:12px; padding-inline:16px; gap:16px; }
}
@media (prefers-reduced-motion:reduce) {
 .learning-panel.is-entering,.learning-scene-stage img.is-entering { animation:none; }
 .learning-disciplines button,.learning-track button { transition:none; }
}


/* Age is the graphic, daylight is the morning's setting. Both photographs are documentary. */
.school-principles.school-principles--pair { grid-template-columns: 1fr 1fr; }
.school-principles.school-principles--pair article:last-child { grid-column: auto; max-width: none; }

@media (max-width: 480px) { .school-principles.school-principles--pair { grid-template-columns: 1fr; } }

/* morning-training.css */
/* Two open graphite scenes. Sticky is an enhancement; ordinary flow is the fallback. */
.morning-training {
  position: relative;
  isolation: isolate;
  color: #171b1d;
  background: #fff;
  scroll-margin-top: -24px;
}
.morning-stage { position: relative; overflow: clip; background: #fff; }
.morning-slides { position: relative; }
.morning-slide { width: 100%; }
.morning-scroll-cue { display: none; }
.morning-layout {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  align-items: center;
  gap: clamp(20px, 2.4vw, 46px);
  max-width: 1920px;
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-block: clamp(72px, 8vh, 112px);
}
.morning-copy { position: relative; z-index: 1; min-width: 0; }
.morning-copy .eyebrow { max-width: 430px; margin: 0 0 24px; font-size: 10px; line-height: 1.6; letter-spacing: .055em; }
.morning-copy h2 { margin: 0; font-size: clamp(62px, 5.55vw, 100px); line-height: .96; letter-spacing: -.02em; }
.morning-copy h2 em { display: inline-block; margin-top: 7px; color: #bd2921; font-size: 1.19em; }
.morning-promise { margin: 21px 0 0; font-size: clamp(18px, 1.55vw, 27px); line-height: 1.35; letter-spacing: -.025em; }
.morning-details { max-width: 420px; margin-top: 29px; }
.morning-audience { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 500; }
.morning-description { margin: 8px 0 0; color: #515a5c; font-size: 14px; line-height: 1.65; }
.morning-schedule { max-width: 420px; margin-top: 27px; }
.morning-hours { display: flex; align-items: center; gap: 22px; padding-bottom: 17px; }
.morning-time { display: flex; align-items: baseline; gap: 9px; margin: 0; white-space: nowrap; font: 500 clamp(25px, 2.15vw, 34px)/1.1 Onest, Arial, sans-serif; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.morning-time > span { color: #bd2921; font-weight: 400; font-size: .76em; }
.morning-duration { margin: 0; border-left: 1px solid #ccd0cf; padding-left: 18px; color: #596265; font-size: 11px; line-height: 1.5; }
.morning-days { margin: 0; border-top: 1px solid #cdd2cf; }
.morning-days > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid #dce0dd; padding: 11px 0; }
.morning-days dt { font-size: 12px; line-height: 1.5; }
.morning-days dd { margin: 0; font-size: 12px; line-height: 1.5; font-weight: 500; white-space: nowrap; }
.morning-action { margin-top: 27px; }
.morning-cta { min-height: 54px; max-width: calc(100% - 14px); margin-left: 7px; padding: 13px 22px; gap: 23px; font-size: 13px; line-height: 1.4; }
.morning-cta::before { background: #bd2921; }
.morning-cta svg { flex-shrink: 0; width: 36px; padding-left: 14px; }
.morning-cta:focus-visible { outline: 2px solid #bd2921; outline-offset: 7px; }
.morning-price-note { max-width: 420px; margin: 15px 0 0; color: #687174; font-size: 10px; line-height: 1.5; }
.morning-scene { position: relative; min-width: 0; width: calc(100% + var(--gutter) + 26px); margin: 0 0 0 -26px; align-self: center; }
.morning-scene img { display: block; width: 100%; height: auto; }
.morning-scene figcaption { display: flex; justify-content: flex-end; gap: 12px; margin: 18px var(--gutter) 0 0; color: #677174; font-size: 10px; line-height: 1.5; }
.morning-scene figcaption > span { color: #bd2921; }

@media (min-width: 901px) and (min-height: 680px) and (prefers-reduced-motion: no-preference) {
  .morning-training.is-scroll-ready { height: calc(var(--morning-stage-height) + var(--morning-scroll-distance)); }
  .is-scroll-ready .morning-stage { position: sticky; top: 0; }
  .is-scroll-ready .morning-slides { display: grid; }
  .is-scroll-ready .morning-slide { grid-area: 1 / 1; }
  .is-scroll-ready .morning-slide--mma .morning-scene img { opacity: var(--morning-mix, 0); }
  .is-scroll-ready .morning-slide:first-child .morning-scene figcaption { opacity: var(--morning-first-copy, 1); }
  .is-scroll-ready .morning-slide--mma .morning-scene figcaption { opacity: var(--morning-second-copy, 0); }
  .is-scroll-ready .morning-slide:first-child .morning-copy { opacity: var(--morning-first-copy, 1); }
  .is-scroll-ready .morning-slide--mma .morning-copy { opacity: var(--morning-second-copy, 0); }
  .is-scroll-ready .morning-slide[aria-hidden="true"] { pointer-events: none; }
  .is-scroll-ready .morning-scroll-cue { position: absolute; right: var(--gutter); bottom: 24px; display: flex; align-items: center; gap: 11px; color: #687174; font-size: 9px; line-height: 1; font-variant-numeric: tabular-nums; }
  .morning-scroll-line { width: 80px; height: 1px; background: #d8dcda; }
  .morning-scroll-line > span { display: block; width: 100%; height: 100%; background: #bd2921; transform: scaleX(var(--morning-progress, 0)); transform-origin: left; }
}

@media (min-width: 901px) and (max-width: 1150px) {
  .morning-layout { grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); gap: 24px; }
  .morning-scene { margin-left: 0; width: calc(100% + var(--gutter)); }
  .morning-copy .eyebrow { max-width: 310px; font-size: 9px; }
  .morning-copy h2 { font-size: 61px; }
  .morning-hours { gap: 16px; }
  .morning-duration { padding-left: 14px; }
  .morning-cta { gap: 14px; padding-inline: 18px; font-size: 12px; }
}
@media (min-width: 901px) and (max-height: 780px) {
  .morning-layout { padding-block: 54px; }
  .morning-copy .eyebrow { margin-bottom: 18px; }
  .morning-copy h2 { font-size: clamp(60px, 5.1vw, 85px); }
  .morning-promise { margin-top: 18px; }
  .morning-details { margin-top: 22px; }
  .morning-schedule { margin-top: 23px; }
  .morning-action { margin-top: 22px; }
}
@media (max-width: 900px) {
  .morning-layout { grid-template-columns: 1fr; gap: 26px; padding-block: 76px 40px; }
  .morning-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .morning-copy > .eyebrow, .morning-copy > h2, .morning-promise { grid-column: 1 / -1; }
  .morning-copy .eyebrow { max-width: none; }
  .morning-copy h2 { font-size: clamp(64px, 8.4vw, 76px); }
  .morning-details { grid-column: 1; margin-top: 28px; }
  .morning-schedule { grid-column: 2; grid-row: 4 / 6; margin-top: 28px; }
  .morning-time { font-size: 26px; gap: 6px; }
  .morning-hours { flex-wrap: wrap; gap: 10px 18px; }
  .morning-duration { border: 0; padding: 0; }
  .morning-duration br { display: none; }
  .morning-action { grid-column: 1; margin-top: 22px; }
  .morning-cta { gap: 12px; padding-inline: 16px; font-size: 12px; }
  .morning-scene { width: calc(100% + 2 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); }
  .morning-scene figcaption { margin-top: 4px; }
  .morning-slide--mma .morning-copy { display: block; }
  .morning-slide--mma .morning-details { max-width: 460px; }
}
@media (max-width: 600px) {
  .morning-layout { gap: 30px; padding-block: 78px 30px; }
  .morning-copy { display: block; }
  .morning-copy .eyebrow { max-width: 290px; margin-bottom: 23px; font-size: 9px; line-height: 1.65; }
  .morning-copy h2 { font-size: clamp(49px, 10.9vw, 65px); }
  .morning-copy h2 em { margin-top: 5px; font-size: 1.2em; }
  .morning-promise { margin-top: 19px; font-size: 18px; }
  .morning-details { max-width: 380px; margin-top: 26px; }
  .morning-audience { font-size: 15px; }
  .morning-description { font-size: 13px; }
  .morning-schedule { max-width: none; margin-top: 27px; }
  .morning-hours { flex-wrap: nowrap; gap: 18px; padding-bottom: 16px; }
  .morning-time { font-size: 28px; gap: 7px; }
  .morning-duration { border-left: 1px solid #ccd0cf; padding-left: 18px; font-size: 10px; }
  .morning-duration br { display: initial; }
  .morning-action { margin-top: 25px; }
  .morning-cta { min-height: 54px; padding-inline: 20px; font-size: 12px; gap: 20px; }
  .morning-price-note { max-width: 285px; margin-top: 14px; }
  .morning-scene { width: calc(100% + 2 * var(--gutter)); }
  .morning-scene figcaption { justify-content: center; gap: 9px; margin: 9px 12px 0; font-size: 9px; }
}
@media (max-width: 360px) {
  .morning-copy h2 { font-size: 43px; }
  .morning-time { font-size: 25px; }
  .morning-hours { gap: 14px; }
  .morning-duration { padding-left: 14px; }
  .morning-cta { padding-inline: 16px; gap: 14px; }
}


/* learning-age-scroll.css */
/* An open scene and a native scroll chapter for every age programme. */
.age-story {
  color: #171b1d;
  background: #fff;
  padding: 0;
  scroll-margin-top: 0;
}
.age-story-scroll { position: relative; overflow: visible; }
.age-story-stage {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  gap: 40px;
  width: 100%;
  max-width: 1760px;
  min-width: 0;
  min-height: 0;
  margin-inline: auto;
  padding: 64px var(--gutter) 60px;
  box-sizing: border-box;
  overflow: visible;
}
.age-story-stage:focus { outline: none; }
.age-story-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  min-width: 0;
}
.age-story-heading .eyebrow { margin: 0 0 12px; font-size: 10px; }
.age-story-heading h2 {
  margin: 0;
  font: italic 700 clamp(46px, 4.6vw, 70px)/1.02 Tall, Impact, sans-serif;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.age-story-heading h2 > span { color: transparent; -webkit-text-stroke: 1px #252d30; }
.age-story-intro { margin: 0 0 4px; max-width: 260px; font-size: 14px; line-height: 1.6; color: #586164; }
.age-story-slides { display: grid; gap: 44px; min-width: 0; min-height: 0; }
.age-story-slide {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  align-items: center;
  column-gap: 30px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 36px 0;
}
.age-story:not(.is-enhanced) .age-story-slide + .age-story-slide { border-top: 1px solid #dce0dd; }
.age-story-copy { min-width: 0; max-width: 460px; align-self: center; }
.age-story-discipline { display: flex; align-items: center; gap: 14px; margin: 0; }
.age-story-discipline strong { color: #bd2921; font: italic 700 27px/1 Tall, Impact, sans-serif; }
.age-story-discipline > span { font-size: 11px; line-height: 1.4; color: #586164; }
.age-story-age { display: flex; align-items: center; gap: 22px; margin: 22px 0 24px; }
.age-story-age > strong { font: italic 700 clamp(92px, 8.5vw, 130px)/.9 Tall, Impact, sans-serif; letter-spacing: -.025em; white-space: nowrap; }
.age-story-age > span { font-size: 11px; line-height: 1.6; color: #586164; }
.age-story-copy h3 { margin: 0; max-width: 450px; font-size: 25px; font-weight: 500; line-height: 1.22; letter-spacing: -.025em; }
.age-story-text { margin: 14px 0 0; max-width: 430px; font-size: 15px; line-height: 1.6; color: #424d50; }
.age-story-copy .button { min-height: 52px; max-width: calc(100% - 14px); margin: 24px 7px 0; padding: 13px 22px; gap: 24px; font-size: 13px; line-height: 1.4; }
.age-story-copy .button svg { flex-shrink: 0; width: 38px; padding-left: 14px; }
.age-story-note { margin: 11px 0 0; font-size: 10px; line-height: 1.45; color: #667174; }
.age-story-scene {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 0;
  width: 100%;
  margin: 0;
  align-self: stretch;
}
.age-story-scene img { display: block; width: 100%; height: auto; max-width: 100%; max-height: 620px; min-width: 0; min-height: 0; object-fit: contain; object-position: center; }
/* Lift the slight paper tint so pencil vignettes merge into the white page. */
.age-story-scene img[src*="-pencil-"] { filter: brightness(1.03); }
.age-story-scene figcaption { margin: 8px 0 0; width: fit-content; text-align: left; font-size: 9px; line-height: 1.4; color: #737c7e; }

/* The grid reserves a stable place for all scenes, without clipping text. */
.age-story.is-enhanced .age-story-stage { grid-template-rows: auto minmax(0, 1fr); gap: 24px; padding-block: 36px 24px; }
.age-story-scroll.is-pinned { height: var(--age-scroll-height); overflow-anchor: none; }
.age-story-scroll.is-pinned .age-story-stage { position: sticky; top: 0; height: 100svh; }
.age-story.is-enhanced .age-story-slides { gap: 0; height: 100%; }
.age-story.is-enhanced .age-story-slide {
  grid-area: 1 / 1;
  height: 100%;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility 0s .24s;
}
.age-story.is-enhanced .age-story-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.age-story.is-enhanced .age-story-scene { height: 100%; grid-template-rows: minmax(0, 1fr) auto; align-content: stretch; }
.age-story.is-enhanced .age-story-scene img { height: 100%; max-height: none; }
/* A decorative image scale is paint overflow, not extra reading height.
   Ignore it during the synchronous fit check; keep real text overflow. */
.age-story-stage[data-motion-measuring] .age-story-scene img { transform: none !important; }

@media (min-width: 900px) and (max-height: 800px) {
  .age-story.is-enhanced .age-story-stage { padding-block: 28px 20px; gap: 18px; }
  .age-story-heading .eyebrow { margin-bottom: 8px; font-size: 9px; }
  .age-story-heading h2 { font-size: 50px; }
  .age-story-intro { font-size: 13px; }
  .age-story-discipline strong { font-size: 25px; }
  .age-story-age { margin: 15px 0 18px; gap: 18px; }
  .age-story-age > strong { font-size: 104px; }
  .age-story-copy h3 { font-size: 24px; }
  .age-story-text { margin-top: 12px; font-size: 14px; line-height: 1.57; }
  .age-story-copy .button { min-height: 50px; margin-top: 18px; padding-block: 12px; }
  .age-story-note { margin-top: 9px; }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .age-story-slide { column-gap: 22px; }
  .age-story-copy h3 { font-size: 22px; }
  .age-story-age { gap: 15px; }
  .age-story-age > strong { font-size: 94px; }
  .age-story-copy .button { gap: 16px; font-size: 12px; padding-inline: 18px; }
}

@media (max-width: 899px) {
  .age-story-stage { gap: 30px; padding-block: 40px; }
  .age-story-heading { align-items: start; gap: 16px; }
  .age-story-heading h2 { font-size: clamp(32px, 6vw, 48px); }
  .age-story-heading .eyebrow { margin-bottom: 8px; font-size: 9px; }
  .age-story-intro { max-width: 170px; font-size: 12px; }
  .age-story-slide { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 16px; padding-block: 26px; }
  .age-story-copy { width: 100%; max-width: 560px; align-self: start; }
  .age-story-discipline { gap: 10px; }
  .age-story-discipline strong { font-size: 22px; }
  .age-story-discipline > span { font-size: 10px; }
  .age-story-age { margin: 12px 0 14px; gap: 18px; }
  .age-story-age > strong { font-size: 66px; }
  .age-story-age > span { font-size: 10px; line-height: 1.5; }
  .age-story-copy h3 { font-size: 22px; line-height: 1.2; }
  .age-story-text { max-width: 520px; margin-top: 10px; font-size: 14px; line-height: 1.5; }
  .age-story-copy .button { min-height: 46px; margin-top: 15px; padding: 10px 19px; gap: 22px; font-size: 12px; }
  .age-story-copy .button svg { width: 34px; padding-left: 12px; }
  .age-story-note { margin-top: 8px; font-size: 9px; }
  .age-story-scene { min-height: 180px; }
  .age-story-scene img { max-height: 380px; }
  .age-story-scene figcaption { font-size: 8px; margin-top: 4px; }
  .age-story.is-enhanced .age-story-stage { gap: 12px; padding-block: 20px 12px; }
  .age-story.is-enhanced .age-story-slide { grid-template-rows: auto minmax(180px, 1fr); gap: 10px; }
  .age-story.is-enhanced .age-story-copy { max-width: 640px; }
  .age-story.is-enhanced .age-story-note { display: none; }
}

@media (max-width: 600px) {
  .age-story-heading { display: block; }
  .age-story-intro { display: none; }
  .age-story-heading h2 { font-size: clamp(32px, 8.5vw, 44px); }
  .age-story-discipline strong { font-size: 21px; }
  .age-story-age { margin: 10px 0 12px; gap: 16px; }
  .age-story-age > strong { font-size: 60px; }
  .age-story-copy h3 { font-size: 20px; }
  .age-story-text { margin-top: 9px; font-size: 13px; line-height: 1.5; }
  .age-story-copy .button { min-height: 44px; margin-top: 13px; padding-block: 10px; }
  .age-story-scene img { max-height: 300px; }
  .age-story.is-enhanced .age-story-scene img { max-height: none; }
  .age-story.is-enhanced .age-story-slide { grid-template-rows: auto minmax(180px, 1fr); }
}

@media (max-width: 360px) {
  .age-story-stage { padding-top: 64px; }
  .age-story.is-enhanced .age-story-stage { padding-block: 64px 10px; gap: 10px; }
  .age-story-heading .eyebrow { margin-bottom: 6px; }
  .age-story-heading h2 { font-size: 32px; }
  .age-story-discipline strong { font-size: 19px; }
  .age-story-discipline > span { font-size: 9px; }
  .age-story-age { margin: 8px 0 10px; gap: 14px; }
  .age-story-age > strong { font-size: 54px; }
  .age-story-age > span { font-size: 9px; }
  .age-story-copy h3 { font-size: 19px; }
  .age-story-text { margin-top: 8px; font-size: 12.5px; line-height: 1.45; }
  .age-story-copy .button { margin-top: 12px; padding-inline: 16px; gap: 16px; font-size: 11px; }
  .age-story.is-enhanced .age-story-slide { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .age-story *, .age-story *::before, .age-story *::after { animation: none !important; transition: none !important; }
}

/* The low first-age composition needs a modest desktop scale adjustment. */
@media (min-width: 900px) {
  .age-story-slide[data-age-step="0"] .age-story-scene img { transform: scale(1.04); transform-origin: right center; }
}
@media (min-width: 1100px) {
  .age-story-slide[data-age-step="0"] .age-story-scene img { transform: scale(1.08); }
}

/* school-trust.css */
/* Two additions to the existing page: school principles and sourced voices. */
.school-values { display:grid; grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr); gap:clamp(52px,7vw,124px); background:#f2f3ee; color:var(--ink); padding-block:88px 80px; scroll-margin-top:24px; }
.values-intro { min-width:0; position:relative; }
.values-intro .eyebrow { color:#555e58; margin-bottom:28px; }
.school-values h2 { font-size:clamp(64px,6.1vw,98px); line-height:1.03; letter-spacing:-.015em; }
.school-values h2 em { color:transparent; -webkit-text-stroke:1px #2b302d; }
.values-illustration { width:clamp(245px,24vw,365px); margin:28px 0 -8px 44px; }
.values-illustration img { width:100%; height:auto; }
.values-principles { align-self:center; min-width:0; }
.values-principle { display:grid; grid-template-columns:82px minmax(0,1fr); gap:20px; padding:29px 0 31px; border-top:1px solid #b8bfb7; }
.values-principle:first-child { border-top:2px solid #ac2921; }
.values-principle:last-child { padding-bottom:0; }
.values-label { margin:6px 0 0; font-size:10px; line-height:1.5; text-transform:uppercase; letter-spacing:.075em; color:#7d3029; }
.values-principle h3 { font-size:clamp(23px,1.95vw,30px); line-height:1.25; letter-spacing:-.035em; }
.values-principle div > p { margin-top:12px; color:#515a53; font-size:16px; line-height:1.7; max-width:44ch; }
.school-values.is-revealed .values-illustration { animation:values-welcome .75s cubic-bezier(.2,.7,.2,1) both; }
@keyframes values-welcome { from { opacity:.65; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }

.school-reviews { background:#e6e9e2; color:var(--ink); padding-block:86px 94px; scroll-margin-top:24px; }
.reviews-heading { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:60px; align-items:end; padding-bottom:52px; border-bottom:1px solid #aeb7aa; }
.reviews-heading .eyebrow { color:#5c665b; margin-bottom:24px; }
.reviews-heading h2 { font-size:clamp(64px,6.2vw,100px); letter-spacing:-.015em; }
.reviews-heading h2 em { color:transparent; -webkit-text-stroke:1px #292f29; }
.reviews-source { justify-self:end; padding-bottom:6px; }
.reviews-source p { color:#505c50; font-size:15px; line-height:1.65; }
.reviews-source .text-link { margin-top:17px; color:#232b24; }
.reviews-source .text-link:hover { color:#9d211c; }
.reviews-quotes { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); gap:clamp(54px,9vw,152px); padding-top:49px; }
.review { margin:0; min-width:0; }
.review-quote-mark { display:block; font-family:Tall,Impact,sans-serif; font-size:74px; font-style:italic; line-height:.6; color:#b22921; margin-bottom:22px; }
.review blockquote { margin:0; }
.review blockquote p { font-size:clamp(24px,2.2vw,34px); line-height:1.35; letter-spacing:-.04em; }
.review-featured blockquote p { font-size:clamp(34px,3.35vw,54px); line-height:1.25; max-width:13ch; }
.review figcaption { margin-top:27px; display:flex; flex-direction:column; align-items:flex-start; }
.review-author { font-size:14px; font-weight:500; line-height:1.5; }
.review time { margin-top:4px; color:#5b6559; font-size:12px; line-height:1.5; }
.review figcaption a { display:inline-flex; gap:12px; align-items:center; min-height:44px; margin-top:6px; color:#525f50; font-size:12px; text-decoration:underline; text-underline-offset:4px; text-decoration-color:#8b9787; }
.review figcaption a:hover { color:#9d211c; text-decoration-color:currentColor; }
.reviews-secondary .review + .review { border-top:1px solid #acb5a7; margin-top:28px; padding-top:32px; }
.reviews-secondary .review-quote-mark { font-size:52px; margin-bottom:15px; }
.reviews-secondary .review figcaption { margin-top:19px; }
.school-reviews.is-revealed .review-quote-mark { animation:review-mark .6s ease-out both; }
@keyframes review-mark { from { transform:translateX(-8px); } to { transform:translateX(0); } }
@media (min-width:1000px) and (max-width:1199px) {
 .school-values { gap:45px; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
 .school-values h2 { font-size:64px; }
 .values-principle { grid-template-columns:1fr; gap:9px; padding-block:24px; }
 .values-label { margin:0; }
 .values-principle div > p { font-size:15px; }
 .values-illustration { margin-left:18px; width:300px; }
}
@media (max-width:999px) {
 .school-values { grid-template-columns:1fr; gap:35px; padding-block:64px; }
 .values-intro { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:0 25px; align-items:center; }
 .values-intro .eyebrow { grid-column:1; }
 .school-values h2 { font-size:clamp(54px,7.5vw,72px); }
 .values-illustration { grid-column:2; grid-row:1 / span 2; margin:0; width:100%; max-width:300px; justify-self:end; }
 .values-principle { grid-template-columns:100px minmax(0,1fr); gap:28px; padding-block:25px; }
 .values-principle h3 { font-size:26px; }
 .values-principle div > p { max-width:60ch; }
 .school-reviews { padding-block:64px 72px; }
 .reviews-heading { gap:36px; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); }
 .reviews-heading h2 { font-size:clamp(48px,7vw,66px); }
 .reviews-source p { font-size:13px; }
 .reviews-source .text-link { font-size:13px; }
 .reviews-quotes { gap:52px; }
 .review-featured blockquote p { font-size:36px; }
 .review blockquote p { font-size:25px; }
 .review-featured blockquote p { font-size:36px; }
}
@media (max-width:599px) {
 .school-values { padding-block:48px 55px; gap:26px; }
 .values-intro { display:block; }
 .values-intro .eyebrow { margin-bottom:22px; }
 .school-values h2 { font-size:clamp(44px,12vw,65px); }
 .values-illustration { width:220px; max-width:75%; margin:18px 0 0; }
 .values-principle { grid-template-columns:1fr; gap:9px; padding-block:23px; }
 .values-label { margin:0; font-size:10px; }
 .values-principle h3 { font-size:24px; max-width:22ch; }
 .values-principle div > p { font-size:15px; margin-top:10px; line-height:1.7; }
 .school-reviews { padding-block:49px 58px; }
 .reviews-heading { grid-template-columns:1fr; gap:26px; padding-bottom:32px; }
 .reviews-heading .eyebrow { margin-bottom:21px; }
 .reviews-heading h2 { font-size:clamp(45px,12vw,64px); }
 .reviews-source { justify-self:start; padding:0; }
 .reviews-source p { font-size:14px; }
 .reviews-source .text-link { margin-top:13px; }
 .reviews-quotes { grid-template-columns:1fr; gap:34px; padding-top:35px; }
 .review-featured blockquote p { font-size:36px; max-width:15ch; }
 .review-quote-mark { font-size:64px; margin-bottom:20px; }
 .review figcaption { margin-top:22px; }
 .reviews-secondary { border-top:1px solid #acb5a7; padding-top:32px; }
 .reviews-secondary .review + .review { margin-top:25px; padding-top:29px; }
 .review blockquote p { font-size:25px; }
 .review-featured blockquote p { font-size:36px; }
}
@media (prefers-reduced-motion:reduce) { .school-values *, .school-reviews * { animation:none!important; transition:none!important; } }

/* reviews.css */
/* Height-aware review cards; full-colour originals remain in the reader. */
#otzyvy.school-reviews { --review-gap:24px; --review-columns:3; --review-photo-max:320px; --review-photo-height:240px; --review-card-max:clamp(220px,calc(var(--review-photo-height) + 20px),340px); min-height:100svh; display:flex; flex-direction:column; gap:20px; background:#f0f0ed; color:#181a1b; padding-block:40px 24px; overflow:hidden; }
.school-reviews .reviews-heading { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:18px 32px; padding-bottom:0; border:0; }
#otzyvy .reviews-heading .eyebrow { color:#5c5d5b; margin:0 0 10px; font-size:12px; }
.school-reviews h2 { color:#181a1b; font-size:clamp(42px,6svh,64px); line-height:1; letter-spacing:-.015em; }
.school-reviews h2 em { color:inherit; -webkit-text-stroke:0; }
.school-reviews .reviews-source-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; max-width:100%; padding:0 6px 6px; }
.reviews-source-link { position:relative; isolation:isolate; display:inline-flex; flex-shrink:0; align-items:center; justify-content:center; min-height:54px; margin:0 6px 6px; padding:10px 23px; color:#fff; font-size:14px; font-weight:500; white-space:nowrap; }
.reviews-source-actions .reviews-source-link { margin:0; }
.reviews-source-link::before { content:''; position:absolute; inset:0; z-index:-1; transform:skewX(-12deg); border:1px solid #bc241b; background:#bc241b; transition:background .2s; }
.reviews-source-link:hover::before { background:#a6241e; }
.reviews-source-link:hover { color:#fff; }
.reviews-source-link:focus-visible { outline:2px solid #181a1b; outline-offset:7px; }
.reviews-source-link--yandex { color:#303332; }
.reviews-source-link--yandex::before { border-color:#555856; background:transparent; }
.reviews-source-link--yandex:hover::before { background:#303332; }
.reviews-gallery { position:relative; width:100%; max-width:calc(var(--review-columns)*var(--review-card-max) + (var(--review-columns) - 1)*var(--review-gap) + 2*var(--gutter)); container-type:inline-size; margin:auto; }
.reviews-track { --review-card-width:min(var(--review-card-max),calc((100cqw - 2*var(--gutter) - (var(--review-columns) - 1)*var(--review-gap))/var(--review-columns))); display:flex; align-items:stretch; gap:var(--review-gap); overflow-x:auto; padding:4px calc((100% - var(--review-card-width))/2) 6px; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#a4a7a1 transparent; overscroll-behavior-x:contain; }
.reviews-track:focus-visible { outline:2px solid #b92a23; outline-offset:-2px; }
.school-reviews.is-enhanced .reviews-track { cursor:grab; scrollbar-width:none; scroll-snap-type:none; }
.school-reviews.is-enhanced .reviews-track::-webkit-scrollbar { display:none; }
.school-reviews .reviews-track.is-dragging { cursor:grabbing; scroll-snap-type:none; user-select:none; }
.parent-review { position:relative; flex:0 0 var(--review-card-width); min-width:0; display:flex; margin:0; scroll-snap-align:center; }
/* The moving rail supplies the transition; page entrances must not hide incoming cards. */
#otzyvy.is-enhanced .parent-review { opacity:1!important; translate:none!important; }
.parent-review-surface { --review-corner:20px; position:relative; isolation:isolate; width:100%; display:flex; flex-direction:column; padding:10px; color:#303331; }
.parent-review-surface::before { content:''; position:absolute; inset:0; z-index:-1; background:#fff; clip-path:polygon(0 0,calc(100% - var(--review-corner)) 0,100% var(--review-corner),100% 100%,0 100%); transition:background .3s; }
.parent-review.is-current .parent-review-surface { color:#fff; }
.parent-review.is-current .parent-review-surface::before { background:#303332; }
/* A parallel inner cut keeps the 10px frame along the diagonal as well. */
.parent-review-media { --review-photo-corner:calc(var(--review-corner) - 6px); position:relative; height:min(var(--review-photo-height),calc(var(--review-card-width) - 20px)); flex-shrink:0; background:#dedfd8; clip-path:polygon(0 0,calc(100% - var(--review-photo-corner)) 0,100% var(--review-photo-corner),100% 100%,0 100%); overflow:hidden; }
.parent-review-photo { display:block; width:100%; height:100%; position:absolute; inset:0; object-fit:var(--review-photo-fit,contain); object-position:var(--review-photo-position,50% 50%); filter:grayscale(1) sepia(.12) contrast(.94); pointer-events:none; }
.parent-review-image-open { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; background:transparent; color:#fff; cursor:zoom-in; }
.parent-review-image-open svg { position:absolute; right:8px; bottom:8px; width:30px; height:30px; padding:6px; background:rgb(24 26 27 / 78%); }
.parent-review-copy { flex:1; display:flex; flex-direction:column; padding:14px 12px 6px; }
.parent-review-name { margin:0; color:inherit; font:500 1.125rem/1.3 Onest,Arial,sans-serif; letter-spacing:-.025em; text-transform:none; overflow-wrap:anywhere; }
.parent-review-meta { margin:7px 0 0; font-size:13px; line-height:1.5; color:#656763; }
.parent-review.is-current .parent-review-meta { color:#d3d5d0; }
.parent-review blockquote { margin:10px 0 0; }
.parent-review blockquote p { margin:0; font-size:.9375rem; line-height:1.5; letter-spacing:-.01em; white-space:pre-line; overflow-wrap:anywhere; }
.school-reviews.is-readable .parent-review blockquote p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; overflow:hidden; height:4.5em; }
.school-reviews.is-readable .parent-review-top { min-height:2.6em; font-size:1.125rem; }
.parent-review-select { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:44px; margin-top:12px; padding:8px 0 4px; border:0; border-top:1px solid #d9dbd5; background:none; color:inherit; text-align:left; font:500 13px/1.5 Onest,Arial,sans-serif; cursor:pointer; }
.parent-review-select svg { width:22px; height:22px; flex-shrink:0; transition:transform .2s; }
.parent-review.is-current .parent-review-select { border-color:#646763; }
.parent-review-select:hover svg { transform:translateX(4px); }
.parent-review-select:focus-visible { outline:2px solid currentColor; outline-offset:5px; }
.parent-review [hidden] { display:none; }

html.review-reader-open { overflow:hidden; }
dialog.review-reader { width:min(1080px,calc(100% - 48px)); max-width:none; max-height:calc(100dvh - 48px); margin:auto; padding:0; border:0; color:#242724; background:#fff; box-shadow:0 20px 80px rgb(0 0 0 / 24%); overflow:hidden; }
.review-reader::backdrop { background:rgb(0 0 0 / 72%); }
.review-reader-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 24px; border-bottom:1px solid #e3e4df; font-size:13px; color:#5b5f59; }
.review-reader-close { display:grid; place-items:center; flex-shrink:0; width:44px; height:44px; padding:0; border:1px solid #b7bbb1; background:transparent; color:#242724; }
.review-reader-close svg { width:22px; height:22px; }
.review-reader-close:hover { background:#f0f0ed; }
.review-reader :is(a,button):focus-visible { outline:2px solid #bc241b; outline-offset:3px; }
.review-reader-scroll { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); align-items:start; gap:36px; padding:28px; max-height:calc(100dvh - 117px); overflow-y:auto; overscroll-behavior:contain; }
.review-reader-figure { position:sticky; top:0; margin:0; min-width:0; }
.review-reader-photo { display:block; width:100%; height:min(560px,calc(100dvh - 280px)); object-fit:contain; background:#f0f0ed; }
.review-reader-image-link { display:flex; align-items:center; justify-content:center; gap:10px; min-height:44px; margin-top:12px; font-size:13px; line-height:1.5; text-decoration:underline; text-underline-offset:3px; color:#53574f; }
.review-reader-image-link svg { width:18px; height:18px; flex-shrink:0; }
.review-reader-thumbs { display:flex; justify-content:center; gap:10px; margin-top:14px; }
.review-reader-thumbs[hidden] { display:none; }
.review-reader-thumbs button { width:52px; height:62px; border:2px solid transparent; padding:3px; background:#f0f0ed; }
.review-reader-thumbs button[aria-pressed="true"] { border-color:#bc241b; }
.review-reader-thumbs img { width:100%; height:100%; object-fit:contain; }
.review-reader-copy { min-width:0; padding:8px 8px 20px 0; }
.review-reader-copy h3 { margin:0; font:500 clamp(24px,2.3vw,32px)/1.25 Onest,Arial,sans-serif; text-transform:none; letter-spacing:-.03em; overflow-wrap:anywhere; }
.review-reader-meta { color:#63675e; font-size:14px; line-height:1.5; margin:10px 0 0; }
.review-reader-copy blockquote { margin:24px 0 0; }
.review-reader-text { margin:0; font-size:17px; line-height:1.75; white-space:pre-line; overflow-wrap:anywhere; }
@media (max-width:1100px) { #otzyvy.school-reviews { --review-columns:2; } }
@media (max-width:700px) {
 #otzyvy.school-reviews { --review-columns:1; --review-gap:16px; --review-photo-max:280px; gap:28px; padding-block:88px 24px; }
 .school-reviews .reviews-heading { display:block; }
 .school-reviews h2 { font-size:clamp(32px,10vw,42px); line-height:1.06; }
 .school-reviews h2 em { white-space:nowrap; }
 .school-reviews .reviews-source-actions { margin-top:24px; padding:0 5px; gap:10px 14px; }
 .reviews-source-link { margin-top:12px; margin-bottom:0; min-height:44px; padding-inline:10px; font-size:12px; }
 .reviews-source-actions .reviews-source-link { margin:0; }
 .reviews-gallery { max-width:none; }
 .reviews-track { --review-card-width:min(var(--review-card-max),calc(100cqw - 2*var(--gutter) - 14px)); }
 dialog.review-reader { width:calc(100% - 24px); max-height:calc(100dvh - 24px); }
 .review-reader-bar { padding:8px 14px; }
 .review-reader-scroll { grid-template-columns:1fr; gap:24px; padding:20px; max-height:calc(100dvh - 85px); }
 .review-reader-figure { position:static; }
 .review-reader-photo { height:40dvh; }
 .review-reader-copy { padding:0 0 10px; }
 .review-reader-copy blockquote { margin-top:20px; }
 .review-reader-text { font-size:16px; line-height:1.7; }
}
@media (max-width:700px) and (max-height:740px) {
 #otzyvy.school-reviews { gap:24px; }
 #otzyvy .reviews-heading .eyebrow { display:none; }
 .school-reviews.is-readable .parent-review blockquote p { -webkit-line-clamp:2; line-clamp:2; height:3em; }
}
@media (max-width:360px) { .parent-review-copy { padding-inline:8px; } .review-reader-scroll { padding:16px; } }
@media (prefers-reduced-motion:no-preference) { .review-reader[open] { animation:review-reader-enter .18s ease-out; } @keyframes review-reader-enter { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } } }
@media (prefers-reduced-motion:reduce) { .school-reviews *, .school-reviews *::before, .review-reader, .review-reader * { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }


/* trial-section.css */
/* Full-screen invitation with one unified photographic composition. */
#zapis { scroll-margin-top:-24px; }
#zapis .trial-scene {
  position:relative; isolation:isolate; display:flex; align-items:center;
  min-height:100svh; padding:78px var(--gutter); overflow:hidden;
  background:linear-gradient(rgba(16,17,18,.45),rgba(16,17,18,.45)),url('assets/coach-studio-wide-20261105-r10.webp') center / cover;
}
.trial-community { position:absolute; inset:0; margin:0; pointer-events:none; }
.trial-community img {
  display:block; position:absolute; top:50%; right:0;
  width:min(100%,177.683svh); height:auto; max-width:none;
  transform:translateY(-50%); object-fit:contain;
  mask-image:linear-gradient(90deg,transparent,#000 22%,#000 97%,transparent),linear-gradient(180deg,transparent,#000 12%,#000 92%,transparent);
  mask-composite:intersect;
}
.trial-community::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(9,10,11,.4),rgba(9,10,11,.18) 29%,transparent 48%); }
#zapis .trial-copy { position:relative; z-index:10; width:42%; padding:0; }
#zapis .trial-copy .eyebrow { margin:0 0 22px; color:#d4d8d9; }
#zapis .trial-copy h2 { font-size:clamp(70px,6.15vw,112px); line-height:.99; letter-spacing:-.015em; }
.trial-heading-line { white-space:nowrap; }
#zapis .trial-copy h2 em { color:transparent; -webkit-text-stroke:1px #f6f6f2; }
#zapis .trial-copy .trial-offer { max-width:none; margin:28px 0 0; font-size:15px; line-height:1.4; color:#fff; }
.trial-offer strong { display:block; margin-top:2px; font-family:Tall,Impact,sans-serif; font-style:italic; font-size:42px; line-height:1.1; text-transform:uppercase; letter-spacing:.005em; color:#ff655b; }
#zapis .trial-copy .trial-intro { max-width:340px; margin:18px 0 0; font-size:15px; line-height:1.55; color:#e3e5e4; }
.trial-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px 24px; margin:27px 0 0; padding-inline:7px; }
#zapis .trial-copy .button { margin:0; min-height:56px; }
.trial-prepare { display:inline-flex; align-items:center; gap:10px; min-height:44px; font-size:12px; color:#e1e4e5; }
.trial-prepare svg { width:17px; height:17px; transition:transform .2s; }
.trial-prepare:hover { color:#fff; text-decoration:underline; text-underline-offset:5px; }
.trial-prepare:hover svg { transform:translateY(3px); }
.trial-actions :focus-visible { outline:2px solid #fff; outline-offset:6px; }
#zapis .trial-copy .trial-condition { max-width:370px; margin:14px 0 0; color:#bfc5c7; font-size:11px; line-height:1.5; }
@media (min-width:1001px) and (max-height:800px) {
  #zapis .trial-scene { padding-block:64px; }
  #zapis .trial-copy h2 { font-size:clamp(64px,5.8vw,90px); }
  #zapis .trial-copy .eyebrow { margin-bottom:18px; }
  #zapis .trial-copy .trial-offer { margin-top:22px; }
  .trial-offer strong { font-size:36px; }
  #zapis .trial-copy .trial-intro { margin-top:14px; font-size:14px; }
  .trial-actions { margin-top:22px; }
}
@media (min-width:1001px) and (max-width:1350px) {
  .trial-actions { column-gap:18px; }
  #zapis .trial-copy .button { padding-inline:22px; gap:22px; font-size:12px; }
  .trial-prepare { font-size:11px; gap:5px; }
}
@media (max-width:1000px), (max-aspect-ratio:7/5) {
  #zapis .trial-scene { flex-direction:column; align-items:stretch; padding:88px 0 0; min-height:100svh; background:linear-gradient(180deg,rgba(16,17,18,.38),#101112 72%),url('assets/coach-studio-wide-20261105-r10.webp') center top / auto 100% no-repeat; }
  #zapis .trial-copy { order:0; width:100%; padding:0 var(--gutter); }
  #zapis .trial-copy h2 { font-size:clamp(48px,14vw,86px); line-height:1.01; }
  #zapis .trial-copy .eyebrow { margin-bottom:20px; }
  #zapis .trial-copy .trial-offer { margin-top:22px; font-size:14px; }
  .trial-offer strong { font-size:38px; }
  #zapis .trial-copy .trial-intro { font-size:14px; }
  .trial-actions { margin-top:24px; column-gap:24px; padding-inline:6px; }
  #zapis .trial-copy .button { width:100%; max-width:340px; padding-inline:24px; font-size:13px; }
  #zapis .trial-copy .trial-condition { margin-top:6px; font-size:11px; }
  /* Trim only empty studio space; all eight heads and feet stay in the frame. */
  .trial-community { position:relative; inset:auto; order:1; flex:none; width:100%; aspect-ratio:1.18; margin-top:24px; overflow:hidden; mask-image:linear-gradient(180deg,transparent,#000 4%,#000 96%,transparent); }
  .trial-community img { top:auto; right:-3%; bottom:-2%; width:164%; height:auto; max-height:none; transform:none; object-fit:contain; mask-image:linear-gradient(180deg,transparent,#000 12%,#000 94%,transparent); mask-composite:add; }
  .trial-community::after { background:none; }
}
@media (max-width:360px) {
  #zapis .trial-copy .button { font-size:12px; gap:16px; padding-inline:18px; }
  #zapis .trial-copy .trial-intro { font-size:13px; }
}
/* Keep the homepage's mobile invitation clear of the floating chat label. */
@media (max-width:600px) {
  body:has(#zapis) .vc-launcher { width:50px; height:50px; min-height:50px; padding:6px; gap:0; justify-content:center; }
  body:has(#zapis) .vc-launcher > span:last-child { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}
@media (prefers-reduced-motion:reduce) { .trial-prepare svg { transition:none; } }

/* home-motion.css */
/* Local control feedback, paired with timed section entrances. */
.home-motion {
  --motion-ease: cubic-bezier(.22,.61,.36,1);
  --motion-hover: 240ms;
}
.home-motion .morning-scroll-line > span { transition: none; }

/* Cards keep their dimensions while you read or drag the rail. */
.home-motion .parent-review .parent-review-surface { transform: none; opacity: 1; transition: color 420ms ease; }
.home-motion .parent-review.is-current .parent-review-surface { transform: none; opacity: 1; }
.home-motion .parent-review:not(.is-current):hover .parent-review-surface { opacity: 1; }
.home-motion .parent-review-surface::before { transition: background 420ms ease; }
/* A desktop composition occupies the whole viewport and can grow for its copy. */
@media (min-width: 1101px) {
  .hero--campaign { min-height: 100svh; }
  .home-motion .life-panorama { height: max(680px, 100svh); }
}
@media (max-width: 700px) {
  .home-motion .school-reviews { padding-bottom: 92px; }
}

.home-motion [data-motion-scope] :is(a, button) { transition-duration: var(--motion-hover); transition-timing-function: var(--motion-ease); }
.home-motion [data-motion-scope] :is(.button, .text-link, .journey-cta, .journey-skip) svg { transition: transform var(--motion-hover) var(--motion-ease); }
.home-motion [data-motion-scope] :is(.button, .text-link, .journey-cta, .journey-skip)::before { transition-duration: var(--motion-hover); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-motion [data-motion-scope] :is(.button, .text-link, .journey-cta, .journey-skip):hover svg { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .home-motion [data-motion-reveal] { opacity: 1; transform: none; }

}

/* entrance-motion.css */
/* A scroll threshold starts a timed entrance. Nothing scrubs with the wheel. */
.entrance-motion { overflow-x: clip; }
.entrance-motion [data-entry-pending] { opacity: 0; }
.entrance-motion [data-entry-part] { translate: none; }

/* Existing controllers own visibility and accessibility, never the animation. */
.entrance-motion .programs--chapters.is-enhanced .program,
.entrance-motion .age-story.is-enhanced .age-story-slide,
.entrance-motion .journey.is-enhanced .journey-slide,
.entrance-motion .is-scroll-story .coach-scene {
  transform: none; transition: none;
}
.entrance-motion .is-scroll-story .coach-copy { transform: none; transition: none; }
.entrance-motion .morning-training.is-scroll-ready .morning-slide {
  position: relative; visibility: hidden; pointer-events: none;
}
.entrance-motion .morning-training.is-scroll-ready .morning-slide.is-active {
  visibility: visible; pointer-events: auto;
}
.entrance-motion .is-scroll-ready :is(.morning-copy,.morning-scene img,.morning-scene figcaption) { opacity: 1; }
.entrance-motion .morning-scroll-line > span { transition: transform 600ms var(--motion-ease); }

/* Invisible structure reserves a brief reading pause only where content fits. */
.section-hold-range { display: contents; }
.section-hold-range.is-held {
  display: block; position: relative; height: var(--section-hold-height);
}
.entrance-motion [data-section-held],
.entrance-motion #zapis .trial-scene[data-section-held] { position: sticky; top: 0; }
.entrance-motion [data-motion-measuring] [data-entry-part] { translate: none !important; }

@media (prefers-reduced-motion: reduce) {
  .entrance-motion [data-entry-part] { opacity: 1 !important; translate: none !important; }
  .section-hold-range.is-held { display: contents; }
  .entrance-motion [data-section-held],
  .entrance-motion #zapis .trial-scene[data-section-held] { position: relative; }
}

/* Off-screen reveals must not leave gaps in a printed handbook or page. */
@media print {
  .entrance-motion [data-entry-part] { opacity: 1 !important; translate: none !important; }
}

/* section-spacing.css */
/* Homepage heading rhythm. Load after the individual section styles so a
   compact/pinned layout keeps the same headroom as an ordinary section. */
:root {
  --section-heading-inset: clamp(56px, 8svh, 88px);
  --section-eyebrow-gap: 20px;
}

.programs-stage,
.age-story .age-story-stage,
.age-story.is-enhanced .age-story-stage,
.coach-story .coach-heading,
.school-reviews {
  padding-top: var(--section-heading-inset);
}
#raspisanie:not(.is-pinned-schedule),
.is-pinned-schedule .schedule-wrap {
  padding-top: var(--section-heading-inset);
}
.life-heading { top: var(--section-heading-inset); }

.programs--chapters .section-heading .eyebrow,
.age-story-heading .eyebrow,
#raspisanie .schedule-heading .eyebrow,
.life-heading .eyebrow,
.school-reviews .reviews-heading .eyebrow {
  margin-bottom: var(--section-eyebrow-gap);
}

/* Cancel the page's 24px anchor allowance for these full-screen headings.
   Menu links and ordinary scrolling arrive at the same composition. */
#napravleniya, #vozrast, #trenery, #raspisanie, #zhizn, #otzyvy {
  scroll-margin-top: -24px;
}

/* Stacked tablet/mobile layouts need headroom below the floating menu too.
   Their desktop counterparts remain vertically centred. */
@media (max-width: 999px) {
  :root { --section-heading-inset: 72px; --section-eyebrow-gap: 16px; }
  .journey-stage,
  .arrival-faq:not(.is-pinned),
  .arrival-faq.is-pinned > div.faq-layout {
    padding-top: var(--section-heading-inset);
  }
  .journey-lead > .eyebrow,
  .arrival-faq .faq-intro > .eyebrow {
    margin-bottom: var(--section-eyebrow-gap);
  }
}
@media (max-width: 900px) {
  .morning-layout { padding-top: var(--section-heading-inset); }
  .morning-copy > .eyebrow { margin-bottom: var(--section-eyebrow-gap); }
}
@media (max-width: 1000px), (max-aspect-ratio: 7/5) {
  #zapis .trial-scene { padding-top: var(--section-heading-inset); }
  #zapis .trial-copy > .eyebrow { margin-bottom: var(--section-eyebrow-gap); }
}
@media (max-width: 700px) {
  .locations { padding-top: var(--section-heading-inset); }
  .locations-heading .eyebrow { margin-bottom: var(--section-eyebrow-gap); }
}
@media (max-width: 680px) {
  .membership-screen { padding-top: var(--section-heading-inset); }
  .membership-heading .eyebrow { margin-bottom: var(--section-eyebrow-gap); }
}
@media (max-width: 600px) {
  .life-heading { top: auto; padding-top: var(--section-heading-inset); }
}

/* consultant.css */
/* Shared consultant surface: deliberately scoped away from page typography. */
.vc { --vc-paper:#fafaf7; --vc-ink:#1b1e1f; --vc-red:#c72b24; --vc-muted:#606462; --vc-line:#dddfd9; --vc-edge:24px; color:var(--vc-ink); font:400 14px/1.5 Onest,Arial,sans-serif; }
.vc *, .vc *::before, .vc *::after { box-sizing:border-box; }
.vc [hidden] { display:none!important; }
.vc-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.vc button,.vc textarea,.vc a { font:inherit; }
.vc button { cursor:pointer; }
.vc button:disabled { cursor:default; opacity:.45; }
.vc button:focus-visible,.vc a:focus-visible,.vc textarea:focus-visible { outline:3px solid var(--vc-red); outline-offset:3px; }
.vc svg { display:block; width:22px; height:22px; flex:none; }
.vc-launcher { position:fixed; right:var(--vc-edge); bottom:calc(var(--vc-edge) + env(safe-area-inset-bottom,0px)); z-index:55; display:flex; align-items:center; gap:12px; min-height:54px; padding:7px 18px 7px 8px; background:var(--vc-ink); color:#fff; border:1px solid #707371; border-radius:6px; box-shadow:0 8px 24px #0003; font-weight:500!important; transition:background .18s,box-shadow .18s; }
.vc-launcher:hover { background:#333837; box-shadow:0 10px 28px #0004; }
.vc-mark { display:grid; place-items:center; width:36px; height:36px; background:var(--vc-red); color:#fff; border-radius:3px; flex:none; }
.vc-mark svg { width:21px; height:21px; }
.vc-invite { position:fixed; right:var(--vc-edge); bottom:calc(90px + env(safe-area-inset-bottom,0px)); z-index:56; width:320px; padding:21px; border:1px solid #d2d5cf; border-radius:10px; background:var(--vc-paper); box-shadow:0 12px 42px #0003; animation:vc-appear .2s ease-out both; }
.vc-invite::after { content:''; position:absolute; bottom:-6px; right:29px; width:12px; height:12px; background:var(--vc-paper); border-right:1px solid #d2d5cf; border-bottom:1px solid #d2d5cf; transform:rotate(45deg); }
.vc-invite-head { display:flex; align-items:center; gap:10px; padding-right:30px; margin-bottom:14px; }
.vc-invite-head .vc-mark { width:30px; height:30px; }
.vc-name { display:block; font-size:16px; line-height:1.3; font-weight:500; }
.vc-identity { display:block; color:var(--vc-muted); font-size:11px; margin-top:2px; }
.vc-invite p { margin:0 0 17px; padding:0; font-size:15px; line-height:1.55; }
.vc-icon { display:grid; place-items:center; width:40px; height:40px; padding:8px; border:0; border-radius:4px; color:var(--vc-muted); background:transparent; }
.vc-icon:hover { color:var(--vc-ink); background:#e9ebe5; }
.vc-invite-close { position:absolute; right:9px; top:9px; }
.vc-action { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:44px; padding:10px 14px; border:1px solid var(--vc-red); border-radius:4px; background:var(--vc-red); color:#fff; text-decoration:none; font-weight:500!important; }
.vc-action:hover { background:#a9221c; border-color:#a9221c; }
.vc-invite .vc-action { width:100%; }
.vc-panel { position:fixed; inset:auto var(--vc-edge) calc(var(--vc-edge) + env(safe-area-inset-bottom,0px)) auto; z-index:60; margin:0; padding:0; width:400px; height:min(650px,calc(100dvh - 48px)); max-width:calc(100vw - 32px); max-height:none; border:1px solid #c9cdc5; border-radius:12px; background:var(--vc-paper); color:var(--vc-ink); box-shadow:0 18px 64px #0004; overflow:hidden; font:400 14px/1.5 Onest,Arial,sans-serif; }
.vc-panel[open] { display:flex; flex-direction:column; animation:vc-appear .2s ease-out both; }
.vc-panel::backdrop { background:#1118; }
.vc-header { display:flex; align-items:center; gap:11px; min-height:82px; padding:17px 16px 16px 20px; border-bottom:1px solid var(--vc-line); flex:none; }
.vc-header-copy { flex:1; }
.vc-header h2 { margin:0; padding:0; color:var(--vc-ink); font:500 20px/1.2 Onest,Arial,sans-serif; letter-spacing:0; text-transform:none; font-style:normal; }
.vc-header .vc-identity { font-size:12px; }
.vc-demo { padding:7px 20px; color:#62645f; background:#edf0e9; font-size:11px; border-bottom:1px solid var(--vc-line); flex:none; }
.vc-scroll { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; padding:22px 20px 16px; scrollbar-width:thin; }
.vc-welcome { margin:0 0 19px; max-width:29ch; font-size:17px; line-height:1.5; }
.vc-prompts { display:grid; gap:8px; margin-bottom:24px; }
.vc-prompt { text-align:left; display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:43px; padding:10px 12px; border:1px solid #ced3c9; border-radius:5px; background:transparent; color:var(--vc-ink); }
.vc-prompt:hover { border-color:var(--vc-red); background:#fff; }
.vc-prompt svg { width:17px; height:17px; color:var(--vc-red); }
.vc-log { display:flex; flex-direction:column; gap:17px; }
.vc-message { max-width:92%; align-self:flex-start; }
.vc-message--user { align-self:flex-end; }
.vc-author { margin:0 0 5px; color:var(--vc-muted); font-size:11px; }
.vc-message--user .vc-author { text-align:right; }
.vc-bubble { margin:0!important; padding:12px 14px; border:1px solid var(--vc-line); border-radius:2px 10px 10px; background:white; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.55; }
.vc-message--user .vc-bubble { background:#242a28; color:#fff; border-color:#242a28; border-radius:10px 2px 10px 10px; }
.vc-answer-actions { display:flex; flex-direction:column; align-items:flex-start; gap:8px; margin-top:10px; }
.vc-answer-link { display:inline-flex; align-items:center; min-height:44px; max-width:100%; padding:10px 13px; border:1px solid var(--vc-red); border-radius:8px; background:white; color:var(--vc-red); font-size:13px; font-weight:600; line-height:1.4; text-decoration:none; }
.vc-answer-link:hover { background:#fff1ee; }
.vc-answer-link:focus-visible { outline:2px solid var(--vc-red); outline-offset:3px; }
.vc-failure { margin-top:8px; color:#9c2a22; font-size:12px; }
.vc-retry { min-height:36px; padding:4px 0; display:block; border:0; background:none; color:var(--vc-red); text-decoration:underline; text-underline-offset:3px; }
.vc-status { min-height:22px; margin:14px 0 0; color:var(--vc-muted); font-size:12px; }
.vc-status:not(:empty)::before { content:''; display:inline-block; width:6px; height:6px; margin:0 8px 1px 0; border-radius:50%; background:var(--vc-red); }
.vc-tools { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 20px; border-top:1px solid var(--vc-line); flex:none; }
.vc-topics { flex:none; max-height:min(265px,35dvh); overflow:auto; overscroll-behavior:contain; padding:12px 20px 14px; border-top:1px solid var(--vc-line); background:#f0f2ec; }
.vc .vc-topics p { margin:0 0 9px; color:var(--vc-muted); font:400 12px/1.45 Onest,Arial,sans-serif; letter-spacing:normal; }
.vc-topic-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.vc-topic { min-height:44px; padding:8px 10px; border:1px solid #cbd0c5; border-radius:5px; background:#fff; color:var(--vc-ink); text-align:left; font-size:12px!important; }
.vc-topic:hover { border-color:var(--vc-red); }
.vc-topics-toggle { color:var(--vc-red)!important; font-weight:600!important; text-decoration:none!important; }
.vc-topics-toggle[aria-expanded="true"] { text-decoration:underline!important; }
.vc-text-button { padding:9px 0; min-height:42px; border:0; color:var(--vc-muted); background:transparent; font-size:11px!important; text-decoration:underline; text-underline-offset:3px; }
.vc-text-button:hover { color:var(--vc-red); }
.vc-compose { display:flex; align-items:flex-end; gap:8px; padding:9px 10px 9px 13px; margin:0 14px; background:#fff; border:1px solid #b6bdb1; border-radius:6px; flex:none; }
.vc-compose:focus-within { border-color:var(--vc-red); box-shadow:0 0 0 1px var(--vc-red); }
.vc-compose textarea { resize:none; flex:1; min-width:0; width:100%; height:46px; max-height:110px; min-height:46px; padding:11px 1px 6px; border:0; border-radius:0; color:var(--vc-ink); background:transparent; outline:none!important; line-height:1.5; font-size:14px; }
.vc-compose textarea::placeholder { color:#666d65; opacity:1; }
.vc-send { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:0; margin-bottom:1px; border:0; border-radius:4px; color:white; background:var(--vc-red); }
.vc-voice-button { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:0; margin-bottom:1px; border:0; border-radius:4px; background:transparent; color:var(--vc-muted); touch-action:none; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; }
.vc-voice-button:hover { background:#edf0e9; color:var(--vc-ink); }
.vc-voice-button[data-state="recording"] { background:var(--vc-red); color:#fff; }
.vc-voice-stop { display:none; width:14px; height:14px; background:currentColor; border-radius:2px; }
.vc-voice-button[data-state="recording"] svg { display:none; }
.vc-voice-button[data-state="recording"] .vc-voice-stop { display:block; }
.vc-voice-button:is([data-state="requesting"],[data-state="transcribing"]) { color:var(--vc-red); background:#f7e9e6; }
.vc-voice-feedback { display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; margin:7px 17px 0; flex:none; }
.vc .vc-voice-help { margin:6px 17px 0; color:var(--vc-muted); text-align:center; font:400 10px/1.45 Onest,Arial,sans-serif; letter-spacing:normal; flex:none; }
.vc .vc-voice-message { flex:1 1 170px; margin:0; color:var(--vc-muted); font:400 11px/1.45 Onest,Arial,sans-serif; letter-spacing:normal; }
.vc-voice-time { color:var(--vc-red); font-variant-numeric:tabular-nums; font-size:12px; }
.vc-voice-cancel { min-height:44px; padding:6px 0; border:0; background:transparent; color:var(--vc-red); font-size:12px!important; text-decoration:underline; text-underline-offset:3px; }
.vc-note { margin:8px 17px 12px; font-size:10px; color:var(--vc-muted); text-align:center; flex:none; }
.vc-storage-warning { padding:8px 20px; background:#fff2dc; color:#684800; font-size:12px; flex:none; }
.vc-confirm { padding:13px 20px; background:#edf0e9; border-top:1px solid var(--vc-line); flex:none; }
.vc-confirm p { margin:0 0 7px; font-size:12px; }
.vc-confirm-actions { display:flex; gap:18px; }
.vc-confirm-actions button { min-height:36px; border:0; background:none; color:var(--vc-red); padding:3px 0; font-weight:500; }
html.vc-modal-open { overflow:hidden; scrollbar-gutter:auto; }
/* Article pages have their own paragraph rules; the widget keeps one type scale. */
.vc .vc-welcome { margin:0 0 19px; max-width:29ch; font:400 17px/1.5 Onest,Arial,sans-serif; color:var(--vc-ink); letter-spacing:normal; }
.vc .vc-bubble { max-width:none; font:400 14px/1.55 Onest,Arial,sans-serif; letter-spacing:normal; }
.vc .vc-status { margin:14px 0 0; font:400 12px/1.5 Onest,Arial,sans-serif; color:var(--vc-muted); }
.vc .vc-note { margin:8px 17px 12px; font:400 10px/1.5 Onest,Arial,sans-serif; color:var(--vc-muted); }
.vc .vc-invite p { margin:0 0 17px; font:400 15px/1.55 Onest,Arial,sans-serif; color:var(--vc-ink); }
.vc .vc-confirm p { margin:0 0 7px; font:400 12px/1.5 Onest,Arial,sans-serif; color:var(--vc-ink); }
.vc-entry { display:inline-flex; align-items:center; gap:14px; min-height:44px; padding:8px 0; margin-top:12px; border:0; border-bottom:1px solid currentColor; border-radius:0; background:transparent; color:inherit; font:500 13px/1.4 Onest,Arial,sans-serif; cursor:pointer; }
.vc-entry svg { width:18px; height:18px; }
.vc-entry:hover { color:#b3251f; }
.faq-intro > .vc-entry { margin:20px 0; }
@keyframes vc-appear { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:1099px) {
  .vc-launcher { width:50px; height:50px; min-height:50px; padding:6px; gap:0; justify-content:center; }
  .vc-launcher > span:last-child { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}
@media(max-width:600px) {
  .vc { --vc-edge:14px; }
  .vc-invite { width:min(310px,calc(100vw - 28px)); bottom:calc(76px + env(safe-area-inset-bottom,0px)); padding:18px; }
  .vc .vc-invite p { font-size:14px; }
  .vc-panel { inset:var(--vc-viewport-top,0px) 0 auto; width:100vw; max-width:100vw; height:var(--vc-viewport-height,100dvh); border:0; border-radius:0; }
  .vc-header { padding-top:calc(14px + env(safe-area-inset-top,0px)); min-height:76px; }
  .vc-scroll { padding-top:20px; }
  .vc .vc-note { margin-bottom:calc(10px + env(safe-area-inset-bottom,0px)); }
  .vc-compose textarea { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) { .vc *, .vc *::before,.vc *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

.vc-panel--consent { height:auto; max-height:calc(100dvh - 48px); }
.vc-panel--consent .vc-scroll { padding:26px 22px 18px; }
.vc-privacy { margin:0; font-size:14px; line-height:1.5; }
.vc .vc-privacy h3 { margin:0 0 12px; color:var(--vc-ink); font:500 24px/1.2 Onest,Arial,sans-serif; text-transform:none; letter-spacing:-.3px; }
.vc .vc-privacy p { margin:0 0 12px; font:400 14px/1.5 Onest,Arial,sans-serif; letter-spacing:normal; }
.vc .vc-privacy .vc-privacy-intro { margin-bottom:24px; color:var(--vc-muted); }
.vc .vc-privacy .vc-consent-hint { margin-bottom:10px; font-size:13px; }
.vc .vc-consent { display:flex; flex-direction:row; align-items:flex-start; gap:12px; padding:16px 14px; border:1px solid #979f93; border-radius:6px; background:#fff; font:500 14px/1.5 Onest,Arial,sans-serif; cursor:pointer; }
.vc-consent:hover { border-color:var(--vc-red); }
.vc-consent:focus-within { outline:2px solid var(--vc-red); outline-offset:3px; }
.vc .vc-consent input { appearance:auto; flex:none; width:24px; height:24px; min-height:24px; max-height:24px; padding:0; margin:0; accent-color:var(--vc-red); cursor:pointer; }
.vc .vc-consent input:focus { outline:none!important; outline-offset:0; box-shadow:none; }
.vc .vc-privacy .vc-privacy-links { display:flex; flex-wrap:wrap; gap:0 20px; margin:7px 0 0; }
.vc-privacy-links a { display:inline-flex; align-items:center; min-height:44px; color:var(--vc-muted); font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.vc .vc-privacy .vc-withdraw-hint { margin-top:12px; color:var(--vc-muted); font-size:12px; }
.vc-panel--consent .vc-tools { justify-content:center; padding-top:4px; padding-bottom:8px; }
.vc .vc-note { margin:0 17px 4px; }
.vc .vc-note .vc-privacy-toggle { min-height:36px; padding:8px 0; }
.vc-status:empty { display:none; }
.vc-revocation { margin-top:18px; padding-top:16px; border-top:1px solid var(--vc-line); }
.vc-revocation a { color:var(--vc-ink); }
.vc-compose textarea:disabled { opacity:.6; cursor:not-allowed; }
@media(max-width:600px) {
  .vc-panel--consent { height:var(--vc-viewport-height,100dvh); max-height:var(--vc-viewport-height,100dvh); }
  .vc-panel--consent .vc-scroll { padding-top:30px; }
  .vc-panel--consent .vc-tools { padding-bottom:calc(12px + env(safe-area-inset-bottom,0px)); }
  .vc .vc-note { margin-bottom:env(safe-area-inset-bottom,0px); }
  .vc .vc-note .vc-privacy-toggle { min-height:44px; }
}

/* site-tokens.css */
/* The homepage is the reference: Tall headings, Onest copy, native scrolling. */
:root {
  --type-display: clamp(88px, 9vw, 152px);
  --type-title: clamp(52px, 5.3vw, 86px);
  --type-subtitle: 22px;
  --type-lead: clamp(18px, 1.45vw, 22px);
  --type-body: 16px;
  --type-detail: 14px;
  --type-label: 11px;
  --type-heading-leading: 1.04;
  --type-heading-tracking: -.02em;
  --type-body-leading: 1.65;
  --type-label-tracking: .09em;
  --copy-gap: 24px;
  --motion-ease: cubic-bezier(.22,.61,.36,1);
  --motion-feedback: 240ms;
}
@media (max-width: 1099px) {
  :root { --type-title: 54px; }
}
@media (max-width: 700px) {
  :root {
    --type-display: clamp(60px, 17vw, 104px);
    --type-title: clamp(44px, 12vw, 64px);
    --type-subtitle: 20px;
    --type-lead: 18px;
    --type-body: 15px;
    --type-label: 10px;
    --copy-gap: 20px;
  }
}

/* site-footer.css */
/* One shared final screen. Content may grow beyond the viewport when needed. */
.closing-story { position:relative; isolation:isolate; background:#0b0e10; color:#fff; scroll-margin-top:0; }
.closing-stage { position:relative; }
.footer-anchor { position:absolute; top:0; }
#school-footer { --gutter:clamp(28px,4.5vw,96px); position:relative; isolation:isolate; min-height:100svh; margin:0; padding:0; background:#0b0e10; color:#fff; font:400 15px/1.5 Onest,Arial,sans-serif; }
#school-footer *, #school-footer *::before, #school-footer *::after { box-sizing:border-box; }
#school-footer a { color:inherit; text-decoration:none; }
.closing-mma-image { position:absolute; inset:0; z-index:-1; margin:0; overflow:hidden; }
.closing-mma-image > .closing-background-frame { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:right center; opacity:0; z-index:0; transition:opacity 1100ms cubic-bezier(.42,0,.58,1); }
.closing-mma-image > .is-current { opacity:1; z-index:2; }
.closing-mma-image > .is-previous { opacity:1; z-index:1; }
.closing-mma-image::after { content:''; position:absolute; inset:0; z-index:3; pointer-events:none; background:linear-gradient(0deg,#05090bf5 0%,#05090beb 17%,#05090b70 35%,transparent 58%),linear-gradient(90deg,#04080ae8 0%,#04080ac7 32%,#04080a60 52%,transparent 76%); }
.closing-footer-content { display:grid; grid-template-rows:auto minmax(min-content,1fr) auto auto; gap:26px; min-height:100svh; width:100%; padding:36px var(--gutter) 24px; }
#school-footer .school-footer-identity { display:flex; align-items:center; grid-column:auto; gap:0; margin:0; width:fit-content; }
#school-footer .school-footer-identity img { display:block; width:190px; height:auto; }
.closing-footer-contact { display:flex; align-items:center; width:min(680px,62%); padding-block:12px; }
.closing-contact-details { width:100%; min-width:0; }
#school-footer .closing-invitation { margin:0 0 28px; }
#school-footer .closing-invitation h2 { margin:0; font-family:Tall,Impact,sans-serif; font-size:clamp(60px,5.4vw,84px); font-weight:700; font-style:italic; line-height:.98; letter-spacing:0; text-transform:uppercase; color:#fff; }
#school-footer .closing-invitation p { margin:18px 0 0; max-width:400px; font-size:16px; line-height:1.6; color:#e4e8e8; }
.closing-contact-options { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; gap:28px; }
#school-footer .school-contact-phone { width:fit-content; margin:0; font-size:clamp(25px,2.25vw,34px); line-height:1.3; letter-spacing:-.03em; white-space:nowrap; }
#school-footer .school-contact-person { display:flex; flex-direction:column; gap:2px; margin:6px 0 8px; font-size:13px; line-height:1.5; color:#e4e8e8; }
#school-footer .school-contact-person span { color:#c2cbcc; }
#school-footer .school-contact-email { display:flex; align-items:center; gap:10px; width:fit-content; min-height:36px; margin:0; padding:5px 0; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
#school-footer .school-contact-email svg { width:17px; height:17px; flex:none; }
#school-footer .closing-contact-action { display:flex; align-items:center; justify-content:space-between; position:relative; isolation:isolate; width:calc(100% - 12px); min-height:54px; margin:0 6px; padding:14px 22px; border:0; border-radius:0; background:transparent; color:#fff; font:500 14px/1.5 Onest,Arial,sans-serif; }
#school-footer .closing-contact-action::before { content:''; position:absolute; inset:0; z-index:-1; background:#bb281f; transform:skewX(-12deg); transition:background .18s; }
#school-footer .closing-contact-action svg { width:24px; height:24px; padding:0; border:0; flex:none; }
#school-footer .closing-contact-options { grid-template-columns:minmax(0,360px); }
#school-footer .closing-contact-buttons { display:grid; gap:14px; }
#school-footer .closing-contact-call::before { background:transparent; border:1px solid #8c969a; }
#school-footer .closing-contact-call:hover::before { background:rgb(255 255 255 / 8%); border-color:#fff; }
#school-footer .closing-contact-call img { width:22px; height:22px; filter:brightness(0) invert(1); }
#school-footer .contact-direct { margin:16px 0 0; }
#school-footer .contact-direct > p { margin:0 0 3px; font-size:11px; color:#c2cbcc; }
#school-footer .contact-channels { gap:4px 14px; max-width:none; }
#school-footer .contact-channel { font-size:12px; min-height:36px; gap:6px; }
#school-footer .contact-channel svg { width:18px; height:18px; }
.closing-footer-links { display:grid; grid-template-columns:1.15fr 1.35fr .8fr 1fr; gap:28px; align-items:start; }
#school-footer .footer-label { margin:0 0 12px; color:#c2cbcc; font-size:11px; font-weight:500; line-height:1.5; letter-spacing:.12em; text-transform:uppercase; }
#school-footer .school-footer-nav { display:flex; flex-direction:column; align-items:flex-start; align-content:start; gap:0 22px; min-width:0; }
#school-footer .school-footer-nav .footer-label { flex-basis:100%; }
#school-footer .school-footer-nav a { display:inline-flex; align-items:center; min-height:36px; padding:4px 0; font-size:14px; line-height:1.5; }
.closing-social-links { display:flex; flex-wrap:wrap; gap:0 20px; }
#school-footer .school-footer-social { grid-column:auto; }
#school-footer .closing-social-links a { display:inline-flex; align-items:center; gap:8px; min-height:36px; font-size:14px; }
.closing-social-links img { width:21px; height:21px; flex:none; }
#school-footer .school-footer-bottom { display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:18px; margin:0; padding:14px 210px 0 0; border-top:1px solid #dae3e43b; color:#c2cbcc; font-size:11px; }
#school-footer .school-footer-legal { display:block; min-width:0; }
#school-footer .school-footer-legal p { margin:0; font:inherit; white-space:normal; text-wrap:wrap; }
#school-footer .school-back-top { display:flex; align-items:center; gap:10px; min-height:36px; margin:0; font-size:12px; white-space:nowrap; }
.school-back-top svg { width:18px; height:18px; }
#school-footer a:focus-visible, #school-footer button:focus-visible { outline:2px solid #fff; outline-offset:5px; }
#school-footer a:hover, #school-footer .contact-channel:hover { color:#ffaaa3; }
#school-footer .closing-contact-action:hover::before { background:#9c211a; }

/* Page-specific supplementary content stays with its article, above the footer. */
.mma-page-sources { padding:32px var(--gutter) 48px; background:#111719; color:#e4e8e8; }
.mma-page-sources .mma-sources { max-width:1000px; }
.eq-collection-info { display:inline-flex; align-items:center; min-height:44px; margin:24px 0 0; }
.rules-closing { min-height:0; }
.rules-help { min-height:360px; }
body.club-page .club-visit { min-height:100svh; justify-content:center; }
body.club-page .club-visit .club-backdrop { height:100%; }
body.club-page .club-visit-shade { background:linear-gradient(90deg,#090f12eb,#090f128c 46%,#090f121a 85%),linear-gradient(0deg,#0b111466,transparent 60%); }
body.club-page .club-visit-copy { padding-block:100px; }

@media (min-width:1000px) and (max-height:800px) {
  .closing-footer-content { gap:18px; padding-top:26px; padding-bottom:18px; }
  #school-footer .school-footer-identity img { width:170px; }
  .closing-footer-contact { padding-block:0; }
  #school-footer .closing-invitation { margin-bottom:20px; }
  #school-footer .closing-invitation h2 { font-size:58px; }
  #school-footer .closing-invitation p { margin-top:12px; font-size:14px; line-height:1.5; }
  #school-footer .school-footer-nav a, #school-footer .closing-social-links a { font-size:13px; }
  #school-footer .footer-label { margin-bottom:8px; }
}
@media (max-width:1100px) and (min-width:1000px) {
  .closing-footer-contact { width:72%; }
  .closing-footer-links { gap:20px; }
}
@media (max-width:999px) {
  .closing-mma-image { position:relative; inset:auto; z-index:0; width:100%; aspect-ratio:1672/941; }
  .closing-mma-image::after { background:linear-gradient(0deg,#0b0e10,transparent 70%); }
  .closing-footer-content { grid-template-rows:auto auto auto auto; min-height:0; gap:40px; padding:24px var(--gutter) 96px; }
  .closing-footer-contact { width:100%; max-width:680px; padding:0; }
  #school-footer .closing-invitation h2 { font-size:clamp(56px,8vw,76px); }
  #school-footer .school-contact-phone { font-size:34px; }
  .closing-footer-links { grid-template-columns:1fr 1fr; gap:32px 40px; }
  #school-footer .school-footer-nav { flex-direction:column; }
  #school-footer .school-footer-nav a, #school-footer .closing-social-links a, #school-footer .contact-channel { min-height:44px; }
  #school-footer .school-footer-bottom { padding-right:0; }
  body.club-page .club-visit-copy { padding-block:72px; }
}
@media (max-width:600px) {
  #school-footer { --gutter:24px; }
  .closing-footer-content { gap:32px; }
  #school-footer .school-footer-identity img { width:175px; }
  #school-footer .closing-invitation { margin-bottom:24px; }
  #school-footer .closing-invitation p { font-size:15px; }
  #school-footer .closing-invitation p br { display:none; }
  .closing-contact-options { grid-template-columns:1fr; gap:24px; }
  #school-footer .school-contact-phone { font-size:clamp(28px,7.9vw,38px); min-height:44px; }
  #school-footer .school-contact-person { flex-direction:row; flex-wrap:wrap; gap:6px 14px; }
  #school-footer .school-contact-email { min-height:44px; font-size:14px; }
  .closing-contact-buttons { max-width:360px; }
  #school-footer .contact-direct { margin-top:18px; }
  #school-footer .contact-direct > p { font-size:12px; }
  .closing-footer-links { gap:28px 20px; }
  #school-footer .school-footer-nav a { font-size:14px; }
  #school-footer .school-footer-bottom { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; font-size:10px; gap:12px; }
  #school-footer .school-footer-legal p { max-width:20ch; line-height:1.6; }
  #school-footer .school-back-top { min-height:44px; margin:0; padding:8px 0 8px 8px; font-size:12px; }
}
@media (max-width:360px) {
  #school-footer { --gutter:20px; }
  #school-footer .school-footer-nav a { font-size:13px; }
  #school-footer .closing-social-links a { font-size:13px; }
}
@media (prefers-reduced-motion:reduce) {
  .closing-mma-image > .closing-background-frame { transition:none; }
  #school-footer .closing-contact-action::before { transition:none; }
}
@media print { .closing-story { display:none; } }

/* contact.css */
/* Shared contact flow, with the established red/black/white school palette. */
/* Angled actions may be links or native buttons. Their pseudo-element owns
   the surface; a native button background otherwise shows at the corners. */
:is(.button,.club-action,.bjj-action,.rules-button,.eq-button,.contact-action,.contact-submit){appearance:none;border:0;border-radius:0;background:transparent;font-family:Onest,Arial,sans-serif;cursor:pointer}
:is(.button,.club-action,.bjj-action,.rules-button,.eq-button,.contact-action,.contact-submit) svg{flex-shrink:0}
.club-action{gap:20px}
.club-action svg{width:24px;height:24px}
[data-contact-phone-mobile]{display:none!important}
.contact-phone-desktop{display:block}
.hero-mobile-contact{display:none!important}
.contact-action{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:54px;max-width:100%;padding:14px 26px;border:0;border-radius:0;background:transparent;color:inherit;font:500 15px/1.5 Onest,Arial,sans-serif;text-decoration:none;text-align:left;cursor:pointer}
.contact-action::before{content:'';position:absolute;inset:0 6px;z-index:-1;border:1px solid currentColor;transform:skewX(-12deg);transition:background .18s,color .18s}
.contact-action:hover::before{background:#77777712}
.contact-action:focus-visible,.contact-dialog :focus-visible{outline:3px solid #e52e25;outline-offset:4px}
.contact-action svg{width:24px;height:24px;flex:none}
.contact-footer-action{margin:16px 0 10px}
.contact-direct{margin:24px 0}
.contact-direct>p{font-size:13px;line-height:1.5;margin:0 0 10px}
.contact-channels{display:flex;flex-wrap:wrap;gap:8px 20px;max-width:360px}
.contact-direct .contact-channel{display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;min-height:44px;padding:7px 0;border:0;border-bottom:1px solid #858b8580;border-radius:0;background:none;color:inherit;font:500 13px/1.4 Onest,Arial,sans-serif;text-decoration:none;cursor:pointer;white-space:nowrap}
.contact-direct .contact-channel:hover{color:#bb281f}
.contact-direct img,.contact-direct svg{width:20px;height:20px;object-fit:contain;flex:none}
.reviews-source-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;max-width:440px}
.contact-dialog{box-sizing:border-box;width:min(640px,calc(100% - 32px));max-width:640px;max-height:calc(100dvh - 32px);margin:auto;padding:34px 36px 26px;background:#fff;color:#171717;border:0;box-shadow:0 24px 80px #0005;overflow-y:auto;overscroll-behavior:contain;border-radius:0;scrollbar-gutter:stable}
.contact-dialog::backdrop{background:rgb(0 0 0 / .65)}
.contact-dialog[open]{animation:contact-enter .18s ease-out}
.contact-dialog [hidden]{display:none!important}
.contact-close{position:absolute;right:12px;top:8px;display:grid;place-items:center;width:44px;height:44px;padding:0;background:none;border:0;font-size:32px;line-height:1;color:#171717;cursor:pointer}
.contact-dialog .contact-eyebrow{margin:0 30px 12px 0;font-size:12px;line-height:1.4;text-transform:uppercase;letter-spacing:.1em;color:#616161}
.contact-dialog h2{font-family:Tall,Impact,sans-serif;font-size:clamp(32px,5vw,44px);font-weight:700;line-height:1.05;letter-spacing:0;margin:0 22px 14px 0;text-transform:uppercase}
#contact-intro{margin:0 0 20px;font-size:15px;line-height:1.5;color:#494949}
.contact-dialog .contact-context{margin:0 0 20px;padding:12px 14px;background:#f3f3f3;border-left:3px solid #e52e25;font-size:14px;line-height:1.5;white-space:pre-line}
.contact-dialog form{display:grid;gap:16px;margin:0}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.contact-dialog label{display:block;font-size:14px;font-weight:500;line-height:1.4;margin:0}
.contact-dialog input:not([type=checkbox]),.contact-dialog select,.contact-dialog textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;margin:7px 0 0;border:1px solid #a6a6a6;border-radius:0;background:#fff;color:#171717;font:400 16px/1.4 Onest,Arial,sans-serif;padding:11px 12px;box-shadow:none}
.contact-dialog textarea{resize:vertical;min-height:90px;max-height:260px}
.contact-dialog input::placeholder,.contact-dialog textarea::placeholder{color:#686868;opacity:1}
.contact-dialog select{appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2324292b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px;cursor:pointer}
.contact-dialog .contact-optional,.contact-dialog .contact-trial-note,.contact-dialog .contact-hours{font-size:12px;line-height:1.5;color:#616161;font-weight:400}
.contact-dialog .contact-trial-note,.contact-dialog .contact-hours{margin:0}
.contact-dialog .contact-consent{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:12px;font-weight:400;color:#494949}
.contact-consent input{appearance:auto;flex:none;width:18px;height:18px;min-height:18px;padding:0;margin:1px 0 0;accent-color:#e52e25}
.contact-consent a{margin-left:5px;color:inherit;text-decoration:underline}
.contact-status:empty{display:none}
.contact-dialog .contact-status{font-size:14px;line-height:1.5;color:#a1231d;margin:0;overflow-wrap:anywhere}
.contact-submit{position:relative;isolation:isolate;display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:54px;padding:14px 26px;background:transparent;color:white;border:0;border-radius:0;font:500 15px/1.5 Onest,Arial,sans-serif;cursor:pointer;text-align:left}
.contact-submit::before{content:'';position:absolute;inset:0 6px;z-index:-1;background:#bb281f;transform:skewX(-12deg);transition:background .18s}
.contact-submit svg{width:23px;height:23px;flex:none}
.contact-submit:hover::before{background:#9c211a}
.contact-submit:disabled{opacity:.65;cursor:wait}
.contact-chat{display:grid;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid #dedede}
.contact-chat .contact-action{font-size:14px;min-height:48px}
.contact-dialog .contact-alternative-title{margin:0;color:#494949;font:500 14px/1.5 Onest,Arial,sans-serif}
.contact-close:disabled{opacity:.5;cursor:wait}
.contact-copy{min-height:44px;padding:8px 0;border:0;border-bottom:1px solid currentColor;background:none;color:#494949;font:500 14px/1.4 Onest,Arial,sans-serif;cursor:pointer}
.contact-copy-status{margin:8px 0 0;color:#494949;font:400 13px/1.5 Onest,Arial,sans-serif}
.contact-copy-status:empty{display:none}
.contact-copy-fallback{margin-top:12px!important}
.contact-success h3{font-size:24px;margin:24px 0 14px}
.contact-success p{font-size:16px;line-height:1.6;margin:0 0 24px}
.contact-success .contact-submit{width:100%}
body:has(#contact-dialog[open]){overflow:hidden}
body:has(#contact-dialog[open]) .vc-launcher{visibility:hidden}
.membership-format-small button{border:0;border-bottom:1px solid #657269;min-height:44px;padding:0;background:none;color:inherit;display:inline-flex;align-items:center;gap:10px;text-align:left;font:400 14px/1.5 Onest,Arial,sans-serif;cursor:pointer}
.membership-format-small button svg{width:22px;height:22px}
#raspisanie .schedule-help{display:grid;grid-template-columns:minmax(0,420px) auto;justify-content:start;align-items:center;gap:24px 40px;padding:28px 32px;color:var(--ink)}
#raspisanie .schedule-help-copy p{margin:8px 0 0}
#raspisanie .schedule-help-copy .schedule-help-hours{margin-top:4px;font-size:12px}
.schedule-help-actions{min-width:0}
.schedule-help-actions .contact-action{min-width:250px}
.faq-contact .contact-action{width:100%;max-width:300px}
.arrival-faq .faq-contact{margin-top:32px}
.arrival-faq .faq-contact>p{font-size:13px;line-height:1.5;margin:0 0 16px}
.arrival-faq .faq-contact .contact-direct{margin:26px 0 0}
.arrival-faq .faq-contact .contact-direct>p{font-size:13px;line-height:1.5;margin:0 0 10px}
.bjj-questions .faq-intro>.contact-action{margin-top:24px}
@keyframes contact-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:900px){#raspisanie .schedule-help{grid-template-columns:1fr;gap:22px;padding:24px}.schedule-help-actions .contact-action{min-width:0;width:min(300px,100%)}.arrival-faq .faq-contact-mobile{margin-top:0;padding-right:0}.arrival-faq .faq-contact .contact-channels{max-width:330px}}
@media(max-width:700px){[data-contact-phone-mobile]{display:inline-flex!important}.contact-phone-desktop{display:none!important}.hero-mobile-contact{display:flex!important}.contact-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:28px 20px 24px}.contact-grid{grid-template-columns:1fr;gap:16px}.contact-dialog h2{font-size:34px}.contact-close{right:6px;top:4px}.contact-action{font-size:14px}.contact-channels{gap:8px 14px}.contact-direct .contact-channel{font-size:12px}}
@media(forced-colors:active){.contact-dialog select{appearance:auto;background-image:none;padding-right:12px}.contact-action::before,.contact-submit::before{border:1px solid ButtonText}.contact-submit{color:ButtonText}}
@media(prefers-reduced-motion:reduce){.contact-dialog[open]{animation:none}}

/* life-gallery.css */
/* A single-screen photo wall. Full photographs retain their straightened frame. */
:is(#zhizn,#school-life).life-gallery {
  --life-gap: 10px;
  --life-tile: calc((100cqh - var(--life-gap)) / 2);
  height: 100svh;
  min-height: 640px;
  padding: var(--section-heading-inset, 72px) 0 24px;
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
  gap: 28px;
  background: #181a1b;
  color: #fff;
  overflow: clip;
}
:is(#zhizn,#school-life) .life-heading {
  position: relative;
  inset: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-top: 0;
  padding-bottom: 0;
  width: 100%;
}
:is(#zhizn,#school-life) .life-heading .eyebrow { margin: 0 0 14px; color: #bfc1c0; }
:is(#zhizn,#school-life) .life-heading h2 { font-size: clamp(54px, 5.2vw, 82px); line-height: .98; color: #fff; }
:is(#zhizn,#school-life) .life-heading .life-intro { margin: 0 0 3px; max-width: 30ch; font-size: 14px; line-height: 1.7; color: #c3c4c4; }
.life-wall { width: 100%; height: 100%; min-height: 0; container-type: size; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y pinch-zoom; cursor: grab; }
.life-wall::-webkit-scrollbar { display: none; }
.life-wall:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.life-wall.is-dragging { cursor: grabbing; }
.life-mosaic { display: grid; grid-template-rows: repeat(2,var(--life-tile)); grid-auto-columns: var(--life-tile); grid-auto-flow: column dense; gap: var(--life-gap); width: max-content; height: 100%; padding-inline: var(--gutter); }
.life-tile { display: block; position: relative; overflow: hidden; width: 100%; height: 100%; background: #313334; user-select: none; }
.life-tile:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.life-tile img, .life-grid-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 380ms ease, transform 650ms cubic-bezier(.2,.6,.3,1); }
.life-tile:hover img, .life-tile:focus-visible img, .life-tile:active img, .life-grid-photo:hover img, .life-grid-photo:focus-visible img { filter: grayscale(0); transform: scale(1.025); }
.life-tile:focus-visible, .life-grid-photo:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.life-photo-open { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--red); color: #fff; opacity: 0; transform: translateY(4px); transition: opacity 220ms, transform 220ms; }
.life-photo-open svg { width: 20px; transform: rotate(-45deg); }
.life-tile:hover .life-photo-open, .life-tile:focus-visible .life-photo-open { opacity: 1; transform: none; }
.life-toolbar { display: none; }
.life-viewer-controls { display: flex; align-items: center; gap: 8px; }
.life-viewer-controls button, .life-close { display: grid; place-items: center; border: 1px solid #777a7b; background: transparent; color: #fff; width: 44px; height: 44px; padding: 0; }
.life-viewer-controls button:hover, .life-close:hover { background: #353738; border-color: #fff; }
[data-life-image-prev] svg { transform: rotate(180deg); }
.life-hint { font-size: 12px; line-height: 1.5; color: #b6b9b8; }
.life-all { margin-left: auto; min-height: 48px; display: inline-flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; border-bottom: 1px solid #7e8281; padding: 6px 0; }
.life-all:hover { color: #ff8179; border-color: currentColor; }
.life-total { color: #b6b9b8; margin-left: 10px; font-size: 12px; font-weight: 400; }

html.life-dialog-open { overflow: hidden; }
.life-dialog { width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #141617; color: #fff; overflow: hidden; }
.life-dialog::backdrop { background: #141617; }
.life-dialog[open] { display: flex; flex-direction: column; }
.life-dialog-header { display: flex; flex: 0 0 auto; align-items: center; gap: 24px; min-height: 88px; padding: 16px clamp(20px,4vw,64px); border-bottom: 1px solid #3c3e3f; }
.life-dialog-header h2 { font-size: 32px; line-height: 1; }
.life-dialog-header .life-close { margin-left: auto; flex-shrink: 0; }
.life-grid-return { margin-left: auto; border: 0; background: transparent; color: #d4d5d5; min-height: 44px; padding: 8px 0; text-decoration: underline; text-underline-offset: 5px; font-size: 14px; }
.life-grid-return:not([hidden]) + .life-close { margin-left: 0; }
.life-gallery-scroll { overflow: auto; min-height: 0; padding: 28px clamp(20px,4vw,64px) 48px; }
.life-full-grid { columns: 4; column-gap: 12px; }
.life-grid-photo { display: block; position: relative; overflow: hidden; background: #303233; break-inside: avoid; margin-bottom: 12px; }
.life-grid-photo--panorama { column-span: all; }
.life-grid-photo img { filter: grayscale(0); height: auto; }
.life-viewer { display: flex; flex-direction: column; min-height: 0; flex: 1; padding: 20px clamp(20px,4vw,64px) max(20px,env(safe-area-inset-bottom)); }
.life-image-stage { min-height: 0; flex: 1; position: relative; display: grid; place-items: center; }
.life-full-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.life-full-image.is-loading { opacity: 0; }
.life-image-status { position: relative; align-self: center; text-align: center; font-size: 14px; color: #c3c5c4; padding: 24px; }
.life-image-retry { position: absolute; top: calc(50% + 28px); min-height: 44px; padding: 8px 16px; background: transparent; color: #fff; border: 1px solid #888; }
.life-viewer-footer { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; }
.life-caption { font-size: 14px; line-height: 1.5; color: #c6c8c7; }
.life-counter { min-width: 74px; text-align: center; font-variant-numeric: tabular-nums; font-size: 13px; }
.life-archive { background: #181a1b; color: #fff; padding: 32px var(--gutter) 64px; }
.life-archive-header { margin-bottom: 36px; }
.life-archive-header h1 { font-size: clamp(48px,8vw,100px); margin: 32px 0 16px; }
.life-archive-header .text-link svg { transform: rotate(180deg); }

@media (min-width: 701px) and (max-height: 760px) {
  :is(#zhizn,#school-life).life-gallery { gap: 20px; padding-bottom: 20px; }
  :is(#zhizn,#school-life) .life-heading h2 { font-size: clamp(50px,4.6vw,68px); }
}
@media (min-width: 701px) and (max-width: 1000px) {
  :is(#zhizn,#school-life) .life-heading { display: block; }
  :is(#zhizn,#school-life) .life-heading h2 { font-size: 58px; }
  :is(#zhizn,#school-life) .life-heading .life-intro { max-width: none; font-size: 13px; margin-top: 14px; }
  .life-desktop-break { display: none; }
}
@media (max-width: 700px) {
  :is(#zhizn,#school-life).life-gallery { --life-wall-height: clamp(250px,76vw,440px); --life-tile: var(--life-wall-height); --life-gap: 10px; display: flex; flex-direction: column; height: auto; gap: 20px; padding-top: 80px; padding-bottom: 32px; min-height: 100svh; }
  :is(#zhizn,#school-life) .life-heading { display: block; }
  :is(#zhizn,#school-life) .life-heading .eyebrow { margin-bottom: 16px; font-size: 10px; }
  :is(#zhizn,#school-life) .life-heading h2 { font-size: clamp(36px,9.5vw,64px); line-height: 1.02; }
  :is(#zhizn,#school-life) .life-heading .life-intro { margin-top: 18px; max-width: 30ch; font-size: 13px; line-height: 1.6; }
  .life-desktop-break { display: none; }
  .life-wall { height: var(--life-wall-height); }
  .life-mosaic { display: flex; }
  .life-tile { width: var(--life-tile); height: var(--life-tile); flex: 0 0 var(--life-tile); }
  .life-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding-right: var(--gutter); }
  .life-toolbar .life-hint { max-width: 150px; font-size: 11px; }
  .life-hint br { display: block; }
  .life-all { gap: 16px; font-size: 13px; margin-left: 0; }
  .life-total { margin-left: 4px; font-size: 11px; }
  .life-photo-open { display: none; }
  .life-dialog-header { padding: max(12px,env(safe-area-inset-top)) 16px 12px; min-height: 72px; gap: 16px; flex-wrap: wrap; }
  .life-dialog-header h2 { font-size: 26px; }
  .life-grid-return { order: 3; width: 100%; min-height: 30px; text-align: left; margin-top: -8px; font-size: 12px; }
  .life-dialog-header .life-grid-return:not([hidden]) + .life-close { margin-left: auto; }
  .life-gallery-scroll { padding: 16px 16px 32px; }
  .life-full-grid { columns: 2; column-gap: 8px; }
  .life-grid-photo { margin-bottom: 8px; }
  .life-viewer { padding: 12px 16px max(20px,env(safe-area-inset-bottom)); }
  .life-viewer-footer { flex-direction: column; gap: 12px; padding-top: 16px; }
  .life-caption { font-size: 12px; text-align: center; }
  .life-viewer-controls { width: 100%; justify-content: space-between; }
}
@media (max-width: 370px) {
  :is(#zhizn,#school-life).life-gallery { gap: 20px; --life-wall-height: 250px; }
  :is(#zhizn,#school-life) .life-heading h2 { font-size: 36px; }
  .life-toolbar { column-gap: 8px; }
  .life-all { gap: 8px; }
  .life-total { display: none; }
}
@media (max-width: 700px) and (max-height: 700px) {
  :is(#zhizn,#school-life) .life-heading .life-intro { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .life-tile img, .life-grid-photo img, .life-photo-open { transition: none; }
  .life-tile:hover img, .life-tile:focus-visible img, .life-grid-photo:hover img { transform: none; }
}
