/*
 * Dzala – martial arts academy template · Abedev (abedev.com)
 *
 * Design: a dojo on paper – warm rice paper, ink black and one vermilion like a seal stamp, a heavy condensed face for
 * headings in capitals over a friendly sans and a mono for times. The belt colours run through the site: a belt strip
 * under the hero, the belt path with drawn belts, colour-coded disciplines in the timetable. The language switch is a
 * row of belt ends with the flag stitched on as a patch – the language in use is the black belt. On phones the menu
 * opens like two sliding paper doors. All motion stops with "reduce motion".
 */
@font-face { font-family: "Dzala Head"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/fira-sans-extra-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Dzala Head"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/fira-sans-extra-condensed-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Dzala Head"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/fira-sans-extra-condensed-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Dzala Head"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Dzala Head"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/fira-sans-extra-condensed-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Dzala Head"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/fira-sans-extra-condensed-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Dzala Head"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/fira-sans-extra-condensed-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Dzala Head"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-800-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Dzala Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Dzala Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Dzala Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-sans-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Dzala Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-400-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Dzala Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ubuntu-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Dzala Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ubuntu-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Dzala Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ubuntu-sans-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Dzala Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Dzala Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-sans-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Dzala Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-sans-mono-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Dzala Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-sans-mono-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Dzala Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-400-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }

:root {
    --paper: #f3efe6;
    --paper-2: #ebe5d8;
    --white: #fffdf8;
    --ink: #16140f;
    --ink-2: #2a2721;
    --accent: #c63d2a;
    --accent-ink: #fff;
    --accent-soft: color-mix(in srgb, var(--accent) 12%, #fff);
    --muted: #625d52;
    --line: #d8d0bf;
    --line-dark: rgba(243, 239, 230, .16);
    --r: 6px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --head: "Dzala Head", "Arial Narrow", system-ui, sans-serif;
    --text: "Dzala Text", system-ui, sans-serif;
    --mono: "Dzala Mono", ui-monospace, monospace;
    --d-karate: #c63d2a;
    --d-judo: #2f68b3;
    --d-boxing: #a8812a;
    --d-kickbox: #d8661f;
    --d-grappling: #3a8a50;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 800; line-height: 1; letter-spacing: .005em; text-transform: uppercase; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3 { text-transform: none; line-height: 1.3; letter-spacing: 0; }
:lang(de) h1, :lang(ru) h1, :lang(de) h2, :lang(ru) h2 { -webkit-hyphens: auto; hyphens: auto; }
p { margin: 0 0 .8em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: 1rem; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.small-label { display: block; margin: 0 0 .5rem; font: 400 .74rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
:lang(ka) .small-label { letter-spacing: .02em; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li + li { margin-top: .3rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; font: 400 .8rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
:lang(ka) .eyebrow { letter-spacing: .02em; }
.display { font-size: clamp(2.8rem, 1.4rem + 5.6vw, 6.2rem); line-height: .92; }
:lang(ka) .display { font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.6rem); line-height: 1.22; }
:lang(ru) .display { font-size: clamp(2.5rem, 1.3rem + 4.8vw, 5.4rem); }
.display--page { font-size: clamp(2.4rem, 1.3rem + 4vw, 4.6rem); max-width: 16ch; }
:lang(ka) .display--page { font-size: clamp(1.5rem, .9rem + 2.8vw, 2.8rem); max-width: 26ch; }
.display--cta { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.8rem); }
:lang(ka) .display--cta { font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem); }
.h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }
:lang(ka) .h2 { font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); }
.h3 { font-size: 1.6rem; }
:lang(ka) .h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.h2 + .lead, .section-head .lead { margin-top: .9rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .7rem 1.4rem; border: 2px solid transparent; border-radius: var(--r); font-weight: 600; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.btn-line { border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-white:hover { background: #fff; }
.btn-sm { min-height: 40px; padding: .4rem .95rem; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 0; }
.more { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* header */
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; min-width: 0; }
.logo-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 4px; background: var(--accent); color: #fff; box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 4.5px rgba(255, 255, 255, .7); transition: transform .4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-6deg); }
.logo-mark .icon { width: 26px; height: 26px; stroke-width: 1.8; }
.logo-img { max-height: 44px; width: auto; }
.logo > span:last-child { display: flex; flex-direction: column; font: 800 1.45rem/1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.logo small { font: 400 .68rem/1.4 var(--mono); letter-spacing: .12em; color: var(--muted); }
:lang(ka) .logo small { letter-spacing: .02em; text-transform: none; }
.nav { display: flex; gap: 1.5rem; }
.nav a { position: relative; padding: .4rem 0; text-decoration: none; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--ink); border-radius: 1px; }
.header-cta[aria-current] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent); }
.panel-btn { display: none; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .9rem; border: 2px solid var(--ink); border-radius: var(--r); background: none; cursor: pointer; font-weight: 600; }
.panel-btn .icon { width: 20px; height: 20px; }

/* language switch: belt ends – the flag is the patch, the code is stitched on; the language in use is the black belt */
.obi { display: flex; gap: .3rem; }
.obi-end { position: relative; display: inline-flex; align-items: center; gap: .35rem; height: 30px; padding: 0 24px 0 4px; text-decoration: none; background: var(--white); border: 1px solid var(--line);
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .25s, color .25s, transform .3s var(--ease); }
.obi-patch { display: grid; place-items: center; width: 22px; height: 22px; padding: 2px; background: #fff; outline: 1px dashed rgba(22, 20, 15, .45); outline-offset: -1px; }
.obi-patch .flag { width: 18px; height: 18px; }
.obi-code { font: 400 .72rem/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.obi-end:hover { transform: translateY(-2px); }
.obi-end[aria-current] { background: var(--ink); border-color: var(--ink); }
.obi-end[aria-current] .obi-code { color: var(--paper); }
.obi-end[aria-current]::after { content: ""; position: absolute; right: 11px; top: 0; bottom: 0; width: 5px; background: var(--accent); }
.obi--panel { flex-wrap: wrap; gap: .4rem; margin: 1.6rem 0 0; }
.obi--panel .obi-end { height: 38px; padding-right: 28px; }
.obi--panel .obi-end[aria-current]::after { right: 14px; }
.obi--panel .obi-code { font-size: .82rem; }

/* menu on phones: two paper doors slide apart */
.panel { position: fixed; inset: 0; z-index: 60; background: var(--ink); overflow: hidden; }
.panel-door { position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 2; background-color: var(--paper);
    background-image: linear-gradient(var(--ink-2) 2px, transparent 2px), linear-gradient(90deg, var(--ink-2) 2px, transparent 2px); background-size: 25% 64px; border: 6px solid var(--ink-2); transition: transform .6s var(--ease); }
.panel-door--l { left: 0; }
.panel-door--r { right: 0; }
.panel.is-open .panel-door--l { transform: translateX(-100%); }
.panel.is-open .panel-door--r { transform: translateX(100%); }
.panel-inner { position: absolute; inset: 0; overflow-y: auto; padding: 1.2rem 1.25rem 2rem; color: var(--paper); opacity: 0; transition: opacity .4s .25s; }
.panel.is-open .panel-inner { opacity: 1; }
.panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.panel-label { font: 400 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 239, 230, .6); }
.panel-close { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--line-dark); border-radius: var(--r); background: none; color: var(--paper); cursor: pointer; }
.panel-nav { display: grid; }
.panel-nav a { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; font: 800 2.2rem/1.05 var(--head); text-transform: uppercase;
    opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease) calc(.3s + var(--i) * 70ms), transform .4s var(--ease) calc(.3s + var(--i) * 70ms); }
:lang(ka) .panel-nav a { font-size: 1.5rem; text-transform: none; }
.panel.is-open .panel-nav a { opacity: 1; transform: none; }
.panel-num { font: 400 .8rem/1 var(--mono); color: rgba(243, 239, 230, .5); }
.panel-nav a[aria-current] { color: var(--accent); }
.panel-nav a[aria-current] .panel-num { color: var(--accent); }
.panel-contact { margin-top: 1.4rem; color: rgba(243, 239, 230, .7); }
.panel-contact a { text-decoration: none; }
.panel .obi-end { background: var(--ink-2); border-color: var(--line-dark); }
.panel .obi-end[aria-current] { background: var(--paper); }
.panel .obi-end[aria-current] .obi-code { color: var(--ink); }

/* hero */
.hero { position: relative; padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero .lead { margin-top: 1.3rem; }
.hero-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; border-radius: var(--r); filter: saturate(.9) contrast(1.04); }
.hero-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 2px solid var(--ink); border-radius: var(--r); }
.hanko { position: absolute; left: -22px; bottom: 34px; display: grid; place-items: center; width: 76px; height: 76px; background: var(--accent); color: #fff; border-radius: 6px; transform: rotate(-8deg); box-shadow: inset 0 0 0 5px var(--accent), inset 0 0 0 7px rgba(255, 255, 255, .8), 0 14px 30px -14px rgba(0, 0, 0, .5); }
.hanko .icon { width: 40px; height: 40px; stroke-width: 1.6; }
.hero-belts { display: flex; height: 14px; margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.hero-belts i { flex: 1; background: var(--c); box-shadow: inset 0 1px 0 rgba(0, 0, 0, .18), inset 0 -1px 0 rgba(0, 0, 0, .18); transform-origin: left; animation: belt-in .8s var(--ease) both; }
.hero-belts i:nth-child(2) { animation-delay: .08s; } .hero-belts i:nth-child(3) { animation-delay: .16s; } .hero-belts i:nth-child(4) { animation-delay: .24s; }
.hero-belts i:nth-child(5) { animation-delay: .32s; } .hero-belts i:nth-child(6) { animation-delay: .4s; } .hero-belts i:nth-child(7) { animation-delay: .48s; }
@keyframes belt-in { from { transform: scaleX(0); } }

/* facts */
.facts { background: var(--ink); color: var(--paper); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: grid; gap: .25rem; padding: 1.8rem 1.2rem; border-left: 1px solid var(--line-dark); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font: 800 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--head); white-space: nowrap; }
.fact span { color: rgba(243, 239, 230, .7); font-size: .95rem; }

/* sections */
.section { padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0; }
.section--tight { padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.section--paper { background: var(--paper-2); border-block: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .lead { color: rgba(243, 239, 230, .72); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.2rem; }
.page-head { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 1rem; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--paper-2), var(--paper)); }
.page-head .lead { margin-top: 1.2rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }

/* disciplines */
.disc-karate { --d: var(--d-karate); }
.disc-judo { --d: var(--d-judo); }
.disc-boxing { --d: var(--d-boxing); }
.disc-kickbox { --d: var(--d-kickbox); }
.disc-grappling { --d: var(--d-grappling); }
.styles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1rem; }
.style a { display: flex; flex-direction: column; height: 100%; padding: 1.4rem 1.2rem 1.2rem; border: 1px solid var(--line); border-top: 6px solid var(--d); border-radius: var(--r); background: var(--white); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.style a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -26px rgba(22, 20, 15, .45); }
.style-ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1rem; border-radius: 50%; background: color-mix(in srgb, var(--d) 14%, #fff); color: var(--d); }
.style-ico .icon { width: 30px; height: 30px; }
.style h3 { font-size: 1.7rem; }
:lang(ka) .style h3 { font-size: 1.2rem; }
.style-ages { margin: .3rem 0 .7rem; font: 400 .78rem/1.4 var(--mono); color: var(--d); letter-spacing: .06em; text-transform: uppercase; }
:lang(ka) .style-ages { text-transform: none; letter-spacing: 0; }
.style p:not(.style-ages) { color: var(--muted); font-size: .95rem; }
.style .more { margin-top: auto; color: var(--d); }

/* lessons (timetable and today) */
.mat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.mat .btn { margin-top: 1rem; }
.lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.lesson a { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .1rem 1rem; padding: .8rem 1rem .8rem 1.1rem; border-left: 5px solid var(--d); border-radius: var(--r); background: var(--white); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.lesson a:hover { transform: translateX(3px); box-shadow: 0 10px 26px -18px rgba(22, 20, 15, .5); }
.lesson-time { grid-row: span 3; font: 400 .9rem/1.4 var(--mono); color: var(--muted); white-space: nowrap; }
.lesson-name { display: flex; align-items: center; gap: .45rem; font-weight: 600; line-height: 1.3; }
.lesson-name .icon { color: var(--d); }
.lesson-meta, .lesson-coach { font-size: .86rem; color: var(--muted); }
.lesson-try { position: absolute; right: .9rem; top: .8rem; display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; font-weight: 600; color: var(--accent); opacity: 0; transition: opacity .2s; }
.lesson a:hover .lesson-try, .lesson a:focus-visible .lesson-try { opacity: 1; }
.section--ink .lesson a { background: var(--ink-2); color: var(--paper); }
.section--ink .lesson-time, .section--ink .lesson-meta, .section--ink .lesson-coach { color: rgba(243, 239, 230, .62); }
.lessons--today .lesson.is-past { opacity: .45; }
.lessons--today .lesson.is-now a { box-shadow: 0 0 0 2px var(--accent); }
.lessons--today .lesson.is-now .lesson-time::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: .4rem; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.rest { padding: 2rem; border: 1px dashed var(--line-dark); border-radius: var(--r); color: rgba(243, 239, 230, .72); }

/* belt path */
.path { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; counter-reset: belt; }
.path li { display: grid; justify-items: center; gap: .4rem; padding: .9rem .4rem .8rem; border: 2px solid transparent; border-radius: var(--r); text-align: center; font-size: .88rem; font-weight: 600; cursor: pointer; transition: border-color .25s, background .25s, opacity .25s; }
.path li span { line-height: 1.25; max-width: 100%; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.belt-svg { width: 100%; max-width: 110px; height: auto; transition: transform .35s var(--ease); }
.path li:hover .belt-svg { transform: translateY(-3px); }
.path li.is-done { opacity: .5; }
.path li.is-now { border-color: var(--ink); background: var(--white); }
.path li.is-next { border-color: var(--accent); border-style: dashed; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 1.5rem; padding: 1.4rem 1.5rem; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); max-width: 760px; }
.calc .field { margin-bottom: 0; }
.calc-out { grid-column: 1 / -1; margin: 1.2rem 0 .3rem; font: 800 1.5rem/1.2 var(--head); text-transform: uppercase; color: var(--accent); }
:lang(ka) .calc-out { text-transform: none; font-size: 1.15rem; line-height: 1.4; }
.calc .note { grid-column: 1 / -1; }

/* coaches */
.form-photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.form-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.coaches { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0; }
.coaches li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.coaches h3 { font-size: 1.45rem; }
:lang(ka) .coaches h3 { font-size: 1.15rem; }
.coaches p { margin: .15rem 0 0; color: var(--muted); }
.coach-rank { font: 400 .8rem/1.5 var(--mono); color: var(--accent) !important; }
.mono { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 1.15rem/1 var(--head); }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }
.quote { position: relative; margin: 0; padding: 2.2rem 1.6rem 1.6rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.quote::before { content: ""; position: absolute; left: 1.6rem; top: 0; width: 46px; height: 6px; background: var(--accent); }
.quote blockquote { margin: 0 0 1rem; font-size: 1.06rem; }
.quote q { quotes: "“" "”"; }
:lang(de) .quote q, :lang(ka) .quote q { quotes: "„" "“"; }
:lang(ru) .quote q { quotes: "«" "»"; }
.quote figcaption { font: 400 .8rem/1.4 var(--mono); color: var(--muted); }

/* call to action */
.cta { padding: clamp(3rem, 2rem + 4vw, 5rem) 0; background: var(--accent); color: #fff; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
.cta p { font-size: 1.1rem; }

/* timetable */
.filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.2rem 2rem; margin-bottom: 2rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.chips legend { float: left; width: 100%; }
.chips label { position: relative; }
.chips input, .class-opt input, .date-opt input, .term input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .35rem .85rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; font-weight: 600; font-size: .92rem; transition: background .2s, border-color .2s, color .2s; }
.chips label[class*="disc-"] .icon { color: var(--d); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips input:checked + span .icon { color: inherit; }
.chips input:focus-visible + span, .class-opt input:focus-visible + span, .date-opt input:focus-visible + span, .term input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.filter-count { margin: 0 0 0 auto; font: 400 .9rem/1.4 var(--mono); color: var(--accent); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; align-items: start; }
.day-col { min-width: 0; }
.day-name { margin-bottom: .6rem; padding-bottom: .5rem; border-bottom: 3px solid var(--ink); font-size: 1.35rem; }
:lang(ka) .day-name { font-size: 1rem; }
.day-short { display: none; }
.day-col .lessons { gap: .45rem; }
.week .lesson a { grid-template-columns: 1fr; padding: .65rem .7rem .7rem .8rem; }
.week .lesson-time { grid-row: auto; font-size: .8rem; }
.week .lesson-name { font-size: .92rem; align-items: flex-start; }
.week .lesson-name .icon { margin-top: .15em; }
.week .lesson-meta, .week .lesson-coach { font-size: .78rem; }
.week .lesson-try { position: static; opacity: 1; margin-top: .3rem; }
.day-rest { display: none; margin: 0; padding: .7rem; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); font-size: .85rem; text-align: center; }
.day-col.is-rest .day-rest, .day-col.is-empty .day-rest { display: block; }
.no-match { margin-top: 1.5rem; padding: 2rem; border: 1px dashed var(--line); border-radius: var(--r); text-align: center; color: var(--muted); }

/* plans */
.term { display: inline-flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1.8rem; padding: .3rem; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); }
.term label { position: relative; }
.term span { display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .35rem 1rem; border-radius: 3px; cursor: pointer; font-weight: 600; }
.term em { font-style: normal; font: 400 .78rem/1 var(--mono); padding: .25rem .45rem; border-radius: 3px; background: var(--accent-soft); color: var(--accent); }
.term input:checked + span { background: var(--ink); color: var(--paper); }
.term input:checked + span em { background: var(--accent); color: #fff; }
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.8rem 1.6rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.plan.is-featured { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.badge { position: absolute; top: -13px; right: 1.2rem; padding: .3rem .7rem; background: var(--accent); color: #fff; font: 400 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; }
:lang(ka) .badge { letter-spacing: 0; text-transform: none; }
.plan h2 { margin-bottom: .6rem; }
.plan-price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.plan-price b { font: 800 2.8rem/1 var(--head); }
.plan-price s { color: var(--muted); }
.checks { list-style: none; margin: .4rem 0 1.6rem; padding: 0; display: grid; gap: .45rem; }
.checks li { display: flex; gap: .5rem; align-items: flex-start; }
.checks .icon { color: var(--accent); margin-top: .2em; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.family { display: flex; align-items: center; gap: .7rem; margin: 2rem 0 0; padding: 1rem 1.2rem; border-left: 5px solid var(--accent); background: var(--white); font-weight: 600; }
.family .icon { color: var(--accent); width: 26px; height: 26px; }
.gear { max-width: 820px; }

/* trial booking */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.book { display: grid; gap: 1.2rem; }
.block { margin: 0; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); min-width: 0; }
.block legend { float: left; width: 100%; display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; padding: 0; font: 800 1.35rem/1.1 var(--head); text-transform: uppercase; }
:lang(ka) .block legend { text-transform: none; font-size: 1.1rem; }
.block legend + * { clear: both; }
.step-n { display: inline-grid; place-items: center; min-width: 32px; height: 32px; border-radius: 3px; background: var(--ink); color: var(--paper); font: 400 .85rem/1 var(--mono); }
.block .chips { margin-bottom: 1rem; }
.class-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .5rem; }
.class-opt { position: relative; }
.class-opt span { display: grid; gap: .1rem; height: 100%; padding: .7rem .8rem .7rem .9rem; border: 1px solid var(--line); border-left: 5px solid var(--d); border-radius: var(--r); cursor: pointer; transition: background .2s, box-shadow .2s; }
.class-opt em { font: 400 .78rem/1.3 var(--mono); font-style: normal; color: var(--muted); }
.class-opt b { display: flex; align-items: center; gap: .4rem; font-size: .95rem; line-height: 1.3; }
.class-opt b .icon { color: var(--d); }
.class-opt small { color: var(--muted); font-size: .8rem; }
.class-opt input:checked + span { background: color-mix(in srgb, var(--d) 10%, #fff); box-shadow: inset 0 0 0 2px var(--d); }
.dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-bottom: 1rem; }
.date-opt { position: relative; min-width: 0; }
.date-opt span { display: grid; justify-items: center; padding: .55rem .3rem; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.date-opt small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .76rem; color: var(--muted); }
.date-opt b { font: 800 1.7rem/1.1 var(--head); }
.date-opt em { font: 400 .74rem/1.2 var(--mono); font-style: normal; color: var(--muted); }
.date-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.date-opt input:checked + span small, .date-opt input:checked + span em { color: rgba(243, 239, 230, .75); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; align-content: start; }
.field label, .field-label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: 16px; }
.field select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.2rem; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 20, 15, .12); }
.stepper { display: inline-flex; align-items: center; width: max-content; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.stepper button { display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; }
.stepper button:hover:not(:disabled) { color: var(--accent); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 2.2ch; text-align: center; font: 400 1.15rem/1 var(--mono); }
.consent { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: 1.2rem; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--accent); flex: none; }
.form-status { margin-top: 1rem; }
.form-status.is-shown { padding: .8rem 1rem; border-radius: var(--r); }
.form-status.ok { background: #e3f1e5; color: #1f5a2d; }
.form-status.info { background: var(--accent-soft); color: #8a2a1c; }
.form-status.error { background: #f8dcd7; color: #8a2a1c; }
.book-side { display: grid; gap: 1.2rem; position: sticky; top: 92px; }
.card { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.card--ticket { position: relative; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); }
.card--ticket .small-label { color: rgba(243, 239, 230, .6); }
.card--ticket::after { content: ""; position: absolute; right: -2px; top: 18px; width: 40px; height: 10px; background: var(--accent); }
.ticket-name { margin: 0 0 .3rem; font: 800 1.6rem/1.1 var(--head); text-transform: uppercase; }
:lang(ka) .ticket-name { text-transform: none; font-size: 1.2rem; line-height: 1.35; }
.ticket-when { margin: 0 0 .2rem; color: rgba(243, 239, 230, .85); }
.ticket-coach { color: rgba(243, 239, 230, .6); font-size: .92rem; }
.ticket-free { display: inline-block; margin: .3rem 0 .4rem; padding: .3rem .6rem; background: var(--accent); color: #fff; font-weight: 600; border-radius: 3px; }
.note { display: flex; gap: .5rem; align-items: flex-start; margin: .6rem 0 0; color: var(--muted); font-size: .9rem; }
.card--ticket .note { color: rgba(243, 239, 230, .7); }
.note .icon { margin-top: .15em; color: var(--accent); }
.addr { margin-bottom: 1rem; }
.addr a { text-decoration: none; }
.addr a:hover { color: var(--accent); }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .95rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; }
.hours li span:last-child { font-family: var(--mono); font-size: .9rem; }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.6rem; margin: 1.8rem 0 .5rem; }
:lang(ka) .legal h2 { font-size: 1.2rem; }
.legal p { color: var(--muted); }
.page-head h1 { font-size: clamp(1.6rem, 1rem + 3.4vw, 3.6rem); }
:lang(ka) .page-head h1 { font-size: clamp(1.15rem, .7rem + 3vw, 2.4rem); }

/* footer */
.footer { padding: 4rem 0 1.5rem; background: var(--ink); color: rgba(243, 239, 230, .72); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-name { font: 800 2rem/1 var(--head); text-transform: uppercase; color: var(--paper); }
.footer-h { margin: 0 0 .8rem; font: 400 .74rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
:lang(ka) .footer-h { letter-spacing: .02em; text-transform: none; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: var(--r); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); font-size: .88rem; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) calc(var(--i, 0) * 70ms), transform .7s var(--ease) calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1160px) {
    .obi--top { display: none; }
    .week { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1.6rem; }
}
@media (max-width: 960px) {
    .nav, .header-cta { display: none; }
    .panel-btn { display: inline-flex; }
    .hero-grid, .split, .cta-inner, .book-grid, .mat { grid-template-columns: minmax(0, 1fr); }
    .hero-photo { aspect-ratio: 16 / 11; margin-right: 14px; }
    .book-side { position: static; }
    .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fact { padding: 1.4rem 1rem; }
    .fact:nth-child(3) { border-left: 0; padding-left: 0; }
    .fact:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-photo { aspect-ratio: 16 / 10; }
    .path { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .wrap { width: calc(100% - 2rem); }
    .row2 { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .filter { padding: 1rem; }
    .filter-count { margin-left: 0; }
    .block { padding: 1.1rem; }
    .panel-btn span { display: none; }
    .panel-btn { width: 44px; padding: 0; justify-content: center; }
    .week { grid-template-columns: minmax(0, 1fr); }
    .path { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .calc { grid-template-columns: minmax(0, 1fr); padding: 1.1rem; }
    .calc .field + .field { margin-top: 1rem; }
    .dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hanko { width: 58px; height: 58px; left: -10px; }
    .hanko .icon { width: 30px; height: 30px; }
    .logo > span:last-child { font-size: 1.25rem; }
    .plan.is-featured { box-shadow: 6px 6px 0 var(--ink); }
}
@media (max-width: 420px) {
    .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .panel-nav a, .panel-inner { opacity: 1; transform: none; }
    .panel-door { display: none; }
    @view-transition { navigation: none; }
}
