/* Allo by Josh Puckett – SIL Open Font License 1.1 (fonts/OFL.txt), https://allo.joshpuckett.me */
@font-face {
  font-family: "Allo";
  src: url("/fonts/AlloVariableFriendly.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   Pavla Schartová – fyzioterapie
   White room, oak slat wall, green plants.
   Flat, editorial, textured. No shadows, no pills, no glow.
   ========================================================= */
:root {
  --paper: #f8f5ef;
  --paper-2: #efe9df;
  --white: #fffdf9;
  --ink: #23201c;
  --ink-soft: #57504a;
  --ink-mute: #857c72;
  --line: #d9d0c3;
  --line-soft: #e7e0d5;

  --wood: #b0805a;
  --wood-light: #c9a27c;
  --wood-dark: #6b4930;
  --walnut: #33261c;

  --leaf: #3c5a3a;
  --leaf-dark: #2a4029;
  --leaf-soft: #7d9a6c;

  --danger: #9b3a2a;

  /* Allo by Josh Puckett – SIL Open Font License (allo.joshpuckett.me) */
  --font-display: 'Allo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Allo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r: 12px;
  --r-sm: 8px;
  --container: 1120px;
  --header-h: 64px;

  /* fine paper grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .2 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* long vertical wood fibres */
  --woodgrain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .012' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .12 0 0 0 0 .06 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
  --slats: repeating-linear-gradient(
    90deg,
    #c29267 0 11px,
    #b7885d 11px 16px,
    #a9794f 16px 19px,
    var(--walnut) 19px 24px
  );
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: 'tnum' 0;
  color: var(--ink);
  background: var(--paper) var(--grain);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--leaf); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--leaf-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--cream { background: var(--paper-2) var(--grain); }
.lead { font-size: 1.22rem; line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 500 1rem/1 var(--font-body);
  padding: 1rem 1.6rem; border-radius: var(--r);
  background: var(--leaf); color: #fff; border: 1px solid var(--leaf);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--leaf-dark); border-color: var(--leaf-dark); color: #fff; }
.btn--sm { padding: 0.7rem 1.1rem; font-size: 0.94rem; }
.btn--block { width: 100%; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; }
.link {
  font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--wood-light);
  text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.link:hover { color: var(--leaf); text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* ---------- Header: full-width liquid glass ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; isolation: isolate;
  /* frosted paper glass */
  background: linear-gradient(180deg, rgb(255 253 249 / 0.78), rgb(248 245 239 / 0.6));
  -webkit-backdrop-filter: blur(24px) saturate(1.7);
  backdrop-filter: blur(24px) saturate(1.7);
  border-bottom: 1px solid rgb(35 32 28 / 0.08);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), 0 10px 30px -22px rgb(35 32 28 / 0.35);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
/* soft light caught along the top edge */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 140% at 20% -40%, rgb(255 255 255 / 0.5), transparent 60%);
}
.has-hero .site-header { position: fixed; left: 0; right: 0; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; }
.site-header__inner { animation: drop 0.9s cubic-bezier(.2,.7,.2,1) both; }

/* clear glass while it sits over the hero photo */
.site-header.is-on-photo {
  background: linear-gradient(180deg, rgb(20 16 12 / 0.22), rgb(255 255 255 / 0.04));
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border-bottom-color: rgb(255 255 255 / 0.2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18);
}
.site-header.is-on-photo::before { opacity: 0.35; }
.site-header.is-on-photo .brand,
.site-header.is-on-photo .nav-toggle { color: #fff; }
.site-header.is-on-photo .brand__tag { color: rgb(255 255 255 / 0.72); }
.site-header.is-on-photo .nav-toggle { border-color: rgb(255 255 255 / 0.4); }
@media (min-width: 881px) {
  .site-header.is-on-photo .nav__link { color: #fff; }
  .site-header.is-on-photo .nav__link:hover { border-bottom-color: rgb(255 255 255 / 0.7); }
  .site-header.is-on-photo .nav__link[aria-current='page'] { border-bottom-color: #fff; }
  .site-header.is-on-photo .nav .btn { background: rgb(255 255 255 / 0.92); color: var(--ink); border-color: transparent; }
  .site-header.is-on-photo .nav .btn:hover { background: #fff; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--paper); }
  .site-header.is-on-photo { background: rgb(20 16 12 / 0.55); }
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); transition: color 0.3s; }
.brand:hover { color: inherit; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: 1.2rem; line-height: 1; display: block; }
.brand__tag { display: block; font-size: 0.8rem; color: var(--ink-mute); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav__list { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav__link { color: var(--ink); text-decoration: none; font-size: 0.98rem; padding: 0.3rem 0; border-bottom: 1px solid transparent; transition: color 0.3s; }
.nav__link:hover { color: var(--ink); border-bottom-color: var(--wood-light); }
.nav__link[aria-current='page'] { border-bottom-color: var(--ink); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.8rem; font: 500 0.95rem var(--font-body); color: var(--ink); cursor: pointer; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: calc(100% + 8px); left: -0.5rem; right: -0.5rem;
    flex-direction: column; align-items: stretch; gap: 1.25rem; padding: 0.5rem 1.25rem 1.25rem;
    border-radius: 18px; border: 1px solid rgb(255 255 255 / 0.6);
    background: rgb(248 245 239 / 0.88);
    -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), 0 18px 40px -16px rgb(35 32 28 / 0.35);
  }
  .nav.is-open { display: flex; animation: rise 0.35s cubic-bezier(.2,.7,.2,1) both; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 0.9rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line-soft); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--walnut); color: #e4dacd; }
.site-footer a { color: #f3ece2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; align-items: start; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand__tag { color: #b3a695; }
.footer__brand .brand, .footer__brand .brand:hover { color: #fff; }
.footer__brand .brand__tag { color: #b3a695; }
.footer__brand p { color: #c4b7a6; margin-top: 1rem; max-width: 30ch; font-size: 0.95rem; }
.footer__title { font-family: var(--font-display); font-size: 1.1rem; color: #fff; margin: 0 0 0.8rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.95rem; }
.footer__legal { display: inline-flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / 0.14); padding-block: 1.2rem 1.6rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.84rem; color: #a99c8a; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }



/* ---------- Hero: full-bleed photo with text over it ---------- */
.scene {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(7rem, 12vw, 10rem) clamp(4rem, 8vw, 6.5rem);
  color: #fff;
}
.scene__bg { position: absolute; inset: 0; z-index: -1; background: var(--walnut); }
.scene__bg img {
  position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover;
  transform: translateY(calc(var(--shift, 0) * 6%));
}
.scene__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(20 16 12 / 0.72) 0%, rgb(20 16 12 / 0.38) 50%, rgb(20 16 12 / 0.08) 85%),
    linear-gradient(0deg, rgb(20 16 12 / 0.45) 0%, transparent 45%);
}
.scene__bg::before { content: ''; position: absolute; inset: 0 0 auto; height: 160px; z-index: 1; background: linear-gradient(rgb(20 16 12 / 0.45), transparent); }
.scene__content { position: relative; max-width: 34rem; }
.scene .container.scene__content { margin-inline: max(1.25rem, calc((100% - var(--container)) / 2)) auto; width: auto; }
.scene h1 { color: #fff; }
.scene__lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: rgb(255 255 255 / 0.88); margin-bottom: 2rem; }

.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }

.scene--hero { min-height: min(100svh, 1000px); }
.scene--hero .scene__bg img { object-position: 50% 30%; }
.scene--hero h1 { font-size: clamp(3rem, min(8.5vw, 12.5vh), 7rem); line-height: 0.98; letter-spacing: -0.045em; margin-bottom: 1.2rem; }

.kicker { font-size: 0.95rem; color: var(--wood-dark); margin: 0 0 0.9rem; }
.section--tight { padding-top: 0; }

/* ---------- O mně ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__photo { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); letter-spacing: -0.035em; }
.about__text .lead { margin-bottom: 1.4rem; color: var(--ink); max-width: none; }
.about__text > p:not(.lead):not(.kicker) { color: var(--ink-soft); max-width: 58ch; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.2rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.about__facts dt { font-size: 0.85rem; color: var(--ink-mute); margin-bottom: 0.3rem; }
.about__facts dd { margin: 0; font-size: 0.95rem; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { aspect-ratio: 4 / 3; }
  .about__facts { grid-template-columns: 1fr; gap: 0.9rem; }
}

/* ---------- Cards: photo only under the title, clean info below ---------- */
.card { background: var(--white); border: 1px solid var(--line-soft); border-radius: calc(var(--r) + 6px); overflow: hidden; display: flex; flex-direction: column; }
.card__media { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(220px, 26vw, 320px); display: flex; align-items: flex-end; background: var(--walnut); }
.card__media--short { min-height: clamp(160px, 16vw, 200px); }
.card__media > img, .card__media > iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; border: 0; }
.card__media > img { transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media > img { transform: scale(1.03); }
.card__media::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(20 16 12 / 0.72) 0%, rgb(20 16 12 / 0.25) 55%, rgb(20 16 12 / 0.05) 100%); pointer-events: none; }
.card__title { padding: clamp(1.4rem, 3vw, 2.2rem); color: #fff; }
.card__title h2 { color: #fff; margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.035em; }
.card__eyebrow { margin: 0 0 0.5rem; font-size: 0.95rem; color: rgb(255 255 255 / 0.8); }
.card__body { padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.6rem; align-content: start; }
.card__foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.card__text { margin: 0; color: var(--ink-soft); font-size: 1.05rem; max-width: 52ch; }

/* photo runs behind the title AND the facts */
.card__media--over { min-height: 0; }
.card__media--over::after { background: linear-gradient(0deg, rgb(20 16 12 / 0.82) 0%, rgb(20 16 12 / 0.6) 55%, rgb(20 16 12 / 0.35) 100%); }
.card__over { width: 100%; display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); padding: clamp(2rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.2rem); }
.card__over .card__title { padding: 0; }
.card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.card__head .card__title { flex: 1 1 22rem; }

.facts--glass {
  color: #fff; border: 1px solid rgb(255 255 255 / 0.22); border-radius: 14px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0.06));
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.facts.facts--glass > div { border-left-color: rgb(255 255 255 / 0.18); }
.facts.facts--glass > div:first-child { padding-left: 1.4rem; }
.facts--glass dt, .facts--glass dd small { color: rgb(255 255 255 / 0.72); }
.facts--glass .seats__bar i { background: #b5d39f; }
.facts--glass .seats__bar i.taken { background: rgb(255 255 255 / 0.22); }
.facts--glass .facts__seats.is-full dd { color: #ffb4a3; }
@media (max-width: 760px) {
  .facts.facts--glass > div:nth-child(odd) { padding-left: 1.1rem; }
  .facts.facts--glass > div { padding: 0.9rem 1.1rem 1rem; }
  .facts.facts--glass > div:nth-child(n + 3) { border-top-color: rgb(255 255 255 / 0.18); }
}

.btn--lg { padding: 1.15rem 2rem; font-size: 1.08rem; }
.card--feature .card__media { min-height: 0; }
.card--feature .card__media > img { object-position: 50% 35%; }
.card--feature .card__title h2, .ws .card__title h2 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 16ch; }

/* big facts strip */
.facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.facts[hidden] { display: none; }
.facts > div { padding: 1.1rem 1.4rem 1.2rem; border-left: 1px solid var(--line); min-width: 0; }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: 0.85rem; color: var(--ink-mute); margin-bottom: 0.35rem; }
.facts dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts dd small { display: block; font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0; color: var(--ink-mute); font-weight: 400; margin-top: 0.3rem; }
.facts__seats dd small { display: inline; margin: 0; font-size: 1rem; }
.facts__seats.is-full dd { color: var(--danger); }
.seats__bar { display: flex; gap: 3px; margin-top: 0.7rem; }
.seats__bar i { flex: 1; height: 6px; background: var(--leaf-soft); border-radius: 3px; }
.seats__bar i.taken { background: #d8cfc1; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- Kontakt + lokace ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: stretch; }
.contact__direct { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; }
.contact__direct a { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact__direct a:hover { color: var(--leaf); border-color: currentColor; }
.contact__form { display: grid; gap: 1.1rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); }
.contact__send { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.contact__send .form-note { margin: 0; max-width: 34ch; }
.contact__form .form-status { margin: 0; }
.card--map .card__media--map { flex: 1; min-height: 300px; background: var(--paper-2); }
.card--map iframe { pointer-events: none; top: -70px; height: calc(100% + 110px); filter: grayscale(0.6) sepia(0.15) contrast(0.95); }
.place__addr { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.3; margin: 0; }
.hours { margin: 0; display: grid; gap: 0.3rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.35rem; border-bottom: 1px solid var(--line-soft); }
.hours dt { color: var(--ink-mute); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.card--map .link { justify-self: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Cookie consent ---------- */
.footer__btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__btn:hover { color: #fff; }
.footer__btn[hidden] { display: none; }
.consent {
  position: fixed; z-index: 80; right: 1rem; bottom: 1rem; width: min(25rem, calc(100% - 2rem));
  padding: 1.2rem 1.3rem 1.1rem; border-radius: 16px; color: var(--ink);
  background: linear-gradient(180deg, rgb(255 253 249 / 0.9), rgb(248 245 239 / 0.82));
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid rgb(255 255 255 / 0.7);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), 0 24px 50px -20px rgb(35 32 28 / 0.45);
  animation: rise 0.5s cubic-bezier(.2,.7,.2,1) both;
}
.consent.is-leaving { opacity: 0; transform: translateY(10px); transition: opacity 0.25s, transform 0.25s; }
.consent__title { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 0.35rem; }
.consent__text { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 1rem; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.92rem; margin-bottom: 0.35rem; color: var(--ink); }
.field label .opt { color: var(--ink-mute); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0.8rem 0.9rem; transition: border-color 0.15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field textarea:hover { border-color: var(--wood-light); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: var(--danger); }
.field__hint { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.84rem; color: var(--ink-mute); margin-top: 0.35rem; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; border-radius: 4px; margin: 3px 0 0; accent-color: var(--leaf); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: 0.96rem; }
.form-status:empty { display: none; }
.form-status--error { color: var(--danger); }
.form-status--ok { color: var(--leaf-dark); font-weight: 500; }
.form-note { font-size: 0.84rem; color: var(--ink-mute); margin: 1rem 0 0; }
.btn .spinner { width: 14px; height: 14px; border: 2px solid rgb(255 255 255 / 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sub-page header ---------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); position: relative; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 52ch; margin: 0; }
.page-hero { overflow: hidden; }

/* ---------- Workshops page ---------- */
.page-hero--plain { border-bottom: 0; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.page-hero--plain h1 { font-size: clamp(3rem, 7vw, 5.5rem); letter-spacing: -0.045em; margin-bottom: 0.6rem; }
.ws-list { display: grid; gap: 3rem; }
.ws__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.ws__summary { font-size: 1.2rem; color: var(--ink); }
.ws__desc { color: var(--ink-soft); }
.ws__desc ul { padding-left: 1.1rem; margin: 0 0 1em; }
.ws__desc li { margin-bottom: 0.3rem; }
.ws__desc li::marker { color: var(--wood); }
.ws__desc p.ws__subhead { color: var(--ink); margin-bottom: 0.4em; }
/* right column: green booking button on top, map below – stays in view while reading */
.ws__side { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 24px); }
.ws__cta { display: grid; gap: 0.9rem; padding: 1.2rem; border-radius: var(--r); background: var(--paper-2) var(--grain); }
.ws__price { margin: 0; display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.02em; }
.ws__price span { font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0; color: var(--ink-mute); }
.ws__cta .btn--lg { padding-block: 1.2rem; font-size: 1.12rem; box-shadow: 0 10px 24px -12px rgb(42 64 41 / 0.6); }
.ws__cta .btn--lg:hover { transform: translateY(-1px); }

/* map (Google Maps, loads on click) */
.ws-map { margin: 0; border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; background: var(--white); }
.ws-map__frame { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2) var(--grain); }
.ws-map__frame::before {
  content: ''; position: absolute; inset: 0; opacity: 0.55;
  background:
    linear-gradient(115deg, transparent 47%, #fffdf9 47% 50%, transparent 50%),
    linear-gradient(25deg, transparent 58%, #fffdf9 58% 60%, transparent 60%),
    linear-gradient(160deg, transparent 30%, #e4dccd 30% 31%, transparent 31%),
    radial-gradient(circle at 70% 30%, #dfe6d6 0 14%, transparent 15%);
}
.ws-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ws-map__load {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.35rem;
  border: 0; background: none; cursor: pointer; font: inherit; color: var(--ink);
}
.ws-map__load svg { width: 34px; height: 34px; color: var(--leaf); margin-bottom: 0.3rem; transition: transform 0.25s; }
.ws-map__load span { font-weight: 500; padding: 0.55rem 1rem; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.ws-map__load small { font-size: 0.8rem; color: var(--ink-mute); }
.ws-map__load:hover svg { transform: translateY(-3px); }
.ws-map__load:hover span { border-color: var(--ink); }
.ws-map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4rem 1rem; padding: 0.9rem 1.1rem 1rem; font-size: 0.95rem; }
.ws-map figcaption strong { font-weight: 500; display: block; }
.ws-map figcaption strong + span { display: block; color: var(--ink-soft); font-size: 0.9rem; }
.ws-map .link { font-size: 0.9rem; }
@media (max-width: 860px) {
  .ws__body { grid-template-columns: 1fr; }
  .ws__side { position: static; }
}
.ws__actions { padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.ws__form { border-top: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--paper) var(--grain); }
.ws__form[hidden] { display: none; }
.ws__form-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: 1.5rem; }
.ws__form-head h3 { margin: 0 0 0.2rem; }
.text-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 0.95rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.text-btn:hover { color: var(--ink); }

.pay { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; margin-top: 1.5rem; }
.pay__table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.pay__table th { text-align: left; font-weight: 400; color: var(--ink-mute); padding: 0.65rem 1rem 0.65rem 0; white-space: nowrap; border-bottom: 1px solid var(--line); }
.pay__table td { padding: 0.65rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pay__qr { width: 180px; text-align: center; font-size: 0.82rem; color: var(--ink-mute); }
.pay__qr svg { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
.copy { border: 0; background: none; color: var(--ink-mute); cursor: pointer; font: inherit; font-size: 0.82rem; padding: 0 0 0 0.6rem; text-decoration: underline; }
@media (max-width: 640px) { .pay { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.steps li { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.steps__n { display: block; font-size: 0.85rem; color: var(--ink-mute); margin-bottom: 0.6rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 1.8rem; } }

.faq { max-width: 760px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--ink-mute); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-soft); margin: 0 0 1.2rem; max-width: 62ch; }

.empty { padding: 3rem 0; border-top: 1px solid var(--ink); }
.empty h3 { margin-bottom: 0.4rem; }
.loading { padding: 3rem 0; color: var(--ink-mute); border-top: 1px solid var(--line); }

/* ---------- Legal pages ---------- */
.prose { max-width: 740px; }
.prose h2 { font-size: 1.7rem; margin-top: 2.6rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; border-top: 1px solid var(--ink); }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.8rem 0.6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 500; }
.placeholder { background: #f6e7c1; color: #6d5212; padding: 0 0.3em; border-radius: 4px; }
.updated { font-size: 0.92rem; color: var(--ink-mute); margin: 0; }

/* =========================================================
   Motion – photos settle and drift, content rises in.
   Everything is switched off for prefers-reduced-motion.
   ========================================================= */
/* hero entrance */
.scene--hero .scene__content > * { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.scene--hero .scene__content > :nth-child(2) { animation-delay: 0.12s; }
.scene--hero .scene__content > :nth-child(3) { animation-delay: 0.24s; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } }
[data-parallax] img { opacity: 0; transition: opacity 1.2s ease; }
[data-parallax].is-loaded img { opacity: 1; }
.scene--hero .scene__bg img { animation: settle 2.8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes settle { from { scale: 1.12; } to { scale: 1; } }
.page-hero .container > * { animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
.page-hero .container > :nth-child(2) { animation-delay: 0.1s; }
.page-hero .container > :nth-child(3) { animation-delay: 0.2s; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes open { from { clip-path: inset(12% 0 0 0 round var(--r)); } to { clip-path: inset(0 0 0 0 round var(--r)); } }

/* scroll reveal (class added by main.js only to elements below the fold) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* workshop cards + seat bar */
.ws { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) both; }
.ws:nth-child(2) { animation-delay: 0.1s; }
.ws:nth-child(3) { animation-delay: 0.2s; }
.seats__bar i { animation: seat 0.5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(0.3s + var(--i, 0) * 70ms); transform-origin: left; }
@keyframes seat { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
.ws__form:not([hidden]) { animation: rise 0.5s cubic-bezier(.2,.7,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  [data-parallax] img { opacity: 1; }
}

/* =========================================================
   Admin (/admin/) – only used there
   ========================================================= */
.adm { min-height: 100vh; }
.adm__bar { background: var(--walnut); color: #fff; }
.adm__bar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.adm__bar a { color: #f4ede3; }
.adm__bar .brand__name { color: #fff; font-size: 1.1rem; }
.adm__grid { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; padding-block: 2rem 4rem; align-items: start; }
.adm__side { display: grid; gap: 0.6rem; }
.adm-ws { text-align: left; font: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0.9rem 1rem; cursor: pointer; }
.adm-ws:hover { border-color: var(--wood-light); }
.adm-ws.is-active { border-color: var(--leaf); box-shadow: 0 0 0 3px #e3eadc; }
.adm-ws strong { display: block; line-height: 1.3; }
.adm-ws span { font-size: 0.85rem; color: var(--ink-soft); }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); }
.badge--paid { background: #e3eadc; color: var(--leaf-dark); }
.badge--pending { background: #fff3d6; color: #7a5a12; }
.badge--cancelled { background: #f8e9e5; color: var(--danger); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; }
.panel h2 { font-size: 1.6rem; margin: 0 0 0.3rem; }
.panel__head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: start; margin-bottom: 1.2rem; }
.stats { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; }
.stats div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 0.7rem 1rem; min-width: 110px; }
.stats b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; }
.stats span { font-size: 0.82rem; color: var(--ink-soft); }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.tbl th { text-align: left; font-weight: 600; color: var(--ink-soft); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.6rem 0.6rem; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.tbl td { padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr.is-cancelled td { opacity: 0.55; }
.tbl .note { max-width: 240px; color: var(--ink-soft); font-size: 0.85rem; }
.row-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.btn--xs { padding: 0.45rem 0.75rem; font-size: 0.8rem; }
.toolbar { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.adm dialog { border: 0; border-radius: var(--r); padding: 0; width: min(720px, 94vw); box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.45); }
.adm dialog::backdrop { background: rgb(42 39 35 / 0.5); }
.adm dialog form { padding: 1.8rem; }
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 0.8rem 1.2rem; border-radius: 999px; font-size: 0.92rem; z-index: 99; }
.toast[hidden] { display: none; }
@media (max-width: 900px) { .adm__grid { grid-template-columns: 1fr; } }

.stack strong, .stack a, .stack span, .stack-item { display: block; }
.stack-item { margin-top: 0.25rem; }

/* ---------- Workshop editor: form left, live preview right ---------- */
.adm dialog.editor {
  width: min(1480px, 96vw); height: min(940px, 94vh); max-width: none; max-height: none;
  padding: 0; overflow: hidden; background: var(--paper);
}
.adm dialog.editor[open] { display: grid; grid-template-columns: minmax(360px, 440px) 1fr; }
.adm dialog.editor .editor__form { padding: 0; overflow-y: auto; background: var(--white); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.editor__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.6rem; background: rgb(255 253 249 / 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.editor__head h2 { margin: 0; font-size: 1.5rem; }
.editor__group { border: 0; margin: 0; padding: 1.3rem 1.6rem 1.4rem; display: grid; gap: 1rem; border-bottom: 1px solid var(--line-soft); }
.editor__group legend { float: left; width: 100%; padding: 0; margin-bottom: 0.2rem; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
.editor__group .field textarea { min-height: 150px; }
.editor__group .form-grid { gap: 1rem; }
.form-grid--3 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
.editor__group .field input { min-width: 0; padding-inline: 0.75rem; }
.editor__form > .form-status { margin: 1rem 1.6rem 0; }
.editor__foot { position: sticky; bottom: 0; margin-top: auto; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.6rem; background: rgb(255 253 249 / 0.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line-soft); }
.editor__foot .btn[hidden] { display: none; }
.editor__foot .btn:only-child, .editor__foot [hidden] + .btn { margin-left: auto; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; counter-reset: p; }
.points:empty { display: none; }
.point { display: flex; align-items: center; gap: 0.5rem; }
.point::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--wood); flex: none; margin-right: 0.2rem; }
.point input { flex: 1; min-width: 0; font: inherit; font-size: 0.98rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.65rem 0.75rem; }
.point input:focus { outline: none; border-color: var(--ink); }
.point button { flex: none; width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; color: var(--ink-mute); font-size: 1.2rem; cursor: pointer; }
.point button:hover { background: var(--paper-2); color: var(--danger); }
.add-point { justify-self: start; border: 1px dashed var(--line); background: none; border-radius: var(--r-sm); padding: 0.6rem 0.9rem; font: inherit; font-size: 0.95rem; color: var(--ink-soft); cursor: pointer; }
.add-point:hover { border-color: var(--ink); color: var(--ink); }
.photo { position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 1rem; align-items: center; padding: 0.75rem; border: 1.5px dashed var(--line); border-radius: var(--r); background: var(--paper); transition: border-color 0.2s, background 0.2s; }
.photo.is-over { border-color: var(--leaf); background: #eef2e8; }
.photo.is-busy { opacity: 0.7; }
.photo__img { width: 132px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; background: var(--paper-2); }
.photo__drop p { margin: 0; font-size: 0.95rem; }
.photo__pick { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.photo__hint { margin-top: 0.3rem !important; font-size: 0.84rem !important; color: var(--ink-mute); }
.photo__hint.is-error { color: var(--danger); }
.map-status--ok { color: var(--leaf-dark); }
.map-status--error { color: var(--danger); }

.switch { display: inline-flex; align-items: center; gap: 0.75rem; cursor: pointer; font-size: 0.98rem; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 13px; background: var(--line); position: relative; margin: 0; cursor: pointer; transition: background 0.2s; flex: none; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.2); transition: transform 0.2s; }
.switch input:checked { background: var(--leaf); }
.switch input:checked::after { transform: translateX(18px); }

.editor__preview { overflow-y: auto; padding: 1.4rem 1.8rem 2.5rem; background: var(--paper) var(--grain); }
.editor__label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 1rem; }
.editor__label span { text-transform: none; letter-spacing: 0; color: var(--danger); margin-left: 0.4rem; }
.editor__stage { position: relative; overflow: hidden; }
.editor__scale { width: 1040px; transform-origin: 0 0; pointer-events: none; }
.editor__scale .ws { animation: none; }
.editor__scale .ws__side { position: static; }

@media (max-width: 980px) {
  .adm dialog.editor[open] { grid-template-columns: 1fr; height: 94vh; overflow-y: auto; }
  .adm dialog.editor .editor__form { overflow: visible; border-right: 0; }
  .editor__preview { overflow: visible; }
}
