/* ════════════════════════════════════════════════════════════
   Jakub Gančar — obrazy ze tmy
   Nativní scroll, IntersectionObserver, CSS scroll-driven animace.
   ════════════════════════════════════════════════════════════ */

@property --r { syntax: '<length>'; inherits: true; initial-value: 0px; }

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

:root {
  /* tma z pláten */
  --ink: #0e0d0b;
  --ink-2: #151411;
  --ink-3: #1d1b17;
  --bone: #ece6da;
  --bone-2: #e2dbcc;
  --bone-3: #f3efe7;
  --ash: #9a9388;
  --ash-2: #6d675e;
  --text-dark: #1a1814;
  --muted-dark: #625c52;
  /* tyrkys z Exodu z ticha */
  --tq: #5fb3a6;
  --tq-deep: #3f8a80;
  --line-d: rgba(236, 230, 218, .14);
  --line-l: rgba(26, 24, 20, .16);

  --f-display: 'Instrument Serif', 'Times New Roman', serif;
  --f-body: 'Hanken Grotesk', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --h1: clamp(3.4rem, 9.4vw, 9.5rem);
  --h2: clamp(2.6rem, 6vw, 5.6rem);
  --body: clamp(.98rem, .95vw, 1.08rem);

  --pad: clamp(6rem, 12vw, 11rem);
  --gut: clamp(1rem, 4vw, 3.5rem);
  --wrap: min(1320px, 100% - var(--gut) * 2);

  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.76, 0, .24, 1);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--bone);
  font: 300 var(--body)/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* grain */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }
q { quotes: '„' '“'; font-style: normal; }
::selection { background: var(--tq); color: var(--ink); }

.wrap { width: var(--wrap); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }

.kicker {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ash); display: flex; align-items: center; gap: .9rem; margin-bottom: 1.6rem;
}
.kicker .num { color: var(--tq); }
.kicker .num::after { content: ''; display: inline-block; width: 2.4rem; height: 1px; background: currentColor; vertical-align: middle; margin-left: .9rem; opacity: .6; }

.h2 {
  font: 400 var(--h2)/1 var(--f-display); letter-spacing: -.025em; text-wrap: balance;
}
.h2 em { color: var(--tq); }
[data-nav="light"] .h2 em { color: var(--tq-deep); }
.lead { font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.6; max-width: 36ch; color: var(--ash); text-wrap: pretty; }

/* placeholder — jasně označené */
.ph { font-style: normal; color: inherit; opacity: .55; border-bottom: 1px dashed currentColor; }
.ph-note { display: block; margin-top: .8rem; font-size: .85rem; opacity: .7; border-left: 1px dashed currentColor; padding-left: .8rem; }

/* scroll progress (CSS scroll-driven) */
.progress { position: fixed; inset: 0 0 auto; height: 2px; background: var(--tq); transform-origin: 0 50%; transform: scaleX(0); z-index: 1001; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ─────────── buttons & links ─────────── */
.btn {
  --bg: var(--bone); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: .9rem;
  padding: 1.05rem 1.6rem 1.05rem 1.8rem; border-radius: 100px;
  background: var(--bg); color: var(--fg);
  font: 500 .95rem/1 var(--f-body); letter-spacing: .01em;
  transition: transform .5s var(--e-out), background .4s, color .4s;
  will-change: transform;
}
.btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--e-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { background: var(--tq); color: var(--ink); }
.btn--dark { --bg: var(--text-dark); --fg: var(--bone); }
.btn--dark:hover { background: var(--tq-deep); color: var(--bone-3); }

.link { position: relative; font-weight: 400; padding-block: .3rem; }
.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--e-out); }
.link:hover::after { transform: scaleX(0); }

/* ─────────── reveal ─────────── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--e-out), transform 1.1s var(--e-out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.clip { clip-path: inset(12% 6% 12% 6%); transition: clip-path 1.5s var(--e-out); }
.clip img { transform: scale(1.12); transition: transform 1.8s var(--e-out); }
.clip.in { clip-path: inset(0 0 0 0); }
.clip.in img { transform: scale(1); }
.no-js .rv, .no-js .clip { opacity: 1; transform: none; clip-path: none; }

/* ════════════════ NAV ════════════════ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gut);
  transition: background .5s, padding .5s var(--e-out), color .5s;
}
.nav.is-scrolled { background: rgba(14, 13, 11, .9); padding-block: .7rem; }
.nav.is-light { color: var(--text-dark); background: rgba(236, 230, 218, .92); }
.nav__logo { position: relative; display: block; width: clamp(104px, 9vw, 132px); }
.nav__logo img { width: 100%; transition: opacity .4s; }
.nav__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav.is-light .logo-light { opacity: 0; }
.nav.is-light .logo-dark { opacity: 1; }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); font-size: .9rem; font-weight: 400; }
.nav__links a:not(.nav__cta) { position: relative; opacity: .8; transition: opacity .3s; }
.nav__links a:not(.nav__cta):hover { opacity: 1; }
.nav__links a:not(.nav__cta)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--e-out); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta { padding: .6rem 1.15rem; border: 1px solid currentColor; border-radius: 100px; transition: background .3s, color .3s, border-color .3s; }
.nav__cta:hover { background: var(--tq); border-color: var(--tq); color: var(--ink); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--e-out); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 999; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 3rem;
  padding: 6rem var(--gut) 3rem;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 400 clamp(2.2rem, 9vw, 3.4rem)/1.2 var(--f-display); display: flex; align-items: baseline; gap: 1rem; padding-block: .2rem; border-bottom: 1px solid var(--line-d); }
.menu nav a i { font: 400 .7rem var(--f-mono); color: var(--tq); font-style: normal; }
.menu__mail { font-family: var(--f-mono); font-size: .8rem; color: var(--ash); }
.menu.is-open nav a { animation: menuIn .8s var(--e-out) both; }
.menu.is-open nav a:nth-child(2) { animation-delay: .04s } .menu.is-open nav a:nth-child(3) { animation-delay: .08s }
.menu.is-open nav a:nth-child(4) { animation-delay: .12s } .menu.is-open nav a:nth-child(5) { animation-delay: .16s }
.menu.is-open nav a:nth-child(6) { animation-delay: .2s } .menu.is-open nav a:nth-child(7) { animation-delay: .24s }
@keyframes menuIn { from { opacity: 0; transform: translateY(24px); } }

/* ════════════════ HERO ════════════════ */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden;
  display: flex; align-items: flex-end; isolation: isolate;
  --mx: 62%; --my: 42%;
}
.hero__art, .hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__art { z-index: -2; }
.hero__dim { filter: brightness(.16) saturate(.5) contrast(1.1); transform: scale(1.03); }
.hero__lit {
  filter: saturate(.95) contrast(1.05);
  transform: scale(1.03);
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0, rgba(0,0,0,.92) calc(var(--r) * .35), rgba(0,0,0,.35) calc(var(--r) * .7), transparent var(--r));
          mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0, rgba(0,0,0,.92) calc(var(--r) * .35), rgba(0,0,0,.35) calc(var(--r) * .7), transparent var(--r));
  transition: --r 2.4s var(--e-out);
}
.hero.is-lit { --r: clamp(220px, 26vmax, 440px); }
@media (hover: none), (pointer: coarse) {
  .hero.is-lit { --r: 62vmax; }
  .hero__lit { animation: wander 16s ease-in-out infinite alternate; }
}
.hero.is-off .hero__lit { animation-play-state: paused; }
@keyframes wander {
  0%   { --mx: 30%; --my: 40%; }
  50%  { --mx: 70%; --my: 30%; }
  100% { --mx: 55%; --my: 60%; }
}
@property --mx { syntax: '<percentage> | <length>'; inherits: true; initial-value: 62%; }
@property --my { syntax: '<percentage> | <length>'; inherits: true; initial-value: 42%; }

.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,13,11,.55) 0%, transparent 22%),
    linear-gradient(8deg, rgba(14,13,11,.96) 8%, rgba(14,13,11,.55) 38%, transparent 62%);
}
.hero__inner { width: var(--wrap); margin-inline: auto; padding: 8rem 0 clamp(3rem, 7vh, 5.5rem); pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__kicker { gap: 0; flex-wrap: wrap; row-gap: .3rem; margin-bottom: 1.8rem; color: var(--bone); opacity: .75; }
  .hero__kicker span { white-space: nowrap; }
.hero__kicker span + span::before { content: '—'; margin-inline: .8rem; color: var(--tq); }
.hero__title {
  font: 400 var(--h1)/.92 var(--f-display); letter-spacing: -.035em;
  margin-left: -.04em;
}
.hero__title .l { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title em { color: var(--tq); padding-right: .08em; }
.hero__title .w { display: inline-block; transform: translateY(105%); animation: wordUp 1.3s var(--e-out) forwards; animation-delay: calc(.25s + var(--i) * .07s); }
@keyframes wordUp { to { transform: none; } }
.hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem 4rem; margin-top: clamp(2rem, 4vh, 3rem); }
.hero__quote { font: italic 400 clamp(1.25rem, 1.9vw, 1.7rem)/1.3 var(--f-display); max-width: 30ch; color: var(--bone); opacity: 0; animation: fadeUp 1.4s var(--e-out) 1s forwards; }
.hero__actions { display: flex; align-items: center; gap: 2rem; opacity: 0; animation: fadeUp 1.4s var(--e-out) 1.15s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero__hint { position: absolute; right: var(--gut); top: 50%; writing-mode: vertical-rl; font: 400 .66rem var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ash); opacity: 0; animation: fadeUp 1.4s var(--e-out) 1.8s forwards; }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-desk { display: none; } .hint-touch { display: inline; } }
.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; width: 1px; height: 3.2rem; background: var(--line-d); overflow: hidden; }
.scroll-cue span { position: absolute; inset: 0; background: var(--bone); animation: cue 2.4s var(--e-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ════════════════ MARQUEE ════════════════ */
.marquee { border-block: 1px solid var(--line-d); padding: 1.3rem 0; overflow: hidden; background: var(--ink); }
.marquee__track { display: flex; align-items: center; gap: 2.4rem; width: max-content; animation: marq 48s linear infinite; }
.marquee span { font: italic 400 clamp(1.5rem, 2.8vw, 2.4rem)/1 var(--f-display); white-space: nowrap; }
.marquee span.mono { font: 400 .78rem var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ash); font-style: normal; }
.marquee b { color: var(--tq); font-weight: 400; font-size: .9rem; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ════════════════ EXODUS ════════════════ */
.exodus { padding: var(--pad) 0 calc(var(--pad) * .9); background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.exodus__head { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: clamp(3rem, 6vw, 5rem); }
.exodus__head .h2 { font-size: clamp(3.4rem, 11vw, 10.5rem); line-height: .9; margin-left: -.04em; }
.exodus__head .lead { margin-top: 2rem; max-width: 44ch; }
@media (min-width: 900px) {
  .exodus__head { grid-template-columns: 1.6fr 1fr; align-items: end; }
  .exodus__head .kicker { grid-column: 1 / -1; }
  .exodus__head .lead { margin: 0 0 1.2rem; }
}
.exodus__canvas { position: relative; }
.exodus__img { display: block; width: calc(100% - var(--gut)); margin-left: auto; overflow: hidden; cursor: zoom-in; background: var(--ink-3); }
.exodus__img img { width: 100%; height: auto; }
@supports (animation-timeline: view()) {
  .exodus__img.in img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  @keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }
}
.exodus__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2rem; padding-top: 1.6rem; font-size: .9rem; }
.exodus__meta span { display: flex; flex-direction: column; gap: .3rem; border-top: 1px solid var(--line-d); padding-top: .9rem; }
.exodus__meta i { font: 400 .66rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ash); font-style: normal; }
@media (min-width: 760px) { .exodus__meta { grid-template-columns: repeat(4, 1fr); } }

.exodus__split { display: grid; gap: 4rem; margin-top: clamp(5rem, 9vw, 8rem); }
@media (min-width: 1000px) { .exodus__split { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 5rem; align-items: start; } }
.ema { border-left: 1px solid var(--tq); padding-left: 1.6rem; }
.ema__q { font: italic 400 clamp(1.7rem, 2.6vw, 2.3rem)/1.15 var(--f-display); margin-bottom: 1.2rem; }
.ema__t { color: var(--ash); max-width: 34ch; }
.ema__art { display: block; margin-top: 2rem; width: min(100%, 320px); text-align: left; cursor: zoom-in; }
.ema__art img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; filter: saturate(.85); transition: filter .6s var(--e-out); }
.ema__art:hover img { filter: saturate(1.1); }
.ema__art span { display: block; margin-top: .7rem; color: var(--ash-2); }
.details { min-width: 0; }
.details .kicker { justify-content: space-between; }
.details__hint { color: var(--ash-2); }
.details__rail {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: .5rem; cursor: grab; outline: none;
  margin-right: calc(var(--gut) * -1);
}
.details__rail::-webkit-scrollbar { display: none; }
.details__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.details__rail figure { flex: 0 0 auto; height: clamp(240px, 30vw, 400px); scroll-snap-align: start; overflow: hidden; background: var(--ink-3); }
.details__rail img { height: 100%; width: auto; max-width: none; transition: transform 1.2s var(--e-out), filter .8s; filter: saturate(.9); user-select: none; -webkit-user-drag: none; }
.details__rail figure:hover img { transform: scale(1.05); filter: saturate(1.1); }

/* ════════════════ PROCESS (světlá) ════════════════ */
.process { background: var(--bone); color: var(--text-dark); padding: var(--pad) 0; }
.process .kicker { color: var(--muted-dark); }
.process .kicker .num { color: var(--tq-deep); }
.process .lead { color: var(--muted-dark); }
.process__grid { display: grid; gap: 0; }
@media (min-width: 960px) {
  .process__grid { grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 7vw, 7rem); }
  .process__head { grid-column: 2; grid-row: 1; }
  .process__sticky { grid-column: 1; grid-row: 1 / span 2; }
  .process__steps { grid-column: 2; grid-row: 2; padding-bottom: 18vh; }
}
.process__sticky { position: sticky; top: 6rem; align-self: start; z-index: 1; }
.process__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); box-shadow: 0 1px 2px rgba(26,24,20,.08), 0 30px 60px -30px rgba(26,24,20,.45); }
.process__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--e-out), transform 2s var(--e-out); }
.process__frame img.is-on { opacity: 1; transform: none; }
.process__cap { margin-top: 1rem; color: var(--muted-dark); }
.process__head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.process__head .h2 { margin-bottom: 1.6rem; }
.process__own { max-width: 40ch; }
.process__own p { font: italic 400 clamp(1.3rem, 1.75vw, 1.6rem)/1.35 var(--f-display); color: var(--text-dark); }
.process__own footer { margin-top: .9rem; color: var(--muted-dark); }
.style-card { margin-top: 2.4rem; border-top: 1px solid var(--line-l); }
.style-card div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.style-card dt { color: var(--muted-dark); }
.style-card dd { font-size: 1rem; line-height: 1.45; }
.style-card dd em { font: italic 400 1.45rem/1.1 var(--f-display); color: var(--tq-deep); }
@media (max-width: 480px) { .style-card div { grid-template-columns: 1fr; gap: .25rem; } }
@media (max-width: 959px) {
  .process__sticky { top: 3.9rem; z-index: 3; align-self: stretch; margin-inline: calc(var(--gut) * -1); background: var(--bone); padding-bottom: .2rem; }
  .process__frame { aspect-ratio: 16 / 10; box-shadow: none; }
  .process__cap { margin-top: .6rem; padding-inline: var(--gut); }
  .process__steps { position: relative; z-index: 1; }
}
.step { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line-l); min-height: clamp(0px, 40vh, 380px); opacity: .35; transition: opacity .8s var(--e-out); }
.step:first-child { border-top: 0; }
@media (min-width: 960px) { .step:first-child { border-top: 1px solid var(--line-l); } }
.step.is-on { opacity: 1; }
.step__n { display: block; font: 400 clamp(3rem, 5vw, 4.4rem)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--text-dark); margin-bottom: 1.2rem; }
.step h3 { font: 400 clamp(1.8rem, 2.6vw, 2.4rem)/1.1 var(--f-display); letter-spacing: -.015em; margin-bottom: 1rem; }
.step p { max-width: 42ch; color: var(--muted-dark); }
.step blockquote { font: italic 400 clamp(1.3rem, 1.8vw, 1.6rem)/1.35 var(--f-display); max-width: 34ch; margin-top: 1rem; }
@media (max-width: 959px) { .step { min-height: 46vh; } }

/* ════════════════ WORKS — salon ════════════════ */
.works { padding: var(--pad) 0 calc(var(--pad) * 1.1); background: radial-gradient(120% 70% at 50% 0%, var(--ink-3) 0%, var(--ink) 60%); }
.works__head { display: grid; gap: 2rem; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.works__head .h2 { font-size: clamp(3.4rem, 10vw, 9rem); line-height: .9; }
@media (min-width: 900px) { .works__head { grid-template-columns: 1.4fr 1fr; align-items: end; } }

/* mobil: jeden proud, střídavě zarovnané formáty */
.salon { display: flex; flex-direction: column; gap: 2.2rem; }
.salon__col { display: contents; }
.salon .work { width: 100%; }
.salon .work { order: var(--o); }
.salon .work.m80 { width: 80%; } .salon .work.m86 { width: 86%; } .salon .work.m84 { width: 84%; }
.salon .work.m72 { width: 72%; } .salon .work.m88 { width: 88%; }
.salon .work.r { align-self: flex-end; }
@media (min-width: 760px) {
  .salon { display: grid; grid-template-columns: 1.25fr 1fr .9fr; gap: clamp(1.4rem, 3vw, 3rem); align-items: start; }
  .salon__col { display: flex; flex-direction: column; gap: clamp(1.4rem, 3vw, 3rem); }
  .salon .work { width: 100% !important; align-self: auto !important; }
  .salon__col--b { margin-top: clamp(4rem, 12vw, 11rem); }
  .salon__col--c { margin-top: clamp(2rem, 5vw, 4.5rem); }
}
.work { position: relative; display: block; width: 100%; text-align: left; cursor: zoom-in; background: var(--ink-3); overflow: hidden; }
.work img { width: 100%; }
.work::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,13,11,.85) 0%, transparent 40%); opacity: 0; transition: opacity .6s var(--e-out); }
.work__cap { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 1; display: flex; align-items: baseline; gap: .8rem; font: italic 400 1.35rem/1 var(--f-display); transform: translateY(12px); opacity: 0; transition: opacity .6s var(--e-out), transform .6s var(--e-out); }
.work__cap i { font: 400 .66rem var(--f-mono); letter-spacing: .12em; color: var(--tq); font-style: normal; }
.work:hover::after, .work:focus-visible::after { opacity: 1; }
.work:hover .work__cap, .work:focus-visible .work__cap { opacity: 1; transform: none; }
.work.in:hover img { transform: scale(1.035); }
@media (hover: none) { .work::after { opacity: .9; } .work__cap { opacity: 1; transform: none; font-size: 1.05rem; } }

/* další plátna (bez názvu) */
.more { margin-top: clamp(5rem, 10vw, 9rem); }
.more__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 1.8rem; padding-top: 2rem; border-top: 1px solid var(--line-d); }
.more__title { font: 400 clamp(1.9rem, 3.4vw, 3rem)/1.05 var(--f-display); letter-spacing: -.015em; }
.more__title em { color: var(--tq); }
.more__note { margin-top: .6rem; color: var(--ash-2); font-size: .88rem; }
.more__head .details__hint { white-space: nowrap; }
.rail__item { position: relative; flex: 0 0 auto; height: clamp(240px, 28vw, 380px); scroll-snap-align: start; overflow: hidden; background: var(--ink-3); cursor: zoom-in; }
.rail__item img { height: 100%; width: auto; max-width: none; transition: transform 1.2s var(--e-out), filter .8s; filter: saturate(.9); user-select: none; -webkit-user-drag: none; }
.rail__item:hover img { transform: scale(1.04); filter: saturate(1.1); }
.rail__item span { position: absolute; left: .9rem; bottom: .8rem; font: italic 400 1.05rem/1 var(--f-display); text-shadow: 0 1px 12px rgba(0,0,0,.9); }

/* ════════════════ QUOTE ════════════════ */
.quote { position: relative; overflow: hidden; padding: calc(var(--pad) * 1.1) 0 calc(var(--pad) * 1.6); background: var(--ink); border-top: 1px solid var(--line-d); }
.quote__bg {
  position: absolute; left: 0; top: 50%; translate: 0 -50%; white-space: nowrap; pointer-events: none;
  font: italic 400 clamp(9rem, 26vw, 26rem)/1 var(--f-display); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(95, 179, 166, .22);
}
@supports (animation-timeline: view()) {
  .quote__bg { animation: drift linear both; animation-timeline: view(); }
  @keyframes drift { from { transform: translateX(10%); } to { transform: translateX(-45%); } }
}
.quote__inner { position: relative; }
.quote__art { display: block; width: min(60%, 260px); margin: 0 0 3rem auto; cursor: zoom-in; box-shadow: 0 40px 80px -30px #000; }
@media (min-width: 900px) {
  .quote__art { position: absolute; right: 0; top: 50%; width: clamp(240px, 24vw, 340px); margin: 0; translate: 0 -50%; }
  .quote__text { max-width: 19ch; }
}
.quote__text { font: 400 clamp(2rem, 4.6vw, 4.4rem)/1.08 var(--f-display); letter-spacing: -.02em; max-width: 22ch; text-wrap: balance; }
.quote__text em { color: var(--tq); }
.quote__text .w { display: inline-block; opacity: .12; transition: opacity .9s var(--e-out); transition-delay: calc(var(--i) * .035s); }
.quote__text.in .w { opacity: 1; }
.quote__who { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; color: var(--ash); }
.quote__who b { font-weight: 500; color: var(--bone); }

/* ════════════════ STORY (světlá) ════════════════ */
.story { background: var(--bone); color: var(--text-dark); padding: 0 0 var(--pad); }
.story .kicker { color: var(--muted-dark); }
.story .kicker .num { color: var(--tq-deep); }
.story__grid { display: grid; gap: 3.5rem; }
@media (min-width: 960px) { .story__grid { grid-template-columns: .9fr 1.1fr; gap: clamp(4rem, 8vw, 8rem); align-items: start; } }
.story__portrait { margin-top: clamp(-8rem, -9vw, -4rem); position: relative; z-index: 2; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.story__portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.story__portrait figcaption { position: absolute; left: 1rem; bottom: 1rem; color: var(--bone); background: rgba(14,13,11,.6); padding: .4rem .7rem; }
@media (min-width: 960px) { .story__portrait { position: sticky; top: 7rem; } }
.story__text { padding-top: clamp(0rem, 6vw, 6rem); }
.story__text .h2 { margin-bottom: 2.2rem; }
.story__text > p { max-width: 48ch; margin-bottom: 1.3rem; color: var(--muted-dark); font-size: clamp(1rem, 1.1vw, 1.12rem); }
.story__text q { color: var(--text-dark); font-family: var(--f-display); font-style: italic; font-size: 1.2em; line-height: 1.35; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 3.5rem 0; border-top: 1px solid var(--line-l); padding-top: 2rem; }
.facts dt { font: 400 clamp(3.2rem, 6vw, 5.4rem)/.9 var(--f-display); letter-spacing: -.03em; }
.facts dd { font-size: .86rem; color: var(--muted-dark); margin-top: .7rem; max-width: 18ch; line-height: 1.45; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:last-child { grid-column: 1 / -1; } }

.press { position: relative; display: grid; gap: .6rem; padding: 1.6rem 3.4rem 1.6rem 1.6rem; border: 1px solid var(--line-l); background: var(--bone-3); transition: background .5s, border-color .5s; }
.press .mono { color: var(--muted-dark); }
.press__t { font: 400 clamp(1.25rem, 1.7vw, 1.55rem)/1.25 var(--f-display); }
.press svg { position: absolute; right: 1.4rem; top: 1.5rem; width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .5s var(--e-out); }
.press:hover { background: #fff8ee; border-color: var(--text-dark); }
.press:hover svg { transform: translate(3px, -3px); }

/* ════════════════ SHOWS — výstavy a projekty ════════════════ */
.shows { position: relative; padding: var(--pad) 0; background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.shows__grid { display: grid; gap: 3.5rem; }
@media (min-width: 1000px) {
  .shows__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); column-gap: clamp(4rem, 8vw, 8rem); }
  .shows__head { position: sticky; top: 8rem; align-self: start; }
}
.shows__head .h2 { margin-bottom: 1.6rem; }
.shows__body { display: grid; gap: clamp(3.5rem, 6vw, 5rem); min-width: 0; }
.shows__label { color: var(--tq); margin-bottom: 1.2rem; }
.shows__list { list-style: none; border-top: 1px solid var(--line-d); }
.shows__list li { display: grid; grid-template-columns: 8.5rem 1fr; gap: .4rem 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-d); align-items: baseline; }
.shows__when { color: var(--ash); }
.shows__list b { display: block; font: 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.1 var(--f-display); letter-spacing: -.01em; }
.shows__list span { display: block; margin-top: .45rem; color: var(--ash); font-size: .92rem; }
@media (max-width: 560px) { .shows__list li { grid-template-columns: 1fr; } }
.plans { list-style: none; display: grid; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.plans li { background: var(--ink-2); padding: clamp(1.4rem, 2.6vw, 2rem); display: grid; gap: .6rem; }
.plans__st { justify-self: start; padding: .3rem .7rem; border: 1px dashed rgba(236,230,218,.35); border-radius: 100px; color: var(--ash); font-size: .64rem; }
.plans b { font: 400 clamp(1.4rem, 2vw, 1.8rem)/1.15 var(--f-display); }
.plans p { color: var(--ash); max-width: 58ch; font-size: .95rem; }
.plans__note { margin-top: 1.2rem; font-size: .84rem; color: var(--ash-2); border-left: 1px dashed currentColor; padding-left: .8rem; }

/* ════════════════ CRAFT (světlá, zeď) ════════════════ */
.craft {
  color: var(--text-dark); padding: var(--pad) 0;
  background:
    linear-gradient(90deg, rgba(26,24,20,.025) 1px, transparent 1px) 0 0 / 7px 100%,
    var(--bone-3);
  border-top: 1px solid var(--line-l);
}
.craft .kicker { color: var(--muted-dark); }
.craft .kicker .num { color: var(--tq-deep); }
.craft .lead { color: var(--muted-dark); max-width: 44ch; }
.craft .lead q { color: var(--text-dark); font-family: var(--f-display); font-style: italic; font-size: 1.2em; }
.craft__grid { display: grid; gap: 3.5rem; }
@media (min-width: 1000px) { .craft__grid { grid-template-columns: 1fr 1fr; column-gap: clamp(4rem, 8vw, 8rem); row-gap: 4rem; } .review { grid-column: 2; } }
.craft__head .h2 { margin-bottom: 2rem; }
@media (min-width: 1000px) { .craft__head { position: sticky; top: 8rem; align-self: start; } }
.craft__area { margin-top: 2rem; color: var(--muted-dark); }
.craft__list { list-style: none; border-top: 1px solid var(--line-l); align-self: start; }
.craft__list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .1rem 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-l); transition: padding-left .6s var(--e-out), background .6s; position: relative; }
.craft__list li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tq-deep); transform: scaleY(0); transition: transform .5s var(--e-out); }
.craft__list li:hover { padding-left: 1rem; }
.craft__list li:hover::before { transform: scaleY(1); }
.craft__list span { font: 400 .7rem var(--f-mono); color: var(--muted-dark); padding-top: .55rem; grid-row: span 2; }
.craft__list b { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--f-display); }
.craft__list em { font-style: normal; font-size: .9rem; color: var(--muted-dark); }
.review { padding: 2.4rem; background: var(--text-dark); color: var(--bone); position: relative; }
.review blockquote { font: italic 400 clamp(1.3rem, 1.9vw, 1.7rem)/1.35 var(--f-display); }
.review figcaption { margin: 1.3rem 0 2rem; color: var(--ash); }
.review .btn--dark { --bg: var(--bone); --fg: var(--text-dark); }
.review .btn--dark:hover { background: var(--tq); color: var(--ink); }
@media (min-width: 1000px) { .review { margin-top: -1rem; } .craft__head { grid-row: span 2; } }

/* ════════════════ CONTACT ════════════════ */
.contact { position: relative; overflow: hidden; padding: var(--pad) 0; background: var(--ink); }
.contact__glow { position: absolute; width: 70vmax; height: 70vmax; right: -25vmax; top: -20vmax; background: radial-gradient(circle, rgba(95,179,166,.14), transparent 60%); pointer-events: none; }
.contact__grid { position: relative; display: grid; gap: 4rem; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1.1fr .9fr; gap: 6rem; align-items: start; } }
.contact__title { font: 400 clamp(3.2rem, 8vw, 7.6rem)/.92 var(--f-display); letter-spacing: -.03em; margin-bottom: 2rem; }
.contact__title em { color: var(--tq); }
.contact__mail { display: inline-block; margin-top: 2.6rem; font: 400 clamp(1.35rem, 3vw, 2.4rem)/1.1 var(--f-display); position: relative; word-break: break-all; }
.contact__mail::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--tq); transform-origin: left; transition: transform .6s var(--e-out); }
.contact__mail:hover::after { transform: scaleX(.3); }
.contact__info { list-style: none; margin-top: 2.4rem; display: grid; gap: .6rem; color: var(--ash); }
.contact__info a { color: var(--bone); border-bottom: 1px solid var(--tq); text-transform: none; }
.footer a { color: var(--bone); }

.form { display: grid; gap: 1.6rem; padding: clamp(1.6rem, 3vw, 2.6rem); border: 1px solid var(--line-d); background: rgba(21,20,17,.7); }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips legend { color: var(--ash); margin-bottom: 1rem; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .6rem 1rem; border: 1px solid var(--line-d); border-radius: 100px; font-size: .88rem; transition: background .3s, color .3s, border-color .3s; }
.chips input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chips input:focus-visible + span { outline: 2px solid var(--tq); outline-offset: 2px; }
.field { display: grid; gap: .4rem; }
.field span { font: 400 .68rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-d); color: var(--bone); font: 300 1.05rem/1.5 var(--f-body); padding: .5rem 0; outline: none; resize: vertical; transition: border-color .3s; border-radius: 0; }
.field input:focus, .field textarea:focus { border-color: var(--tq); }
.field textarea::placeholder { color: var(--ash-2); }
.form .btn { justify-self: start; }
.form__note { font-size: .8rem; color: var(--ash-2); }

/* ════════════════ FOOTER ════════════════ */
.footer { border-top: 1px solid var(--line-d); padding: 3.5rem 0 2.5rem; color: var(--ash); font-size: .86rem; }
.footer__grid { display: grid; gap: 1.6rem; align-items: end; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: auto 1fr 1.2fr auto; gap: 3rem; } }
.footer__logo { width: 150px; opacity: .9; }
.footer__credit { font-size: .78rem; color: var(--ash-2); max-width: 44ch; }

/* ════════════════ LIGHTBOX ════════════════ */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 0; background: rgba(8,8,7,.97); color: var(--bone); display: none; }
.lb[open] { display: grid; grid-template-rows: 1fr auto; animation: lbIn .5s var(--e-out); }
.lb::backdrop { background: rgba(0,0,0,.7); }
@keyframes lbIn { from { opacity: 0; } }
.lb__fig { display: grid; place-items: center; padding: 4.5rem var(--gut) 1rem; min-height: 0; height: 100%; overflow: hidden; }
.lb__img { max-width: 100%; max-height: 100%; max-height: calc(100dvh - 12rem); width: auto; height: auto; object-fit: contain; box-shadow: 0 40px 100px -30px #000; transition: opacity .35s; }
.lb__img.is-loading { opacity: .2; }
.lb__close { position: absolute; top: 1.2rem; right: var(--gut); z-index: 2; font: 400 .72rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; display: flex; gap: .7rem; align-items: center; padding: .6rem 0; }
.lb__close span { font-size: 1rem; }
.lb button:focus:not(:focus-visible) { outline: none; }
.lb button:focus-visible, .lb a:focus-visible { outline: 1px solid var(--tq); outline-offset: 4px; }
.lb__bar { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center; padding: 1.2rem var(--gut) 1.6rem; border-top: 1px solid var(--line-d); }
.lb__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; }
.lb__n { font: 400 .7rem var(--f-mono); color: var(--tq); font-style: normal; }
.lb__t { font: italic 400 1.6rem/1.1 var(--f-display); }
.lb__m { font-size: .82rem; color: var(--ash); }
.lb__nav { display: flex; gap: .5rem; }
.lb__nav button { width: 3rem; height: 3rem; border: 1px solid var(--line-d); border-radius: 50%; font-size: 1.1rem; transition: background .3s, color .3s; }
.lb__nav button:hover { background: var(--bone); color: var(--ink); }
.lb__ask { grid-column: 1 / -1; justify-self: start; font-size: .9rem; border-bottom: 1px solid var(--tq); padding-bottom: .2rem; }
@media (min-width: 760px) { .lb__bar { grid-template-columns: 1fr auto auto; } .lb__ask { grid-column: auto; order: -0; } }

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
}
@media (max-width: 600px) {
  .hero__inner { padding-bottom: 4.5rem; }
  .hero__title { font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero__hint { writing-mode: horizontal-tb; top: auto; bottom: 1.6rem; right: auto; left: var(--gut); }
  .scroll-cue { left: auto; right: var(--gut); }
  .hero__actions { gap: 1.4rem; }
  .btn { padding: .95rem 1.3rem .95rem 1.5rem; }
  .marquee { padding: 1rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__title .w { transform: none; }
}
@media (max-width: 600px) {
  .hero__kicker { flex-direction: column; align-items: flex-start; }
  .hero__kicker span + span::before { display: none; }
}
