/* Public site of Markéta Pourová. Hand-written, mobile-first. Fonts and --font-* live in fonts.css. */

/* ---------- Tokens ---------- */
:root {
  --cream: #fbf6ef;
  --ivory: #fffdf9;
  --blush: #f4e4de;
  --blush-deep: #ebd3ca;
  --champagne: #d8bf95;
  --champagne-soft: #eadcc2;
  --gold: #7e5f2e;
  --wine: #6d1b34;
  --wine-bright: #8d2643;
  --wine-deep: #4a1124;
  --ink: #2b1a1d;
  --ink-soft: #5e4b4d;
  --line: #e6d8cb;
  --control: #9c8060;
  --success: #2f6b46;
  --warning: #8a5a12;
  --error: #a3213f;

  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --max: 76rem;

  --text-sm: .875rem;
  --text-base: 1.0625rem;
  --text-lead: clamp(1.25rem, 1.05rem + .7vw, 1.5rem);
  --text-h3: clamp(1.375rem, 1.2rem + .6vw, 1.75rem);
  --text-h2: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --text-h1: clamp(2.75rem, 1.8rem + 4.4vw, 5.25rem);

  --radius-sm: .5rem;
  --radius: 1rem;
  --radius-lg: 1.75rem;
  --shadow: 0 1px 2px rgb(74 17 36 / .05), 0 12px 32px -12px rgb(74 17 36 / .18);
  --shadow-lift: 0 2px 4px rgb(74 17 36 / .06), 0 22px 44px -18px rgb(74 17 36 / .28);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 4.25rem;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 var(--text-base)/1.65 var(--font-body);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: clip; }
.js body:has(.menu[open]) { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 380; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 340; color: var(--wine); }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
a:hover { color: var(--wine-bright); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blush-deep); color: var(--wine-deep); }
strong { font-weight: 650; }
ul, ol { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: var(--space-3); left: var(--space-3); z-index: 200; padding: .7rem 1rem;
  background: var(--wine); color: var(--ivory); border-radius: 999px; text-decoration: none; transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--ivory); }
.icon { width: 1.15em; height: 1.15em; flex: none; transition: transform .3s var(--ease); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(44rem + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--flush-top { padding-top: 0; }
.section--blush { background: var(--blush); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .75em; margin: 0 0 var(--space-4);
  font: 600 .75rem/1.3 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .6; }
.section-title { font-size: var(--text-h2); }
.section-title--small { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.page-title { font-size: var(--text-h1); font-weight: 360; }
.section-head { max-width: 40rem; }
.section-head .lead { margin-top: var(--space-5); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4) var(--space-6); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.lead { font-family: var(--font-display); font-size: var(--text-lead); font-weight: 340; line-height: 1.45; color: var(--ink); letter-spacing: -.005em; }
.subhead { font: 600 .8125rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--space-5); }
.text-link {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--wine);
  padding-block: .25em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s;
}
.text-link:hover { background-size: 100% 1px; }
.text-link:hover .icon { transform: translateX(3px); }
.empty-note { max-width: 36rem; padding: var(--space-6); border: 1px dashed var(--champagne); border-radius: var(--radius); background: var(--ivory); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; }
.empty-note .text-link { margin-top: var(--space-4); font-family: var(--font-body); font-size: var(--text-base); }

.prose { max-width: 40rem; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 2em; }
.prose h3 { font-size: var(--text-h3); margin-top: 1.75em; }
.prose ul { padding-left: 1.25em; list-style: none; }
.prose ul li { position: relative; }
.prose ul li + li { margin-top: .4em; }
.prose ul li::before { content: ""; position: absolute; left: -1.1em; top: .7em; width: .4em; height: .4em; border-radius: 50%; background: var(--champagne); }
.prose ol { padding-left: 1.4em; list-style: decimal; }
.prose strong { color: var(--wine); font-weight: 650; }
.prose--lead > p:first-child { font-family: var(--font-display); font-size: var(--text-lead); line-height: 1.45; font-weight: 340; }
.small-prose { font-size: .9375rem; color: var(--ink-soft); }
.small-prose p { margin-bottom: .6em; }
.small-prose :is(ul, ol) { margin-bottom: .6em; padding-left: 1.2em; list-style: disc; }
.small-prose ol { list-style: decimal; }
.small-prose li + li { margin-top: .3em; }

/* ---------- Buttons & chips ---------- */
.button {
  --bg: transparent; --fg: var(--wine); --bd: var(--wine);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 2.875rem; padding: .7rem 1.35rem;
  border: 1px solid var(--bd); border-radius: 999px; background: var(--bg); color: var(--fg);
  font: 600 .9375rem/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.button:hover { --bg: var(--wine); --fg: var(--ivory); color: var(--fg); }
.button:hover .icon { transform: translateX(3px); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .55; cursor: progress; }
.button--primary { --bg: var(--wine); --fg: var(--ivory); --bd: var(--wine); box-shadow: 0 8px 20px -10px rgb(109 27 52 / .55); }
.button--primary:hover { --bg: var(--wine-deep); --bd: var(--wine-deep); box-shadow: 0 12px 26px -12px rgb(74 17 36 / .7); transform: translateY(-1px); }
.button--ghost { --bd: rgb(109 27 52 / .3); }
.button--light { --bg: var(--ivory); --fg: var(--wine-deep); --bd: var(--ivory); }
.button--light:hover { --bg: var(--champagne); --fg: var(--wine-deep); --bd: var(--champagne); }
.button--ghost-light { --fg: var(--ivory); --bd: rgb(255 253 249 / .45); }
.button--ghost-light:hover { --bg: var(--ivory); --fg: var(--wine-deep); --bd: var(--ivory); }
.button--large { min-height: 3.25rem; padding: .85rem 1.7rem; font-size: 1rem; }

.chip {
  display: inline-flex; align-items: center; gap: .5em; margin: 0; padding: .3rem .75rem; border: 1px solid var(--champagne);
  border-radius: 999px; background: var(--ivory); color: var(--gold); font: 600 .75rem/1.3 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
}
.chip--live { border-color: transparent; background: var(--wine); color: var(--ivory); }
.chip--live::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 3px rgb(216 191 149 / .3); }

/* Arch frame: a semicircular top on any box. */
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; }
.arch img, .arch video { width: 100%; height: 100%; object-fit: cover; }

/* Polka dots (a nod to the studio outfit), used behind photos. */
.dots {
  position: absolute; pointer-events: none;
  background-image: radial-gradient(circle, var(--blush-deep) 1.6px, transparent 2px);
  background-size: 14px 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgb(251 246 239 / .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
/* backdrop-filter would make the header the containing block of the fixed menu panel. */
.site-header:has(.menu[open]) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--cream); }
/* Without JS nothing closes the menu after an in-page link, so it is a dropdown under a non-sticky header that scrolls away. */
:root:not(.js) .site-header { position: relative; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgb(74 17 36 / .4); }
.site-header__inner {
  display: flex; align-items: center; gap: var(--space-4); height: var(--header-h);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--wine); }
.brand__mark { width: auto; height: 2rem; transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-3deg) scale(1.04); }
.brand__name { font: 400 1.3rem/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.brand__name em { color: var(--wine); font-weight: 360; }
.site-nav { display: none; }
.nav-links a { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--wine); }
.site-header__cta { min-height: 2.5rem; padding: .55rem 1rem; font-size: .875rem; }
@media (max-width: 29.99rem) {
  .site-header__inner { gap: var(--space-3); }
  .brand { gap: .45rem; }
  .brand__name { font-size: 1.0625rem; }
  .brand__mark { height: 1.5rem; }
  .site-header__cta { padding-inline: .85rem; }
  .menu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu__toggle { padding: .4rem; }
}
@media (max-width: 22.5rem) { .brand__name { display: none; } }
.only-wide { display: none; }

.menu { position: static; }
.menu__toggle {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 2.5rem; padding: .4rem .2rem .4rem .6rem;
  list-style: none; cursor: pointer; font-weight: 600; font-size: .875rem; border-radius: 999px; user-select: none;
}
.menu__toggle::-webkit-details-marker { display: none; }
.menu__icon { position: relative; width: 1.35rem; height: .7rem; }
.menu__icon span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu__icon span:first-child { top: 0; }
.menu__icon span:last-child { top: calc(100% - 1.5px); }
.menu[open] .menu__icon span:first-child { top: calc(50% - .75px); transform: rotate(45deg); }
.menu[open] .menu__icon span:last-child { top: calc(50% - .75px); transform: rotate(-45deg); }
.menu__label--close, .menu[open] .menu__label { display: none; }
.menu[open] .menu__label--close { display: inline; }
.menu__panel {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 40; display: flex; flex-direction: column; gap: var(--space-6);
  padding: var(--space-6) var(--gutter) var(--space-7); background: var(--cream); border-block: 1px solid var(--line);
}
.js .menu__panel { position: fixed; inset: var(--header-h) 0 0; padding-bottom: calc(var(--space-7) + env(safe-area-inset-bottom)); overflow-y: auto; border-bottom: 0; }
.menu[open] .menu__panel { animation: menu-in .4s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.menu__panel .nav-links { display: grid; }
.menu__panel .nav-links li + li { border-top: 1px solid var(--line); }
.menu__panel .nav-links a { display: flex; align-items: center; justify-content: space-between; padding: .85rem 0; font: 380 2.125rem/1.15 var(--font-display); letter-spacing: -.015em; }
.menu__panel .nav-links a::after { content: "→"; font: 400 1.25rem/1 var(--font-body); color: var(--champagne); transition: transform .3s var(--ease), color .3s; }
.menu__panel .nav-links a:hover::after { transform: translateX(4px); color: var(--wine); }
.menu__panel .button { align-self: stretch; }
.menu__panel .contact-links { margin-top: auto; }

@media (min-width: 26rem) {
  .site-header__cta { padding-inline: 1.25rem; }
}
@media (min-width: 64rem) {
  :root { --header-h: 5rem; }
  .menu { display: none; }
  .site-nav { display: block; }
  .site-nav .nav-links { display: flex; gap: clamp(1.25rem, 2.5vw, 2.25rem); }
  .site-nav .nav-links a { padding-block: .4rem; font-size: .9375rem; }
  .site-nav .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .site-nav .nav-links a:hover::after, .site-nav .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .site-header__cta { margin-left: var(--space-5); }
  .only-wide { display: inline; }
  .only-narrow { display: none; }
  .brand__name { font-size: 1.45rem; }
  .brand__mark { height: 2.25rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-areas: "media" "more"; overflow: clip; }
.hero__media { grid-area: media; position: relative; min-height: calc(100svh - var(--header-h)); max-height: 52rem; }
.hero__frame { position: absolute; inset: 0; background: var(--blush); }
.hero__frame video, .hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(43 26 29 / 0) 35%, rgb(43 26 29 / .3) 55%, rgb(52 14 28 / .82) 100%); pointer-events: none; }
.hero__intro {
  grid-area: media; align-self: end; position: relative; z-index: 2;
  padding: var(--space-6) var(--gutter) calc(var(--space-7) + .5rem); color: var(--ivory);
}
.hero__eyebrow { color: var(--champagne-soft); }
.hero__title { font-size: clamp(3.4rem, 2rem + 8vw, 8rem); font-weight: 330; line-height: .92; letter-spacing: -.035em; text-shadow: 0 2px 30px rgb(43 26 29 / .25); }
.hero__title em { display: block; color: inherit; font-weight: 300; padding-left: .9em; }
.hero__tagline { margin: var(--space-4) 0 var(--space-6); font: italic 340 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.3 var(--font-display); color: var(--champagne-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__actions .button--ghost { --fg: var(--ivory); --bd: rgb(255 253 249 / .5); }
.hero__actions .button--ghost:hover { --bg: var(--ivory); --fg: var(--wine-deep); --bd: var(--ivory); }
.hero__more { grid-area: more; padding: var(--space-6) var(--gutter) 0; display: grid; gap: var(--space-5); }
.hero__lead { font: 340 var(--text-lead)/1.45 var(--font-display); max-width: 34rem; }
.hero__toggle {
  position: absolute; z-index: 3; top: var(--space-4); right: var(--space-4); width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%;
  background: rgb(255 253 249 / .75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--wine-deep); cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s, transform .2s var(--ease);
}
.hero__toggle:hover { background: var(--ivory); transform: scale(1.06); }
.hero__toggle::before { content: ""; width: .7rem; height: .8rem; border-inline: 3px solid currentColor; }
.hero__toggle.is-paused::before { width: 0; height: 0; border-inline: 0; border-block: .45rem solid transparent; border-left: .75rem solid currentColor; margin-left: .2rem; }

.next-workshop {
  display: flex; align-items: center; gap: var(--space-4); max-width: 30rem; padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ivory); color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s;
}
.next-workshop:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.next-workshop:hover .icon { transform: translateX(3px); }
.next-workshop .icon { margin-left: auto; color: var(--wine); }
.next-workshop__text { display: grid; gap: .15rem; }
.next-workshop__label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.next-workshop strong { font: 400 1.125rem/1.25 var(--font-display); }

@media (min-width: 48rem) and (max-width: 63.99rem) {
  .hero__media { min-height: min(calc(100svh - var(--header-h)), 60rem); }
  .hero__intro { padding-bottom: var(--space-8); }
}
@media (min-width: 64rem) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: 1fr auto;
    grid-template-areas: "intro media" "more media"; column-gap: clamp(2rem, 5vw, 5rem);
    max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(2rem, 4vw, 3.5rem) var(--gutter) var(--space-8);
    min-height: calc(100svh - var(--header-h)); overflow: visible;
  }
  .hero__intro { grid-area: intro; align-self: end; padding: 0; color: var(--ink); }
  .hero__eyebrow { color: var(--gold); }
  .hero__title { text-shadow: none; font-size: clamp(5rem, 1rem + 7.4vw, 8.25rem); }
  .hero__title em { color: var(--wine); }
  .hero__tagline { color: var(--gold); }
  .hero__actions .button--ghost { --fg: var(--wine); --bd: rgb(109 27 52 / .3); }
  .hero__actions .button--ghost:hover { --bg: var(--wine); --fg: var(--ivory); --bd: var(--wine); }
  .hero__more { grid-area: more; padding: var(--space-7) 0 0; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: var(--space-6); border-top: 1px solid var(--line); margin-top: var(--space-7); }
  .hero__lead { font-size: 1.1875rem; color: var(--ink-soft); }
  .hero__media { grid-area: media; align-self: center; justify-self: end; width: 100%; max-width: 29rem; min-height: 0; max-height: none; aspect-ratio: 5 / 7.4; }
  .hero__media::before {
    content: ""; position: absolute; inset: -1.1rem 1.1rem 1.1rem -1.1rem; border: 1px solid var(--champagne);
    border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  }
  .hero__media::after {
    content: ""; position: absolute; right: -2.5rem; bottom: -2rem; width: 9rem; height: 9rem; z-index: -1;
    background-image: radial-gradient(circle, var(--blush-deep) 1.8px, transparent 2.2px); background-size: 15px 15px;
  }
  .hero__frame { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
  .hero__frame::after { display: none; }
  .hero__toggle { top: auto; bottom: var(--space-5); right: var(--space-5); }
}
@media (min-width: 90rem) {
  .hero { min-height: min(calc(100svh - var(--header-h)), 60rem); }
}

/* ---------- Date badge, places, price ---------- */
.date-badge {
  display: inline-grid; justify-items: center; align-content: center; flex: none; width: 4.25rem; padding: .45rem .25rem .5rem;
  border: 1px solid var(--line); border-radius: .85rem; background: var(--ivory); color: var(--ink); text-align: center; line-height: 1;
  box-shadow: inset 0 3px 0 var(--wine);
}
.date-badge__weekday { font: 600 .625rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.date-badge__day { margin: .2rem 0 .15rem; font: 380 1.85rem/1 var(--font-display); font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.date-badge__month { font: 500 .6875rem/1 var(--font-body); color: var(--ink-soft); }
.date-badge--small { width: 3.6rem; padding: .35rem .2rem .4rem; border-radius: .7rem; }
.date-badge--small .date-badge__day { font-size: 1.5rem; }
.date-badge--small .date-badge__month { font-size: .625rem; }

.date-list { display: grid; gap: var(--space-3); }
.date-item { display: flex; align-items: center; gap: var(--space-4); }
.date-item__text { display: grid; gap: .1rem; line-height: 1.35; }
.date-item__text strong { font: 420 1.125rem/1.25 var(--font-display); }
.date-item__text > span { color: var(--ink-soft); font-size: .9375rem; }
.date-item .places { margin-left: auto; }
.date-item--full .date-badge { opacity: .55; box-shadow: none; }
.places { display: inline-flex; align-items: center; gap: .4em; font-size: .8125rem; font-weight: 600; color: var(--success); white-space: nowrap; }
.places::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.places--full { color: var(--ink-soft); }
.places--full::before { background: transparent; border: 1.5px solid currentColor; }

.price-from { display: grid; gap: .1rem; margin: 0; }
.price-from__amount { font: 380 1.5rem/1.15 var(--font-display); color: var(--ink); font-variant-numeric: lining-nums; }
.bundle-hint { font-size: .875rem; color: var(--gold); font-weight: 600; }

/* ---------- Workshop cards ---------- */
.cards { display: grid; gap: var(--space-6); }
@media (min-width: 48rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards--single { grid-template-columns: 1fr; } }
.workshop-card {
  display: grid; height: 100%; overflow: hidden; border-radius: var(--radius-lg); background: var(--ivory); border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.workshop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.workshop-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blush); }
.workshop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.workshop-card:hover .workshop-card__media img { transform: scale(1.04); }
.workshop-card__body { display: flex; flex-direction: column; gap: var(--space-4); padding: clamp(1.5rem, 3vw, 2.25rem); }
.workshop-card__body .eyebrow { margin: 0; }
.workshop-card__title { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.1; }
.workshop-card__title a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.workshop-card__title a:hover { background-size: 100% 1px; color: var(--wine); }
.workshop-card__subtitle { margin: -.4rem 0 0; color: var(--ink-soft); font-style: italic; font-family: var(--font-display); font-size: 1.125rem; }
.workshop-card .date-list { padding-block: var(--space-4); border-block: 1px solid var(--line); }
.workshop-card__summary { color: var(--ink-soft); margin: 0; }
.workshop-card__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: auto; padding-top: var(--space-2); }
@media (min-width: 64rem) {
  .workshop-card--featured { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .workshop-card--featured .workshop-card__media { aspect-ratio: auto; height: 100%; min-height: 30rem; }
  .workshop-card--featured .workshop-card__body { padding: clamp(2rem, 4vw, 3.5rem); gap: var(--space-5); }
}

/* ---------- Home: intro ---------- */
.intro__grid { display: grid; gap: var(--space-7); align-items: center; }
.intro__media { width: min(100%, 26rem); aspect-ratio: 3 / 4; justify-self: center; box-shadow: var(--shadow-lift); }
.intro__text .section-head { margin-bottom: var(--space-6); }
.intro__text p:not(.lead):not(.eyebrow) { color: var(--ink-soft); max-width: 36rem; }
@media (min-width: 64rem) {
  .intro__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 8rem); }
  .intro__media { width: 100%; max-width: 28rem; justify-self: start; }
}

/* ---------- Home: offers ---------- */
.offers__head { display: grid; gap: var(--space-5); margin-bottom: clamp(3rem, 6vw, 5rem); }
.offers__intro-rest p { color: var(--ink-soft); }
@media (min-width: 64rem) {
  .offers__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(3rem, 7vw, 7rem); row-gap: var(--space-5); }
  .offers__head .section-head { grid-column: 1; }
  .offers__head .lead { grid-column: 1; margin: 0; }
  .offers__intro-rest { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}
.offer-list { display: grid; gap: var(--space-6); }
@media (min-width: 48rem) { .offer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) clamp(1.5rem, 3vw, 2.5rem); } }
.offer { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--ivory); box-shadow: var(--shadow); }
.offer__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.offer__media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgb(43 26 29 / .45)); pointer-events: none; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.offer:hover .offer__media img { transform: scale(1.04); }
.offer__number {
  position: absolute; z-index: 1; left: var(--space-5); bottom: .12em; font: italic 300 clamp(4rem, 3rem + 3vw, 5.5rem)/1 var(--font-display);
  color: var(--ivory); letter-spacing: -.04em; text-shadow: 0 4px 30px rgb(43 26 29 / .35);
}
.offer__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); flex: 1; padding: clamp(1.5rem, 3vw, 2.25rem); }
.offer__title { font-size: var(--text-h3); line-height: 1.15; }
.offer__body p:not(.chip) { color: var(--ink-soft); font-size: 1rem; }
.offer__body .text-link { margin-top: auto; }

/* ---------- Home: quote ---------- */
.quote { position: relative; padding-block: var(--section); background: var(--wine-deep); color: var(--ivory); overflow: hidden; }
.quote::before {
  content: "“"; position: absolute; right: 4%; top: -3.5rem; font: italic 300 32rem/1 var(--font-display); color: rgb(216 191 149 / .08); pointer-events: none;
}
.quote__grid { position: relative; display: grid; gap: var(--space-7); align-items: center; }
.quote__media { width: min(70%, 20rem); aspect-ratio: 3 / 4; justify-self: start; border: 1px solid rgb(216 191 149 / .4); padding: .5rem; background: rgb(255 253 249 / .03); }
.quote__media img { border-radius: 999px 999px .6rem .6rem; }
.quote blockquote { margin: 0; }
.quote__text { font: italic 320 clamp(2rem, 1.3rem + 3vw, 3.75rem)/1.12 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.quote__text::before { content: "„"; color: var(--champagne); }
.quote__text::after { content: "“"; color: var(--champagne); }
.quote__more { margin-top: var(--space-6); max-width: 36rem; font-size: 1.0625rem; line-height: 1.7; color: rgb(251 246 239 / .78); }
.quote__author { display: flex; align-items: center; gap: .75rem; margin-top: var(--space-6); font: 600 .75rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--champagne); }
.quote__author::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
@media (min-width: 64rem) {
  .quote__grid { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: clamp(3rem, 8vw, 8rem); }
  .quote__media { width: 100%; max-width: 24rem; }
}

/* ---------- Home: about teaser & stats ---------- */
.about-teaser__grid { display: grid; gap: var(--space-7); align-items: center; }
.about-teaser__text .section-head { margin-bottom: var(--space-5); }
.about-teaser__text p:not(.eyebrow) { font: 340 var(--text-lead)/1.5 var(--font-display); max-width: 34rem; }
.about-teaser__text .button { margin-top: var(--space-6); }
.about-teaser__media { position: relative; justify-self: center; width: min(78%, 22rem); }
.about-teaser__media .dots { inset: 12% -18% -8% 30%; border-radius: 999px 999px 0 0; }
.about-teaser__photo { position: relative; display: block; aspect-ratio: 2 / 3; background: var(--blush); box-shadow: var(--shadow-lift); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
.stat { padding-top: var(--space-4); border-top: 1px solid var(--champagne); }
.stat__value { font: 340 clamp(2.25rem, 1.8rem + 2vw, 3.25rem)/1 var(--font-display); color: var(--wine); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.stat__label { margin-top: var(--space-2); font-size: .9375rem; line-height: 1.45; color: var(--ink-soft); }
@media (min-width: 64rem) {
  .about-teaser__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: clamp(3rem, 8vw, 8rem); row-gap: var(--space-8); }
  .about-teaser__media { grid-column: 2; grid-row: 1; width: 100%; max-width: 24rem; }
  .about-teaser .stats { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Home: gallery ---------- */
.gallery-section { padding-bottom: var(--section); }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(74vw, 20rem); gap: var(--space-3);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); padding-bottom: var(--space-3);
  scrollbar-width: thin; scrollbar-color: var(--champagne) transparent;
}
.gallery__item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); scroll-snap-align: start; background: var(--blush); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; }
.gallery__item:hover img { transform: scale(1.05); }
.photo-credit {
  position: absolute; right: .5rem; bottom: .5rem; padding: .15rem .5rem; border-radius: 999px;
  background: rgb(43 26 29 / .55); color: rgb(255 253 249 / .9); font-size: .6875rem; letter-spacing: .02em;
}
@media (min-width: 64rem) {
  .gallery {
    grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; grid-auto-rows: clamp(12rem, 17vw, 16rem);
    gap: var(--space-4); overflow: visible; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
  }
  .gallery__item { aspect-ratio: auto; }
  .gallery__item:nth-child(1) { grid-row: span 2; }
  .gallery__item:nth-child(3) { grid-column: span 2; }
  .gallery__item:nth-child(5) { grid-row: span 2; }
  .gallery__item:nth-child(7) { grid-column: span 2; }
}

/* ---------- Home: contact ---------- */
.contact { background: var(--blush); }
.contact__grid { display: grid; gap: var(--space-7); align-items: end; }
@media (min-width: 64rem) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 8rem); } }
.contact-links { display: grid; gap: var(--space-4); }
.contact-links li { display: grid; gap: .1rem; }
.contact-links__label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact-links a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-links a:hover { color: var(--wine); text-decoration: underline; }
.contact-links--large { gap: var(--space-5); }
.contact-links--large li { padding-bottom: var(--space-5); border-bottom: 1px solid var(--blush-deep); }
.contact-links--large a { font: 360 clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem)/1.2 var(--font-display); letter-spacing: -.01em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-deep); color: rgb(251 246 239 / .82); padding: clamp(3.5rem, 7vw, 5.5rem) 0 var(--space-6); }
.site-footer__inner {
  display: grid; gap: var(--space-7); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
}
.site-footer__name { font: 340 clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem)/1 var(--font-display); color: var(--ivory); text-decoration: none; letter-spacing: -.02em; }
.site-footer__name em { color: var(--champagne); }
.site-footer__name:hover { color: var(--ivory); }
.site-footer__tagline { margin-top: var(--space-4); font: italic 340 1.125rem/1.4 var(--font-display); color: var(--champagne); }
.site-footer h2 { margin-bottom: var(--space-4); font: 600 .75rem/1.3 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--champagne); }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a { color: rgb(251 246 239 / .88); text-decoration: none; }
.site-footer a:hover { color: var(--ivory); text-decoration: underline; }
.site-footer a[aria-current="page"] { color: var(--champagne); }
.site-footer .contact-links__label { color: rgb(216 191 149 / .85); }
.site-footer :focus-visible { outline-color: var(--champagne); }
.site-footer__copyright {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: var(--space-8) auto 0; padding: var(--space-5) var(--gutter) 0;
  font-size: .8125rem; color: rgb(251 246 239 / .6); border-top: 1px solid rgb(216 191 149 / .2);
}
.site-footer__legal { display: block; margin-top: .25rem; }
@media (min-width: 48rem) { .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .site-footer__inner { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
  .site-footer__copyright { padding-inline: 0; margin-inline: var(--gutter); max-width: none; }
}
@media (min-width: 82rem) { .site-footer__copyright { margin-inline: auto; max-width: var(--max); } }

/* ---------- Page heads ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem); }
.page-head .lead { color: var(--ink-soft); }

/* ---------- Workshops page ---------- */
.on-request { display: grid; gap: var(--space-4); align-items: center; }
.on-request p { color: var(--ink-soft); max-width: 36rem; margin: 0; }
.on-request .button { justify-self: start; }
@media (min-width: 64rem) { .on-request { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: var(--space-7); } }
.past-list { display: grid; max-width: 48rem; }
.past-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.past-list a { font: 400 1.25rem/1.3 var(--font-display); color: var(--ink); text-decoration: none; }
.past-list a:hover { color: var(--wine); }
.past-list span { color: var(--ink-soft); font-size: .9375rem; }

/* ---------- Workshop detail ---------- */
.workshop-hero { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.workshop-hero__grid { display: grid; gap: var(--space-7); align-items: center; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: var(--space-6); font-size: .9375rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.back-link .icon { transform: rotate(180deg); }
.back-link:hover { color: var(--wine); }
.back-link:hover .icon { transform: rotate(180deg) translateX(3px); }
.page-title--workshop { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem); }
.workshop-hero__subtitle { margin: var(--space-4) 0 0; font: italic 340 var(--text-lead)/1.35 var(--font-display); color: var(--gold); }
.hero-dates { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
.hero-dates li { display: flex; align-items: center; gap: var(--space-3); }
.hero-dates li > span:last-child { display: grid; line-height: 1.3; font-size: .9375rem; color: var(--ink-soft); }
.hero-dates strong { font: 420 1.125rem/1.25 var(--font-display); color: var(--ink); }
.hero-dates .is-closed { opacity: .55; }
.workshop-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-6); }
.workshop-hero__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); background: var(--blush); }
.workshop-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.notice { display: block; margin-bottom: var(--space-5); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.notice--error { background: #fbe9ec; color: var(--error); border: 1px solid #efc2cc; }
@media (min-width: 64rem) {
  .workshop-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(3rem, 6vw, 6rem); }
  .workshop-hero__media { aspect-ratio: 5 / 4.6; }
}

.workshop-body { display: grid; gap: var(--space-7); }
.workshop-body__main { display: grid; gap: var(--space-7); align-content: start; }
.workshop-body__aside { display: grid; gap: var(--space-4); align-content: start; }
.info-block { padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.info-block__title { margin-bottom: var(--space-4); font: 600 .75rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.venue { display: grid; gap: .1rem; margin-bottom: var(--space-3); }
.venue strong { font: 420 1.125rem/1.3 var(--font-display); }
.venue span { color: var(--ink-soft); }
.price-list { display: grid; }
.price-list__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-3); }
.price-list__row + .price-list__row { border-top: 1px dashed var(--line); }
.price-list__row > span { display: grid; gap: .15rem; }
.price-list__row strong { font: 400 1.5rem/1 var(--font-display); white-space: nowrap; font-variant-numeric: lining-nums; }
.price-list__row--bundle strong { color: var(--wine); }
.saving { justify-self: start; padding: .1rem .55rem; border-radius: 999px; background: var(--blush); color: var(--wine); font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.lecturer { display: flex; align-items: center; gap: var(--space-4); max-width: 40rem; padding: var(--space-4); border-radius: 999px; background: var(--blush); color: var(--ink); text-decoration: none; transition: background-color .25s; }
.lecturer:hover { background: var(--blush-deep); color: var(--ink); }
.lecturer__photo { flex: none; width: 3.75rem; height: 3.75rem; border-radius: 50%; overflow: hidden; border: 2px solid var(--ivory); }
.lecturer__photo img { width: 100%; height: 100%; object-fit: cover; }
.lecturer__text { font-size: .9375rem; line-height: 1.45; padding-right: var(--space-4); }
@media (min-width: 64rem) {
  .workshop-body { grid-template-columns: minmax(0, 1.4fr) minmax(19rem, .8fr); gap: clamp(3rem, 6vw, 6rem); }
  .workshop-body__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------- Registration form ---------- */
.registration-section__grid { display: grid; gap: var(--space-7); }
@media (min-width: 64rem) {
  .registration-section__grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .registration-section__grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.registration-form { display: grid; gap: var(--space-6); padding: clamp(1.25rem, 4vw, 2.75rem); border-radius: var(--radius-lg); background: var(--ivory); box-shadow: var(--shadow); }
.form-alert { margin: 0; padding: var(--space-4); border-radius: var(--radius-sm); background: #fbe9ec; color: var(--error); font-weight: 600; border-left: 3px solid var(--error); }
.form-alert:focus { outline: none; }
.form-step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: var(--space-4); }
.form-step__title { display: flex; align-items: center; gap: var(--space-3); padding: 0; margin-bottom: var(--space-4); font: 400 1.375rem/1.25 var(--font-display); }
.form-step__number { display: inline-grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: 50%; background: var(--wine); color: var(--ivory); font: 600 .875rem/1 var(--font-body); }

.date-options { display: grid; gap: var(--space-3); }
@media (min-width: 40rem) { .date-options { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); } }
.date-option {
  position: relative; display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); padding-right: 3.25rem;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--cream); cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.date-option:hover { border-color: var(--champagne); }
.date-option:has(input:checked) { border-color: var(--wine); background: #fff; box-shadow: 0 0 0 3px rgb(109 27 52 / .1); }
.date-option:has(input:focus-visible) { outline: 2px solid var(--wine); outline-offset: 3px; }
.date-option--disabled { cursor: not-allowed; opacity: .6; }
.date-option__text { display: grid; gap: .1rem; line-height: 1.35; font-size: .9375rem; color: var(--ink-soft); }
.date-option__label { font: 420 1.2rem/1.25 var(--font-display); color: var(--ink); }
.date-option .places { margin-top: .25rem; }
.date-option input {
  appearance: none; position: absolute; top: 50%; right: var(--space-4); margin: -.75rem 0 0; width: 1.5rem; height: 1.5rem;
  border: 1.5px solid var(--control); border-radius: 50%; background: #fff; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.date-option input:checked { border-color: var(--wine); background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fffdf9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.date-option input:focus-visible { outline: none; }
.date-option input:disabled { background: var(--line); border-color: var(--line); cursor: not-allowed; }
.date-option__check { display: none; }

.total-panel { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-4); padding: var(--space-4) var(--space-5); border-radius: var(--radius); background: var(--blush); }
.total-panel:not(:has(p:not([hidden]))) { display: none; }
.total-panel__total { margin: 0; font: 400 1.6rem/1.2 var(--font-display); color: var(--wine-deep); font-variant-numeric: lining-nums; }
.total-panel__saving { margin: 0; padding: .15rem .65rem; border-radius: 999px; background: var(--wine); color: var(--ivory); font-size: .8125rem; font-weight: 700; }
.total-panel__hint { margin: 0; font-size: .9375rem; color: var(--ink-soft); }

.field-grid { display: grid; gap: var(--space-5) var(--space-4); }
@media (min-width: 40rem) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-grid [data-field="name"], .field-grid [data-field="note"] { grid-column: 1 / -1; }
}
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: .75rem; background: #fff; color: var(--ink);
  font: 400 1rem/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:hover, .field textarea:hover { border-color: var(--champagne); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgb(109 27 52 / .12); }
.field--invalid input, .field--invalid textarea { border-color: var(--error); }
.field__hint { margin: 0; font-size: .875rem; color: var(--ink-soft); }
.field__error { margin: 0; display: flex; gap: .4rem; font-size: .875rem; font-weight: 600; color: var(--error); }
.field__error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 1.15rem; height: 1.15rem; margin-top: .1rem; border-radius: 50%; background: var(--error); color: #fff; font-size: .75rem; }

.consent { display: grid; gap: .5rem; padding-top: var(--space-5); border-top: 1px solid var(--line); }
.check { display: flex; align-items: flex-start; gap: .75rem; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.check input {
  appearance: none; flex: none; width: 1.35rem; height: 1.35rem; margin: .1rem 0 0; border: 1.5px solid var(--control); border-radius: .4rem; background: #fff; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.check input:checked { border-color: var(--wine); background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fffdf9' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.consent.field--invalid .check input { border-color: var(--error); }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.form-submit .button { flex: 1 1 auto; }
@media (min-width: 40rem) { .form-submit .button { flex: none; } }
.form-submit__note { margin: 0; font-size: .875rem; color: var(--ink-soft); }

.policy__inner { display: grid; gap: var(--space-5); }
.policy__text { max-width: 40rem; color: var(--ink-soft); }
@media (min-width: 64rem) { .policy__inner { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(3rem, 6vw, 6rem); } }

/* ---------- Registration page ---------- */
.registration-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem); }
.registration-hero .lead { margin-top: var(--space-4); max-width: 40rem; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: var(--space-5); color: var(--ink-soft); max-width: 44rem; }
.status__badge {
  display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .85rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.status__badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.status--awaiting_payment .status__badge { background: #f8ecd6; color: var(--warning); }
.status--paid .status__badge { background: #e3f0e6; color: var(--success); }
.registration--cancelled .page-title { color: var(--ink-soft); }
.registration-grid { display: grid; gap: var(--space-6); padding-bottom: var(--section); }
.registration-grid__main, .registration-grid__aside { display: grid; gap: var(--space-5); align-content: start; }
@media (min-width: 64rem) {
  .registration-grid { grid-template-columns: minmax(0, 1.45fr) minmax(19rem, .85fr); gap: clamp(2rem, 4vw, 4rem); }
  .registration-grid__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.pay-card { display: grid; gap: var(--space-5); padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: var(--ivory); box-shadow: var(--shadow); border: 1px solid var(--line); }
.pay-card__head p:not(.eyebrow) { color: var(--ink-soft); max-width: 38rem; }
.pay-card__title { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); margin-bottom: var(--space-3); }
.pay-card__body { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 48rem) { .pay-card__body { grid-template-columns: auto minmax(0, 1fr); } }
.pay-card--bitcoin { background: transparent; box-shadow: none; border-style: dashed; border-color: var(--champagne); }
.pay-card--bitcoin .pay-card__title { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); }
.demo-note { margin: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: #f8ecd6; color: var(--warning); font-weight: 600; font-size: .9375rem; }
.qr { display: grid; gap: var(--space-3); justify-items: center; text-align: center; }
.qr__code { width: 13.5rem; padding: .75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.qr__code svg { width: 100%; height: auto; }
.qr figcaption { display: grid; gap: .15rem; max-width: 14rem; font-size: .875rem; color: var(--ink-soft); }
.qr figcaption strong { color: var(--ink); font-size: .9375rem; }
.pay-rows { display: grid; }
.pay-rows__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .1rem var(--space-3); padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
.pay-rows__row:last-child { border-bottom: 0; }
.pay-rows dt { grid-column: 1; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pay-rows dd { grid-column: 1; font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pay-rows__row--amount dd { font: 400 2.25rem/1.1 var(--font-display); color: var(--wine); font-variant-numeric: lining-nums; }
.copy-button {
  grid-column: 2; grid-row: 1 / span 2; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--cream);
  font-size: .8125rem; font-weight: 600; color: var(--wine); cursor: pointer; transition: background-color .2s, border-color .2s;
}
.copy-button:hover { border-color: var(--wine); background: #fff; }
.copy-button.is-copied { background: #e3f0e6; border-color: #e3f0e6; color: var(--success); }
.bitcoin-side { display: grid; gap: var(--space-4); }

.next-steps { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-lg); background: var(--blush); }
.next-steps ol { display: grid; gap: var(--space-4); counter-reset: step; }
.next-steps li { display: flex; align-items: flex-start; gap: var(--space-4); }
.next-steps__marker { display: inline-grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--wine); color: var(--wine); font-weight: 700; font-size: .875rem; }
.next-steps li > span:last-child { padding-top: .25rem; }
.next-steps .is-done .next-steps__marker { background: var(--wine); color: transparent; position: relative; }
.next-steps .is-done .next-steps__marker::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.5 3.5 6.5-7.5' fill='none' stroke='%23fffdf9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.next-steps .is-done > span:last-child { color: var(--ink-soft); }

.summary-card { padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: var(--radius-lg); background: var(--ivory); border: 1px solid var(--line); box-shadow: var(--shadow); }
.summary-card__workshop { font: 400 1.375rem/1.25 var(--font-display); margin-bottom: var(--space-4); }
.summary-card__workshop a { color: var(--ink); text-decoration: none; }
.summary-card__workshop a:hover { color: var(--wine); }
.summary-card .date-list { padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.summary-card .date-item__text { font-size: .9375rem; }
.summary-card .date-item__text strong { font: 600 .9375rem/1.3 var(--font-body); }
.summary-card__rows { display: grid; gap: var(--space-3); padding-top: var(--space-4); }
.summary-card__rows > div { display: flex; justify-content: space-between; gap: var(--space-4); font-size: .9375rem; }
.summary-card__rows dt { color: var(--ink-soft); }
.summary-card__rows dd { text-align: right; font-weight: 600; }
.summary-card__total { padding-top: var(--space-3); border-top: 1px solid var(--line); align-items: baseline; }
.summary-card__total dd { font: 400 1.6rem/1 var(--font-display); color: var(--wine); font-variant-numeric: lining-nums; }

/* ---------- About page ---------- */
.about-hero { padding-block: clamp(2.5rem, 6vw, 5rem) 0; }
.about-hero__grid { display: grid; gap: var(--space-7); align-items: center; }
.about-hero .lead { margin-top: var(--space-5); max-width: 32rem; }
.about-hero .page-title { font-size: clamp(3.5rem, 2rem + 6vw, 7rem); }
.about-toc { margin-top: var(--space-6); }
.about-toc ul { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.about-toc a { display: inline-block; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--ivory); color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 500; transition: border-color .2s, color .2s, background-color .2s; }
.about-toc a:hover { border-color: var(--wine); color: var(--wine); }
.about-hero__media { position: relative; justify-self: center; width: min(82%, 24rem); }
.about-hero__media .dots { inset: 8% 20% -6% -16%; border-radius: 999px 999px 0 0; }
.about-hero__photo { position: relative; display: block; aspect-ratio: 2 / 3; background: var(--blush); box-shadow: var(--shadow-lift); }
.stats--band { margin-top: clamp(3rem, 6vw, 5rem); }
@media (min-width: 48rem) { .stats--band { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .about-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(3rem, 8vw, 8rem); }
  .about-hero__media { width: 100%; max-width: 26rem; }
}

.about-section { padding-block: var(--section) 0; }
.about-section:last-of-type { padding-bottom: var(--section); }
.about-section__grid { display: grid; gap: var(--space-7); align-items: start; }
.about-section__media { position: relative; padding-bottom: 18%; max-width: 32rem; width: 100%; justify-self: center; }
.about-section__main { position: relative; aspect-ratio: 4 / 5; width: 82%; box-shadow: var(--shadow); background: var(--blush); }
.about-section__detail {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius);
  border: 6px solid var(--cream); box-shadow: var(--shadow-lift); background: var(--blush);
}
.about-section__detail img { width: 100%; height: 100%; object-fit: cover; }
.about-section__number { font: italic 340 1.25rem/1 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--wine); }
.about-section__text .section-title { margin-bottom: var(--space-6); font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.25rem); }
.about-section__text .lead { margin-bottom: var(--space-5); font-size: clamp(1.2rem, 1.05rem + .45vw, 1.375rem); }
.about-section__text p:not(.lead):not(.eyebrow) { color: var(--ink-soft); max-width: 38rem; }
@media (min-width: 64rem) {
  .about-section__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 8vw, 8rem); }
  .about-section__media { position: sticky; top: calc(var(--header-h) + 2rem); }
  .about-section--flip .about-section__media { order: 2; }
  .about-section--flip .about-section__main { margin-left: auto; }
  .about-section--flip .about-section__detail { right: auto; left: 0; }
}

.cta-band { background: var(--wine-deep); color: var(--ivory); padding-block: clamp(4rem, 9vw, 7rem); text-align: center; }
.cta-band__inner { display: grid; justify-items: center; gap: var(--space-5); }
.cta-band .section-title { color: var(--ivory); }
.cta-band .section-title em { color: var(--champagne); }
.cta-band .lead { max-width: 36rem; color: rgb(251 246 239 / .82); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-3); }
.cta-band :focus-visible { outline-color: var(--champagne); }

/* ---------- Info & error pages ---------- */
.info-page .page-title { font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.info-page .section { padding-bottom: var(--section); }
.error-page { display: grid; justify-items: center; gap: var(--space-4); padding: clamp(4rem, 12vw, 9rem) var(--gutter); text-align: center; }
.error-page__code { margin: 0; font: italic 300 clamp(6rem, 4rem + 10vw, 12rem)/.9 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--champagne); letter-spacing: -.04em; }
.error-page h1 { font-size: var(--text-h2); }
.error-page > p:not(.error-page__code) { max-width: 32rem; color: var(--ink-soft); font-size: 1.125rem; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-4); }

/* ---------- Demo banner ---------- */
.demo-banner {
  position: fixed; left: 50%; bottom: max(.75rem, env(safe-area-inset-bottom)); z-index: 60; transform: translateX(-50%);
  display: flex; align-items: center; gap: .35rem .6rem; flex-wrap: wrap; justify-content: center;
  width: max-content; max-width: calc(100% - 1.5rem); padding: .55rem 1.1rem; border-radius: 999px;
  background: rgb(43 26 29 / .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ivory);
  font-size: .8125rem; line-height: 1.35; text-align: center; box-shadow: 0 10px 30px -10px rgb(43 26 29 / .5);
}
.demo-banner strong { display: inline-flex; align-items: center; gap: .45rem; color: var(--champagne); font-weight: 700; }
.demo-banner strong::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #e7a03c; box-shadow: 0 0 0 3px rgb(231 160 60 / .25); }
.has-demo-banner .site-footer { padding-bottom: 5.5rem; }
/* The phone hero fills the first screen, so its buttons would sit under the fixed banner. */
@media (max-width: 63.99rem) { .has-demo-banner .hero__intro { padding-bottom: 7rem; } }
body:has(.menu[open]) .demo-banner { display: none; }
@media (max-width: 40rem) { .demo-banner { border-radius: var(--radius); } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .hero__intro > *, .hero__more { animation: rise 1s var(--ease) both; }
  .hero__intro > :nth-child(2) { animation-delay: .08s; }
  .hero__intro > :nth-child(3) { animation-delay: .16s; }
  .hero__intro > :nth-child(4) { animation-delay: .24s; }
  .hero__more { animation-delay: .32s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
