/* Studio Savoy — the colours of the old site and the studio itself:
   sand header, taupe logo, wine accents, arches from the room. */

:root {
  --sand: #ebe0d5;        /* header band, quiet panels (old site header) */
  --sand-2: #f6f0ea;      /* lighter panel */
  --paper: #ffffff;
  --taupe: #a49283;       /* logo colour: lines, dots, ornaments — never body text */
  --taupe-deep: #74625a;  /* taupe that can carry text (5.6:1 on white) */
  --wine: #74262c;        /* primary action, headings accent, footer (old site footer) */
  --wine-deep: #57191e;
  --ink: #361215;         /* text */
  --ink-soft: #5e4a46;
  --line: rgba(54, 18, 21, .12);
  --ok: #4f6b4a;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Jost", "Futura", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --blush: #efcdd3;
  --butter: #f6e4b3;
  --sage: #dbe3c9;
  --lilac: #dcd0ea;

  --r: 14px;
  --arch: 999px 999px 14px 14px;
  --shadow: 0 18px 40px -22px rgba(54, 18, 21, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--sand); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.08; letter-spacing: -0.015em; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
/* Fraunces: the soft corners make it friendlier and sturdier than a didone; one setting for the whole site */
:where(h1, h2, h3, .slot-time time, .facts b, .lesson-price, .pass-price, .contact-address, .week-label, .ribbon-track > span,
       .acc-summary b, .acc-date b, .credit-big, .pay-opt em, legend) { font-variation-settings: "SOFT" 100, "WONK" 0; }
h1 em, h2 em { font-style: italic; color: var(--wine); }
p { margin: 0 0 1em; text-wrap: pretty; }
small { font-size: .85em; }
address { font-style: normal; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
.plain { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.5em;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; font-size: 1rem; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn { transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .25s var(--bounce), box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--primary:hover { box-shadow: 0 10px 20px -10px var(--wine); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--wine); color: #fff; }
.btn--primary:hover { background: var(--wine-deep); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: rgba(54, 18, 21, .05); }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: .95rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-arrow { color: var(--wine); font-weight: 500; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top); background: color-mix(in srgb, var(--sand) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: 132px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink-soft); letter-spacing: .03em; border-radius: 999px; }
.main-nav a:hover { color: var(--ink); background: rgba(255,255,255,.55); }
.main-nav a[aria-current="page"] { color: var(--wine); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .header-row { gap: 10px; min-height: 64px; }
  .brand img { width: 108px; }
  .main-nav { order: 3; margin-left: 0; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.6); border-radius: 999px; cursor: pointer; }
  .burger, .burger::before, .burger::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s var(--ease); }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; } .burger::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .burger { background: transparent; }
  .nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 8px var(--gutter) 20px; background: var(--sand); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav ul.open { display: flex; }
  .main-nav a { padding: 14px 4px; font-size: 1.2rem; font-family: var(--serif); color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; }
}

.flash { background: var(--wine); color: #fff; padding: 12px 0; }
.flash p { margin: 0; }

/* ---------- arches (the room's niches and doorways) ---------- */
.arch { margin: 0; border-radius: var(--arch); overflow: hidden; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { background: var(--sand); padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hero-copy { padding-top: clamp(8px, 5vw, 72px); }
.hero h1 { font-size: clamp(2.5rem, 5.8vw, 5rem); letter-spacing: -0.025em; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 42ch; margin-top: 1.1em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6em; }
.hero-visual { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.arch--hero { aspect-ratio: 4 / 5; max-height: 640px; width: min(100%, 480px); margin-left: auto; box-shadow: var(--shadow); }
.next-card {
  position: relative; margin: -120px 0 0 0; width: min(100%, 470px);
  background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 18px 14px;
  border: 1px solid var(--line);
}
.next-card h2 { font-size: 1.25rem; margin-bottom: 8px; padding-right: 120px; }
.next-list .slot { border-bottom: 1px solid var(--line); }
.next-list .slot:last-child { border-bottom: 0; }
.next-more { display: inline-block; margin-top: 10px; color: var(--wine); font-weight: 500; text-decoration: none; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 0; }
  .arch--hero { width: 78%; margin: 0 auto; max-height: 460px; }
  .next-card { margin: -90px auto 0; }
}

/* ---------- a lesson in a list ---------- */
.slot { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 12px 0; }
.slot-time { display: grid; line-height: 1.15; }
.slot-time time { font-family: var(--serif); font-size: 1.35rem; font-variant-numeric: lining-nums tabular-nums; }
.slot-day { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--taupe-deep); }
.slot-body h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 500; letter-spacing: 0; line-height: 1.25; }
.slot-body h3 a { text-decoration: none; }
.slot-body h3 a:hover { text-decoration: underline; }
.slot-meta { margin: 2px 0 0; font-size: .9rem; color: var(--ink-soft); }
.slot-act { display: grid; justify-items: end; gap: 6px; }
.slot-free { font-size: .82rem; color: var(--ink-soft); line-height: 1; }
.slot-state { font-size: .9rem; color: var(--taupe-deep); padding: 8px 0; }
.slot--off .slot-time, .slot--off .slot-body { opacity: .55; }
.slot-act .seats { display: none; }

/* free places: one dot per place in the room */
.seats { display: inline-flex; gap: 4px; vertical-align: middle; }
.seats i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--taupe); }
.seats i.taken { background: var(--taupe); }
.seats--mat i { width: 8px; height: 8px; }

/* ---------- section heads ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(20px, 3vw, 36px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section-head p { margin: 0; color: var(--ink-soft); }

/* ---------- intro ---------- */
.intro { padding: clamp(48px, 8vw, 110px) 0; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(28px, 5vw, 80px); }
.intro h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.intro-text p:first-child { font-size: 1.15rem; color: var(--ink); }
.intro-text { color: var(--ink-soft); }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(12px, 3vw, 32px); }
.facts li { padding: 22px 16px 0 0; display: grid; gap: 4px; }
.facts b { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--wine); }
.facts span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) {
  .intro-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
}

/* ---------- kinds ---------- */
.kinds { padding: 0 0 clamp(56px, 8vw, 110px); }
.kinds-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.kind-tile { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 22px; align-items: end; padding: 20px; border-radius: var(--r); background: var(--sand-2); text-decoration: none; transition: background-color .25s var(--ease); }
.kind-tile:hover { background: var(--sand); }
.kind-tile .arch { aspect-ratio: 3 / 4; }
.kind-tile h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .4em; }
.kind-tile p { color: var(--ink-soft); }
.kind-price { margin: 0; color: var(--wine) !important; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1em; }
.chips li { font-size: .82rem; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.6); }
@media (max-width: 860px) {
  .kinds-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .kind-tile { grid-template-columns: 1fr; }
  .kind-tile .arch { aspect-ratio: 4 / 3; }
  .kind-tile .arch, .kind-tile .arch img, .kind-tile .arch::before { border-radius: 999px 999px 14px 14px / 260px 260px 14px 14px; }
}

/* ---------- team ---------- */
.team { padding: clamp(56px, 8vw, 110px) 0; background: var(--sand); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.person .arch { aspect-ratio: 3 / 4; margin-bottom: 18px; background: var(--sand-2); }
.person h3 { font-size: 2rem; margin-bottom: .35em; }
.person p { color: var(--ink-soft); font-size: .98rem; }
.person details summary { cursor: pointer; color: var(--wine); font-weight: 500; list-style: none; margin-bottom: .8em; }
.person details summary::-webkit-details-marker { display: none; }
.person details summary::after { content: " +"; }
.person details[open] summary::after { content: " −"; }
@media (max-width: 860px) {
  .team-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ---------- passes band ---------- */
.passes-band { padding: clamp(48px, 7vw, 96px) 0; }
.passes-band-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(28px, 5vw, 80px); align-items: center; }
.passes-band h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: .4em; }
.passes-band p { color: var(--ink-soft); max-width: 40ch; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list li:first-child { border-top: 1px solid var(--line); }
.price-list b { font-weight: 500; font-size: 1.15rem; color: var(--wine); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 760px) { .passes-band-grid { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
/* FAQ: what people ask before the first lesson (the same answers go to Google and AI assistants, seo.py) */
.faq { padding: clamp(48px, 7vw, 96px) 0; background: var(--sand); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(28px, 5vw, 80px); align-items: start; }
.faq .section-head { display: block; margin: 0; }
.faq h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--paper); border-radius: var(--r); padding: 0 clamp(16px, 2.4vw, 24px); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 0; min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 500; line-height: 1.35; margin: 0; color: var(--ink); }
.faq-item summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand-2); color: var(--wine); font-size: 1.2rem; line-height: 1; transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover h3 { color: var(--wine); }
.faq-item p { margin: 0 0 18px; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } .faq .section-head { text-align: center; } }

.gallery { padding: clamp(48px, 7vw, 96px) 0; background: var(--sand-2); }
.gallery-grid { columns: 4 220px; column-gap: 12px; }
.gallery-item { display: block; margin-bottom: 12px; border-radius: 10px; overflow: hidden; break-inside: avoid; }
.gallery-item img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-more { display: flex; justify-content: center; margin-top: 12px; }
.gallery-grid:not(.is-open) .gallery-item:nth-child(n+9) { display: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(30, 10, 12, .86); }
.lightbox img { max-width: 96vw; max-height: 90vh; border-radius: 10px; }
.lightbox-close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ---------- contact ---------- */
.contact { padding: clamp(56px, 8vw, 110px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.contact h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: .6em; }
.contact-address { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; }
.contact address a { color: var(--wine); }
.contact-note { color: var(--ink-soft); max-width: 46ch; }
.arch--wide { aspect-ratio: 3 / 4; max-width: 400px; justify-self: end; width: 100%; }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .arch--wide { justify-self: center; max-width: 320px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--wine); color: #f3e9e0; padding: clamp(40px, 6vw, 72px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-brand img { width: 170px; height: auto; margin-bottom: 14px; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 500; margin-bottom: 12px; color: var(--sand); }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,.35); }
.site-footer p { color: #e7d6cf; font-size: .95rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* On a phone, short blocks (headings, intros, contact, footer) sit in the middle; lists, cards,
   forms and longer text stay left. Opt in with .m-center on the block. */
@media (max-width: 640px) {
  .m-center { text-align: center; }
  .m-center .lede, .m-center p { margin-inline: auto; }
  .m-center .hero-actions, .m-center .tabs { justify-content: center; }
  .section-head.m-center { flex-direction: column; align-items: center; }
  .facts.m-center li { justify-items: center; padding-right: 0; }
  .footer-grid.m-center { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid.m-center .footer-brand img { margin-inline: auto; }
}

/* floating WhatsApp (replaces the Wix chat) */
.whatsapp { position: fixed; right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; box-shadow: var(--shadow); font-size: .95rem; }
.whatsapp:hover { background: var(--wine-deep); }
@media (max-width: 900px) { .whatsapp { display: none; } }
.nav-only-mobile { display: none; }
@media (max-width: 900px) { .nav-only-mobile { display: block; } }

/* ---------- page heads ---------- */
.page-head { background: var(--sand); padding: clamp(18px, 2.6vw, 34px) 0 clamp(24px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.crumbs { font-size: .9rem; color: var(--taupe-deep); margin-bottom: .8em; }
.crumbs a { color: inherit; }
.tabs { display: flex; gap: 8px; margin-top: 1.4em; }
.tabs a { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.65); text-decoration: none; }
.tabs a:hover { background: #fff; }
.note { color: var(--ink-soft); font-size: .95rem; }
.empty { padding: 32px 0; color: var(--ink-soft); font-size: 1.05rem; }
.notice { margin-top: 1.5em; padding: 18px 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }

/* ---------- lessons ---------- */
.lesson-group { padding: clamp(40px, 6vw, 80px) 0 0; }
.lesson-group:last-of-type { padding-bottom: clamp(48px, 7vw, 96px); }
.lesson-list { border-top: 1px solid var(--line); }
.lesson-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.lesson-row h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: .25em; }
.lesson-row h3 a { text-decoration: none; }
.lesson-row h3 a:hover { color: var(--wine); }
.lesson-row p { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.lesson-price { font-family: var(--serif); font-size: 1.5rem; color: var(--wine) !important; display: grid; text-align: right; line-height: 1.1; }
.lesson-price small { font-family: var(--sans); font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 640px) {
  .lesson-row { grid-template-columns: minmax(0, 1fr) auto; }
  .lesson-row > div { grid-column: 1 / -1; }
  .lesson-price { text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .lesson-row .btn { justify-self: end; }
}
.lesson-head .lede { max-width: 56ch; }
.facts-inline { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4em 0 1em; }
.facts-inline li { background: rgba(255,255,255,.65); border-radius: 999px; padding: 6px 14px; font-size: .95rem; }
.facts-inline b { color: var(--wine); font-weight: 500; }
.lesson-dates { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.slot-list { max-width: 760px; }
.slot-list .slot { border-bottom: 1px solid var(--line); }
.day-title { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--taupe-deep); font-weight: 500; margin: 26px 0 2px; }
.day-title:first-child { margin-top: 0; }
.slot-list .slot-act .seats { display: inline-flex; }

/* ---------- timetable ---------- */
.tt-head { padding-bottom: clamp(22px, 3vw, 36px); }
.tt-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 1.2em; }
.week-nav { display: flex; align-items: center; gap: 10px; }
.week-label { margin: 0; font-family: var(--serif); font-size: 1.35rem; min-width: 11ch; text-align: center; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.7); text-decoration: none; font-size: 1.2rem; }
a.icon-btn:hover { background: #fff; }
span.icon-btn { opacity: .35; }
.tt-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seg { display: inline-flex; background: rgba(255,255,255,.6); border-radius: 999px; padding: 4px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 6px 14px; border-radius: 999px; cursor: pointer; font-size: .95rem; }
.seg input:checked + span { background: var(--wine); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--wine); outline-offset: 2px; }
@media (max-width: 640px) {
  .page-head h1 { font-size: 2.4rem; }
  .tt-head { padding-top: 22px; padding-bottom: 16px; }
  .tt-bar { margin-top: .6em; gap: 10px; }
  .week-label { font-size: 1.15rem; }
  .tt-filter { width: 100%; }
  .tt-filter select { flex: 1 1 100%; }   /* own row: next to the switch, lesson names were cut ("Všetky lekc…") */
  .seg span { padding: 6px 11px; }
}

/* ---------- passes page ---------- */
.passes { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
/* flex, not grid: a row with fewer cards (2 MultiSport passes) sits in the middle, not on the left (owner, 12. 10. 2026) */
.pass-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.pass-grid > .pass { flex: 0 1 calc((100% - 48px) / 4); min-width: 0; }
/* the page head stays on the left like on Lessons (owner, 13. 10. 2026); the MultiSport heading above its cards is centred */
.passes--ms > .wrap:first-child { text-align: center; }
.pass { display: flex; flex-direction: column; gap: 6px; padding: 26px 22px 22px; border-radius: 160px 160px var(--r) var(--r); background: var(--sand-2); border: 1px solid var(--line); text-align: center; }
.pass--reformer { background: var(--sand); }
.pass-kind { margin: 18px 0 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--taupe-deep); }
.pass h2 { font-size: 1.5rem; }
.pass-price { font-family: var(--serif); font-size: 2.8rem; font-variant-numeric: lining-nums; line-height: 1; color: var(--wine); margin: 14px 0 0; }
.pass-entries { color: var(--ink-soft); font-size: .95rem; }
.pass-classes { text-align: left; margin-bottom: 14px; font-size: .92rem; }
.pass-classes summary { cursor: pointer; text-align: center; color: var(--wine); }
.pass-classes ul { margin-top: 8px; columns: 2; column-gap: 12px; }
.pass-classes a { color: var(--ink-soft); }
.pass .btn { margin-top: auto; }
.pass-soon { font-size: .8rem; color: var(--taupe-deep); margin: 6px 0 0; }
@media (max-width: 1000px) { .pass-grid > .pass { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 520px) { .pass-grid > .pass { flex-basis: 100%; } }

/* ---------- legal ---------- */
.legal { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .6em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 1em; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); font-weight: 500; }
@media (max-width: 640px) {   /* a 4-column table doesn't fit a phone: one card per row, column names in front */
  .prose table, .prose tbody, .prose tr, .prose td { display: block; }
  .prose thead { display: none; }
  .prose tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .prose td { border: 0; padding: 2px 0; }
  .prose td:first-child { font-weight: 500; color: var(--ink); padding-bottom: 4px; }
  .prose td[data-label]::before { content: attr(data-label) ": "; color: var(--taupe-deep); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}


/* ================= playful layer (5. 10. 2026): stars from the ceiling, handwriting, pastel lessons ================= */

.sparkle { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: middle; }
.sparkle--h1 { width: .32em; height: .32em; color: var(--taupe); margin: -1.1em 0 0 .08em; animation: twinkle 3.2s ease-in-out infinite; }
.sparkle--inline { width: .45em; height: .45em; color: var(--taupe); margin-top: -.6em; }
.sparkle--a, .sparkle--b { position: absolute; color: var(--wine); z-index: 2; animation: twinkle 2.8s ease-in-out infinite; }
.sparkle--a { width: 34px; height: 34px; top: 4%; right: 4%; }
.sparkle--b { width: 18px; height: 18px; top: 18%; right: -2%; color: var(--taupe); animation-delay: 1.1s; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.7) rotate(25deg); opacity: .6; } }

.hand { font-family: var(--hand); font-weight: 600; color: var(--wine); font-size: 1.6rem; line-height: 1; margin: 0; transform: rotate(-3deg); }
.hand--card { position: absolute; top: 10px; right: 16px; font-size: 1.45rem; transform: rotate(4deg); }
.section-head .hand { transform: rotate(-4deg); }

/* hand-drawn underline under the italic word */
.squiggle { position: relative; white-space: nowrap; }
.squiggle::after {
  content: ""; position: absolute; left: 2%; right: 4%; bottom: .02em; height: .16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 13c22-9 38-9 54-2s32 7 50-1 36-8 52 0 26 6 40-1' fill='none' stroke='%23a49283' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* a pastel arch peeking from behind the photos */
.arch--hero, .person .arch, .kind-tile .arch, .arch--wide { position: relative; overflow: visible; isolation: isolate; }
.arch--hero::before, .person .arch::before, .kind-tile .arch::before, .arch--wide::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--arch); background: var(--blush);
  transform: translate(14px, 14px); z-index: -1; transition: transform .5s var(--bounce);
}
.arch--hero img, .person .arch img, .kind-tile .arch img, .arch--wide img { border-radius: var(--arch); }
.arch--hero { background: transparent; box-shadow: none; }
.arch--hero::before { background: var(--butter); transform: translate(-18px, 18px); }
.person:nth-child(2) .arch::before { background: var(--lilac); }
.person:nth-child(3) .arch::before { background: var(--sage); }
.person:hover .arch::before, .kind-tile:hover .arch::before { transform: translate(8px, 20px) rotate(3deg); }
.person .arch, .kind-tile .arch { background: transparent; }
.kind-tile--mat .arch::before { background: var(--sage); }
.arch--wide::before { background: var(--lilac); transform: translate(-14px, 14px); }
/* the map is a rounded card, not an arch: an arch would cut off Google's controls */
.arch--map, .arch--map iframe { border-radius: var(--r); }
.arch--map::before { display: none; }
.arch--map iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--sand-2); }
@media (max-width: 760px) { .arch--map { aspect-ratio: 4 / 3; max-width: none; } }

/* ribbon of lesson names under the hero */
.ribbon { background: var(--wine); color: var(--sand); overflow: hidden; padding: 14px 0; }
.ribbon-track { display: flex; width: max-content; animation: ribbon 60s linear infinite; }
.ribbon-track > span { display: inline-flex; align-items: center; gap: .7em; padding-right: .7em; white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.ribbon .sparkle { width: .55em; height: .55em; color: var(--taupe); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* lessons carry their pastel */
.slot-list .slot-time time, .next-list .slot-time time { position: relative; z-index: 0; }
.slot-time time { padding: 0 2px; }
.slot-time time::before { content: ""; position: absolute; z-index: -1; left: -6px; right: -6px; top: 8%; bottom: 6%; border-radius: 999px; background: var(--tone, var(--sand)); }

.lesson-row h3 { display: flex; align-items: center; gap: 12px; }
.lesson-row h3::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50% 50% 50% 4px; background: var(--tone); transform: rotate(-45deg); }
.lesson-head { background: linear-gradient(135deg, var(--sand) 55%, var(--tone, var(--sand)) 55%); }

/* facts in soft blobs */
.facts b { display: grid; place-items: center; width: clamp(64px, 7vw, 84px); height: clamp(64px, 7vw, 84px); white-space: nowrap; border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; background: var(--butter); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 6px; }
.facts li:nth-child(2) b { background: var(--blush); }
.facts li:nth-child(3) b { background: var(--sage); }
.facts li:nth-child(4) b { background: var(--lilac); font-size: clamp(1.2rem, 2.2vw, 1.6rem); }

.kind-tile--reformer { background: #f8e9ec; }
.kind-tile--mat { background: #eef2e6; }
.chips li { background: #fff; }

.gallery-item:nth-child(3n+1) { transform: rotate(-.8deg); }
.gallery-item:nth-child(3n+2) { transform: rotate(.7deg); }
.gallery-item { transition: transform .35s var(--bounce); }
.gallery-item:hover { transform: rotate(0) scale(1.02); }

@media (max-width: 860px) {
  .arch--hero::before { transform: translate(-12px, 12px); }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
}

/* ================= booking, account, forms ================= */
.account-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-soft); padding: 8px 10px; border-radius: 999px; }
.account-link:hover { background: rgba(255,255,255,.55); color: var(--ink); }
@media (max-width: 900px) { .account-link span { display: none; } .account-link { margin-left: auto; } .header-cta { margin-left: 0; } }

.book { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); }
.book-head, .page-head[style] { background: linear-gradient(135deg, var(--sand) 60%, var(--tone, var(--sand)) 60%); }
.book-free { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); margin: 0; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin: 0 0 16px; }
.card h2 { font-size: 1.5rem; margin-bottom: .4em; }
fieldset.card { min-width: 0; }
legend { font-family: var(--serif); font-size: 1.35rem; padding: 0 6px; margin-left: -6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.opt { font-weight: 400; color: var(--taupe-deep); }
.hint { background: var(--sand-2); border-radius: 10px; padding: 10px 14px; font-size: .95rem; }
.hint a, .note a, .card a { color: var(--wine); }
.me-line { font-weight: 500; }
.me-line a { font-weight: 400; margin-left: 6px; }
.errors { background: #fbe9ea; border: 1px solid #e8b9bd; color: var(--wine-deep); border-radius: var(--r); padding: 14px 18px; margin-bottom: 16px; }
.errors p { margin: 0; }
.errors p + p { margin-top: 4px; }
.pay-opt { display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px !important; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.pay-opt[hidden] { display: none !important; }
.pay-opt > span { display: grid; }
.pay-opt small { color: var(--ink-soft); font-weight: 400; }
.pay-opt em { font-style: normal; font-family: var(--serif); font-size: 1.3rem; color: var(--wine); }
.pay-opt:has(input:checked) { border-color: var(--wine); background: color-mix(in srgb, var(--tone, var(--blush)) 45%, #fff); }
.btn--big { width: 100%; min-height: 56px; font-size: 1.1rem; }
.btn--big .sparkle { width: .8em; height: .8em; }
.center { text-align: center; }
.note.center { margin-top: 12px; }
.inline-actions { display: inline-block; margin: 6px 8px 0 0; }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #fff; font-size: .85rem; letter-spacing: .04em; margin-bottom: 10px; }
.status-booked { background: #dbe3c9; }
.status-pending { background: var(--butter); }
.status-cancelled, .status-late { background: #f1dcdd; }
.hand--big { font-size: 2rem; margin-bottom: 6px; }
.info-list { display: grid; gap: 12px; margin: 0 0 16px; }
.info-list div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.info-list dt { color: var(--taupe-deep); }
.info-list dd { margin: 0; }
@media (max-width: 560px) { .info-list div { grid-template-columns: 1fr; gap: 0; } }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.cancel-box { width: 100%; }
.cancel-box summary { list-style: none; display: inline-flex; }
.cancel-box summary::-webkit-details-marker { display: none; }
.cancel-box[open] summary { margin-bottom: 10px; }
.danger { color: var(--wine-deep); }
.linklike { background: none; border: 0; padding: 0; color: var(--wine); text-decoration: underline; cursor: pointer; }
.move-list { margin-bottom: 18px; }
.move-list .pay-opt { margin-bottom: 8px; }

/* account */
.acc-head .hand { margin-bottom: 4px; }
.acc-summary { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.acc-summary li { background: #fff; border-radius: 14px; padding: 10px 16px; display: grid; }
.acc-summary b { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--wine); line-height: 1.1; }
.acc-summary span { font-size: .88rem; color: var(--ink-soft); }
.acc { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 7vw, 96px); }
.acc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); }
.acc-grid .section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 900px) { .acc-grid { grid-template-columns: 1fr; } }
.acc-list { display: grid; gap: 10px; }
.acc-booking { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--tone) 55%, #fff); text-decoration: none; transition: transform .25s var(--bounce); }
.acc-booking:hover { transform: translateX(4px); }
.acc-date { display: grid; text-align: center; font-size: .82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.acc-date b { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--ink); letter-spacing: 0; }
.acc-booking > span:nth-child(2) { display: grid; }
.acc-booking small { color: var(--ink-soft); }
.acc-booking .warn { color: var(--wine); font-weight: 500; }
.acc-go { font-size: 1.3rem; color: var(--wine); }
.acc-wait { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.acc-past { margin-top: 24px; }
.acc-past summary { cursor: pointer; color: var(--wine); }
.acc-past li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
.acc-pass { background: var(--sand-2); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.acc-pass.is-used { opacity: .6; }
.acc-pass h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pass-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 6px; }
.pass-dots i { width: 22px; height: 22px; border-radius: 50%; background: var(--wine); position: relative; }
.pass-dots i.used { background: transparent; border: 1.5px dashed var(--taupe); }
.pass-dots span { margin-left: 8px; font-size: .9rem; color: var(--ink-soft); }
.acc-pass summary { cursor: pointer; font-size: .9rem; color: var(--wine); }
.moves li { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.moves li span { color: var(--taupe-deep); white-space: nowrap; }
.moves li b { margin-left: auto; color: var(--ink); font-weight: 500; white-space: nowrap; }
.acc-credit-head { margin-top: 28px; margin-bottom: 4px !important; }
.credit-big { font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--wine); }
.acc-hello { margin-bottom: 14px; display: inline-block; }
.form label > span.lbl { display: inline; }


/* ================= timetable as a list by day (5. 10. 2026) ================= */
.agenda { padding: 24px 0 clamp(48px, 7vw, 96px); }
.agenda-grid { display: grid; grid-template-columns: 190px minmax(0, 820px); gap: clamp(24px, 4vw, 56px); justify-content: center; align-items: start; }
.agenda-days { position: sticky; top: 96px; display: grid; gap: 6px; }
.aday-chip { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center;
  padding: 9px 14px; border-radius: 12px; text-decoration: none; background: var(--sand-2); transition: background-color .2s var(--ease); }
.aday-chip span { grid-row: 1 / span 2; text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; color: var(--taupe-deep); }
.aday-chip b { font-weight: 500; line-height: 1.1; }
.aday-chip small { font-size: .78rem; color: var(--ink-soft); }
a.aday-chip:hover { background: var(--sand); }
.aday-chip.is-today { background: var(--wine); color: #fff; }
.aday-chip.is-today span, .aday-chip.is-today small { color: var(--sand); }
a.aday-chip.is-today:hover { background: var(--wine-deep); }   /* the sand hover hid today's white text (7. 10. 2026) */
.aday-chip.is-today.is-quiet { opacity: .7; }
.aday-chip.is-gone, .aday-chip.is-quiet { opacity: .45; }
.aday-chip.is-gone small { display: none; }

.aday { scroll-margin-top: 96px; padding-bottom: 8px; }
.aday + .aday { margin-top: 26px; }
.aday-title { font-size: clamp(1.4rem, 2.6vw, 1.75rem); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.aday-title span { font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--ink-soft); letter-spacing: 0; }
.aday-title em { font-family: var(--hand); font-style: normal; font-weight: 600; font-size: 1.4rem; color: var(--wine); transform: rotate(-3deg); }
.aday-none { font-family: var(--hand); font-size: 1.4rem; color: var(--taupe-deep); margin: 12px 0; }
.aday-past { font-size: .88rem; color: var(--taupe-deep); margin: 8px 0 0; }

.arows li { border-bottom: 1px solid var(--line); }
.arow { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; gap: 4px 20px; align-items: center;
  padding: 14px 10px; margin: 0 -10px; border-radius: 12px; text-decoration: none; color: inherit;
  transition: background-color .2s var(--ease); }
a.arow:hover { background: color-mix(in srgb, var(--tone) 45%, transparent); }
a.arow:hover .arow-go { color: var(--wine-deep); }
a.arow:hover .arow-go span { transform: translateX(4px); }
.arow-time { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 560; font-size: 1.45rem; font-variant-numeric: lining-nums tabular-nums; }
.arow-main { display: grid; min-width: 0; }
.arow-name { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 1.05rem; }
.arow-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--tone); box-shadow: inset 0 0 0 1px rgba(54,18,21,.15); }
.arow-desc { font-size: .92rem; line-height: 1.4; color: var(--ink); opacity: .8; padding-left: 21px; margin: 2px 0 3px; max-width: 60ch; }
.arow-meta { font-size: .9rem; color: var(--ink-soft); padding-left: 21px; }
.arow-spots { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }
.arow-spots .seats--mat i { width: 7px; height: 7px; }
.arow-go { font-weight: 500; color: var(--wine); white-space: nowrap; min-width: 112px; text-align: right; }
.arow-go span { display: inline-block; transition: transform .25s var(--bounce); }
.arow.is-full .arow-time, .arow.is-full .arow-main { opacity: .55; }
.arow.is-full .arow-spots { color: var(--wine); font-weight: 500; }
.arow.is-full .arow-go { color: var(--ink-soft); font-weight: 400; }
.arow.is-off { opacity: .45; }
.arow.is-off.is-group { opacity: 1; }   /* a regular group's lesson: visible, just not bookable online (13. 10. 2026) */
.arow.is-group .arow-spots { color: var(--taupe-deep); font-size: .9rem; }
.m-only { display: none; }
@media (max-width: 640px) { .m-only { display: inline; } }
.tt-legend { margin-top: 28px; font-size: .88rem; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }

@media (max-width: 900px) {
  .agenda { padding-top: 0; }
  .agenda-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .agenda-days { top: 64px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter); background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .aday-chip { flex: 1 0 46px; grid-template-columns: 1fr; justify-items: center; padding: 6px 4px; }
  .aday-chip span { grid-row: auto; font-size: .7rem; }
  .aday-chip small { display: none; }
  .aday { scroll-margin-top: 140px; }
  .aday + .aday { margin-top: 18px; }
  .aday:first-child { margin-top: 14px; }
}
@media (max-width: 640px) {
  .arow { grid-template-columns: 58px minmax(0, 1fr) auto; grid-template-areas: "time main go" "time spots go"; gap: 2px 12px; padding: 12px 8px; margin: 0 -8px; }
  .arow-time { grid-area: time; font-size: 1.25rem; align-self: start; padding-top: 1px; }
  .arow-main { grid-area: main; }
  .arow-spots { grid-area: spots; padding-left: 21px; margin-top: 4px; font-size: .85rem; }
  .arow-go { grid-area: go; min-width: 0; font-size: 0; }
  .arow-go span { font-size: 1.3rem; }
  .arow-meta { font-size: .85rem; }
  .arow-desc { font-size: .88rem; }
}
.lesson-dates-list { max-width: 820px; }
.lesson-dates-list .day-title { margin-top: 22px; }

/* sign-in */
.login-box { max-width: 480px; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; width: 100%;
  border: 1px solid rgba(54, 18, 21, .24); border-radius: 999px; background: #fff; color: #1f1f1f; text-decoration: none;
  font-weight: 500; font-size: 1.02rem; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.btn-google:hover { border-color: rgba(54, 18, 21, .45); box-shadow: 0 6px 16px -10px rgba(54, 18, 21, .5); }
.or { display: flex; align-items: center; gap: 12px; color: var(--taupe-deep); font-size: .9rem; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bill-line { font-size: .9rem; color: var(--ink-soft); margin-top: -6px; }
.bill-line a { color: var(--wine); }
details.company { margin: 4px 0 16px; }
details.company summary { cursor: pointer; color: var(--wine); font-weight: 500; margin-bottom: 12px; }

/* what a pass saves */
.pass-save { margin: 4px 0 10px; padding: 10px 12px; border-radius: 12px; background: #fff; display: grid; gap: 2px; }
.pass-save b { color: #3f6330; font-size: 1.05rem; }
.pass-save small { color: var(--ink-soft); font-size: .82rem; line-height: 1.35; }
.save-chip { font-style: normal; font-size: .78rem; font-weight: 600; color: #3f6330; background: #e3ecd6; border-radius: 999px; padding: 2px 9px; margin-left: 8px; white-space: nowrap; }
.facts-inline .save-li { background: #e3ecd6; }
.facts-inline .save-li b { color: #3f6330; }
/* an instructor without a photo yet */
.arch--initial { aspect-ratio: 3 / 4; display: grid; place-items: center; background: var(--sand-2) !important; }
.arch--initial span { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(5rem, 12vw, 9rem); color: var(--taupe); line-height: 1; }

/* iPhone home indicator under the footer (viewport-fit=cover) */
.site-footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }

/* ================= phones: tap targets and the smallest screens ================= */
.brand { flex-shrink: 0; }
.link-arrow, .next-more { display: inline-block; padding: 9px 0; }
.lesson-row h3 a { display: inline-block; padding: 6px 0; }
.slot-body h3 a { display: inline-block; padding: 4px 0; }
.person details summary, .acc-past summary, .acc-pass summary, details.company summary, .pass-classes summary { padding: 10px 0; }
.linklike { padding: 10px 4px; }
.save-chip { font-size: .82rem; }
.aday-chip span { font-size: .82rem; }
@media (max-width: 360px) {
  .header-row { gap: 8px; }
  .brand img { width: 92px; }
  .header-cta { padding: 0 .9em; font-size: .9rem; }
  .account-link { padding: 8px 6px; }
}
@media (max-width: 340px) {   /* 320 px phones: logo, account, Rezervovať and the menu must fit on one row */
  .header-row { gap: 6px; }
  .brand img { width: 76px; }
  .header-cta { padding: 0 .7em; }
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.slot h3 a { display: inline-block; padding: 8px 0; }
.acc .moves + .section-head, .acc .note + .section-head { margin-top: 36px; }

/* booking form: a place held from the waiting list, the discount code (7. 10. 2026) */
.book .notice { margin: 0 0 16px; border-color: var(--wine); }
.code-box { margin-top: 14px; }
.code-box summary { cursor: pointer; color: var(--wine); font-weight: 500; width: max-content; }
.code-box label { margin-top: 10px; }
.acc-name { margin: 18px 0 8px; max-width: 560px; }

/* the signed-in client's menu in the header (7. 10. 2026) */
.acc-menu { position: relative; }
@media (max-width: 900px) { .acc-menu { margin-left: auto; } .acc-menu .account-link { margin-left: 0; } }
.acc-menu > summary { list-style: none; cursor: pointer; }
.acc-menu > summary::-webkit-details-marker { display: none; }
.acc-menu-caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 2px; transition: transform .2s var(--ease); }
.acc-menu[open] .acc-menu-caret { transform: translateY(1px) rotate(225deg); }
.acc-menu[open] > summary { background: rgba(255,255,255,.55); color: var(--ink); }
.acc-menu-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 6px; z-index: 60; }
.acc-menu-list a, .acc-menu-out { display: block; width: 100%; text-align: left; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font: inherit; background: none; border: 0; cursor: pointer; }
.acc-menu-list a:hover, .acc-menu-out:hover { background: var(--sand-2); }
.acc-menu-list li + li:last-child { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.acc-menu-out { color: var(--ink-soft); }
#lekcie, #permanentky, #profil, #fakturacia { scroll-margin-top: calc(90px + env(safe-area-inset-top)); }
/* passes page: quick jump to Reformer / MAT / MultiSport — on a phone the six cards are a long scroll (12. 10. 2026) */
.pass-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pass-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--wine); font-weight: 500; text-decoration: none; }
.pass-jump a:hover { background: #fff; }
.pass[id], #multisport { scroll-margin-top: calc(84px + env(safe-area-inset-top)); }
@media (min-width: 1001px) { .pass-jump a[href="#reformer"], .pass-jump a[href="#mat"] { display: none; } }

/* the account as three pages: lessons, passes and credit, profile (7. 10. 2026) */
.acc-tabs { margin-top: 18px; }
.acc-tabs a { display: block; padding: 7px 16px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.acc-tabs a[aria-current="page"] { background: var(--wine); color: #fff; }
.acc-tabs a:not([aria-current]):hover { background: rgba(255,255,255,.7); }
@media (max-width: 520px) { .acc-tabs { display: flex; width: 100%; } .acc-tabs a { flex: 1; text-align: center; padding: 7px 8px; } }
.acc-page > * { max-width: 760px; }

/* Formulár na odstúpenie od zmluvy (článok 6 VOP) */
.withdraw-form { border: 1px dashed var(--line); border-radius: 14px; padding: 18px 20px; margin: 1.2em 0; background: var(--sand-2, transparent); }
.withdraw-form p { color: var(--ink); }

/* Permanentky pre držiteľov MultiSport */
.passes--ms { padding-top: 0; }
.passes--ms h2 { margin: 0 0 .4em; }
.passes--ms .lede { max-width: none; margin: 0 auto 1.6em; }

/* ---------- events (events.py, 13. 10. 2026) ---------- */
.events { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.event-card { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.event-card:not(:has(.event-photo)) { grid-template-columns: minmax(0, 1fr); }
.event-photo { display: block; aspect-ratio: 4 / 5; }  /* Instagram posters (4:5) with the date on them stay whole */
.event-photo, .event-head-photo { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--sand); }  /* no arch: it cut the text on posters */
.event-photo img, .event-head-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-date { text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--taupe-deep); margin: 0 0 6px; }
.event-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; }
.event-text h2 a { color: inherit; text-decoration: none; }
.event-text p { color: var(--ink-soft); }
.event-price { font-weight: 500; color: var(--wine) !important; }
.event-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(20px, 4vw, 56px); align-items: center; }
.event-head-grid:not(:has(.event-head-photo)) { grid-template-columns: minmax(0, 1fr); }
.event-head-photo { aspect-ratio: 4 / 5; }
.event-body { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 7vw, 96px); }
.event-body h2 { margin-top: 1.6em; }
@media (max-width: 760px) {
  .event-card, .event-head-grid { grid-template-columns: minmax(0, 1fr); }
  .event-head-photo, .event-photo { max-width: 420px; }
}
.home-events { padding: 18px 0 0; }
.home-events .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.home-event { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 16px 20px; border-radius: var(--r); background: var(--blush); color: var(--ink); text-decoration: none; }
.home-event > span:not(.home-event-go), .home-event b { grid-column: 1; }
.home-event-kicker { font-family: var(--hand); font-size: 1.25rem; color: var(--wine); line-height: 1; }
.home-event b { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.home-event-go { grid-column: 2; grid-row: 1 / span 3; font-size: 1.4rem; color: var(--wine); }
