:root {
  --bg: #F3EFE6;
  --surface: #FAF7F0;
  --text: #181614;
  --muted: #7C756B;
  --accent: #A70F19;
  --line: rgba(24, 22, 20, .18);
  --amb: #A70F19;          /* ambient farba aktuálneho kroja */
  --serif: "Instrument Serif", "Times New Roman", serif;
  --body: "Newsreader", Georgia, serif;
  --sans: "Geist", system-ui, sans-serif;
  --ease: cubic-bezier(.65, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 4.5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.55; font-weight: 350;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg use { pointer-events: none; }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; }

/* ─── typografia ─── */
.display, .display-l, .display-m, .display-s { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: .98; margin: 0; }
.display   { font-size: clamp(44px, 5.4vw, 86px); }
.display-l { font-size: clamp(48px, 6.4vw, 104px); }
.display-m { font-size: clamp(38px, 4.2vw, 64px); }
.display-s { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.08; }
.eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 22px; display: flex; align-items: center; gap: 14px;
}
.orn-s { width: 26px; height: 26px; color: var(--accent); flex: none; }
.link-arrow {
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px;
}
.link-arrow svg { width: 44px; height: 16px; color: var(--accent); transition: transform .5s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(8px); }

.cta-round {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
}
.cta-round .dot {
  width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; transition: transform .5s var(--ease-out);
}
.cta-round .dot svg { width: 22px; height: 22px; }
.cta-round:hover .dot { transform: scale(1.08) rotate(-8deg); }
.cta-line { width: 38px; height: 1px; background: var(--text); opacity: .5; transition: width .5s var(--ease-out); }
.cta-round:hover .cta-line { width: 64px; }

.btn-red {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--accent); color: #fff; border-radius: 999px; padding: 18px 34px;
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  transition: background .3s;
}
.btn-red svg { width: 22px; height: 16px; }
.btn-red:hover { background: #8a0c14; }
.btn-red.wide { width: 100%; }

/* ─── header ─── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 118px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad);
  transition: height .5s var(--ease), background .5s, box-shadow .5s;
}
/* Spodná hrana lišty nie je čiara, ale madeirová krajka: oblúčiky s dierkami.
   Maskuje sa celá lišta, aby sa rovnako orezalo aj rozmazané pozadie za ňou.
   Výška je 76 px obsahu plus 14 px na krajku, obsah teda nikam neskočí. */
.site-header.is-scrolled {
  height: 90px; padding-bottom: 14px;
  background: rgba(243, 239, 230, .92); backdrop-filter: blur(14px); box-shadow: none;
  --lace: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14' viewBox='0 0 26 14'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M0 0h26v3a13 11 0 0 1-26 0z M13 3.4a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 1 1 0-4.2z'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(#000 0 0), var(--lace);
          mask-image: linear-gradient(#000 0 0), var(--lace);
  -webkit-mask-size: 100% calc(100% - 14px), 26px 14px;
          mask-size: 100% calc(100% - 14px), 26px 14px;
  -webkit-mask-repeat: no-repeat, repeat-x;
          mask-repeat: no-repeat, repeat-x;
  -webkit-mask-position: top, bottom;
          mask-position: top, bottom;
  -webkit-mask-composite: source-over;
          mask-composite: add;
}
/* Otrhaná papierová hrana. Na navbare sa stráca, lebo lišta aj hero sú
   krémové a hrana nemá voči čomu vyniknúť. Necháva sa vypnutá, zmysel dáva
   až na prechode svetlej sekcie do tmavej. Dlaždicu robí tools/torn_edge.py. */
body.torn .site-header.is-scrolled {
  --lace: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='18' viewBox='0 0 300 18'%3E%3Cpath fill='%23000' d='M0 0 H300 V7 L295.9 3.0 L288.9 5.1 L284.1 5.0 L278.2 11.1 L273.4 5.6 L268.1 6.0 L261.0 4.1 L256.2 2.7 L251.5 4.5 L246.4 2.7 L240.0 4.7 L234.3 10.4 L227.5 6.4 L220.9 7.6 L214.4 9.4 L208.8 4.0 L203.5 7.3 L198.3 4.0 L193.3 11.1 L187.8 5.4 L180.7 10.5 L174.5 4.5 L167.4 5.1 L162.5 5.8 L157.7 5.3 L153.1 7.1 L147.7 11.1 L141.3 5.5 L134.8 9.3 L127.8 7.2 L121.5 6.9 L114.4 8.8 L107.9 4.9 L102.9 7.7 L98.1 8.0 L91.4 8.8 L85.1 6.9 L78.3 5.8 L72.0 5.8 L65.5 3.3 L60.8 6.5 L54.4 5.6 L47.4 4.1 L42.5 8.0 L37.8 8.6 L31.6 9.7 L26.4 7.1 L20.7 2.8 L14.9 5.0 L10.2 6.6 L5.5 5.8 L0 7 Z'/%3E%3C/svg%3E");
  height: 94px; padding-bottom: 18px;
  -webkit-mask-size: 100% calc(100% - 18px), 300px 18px;
          mask-size: 100% calc(100% - 18px), 300px 18px;
}
body.torn .site-header.is-scrolled::after { background: none; }

/* Samotný výrez je na krémovom pozadí neviditeľný, preto po hrane vedie
   vlásková linka a dierky. Maska ju zvonku oreže, zostane presne obrys. */
.site-header.is-scrolled::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14' viewBox='0 0 26 14'%3E%3Cg fill='none' stroke='rgba(24,22,20,.32)' stroke-width='1.1'%3E%3Cpath d='M0 3a13 11 0 0 0 26 0'/%3E%3Ccircle cx='13' cy='5.4' r='1.9'/%3E%3C/g%3E%3C/svg%3E") repeat-x bottom;
  background-size: 26px 14px;
}
.logo { display: grid; justify-items: center; width: max-content; }
.logo-orn { width: 44px; height: 43px; color: var(--text); transition: width .5s var(--ease), height .5s var(--ease), margin .5s; margin-bottom: -2px; }
.logo-word { display: block; height: 38px; width: 133px; margin-top: 4px; transition: height .5s var(--ease), width .5s var(--ease); }
.logo-tag { font-family: var(--body); font-size: 9px; letter-spacing: .32em; text-transform: uppercase; text-align: center; margin-top: 6px; line-height: 1.5; transition: opacity .3s, height .3s; }
.is-scrolled .logo { grid-template-columns: auto auto; align-items: center; gap: 8px; }
.is-scrolled .logo-orn { width: 32px; height: 31px; margin: 0; }
.is-scrolled .logo-word { height: 27px; width: 95px; margin: 0; }
.is-scrolled .logo-tag { display: none; }

.main-nav { display: flex; gap: 0; }
/* Farba je #181614 na krémovej, kontrast 15,7 : 1, takže problém nikdy nebol
   v kontraste. Newsreader vo váhe 350 má len také tenké ťahy, že odkazy
   opticky zmizli. Váha 500 je v načítanom variabilnom reze, nie dopočítaná. */
.main-nav a { font-family: var(--body); font-size: 17px; font-weight: 500; letter-spacing: .012em; padding: 4px 26px; position: relative; }
.main-nav a + a::before { content: ""; position: absolute; left: 0; top: 50%; height: 14px; width: 1px; background: var(--line); transform: translateY(-50%); }
.main-nav a::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: -2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 20px; justify-self: end; }
.tools-sep { width: 1px; height: 20px; background: var(--line); }
.lang { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; }
.menu-btn { width: 62px; height: 62px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; transition: transform .6s var(--ease-out); }
.menu-btn svg { width: 28px; height: 28px; }
.menu-btn:hover { transform: rotate(45deg); }
.is-scrolled .menu-btn { width: 48px; height: 48px; }

.overlay-nav {
  position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 150px var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - var(--pad) - 31px) 59px); transition: clip-path .9s var(--ease); visibility: hidden;
}
.overlay-nav.is-open { clip-path: circle(150% at calc(100% - var(--pad) - 31px) 59px); visibility: visible; }
.overlay-nav nav { display: grid; gap: 4px; }
.overlay-nav a { font-family: var(--serif); font-size: clamp(48px, 9vw, 110px); line-height: 1.02; display: flex; align-items: baseline; gap: 22px; }
.overlay-nav a small { font-family: var(--sans); font-size: 12px; color: var(--accent); letter-spacing: .2em; }
.overlay-nav a:hover { color: var(--accent); font-style: italic; }
.overlay-foot { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ─── HERO ─── */
.hero {
  position: relative; height: 100svh; min-height: 720px; max-height: 1100px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto; padding: 118px var(--pad) 0; isolation: isolate;
}
.hero-ambient {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 55% at 50% 58%, color-mix(in srgb, var(--amb) 9%, transparent), transparent 70%),
    radial-gradient(35% 30% at 50% 88%, rgba(24, 22, 20, .06), transparent 70%);
  transition: background 1.4s var(--ease);
}
@property --amb { syntax: "<color>"; inherits: true; initial-value: #A70F19; }
.hero { transition: --amb 1.4s var(--ease); }

.hero-left { grid-column: 1; grid-row: 1; align-self: center; z-index: 5; max-width: 440px; margin-top: -40px; }
.hero-left .display { margin-bottom: 28px; }
.lede { color: #4a443d; font-size: 17px; margin: 0 0 34px; max-width: 34ch; }

.hero-right { grid-column: 3; grid-row: 1; align-self: center; justify-self: end; z-index: 5; width: min(100%, 330px); margin-top: -40px; }
.counter { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; margin: 0; }
.counter b { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--accent); letter-spacing: 0; }
.rule { display: block; width: 140px; height: 1px; background: var(--line); margin: 18px 0 28px; }
.hr-body { position: relative; min-height: 290px; }
.hr-item { position: absolute; inset: 0 0 auto 0; }
.hr-item h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 3.6vw, 56px); line-height: 1; margin: 0 0 14px; }
.hr-item .sub { font-family: var(--sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.hr-item p.txt { color: #4a443d; margin: 0 0 26px; font-size: 16.5px; }
.hr-item .short { display: block; width: 44px; height: 1px; background: var(--line); margin-bottom: 22px; }
.hr-item > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.hr-item.is-in > * { opacity: 1; transform: none; }
.hr-item.is-in > :nth-child(2) { transition-delay: .06s; }
.hr-item.is-in > :nth-child(3) { transition-delay: .12s; }
.hr-item.is-in > :nth-child(4) { transition-delay: .18s; }
.hr-item.is-in > :nth-child(5) { transition-delay: .24s; }
.hr-item.is-out > * { opacity: 0; transform: translateY(-10px); transition-duration: .35s; transition-delay: 0s; }

/* stage + figúry */
.stage { position: absolute; inset: 0; z-index: 2; touch-action: pan-y; cursor: grab; }
.stage.is-drag { cursor: grabbing; }
.fig {
  position: absolute; left: 50%; bottom: 7vh; height: calc(min(76vh, 830px, calc(38vw / var(--ar, .73))) * var(--sc, 1)); aspect-ratio: var(--ar, .73);
  transform: translateX(calc(-50% + var(--x, 0px))) scale(var(--s, 1));
  transform-origin: 50% 100%;
  transition: transform 1.25s var(--ease), opacity 1.1s var(--ease), filter 1.1s var(--ease);
  will-change: transform; user-select: none;
}
.fig img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; pointer-events: none; -webkit-user-drag: none; }
.fig::after { /* tieň na podlahe */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -10px; height: 34px; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(24,22,20,.22), transparent 70%); filter: blur(6px);
}
.fig.person { bottom: 0; height: min(84vh, 900px); }
.fig.photo { bottom: 9vh; height: min(68vh, 720px); }
.fig.photo img { object-fit: cover; border-radius: 999px 999px 6px 6px; box-shadow: 0 30px 60px rgba(24,22,20,.18); }
.fig.photo::after { display: none; }
.fig-inset { position: absolute; left: -16%; top: -6%; width: 30%; margin: 0; background: #fbf8f1; padding: 8px 8px 6px; box-shadow: 0 14px 34px rgba(24,22,20,.2); transform: rotate(-3deg); opacity: 0; transition: opacity .8s var(--ease-out) .6s, transform 1s var(--ease-out) .6s; }
.fig-inset img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 45%; filter: saturate(.85); }
.fig-inset figcaption { font-family: var(--sans); font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; margin-top: 5px; color: var(--muted); }
.fig[data-pos="0"] .fig-inset { opacity: 1; transform: rotate(-5deg); }
.real-tag { font-family: var(--sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.real-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.fig.person img { mask-image: linear-gradient(to bottom, #000 72%, transparent 99%); -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 99%); }
.fig.person::after { display: none; }
.fig[data-pos="0"]  { --x: 0px; --s: 1; opacity: 1; z-index: 3; }
.fig[data-pos="-1"] { --x: -44vw; --s: .8; opacity: .55; filter: blur(5px) saturate(.8); z-index: 1; }
.fig[data-pos="1"]  { --x: 44vw; --s: .8; opacity: .55; filter: blur(5px) saturate(.8); z-index: 1; }
.fig[data-pos="-2"] { --x: -80vw; --s: .7; opacity: 0; filter: blur(8px); z-index: 0; }
.fig[data-pos="2"]  { --x: 80vw; --s: .7; opacity: 0; filter: blur(8px); z-index: 0; }
.fig[data-pos="far"] { opacity: 0; --s: .6; transition: none; visibility: hidden; }
.fig[data-pos="-1"], .fig[data-pos="1"] { cursor: pointer; }

/* hotspoty */
.hs {
  position: absolute; left: var(--hx); top: var(--hy); width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(24,22,20,.18); opacity: 0; transform: scale(.4);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), background .3s, color .3s;
  pointer-events: none;
}
.hs::before, .hs::after { content: ""; position: absolute; width: 12px; height: 1.5px; background: currentColor; }
.hs::after { transform: rotate(90deg); }
.hs span { position: absolute; left: 38px; white-space: nowrap; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--text); background: rgba(250,247,240,.92); padding: 5px 9px; border-radius: 3px; opacity: 0; transform: translateX(-6px); transition: .35s var(--ease-out); pointer-events: none; }
.hs:hover span, .hs:focus-visible span { opacity: 1; transform: none; }
.hs::selection { background: none; }
.hs .ring { position: absolute; inset: -6px; border-radius: 50%; border: 1px solid #fff; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.hs:hover, .hs.is-active { background: var(--accent); color: #fff; }
.fig[data-pos="0"].ready .hs { opacity: 1; transform: none; pointer-events: auto; }
.fig[data-pos="0"].ready .hs:nth-of-type(2) { transition-delay: .08s; }
.fig[data-pos="0"].ready .hs:nth-of-type(3) { transition-delay: .16s; }
.fig[data-pos="0"].ready .hs:nth-of-type(4) { transition-delay: .24s; }
.fig[data-pos="0"].ready .hs:nth-of-type(5) { transition-delay: .32s; }

/* niť */
.hero-thread { position: absolute; left: 0; top: 52%; width: 100%; height: 30vh; z-index: 1; pointer-events: none; overflow: visible; }
.hero-thread path { fill: none; stroke: var(--accent); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .75; }

/* modrotlač – pattern reveal */
.hero-pattern {
  position: absolute; z-index: -1; left: 50%; top: 52%; width: min(62vh, 640px); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.85) rotate(-8deg); border-radius: 50%;
  background: url(img/detail-modrotlac.webp) center / cover;
  mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
  opacity: 0; transition: opacity 1.4s var(--ease), transform 2.4s var(--ease-out);
}
.hero[data-slide="1"] .hero-pattern { opacity: .28; transform: translate(-50%, -50%) scale(1.05) rotate(0); }

/* regióny – mapa za postavou */
.hero-map { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(78vh, 760px); aspect-ratio: 1; transform: translate(-50%, -48%); opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-map svg { width: 100%; height: 100%; overflow: visible; }
.map-river { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2.2s var(--ease); opacity: .5; }
.map-pts circle { fill: var(--accent); opacity: 0; transition: opacity .6s; }
.map-pts text { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; fill: var(--muted); opacity: 0; transition: opacity .6s; }
.hero[data-slide="4"] .hero-map { opacity: 1; }
.hero[data-slide="4"] .map-river { stroke-dashoffset: 0; }
.hero[data-slide="4"] .map-pts circle, .hero[data-slide="4"] .map-pts text { opacity: 1; transition-delay: calc(.6s + var(--d, 0s)); }

/* šípky */
.hb-mid { display: flex; align-items: center; gap: 18px; }
.hero-arrow { display: flex; align-items: center; gap: 12px; }
.hero-arrow span { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(24,22,20,.5); display: grid; place-items: center; transition: background .35s, color .35s, border-color .35s; background: rgba(243,239,230,.6); }
.hero-arrow span svg { width: 20px; height: 20px; }
.hero-arrow em { display: none; }
.hero-arrow:hover span { background: var(--accent); border-color: var(--accent); color: #fff; }

/* spodná lišta */
.hero-bottom { grid-column: 1 / -1; grid-row: 2; z-index: 6; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 0 30px; }
.hb-count { display: flex; align-items: center; gap: 16px; font-family: var(--sans); font-size: 12px; letter-spacing: .1em; }
.hb-count b { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: 0; }
.hb-bar { position: relative; width: 70px; height: 1px; background: var(--line); }
.hb-bar i { position: absolute; inset: 0; background: var(--text); transform-origin: left; transform: scaleX(.125); transition: transform 1s var(--ease); }
.hb-nums { display: flex; gap: 6px; }
.hb-nums button { font-family: var(--sans); font-size: 11px; letter-spacing: .1em; padding: 10px 12px; color: var(--muted); position: relative; transition: color .3s; }
.hb-nums button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .6s var(--ease-out); }
.hb-nums button[aria-selected="true"] { color: var(--accent); }
.hb-nums button[aria-selected="true"]::after { transform: scaleX(1); }
.hb-nums button:hover { color: var(--text); }
.hb-note { justify-self: end; font-family: var(--sans); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; margin: 0; line-height: 1.7; display: flex; align-items: center; gap: 18px; }
.hb-note::before { content: ""; width: 60px; height: 1px; background: var(--line); }

/* slide-špecifické layouty */
.hero[data-slide="6"] { --warm: 1; }
.hero[data-slide="6"] .hero-ambient { background: radial-gradient(70% 60% at 55% 60%, rgba(167, 105, 40, .14), transparent 70%), radial-gradient(40% 30% at 50% 90%, rgba(24,22,20,.07), transparent 70%); }

.pillars {
  display: flex; justify-content: center; align-items: center; gap: 22px; padding: 26px var(--pad);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
}
.pillars i { font-style: normal; color: var(--muted); }
.pillars svg { width: 30px; height: 30px; color: var(--accent); }

/* ─── MACRO ─── */
.macro { height: 340vh; position: relative; }
.macro-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.macro-frame { position: absolute; inset: 0; }
.macro-kroj {
  position: absolute; left: 50%; top: 50%; height: min(80vh, calc(70vw / var(--ar, .73))); width: auto;
  transform-origin: 50% 50%; transform: translate(-50%, -50%) scale(var(--mz, 1));
  will-change: transform;
}
.macro-kroj.photo { border-radius: 999px 999px 6px 6px; }
.macro-detail {
  position: absolute; left: 50%; top: 50%; width: min(78vh, 88vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  transform: translate(-50%, -50%) scale(var(--vz, .6)) rotate(var(--vr, -6deg));
  opacity: var(--vo, 0); will-change: transform, opacity; box-shadow: 0 40px 90px rgba(24,22,20,.25); background: #1e1a17;
}
.macro-detail.is-cutout { width: min(92vh, 980px, 92vw); aspect-ratio: auto; border-radius: 0; overflow: visible; box-shadow: none; background: none; }
.macro-detail.is-cutout img { height: auto; object-fit: contain; transform: none; }
.macro-detail img, .macro-detail video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.macro-steps { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; z-index: 2; }
.macro-steps li { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 14px; transition: color .4s; }
.macro-steps li::before { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .5s var(--ease-out); }
.macro-steps li.is-on { color: var(--accent); }
.macro-steps li.is-on::before { width: 44px; }
.macro-cap { position: absolute; right: var(--pad); bottom: 12vh; text-align: right; z-index: 2; margin: 0; opacity: var(--co, 0); transform: translateY(calc((1 - var(--co, 0)) * 30px)); }
.macro-cap .eyebrow { justify-content: flex-end; }
.macro-cap .eyebrow { max-width: 30ch; margin-left: auto; line-height: 1.6; }
.macro-cap .display-s { display: block; font-size: clamp(34px, 3.6vw, 56px); line-height: 1; background: rgba(243,239,230,.0); }
.macro-thread { position: absolute; left: 50%; bottom: 0; width: 60px; height: 45vh; transform: translateX(-50%); overflow: visible; z-index: 3; }
.macro-thread path { fill: none; stroke: var(--accent); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: var(--to, 1); }

/* ─── CRAFT ─── */
.craft { padding: 0 var(--pad); }
.craft-hero { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6vw; align-items: center; padding: 60px 0 120px; }
.craft-copy .display-l { font-size: clamp(64px, 8.4vw, 140px); margin-bottom: 18px; }
.craft-copy .sub { font-size: 22px; font-style: italic; margin: 0 0 18px; }
.craft-copy p { color: #4a443d; max-width: 42ch; margin: 0 0 32px; }
.craft-media { position: relative; }
.media-video { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 2px; background: #221d19; }
.media-video img, .media-video video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.02); transition: transform 1.6s var(--ease-out); }
.media-video:hover img { transform: scale(1.07); }
.play { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px; border-radius: 50%; background: rgba(250,247,240,.92); color: var(--accent); display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.play svg { width: 28px; height: 28px; margin-left: 4px; }
.play:hover { transform: scale(1.1); }
.media-tag { position: absolute; left: 20px; bottom: 18px; font-family: var(--sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #fff; }
.orig-card { position: absolute; right: -24px; top: -48px; width: 150px; background: var(--surface); padding: 12px 12px 10px; margin: 0; box-shadow: 0 18px 50px rgba(24,22,20,.14); }
.orig-card img { height: 170px; width: 100%; object-fit: contain; }
.orig-card figcaption { font-family: var(--sans); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; margin-top: 8px; }

.stitch { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 5vw; padding: 60px 0 120px; border-top: 1px solid var(--line); }
.stitch-copy p { color: #4a443d; max-width: 44ch; margin: 22px 0 30px; }
.stitch-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }
.stitch-steps li { padding: 0 26px; border-left: 1px solid var(--line); }
.stitch-steps li:first-child { border-left: 0; }
.stitch-steps .n { font-family: var(--serif); font-size: 26px; color: var(--accent); }
.circ {
  display: block; width: min(100%, 170px); aspect-ratio: 1; border-radius: 50%; margin: 10px 0 18px;
  background: var(--img) var(--pos) / var(--z) no-repeat, #efe9dd; box-shadow: inset 0 0 0 1px var(--line);
  transition: background-size 1.2s var(--ease-out);
}
.stitch-steps li:hover .circ { background-size: calc(var(--z) * 1.15); }
.stitch-steps h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 8px; }
.stitch-steps p { font-size: 15.5px; color: #4a443d; margin: 0; }
.stitch-thread { position: absolute; left: 30%; right: -4%; top: 110px; width: 74%; height: 120px; z-index: 0; overflow: visible; }
.stitch-thread path { fill: none; stroke: var(--accent); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.stitch.in .stitch-thread path { stroke-dashoffset: 0; }

.quote-band { display: grid; grid-template-columns: 1.1fr 1fr; margin: 0 calc(var(--pad) * -1); background: #1e1a17; color: #f3efe6; min-height: 460px; overflow: hidden; }
.qb-img { position: relative; overflow: hidden; }
.qb-img img { position: absolute; left: -8%; top: -10%; width: 120%; height: 130%; object-fit: cover; transform: translateY(var(--py, 0)); }
.quote-band blockquote { margin: 0; padding: 80px var(--pad); align-self: center; }
.quote-band .orn-s { color: #d8313b; }
.quote-band blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 3.4vw, 54px); line-height: 1.08; margin: 18px 0 30px; }
.quote-band footer { font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(243,239,230,.6); line-height: 1.9; border-top: 1px solid rgba(243,239,230,.2); padding-top: 22px; width: max-content; }

/* ─── PROCESS ─── */
.process { padding: 140px var(--pad) 120px; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 4vw; margin-bottom: 64px; }
.sec-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.sec-head p { color: #4a443d; max-width: 40ch; margin: 0; justify-self: end; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: s; }
.process-list figure {
  margin: 0 0 22px; aspect-ratio: 3 / 4; border-radius: 999px 999px 4px 4px; overflow: hidden;
  background: var(--img) var(--pos) / var(--z) no-repeat, #e9e2d4; transition: background-size 1.4s var(--ease-out);
}
.process-list figure.fig-full { background-size: 92%; background-position: 50% 70%; background-color: #ece5d8; }
.process-list li:hover figure:not(.fig-full) { background-size: calc(var(--z) * 1.1); }
.process-list .n { font-family: var(--serif); font-size: 24px; color: var(--accent); }
.process-list h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 4px 0 8px; line-height: 1.05; }
.process-list p { font-size: 15px; color: #4a443d; margin: 0; }

/* ─── COLLECTION ─── */
.collection { padding: 120px var(--pad); background: var(--surface); }
.col-head { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: end; gap: 4vw; margin-bottom: 44px; }
.col-head p { color: #4a443d; margin: 0; max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 10px 22px; border-radius: 999px; background: #ece6da; font-family: var(--sans); font-size: 13px; transition: background .3s, color .3s; }
.chip:hover { background: #e2dacb; }
.chip.is-on { background: var(--accent); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards .card { aspect-ratio: 1 / 1.02; }
.card { position: relative; background: var(--bg); aspect-ratio: 3 / 4.3; overflow: hidden; display: flex; flex-direction: column; padding: 22px; transition: opacity .5s, transform .6s var(--ease-out); }
.card.is-hidden { display: none; }
.card img { position: absolute; right: -8%; bottom: 0; height: 74%; width: auto; max-width: none; transition: transform 1s var(--ease-out); transform-origin: 50% 100%; }
.card.wide img { height: auto; width: auto; max-width: 94%; max-height: 60%; right: -6%; bottom: 4%; }
.card.photo img { right: 0; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.card.photo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(243,239,230,.95) 0%, rgba(243,239,230,.6) 32%, transparent 55%); }
.card.photo img { z-index: -1; }
.card.photo { isolation: isolate; }
.card:hover img { transform: scale(1.05) translateY(-4px); }
.card .reg { font-family: var(--sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); position: relative; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; margin: 10px 0 6px; position: relative; max-width: 7em; }
.card .meta { font-size: 14px; color: var(--muted); position: relative; }
.card .go { margin-top: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(24,22,20,.5); display: grid; place-items: center; position: relative; z-index: 1; background: rgba(243,239,230,.7); transition: background .3s, color .3s; }
.card .go svg { width: 18px; height: 18px; }
.card:hover .go { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ─── REGIONS ─── */
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; padding: 140px var(--pad); align-items: center; }
.reg-copy > p { color: #4a443d; max-width: 44ch; margin: 26px 0 40px; }
.reg-card { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: end; border-top: 1px solid var(--line); padding-top: 26px; min-height: 190px; }
.reg-card img { height: 160px; width: 120px; object-fit: contain; object-position: bottom; }
.reg-card img.is-photo { object-fit: cover; border-radius: 999px 999px 4px 4px; }
.reg-card h3 { font-family: var(--serif); font-weight: 400; font-size: 38px; margin: 0 0 6px; line-height: 1; }
.reg-card p { margin: 0 0 4px; color: #4a443d; font-size: 15.5px; }
.reg-card .cnt { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.reg-card > * { animation: fadeUp .6s var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.reg-map svg { width: 100%; height: auto; overflow: visible; }
.rm-river { fill: none; stroke: var(--accent); stroke-width: 1.2; opacity: .6; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.6s var(--ease); }
.reg-map.in .rm-river { stroke-dashoffset: 0; }
.rm-river-lbl { font-family: var(--serif); font-style: italic; font-size: 20px; fill: var(--muted); }
.rpt { cursor: pointer; }
.rpt .dot { fill: var(--bg); stroke: var(--accent); stroke-width: 1.4; transition: r .35s var(--ease-out), fill .3s; }
.rpt .halo { fill: var(--accent); opacity: 0; transition: opacity .3s; }
.rpt text { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; fill: var(--text); transition: fill .3s; }
.rpt:hover .dot, .rpt.is-on .dot { fill: var(--accent); }
.rpt.is-on .halo { opacity: .12; }
.rpt.is-on text { fill: var(--accent); }
.rpt.ctx { cursor: default; }
.rpt.ctx .dot { stroke: var(--muted); stroke-width: 1; }
.rpt.ctx text { fill: var(--muted); font-size: 10.5px; }
.rpt:focus-visible { outline: none; }
.rpt:focus-visible .dot { stroke-width: 3; }

/* ─── STORIES ─── */
.stories { padding: 120px var(--pad); background: #1e1a17; color: #f3efe6; }
.stories .eyebrow { color: #e0545c; }
.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.st-compare { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #2a2420; user-select: none; }
.st-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.st-now { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, #3a312b, #221d19); }
.st-now img { object-fit: contain; padding: 8%; }
.st-then { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cx, 50%)) 0 0); }
.st-then img { filter: contrast(1.02); }
.st-then::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); mix-blend-mode: multiply; opacity: .5; }
.st-compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.st-handle { position: absolute; top: 0; bottom: 0; left: var(--cx, 50%); width: 1px; background: #f3efe6; z-index: 2; pointer-events: none; }
.st-handle::after { content: "‹  ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #f3efe6; color: var(--accent); display: grid; place-items: center; font-family: var(--sans); font-size: 18px; }
.st-lbl { position: absolute; bottom: 18px; font-family: var(--sans); font-size: 11px; letter-spacing: .24em; color: #f3efe6; z-index: 2; pointer-events: none; }
.st-lbl.l { left: 20px; } .st-lbl.r { right: 20px; }
.st-copy > p { color: rgba(243,239,230,.72); max-width: 44ch; margin: 26px 0 50px; }
.st-copy .display-s { margin-bottom: 24px; }
.timeline { list-style: none; margin: 0 0 44px; padding: 0 0 0 22px; border-left: 1px solid #a70f19; display: grid; gap: 18px; }
.timeline li { position: relative; color: rgba(243,239,230,.78); font-size: 16px; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: #1e1a17; border: 1px solid #e0545c; }
.timeline b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: #f3efe6; line-height: 1; margin-bottom: 2px; }
.st-cats { list-style: none; margin: 90px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(243,239,230,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.st-cats li { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); color: rgba(243,239,230,.45); transition: color .3s; cursor: pointer; }
.st-cats li:hover { color: #f3efe6; font-style: italic; }

/* ─── ATELIER ─── */
.atelier { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; padding: 140px var(--pad) 120px; align-items: center; background: linear-gradient(180deg, #efe6d6, var(--bg)); overflow: hidden; }
.at-img { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, #e8d9c0, #d9c7a8); }
.at-img img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; width: auto; max-width: none; mask-image: linear-gradient(to bottom, #000 80%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); }
.at-copy > p { color: #4a443d; max-width: 44ch; margin: 26px 0 30px; }
.at-nav { list-style: none; padding: 0; margin: 0 0 44px; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); }
.at-nav li { flex: 1 1 auto; }
.at-nav a { display: block; padding: 16px 0; font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.at-nav a:hover { color: var(--accent); }
.at-detail { position: absolute; right: -120px; bottom: -120px; width: 380px; opacity: .9; transform: rotate(var(--rot, -18deg)); pointer-events: none; }

/* ─── EVENTS ─── */
.events { padding: 120px var(--pad); }
.ev-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ev-list li { display: grid; grid-template-columns: 200px 1fr auto; gap: 30px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease-out); }
.ev-list li:hover { padding-left: 16px; }
.ev-list time { font-family: var(--serif); font-size: 34px; color: var(--accent); }
.ev-list h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 34px); margin: 0 0 4px; line-height: 1.1; }
.ev-list p { margin: 0; color: var(--muted); font-size: 15px; }

/* ─── FOOTER ─── */
.site-footer { background: var(--accent); color: #f7ece6; padding: 110px var(--pad) 30px; overflow: hidden; }
.site-footer .eyebrow { color: #f7ece6; opacity: .75; }
.ft-top { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 5vw; align-items: end; }
.ft-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ft-cols h3 { font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; opacity: .7; margin: 0 0 10px; }
.ft-cols p { margin: 0; font-size: 17px; }
.ft-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .btn-red { background: #f7ece6; color: var(--accent); }
.site-footer .btn-red:hover { background: #fff; }
.ft-word { display: block; width: 100%; height: auto; margin: 80px 0 30px; color: rgba(247,236,230,.14); }
.ft-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; border-top: 1px solid rgba(247,236,230,.25); padding-top: 22px; }

/* ─── DRAWER ─── */
.drawer {
  position: fixed; z-index: 60; top: 16px; right: 16px; bottom: 16px; width: min(480px, calc(100vw - 32px));
  background: var(--surface); border-radius: 6px; box-shadow: 0 30px 80px rgba(24,22,20,.22);
  padding: 34px 34px 30px; overflow-y: auto; display: flex; flex-direction: column;
  transform: translateX(calc(100% + 30px)); transition: transform .9s var(--ease);
}
.drawer.is-open { transform: none; }
.dr-close { position: absolute; right: 22px; top: 22px; }
.dr-meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--sans); font-size: 11px; letter-spacing: .12em; padding-right: 40px; margin-bottom: 18px; }
.dr-meta b { font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--accent); }
.dr-kind { color: var(--accent); letter-spacing: .26em; text-transform: uppercase; font-size: 10px; }
.drawer h2 { font-size: clamp(44px, 4.4vw, 64px); }
.dr-sub { font-family: var(--sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 12px 0 18px; }
.dr-text { margin: 0 0 22px; color: #3e3832; font-size: 16.5px; }
.dr-zoom { aspect-ratio: 4 / 3; border-radius: 6px; background-color: #e9e2d4; background-repeat: no-repeat; background-size: var(--z, 500%); background-position: var(--pos, 50% 50%); transition: background-position 1s var(--ease), background-size 1s var(--ease); flex: none; }
.dr-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0 22px; }
.dr-thumbs button { aspect-ratio: 1; border-radius: 4px; background-repeat: no-repeat; background-color: #e9e2d4; outline: 1px solid transparent; outline-offset: 2px; transition: outline-color .3s; }
.dr-thumbs button.is-on { outline-color: var(--accent); }
.dr-icons { list-style: none; margin: auto 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.dr-icons li { display: grid; justify-items: center; gap: 10px; font-family: var(--sans); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; }
.dr-icons li + li { border-left: 1px solid var(--line); }
.dr-icons svg { width: 26px; height: 26px; color: var(--accent); }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(24,22,20,.18); opacity: 0; pointer-events: none; transition: opacity .6s; }
.scrim.is-on { opacity: 1; pointer-events: auto; }

/* scroll niť – progress */
.progress-thread { position: fixed; right: 18px; top: 22vh; bottom: 22vh; width: 1px; background: var(--line); z-index: 40; }
.progress-thread i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(var(--p, 0)); }
.progress-thread i::after { content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: scaleY(calc(1 / max(var(--p, 1), .01))); }

/* ─── prenájom priestoru: pás medzi ateliérom a udalosťami ─── */
.rent {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(26px, 4vw, 70px);
  padding: clamp(50px, 7vw, 110px) var(--pad);
}
.rent-img { margin: 0; overflow: hidden; border-radius: 3px; background: #e9e2d4; aspect-ratio: 3 / 2; }
.rent-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.6s var(--ease-out); }
.rent:hover .rent-img img { transform: scale(1.03); }
.rent-copy { max-width: 46ch; }
.rent-copy .display-m { margin: 10px 0 16px; }
.rent-copy p { font-size: 16.5px; line-height: 1.7; color: #3b352e; margin: 0 0 22px; }
@media (max-width: 860px) { .rent { grid-template-columns: 1fr; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ─── responsive ─── */
/* Horná lišta má päť položiek plus tlačidlo Podporte nás a v plnej
   veľkosti potrebuje okno široké 1210 px. Pod tým sa zužuje, inak by
   narážala do loga. Mobilné menu pod ornamentom má aj tak všetko. */
@media (max-width: 1240px) {
  .main-nav a { padding: 4px 14px; font-size: 16px; }
  .main-nav a::after { left: 14px; right: 14px; }
}
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .process-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .main-nav, .lang, .tools-sep { display: none; }
  .site-header { grid-template-columns: 1fr auto; height: 84px; }
  .logo { grid-template-columns: auto auto; align-items: center; gap: 8px; }
  .logo-orn { width: 32px; height: 31px; margin: 0; }
  .logo-word { height: 27px; width: 95px; margin: 0; }
  .logo-tag { display: none; }
  .menu-btn { width: 50px; height: 50px; }
  .overlay-nav { clip-path: circle(0 at calc(100% - var(--pad) - 25px) 42px); }
  .overlay-nav.is-open { clip-path: circle(150% at calc(100% - var(--pad) - 25px) 42px); }

  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; padding-top: 92px; height: auto; min-height: 100svh; max-height: none; row-gap: 0; }
  .hero-left { grid-row: 1; max-width: none; margin: 0; }
  .hero-left .display { font-size: clamp(34px, 9vw, 48px); margin-bottom: 8px; }
  .hero-left .display br:nth-of-type(2) { display: none; }
  .lede { display: none; }
  .hero-left .cta-round { display: none; }
  .stage { position: relative; grid-row: 2; inset: auto; height: 34svh; min-height: 220px; margin: 0; }
  .fig, .fig.person, .fig.photo { height: 100%; max-width: 62vw; bottom: 0; }
  .fig.photo img { border-radius: 999px 999px 6px 6px; }
  .fig[data-pos="-1"] { --x: -62vw; } .fig[data-pos="1"] { --x: 62vw; }
  .hero-right { grid-row: 3; grid-column: 1; justify-self: stretch; width: 100%; margin: 4px 0 0; }
  .rule { display: none; }
  .counter { display: none; }
  /* text kroja má skutočnú výšku (nie absolútne), aby tlačidlo nepretekalo pod šípky */
  .hr-body { min-height: 0; display: grid; }
  .hr-item { position: relative; inset: auto; grid-area: 1 / 1; }
  .hr-item:not(.is-in) { pointer-events: none; }
  .hero-bottom { margin-top: 18px; }
  .hr-item .txt { font-size: 14.5px; margin-bottom: 14px; }
  .hr-item h2 { font-size: 30px; margin-bottom: 6px; }
  .hr-item .sub { margin-bottom: 8px; font-size: 9.5px; }
  .hr-item .short { display: none; }
  .hero-arrow span { width: 44px; height: 44px; }
  .hero-bottom { grid-row: 4; grid-template-columns: 1fr auto; padding-bottom: 16px; }
  .hb-nums { display: none; }
  .hero-bottom { grid-template-columns: auto 1fr; }
  .hb-mid { grid-column: 1; grid-row: 1; }
  .hb-count { display: none; }
  .hb-note { font-size: 8.5px; } .hb-note::before { width: 24px; }
  .hero-thread { top: 38%; }
  .pillars { gap: 10px; font-size: 9px; letter-spacing: .18em; flex-wrap: wrap; }
  .pillars svg { width: 22px; height: 22px; }

  .macro { height: 260vh; }
  .macro-kroj { height: 64vh; }
  .macro-steps { top: auto; bottom: 90px; transform: none; gap: 8px; }
  .macro-cap { bottom: auto; top: 100px; left: var(--pad); text-align: left; }
  .macro-cap .eyebrow { justify-content: flex-start; }

  .craft-hero, .stitch, .regions, .st-grid, .atelier, .ft-top { grid-template-columns: 1fr; }
  .craft-hero { padding: 40px 0 80px; gap: 50px; }
  .orig-card { width: 110px; right: 8px; top: -36px; }
  .orig-card img { height: 120px; }
  .stitch { padding: 60px 0 80px; }
  .stitch-steps { grid-template-columns: 1fr; gap: 34px; }
  .stitch-steps li { border-left: 0; padding: 0; display: grid; grid-template-columns: 110px 1fr; column-gap: 20px; }
  .stitch-steps li .circ { grid-row: 1 / span 3; width: 110px; margin: 0; }
  .stitch-steps .n { font-size: 20px; }
  .stitch-thread { display: none; }
  .quote-band { grid-template-columns: 1fr; }
  .qb-img { height: 300px; }
  .process { padding: 90px var(--pad); }
  .sec-head { grid-template-columns: 1fr; margin-bottom: 40px; }
  .sec-head p { justify-self: start; }
  .process-list { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .collection { padding: 90px var(--pad); }
  .col-head { grid-template-columns: 1fr; gap: 20px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1) 26px; padding: 0 var(--pad); scrollbar-width: none; }
  .chip { flex: none; }
  .cards { grid-template-columns: repeat(8, 72%); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; }
  .card { scroll-snap-align: start; }
  .regions { padding: 90px var(--pad); }
  .rpt text { font-size: 19px; }
  .rpt.ctx text { font-size: 15px; }
  .rm-river-lbl { font-size: 26px; }
  .reg-map { order: -1; }
  .stories { padding: 90px var(--pad); }
  .atelier { padding: 90px var(--pad); }
  .at-detail { width: 220px; right: -70px; bottom: -70px; }
  .events { padding: 90px var(--pad); }
  .ev-list li { grid-template-columns: 1fr; gap: 8px; }
  .ev-list time { font-size: 26px; }
  .ft-cols { grid-template-columns: 1fr; gap: 22px; }
  .progress-thread { display: none; }
}
@media (max-width: 560px) {
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list h3 { font-size: 21px; }
  .reg-card { grid-template-columns: 90px 1fr; }
  .reg-card img { width: 90px; height: 130px; }
  .reg-card h3 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* menší kus v hero (prucel) + väčšia predloha */
.fig.small { bottom: 14vh; }
.fig.small .fig-inset { width: 36%; left: -27%; top: 4%; z-index: 2; }
@media (max-width: 960px) { .fig.small { bottom: 0; } .fig.small .fig-inset { width: 34%; left: -8%; } }

/* karty: obrázok za textom, jemne nižšie */
.card { isolation: isolate; }
.card img { z-index: -1; bottom: -4%; }
.card.wide img { bottom: -2%; }
.card .reg, .card h3, .card .meta { z-index: 1; }

/* makro galéria (viac detailov za sebou) */
.macro.is-gallery { height: 480vh; }
.macro-detail img[data-label] { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease), transform 1.4s var(--ease-out); transform: scale(1.22); }
.macro-detail img[data-label].is-on { opacity: 1; transform: scale(1.12); }

/* zákazka: kriezlo */
.order { padding: 20px 0 120px; }
.order-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5vw; align-items: end; margin-bottom: 50px; }
.order-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.order-head em { color: var(--accent); }
.order-head p { color: #4a443d; margin: 0; max-width: 42ch; justify-self: end; }
.order-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.order-steps figure { margin: 0 0 18px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: #e9e2d4; }
.order-steps img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.order-steps li:hover img { transform: scale(1.06); }
.order-steps li:first-child figure { filter: saturate(.8) contrast(.95); }
.order-steps .n { font-family: var(--serif); font-size: 22px; color: var(--accent); }
.order-steps h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 2px 0 6px; }
.order-steps p { font-size: 15px; color: #4a443d; margin: 0; }
.at-img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .order-head { grid-template-columns: 1fr; }
  .order-head p { justify-self: start; }
  .order-steps { grid-template-columns: 1fr 1fr; }
}

/* denník ateliéru */
.diary { padding: 130px var(--pad) 60px; }
.post { display: grid; grid-template-columns: 1.35fr 1fr; gap: 5vw; align-items: center; padding: 30px 0 110px; }
.post-rev { grid-template-columns: 1fr 1.35fr; }
.post-rev .post-grid { order: 2; }
.post-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 12px; aspect-ratio: 1.15; }
.post-grid figure { margin: 0; overflow: hidden; border-radius: 3px; background: #e9e2d4; }
.post-grid .p-big { grid-row: 1 / -1; }
.post-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.post-grid figure:hover img { transform: scale(1.06); }
.post-num { font-family: var(--serif); font-size: clamp(64px, 7vw, 110px); line-height: .9; color: var(--accent); display: block; margin-bottom: 18px; }
.post-copy .display-s { margin-bottom: 22px; }
.post-copy blockquote { margin: 0 0 22px; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: #3e3832; border-left: 1px solid var(--accent); padding-left: 22px; }
.post-copy p { color: #4a443d; max-width: 42ch; margin: 0 0 22px; }
.post-meta { font-family: var(--sans); font-size: 10.5px !important; letter-spacing: .24em; text-transform: uppercase; color: var(--muted) !important; }
.post-portrait { margin: 10px 0 0; display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: end; }
.post-portrait img { width: 110px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 25%; border-radius: 999px 999px 4px 4px; }
.post-portrait figcaption { font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); line-height: 1.7; }
@media (max-width: 1180px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .diary { padding: 90px var(--pad) 30px; }
  .post, .post-rev { grid-template-columns: 1fr; padding-bottom: 70px; }
  .post-rev .post-grid { order: 0; }
  .post-grid { aspect-ratio: .95; }
}

/* logo navrchu — odsadenie od horného okraja */
@media (min-width: 961px) {
  .site-header:not(.is-scrolled) .logo { margin-top: 26px; }
  .hero { padding-top: 140px; }
}
.logo { transition: margin .5s var(--ease); }

/* služby */
.services { padding: 120px var(--pad) 110px; border-top: 1px solid var(--line); }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.svc-list li { padding: 34px 34px 38px 0; border-bottom: 1px solid var(--line); }
.svc-list li:not(:nth-child(3n + 1)) { padding-left: 34px; border-left: 1px solid var(--line); }
.svc-list .n { font-family: var(--serif); font-size: 24px; color: var(--accent); }
.svc-list h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; margin: 6px 0 10px; }
.svc-list p { margin: 0; color: #4a443d; font-size: 16px; max-width: 34ch; }
.svc-quote { margin: 70px auto 0; max-width: 900px; text-align: center; }
.svc-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 44px); line-height: 1.12; margin: 0 0 16px; }
.svc-quote footer { font-family: var(--sans); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.at-quote { margin: 0 0 30px; padding-left: 20px; border-left: 1px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; color: #3e3832; max-width: 40ch; }
.ev-tag { font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(167,15,25,.35); border-radius: 999px; padding: 7px 14px; justify-self: end; }
.ev-list time { font-size: 28px; }
.ev-cta { margin-top: 44px; }
/* mapa: legenda + naživo */
.reg-legend { list-style: none; padding: 0; margin: -18px 0 34px; display: flex; gap: 26px; font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.reg-legend li { display: flex; align-items: center; gap: 10px; }
.reg-legend i { width: 11px; height: 11px; border-radius: 50%; border: 1.4px solid var(--accent); background: var(--accent); }
.reg-legend .lg-live { background: transparent; border-style: dashed; }
.rpt.live .dot { stroke-dasharray: 2.5 2; fill: var(--bg); }
.rpt.live text { font-style: italic; }
.map-pts circle.live { fill: none; stroke: var(--accent); }
.reg-live { width: 120px; height: 160px; display: grid; place-items: center; background: #ece6da; border-radius: 999px 999px 4px 4px; }
.reg-live svg { width: 54px; height: 54px; color: var(--accent); }
@media (max-width: 960px) {
  .svc-list { grid-template-columns: 1fr; }
  .svc-list li, .svc-list li:not(:nth-child(3n + 1)) { padding: 26px 0; border-left: 0; }
  .ev-tag { justify-self: start; }
  .reg-live { width: 90px; height: 130px; }
}
.sec-head .eyebrow { justify-self: start; }
.rpt:not(.live):not(.ctx) .dot { fill: var(--accent); }
.rpt:not(.live):not(.ctx).is-on .dot, .rpt:not(.live):not(.ctx):hover .dot { fill: var(--text); stroke: var(--text); }

/* ─── HODY V KROJI ─── */
.hody { padding: 130px var(--pad) 90px; background: var(--surface); }
.hd-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.hd-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; background: #e9e2d4; }
.hd-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hd-a { grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.hd-b { aspect-ratio: 4 / 3; } .hd-b img { object-position: 50% 35%; }
.hd-c { aspect-ratio: 4 / 3; } .hd-c img { object-position: 50% 8%; }
.hd-d { grid-column: 2 / 4; aspect-ratio: 2.4; } .hd-d img { object-position: 50% 55%; }
.hd-grid figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--sans); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: #fbf8f1; text-shadow: 0 1px 10px rgba(24,22,20,.65); }
.hd-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
/* príbeh 2 */
.st-two { margin-top: 110px; padding-top: 80px; border-top: 1px solid rgba(243,239,230,.15); }
.st-two .display-m { color: #f3efe6; margin-bottom: 22px; }
.st-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.st-pair figure { margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 4; background: #2a2420; }
.st-pair figure:last-child { margin-top: 48px; }
.st-pair img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 960px) {
  .hody { padding: 90px var(--pad) 60px; }
  .hd-grid { grid-template-columns: 1fr 1fr; }
  .hd-a { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 4 / 3; }
  .hd-d { grid-column: 1 / 3; }
  .st-two { margin-top: 70px; padding-top: 50px; }
  .st-pair figure:last-child { margin-top: 24px; }
}
.hd-grid img, .st-pair img { transform: scale(1.03); transition: transform 1.6s var(--ease-out); }
.hd-grid figure:hover img, .st-pair figure:hover img { transform: scale(1.09); }

/* makro „ožitie fotky“: video začína presne v oblúku hero fotky a rozšíri sa na celú obrazovku */
.macro.is-live .macro-kroj { transform: translate(-50%, -50%) scale(1); }
.macro.is-live .macro-detail {
  --h0: min(80vh, calc(70vw / var(--ar, .75)));
  height: calc(var(--h0) * (1 + var(--grow, 0))); width: calc(var(--h0) * var(--ar, .75) * (1 + var(--grow, 0)));
  aspect-ratio: auto; border-radius: 999px 999px 6px 6px;
  transform: translate(-50%, -50%); box-shadow: 0 30px 60px rgba(24,22,20,.18); background: #1e1a17;
}
.macro.is-live .macro-detail video { transform: scale(var(--vz, 1)); transform-origin: 52% 48%; }
.macro.is-live { height: 220vh; }
.macro.is-live .macro-thread { display: none; }

/* fakty pri videu namiesto krokov */
.macro-facts { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; width: min(34vw, 360px); z-index: 2; display: none; }
.macro.is-live .macro-facts { display: block; }
.macro.is-live .macro-steps { display: none; }
.macro-facts li { position: absolute; left: 0; top: 0; transform: translateY(-50%); font-family: var(--serif); font-size: clamp(22px, 2.1vw, 32px); line-height: 1.2; color: var(--text); opacity: 0; transition: opacity .6s var(--ease), transform .9s var(--ease-out); }
.macro-facts li.is-on { opacity: 1; }
.macro-facts li:not(.is-on) { transform: translateY(calc(-50% + 14px)); }
.macro-facts li::before { content: ""; display: block; width: 44px; height: 1px; background: var(--accent); margin-bottom: 16px; }
.macro-facts small { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
@media (max-width: 960px) { .macro-facts { display: none !important; } }

/* ─── makro: príbeh kroja ─── */
.macro-facts.is-story { display: block; width: min(30vw, 380px); }
.macro-facts.is-story li::before { margin-bottom: 18px; }
.macro-facts .mf-k { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.macro-facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.3vw, 38px); line-height: 1.08; color: var(--text); }
.macro-facts .mf-d { display: block; margin-top: 14px; font-family: var(--serif); font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 34ch; }
.macro-facts .mf-img { margin: 0 0 22px; width: 170px; padding: 9px 9px 0; background: #fbf8f1; box-shadow: 0 14px 34px rgba(24,22,20,.18); transform: rotate(-4deg); }
.macro-facts .mf-img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.2) sepia(.15); }
.macro-facts .mf-img figcaption { font-family: var(--sans); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 9px 0 10px; }
@media (max-width: 960px) {
  .macro-facts.is-story { display: block !important; left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: 64px; transform: none; }
  .macro-facts.is-story li { top: auto; bottom: 0; transform: none; padding: 16px 18px; background: rgba(243,239,230,.92); box-shadow: 0 10px 30px rgba(24,22,20,.12); border-radius: 4px; }
  .macro-facts.is-story li:not(.is-on) { transform: translateY(14px); }
  .macro-facts.is-story li::before, .macro-facts .mf-img { display: none; }
  .macro-facts b { font-size: 22px; }
  .macro-facts .mf-d { font-size: 14px; margin-top: 8px; }
}
@media (min-width: 961px) {
  .macro-facts.is-story { left: calc(var(--pad) - 26px); }
  .macro-facts.is-story li { padding: 24px 26px 26px; border-radius: 4px; background: rgba(243,239,230,.93); box-shadow: 0 14px 40px rgba(24,22,20,calc(.14 * var(--lc, 0))); }
}
/* kroje: na úzkych obrazovkách jedna karta na riadok, pod sebou */
@media (max-width: 890px) {
  .cards { grid-template-columns: 1fr; overflow: visible; margin: 0; padding: 0; gap: 14px; }
  .cards .card { aspect-ratio: auto; height: clamp(230px, 50vw, 340px); }
  .card img { height: 86%; right: -2%; }
}
/* regióny: na veľmi širokých obrazovkách mapa nemá byť prilepená k okraju */
@media (min-width: 1500px) {
  .regions { padding-right: calc(var(--pad) + (100vw - 1500px) * .3); }
  .reg-map { width: 100%; }
}

/* makro video: strih medzi zábermi kapitol */
.macro-detail video { transition: opacity .35s var(--ease); }
.macro-detail video.is-cut { opacity: 0; }

/* makro „prilietanie": kusy letia z pozadia podľa vlastného plánu (polohu počíta main.js) */
.macro.is-fly { height: 360vh; }
.macro-detail.is-fly { height: min(92vh, 980px, 92vw); }
.macro-detail.is-fly .fly-img { position: absolute; inset: auto; left: 50%; top: 50%; width: auto; height: auto; max-height: 96%; object-fit: contain; opacity: 0; will-change: transform, opacity, filter; }

/* ?tune: editor prilietania */
body.is-tune .macro-detail.is-fly .fly-img { pointer-events: auto; cursor: grab; }
body.is-tune .macro-detail.is-fly .fly-img.is-sel { outline: 2px dashed #b3121c; outline-offset: 8px; }
body.is-tune .macro-cap, body.is-tune .macro-thread { display: none; }
#tune { position: fixed; right: 12px; top: 90px; z-index: 999; width: 440px; max-height: calc(100vh - 110px); overflow: auto; background: rgba(24,22,20,.94); color: #eee; font: 12px/1.4 system-ui, sans-serif; padding: 12px 14px; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
#tune p { margin: 0 0 8px; } #tune .t-h b { color: #ffd166; font-size: 14px; } #tune .t-n { margin: 6px 0 0; color: #aaa; }
#tune .t-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
#tune .t-item { display: flex; justify-content: space-between; width: 100%; background: #2a2624; color: #ddd; border: 1px solid #444; border-radius: 4px; padding: 5px 7px; margin-bottom: 4px; font: inherit; text-align: left; cursor: pointer; }
#tune .t-item.is-on { border-color: #b3121c; color: #fff; background: #3a1a1c; } #tune .t-item span { color: #ffd166; font-size: 11px; }
#tune .t-name { display: block; margin-bottom: 6px; color: #ffd166; }
#tune .t-sliders label { display: grid; grid-template-columns: 1fr 150px 36px; gap: 6px; align-items: center; margin-bottom: 3px; }
#tune .t-sliders label span i { color: #999; font-style: normal; font-size: 10.5px; } #tune output { text-align: right; color: #fff; }
#tune input[type=range] { width: 100%; accent-color: #b3121c; }
#tune .t-stayl { display: flex !important; gap: 6px; margin-top: 6px; color: #ccc; }
#tune textarea { width: 100%; height: 84px; margin-top: 8px; background: #141210; color: #cfc; border: 1px solid #444; border-radius: 4px; font: 11px/1.4 monospace; padding: 6px; }

#tune .t-kfs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
#tune .t-kf { background: #2a2624; color: #ddd; border: 1px solid #444; border-radius: 4px; padding: 3px 7px; font: inherit; cursor: pointer; }
#tune .t-kf.is-on { border-color: #ffd166; color: #ffd166; } #tune .t-kf i { color: #999; font-style: normal; }
#tune hr { border: 0; border-top: 1px solid #444; margin: 8px 0; }
#tune { width: 470px; }

/* makro: ľudový ornament ako bordúra po oboch stranách, len pri prilietaní */
.macro-orn { position: absolute; top: 50%; width: min(5vw, 76px); transform: translateY(-50%); opacity: 0; pointer-events: none; z-index: 0; transition: opacity 1.2s var(--ease); }
.macro-orn.l { left: 1.2%; } .macro-orn.r { right: 1.2%; }
.macro.is-fly .macro-orn { display: none; }

/* prilietanie: text kapitoly ako veľký nadpis bez kartičky (ako v mockupe) */
@media (min-width: 961px) {
  .macro.is-fly .macro-facts.is-story { left: var(--pad); width: min(26vw, 360px); top: 40%; }
  .macro.is-fly .macro-thread { display: none; }
  .macro.is-fly .macro-facts.is-story li { padding: 0; background: none; box-shadow: none; }
  .macro.is-fly .macro-facts b { font-size: clamp(40px, 4.4vw, 68px); line-height: .98; }
  .macro.is-fly .macro-facts .mf-d { font-size: 17px; margin-top: 18px; max-width: 30ch; }
  .macro.is-fly .macro-facts .mf-img { display: none; }
}

/* prilietanie na mobile: jeden kus naraz, text kapitoly dole ako kartička, bez ornamentu */
@media (max-width: 960px) {
  .macro.is-fly { height: 520vh; }
  .macro-detail.is-fly { height: min(70vh, 92vw); width: 92vw; top: 44%; }
  .macro-detail.is-fly .fly-img { max-height: 92%; }
  .macro.is-fly .macro-orn, .macro.is-fly .macro-thread, .macro.is-fly .macro-cap { display: none; }
}

/* mapa regiónov v hero: na mobile len za krojom, nie za textami */
@media (max-width: 960px) {
  .hero-map { display: none; }
}

/* makro video Krojárky na mobile: video pod textom, menšie */
@media (max-width: 960px) {
  .macro.is-live .macro-detail { --h0: min(52vh, calc(84vw / var(--ar, .75))); top: auto; bottom: 4vh; transform: translate(-50%, 0); }
}

/* proces na mobile: kolotoč, jeden krok na obrazovke, ďalší vytŕča sprava, swipe s prichytením */
@media (max-width: 760px) {
  .process-list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .process-list::-webkit-scrollbar { display: none; }
  .process-list li { flex: 0 0 78%; scroll-snap-align: start; scroll-margin-left: var(--pad); }
  .process-list figure { aspect-ratio: 4 / 5; }
  .process-list h3 { font-size: 24px; }
}

/* makro na mobile: detail začína pod nadpisom (pevne od vrchu, lebo iOS Safari má inú výšku okna než PC)
   a jeho veľkosť sa odvíja od zvyšnej výšky; text kapitoly ostáva dole ako kartička */
@media (max-width: 960px) {
  .macro-detail { top: 250px; bottom: auto; width: min(48vh, 86vw); transform: translate(-50%, 0) scale(var(--vz, .6)) rotate(var(--vr, -6deg)); transform-origin: 50% 0; }
  .macro-detail.is-cutout { width: min(46vh, 86vw); }
  .macro-detail.is-fly { height: min(46vh, 86vw); top: 250px; bottom: auto; transform: translate(-50%, 0); }
  .macro.is-live .macro-detail { --h0: min(48vh, calc(84vw / var(--ar, .75))); top: 250px; bottom: auto; transform: translate(-50%, 0); }
  .macro-facts.is-story { bottom: 24px; }
}

/* niť v makre na mobile: pri pravom okraji, aby nepretínala text kapitoly */
@media (max-width: 960px) {
  .macro-thread { left: auto; right: 22px; transform: none; }
}

/* hero na mobile: bez vzoru modrotlače za krojom a bez rozmazaných susedných krojov (na úzkej obrazovke len rušia) */
@media (max-width: 960px) {
  .hero-pattern { display: none; }
  .fig[data-pos="-1"], .fig[data-pos="1"] { opacity: 0; }
}

/* makro výrez (sviatočný kroj): na všetkých desktopoch menší a vyššie, aby neprekrýval text vpravo dole */
@media (min-width: 961px) {
  .macro-detail.is-cutout:not(.is-fly) { width: min(58vh, 620px, 56vw); top: 44%; }
}

/* showcase: náhradné rukopisné logo (zapína sa triedou logo-alt na <html>): celý kruh, po scrollnutí zmenšený */
.logo-alt-img, .ft-alt { display: none; }
html.logo-alt .logo-orn, html.logo-alt .logo-word, html.logo-alt .logo-tag { display: none !important; }
html.logo-alt .logo-alt-img { display: block; height: 124px; width: auto; transition: height .5s var(--ease); }
html.logo-alt .is-scrolled .logo-alt-img { height: 62px; }
html.logo-alt .ft-alt { display: block; width: 150px; margin-bottom: 16px; }
@media (max-width: 960px) { html.logo-alt .logo-alt-img { height: 72px; } html.logo-alt .is-scrolled .logo-alt-img { height: 56px; } }

/* verzia 2 (html.logo-sig): na úvode vertikálne podpisové logo, po scrollnutí horizontálne v lište;
   v pätičke symbol nad Kontaktom a rukopisný logotyp dole */
.logo-sig-img, .logo-sig-v, .ft-sig, .ft-sig-word { display: none; }
html.logo-sig .logo-orn, html.logo-sig .logo-word, html.logo-sig .logo-tag, html.logo-sig .logo-alt-img, html.logo-sig .ft-alt, html.logo-sig .ft-word { display: none !important; }
html.logo-sig .logo-sig-v { display: block; color: inherit; }
html.logo-sig .logo-sig-v svg { height: 128px; width: auto; display: block; }
html.logo-sig .is-scrolled .logo-sig-v { display: none; }
html.logo-sig .is-scrolled .logo-sig-img { display: block; color: inherit; }
html.logo-sig .logo-sig-img svg { height: 46px; width: auto; display: block; }
html.logo-sig .site-header:not(.is-scrolled) .logo { margin-top: 10px; }
html.logo-sig .ft-sig { display: block; width: 64px; margin: 0 0 26px; color: #fbf8f1; }
html.logo-sig .site-footer { padding-top: 56px; }
html.logo-sig .ft-sig svg { width: 100%; height: auto; display: block; }
html.logo-sig .ft-sig-word { display: block; width: 46%; margin: 8px 0 0; color: rgba(247,236,230,.14); }
html.logo-sig .ft-sig-word svg { width: 100%; height: auto; display: block; }
@media (max-width: 960px) { html.logo-sig .logo-sig-v svg { height: 84px; } html.logo-sig .logo-sig-img svg { height: 40px; } html.logo-sig .ft-sig { width: 52px; } }

/* verzia 2 na podstránke O Krojárke: kompaktná hlavička → vždy horizontálne logo; na tmavých scénach celé biele */
html.logo-sig body.page-about .logo-sig-v { display: none; }
html.logo-sig body.page-about .logo-sig-img { display: block; color: inherit; }
html.logo-sig body.page-about .logo-sig-img svg { height: 44px; }
html.logo-sig body.page-about[data-scene="1"] .site-header, html.logo-sig body.page-about[data-scene="3"] .site-header, html.logo-sig body.page-about[data-scene="5"] .site-header { --logo-orn: var(--cream); }

/* verzia 2: vyššie vertikálne logo → hlavičky podstránok, ktoré začínajú hneď pod logom, odsadiť nižšie */
html.logo-sig .kt-top { padding-top: 220px; }
@media (max-width: 960px) { html.logo-sig .kt-top { padding-top: 150px; } html.logo-sig .hero { padding-top: 126px; } }

/* niť v úvode: len na veľkých obrazovkách; pás umiestňuje main.js pod texty */
@media (max-width: 1199px) { .hero-thread { display: none; } }

/* ─── farebná varianta „modrá" (html.farba-modra, ?farba=modra) ───
   Modrá nie ako farba písma, ale ako plocha: sekcia Služby je ako modrotlačová látka (hlboká indigová, krémový text).
   Všade inde ostáva čierny text a červená ako hlavná farba. */
html.farba-modra .services {
  --indigo: #1b2a55; --cream: #f3efe6;
  background: var(--indigo) radial-gradient(rgba(243,239,230,.07) 1.4px, transparent 1.6px) 0 0 / 22px 22px;
  color: var(--cream); border-top: 0;
}
html.farba-modra .services .eyebrow, html.farba-modra .services .orn-s { color: #c9d3f2; }
html.farba-modra .services h2, html.farba-modra .services h3, html.farba-modra .services .display-m { color: var(--cream); }
html.farba-modra .services .sec-head p, html.farba-modra .services .svc-list p { color: rgba(243,239,230,.72); }
html.farba-modra .services .svc-list, html.farba-modra .services .svc-list li { border-color: rgba(243,239,230,.18); }
html.farba-modra .services .svc-list .n { color: #e9a3a8; }
html.farba-modra .services .svc-quote p { color: var(--cream); }
html.farba-modra .services .svc-quote footer { color: rgba(243,239,230,.6); }
