/* ==========================================================================
   NOVA · Ticho má tvar
   Teplá kamenná monochrómia · Host Grotesk + Geist Mono · architektonický grid
   ========================================================================== */

:root {
  /* paleta (odobratá z referencie) */
  --bone: #ECE7DF;
  --bone-2: #E4DED4;
  --sand: #D4CCC0;
  --stone: #B1A798;
  --taupe: #857C70;
  --graphite: #2B2926;
  --ink: #1B1916;
  --ink-text: #E8E2D8;
  --ink-muted: #8F877B;
  --moss: #6A7457;
  --line: rgba(43, 41, 38, 0.14);
  --line-dark: rgba(232, 226, 216, 0.14);

  --bg: var(--bone);
  --fg: var(--graphite);
  --fg-2: var(--taupe);

  /* typografia */
  --font-sans: "Host Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", "SF Mono", Menlo, Consolas, monospace;

  /* rozmery */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --gap: clamp(1rem, 2vw, 2rem);
  --nav-h: 4.5rem;
  --section-y: clamp(5.5rem, 13vw, 12rem);

  /* motion palette */
  --spring-snappy: linear(
    0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%,
    0.938 16.7%, 1.017 19.4%, 1.067 22.5%, 1.089 26.0%,
    1.079 30.3%, 1.049 36.0%, 1.024 42.6%, 1.011 50.3%,
    1.004 59.2%, 1.001 69.3%, 1
  );
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-dramatic: cubic-bezier(0.77, 0, 0.175, 1);
}

/* --------------------------------------------------------------------------
   Reset & základ
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "ss01";
  overflow-x: clip;
}

h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

::selection { background: var(--stone); color: var(--ink); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* filmové zrno – fixná vrstva, nikdy na skrolujúcom kontajneri */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* --------------------------------------------------------------------------
   Layout primitíva
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 0;
  padding-inline: var(--gutter);
}

.col-label {
  grid-column: 1 / span 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: start;
}
.label { color: var(--fg-2); display: inline-block; }
.rule {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--line);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-out);
}
.rule.is-visible { transform: scaleX(1); }

.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}
.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.4s var(--ease-out);
  will-change: transform;
}
.img-frame--parallax img {
  height: 118%;
  top: -9%;
}
figure:hover .img-frame img,
.img-frame:hover img { transform: scale(1.035); }
.img-frame--parallax:hover img { transform: scale(1.02) translate3d(0, var(--py, 0px), 0); }

.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-5-3 { aspect-ratio: 5 / 3; }

.caption {
  display: block;
  margin-top: 0.9rem;
  color: var(--fg-2);
}

/* --------------------------------------------------------------------------
   Navigácia
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  color: var(--graphite);
  transition: color 0.5s var(--ease-in-out), background-color 0.5s var(--ease-in-out);
  opacity: 0;
  transform: translateY(-12px);
}
.is-loaded .nav {
  animation: nav-in 0.7s var(--spring-snappy) 0ms both;
}
@keyframes nav-in {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.96);
  transition: opacity 0.5s var(--ease-in-out), transform 0.6s var(--ease-out);
}
.nav.is-scrolled::after { opacity: 0.14; transform: scaleX(1); }
.nav.is-scrolled {
  background-color: color-mix(in srgb, var(--bone) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}
.nav.is-inverted { color: var(--ink-text); }
.nav.is-inverted.is-scrolled {
  background-color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.nav__logo {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em; /* opticky vycentruje tracking */
  line-height: 1;
  transition: opacity 0.3s var(--ease-snap);
}
.nav__logo:hover { opacity: 0.55; }

.nav__links { display: flex; gap: clamp(1.25rem, 3vw, 2.75rem); }

.nav__link {
  position: relative;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  padding-block: 0.5rem;
  line-height: 1;
}
.nav__link span { display: inline-block; transition: opacity 0.3s var(--ease-snap); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease-snap);
}
.nav__link:hover::after,
.nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.nav__link:hover span { opacity: 0.7; }

:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; }
.nav__link:focus-visible, .footer__logo:focus-visible { outline-offset: 6px; }

/* --------------------------------------------------------------------------
   Hero · architektúra B – asymetrický split
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  overflow: clip;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 2rem) 0 clamp(1.5rem, 3.5vh, 3rem) var(--gutter);
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: clamp(1.5rem, 3.5vh, 3rem);
}

.hero__title {
  font-weight: 300;
  font-size: clamp(3.4rem, 9.2vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  width: max-content;
  max-width: 140%;
  text-wrap: balance;
  margin-left: -0.06em; /* optické zarovnanie na ľavý okraj */
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .word { display: inline-block; }
.hero__title em {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.035em;
  padding-right: 0.06em;
}

.hero__sub {
  max-width: 34ch;
  margin-top: clamp(1.5rem, 3.5vh, 2.75rem);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.55;
  color: var(--fg-2);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: clamp(1.5rem, 3vh, 2.25rem);
}
.hero__price { color: var(--fg-2); }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  max-width: 30rem;
}
.hero__meta dt { color: var(--fg-2); margin-bottom: 0.35rem; }
.hero__meta dd { font-size: 0.9375rem; letter-spacing: -0.01em; }

.hero__media {
  position: relative;
  margin: 0;
  min-height: 100dvh;
  overflow: clip;
  clip-path: inset(0 0 100% 0);
  background: var(--stone);
}
.is-loaded .hero__media {
  animation: media-reveal 1.2s var(--ease-dramatic) 60ms forwards;
}
@keyframes media-reveal {
  to { clip-path: inset(0 0 0 0); }
}
.hero__parallax {
  position: absolute;
  inset: -6% 0;
  will-change: transform;
}
.hero__parallax picture, .hero__img {
  width: 100%;
  height: 100%;
}
.hero__img {
  object-fit: cover;
  object-position: 58% 50%;
  transform: scale(1.08);
}
.is-loaded .hero__img {
  animation: media-settle 1.8s var(--ease-out) 60ms forwards;
}
@keyframes media-settle {
  to { transform: scale(1); }
}
.hero__caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  color: rgba(236, 231, 223, 0.82);
}

/* --------------------------------------------------------------------------
   Predstavenie
   -------------------------------------------------------------------------- */
.intro { padding-top: calc(var(--section-y) * 0.9); }
.intro .grid { row-gap: clamp(3rem, 7vw, 6rem); }

.intro__label { grid-row: 1; }
.intro__statement {
  grid-column: 4 / span 6;
  grid-row: 1;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.55vw, 2.5rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.intro__fig--a {
  grid-column: 7 / span 6;
  grid-row: 2;
}
.intro__fig--b {
  grid-column: 2 / span 4;
  grid-row: 2;
  margin-top: clamp(6rem, 18vw, 16rem);
  align-self: end;
  transform: translateY(clamp(2rem, 6vw, 5rem));
}

/* --------------------------------------------------------------------------
   Vlastnosti · zoznam s hover-reveal fotkou
   -------------------------------------------------------------------------- */
.features { position: relative; }
.features .grid { row-gap: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.features__title {
  grid-column: 4 / span 7;
  font-weight: 300;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.features__list { padding-inline: var(--gutter); }

.feature {
  position: relative;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1fr) 2rem;
  align-items: baseline;
  column-gap: var(--gap);
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  cursor: default;
}
.feature__rule {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--line);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-out);
}
.feature__rule.is-visible { transform: scaleX(1); }
.features__end { position: relative; height: 1px; }

.feature__index { color: var(--fg-2); transition: color 0.4s var(--ease-snap); }
.feature__name {
  font-weight: 300;
  font-size: clamp(1.6rem, 3.6vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: transform 0.6s var(--ease-snap);
}
.feature__desc {
  color: var(--fg-2);
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  max-width: 30ch;
  justify-self: end;
  text-align: right;
  transition: color 0.4s var(--ease-snap), transform 0.6s var(--ease-snap);
}
.feature__plus {
  position: relative;
  width: 0.9rem;
  height: 0.9rem;
  justify-self: end;
  align-self: center;
}
.feature__plus::before, .feature__plus::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--ease-snap);
}
.feature__plus::after { transform: rotate(90deg); }
.feature__thumb { display: none; }

@media (hover: hover) and (pointer: fine) {
  .feature:hover .feature__name { transform: translateX(0.45em); }
  .feature:hover .feature__index { color: var(--graphite); }
  .feature:hover .feature__desc { color: var(--graphite); transform: translateX(-0.6rem); }
  .feature:hover .feature__plus::after { transform: rotate(180deg); }
  .feature:hover .feature__plus::before { transform: rotate(90deg); }
}

.cursor-img {
  position: fixed;
  top: 0; left: 0;
  z-index: 40;
  width: clamp(14rem, 18vw, 18rem);
  aspect-ratio: 4 / 5;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.9) rotate(var(--rot, 0deg));
  transition: opacity 0.4s var(--ease-snap), transform 0.6s var(--ease-out);
  will-change: transform, opacity;
  overflow: hidden;
  background: var(--sand);
  display: none;
}
.cursor-img.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1) rotate(var(--rot, 0deg)); }
.cursor-img__inner { position: absolute; inset: 0; }
.cursor-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.5s var(--ease-in-out), transform 1s var(--ease-out);
}
.cursor-img img.is-active { opacity: 1; transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .cursor-img { display: block; }
}

/* --------------------------------------------------------------------------
   Editorial
   -------------------------------------------------------------------------- */
.editorial { background: var(--bone-2); }
.editorial .grid { row-gap: clamp(3rem, 6vw, 5rem); }

.editorial__title {
  grid-column: 4 / span 8;
  font-weight: 300;
  font-size: clamp(2.4rem, 5.6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 14ch;
  text-wrap: balance;
}

.editorial__fig--main {
  grid-column: 1 / span 7;
  grid-row: 2;
}
.editorial__aside {
  grid-column: 9 / span 4;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-top: 20%;
}
.editorial__text {
  color: var(--fg-2);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.6;
  max-width: 32ch;
  text-wrap: pretty;
}

.editorial__row2 {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  margin-top: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.editorial__row2-text {
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 2.5rem;
}
.editorial__sub {
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 16ch;
}
.editorial__fig--wide { grid-column: 7 / span 6; }

/* --------------------------------------------------------------------------
   CTA · tmavý kameň
   -------------------------------------------------------------------------- */
.section--dark {
  --bg: var(--ink);
  --fg: var(--ink-text);
  --fg-2: var(--ink-muted);
  --line: var(--line-dark);
  background: var(--bg);
  color: var(--fg);
}
.cta {
  position: relative;
  overflow: clip;
  padding-bottom: 0;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 30% 10%, rgba(232, 226, 216, 0.045), transparent 70%);
}
.cta .grid { position: relative; }
.cta__body { grid-column: 4 / span 8; }
.cta__title {
  font-weight: 300;
  font-size: clamp(3rem, 8.5vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-left: -0.05em;
}
.cta__note { margin-top: clamp(1.5rem, 3vw, 2.5rem); color: var(--fg-2); }
.nowrap { white-space: nowrap; }
.cta__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.cta__availability { color: var(--fg-2); display: inline-flex; align-items: center; gap: 0.6rem; }
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 0 rgba(106, 116, 87, 0.5);
  animation: dot-pulse 2.8s var(--ease-in-out) infinite;
}
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(106, 116, 87, 0.45); }
  60%  { box-shadow: 0 0 0 7px rgba(106, 116, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(106, 116, 87, 0); }
}

.cta__wordmark {
  position: relative;
  margin-top: clamp(4rem, 10vw, 9rem);
  margin-bottom: -0.26em;
  padding-inline: var(--gutter);
  font-weight: 500;
  font-size: clamp(5rem, 30.5vw, 31rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 226, 216, 0.16);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Tlačidlo
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3rem;
  padding: 0.95rem 1.35rem 0.95rem 1.5rem;
  background: var(--graphite);
  color: var(--bone);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.55s var(--spring-snappy),
    box-shadow 0.4s var(--ease-snap),
    background-color 0.4s var(--ease-in-out);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease-snap);
  z-index: -1;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -12px rgba(27, 25, 22, 0.45); }
.btn:hover::before { transform: scaleX(1); }
.btn:active { transform: translateY(0) scale(0.985); transition-duration: 0.1s; }
.btn__arrow { display: inline-flex; transition: transform 0.5s var(--ease-snap); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--light { background: var(--ink-text); color: var(--ink); }
.btn--light::before { background: #fff; }
.btn--light:hover { box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6); }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, transparent 70%);
  transform: scale(0);
  pointer-events: none;
  animation: ripple 0.7s var(--ease-out) forwards;
}
.btn--light .ripple { background: radial-gradient(circle, rgba(27, 25, 22, 0.18) 0%, transparent 70%); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* --------------------------------------------------------------------------
   Pätička
   -------------------------------------------------------------------------- */
.footer { padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  padding-inline: var(--gutter);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.footer__logo {
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  transition: opacity 0.3s var(--ease-snap);
}
.footer__logo:hover { opacity: 0.55; }
.footer__links { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); }
.footer__copy { color: var(--fg-2); }

/* --------------------------------------------------------------------------
   Motion systém
   -------------------------------------------------------------------------- */
/* vstup (hero) */
.enter {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
}
.is-loaded .enter {
  animation: enter-up 0.9s var(--spring-snappy) var(--d, 0ms) both;
}
@keyframes enter-up {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.enter-mask { transform: translateY(115%); }
.is-loaded .enter-mask {
  animation: enter-mask 1s var(--spring-snappy) var(--d, 0ms) both;
}
@keyframes enter-mask {
  from { transform: translateY(115%); }
  to   { transform: translateY(0); }
}

/* scroll reveals */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(5px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--spring-snappy),
    filter 0.9s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

[data-reveal="fade"] { transform: none; filter: none; transition-duration: 1.4s; }

/* clip ide na vnútorný rám, nie na pozorovaný element (IO by videl nulový prienik) */
[data-reveal="clip"] {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}
[data-reveal="clip"] .img-frame {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--ease-dramatic);
}
[data-reveal="clip"] .img-frame img { transform: scale(1.12); }
[data-reveal="clip"].is-visible .img-frame { clip-path: inset(0 0 0 0); }
[data-reveal="clip"].is-visible .img-frame img { transform: scale(1.001); transition-duration: 1.6s; }
[data-reveal="clip"].is-visible .img-frame--parallax img { transform: scale(1.001) translate3d(0, var(--py, 0px), 0); transition: transform 0.1s linear; }
[data-reveal="clip"].is-visible figure:hover .img-frame img,
[data-reveal="clip"].is-visible .img-frame:hover img { transform: scale(1.035); }
[data-reveal="clip"] .caption {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.8s var(--ease-out) 0.5s, transform 0.8s var(--ease-out) 0.5s;
}
[data-reveal="clip"].is-visible .caption { opacity: 1; transform: none; }

/* slová – maskovaný reveal */
[data-reveal="words"] { opacity: 1; transform: none; filter: none; transition: none; }
[data-reveal="words"] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
[data-reveal="words"] .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--spring-snappy);
  transition-delay: var(--wd, 0ms);
}
[data-reveal="words"].is-visible .w > span { transform: translateY(0); }

/* stagger potomkov */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--spring-snappy);
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: none; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 90ms; opacity: 1; transform: none; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 180ms; opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responzivita
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  /* label drží stĺpce 1–3, obsah začína až od 4 (inak grid auto-placement posunie blok do ďalšieho riadku) */
  .intro__statement { grid-column: 4 / span 9; }
  .editorial__title { grid-column: 4 / span 9; max-width: 12ch; }
  .features__title { grid-column: 4 / span 9; }
  .cta__body { grid-column: 4 / span 9; }
}

@media (max-width: 900px) {
  :root { --nav-h: 4rem; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
  }
  .hero__media {
    order: -1;
    min-height: 0;
    height: min(72svh, 34rem);
    margin-top: var(--nav-h);
  }
  .hero__img { object-position: 55% 55%; }
  .hero__copy {
    padding: clamp(2rem, 6vw, 3rem) var(--gutter) clamp(2.5rem, 7vw, 4rem);
    justify-content: flex-start;
  }
  .hero__title { width: auto; max-width: 100%; font-size: clamp(3.4rem, 15vw, 6rem); }
  .hero__eyebrow { margin-bottom: 1.5rem; }
  .hero__meta { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .col-label { grid-column: 1 / -1; margin-bottom: 1.75rem; }
  .col-label .rule { max-width: 6rem; }

  .intro .grid { row-gap: 2.5rem; }
  .intro__statement { grid-column: 1 / -1; }
  .intro__fig--a { grid-column: 3 / -1; grid-row: auto; }
  .intro__fig--b { grid-column: 1 / span 8; grid-row: auto; margin-top: 0; transform: none; }

  .features__title { grid-column: 1 / -1; }
  .feature {
    grid-template-columns: 3rem minmax(0, 1fr) 1.5rem;
    grid-template-areas:
      "thumb thumb thumb"
      "index name plus"
      "index desc desc";
    row-gap: 0.75rem;
    align-items: start;
  }
  .feature__thumb {
    display: block;
    position: relative;
    grid-area: thumb;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--sand);
    margin-bottom: 0.75rem;
  }
  .feature__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .feature__index { grid-area: index; padding-top: 0.45em; }
  .feature__name { grid-area: name; font-size: clamp(1.75rem, 7.5vw, 2.6rem); }
  .feature__desc { grid-area: desc; justify-self: start; text-align: left; max-width: none; }
  .feature__plus { grid-area: plus; align-self: start; margin-top: 0.75em; }
  .cursor-img { display: none !important; }

  .editorial__title { grid-column: 1 / -1; }
  .editorial__fig--main { grid-column: 1 / -1; grid-row: auto; }
  .editorial__aside { grid-column: 1 / -1; grid-row: auto; padding-top: 0; gap: 2rem; }
  .editorial__aside .editorial__text { order: 2; }
  .editorial__fig--side { width: min(100%, 24rem); margin-left: auto; }
  .editorial__row2 { grid-row: auto; margin-top: 1rem; }
  .editorial__row2-text { grid-column: 1 / -1; padding-bottom: 0; margin-bottom: 2rem; }
  .editorial__fig--wide { grid-column: 1 / -1; }

  .cta__body { grid-column: 1 / -1; }
  .cta__wordmark { margin-bottom: -0.22em; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
  .hero__cta { flex-wrap: wrap; }
  .btn { min-height: 3rem; }
  .intro__fig--a { grid-column: 2 / -1; }
  .intro__fig--b { grid-column: 1 / span 9; }
}

/* --------------------------------------------------------------------------
   Obmedzený pohyb
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .nav, .enter, .enter-mask, .hero__media, .hero__img { opacity: 1; transform: none; filter: none; clip-path: none; }
  [data-reveal], [data-reveal="clip"], [data-reveal-stagger] > *, .rule, .feature__rule,
  [data-reveal="words"] .w > span, [data-reveal="clip"] .caption, [data-reveal="clip"] .img-frame {
    opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important;
  }
  .cursor-img { display: none !important; }
  .hero__parallax { transform: none !important; }
  .dot { animation: none; }
}
