/* OJITSU – site styles (matches the original Mozello look: Roboto Slab, dark red, cream, B&W photos) */

/* ── Fonts: Roboto Slab, self-hosted (Latin, Latvian, Cyrillic) ── */
@font-face { font-family: 'Roboto Slab'; font-weight: 300; font-display: swap; src: url(fonts/roboto-slab-latin-300-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto Slab'; font-weight: 300; font-display: swap; src: url(fonts/roboto-slab-latin-ext-300-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto Slab'; font-weight: 300; font-display: swap; src: url(fonts/roboto-slab-cyrillic-300-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Roboto Slab'; font-weight: 500; font-display: swap; src: url(fonts/roboto-slab-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto Slab'; font-weight: 500; font-display: swap; src: url(fonts/roboto-slab-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto Slab'; font-weight: 500; font-display: swap; src: url(fonts/roboto-slab-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Roboto Slab'; font-weight: 700; font-display: swap; src: url(fonts/roboto-slab-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto Slab'; font-weight: 700; font-display: swap; src: url(fonts/roboto-slab-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto Slab'; font-weight: 700; font-display: swap; src: url(fonts/roboto-slab-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ── Tokens ── */
:root {
  --red: #981e25;
  --red-dark: #7a161c;
  --cream: #faf4f0;
  --ink: #292929;
  --black: #111;
  --white: #fff;
  --line: #e4dbd5;
  --muted: #5c5552;
  --cell: #f3f0ee;
  --purple-belt: #5c2d91;
  --brown-belt: #6b4423;
  --font: 'Roboto Slab', Georgia, serif;
  --wrap: 72rem;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --radius: 6px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 300 1.125rem/1.7 var(--font); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--black); font-weight: 700; line-height: 1.3; margin: 0 0 .75em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -.02em; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.015em; text-transform: uppercase; text-align: center; }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
a { color: var(--red); text-underline-offset: .2em; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap--text { max-width: 52rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
.note { font-size: .95rem; color: var(--muted); }

/* ── Buttons (as on the original site) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font: 500 1.05rem/1.5 var(--font); text-decoration: none; cursor: pointer;
  padding: .85rem 1.5rem; border-radius: var(--radius); border: 2px solid var(--red);
  background: var(--red); color: var(--white); transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn--outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline-light:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn--outline { background: transparent; border-color: var(--red); color: var(--red); }
.btn--outline:hover { background: var(--red); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.actions--left { justify-content: flex-start; }

/* ── Header: logo, then a sticky menu bar ── */
.masthead { background: var(--white); padding: 1.75rem var(--pad) 1rem; text-align: center; }
.masthead__logo { display: inline-block; }
.masthead__logo img { width: clamp(180px, 22vw, 240px); }
.navbar { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.navbar__inner { display: flex; align-items: center; justify-content: center; position: relative; min-height: 3.6rem; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 2rem; }
.nav a { color: var(--black); text-decoration: none; text-transform: uppercase; font-weight: 500; font-size: 1rem; padding: .9rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.langs { position: absolute; right: var(--pad); display: flex; gap: .15rem; }
.langs a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .85rem; padding: .25rem .4rem; border-radius: 4px; }
.langs a:hover { color: var(--red); }
.langs a[aria-current] { color: var(--white); background: var(--red); }
.menu-btn { display: none; align-items: center; gap: .6rem; background: none; border: 0; padding: .9rem 0; cursor: pointer; font: 500 1rem var(--font); text-transform: uppercase; color: var(--black); }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 1.3rem; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ''; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ── Photo sections (hero + schedule): B&W photo under a dark overlay ── */
.photo-hero, .section--photo { position: relative; isolation: isolate; background: var(--black); color: var(--white); overflow: hidden; }
.photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-hero::after, .section--photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgb(0 0 0 / .62); }
.photo-hero__inner { text-align: center; padding-top: clamp(4rem, 11vw, 8rem); padding-bottom: clamp(4rem, 10vw, 7rem); }
.photo-hero h1 { color: var(--white); max-width: 26ch; margin-left: auto; margin-right: auto; }
.photo-hero__lead { max-width: 40rem; margin: 0 auto; }
.photo-hero--sub .photo-hero__inner { padding-top: clamp(3.5rem, 9vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 5.5rem); }
.facts { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; font-size: .95rem; color: #e9e2de; }
.facts li { display: flex; align-items: center; gap: .6rem; }
.facts li + li::before { content: ''; width: 6px; height: 6px; background: var(--red); border-radius: 1px; margin-left: -1.3rem; }

/* ── Sections ── */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section--cream { background: var(--cream); }
.section--photo h2 { color: var(--white); }
.section--photo .note { color: #ddd5d0; text-align: center; max-width: 46rem; margin: 1.5rem auto 0; }

/* About + "read more" */
.more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 1.5rem; }
.more summary, .faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.1rem 0; font-weight: 500; font-size: 1.2rem; color: var(--black);
}
.more summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.more summary::after, .faq__item summary::after {
  content: ''; flex: none; width: .7rem; height: .7rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg); transition: transform .2s;
}
.more[open] summary::after, .faq__item[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.more summary:hover, .faq__item summary:hover { color: var(--red); }
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; margin: .5rem 0 1.5rem; }
.formats h3, .more > h3 { font-weight: 700; margin-bottom: .4rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { padding-left: 1.6rem; position: relative; margin-bottom: .4rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .7em; width: .6rem; height: .6rem; background: var(--red); border-radius: 2px; }

/* Schedule table (like the original: red "time" cell, coloured class labels) */
.sched { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--cell); color: var(--black); border-radius: var(--radius); overflow: hidden; margin-top: 1rem; table-layout: fixed; }
.sched th, .sched td { padding: 1rem .5rem; text-align: center; border-right: 1px solid #d9d2ce; border-bottom: 1px solid #d9d2ce; vertical-align: middle; }
.sched tr > :last-child { border-right: 0; }
.sched tbody tr:last-child > * { border-bottom: 0; }
.sched thead th { background: #1c1c1c; color: var(--white); font-weight: 500; font-size: .98rem; border-color: #333; }
.sched thead .sched__corner { background: var(--red); }
.sched tbody th { font-weight: 700; width: 7.5rem; background: #ebe6e3; }
.sched td.is-empty { color: #9a918c; }
.sched__dur { display: block; font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.tag { display: inline-block; padding: .3rem .65rem; border-radius: 4px; font-weight: 500; font-size: .92rem; line-height: 1.35; border: 2px solid; }
.tag--youth { background: var(--white); border-color: var(--red); color: var(--red); }
.tag--kids { background: var(--white); border-color: var(--black); color: var(--black); }
.tag--nogi { background: var(--black); border-color: var(--black); color: var(--white); }
.tag--gi { background: var(--red); border-color: var(--red); color: var(--white); }
.tag--vfs { background: var(--white); border-color: #8a817c; border-style: dashed; color: var(--ink); }
.sched-list { display: none; }

/* Prices */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; max-width: 56rem; margin: 0 auto; }
.prices h3 { text-transform: uppercase; font-weight: 700; text-align: center; }
.price-list { list-style: none; margin: 0; padding: 0; background: var(--white); border-radius: var(--radius); border-top: 4px solid var(--red); }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price__label { font-weight: 500; }
.price__label small { display: block; font-size: .85rem; font-weight: 300; color: var(--muted); }
.price__amount { font-weight: 700; font-size: 1.45rem; color: var(--black); white-space: nowrap; }
.price__amount small { font-size: .85rem; font-weight: 300; color: var(--muted); }

/* Coaches */
.coaches { display: grid; grid-template-columns: repeat(2, minmax(0, 22rem)); justify-content: center; gap: 3rem; }
.coach__photo { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--cell); margin-bottom: 1.25rem; }
.coach__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.coach h3 { text-transform: uppercase; font-weight: 700; font-size: 1.5rem; margin-bottom: .3rem; }
.coach__belt { display: flex; align-items: center; gap: .6rem; margin-bottom: .2rem; }
.belt-dot { width: 2.2rem; height: .6rem; border-radius: 2px; background: var(--purple-belt); box-shadow: inset -.6rem 0 0 #000; }
.belt-dot--brown { background: var(--brown-belt); }
.coach__teaches { font-size: .95rem; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { font-size: 1.1rem; }
.faq__item p { margin: 0; padding: 0 0 1.25rem; }

/* Sign-up + contact */
.signup { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
.signup h2 { text-align: left; }
.form { margin-top: 1.5rem; }
.mode { border: 2px solid var(--black); border-radius: var(--radius); padding: 0; margin: 0 0 1.5rem; display: inline-flex; overflow: hidden; }
.mode label { cursor: pointer; }
.mode input { position: absolute; opacity: 0; }
.mode span { display: block; padding: .55rem 1.1rem; font-weight: 500; font-size: 1rem; }
.mode input:checked + span { background: var(--black); color: var(--white); }
.mode input:focus-visible + span { outline: 3px solid var(--red); outline-offset: -5px; }
.field { margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 500; font-size: 1rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: 300 1rem var(--font); color: var(--ink); background: var(--white);
  border: 1px solid #cfc6c1; border-radius: var(--radius); padding: .75rem .85rem; min-height: 3rem;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgb(152 30 37 / .2); }
.field [aria-invalid="true"] { border-color: var(--red); background: #fff5f5; }
.hint { font-size: .88rem; color: var(--muted); margin: .4rem 0 0; }
.form__privacy { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.form__status { font-weight: 500; margin: .75rem 0 0; }
.form__status.is-ok { color: #1d6b3a; }
.form__status.is-err { color: var(--red); }
.form.is-question [data-signup-only] { display: none; }

.contact h2 { text-align: left; font-size: 1.6rem; }
.contact__addr { font-weight: 700; color: var(--black); margin-bottom: .3rem; }
.contact__list { margin: 1.5rem 0; }
.contact__list div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.contact__list dt { color: var(--muted); }
.contact__list dd { margin: 0; font-weight: 500; }
.map { aspect-ratio: 4 / 3; background: var(--cell); border-radius: var(--radius); display: grid; place-content: center; justify-items: center; gap: .75rem; padding: 1.5rem; text-align: center; overflow: hidden; }
.map p { font-size: .85rem; color: var(--muted); margin: 0; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map.is-loaded { display: block; padding: 0; }

/* Kids page */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 60rem; margin: 0 auto; }
.why > div { background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.75rem; border-left: 4px solid var(--red); }
.why h3 { font-weight: 700; margin-bottom: .4rem; }
.why p { margin: 0; }
.age-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; max-width: 60rem; margin: 0 auto; }
.age-group__ages { font-weight: 700; font-size: clamp(2.5rem, 5vw, 3.25rem); line-height: 1; color: var(--red); margin-bottom: .5rem; }
.age-group h3 { text-transform: uppercase; font-weight: 700; }
.big-price { text-align: center; font-size: 1.2rem; margin: 1.5rem 0 0; }
.big-price strong { font-size: 2rem; }

/* Privacy */
.prose h1 { text-align: left; }
.prose h2 { text-align: left; text-transform: none; font-size: 1.3rem; margin-top: 2rem; }

/* Footer */
.site-footer { background: var(--black); color: #d8d2ce; padding: 3rem 0 2rem; border-top: 6px solid var(--red); }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: center; }
.site-footer__logo img { width: 200px; }
.site-footer address { font-style: normal; text-align: right; line-height: 1.9; }
.site-footer a { color: var(--white); }
.site-footer__small { grid-column: 1 / -1; font-size: .85rem; border-top: 1px solid #2c2c2c; padding-top: 1.25rem; margin: 0; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .navbar__inner { justify-content: space-between; }
  .langs { position: static; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 0 var(--pad) .75rem; box-shadow: 0 12px 20px -14px rgb(0 0 0 / .35); }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .signup { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .sched { display: none; }
  .sched-list { display: grid; gap: .75rem; margin-top: 1rem; }
  .sched-list__day { background: var(--cell); color: var(--black); border-radius: var(--radius); overflow: hidden; }
  .sched-list__day h3 { background: #1c1c1c; color: var(--white); font-size: 1rem; margin: 0; padding: .6rem 1rem; }
  .sched-list ul { list-style: none; margin: 0; padding: 0; }
  .sched-list li { display: grid; grid-template-columns: 6.75rem 1fr; align-items: center; gap: .2rem .75rem; padding: .7rem 1rem; border-top: 1px solid #ddd6d2; }
  .sched-list li:first-child { border-top: 0; }
  .sched-list__time { font-weight: 700; font-size: .95rem; grid-row: span 2; }
  .sched-list .tag { justify-self: start; }
  .sched-list__desc { font-size: .85rem; color: var(--muted); }
  .prices, .formats, .field-row, .why, .age-groups { grid-template-columns: 1fr; }
  .coaches { grid-template-columns: minmax(0, 22rem); }
  .contact__list div { grid-template-columns: 1fr; gap: 0; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer address { text-align: left; }
  .actions .btn { width: 100%; }
  .mode { display: flex; }
  .mode label { flex: 1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 760px) {
  .facts { flex-direction: column; align-items: center; gap: .25rem; }
  .facts li + li::before { display: none; }
}
.photo-hero--sub .photo-bg { object-position: center 35%; }
