/* ============================================
   ILUR — KEĎ DUŠA TVORÍ
   základný štýl, minimalistická editoriálna estetika
   ============================================ */

:root {
  /* --- farby (matná sedo-čierna paleta s teplým podtónom) --- */
  --color-text:         #1F1D1B;
  --color-text-soft:    #2A2826;
  --color-text-muted:   #6B6862;
  --color-text-subtle:  #A8A49E;
  --color-bg:           #FAFAF7;
  --color-bg-white:     #FFFFFF;
  --color-line:         #ECE8E2;

  /* --- typografia --- */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- layout --- */
  --max-width:  1400px;
  --nav-height: 92px;
  --pad-x:      3rem;

  /* --- pohyb --- */
  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
ul { list-style: none; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.navbar.scrolled {
  background: var(--color-bg-white);
  box-shadow: 0 1px 0 var(--color-line);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.45s var(--ease);
}

.navbar.scrolled .nav-container { height: 76px; }

/* --- logo --- */
.nav-logo {
  display: grid;
  align-items: center;
}

.logo-img {
  grid-area: 1 / 1;
  height: 60px;
  width: auto;
  display: block;
  transition: opacity 0.45s var(--ease);
}

.logo-img--dark  { opacity: 1; }
.logo-img--light { opacity: 0; }

/* --- menu --- */
.nav-menu {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-menu a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease-out), left 0.4s var(--ease-out);
}

.nav-menu a:hover::after { width: 100%; left: 0; }

/* --- nav actions (desktop): sociálne ikony + CTA --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-social-link {
  display: flex;
  align-items: center;
  color: var(--color-text-muted);
  transition: color 0.3s var(--ease);
}

.nav-social-link:hover { color: var(--color-text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  padding: 0.6rem 1.35rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--color-text);
  color: var(--color-bg);
}


/* mobile extras — skryté na desktope */
.nav-menu-extras { display: none; }

/* --- hamburger --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
  transform-origin: center;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 2rem 6rem;
  overflow: hidden;
  isolation: isolate;
}

/* --- obrázok na pozadí (najnižšia vrstva) --- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 14s var(--ease-out) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

/* --- jemné zosvetlenie cez obrázok pre čitateľnosť textu --- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      ellipse 90% 70% at center,
      rgba(250, 250, 247, 0.78) 0%,
      rgba(250, 250, 247, 0.55) 45%,
      rgba(250, 250, 247, 0.35) 100%
    );
}

/* --- obsah hero (text + CTA) --- */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.25s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 5.75rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
  color: var(--color-text);
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-out) 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-text-soft);
}

.hero-tagline {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-soft);
  max-width: 520px;
  margin: 0 auto 2.75rem;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-out) 0.6s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 1.15rem 2.25rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-out) 0.8s forwards;
}

.hero-cta:hover { background: var(--color-text-muted); }
.hero-cta svg  { transition: transform 0.4s var(--ease-out); }
.hero-cta:hover svg { transform: translateX(6px); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- jemný scroll indikátor --- */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: rgba(31, 29, 27, 0.15);
  overflow: hidden;
  z-index: 1;
}

.hero-scroll span {
  display: block;
  width: 100%;
  height: 30%;
  background: var(--color-text);
  animation: scrollLine 2.4s var(--ease-out) infinite;
}

@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(330%); }
  100% { transform: translateY(330%); }
}

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ============ TICKER ============ */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 1.1rem 0;
  background: var(--color-bg);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 22s linear infinite;
  will-change: transform;
}

.ticker-track span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: var(--color-text-soft);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.ticker-sep {
  color: var(--color-line) !important;
  font-style: normal !important;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--ticker-move, -50%)); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============ CITÁCIA ============ */
.statement {
  padding: 8rem var(--pad-x);
  text-align: center;
  border-top: 1px solid var(--color-line);
}

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.statement-text em {
  font-style: italic;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .statement {
    padding: 5rem var(--pad-x);
  }
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 13, 11, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.18s var(--ease);
  user-select: none;
}

.lb-img.lb-fade { opacity: 0; }

.lb-close {
  position: fixed;
  top: 1.5rem;
  right: 1.75rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(250, 250, 247, 0.55);
  transition: color 0.3s var(--ease);
  z-index: 310;
}

.lb-close:hover { color: #FAFAF7; }

.lb-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(250, 250, 247, 0.35);
  padding: 1.5rem 1.25rem;
  transition: color 0.3s var(--ease);
  z-index: 310;
}

.lb-btn:hover { color: rgba(250, 250, 247, 0.9); }

.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }

.lb-counter {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: rgba(250, 250, 247, 0.35);
  pointer-events: none;
}

/* kurzor na obrázkoch galérie */
.galeria-item { cursor: zoom-in; }

/* ============ ZDIEĽANÉ — SEKCIE ============ */
.section-header {
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

/* ============ AKTUALITY ============ */
.aktuality {
  padding: 7rem var(--pad-x);
  border-top: 1px solid var(--color-line);
}

.aktuality-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.aktuality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.aktuality-col {
  padding-right: 5rem;
}

.aktuality-col + .aktuality-col {
  padding-right: 0;
  padding-left: 5rem;
  border-left: 1px solid var(--color-line);
}

.aktuality-col-heading {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-bottom: 1.25rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--color-line);
}

/* --- event karta --- */
.event-card {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-line);
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.event-date {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.event-tag {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-line);
  padding: 0.2rem 0.55rem;
}

.event-tag--trh {
  color: var(--color-text-subtle);
}

.event-name {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-text-soft);
  margin-bottom: 0.3rem;
}

.event-location {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

.event-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: gap 0.3s var(--ease-out), color 0.3s var(--ease);
}

.event-cta:hover {
  color: var(--color-text-muted);
  gap: 1rem;
}

.aktuality-col-empty {
  padding: 1.75rem 0;
  font-size: 0.85rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--color-text-muted);
}

.aktuality-col-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: gap 0.3s var(--ease-out), color 0.3s var(--ease);
}

.aktuality-col-link:hover {
  color: var(--color-text);
  gap: 1rem;
}

/* ============ O NÁS (preview) ============ */
.about-preview {
  padding: 7rem var(--pad-x);
  border-top: 1px solid var(--color-line);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease-out);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-content .section-header {
  margin-bottom: 2rem;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-soft);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: gap 0.3s var(--ease-out), color 0.3s var(--ease);
}

.about-link:hover {
  color: var(--color-text-muted);
  gap: 1rem;
}

/* ============ GALÉRIA ============ */
.galeria {
  padding: 7rem var(--pad-x);
  border-top: 1px solid var(--color-line);
}

.galeria-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header--center {
  text-align: center;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 6px;
}

.galeria-item {
  overflow: hidden;
  background: var(--color-line);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}

.galeria-item:hover img {
  transform: scale(1.05);
}

/* explicitné rozmiestnenie — asymetrický editoriálny grid */
.galeria-item:nth-child(1) { grid-column: 1;     grid-row: 1 / 3; }
.galeria-item:nth-child(2) { grid-column: 2;     grid-row: 1; }
.galeria-item:nth-child(3) { grid-column: 3;     grid-row: 1; }
.galeria-item:nth-child(4) { grid-column: 2;     grid-row: 2; }
.galeria-item:nth-child(5) { grid-column: 3;     grid-row: 2 / 4; }
.galeria-item:nth-child(6) { grid-column: 1 / 3; grid-row: 3; }

.galeria-cta {
  margin-top: 3rem;
  text-align: center;
}

.galeria-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease-out);
}

.galeria-ig-link:hover {
  color: var(--color-text);
  gap: 1rem;
}

/* ============ MAKRAMÉ TEASER ============ */
.makrame-teaser {
  border-top: 1px solid var(--color-line);
}

.makrame-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.makrame-image {
  overflow: hidden;
}

.makrame-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease-out);
}

.makrame-teaser:hover .makrame-image img {
  transform: scale(1.03);
}

.makrame-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
  background: var(--color-text);
}

.makrame-content .section-eyebrow {
  color: rgba(250, 250, 247, 0.5);
  margin-bottom: 1rem;
}

.makrame-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-bg);
  margin-bottom: 1.5rem;
}

.makrame-text {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(250, 250, 247, 0.75);
  max-width: 380px;
  margin-bottom: 2.5rem;
}

.makrame-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-bg);
  border-bottom: 1px solid rgba(250, 250, 247, 0.3);
  padding-bottom: 0.35rem;
  transition: gap 0.3s var(--ease-out), border-color 0.3s var(--ease);
  align-self: flex-start;
}

.makrame-link:hover {
  gap: 1rem;
  border-color: var(--color-bg);
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--color-line);
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem var(--pad-x) 3.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.footer-social {
  display: flex;
  gap: 1.1rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  color: var(--color-text-muted);
  transition: color 0.3s var(--ease);
}

.footer-social-link:hover { color: var(--color-text); }

.footer-col-heading {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.footer-link {
  display: block;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text-soft);
  transition: color 0.3s var(--ease);
}

.footer-link:hover { color: var(--color-text); }

.footer-info {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.footer-info--muted {
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.footer-bottom {
  border-top: 1px solid var(--color-line);
  padding: 1.5rem var(--pad-x);
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copy,
.footer-credit {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.footer-credit a,
.footer-copy a {
  color: var(--color-text-muted);
  transition: color 0.3s var(--ease);
}

.footer-credit a:hover,
.footer-copy a:hover { color: var(--color-text); }

.footer-copy-btn {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--color-text-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.footer-copy-btn:hover { color: var(--color-text); }

/* ============ NA MIERU ============ */
.na-mieru {
  padding: 6rem var(--pad-x);
  border-top: 1px solid var(--color-line);
  text-align: center;
}

.na-mieru-inner {
  max-width: 600px;
  margin: 0 auto;
}

.na-mieru-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.na-mieru-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-soft);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.na-mieru-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: gap 0.3s var(--ease-out), color 0.3s var(--ease);
}

.na-mieru-link:hover {
  color: var(--color-text-muted);
  gap: 1rem;
}

/* ============ CONTENT VISIBILITY ============ */
.aktuality       { content-visibility: auto; contain-intrinsic-size: auto 650px; }
.about-preview   { content-visibility: auto; contain-intrinsic-size: auto 650px; }
.statement       { content-visibility: auto; contain-intrinsic-size: auto 320px; }
.galeria         { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.na-mieru        { content-visibility: auto; contain-intrinsic-size: auto 360px; }
.makrame-teaser  { content-visibility: auto; contain-intrinsic-size: auto 560px; }

/* ============ MOBIL ============ */
@media (max-width: 900px) {
  :root {
    --nav-height: 72px;
    --pad-x: 1.5rem;
  }

  .navbar.scrolled .nav-container { height: 64px; }

  .logo-img { height: 44px; }

  .nav-toggle { display: flex; }
  .nav-actions { display: none; }

  /* fullscreen overlay menu */
  .nav-menu {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    padding: 2rem;
  }

  .nav-menu.active { transform: translateX(0); }

  .nav-menu a {
    font-size: 1rem;
    letter-spacing: 0.25em;
  }

  .nav-menu-extras {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    margin-top: 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--color-line);
    width: 100%;
  }

  .nav-menu-extras .nav-social { gap: 1.5rem; }

  .nav-menu-extras .nav-social-link {
    color: var(--color-text-muted);
  }

  .nav-menu-extras .nav-social-link:hover { color: var(--color-text); }

  .nav-menu-extras .nav-cta {
    border-color: var(--color-text);
    color: var(--color-text);
    padding: 0.85rem 2rem;
    font-size: 0.75rem;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(3.75px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .hero {
    min-height: 100vh;
    padding: calc(var(--nav-height) + 2rem) 1.5rem 5rem;
  }

  /* na mobile silnejší overlay — text je často nad „rušnejšou" časťou obrázka */
  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(250, 250, 247, 0.7) 0%,
        rgba(250, 250, 247, 0.55) 60%,
        rgba(250, 250, 247, 0.7) 100%
      );
  }

  .hero-tagline { font-size: 1rem; }

  /* o nás — mobile */
  .about-preview {
    padding: 5rem var(--pad-x);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image img {
    height: 420px;
  }

  /* galéria — mobile */
  .galeria {
    padding: 5rem var(--pad-x);
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .galeria-item:nth-child(1) { grid-column: 1;   grid-row: 1 / 3; }
  .galeria-item:nth-child(2) { grid-column: 2;   grid-row: 1; }
  .galeria-item:nth-child(3) { grid-column: 2;   grid-row: 2; }
  .galeria-item:nth-child(4) { grid-column: 1;   grid-row: 3; }
  .galeria-item:nth-child(5) { grid-column: 2;   grid-row: 3 / 5; }
  .galeria-item:nth-child(6) { grid-column: 1;   grid-row: 4; }

  /* makramé — mobile */
  .makrame-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .makrame-image {
    height: 380px;
  }

  .makrame-content {
    padding: 3.5rem var(--pad-x);
  }

  /* aktuality — mobile */
  .aktuality {
    padding: 5rem var(--pad-x);
  }

  .aktuality-grid {
    grid-template-columns: 1fr;
  }

  .aktuality-col {
    padding-right: 0;
  }

  .aktuality-col + .aktuality-col {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--color-line);
    padding-top: 3rem;
    margin-top: 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem var(--pad-x) 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1.5rem var(--pad-x);
  }

  .na-mieru {
    padding: 4rem var(--pad-x);
  }
}

/* ============ PROGRESS BAR (scroll-driven, CSS) ============ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 500;
  pointer-events: none;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--color-text-muted);
  animation: progress-grow linear both;
  animation-timeline: scroll(root block);
}

@keyframes progress-grow {
  to { transform: scaleX(1); }
}

/* ============ VIEW TRANSITIONS (MPA fade) ============ */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 200ms ease-out both vt-out;
}

::view-transition-new(root) {
  animation: 360ms ease-out both vt-in;
}

@keyframes vt-out {
  to { opacity: 0; transform: translateY(-6px); }
}

@keyframes vt-in {
  from { opacity: 0; transform: translateY(6px); }
}

/* ============ REDUKOVANÝ POHYB ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  /* scroll reveal — hneď viditeľné */
  [data-reveal],
  [data-reveal].revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* progress bar — skryť */
  .progress-bar { display: none; }

  /* view transitions — vypnúť */
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 600;
  background: var(--color-bg-white);
  border-top: 1px solid var(--color-line);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-soft);
  font-weight: 300;
  max-width: 620px;
}

.cookie-banner-text a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.cookie-banner-btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.cookie-banner-btn--reject {
  color: var(--color-text);
  border: 1px solid var(--color-line);
  padding: 0.85em 1.6em;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.cookie-banner-btn--reject:hover {
  border-color: var(--color-text-muted);
  background: var(--color-bg);
}

.cookie-banner-btn--accept {
  color: var(--color-bg-white);
  background: var(--color-text);
  padding: 0.85em 1.6em;
  transition: background 0.3s var(--ease);
}

.cookie-banner-btn--accept:hover {
  background: var(--color-text-muted);
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.5rem var(--pad-x);
  }

  .cookie-banner-actions {
    justify-content: flex-end;
  }
}
