/* ============================================================
   Tvoje Šaty — design tokens
   Layout, type and type ratios from the designer's "Variant B" mock
   (Tvoje Šaty · Max, variant b.pdf), set on the white ground the client
   asked to keep.
   ============================================================ */

/* Deliberate single-theme (light) commitment: the client pinned white as the
   surface's primary colour, so the site does not invert for dark mode. color-scheme is set explicitly
   so native controls/scrollbars still render correctly against that choice. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-subtle: #faf9f6;
  --bg-plate: #f3efe7;
  --bg-plate-2: #ece5d8;
  --ink: #18140f;
  --ink-soft: #5c554c;
  --ink-faint: #6b6459; /* darkened from a lighter warm grey to clear WCAG AA 4.5:1 on white/--bg-subtle */
  --line: #e7e1d6;
  --line-strong: #d8cfbf;
  --accent: #c19a55; /* the designer's variant-B gold: the booking button, rules, the lookbook progress */
  --accent-hover: #a8823c; /* button-background hover only, not text */
  --accent-deep: #7c6136; /* small gold text and icons: every lighter gold fails 4.5:1 as small text on white */
  --accent-tint: #f1e9da;
  --accent-text: #a8823c; /* large display words: 3.5:1 on white, 3.4:1 on --bg-subtle (large-text AA); --accent is only 2.5:1 there */
  --on-accent: #18140f;
  --white: #ffffff;
  --veil: 255 255 255; /* --bg as RGB channels, for the white veils over the lookbook clips */
  --danger: #a1372c;

  /* Both faces measured off the mock's raster: Old Standard TT sets the
     wordmark, the uppercase headline and the italic model name; Alegreya Sans
     sets text, nav, labels and buttons. */
  --font-display: 'Old Standard TT', 'Times New Roman', Georgia, serif;
  --font-body: 'Alegreya Sans', 'Gill Sans', 'Segoe UI', system-ui, sans-serif;

  --space-1: 0.4rem;
  --space-2: 0.8rem;
  --space-3: 1.2rem;
  --space-4: 1.6rem;
  --space-5: 2.4rem;
  --space-6: 3.2rem;
  --space-7: 4.8rem;
  --space-8: 6.4rem;
  --space-9: 9.6rem;

  --radius-sm: 2px;
  --radius-md: 4px;
  --container: 1440px;
  --measure: 62ch;

  /* Gutters. At 1440 the content column runs 96px in from the edge and the
     header 40px wider on each side (56px), as in the mock. */
  --gutter: 16px;
  --gutter-wide: 16px;
  --util-h: 36px;
  --head-h: 64px;
  --header-h: calc(var(--util-h) + var(--head-h) + 2px); /* app.js replaces this with the measured height */

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-1: 180ms;
  --dur-2: 320ms;
  --dur-3: 620ms;
  --hero-hold: 7600ms; /* one lookbook clip; app.js reads the same value */
}
@media (min-width: 768px) { :root { --gutter: 32px; --gutter-wide: 32px; --util-h: 39px; } }
@media (min-width: 1024px) { :root { --gutter: clamp(48px, 6.667vw, 96px); --gutter-wide: calc(var(--gutter) - clamp(8px, 2.778vw, 40px)); } }
@media (min-width: 1200px) { :root { --head-h: 72px; } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px; /* Alegreya Sans runs a smaller x-height than a grotesque; 17px is the mock's text size */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
/* Every small UI glyph in this file uses viewBox="0 0 24 24". Without an
   explicit size an <svg> falls back to the spec default of 300x150, so give
   the icon family a sane default here; component rules override it.
   :where() keeps it at zero specificity, so a size class on an island icon
   (Tailwind's size-4 on a lucide glyph, which shares this viewBox) wins too. */
:where(svg[viewBox="0 0 24 24"]) { width: 20px; height: 20px; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: var(--accent-tint); color: var(--ink); }
input, textarea { caret-color: var(--accent-deep); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-subtle); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; border: 3px solid var(--bg-subtle); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-faint); }
html { scrollbar-color: var(--line-strong) var(--bg-subtle); }

:focus-visible {
  outline: 2px solid var(--accent-deep); /* --accent is only 2.4:1 on white; focus rings need 3:1 */
  outline-offset: 3px;
  border-radius: 2px;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter-wide); }

/* ---------- Type ---------- */
/* The mock's eyebrow: a gold rule, then tracked medium caps. Only the
   designer's own eyebrows use it (see DESIGN.md). */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--accent); flex: none; }
@media (min-width: 1024px) { .eyebrow::before { width: 48px; } }

/* Display weight 400 throughout, as the designer sets it. */
h1, .h1 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; font-size: clamp(2.5rem, 3.8vw + 1rem, 4.75rem); text-wrap: balance; }
h2, .h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -0.005em; font-size: clamp(2rem, 2.4vw + 1.1rem, 3.25rem); text-wrap: balance; }
/* The mock's section title ("Tři nové modely"): 64px against the 138px hero line at 1440. */
.h2-display { font-size: clamp(2.25rem, 3.6vw + 0.8rem, 4rem); line-height: 1.04; }
h3, .h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem); }
.accent-italic { font-style: italic; color: var(--accent-text); }

.lede { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-soft); max-width: 46ch; }
/* No paragraph ends on one short word alone ("vás." under the phone hero). */
.lede, .hero-after { text-wrap: pretty; }
.micro { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
  white-space: nowrap;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--accent); color: var(--on-accent); }
.btn-solid:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost { display: inline-flex; align-items: center; background: transparent; color: var(--ink); padding-inline: 0; text-transform: uppercase; letter-spacing: 0.17em; font-size: 0.75rem; font-weight: 500; gap: 13px; min-height: auto; border: 0; cursor: pointer; }
.btn-ghost .arrow { transition: transform var(--dur-1) var(--ease-out); }
.btn-ghost:hover .arrow { transform: translateX(4px); }
.btn-icon {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--white);
  transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out);
}
.btn-icon:hover { border-color: var(--ink); }
.btn-icon[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-icon svg { width: 18px; height: 18px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.cta-short { display: none; }

/* ---------- Utility bar + header (the mock's one-row header) ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }

.utility-bar { border-bottom: 1px solid var(--line); font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--ink-soft); }
.utility-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); height: var(--util-h); }
.utility-left, .utility-right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.utility-right { flex: none; }
.utility-left > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utility-link { white-space: nowrap; transition: color var(--dur-1) var(--ease-out); }
.utility-link:hover, .saved-chip:hover { color: var(--ink); }
.utility-mail { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; margin-right: -7px; color: var(--ink); }
.utility-mail svg { width: 19px; height: 19px; }
.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-switch button { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; color: var(--ink-faint); padding: 5px 7px 3px; border-bottom: 1px solid transparent; transition: color var(--dur-1) var(--ease-out); }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-current="true"] { color: var(--ink); border-color: var(--accent); }
.utility-left .lang-switch { margin-left: -7px; }
/* On a touch screen each code gets a 44×44 target: an invisible square
   centred on it, and codes 44px apart so the squares never overlap (a tap
   between two never lands on the wrong language). */
@media (pointer: coarse) {
  .lang-switch { gap: 0; }
  .lang-switch button { position: relative; min-width: 44px; padding-inline: 0; }
  .lang-switch button::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
  .utility-left .lang-switch, .drawer-foot .lang-switch { margin-left: -11px; }
}
.utility-rule { width: 1px; height: 14px; background: var(--line-strong); flex: none; }

/* Utility-strip disclosure by width (see the comment in index.html).
   !important is deliberate: these sit on elements whose component class
   also sets `display`. */
.u-md, .u-lg { display: none !important; }
@media (min-width: 768px) { .u-mobile { display: none !important; } .u-md { display: inline-flex !important; } }
@media (min-width: 1024px) { .u-lg { display: inline-flex !important; } }
@media (max-width: 767px) { .utility-left, .utility-right { gap: 10px; } }

.saved-chip { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.saved-chip svg { width: 14px; height: 14px; }

.header-main { display: flex; align-items: center; gap: 10px; height: var(--head-h); }
.brand { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; margin-right: auto; min-width: 0; }
.brand-word { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.12em; white-space: nowrap; }
.brand-sub { margin-top: 6px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); white-space: nowrap; }

.nav-primary { display: none; }
.nav-primary ul { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 33px); }
.nav-primary a { font-size: 0.71875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); position: relative; display: block; padding-block: 6px; white-space: nowrap; transition: color var(--dur-1) var(--ease-out); }
.nav-primary a::after { content: ''; position: absolute; left: 0; right: 0.16em; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out); }
.nav-primary a:hover, .nav-primary a[aria-current="page"] { color: var(--accent-deep); }
.nav-primary a:hover::after, .nav-primary a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; min-width: 0; }
.header-cta { min-height: 40px; padding: 0 13px; font-size: 0.6875rem; letter-spacing: 0.13em; }
.menu-toggle { display: inline-flex; width: 44px; height: 44px; margin-right: -8px; align-items: center; justify-content: center; flex: none; }
.menu-toggle svg { width: 24px; height: 24px; }
/* The full CTA label fits from 390px; narrower phones get "Rezervovat". */
@media (max-width: 389px) { .header-cta .cta-long { display: none; } .header-cta .cta-short { display: inline; } }
/* "Записатися на примірку" would run into the wordmark on a phone. */
@media (max-width: 639px) { :lang(uk) .header-cta .cta-long, :lang(ru) .header-cta .cta-long { display: none; } :lang(uk) .header-cta .cta-short, :lang(ru) .header-cta .cta-short { display: inline; } }
/* The row with the drawer button when the line under the wordmark (the
   salon's own words) needs more room than it has (app.js, fitHeaderNav sets
   <html data-head-fit>): "short" takes the short booking label, "tight"
   draws the line closer, "wrap" lets it run onto a second row. */
:root:is([data-head-fit="short"], [data-head-fit="tight"], [data-head-fit="wrap"]) .header-cta .cta-long { display: none; }
:root:is([data-head-fit="short"], [data-head-fit="tight"], [data-head-fit="wrap"]) .header-cta .cta-short { display: inline; }
:root:is([data-head-fit="tight"], [data-head-fit="wrap"]) .header-main .brand-sub { letter-spacing: 0.06em; }
/* The wordmark gives way, never the booking button. */
:root[data-head-fit="wrap"] .header-actions { flex: none; }
:root[data-head-fit="wrap"] .header-main .brand-sub { white-space: normal; text-wrap: balance; line-height: 1.3; }

@media (min-width: 1200px) {
  .header-main { gap: 24px; justify-content: space-between; }
  .brand { margin-right: 0; }
  .brand-word { font-size: 1.65rem; letter-spacing: 0.135em; }
  .brand-sub { margin-top: 7px; letter-spacing: 0.3em; } /* 11px at 0.3em spans the mock's 10px/0.36em lockup width */
  .nav-primary { display: block; }
  .header-cta { min-height: 44px; min-width: 198px; padding: 0 26px; font-size: 0.71875rem; letter-spacing: 0.17em; }
  .menu-toggle { display: none; }
}

/* The one-row header when a language's words need more room than it has
   (app.js, fitHeaderNav sets <html data-nav-fit>): "tight" draws the menu
   items closer and takes the short booking label; "compact" keeps the
   drawer button instead of the menu, as below 1200px. */
@media (min-width: 1200px) {
  :root[data-nav-fit="tight"] .nav-primary ul { gap: 18px; }
  :root[data-nav-fit="tight"] .nav-primary a { letter-spacing: 0.1em; }
  :root[data-nav-fit="tight"] .header-cta { min-width: 0; }
  :root[data-nav-fit="tight"] .header-cta .cta-long { display: none; }
  :root[data-nav-fit="tight"] .header-cta .cta-short { display: inline; }
  :root[data-nav-fit="compact"] .nav-primary { display: none; }
  :root[data-nav-fit="compact"] .menu-toggle { display: inline-flex; }
  :root[data-nav-fit="compact"] .brand { margin-right: auto; }
}

/* Mobile drawer */
.drawer-scrim { position: fixed; inset: 0; background: rgba(24, 20, 15, 0.4); z-index: 60; opacity: 0; pointer-events: none; transition: opacity var(--dur-2) var(--ease-out); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: var(--white); z-index: 61; transform: translateX(100%); transition: transform var(--dur-2) var(--ease-out); display: flex; flex-direction: column; padding: var(--space-5) var(--space-5) var(--space-5); overflow-y: auto; }
.drawer[data-open="true"] { transform: translateX(0); visibility: visible; transition: transform var(--dur-2) var(--ease-out); }
/* Closed, the drawer is hidden from Tab and screen readers too, not only
   slid off screen; visibility switches after the slide. */
.drawer:not([data-open="true"]) { visibility: hidden; transition: transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2); }
.drawer-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }
.drawer-close { align-self: flex-end; width: 44px; height: 44px; margin: -10px -10px 0 0; display: inline-flex; align-items: center; justify-content: center; }
.drawer nav ul { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-4); }
.drawer nav a { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2; }
.drawer nav a[aria-current="page"] { color: var(--accent-deep); }
.drawer-foot { margin-top: auto; padding-top: var(--space-5); border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); font-size: 0.95rem; color: var(--ink-soft); }
.drawer-foot > a:hover { color: var(--ink); }
@media (min-width: 1200px) { :root:not([data-nav-fit="compact"]) :is(.drawer, .drawer-scrim) { display: none; } }

.drawer-foot .lang-switch { margin-left: -7px; }

/* Mobile bottom nav: the mock's floating bar */
.bottom-nav { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 50; background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-strong); border-radius: 22px; }
.bottom-nav ul { display: grid; grid-template-columns: repeat(5, 1fr); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; padding: 8px 2px 7px; font-size: 0.8rem; line-height: 1.2; color: var(--ink-soft); position: relative; }
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a[aria-current="page"] { color: var(--accent-deep); }
.bottom-nav .badge { position: absolute; top: 5px; right: calc(50% - 21px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 0.68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .bottom-nav { display: none; } }
body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* ---------- Illustration frames ----------
   The arch lives inside the designer's illustrations (a painted niche), so
   every frame is a plain rectangle. */
[hidden] { display: none !important; }
.plate { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-plate); }
.plate img { width: 100%; height: 100%; object-fit: cover; }
/* Passe-partout (the designer's .kA-frame) for a model's main picture. */
.lookbook-frame { padding: 10px; border: 1px solid var(--line-strong); background: var(--white); }
.btn-icon--square { border-radius: var(--radius-sm); }
/* Save / remove on a picture: square like the designer's .iconbtn. */
.tile-action { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out); }
.tile-action:hover { border-color: var(--ink); }
.tile-action[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tile-action svg { width: 16px; height: 16px; }

/* ---------- Hero ----------
   The mock's variant B on the white ground: one uppercase line set at poster
   scale, the lookbook clip dissolving into white. Desktop (≥1024) splits copy
   and clip; phones and tablets run the clip full-bleed with the copy over it. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); }
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--bg-plate); }
.lookbook { position: absolute; inset: 0; overflow: hidden; }
.lookbook-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; opacity: 0; transition: opacity 0.9s ease; }
.lookbook-v.is-on { opacity: 1; }
/* The mock's light, in white: the gown is the brightest thing in the niche
   and the niche's edges fall a step darker, so the clip has a light source. */
.lookbook::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 36% 44% at 50% 56%, rgb(255 255 255 / 0.34), rgb(255 255 255 / 0) 72%),
    radial-gradient(ellipse 78% 88% at 50% 50%, rgb(92 85 76 / 0) 56%, rgb(92 85 76 / 0.16) 100%);
}
/* Scroll media expansion (after 21st.dev's ScrollExpandMedia, reduced to a
   camera move): as the hero leaves, the clip grows by a tenth around the
   bodice and settles 4% lower inside its own frame; the frame, veils, light
   and copy stay put. app.js eases --hero-p from 0 (at rest: the clip exactly
   as composed) to 1 (the clip under the header). The drift stays below the
   growth above the origin (4% < 45% × 0.1), so no plate shows at the top. */
@media (prefers-reduced-motion: no-preference) {
  .lookbook-v { transform-origin: 50% 45%; translate: 0 calc(var(--hero-p, 0) * 4%); scale: calc(1 + var(--hero-p, 0) * 0.1); }
}
.hero-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.hero-after, .hero-after-tagline { display: none; }
/* The salon's line over its story (2026-10-27): the display face in italic, as a model's name. */
.hero-tagline, .hero-after-tagline { font-family: var(--font-display); font-style: italic; font-weight: 400; line-height: 1.15; color: var(--ink); text-wrap: balance; }
.hero-tagline { font-size: clamp(1.5rem, 1.1rem + 0.7vw, 1.875rem); }

.hero-stage { width: 100%; } /* a flex child with auto inline margins would otherwise shrink to its content */
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-eyebrow-narrow { display: none; }
.hero-title { display: grid; justify-items: start; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; text-wrap: nowrap; color: var(--ink); }
.hero-title > span { display: block; white-space: nowrap; }
.hero-title-gold { color: var(--accent-text); padding-left: var(--hero-indent, 1em); }
/* The poster lines are measured on the Czech ("KOUPIT. / PŮJČIT. / UŠÍT.").
   Ukrainian and Russian run longer ("ОРЕНДУВАТИ.", "АРЕНДОВАТЬ.", with the gold
   line's indent), so they set smaller to end where the Czech does: off the
   dress on desktop, inside the phone's gutter. */
:root:lang(uk) { --hero-fit: 0.74; }
:root:lang(ru) { --hero-fit: 0.74; }
.hero-lede { font-size: 1rem; line-height: 1.62; color: var(--ink-soft); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-btn { min-height: 60px; min-width: 232px; padding-inline: 28px; font-size: 0.71875rem; }

/* Lookbook bar: label, three progress lines, counter | name, tagline, save, pause */
.hero-bar { display: flex; align-items: center; gap: 20px; }
.hero-progress { display: flex; align-items: center; gap: 24px; }
.hero-label { font-size: 0.71875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.hero-dot { display: none; }
.hero-segs { display: flex; gap: 8px; }
.hero-seg { position: relative; width: 70px; height: 24px; padding: 0; }
.hero-seg::before, .hero-seg i { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.hero-seg::before { background: rgba(24, 20, 15, 0.2); transition: background var(--dur-1) var(--ease-out); }
.hero-seg:hover::before { background: rgba(24, 20, 15, 0.42); }
.hero-seg i { background: var(--accent); transform: scaleX(0); transform-origin: left center; }
.hero-seg.is-done i { transform: scaleX(1); }
.hero-seg.is-on i { animation: hero-seg-fill var(--hero-hold) linear forwards; }
.hero.is-paused .hero-seg.is-on i { animation-play-state: paused; }
@keyframes hero-seg-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-count { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; color: var(--accent-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-model { display: flex; align-items: baseline; gap: 22px; margin-left: auto; min-width: 0; }
.hero-who { font-family: var(--font-display); font-style: italic; font-size: 1.6875rem; line-height: 1; color: var(--ink); white-space: nowrap; transition: color var(--dur-1) var(--ease-out); }
.hero-who:hover { color: var(--accent-deep); }
.hero-tag { font-size: 0.84375rem; color: var(--ink-soft); white-space: nowrap; }
.hero-controls { display: flex; gap: 16px; flex: none; }
.hero-ctl { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.78); color: var(--ink); transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out); }
.hero-ctl:hover { border-color: var(--ink); background: var(--white); }
.hero-ctl svg { width: 17px; height: 17px; }
.hero-ctl--save { color: var(--accent-deep); }
.hero-ctl[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* The one authored moment: the headline rises line by line, the rest follows. */
@keyframes hero-rise { from { opacity: 0; transform: translateY(0.22em); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-title > span { animation: hero-rise 1s var(--ease-out) both; }
  .hero-title > span:nth-child(2) { animation-delay: 0.09s; }
  .hero-title > span:nth-child(3) { animation-delay: 0.18s; }
  .hero-eyebrow, .hero-tagline, .hero-lede, .hero-actions, .hero-bar { animation: hero-fade 0.9s var(--ease-out) 0.32s both; }
}

/* Desktop: copy left, clip from 43% (container-relative past 1440) to the right edge. */
@media (min-width: 1024px) {
  .hero { --hero-indent: 1em; display: flex; flex-direction: column; min-height: max(600px, calc(100svh - var(--header-h))); }
  .hero-media { left: max(43%, calc(50% - 101px)); }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgb(var(--veil)) 0, rgb(var(--veil) / 0.9) 7%, rgb(var(--veil) / 0.45) 19%, rgb(var(--veil) / 0) 36%),
      linear-gradient(0deg, rgb(var(--veil)) 0, rgb(var(--veil) / 0.84) 10%, rgb(var(--veil) / 0) 30%);
  }
  /* Vertical rhythm scales with the viewport height so the lookbook bar stays
     in the first screen from 1280×800 up, as in the mock. */
  .hero-stage { flex: 1; width: 100%; display: flex; flex-direction: column; padding-block: clamp(20px, 5svh, 66px) clamp(20px, 4svh, 48px); }
  .hero-copy { flex: 1; }
  .hero-eyebrow { margin-bottom: 8px; }
  /* margin-top in em: Old Standard's capital carons rise ~0.22em over the cap
     height, so the gap grows with the line and the "Š" clears the eyebrow. */
  .hero-title { font-size: calc(clamp(5.25rem, min(9.58vw, 19svh), 8.625rem) * var(--hero-fit, 1)); line-height: 0.865; letter-spacing: -0.02em; margin-top: 0.2em; }
  .hero-tagline { margin-top: clamp(16px, 2.6svh, 26px); }
  .hero-lede { margin-top: clamp(6px, 1svh, 10px); }
  .hero-actions { margin-top: clamp(22px, 3.6svh, 34px); }
  .hero-bar { margin-top: clamp(20px, 3.5svh, 56px); }
}
@media (min-width: 1024px) and (max-width: 1199px) { .hero-tag { display: none; } }

/* Phones and tablets: full-bleed clip under the sticky header. */
@media (max-width: 1023px) {
  .hero { --hero-indent: 0.77em; --bnav-clear: calc(84px + env(safe-area-inset-bottom, 0px)); --first: calc(100svh - var(--header-h)); --h1: clamp(2.75rem, min(14.9vw, 9.5svh + 1rem), 6rem); }
  .hero-eyebrow-wide { display: none; }
  .hero-eyebrow-narrow { display: inline; }
  .hero-eyebrow { font-size: 0.6875rem; letter-spacing: 0.2em; gap: 11px; }
  .hero-eyebrow::before { width: 26px; }
  .hero-title { font-size: calc(var(--h1) * var(--hero-fit, 1)); line-height: 0.9; letter-spacing: -0.01em; margin-block: 0.36em 20px; }
  .hero-lede { margin-bottom: 26px; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; width: 100%; }
  .hero-btn { min-height: 54px; min-width: 0; padding-inline: 16px; font-size: 0.6875rem; letter-spacing: 0.15em; }
  .hero-actions .btn-outline { min-width: 124px; }
  .hero-ctl { width: 44px; height: 44px; }
  .hero-controls { gap: 8px; }
}
@media (max-width: 639px) { .hero-btn .cta-long { display: none; } .hero-btn .cta-short { display: inline; } }
@media (max-width: 374px) { .hero-btn { padding-inline: 12px; letter-spacing: 0.1em; } .hero-actions .btn-outline { min-width: 112px; } }
@media (max-width: 349px) { .hero-actions { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .hero-actions { display: flex; width: auto; } .hero-btn { min-width: 232px; } }

/* The phone first screen, "Video s textem" (variant B, the one the client
   kept): mantra, headline and buttons over a white veil at the foot of the
   clip; lookbook label, name and controls on top. */
@media (max-width: 1023px) {
  .hero { display: flex; flex-direction: column; min-height: max(520px, var(--first)); }
  /* Stops follow the bottom-anchored copy (nav clearance, 54px buttons, three
     0.9em lines): solid white under the buttons and the nav; the skirt shows
     through behind the mantra and "UŠITÉ" and fades out by the gold line, as
     in the mock. The gold line keeps ≥0.72 of veil: measured over all three
     clips, less drops #a8823c under 3:1 on Liliana's satin. */
  .hero-media::after {
    background:
      linear-gradient(0deg,
        rgb(var(--veil)) 0,
        rgb(var(--veil)) calc(var(--bnav-clear) + 60px),
        rgb(var(--veil) / 0.8) calc(var(--bnav-clear) + 74px + 0.9 * var(--h1)),
        rgb(var(--veil) / 0.72) calc(var(--bnav-clear) + 74px + 1.8 * var(--h1)),
        rgb(var(--veil) / 0.38) calc(var(--bnav-clear) + 74px + 2.7 * var(--h1)),
        rgb(var(--veil) / 0.16) calc(var(--bnav-clear) + 134px + 2.7 * var(--h1)),
        rgb(var(--veil) / 0) calc(var(--bnav-clear) + 234px + 2.7 * var(--h1))),
      linear-gradient(180deg, rgb(var(--veil) / 0.8) 0, rgb(var(--veil) / 0) 20%);
  }
  .hero-stage { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 112px; padding-bottom: var(--bnav-clear); }
  .hero-tagline, .hero-lede { display: none; }
  .hero-bar { position: absolute; top: 14px; left: var(--gutter); right: calc(var(--gutter) - 2px); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "progress controls" "model controls"; align-items: start; column-gap: 12px; }
  .hero-progress { grid-area: progress; gap: 0; padding-top: 3px; }
  .hero-label { color: var(--accent-deep); }
  .hero-dot { display: inline; margin-inline: 0.55em; color: var(--accent-deep); }
  .hero-segs { display: none; }
  .hero-model { grid-area: model; margin: 8px 0 0; }
  .hero-who { font-size: 1.625rem; }
  .hero-tag { display: none; }
  .hero-controls { grid-area: controls; }
  .hero-after-tagline { display: block; font-size: 1.5rem; } /* the hero's own bottom-nav clearance is the gap above it */
  .hero-after { display: block; margin-top: 10px; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-soft); }
  .hero-after + .novinky { padding-top: var(--space-5); }
}

/* ---------- Section shells ---------- */
.section { padding-block: var(--space-6); }
@media (min-width: 768px) { .section { padding-block: var(--space-7); } }
.section-subtle { background: var(--bg-subtle); }
.section-head { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-6); }
.section-head .eyebrow { margin-bottom: 4px; }
.section-head-row { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.section-head-row > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
#novinky { scroll-margin-top: var(--header-h); }
#novinky:focus { outline: none; }

/* Novinky: the mock's rail. Three tall 3:4 cards (460px at 1440) run from
   the content edge to the viewport edge, so the third is cut by it; the
   arrows scroll the rail. The section clips the bleed so the page never
   scrolls sideways. */
.novinky { overflow-x: clip; }
.novinky-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78vw; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--container)) / 2)));
  padding-right: var(--gutter);
}
.novinky-track::-webkit-scrollbar { display: none; }
.novinky-track > .model-tile { scroll-snap-align: start; }
.novinky-track .plate { aspect-ratio: 3 / 4; }
/* Name to section-title ratio as in the mock: 40px against 64px at 1440. */
.novinky-track .model-tile-name { font-size: clamp(1.6rem, 2.78vw, 2.5rem); line-height: 1.1; }
@media (min-width: 768px) { .novinky-track { grid-auto-columns: clamp(280px, 31.95vw, 460px); gap: 32px; } }
.novinky-controls { display: flex; gap: var(--space-2); }
.novinky-controls .btn-icon[disabled] { opacity: 0.35; cursor: default; }
.novinky-controls .btn-icon[disabled]:hover { border-color: var(--line-strong); }
@media (min-width: 1024px) { .novinky-controls { gap: 14px; } .novinky-controls .btn-icon { width: 52px; height: 52px; } }

.model-tile { position: relative; display: flex; flex-direction: column; gap: var(--space-3); }
.model-tile-meta { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-2); }
.model-tile-meta > span:first-child { min-width: 0; }
.model-tile-name { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; transition: color var(--dur-1) var(--ease-out); }
.model-tile-meta:hover .model-tile-name { color: var(--accent-deep); }
@media (max-width: 639px) { .catalog-grid .model-tile-name, .saved-grid .model-tile-name { font-size: 1.22rem; } }
.model-tile-meta .tagline { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-top: 3px; }
.new-flag { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-tint); border-radius: 999px; padding: 4px 10px; flex: none; }

/* Collections — Hover Expand (21st.dev; the React island CollectionsExpand,
   index.html #collectionsExpand). The designer's variant-A card is the base:
   picture left, name and link settled at the bottom, a Plate panel that goes
   Gold Tint when it is the one in play. Touch screens and phones stack the
   cards (two columns from 900px).
   With a mouse from 768px the four sit in one row, like bolts on the cutting
   table: three closed to a narrow spine whose name runs bottom to top, one
   open. The open width is whatever the row leaves after three spines and
   their gaps (100cqi). Each panel is a window over a body laid out at that
   open width, so opening draws the picture out of the panel rather than
   squeezing it, and the name never rewraps on the way. */
.cx { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cx { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); } }
.cx-panel { position: relative; display: block; background: var(--bg-plate); transition: background var(--dur-2) var(--ease-out); }
.cx-spine { display: none; }
.cx-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 3rem); padding: clamp(0.9rem, 1.6vw, 1.7rem); }
.cx-img { width: 100%; height: auto; aspect-ratio: 230 / 313; object-fit: cover; }
.cx-text { display: flex; flex-direction: column; min-width: 0; padding-block: 6px 2px; }
.cx-title { margin: auto 0 var(--space-3); font-size: clamp(1.55rem, 1.2vw + 1.05rem, 2.15rem); line-height: 1.16; }
.cx-panel .btn-ghost { color: var(--ink-soft); transition: color var(--dur-1) var(--ease-out); }
@media (hover: hover) {
  .cx-panel:hover { background: var(--accent-tint); }
  .cx-panel:hover .btn-ghost { color: var(--ink); }
  .cx-panel:hover .arrow { transform: translateX(4px); }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .cx {
    --cx-h: clamp(28rem, 40vw, 35rem);
    --cx-closed: clamp(4.5rem, 6.2vw, 5.5rem);
    --cx-gap: 0.5rem;
    --cx-pad: clamp(1.25rem, 1.95vw, 1.75rem);
    --cx-open: calc(100cqi - 3 * (var(--cx-closed) + var(--cx-gap)));
    container-type: inline-size;
    display: flex; gap: var(--cx-gap); height: var(--cx-h);
  }
  .cx-panel { flex: none; width: var(--cx-closed); height: 100%; overflow: hidden; }
  .cx-panel[data-active="true"] { width: var(--cx-open); background: var(--accent-tint); }
  .cx-panel[data-active="true"] .btn-ghost { color: var(--ink); }
  .cx-body {
    position: absolute; top: 0; bottom: 0; left: 0; width: var(--cx-open);
    grid-template: minmax(0, 1fr) / auto minmax(0, 1fr); gap: clamp(1.5rem, 3.3vw, 3rem); padding: var(--cx-pad);
    opacity: 0; transition: opacity var(--dur-1) var(--ease-out);
  }
  .cx-panel[data-active="true"] .cx-body { opacity: 1; transition: opacity var(--dur-2) var(--ease-out) 140ms; }
  /* The full figure at 230:313 from the panel's height, cropped from the
     sides once the open width gets tight (below about 1000px). */
  .cx-img { height: 100%; width: min(calc((var(--cx-h) - 2 * var(--cx-pad)) * 230 / 313), calc((var(--cx-open) - 2 * var(--cx-pad)) * 0.52)); aspect-ratio: auto; }
  .cx-spine {
    display: block; position: absolute; left: calc(var(--cx-closed) / 2); bottom: var(--cx-pad);
    writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); white-space: nowrap;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
    transition: opacity var(--dur-2) var(--ease-out) 220ms;
  }
  .cx-panel[data-active="true"] .cx-spine { opacity: 0; transition: opacity var(--dur-1) var(--ease-out); }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* impeccable-disable-next-line layout-transition -- opening a panel is a width change by design; .cx's container-type contains the layout and the bodies are absolute at a fixed width */
  .cx-panel { transition: width var(--dur-3) var(--ease-out), background var(--dur-2) var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  .cx-panel, .cx-body, .cx-spine, .cx-panel[data-active="true"] .cx-body, .cx-panel[data-active="true"] .cx-spine { transition: none; }
}

/* Editorial "na míru / handmade" — the designer's variant-C atelier block:
   oversized italic pair with the second line indented, two staggered figures. */
.editorial { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) { .editorial { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: var(--space-7); align-items: start; } }
.editorial-h2 { display: grid; font-size: clamp(3rem, 5vw + 1rem, 6.6rem); line-height: 1; letter-spacing: -0.01em; }
.editorial-h2 em { font-style: italic; }
.editorial-h2 em:nth-child(2) { padding-left: 0.72em; }
.editorial-cols { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
@media (min-width: 768px) { .editorial-cols { grid-template-columns: repeat(2, minmax(0, 21rem)); gap: var(--space-5); } }
.editorial-cols .lede { font-size: 1.02rem; line-height: 1.85; }
/* The two services the heading names, then the salon: ghost links in a row that wraps. */
.editorial-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); margin-top: var(--space-5); }
.editorial-links .btn-ghost { min-height: 44px; }
.editorial-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); align-items: start; }
.editorial-fig { display: block; }
.editorial-fig:nth-child(2) { margin-top: var(--space-7); }
.editorial-fig img { width: 100%; height: auto; }
.editorial-cap { display: grid; gap: 7px; margin-top: var(--space-3); }
.editorial-cap-title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; transition: color var(--dur-1) var(--ease-out); }
.editorial-fig:hover .editorial-cap-title { color: var(--accent-deep); }

/* Home's last section, "Proč si vybrat právě nás" (the proposal's
   advantages): the heading, the salon's own line and the booking button on
   the left, the visit in four facts as a hairline ledger on the right (term
   in the display face, its line in Soft Ink); stacked on phones with the
   button last. White after the reviews; Subtle Paper when there are none
   (the built site leaves them out), so the grounds keep alternating. */
.section:not(.section-subtle) + .home-why-section { background: var(--bg-subtle); }
.home-why { display: grid; gap: var(--space-5); grid-template-areas: "head" "list" "cta"; }
.home-why-head { grid-area: head; }
.home-why-head .lede { margin-top: var(--space-3); }
.home-why-list { grid-area: list; margin: 0; border-top: 1px solid var(--line); }
.home-why-item { display: grid; gap: 6px; padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
.home-why-item dt { font-family: var(--font-display); font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem); line-height: 1.2; text-wrap: balance; }
.home-why-item dd { margin: 0; max-width: 46ch; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.home-why-cta { grid-area: cta; margin: 0; }
@media (min-width: 768px) {
  .home-why-item { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--space-5); align-items: baseline; }
}
@media (min-width: 1024px) {
  .home-why { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr); grid-template-rows: auto 1fr; grid-template-areas: "head list" "cta list"; column-gap: var(--space-7); row-gap: var(--space-5); align-items: start; }
}

/* Testimonials — "Co říkají naše nevěsty" (Editorial Testimonial, 21st.dev;
   the React island Testimonials): one quote at a time, italic at heading
   size, whom it is from under it, then a line per quote and the arrows. All
   quotes share one grid cell, so the section is as tall as the longest and
   the controls stay put; each sits at the foot of the cell, so whom it is
   from stays just above the lines and a shorter quote leaves its spare room
   under the heading. The open quote fades in over --dur-2 while the one
   leaving goes in --dur-1. A line is ink at half strength and half length;
   the open one is full ink and full length. Reduced motion: the quote and
   the line simply change. */
.tm-stack { display: grid; }
.tm-slide { grid-area: 1 / 1; align-self: end; margin: 0; }
.tm-slide[data-active="false"] { opacity: 0; visibility: hidden; }
.tm-quote { margin: 0; max-width: 18em; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(2rem, 2.4vw + 1.1rem, 3.25rem); line-height: 1.16; letter-spacing: -0.005em; color: var(--ink); text-wrap: balance; }
.tm-who { display: grid; gap: 6px; margin-top: var(--space-4); }
.tm-name { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.tm-about { font-size: 0.95rem; color: var(--ink-soft); }
.tm-about a { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-1) var(--ease-out); }
.tm-about a:hover { color: var(--ink); }
.tm-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-5); }
/* Many quotes (the salon's from Google, 2026-10-30): the lines draw closer
   down to 24px a target; on a phone ten and more leave only the arrows. */
.tm-picks { display: flex; min-width: 0; margin-inline-start: -6px; } /* the first line starts at the text edge */
.tm-pick { display: flex; flex: 0 1 52px; align-items: center; min-width: 24px; height: 44px; padding: 0 6px; cursor: pointer; }
@media (max-width: 639px) { .tm-picks:has(> :nth-child(10)) { display: none; } }
/* The salon on Google under the controls: a quiet text link, as whom a quote is from. */
.tm-google { margin: var(--space-4) 0 0; font-size: 0.95rem; color: var(--ink-soft); }
.tm-google a { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-1) var(--ease-out); }
.tm-google a:hover { color: var(--ink); }
.tm-line { flex: 1; height: 2px; background: var(--ink); opacity: 0.5; transform: scaleX(0.5); transform-origin: left center; }
.tm-pick[aria-current="true"] .tm-line { opacity: 1; transform: none; }
.tm-arrows { display: flex; gap: var(--space-2); }
@media (hover: hover) and (pointer: fine) {
  .tm-pick:not([aria-current="true"]):hover .tm-line { transform: scaleX(0.7); }
}
@media (prefers-reduced-motion: no-preference) {
  .tm-slide { transition: opacity var(--dur-2) var(--ease-out); }
  .tm-slide[data-active="false"] { transition: opacity var(--dur-1) var(--ease-out), visibility 0s linear var(--dur-1); }
  .tm-line { transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out); }
}

/* ---------- Footer ----------
   Secondary footer text at 0.58–0.62 white: 0.4–0.45 fell under 4.5:1 on the ink ground. */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.82); padding-block: var(--space-7) var(--space-5); }
.footer-top { display: grid; gap: var(--space-6); }
.footer-brand .brand-word { color: var(--white); font-size: 1.65rem; letter-spacing: 0.135em; }
.footer-brand p { margin-top: var(--space-3); color: rgba(255,255,255,0.62); max-width: 40ch; font-size: 0.95rem; }
.footer-cols { display: grid; gap: var(--space-5); grid-template-columns: repeat(2, 1fr); }
.footer-title { font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.58); margin-bottom: var(--space-3); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col ul + ul { margin-top: var(--space-2); }
.footer-col a, .footer-col span { font-size: 0.95rem; color: rgba(255,255,255,0.82); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; align-items: center; margin-top: var(--space-7); padding-top: var(--space-4); border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.84rem; color: rgba(255,255,255,0.58); }
.footer-bottom .lang-switch button { color: rgba(255,255,255,0.58); }
.footer-bottom .lang-switch button:hover { color: var(--white); }
.footer-bottom .lang-switch button[aria-current="true"] { color: var(--white); }
.footer-legal a { color: rgba(255,255,255,0.72); text-decoration: underline; text-underline-offset: 3px; margin-left: 0.5em; }
.footer-legal a:hover { color: var(--white); }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.2fr 2fr; } .footer-cols { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Views ---------- */
.view { display: none; }
.view[data-active="true"] { display: block; }

/* The hairline under a page title is drawn, not bordered, so it can be
   stitched in from the left as the page arrives (Motion, below). */
.page-head { position: relative; padding-block: var(--space-6) var(--space-5); }
.page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform-origin: left center; }
.page-head p.lede { margin-top: var(--space-3); }

/* ---------- Motion ----------
   One language, from the site's own material: things come out of the white
   ground and settle, on the one ease-out curve.
   - A page dissolves in from white, and the hairline under its title is
     stitched in from the left, like the nav underline.
   - A booking step settles into place when it opens.
   - Lists settle item by item as they come into view (islands/islands.js,
     data-blur-fade-list), single pictures and page heads once
     (data-blur-fade).
   - With a mouse, a picture in a catalogue tile leans in on hover; the
     Novinky rail plays its clip instead.
   Reduced motion: none of it, everything is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .view[data-active="true"] { animation: view-in var(--dur-2) var(--ease-out) backwards; }
  .view[data-active="true"] .page-head::after { animation: seam-in var(--dur-3) var(--ease-out) 80ms backwards; }
  .res-panel[data-active="true"] { animation: settle-in var(--dur-2) var(--ease-out) backwards; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .catalog-grid .model-tile-media img, .saved-grid .model-tile-media img { transition: scale var(--dur-3) var(--ease-out); }
  .catalog-grid .model-tile:hover .model-tile-media img, .saved-grid .model-tile:hover .model-tile-media img { scale: 1.035; }
}
@keyframes view-in { from { opacity: 0; } }
@keyframes seam-in { from { transform: scaleX(0); } }
@keyframes settle-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Cut reveal ----------
   Section titles (Vertical Cut Reveal, 21st.dev; the React island CutReveal):
   each word rises from behind a cut, once, when the title comes into view,
   50ms after the word before it, on the one ease-out. The cut is the word's
   own box, grown past the glyphs (carons, descenders, the italic's overhang)
   so nothing is clipped at rest, and pulled back by the same negative
   margin, so the title sets exactly as plain text. Reduced motion: the words
   sit in place. */
.cut-word { display: inline-flex; overflow: hidden; padding: 0.22em 0.16em; margin: -0.22em -0.16em; }
.cut-word-in { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .cut-word-in { transform: translateY(150%); transition: transform var(--dur-3) var(--ease-out) calc(var(--cut-i, 0) * 50ms); }
  .cut-word-in.is-in { transform: none; }
}

/* ---------- Text reveal ----------
   The home ledes (Text Reveal, 21st.dev; the React island LedeReveal): the
   paragraph waits unseen as plain text, then comes in line by line, once,
   when it comes into view. Each line rises 8px out of a 4px haze over
   --dur-3 on the one ease-out, 100ms after the line above (--reveal-line;
   --reveal-delay holds a whole paragraph back). The lines are the ones the
   browser set, each in its own row, so the paragraph never moves; once the
   last line is in, the island puts the plain text back. Reduced motion:
   plain text. */
.reveal-line { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .reveal-wait { opacity: 0; }
  .reveal-line { animation: reveal-in var(--dur-3) var(--ease-out) calc(var(--reveal-delay, 0s) + var(--reveal-line, 0) * 100ms) backwards; }
}
@keyframes reveal-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }

/* ---------- Language wait ----------
   boot.js hides the page while app.js translates it into the chosen language
   (a few milliseconds); if a script fails, the page shows anyway after 2s. */
.i18n-wait body { visibility: hidden; animation: i18n-show 0s linear 2s forwards; }
@keyframes i18n-show { to { visibility: visible; } }

/* ---------- Intro ----------
   The first load in a tab (index.html adds .intro-play): the header's
   wordmark comes out of the white, a gold seam is stitched under it and
   "Svatební salon" follows; then the white lifts off the page and the hero
   starts its own entrance. About 1.7s; reduced motion and repeat loads skip it. */
.intro { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .intro-play .intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg); animation: intro-out 0.6s var(--ease-out) 1.1s forwards; }
  .intro-mark { display: grid; justify-items: center; gap: var(--space-3); animation: intro-lift 0.6s var(--ease-out) 1.1s forwards; }
  .intro-word { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 3vw + 1.25rem, 3.5rem); line-height: 1; letter-spacing: 0.135em; padding-left: 0.135em; color: var(--ink); white-space: nowrap; animation: intro-word 0.8s var(--ease-out) 0.05s backwards; }
  .intro-seam { width: clamp(72px, 8vw, 112px); height: 1px; background: var(--accent); transform-origin: left center; animation: seam-in 0.7s var(--ease-out) 0.3s backwards; }
  .intro-sub { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.3em; padding-left: 0.3em; text-transform: uppercase; color: var(--accent-deep); white-space: nowrap; animation: view-in 0.6s var(--ease-out) 0.45s backwards; }
  /* The hero's own entrance waits for the white to lift. */
  .intro-play .hero-title > span { animation-delay: 1.15s; }
  .intro-play .hero-title > span:nth-child(2) { animation-delay: 1.24s; }
  .intro-play .hero-title > span:nth-child(3) { animation-delay: 1.33s; }
  .intro-play :is(.hero-eyebrow, .hero-tagline, .hero-lede, .hero-actions, .hero-bar) { animation-delay: 1.47s; }
}
@media print { .intro-play .intro { display: none; } }
@keyframes intro-word { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
@keyframes intro-lift { to { transform: translateY(-10px); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--ink-faint); margin-bottom: var(--space-4); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--line-strong); }

/* Catalog — the collections and the models (Filter Grid, 21st.dev; the React
   island CatalogFilterGrid). Each chip is a link to its collection's page,
   with how many models it holds in regular weight. The chosen one is solid
   ink: one ink pill (.chip-thumb) lies under it and slides to the next chip
   over --dur-2 on the one ease-out while the chips' text changes colour on
   the same curve. Until the island has placed the pill, and without scripts,
   the chosen chip draws its own. The hit area reaches 44px past the drawn
   pill. On a change the models re-flow: those that stay slide into place,
   those that leave fade where they stood (.fg-leaving, over the list), the
   new ones rise 8px out of white (islands/islands.js). Reduced motion: the
   pill and the models simply change. */
.filter-row { position: relative; display: flex; flex-wrap: wrap; gap: var(--space-2); padding-block: var(--space-5); border-bottom: 1px solid var(--line); }
.chip-thumb { position: absolute; top: 0; left: 0; width: 0; height: 0; border-radius: 999px; background: var(--ink); pointer-events: none; visibility: hidden; }
.filter-row[data-thumb="true"] .chip-thumb { visibility: visible; }
.chip { position: relative; display: inline-flex; align-items: baseline; gap: 0.6em; padding: 0.55rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); touch-action: manipulation; transition: color var(--dur-2) var(--ease-out), border-color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out); }
.chip::after { content: ''; position: absolute; inset: -3px -1px; }
.chip-count { font-weight: 400; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; color: var(--ink-faint); transition: color var(--dur-2) var(--ease-out); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current="page"] { background-color: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-current="page"] .chip-count { color: rgb(255 255 255 / 0.72); }
.filter-row[data-thumb="true"] .chip[aria-current="page"] { background-color: transparent; }

/* Catalog filters (since 2026-10-23; CatalogFacets in the island). Under the
   collections, one quiet bar: each filter's name in the nav's tracked caps
   with a chevron; the open one goes Gold Deep over a Salon Gold underline
   (the nav's current), how many values are chosen sits in the saved badge's
   Salon Gold disc. Its values open under the bar by height over --dur-2 (the
   FAQ's answers): toggles as "Co hledáte" draws them — strong hairline, 2px,
   the chosen one on Gold Tint with a Salon Gold edge and a Gold Deep tick —
   with a colour's swatch beside its name and how many models it leaves; a
   value that would leave none is faint and dashed. What is chosen follows as
   ink pills to take away, then "Zrušit filtry". */
.facets { border-bottom: 1px solid var(--line); }
.facet-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-5); padding-block: var(--space-1); }
.facet-toggles { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); margin: 0; padding: 0; list-style: none; }
.facet-toggle { position: relative; display: inline-flex; align-items: center; gap: 0.55em; min-height: 44px; padding: 0; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); touch-action: manipulation; transition: color var(--dur-1) var(--ease-out); }
.facet-toggle::after { content: ''; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out); }
.facet-toggle:hover, .facet-toggle[aria-expanded="true"] { color: var(--accent-deep); }
.facet-toggle[aria-expanded="true"]::after { transform: scaleX(1); }
.facet-chevron { flex: none; width: 14px; height: 14px; transition: transform var(--dur-2) var(--ease-out); }
.facet-toggle[aria-expanded="true"] .facet-chevron { transform: rotate(180deg); }
.facet-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 0.68rem; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; }
.facet-total { margin: 0; font-size: 0.86rem; color: var(--ink-soft); font-variant-numeric: lining-nums tabular-nums; }

.facet-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2); }
.facet-panel[data-open="true"] { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--dur-2) var(--ease-out), visibility 0s; }
.facet-panel-inner { min-height: 0; overflow: hidden; }
.facet-values { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: var(--space-3) 0 var(--space-4); border-top: 1px solid var(--line); list-style: none; }
.facet-value { display: inline-flex; align-items: center; gap: 0.6em; min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); font-size: 0.95rem; line-height: 1.25; text-align: left; color: var(--ink); touch-action: manipulation; transition: border-color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out); }
.facet-value:hover:not(:disabled) { border-color: var(--ink); }
.facet-value[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); }
.facet-value:disabled { border-style: dashed; color: var(--ink-faint); cursor: default; }
.facet-value-count { font-size: 0.82rem; color: var(--ink-faint); font-variant-numeric: lining-nums tabular-nums; }
.facet-tick { flex: none; width: 16px; height: 16px; margin-right: -2px; color: var(--accent-deep); }
.facet-swatch { flex: none; box-sizing: border-box; width: 14px; height: 14px; border: 1px solid var(--line-strong); border-radius: 50%; }
.facet-chosen { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); padding-block: var(--space-1) var(--space-3); }
.facet-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.facet-chip { position: relative; display: inline-flex; align-items: center; gap: 0.45em; min-height: 36px; padding: 0 0.65rem 0 0.95rem; border: 1px solid var(--ink); border-radius: 999px; font-size: 0.86rem; color: var(--ink); touch-action: manipulation; transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out); }
.facet-chip::after { content: ''; position: absolute; inset: -4px 0; }
.facet-chip svg { flex: none; width: 14px; height: 14px; }
.facet-chip:hover { background: var(--ink); color: var(--white); }
.facet-clear { min-height: 44px; padding: 0; font-size: 0.86rem; color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: color var(--dur-1) var(--ease-out), text-decoration-color var(--dur-1) var(--ease-out); }
.facet-clear:hover { color: var(--ink); text-decoration-color: currentColor; }
/* A filter as buttons (Doplňky's kinds since 2026-10-28, any collection's
   since 2026-10-30, Katalog → Filtry): its values are the toggles
   themselves, straight under the chips and above the bar if there is one,
   each with its line drawing in Gold Deep (the contact icons'); faint with
   the value when it would leave none. Phones set them two by two, one width. */
.facet-buttons { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-5); padding-block: var(--space-4); }
.facet-buttons + .facet-bar { border-top: 1px solid var(--line); }
.facet-buttons .facet-values { padding: 0; border-top: 0; }
.facet-buttons .facet-value { min-height: 48px; padding-inline: var(--space-3) var(--space-4); }
.facet-icon { flex: none; width: 22px; height: 22px; color: var(--accent-deep); }
.facet-value:disabled .facet-icon { color: var(--ink-faint); }
@media (max-width: 639px) {
  .facet-buttons { display: block; }
  .facet-buttons .facet-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facet-buttons .facet-value { width: 100%; padding-inline: var(--space-2) var(--space-3); }
  .facet-buttons .facet-total { margin-top: var(--space-3); }
}
.catalog-empty p { margin: 0 auto; max-width: 46ch; }
.catalog-empty .facet-clear { margin-top: var(--space-2); }
@media (prefers-reduced-motion: reduce) {
  .facet-panel, .facet-panel[data-open="true"], .facet-toggle::after, .facet-chevron { transition: none; }
}

/* minmax(0, 1fr): a tile's name + "Novinka" row must never set the column's minimum width. */
.catalog-grid { display: grid; gap: var(--space-5) var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: var(--space-6); }
@media (min-width: 640px) { .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); } }
@media (min-width: 1024px) { .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); } }
.catalog-grid:empty { padding-block: 0; }
.catalog-empty { padding-block: var(--space-8); text-align: center; color: var(--ink-soft); }
.fg-stage { position: relative; }
.fg-leaving { position: absolute; inset: 0; pointer-events: none; list-style: none; }
@media (prefers-reduced-motion: no-preference) {
  .catalog-empty { animation: view-in var(--dur-2) var(--ease-out) backwards; }
}
.catalog-grid--flush { padding-block: 0; }
/* "Mohlo by se vám líbit" has four tiles: two by two, then one row of four, never one left alone in a row. */
@media (min-width: 640px) { .catalog-grid--flush { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .catalog-grid--flush { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.section-head-center { align-items: center; text-align: center; }

/* Model page */
.model-breadcrumb { margin-top: var(--space-5); }
.model-missing { padding-block: var(--space-8); display: grid; gap: var(--space-4); justify-items: start; max-width: 40rem; }
/* An oversized 404 in Plate 2 lies behind the heading (after 21st.dev's
   Oversized 404 Numeral). Decorative: screen readers get the heading. */
.model-missing-head { position: relative; isolation: isolate; }
.model-missing-num { position: absolute; z-index: -1; left: -0.05em; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 400; font-size: clamp(9rem, 50vw, 21rem); line-height: 1; letter-spacing: -0.02em; color: var(--bg-plate-2); white-space: nowrap; pointer-events: none; user-select: none; }
.model-layout { display: grid; gap: var(--space-6); padding-block: var(--space-5) var(--space-6); }
.model-gallery { display: flex; flex-direction: column; gap: var(--space-3); width: 100%; max-width: 460px; }
.model-gallery-main { aspect-ratio: 451 / 572; }
.model-gallery-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 84px)); gap: var(--space-2); }
.model-thumb { padding: 0; border: 1px solid var(--line); cursor: pointer; transition: border-color var(--dur-1) var(--ease-out); }
.model-thumb:hover { border-color: var(--line-strong); }
.model-thumb[aria-pressed="true"] { border-color: var(--ink); }
.model-info h1 { margin-bottom: var(--space-1); }
.model-info .tagline { color: var(--ink-soft); font-size: 1.08rem; }
.model-info .lede { margin-top: var(--space-4); max-width: none; }
.model-actions { display: flex; gap: var(--space-3); margin-top: var(--space-5); flex-wrap: wrap; }
.spec-list { margin-top: var(--space-6); border-top: 1px solid var(--line); padding-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.spec-list li { display: flex; gap: var(--space-3); font-size: 0.95rem; padding-block: var(--space-1); }
/* A model without a description or materials (the salon has not sent them yet): no empty paragraph, no lone hairline. */
.model-info .lede:empty, .spec-list:empty { display: none; }
/* The cut and the sizes (when the salon set them): label and value in a row,
   over the materials, under the same hairline. */
.model-facts { margin: var(--space-6) 0 0; border-top: 1px solid var(--line); padding-top: var(--space-4); display: grid; gap: var(--space-2); }
.model-facts:empty { display: none; }
.model-fact { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-3); align-items: baseline; padding-block: var(--space-1); }
.model-fact dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.model-fact dd { margin: 0; font-size: 0.95rem; }
.model-facts:not(:empty) + .spec-list { margin-top: var(--space-2); border-top: 0; padding-top: 0; }
.spec-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-top: 0.6em; flex: none; }
@media (min-width: 1024px) { .model-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; } }

.recommend-block { border-top: 1px solid var(--line); padding-block: var(--space-7); }

/* Saved */
.saved-grid { display: grid; gap: var(--space-5) var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: var(--space-6); }
@media (min-width: 640px) { .saved-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); } }
@media (min-width: 1024px) { .saved-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); } }
.empty-state { padding-block: var(--space-9); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.empty-state svg { width: 40px; height: 40px; color: var(--line-strong); }
.empty-state p { color: var(--ink-soft); max-width: 32ch; }

/* Salon — the salon's picture beside a fact sheet of hairline rows. Side by
   side it fills its column and runs from the heading to the last hairline
   (2026-10-31, the user: the picture looked small beside the text); the text
   sets the height, the picture is cut to it around the dress. */
.salon-intro { display: grid; gap: var(--space-6); align-items: end; }
.salon-figure { margin: 0; max-width: 460px; }
.salon-figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 55%; }
@media (min-width: 900px) {
  .salon-intro { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: var(--space-8); align-items: stretch; }
  .salon-figure { position: relative; max-width: none; min-height: 30rem; }
  .salon-figure img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}
.salon-stats { display: grid; margin: 0; border-top: 1px solid var(--line); }
.salon-stat { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
.salon-stat .lbl { margin: 0; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.salon-stat .num { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 2vw + 1.2rem, 3rem); line-height: 1; }
/* Beside the picture: who the salon is (the salon's own words), then its three facts. */
.salon-about h2 { margin-bottom: var(--space-4); }
.salon-about .lede { max-width: 60ch; }
.salon-about .lede + .lede { margin-top: var(--space-3); }
.salon-about .salon-stats { margin-top: var(--space-6); }
.process-list { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
/* One column per step, however many the list has (the salon's two, the visit's three). */
@media (min-width: 768px) { .process-list { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
.process-item .num { font-family: var(--font-display); font-style: italic; color: var(--accent-deep); font-size: 1.5rem; }
.process-item h3 { margin-top: var(--space-2); }
.process-item p { max-width: 46ch; margin-top: var(--space-2); color: var(--ink-soft); font-size: 0.98rem; }
ol.process-list { margin-bottom: 0; padding: 0; list-style: none; }

/* Časté otázky — FAQ Tabs (21st.dev; the React island Faq, index.html #faq).
   The groups are the catalogue's chips, the chosen one solid ink with one
   pill (.chip-thumb) sliding under it; the questions a hairline list in the
   title face, one answer open at a time. An answer opens by height over
   --dur-2, its plus turning into a minus; another group's questions settle
   in out of white (settle-in, as a booking step does). Without scripts the
   same questions are native <details> under their group's name. Reduced
   motion: everything simply changes. */
.faq { max-width: 52rem; }
.faq-tabs { position: relative; display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.faq-tabs .chip { font-family: inherit; }
.chip[aria-selected="true"] { background-color: var(--ink); border-color: var(--ink); color: var(--white); }
.faq-tabs[data-thumb="true"] .chip-thumb { visibility: visible; }
.faq-tabs[data-thumb="true"] .chip[aria-selected="true"] { background-color: transparent; }
.faq-cat { margin: var(--space-5) 0 var(--space-2); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.faq-group:first-child .faq-cat { margin-top: 0; }
.faq-list, .faq-cat + .faq-item { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q-head { margin: 0; font: inherit; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; min-height: 44px; padding: var(--space-3) 0; text-align: left; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem); line-height: 1.2; color: var(--ink); cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q-text { transition: color var(--dur-1) var(--ease-out); }
.faq-q:hover .faq-q-text { color: var(--accent-deep); }
.faq-icon { position: relative; flex: none; width: 44px; height: 44px; margin-right: -12px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 15px; height: 1.5px; margin: -0.75px 0 0 -7.5px; background: var(--ink); transition: transform var(--dur-2) var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[data-open] .faq-icon::after, details[open] > .faq-q .faq-icon::after { transform: rotate(0deg); }
.faq-a { color: var(--ink-soft); }
.faq-a p, details > .faq-a { max-width: 62ch; margin: 0; padding-bottom: var(--space-4); }
/* The island's answer: its row grows from nothing to its content. */
.faq-list .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-2) var(--ease-out); }
.faq-list .faq-item[data-open] .faq-a { grid-template-rows: 1fr; }
/* Once shut, the answer is gone (find in page and screen readers skip it), after its row has closed. */
.faq-a-inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear var(--dur-2); }
.faq-list .faq-item[data-open] .faq-a-inner { visibility: visible; transition-delay: 0s; }
.faq-more { margin-top: var(--space-5); }
@media (prefers-reduced-motion: no-preference) {
  .faq-list[data-arrive] { animation: settle-in var(--dur-2) var(--ease-out) backwards; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-list .faq-a, .faq-a-inner, .faq-icon::before, .faq-icon::after { transition: none; }
}

/* Model page: the line that says it is made for her, in the italic of the
   model's name, and the two services it names as ghost links (dresses only). */
.model-tailor { margin-top: var(--space-5); }
.model-made { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.45; color: var(--ink); max-width: 34ch; text-wrap: balance; }
.model-services { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); margin-top: var(--space-2); }
.model-services .btn-ghost { min-height: 44px; }

/* Services (Šití šatů na míru, Úpravy šatů, Šaty ke koupi i k zapůjčení;
   since 2026-10-21): the salon's photo beside its own words, what the
   service holds as the home's hairline ledger, the booking button and one
   ghost link; under it, on Subtle Paper, the other two services as hairline
   rows that lead on. Phones crop the picture to 4:5 so the words come sooner. */
.service { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 900px) { .service { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: var(--space-8); } }
.service-figure { margin: 0; max-width: 460px; }
.service-figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
@media (min-width: 900px) { .service-figure img { aspect-ratio: 2 / 3; } }
.service-text { max-width: 52ch; font-size: 1.0625rem; line-height: 1.75; text-wrap: pretty; }
.service-text + .service-text { margin-top: var(--space-3); }
.service-ledger { margin: var(--space-6) 0 0; border-top: 1px solid var(--line); }
.service-ledger-item { display: grid; gap: 6px; padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
.service-ledger-item dt { font-family: var(--font-display); font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem); line-height: 1.2; text-wrap: balance; }
.service-ledger-item dd { margin: 0; max-width: 46ch; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); margin-top: var(--space-6); }
.service-actions .btn-ghost { min-height: 44px; }
.service-more { display: grid; gap: var(--space-5); }
@media (min-width: 1024px) { .service-more { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr); column-gap: var(--space-7); align-items: start; } }
.service-links { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-links li { border-bottom: 1px solid var(--line); }
.service-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px var(--space-4); align-items: center; padding-block: var(--space-4); color: var(--ink); }
.service-link-name { font-family: var(--font-display); font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem); line-height: 1.2; text-wrap: balance; transition: color var(--dur-1) var(--ease-out); }
.service-link-line { grid-column: 1; max-width: 46ch; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.service-links .arrow { grid-column: 2; grid-row: 1 / span 2; transition: transform var(--dur-1) var(--ease-out); }
.service-links a:hover .service-link-name { color: var(--accent-deep); }
.service-links a:hover .arrow { transform: translateX(4px); }

/* Zkouška: how the visit goes, after the form. */
.res-visit { margin-top: var(--space-7); }

/* Contact */
.contact-layout { display: grid; gap: var(--space-6); padding-block: var(--space-6); }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-4); }
.field label { font-size: 0.86rem; letter-spacing: 0.03em; color: var(--ink-soft); }
.field .req { color: var(--accent-deep); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0.85rem 1rem; background: var(--white); font-size: 1rem; min-height: 46px; transition: border-color var(--dur-1) var(--ease-out);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field-error { font-size: 0.86rem; color: var(--danger); display: none; }
.field[data-invalid="true"] input, .field[data-invalid="true"] textarea { border-color: var(--danger); }
.field[data-invalid="true"] .field-error { display: block; }
.field-row { display: grid; gap: var(--space-3); }
@media (min-width: 560px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }
.contact-info-card { padding: var(--space-5); background: var(--bg-subtle); border-radius: var(--radius-md); }
.contact-info-list { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-4); }
.contact-info-item { display: flex; gap: var(--space-3); align-items: flex-start; }
.contact-info-item svg { width: 19px; height: 19px; color: var(--accent-deep); flex: none; margin-top: 2px; }
.contact-info-item .lbl { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.contact-info-item .val { margin-top: 2px; }
.contact-info-item .val-copy { display: flex; align-items: center; gap: 8px; }
/* Social networks (Nastavení): one line of links, wrapping on a phone. */
.contact-social { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); }
.contact-social a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-social a:hover { color: var(--accent-deep); }
/* Kontakt: the map from Google Maps, loaded only when the visitor asks for it
   (app.js). The box holds the map's place from the start, so nothing moves
   when it arrives; until then a quiet Plate panel says what the click does. */
.contact-map { margin-top: var(--space-5); }
.map-box { position: relative; aspect-ratio: 4 / 3; background: var(--bg-plate); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
@media (max-width: 639px) { .map-box { aspect-ratio: 1 / 1; } }
.map-frame, .map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame iframe:focus-visible { outline-offset: -3px; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: var(--space-4); padding: var(--space-5); }
.map-consent svg { width: 24px; height: 24px; color: var(--accent-deep); }
.map-note { margin: 0; max-width: 36ch; font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); }
.map-note a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.map-note a:hover { color: var(--accent-deep); }
.map-box[data-loaded] .map-consent { display: none; }
/* The way there: two quiet links under the map, side by side, one under the other on a phone. */
.map-routes { margin: var(--space-3) 0 0; display: flex; flex-wrap: wrap; column-gap: var(--space-5); }
.map-routes .btn-ghost { min-height: 44px; }
.map-routes [hidden] { display: none; }
/* The spam trap (app.js, Sending forms): off screen and out of the tab order,
   so only a bot fills it in. */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; padding: var(--space-5); background: var(--bg-subtle); border-radius: var(--radius-md); align-items: center; gap: var(--space-3); }
.form-success[data-show="true"] { display: flex; }
.form-success svg { width: 22px; height: 22px; color: var(--accent-deep); flex: none; }

/* Reservation */
.res-shell { display: grid; gap: var(--space-6); padding-block: var(--space-5) var(--space-6); }
@media (min-width: 1024px) { .res-shell { grid-template-columns: 1fr 340px; align-items: start; } }
/* A step change scrolls the steps back into view: below the sticky header. */
#resShell { scroll-margin-top: calc(var(--header-h) + var(--space-4)); }
/* The steps head the form: clear of the title's hairline above, closer to the panel below. */
.res-steps { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-6) 0 0; padding: 0; list-style: none; flex-wrap: wrap; }
.res-step { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--ink-faint); }
.res-step .dot { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.res-step[data-state="done"] { color: var(--ink); }
.res-step[data-state="done"] .dot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.res-step[data-state="current"] { color: var(--ink); }
.res-step[data-state="current"] .dot { border-color: var(--ink); color: var(--ink); }
.res-step-sep { width: 20px; height: 1px; background: var(--line-strong); }

.res-panel { display: none; }
.res-panel[data-active="true"] { display: block; }
.service-grid { display: grid; gap: var(--space-3); }
.service-card { display: block; text-align: left; padding: var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-md); transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out); width: 100%; }
.service-card:hover { border-color: var(--ink); }
.service-card[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); }
.service-title { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; }
.service-card .meta { display: flex; gap: var(--space-3); margin-top: 6px; font-size: 0.86rem; color: var(--ink-soft); }
.service-card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.service-card .meta svg { width: 15px; height: 15px; }
.service-card p.note { margin-top: 8px; font-size: 0.92rem; color: var(--ink-soft); }

/* Models to try on (step 1): the saved ones, chosen like a service — Gold
   Tint and a check when chosen, a hairline when not. */
.res-models { margin: var(--space-6) 0 0; padding: 0; border: 0; min-width: 0; }
.res-models-title { padding: 0; margin-bottom: var(--space-3); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.res-model-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: var(--space-2); }
.res-model { display: flex; align-items: center; gap: var(--space-3); min-height: 64px; padding: 6px var(--space-3) 6px 6px; text-align: left; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out); }
.res-model:hover { border-color: var(--ink); }
.res-model[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); }
.res-model-pic { flex: none; width: 40px; aspect-ratio: 4 / 5; overflow: hidden; }
.res-model-pic img { width: 100%; height: 100%; object-fit: cover; }
.res-model-name { flex: 1; min-width: 0; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; }
.res-model svg { flex: none; width: 18px; height: 18px; color: var(--accent-deep); opacity: 0; transition: opacity var(--dur-1) var(--ease-out); }
.res-model[aria-pressed="true"] svg { opacity: 1; }
/* "Co hledáte" (step 3): the same toggles as the models to try on, without a
   picture; any of them or none. The legend reads as the fields' labels. */
.res-wants { margin: 0 0 var(--space-4); padding: 0; border: 0; min-width: 0; }
.res-wants legend { padding: 0; margin-bottom: 6px; font-size: 0.86rem; letter-spacing: 0.03em; color: var(--ink-soft); }
.res-want-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(156px, 1fr)); gap: var(--space-2); }
.res-want { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 48px; padding: 8px var(--space-3); text-align: left; line-height: 1.3; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out); }
.res-want:hover { border-color: var(--ink); }
.res-want[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); }
.res-want svg { flex: none; width: 18px; height: 18px; color: var(--accent-deep); opacity: 0; transition: opacity var(--dur-1) var(--ease-out); }
.res-want[aria-pressed="true"] svg { opacity: 1; }

.calendar { border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.calendar-month { font-family: var(--font-display); font-size: 1.2rem; text-transform: capitalize; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-grid .dow { font-size: 0.75rem; text-align: center; color: var(--ink-faint); padding-block: 4px; }
.calendar-day { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; border-radius: 50%; border: 1px solid transparent; }
.calendar-day[data-state="available"] { cursor: pointer; }
.calendar-day[data-state="available"]:hover { border-color: var(--ink); }
.calendar-day[data-state="selected"] { background: var(--accent); color: var(--on-accent); }
.calendar-day[data-state="disabled"] { color: var(--line-strong); cursor: default; }
.calendar-day[data-state="empty"] { visibility: hidden; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: var(--space-2); margin-top: var(--space-5); }
.slot { padding: 0.75rem; text-align: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 0.92rem; }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.slot-hint { font-size: 0.92rem; color: var(--ink-faint); margin-top: var(--space-4); }

.res-summary { border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); background: var(--bg-subtle); }
@media (min-width: 1024px) { .res-summary { position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); } }
.res-summary-title { font-size: 1.3rem; margin-bottom: var(--space-4); }
.res-summary-row { display: flex; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-2); border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.res-summary-row .k { color: var(--ink-faint); }
.res-summary-row .v { text-align: right; font-weight: 500; }
.res-summary .btn { margin-top: var(--space-5); }
.res-nav { display: flex; justify-content: space-between; margin-top: var(--space-6); gap: var(--space-3); }

/* Confirmation */
.confirm-shell { max-width: 620px; margin-inline: auto; text-align: center; padding-block: var(--space-8); }
.confirm-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; margin-inline: auto; margin-bottom: var(--space-5); }
.confirm-icon svg { width: 28px; height: 28px; color: var(--accent-deep); }
.confirm-lede { margin-inline: auto; margin-top: var(--space-3); }
.confirm-card { margin-top: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); text-align: left; }
.confirm-actions { display: flex; gap: var(--space-3); justify-content: center; margin-top: var(--space-6); flex-wrap: wrap; }
.confirm-ics { margin-top: var(--space-5); }

/* Uloženo: booking with the saved models, sharing them as a link. */
.saved-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

/* ---------- Legal ----------
   "Ochrana osobních údajů": one reading column of plain text under the page
   head. Its section titles are h2 in the outline but set at title size: a
   page to read, not a poster. The controller's details are a two-column
   list with labels in tracked caps (one column on phones). Under each form a
   line in Soft Ink says what the data is for, with the policy as a link. */
.legal { max-width: 44rem; padding-block: var(--space-6) var(--space-8); }
.legal h2 { font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem); line-height: 1.2; margin-top: var(--space-6); }
.legal h2:first-child { margin-top: 0; }
.legal :is(p, ul, dl) { margin-top: var(--space-3); max-width: 65ch; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li + li { margin-top: var(--space-1); }
.legal li::marker { color: var(--ink-faint); }
.legal a, .form-privacy a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-1) var(--ease-out); }
.legal a:hover, .form-privacy a:hover { color: var(--accent-deep); }
.legal-facts { display: grid; gap: var(--space-2); }
.legal-fact { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-3); align-items: baseline; }
.legal-fact dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.legal-fact dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 479px) { .legal-fact { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.legal .legal-updated { margin-top: var(--space-6); font-size: 0.9rem; color: var(--ink-faint); }
.form-privacy { margin-bottom: var(--space-4); font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
.form-privacy a { color: var(--ink); }
.form-privacy + .res-nav { margin-top: 0; }
.footer-brand .footer-operator { margin-top: var(--space-2); font-size: 0.85rem; }

/* ---------- Copy buttons (contact page) ---------- */
/* A 44px touch target that keeps the row's height: the extra size is pulled
   back with a negative margin. */
.copy-btn { width: 44px; height: 44px; margin: -12px -10px -12px -6px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-faint); flex: none; }
.copy-btn:hover { background: var(--bg-plate); color: var(--ink); }
.copy-btn svg { width: 15px; height: 15px; }

/* ---------- Toast ---------- */
/* The toast is the React island Toast (app.js showToast). Sized to its text up
   to the viewport less the gutters: left: 50% alone capped it at half the
   screen and broke "Odebráno z Uloženo · Vrátit" in two on phones. The light
   hairline keeps the plate's edge when it lands on the ink footer. */
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 12px); width: max-content; max-width: calc(100vw - 2 * var(--gutter)); background: var(--ink); color: var(--white); padding: 0.85rem 1.3rem; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-sm); font-size: 0.92rem; opacity: 0; pointer-events: none; transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); z-index: 80; display: flex; align-items: center; gap: var(--space-2); }
.toast[data-show="true"] { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
@media (min-width: 1024px) { .toast { bottom: 32px; } }

/* ---------- Misc utility ---------- */
/* Skip link: out of sight until it takes focus (first Tab on the page). */
.skip-link { position: absolute; left: 16px; top: -200px; z-index: 300; padding: 0.75rem 1.1rem; background: var(--ink); color: var(--white); border-radius: var(--radius-sm); font-size: 0.9rem; }
.skip-link:focus { top: 12px; }
/* Titles and booking steps take focus when a page or step changes
   (app.js, focusTarget); they are not controls, so they draw no ring. The
   form's thanks takes focus to be read out. */
.focus-target:focus, .form-success:focus { outline: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
