/* =====================================================================
   foto minarik.art — spoločný štýl celého webu
   FARBY a PÍSMO nastavíš v :root nižšie.
   ===================================================================== */

@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/Lora-Variable.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/Lora-Italic-Variable.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --bg: #0c0c0b;            /* pozadie */
  --bg-raised: #151513;     /* karty, panely */
  --text: #ece7dd;          /* hlavný text – teplá biela */
  --muted: #a39d91;         /* doplnkový text */
  --faint: #6f6a61;
  --line: rgba(236, 231, 221, .12);
  --accent: #d8a35a;        /* teplé svetlo z lesa */
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1520px;
  --header-h: 130px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 300; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: #111; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.section-title { font-family: var(--sans); font-weight: 300; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.button { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 24px; border: 1px solid rgba(236,231,221,.5); font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); cursor: pointer; background: none; }
.button:hover { background: var(--text); color: #111; border-color: var(--text); }
.button--solid { background: var(--text); color: #111; border-color: var(--text); }
.button--solid:hover { background: var(--accent); border-color: var(--accent); }
.button .arrow { transition: transform .35s var(--ease); }
.button:hover .arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   HORNÁ LIŠTA
   --------------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .45s var(--ease), backdrop-filter .45s, border-color .45s, transform .45s var(--ease); border-bottom: 1px solid transparent; }
/* Tmavý prechod pod menu – aby bolo čitateľné aj nad svetlou fotkou. */
.site-header::before { content: ""; position: absolute; inset: 0 0 -70px; background: linear-gradient(rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 55%, transparent); pointer-events: none; transition: opacity .45s; }
.site-header.is-solid { background: rgba(12,12,11,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.logo { display: block; flex: none; }
.logo img { height: 100px; width: auto; } /* VEĽKOSŤ LOGA */
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a { position: relative; padding: 12px 0; font-size: .9rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 0 14px rgba(0,0,0,.55); } /* VEĽKOSŤ PÍSMA MENU */
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.languages { display: flex; align-items: center; gap: 2px; padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid rgba(255,255,255,.3); }
.languages button { min-width: 34px; min-height: 40px; padding: 0 4px; background: none; border: 0; cursor: pointer; font-size: .8rem; font-weight: 500; letter-spacing: .12em; color: rgba(255,255,255,.78); text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 0 12px rgba(0,0,0,.5); transition: color .3s; }
.languages button:hover { color: var(--text); }
.languages button[aria-pressed="true"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.6); transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .logo img { height: 42px; }
  .menu-toggle { display: block; z-index: 2; }
  .nav-panel { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 96px var(--gutter) 48px; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
  .menu-open .nav-panel { opacity: 1; visibility: visible; }
  .menu-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; }
  .nav { margin: 0; flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav a { font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 300; letter-spacing: -.01em; text-transform: none; transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
  .menu-open .nav a { transform: none; opacity: 1; }
  .menu-open .nav a:nth-child(2) { transition-delay: .06s; }
  .menu-open .nav a:nth-child(3) { transition-delay: .12s; }
  .nav a::after { bottom: 8px; }
  .languages { border: 0; padding: 0; }
  .languages button { font-size: .85rem; min-width: 44px; }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 821px) { .nav-panel { display: contents; } }

/* ---------------------------------------------------------------------
   ÚVOD – PREZENTÁCIA FOTIEK
   --------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { animation: kenburns 9s linear forwards; }
.hero-slide:nth-child(even).is-active img { animation-name: kenburns-alt; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes kenburns-alt { from { transform: scale(1.12) translate(1.5%, 0); } to { transform: scale(1.02) translate(0, 0); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.2) 42%, rgba(0,0,0,0) 62%), linear-gradient(to right, rgba(0,0,0,.45), transparent 60%); }
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(36px, 8vh, 88px); }
.hero-content .wrap { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.hero h1 { font-weight: 300; font-size: clamp(2.6rem, 7.4vw, 6.6rem); line-height: .98; letter-spacing: -.035em; margin: 0 0 28px; max-width: 11ch; text-wrap: balance; }
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { justify-self: end; text-align: right; display: grid; gap: 14px; justify-items: end; min-width: 220px; }
.hero-caption { font-family: var(--serif); font-style: italic; font-size: 1rem; color: rgba(236,231,221,.85); transition: opacity .6s; min-height: 1.5em; }
.hero-caption:hover { color: var(--text); text-decoration: underline; text-underline-offset: 5px; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { position: relative; width: 34px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; }
.hero-dots button::before, .hero-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: rgba(255,255,255,.28); }
.hero-dots button::after { background: var(--text); transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-done::after { transform: scaleX(1); }
.hero-dots button.is-active::after { animation: progress var(--slide-time, 7s) linear forwards; }
.hero.is-paused .hero-dots button.is-active::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 46px; background: rgba(255,255,255,.2); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; inset: 0; background: var(--text); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

.hero-intro > * { opacity: 0; transform: translateY(26px); animation: rise 1.1s var(--ease) forwards; }
.hero-intro > :nth-child(2) { animation-delay: .15s; }
.hero-intro > :nth-child(3) { animation-delay: .3s; }
.hero-intro > :nth-child(4) { animation-delay: .45s; }
.hero-meta { opacity: 0; animation: fade 1.2s .6s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

@media (max-width: 820px) {
  .hero-content .wrap { grid-template-columns: 1fr; }
  .hero-meta { justify-self: start; text-align: left; justify-items: start; min-width: 0; }
  .scroll-cue { display: none; }
}

/* ---------------------------------------------------------------------
   SEKCIE
   --------------------------------------------------------------------- */
.section { padding-block: clamp(80px, 12vw, 160px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 42ch; line-height: 1.7; font-size: .95rem; }

.statement { padding-block: clamp(80px, 12vw, 150px) 0; }
.statement blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.3; max-width: 26ch; letter-spacing: -.01em; }
.statement blockquote::before { content: ""; display: block; width: 56px; height: 1px; background: var(--accent); margin-bottom: 36px; }

/* ---------------------------------------------------------------------
   ALBUMY – dlaždice
   --------------------------------------------------------------------- */
.album-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 25vw, 380px); gap: clamp(12px, 1.6vw, 22px); }
.album-card { position: relative; grid-column: span 4; overflow: hidden; background: var(--bg-raised); isolation: isolate; }
.album-grid > :nth-child(1) { grid-column: span 7; grid-row: span 2; }
.album-grid > :nth-child(2), .album-grid > :nth-child(3) { grid-column: span 5; }
.album-grid > :nth-child(4) { grid-column: span 5; }
.album-grid > :nth-child(5) { grid-column: span 7; }
.album-grid > :nth-child(6), .album-grid > :nth-child(7) { grid-column: span 6; }
.album-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.4s var(--ease), opacity .8s, filter 1s; opacity: 0; filter: saturate(.9); }
.album-card img.is-loaded { opacity: 1; }
.album-card:hover img { transform: scale(1.06); filter: saturate(1.05); }
.album-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 55%); transition: opacity .6s; z-index: 0; }
.album-card-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 2.2vw, 30px); display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.album-card h3 { margin: 0; font-weight: 300; font-size: clamp(1.35rem, 2.2vw, 2rem); letter-spacing: -.015em; line-height: 1.1; }
.album-grid > :nth-child(1) h3 { font-size: clamp(1.7rem, 3.4vw, 3rem); }
.album-count { display: block; margin-top: 8px; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(236,231,221,.75); }
.album-arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(236,231,221,.45); display: grid; place-items: center; transform: translateX(-8px); opacity: 0; transition: transform .5s var(--ease), opacity .5s, background .4s, color .4s; }
.album-card:hover .album-arrow, .album-card:focus-visible .album-arrow { transform: none; opacity: 1; }
.album-card:hover .album-arrow { background: var(--text); color: #111; }
.album-card.is-empty { background: radial-gradient(120% 90% at 20% 10%, #23241f 0%, #121210 60%); border: 1px solid var(--line); }
.album-card.is-empty::after { display: none; }
.album-card.is-empty .album-count { color: var(--accent); }
.album-card.is-empty .placeholder-mark { position: absolute; right: clamp(18px, 2.2vw, 30px); top: clamp(18px, 2.2vw, 30px); width: 44px; height: 44px; opacity: .35; }

@media (max-width: 1000px) {
  .album-grid { grid-auto-rows: auto; }
  .album-grid > * { grid-column: span 6 !important; grid-row: auto !important; aspect-ratio: 4 / 3; }
  .album-grid > :nth-child(1) { grid-column: span 12 !important; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .album-grid > *, .album-grid > :nth-child(1) { grid-column: span 12 !important; aspect-ratio: 3 / 2; }
  .album-arrow { opacity: 1; transform: none; width: 40px; height: 40px; }
}

/* Odhalenie pri posúvaní */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   O MNE
   --------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-raised); }
.about-photo img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.about-photo figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--serif); font-style: italic; font-size: .85rem; color: rgba(255,255,255,.8); }
.about-text .section-title { margin-bottom: 36px; }
.bio p { font-family: var(--serif); font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.8; color: #d9d3c7; margin: 0 0 1.1em; max-width: 60ch; }
.bio p:first-child { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.55; color: var(--text); }
.bio .location { display: flex; gap: 14px; align-items: baseline; margin-top: 34px; font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.bio .location strong { font-weight: 500; color: var(--text); }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------------
   STRÁNKA ALBUMU
   --------------------------------------------------------------------- */
.page-hero { position: relative; min-height: 62vh; min-height: 62svh; display: flex; align-items: end; overflow: hidden; isolation: isolate; padding-top: var(--header-h); background: #000; }
.page-hero--plain { min-height: 0; padding-top: calc(var(--header-h) + clamp(56px, 10vw, 120px)); background: none; }
.page-hero-bg { position: absolute; inset: -6% 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s, transform 2.4s var(--ease); }
.page-hero-bg img.is-loaded { opacity: .75; transform: scale(1); }
.page-hero:not(.page-hero--plain)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 0%, rgba(12,12,11,.35) 45%, rgba(12,12,11,.25) 100%); }
.page-hero .wrap { padding-bottom: clamp(32px, 5vw, 56px); }
.page-title { margin: 0; font-weight: 300; font-size: clamp(2.6rem, 8vw, 7rem); letter-spacing: -.04em; line-height: .95; }
.page-sub { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.back-link { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 26px; font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(236,231,221,.8); transition: color .3s, gap .3s var(--ease); }
.back-link:hover { color: var(--text); gap: 14px; }

.justified { position: relative; display: flex; flex-wrap: wrap; gap: var(--gap, 10px); padding-block: 8px clamp(48px, 8vw, 96px); }
.tile { position: relative; display: block; flex: none; overflow: hidden; background: var(--bg-raised); cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease), transform 1.2s var(--ease), filter .6s; }
.tile img.is-loaded { opacity: 1; transform: none; }
.tile:hover img { transform: scale(1.035); filter: brightness(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0); transition: box-shadow .4s; pointer-events: none; }
.tile:hover::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.tile-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-family: var(--serif); font-style: italic; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.tile:hover .tile-caption { opacity: 1; transform: none; }
.skeleton { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 8px 80px; }
.skeleton span { height: 260px; flex: 1 1 300px; background: linear-gradient(100deg, #141412 30%, #1d1d1a 50%, #141412 70%); background-size: 300% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }

.empty-state { margin-block: 8px clamp(60px, 9vw, 120px); padding: clamp(48px, 9vw, 120px) var(--gutter); border: 1px solid var(--line); text-align: center; background: radial-gradient(80% 120% at 50% 0%, #1b1c18, transparent); }
.empty-state svg { width: 56px; height: 56px; margin: 0 auto 26px; color: var(--accent); opacity: .8; }
.empty-state h2 { margin: 0 0 12px; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.empty-state p { margin: 0 auto; max-width: 46ch; color: var(--muted); font-family: var(--serif); font-style: italic; line-height: 1.7; }

.album-pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.album-pager a { display: grid; gap: 10px; padding: clamp(32px, 5vw, 64px) 0; transition: color .3s; }
.album-pager a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.album-pager a:first-child { padding-right: 24px; }
.album-pager small { font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.album-pager strong { font-weight: 300; font-size: clamp(1.3rem, 3vw, 2.4rem); letter-spacing: -.02em; transition: color .3s, transform .5s var(--ease); }
.album-pager a:first-child:hover strong { transform: translateX(-6px); color: var(--accent); }
.album-pager a + a:hover strong { transform: translateX(6px); color: var(--accent); }

/* ---------------------------------------------------------------------
   ZVÄČŠENÁ FOTKA (lightbox)
   --------------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #060605; color: var(--text); overflow: hidden; opacity: 0; transition: opacity .35s ease; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox.is-visible { opacity: 1; }
.lightbox::backdrop { background: transparent; }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px clamp(10px, 2vw, 22px); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lb-counter b { color: var(--text); font-weight: 500; }
.lb-stage { position: relative; min-height: 0; overflow: hidden; display: grid; place-items: center; touch-action: pan-y pinch-zoom; }
.lb-stage:focus { outline: none; }
.lb-image { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 clamp(8px, 6vw, 96px); object-fit: contain; transition: opacity .45s var(--ease), transform .55s var(--ease), filter .6s; user-select: none; -webkit-user-drag: none; }
.lb-image.is-leaving { opacity: 0; transform: translateX(calc(var(--dir, 1) * -40px)); }
.lb-image.is-entering { opacity: 0; transform: translateX(calc(var(--dir, 1) * 40px)); transition: none; }
.lb-image.is-soft { filter: blur(6px); }
.lb-bottom { padding: 14px clamp(14px, 3vw, 32px) 18px; text-align: center; min-height: 64px; }
.lb-caption { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.lb-exif { margin: 6px 0 0; font-size: .74rem; letter-spacing: .06em; color: var(--faint); }
.lb-btn { width: 52px; height: 52px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--text); border-radius: 50%; transition: background .3s; }
.lb-btn:hover { background: rgba(255,255,255,.08); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: clamp(4px, 1.5vw, 24px); }
.lb-next { right: clamp(4px, 1.5vw, 24px); }
.lb-spinner { position: absolute; width: 34px; height: 34px; border: 1.5px solid rgba(255,255,255,.15); border-top-color: var(--text); border-radius: 50%; animation: spin .9s linear infinite; opacity: 0; transition: opacity .3s; pointer-events: none; }
.lightbox.is-loading .lb-spinner { opacity: 1; transition-delay: .3s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) {
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
  .lb-bottom { padding-inline: 64px; }
  .lb-image { padding: 0; }
}

/* ---------------------------------------------------------------------
   KONTAKT
   --------------------------------------------------------------------- */
.contact-hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + clamp(48px, 9vw, 120px)) 0 clamp(64px, 9vw, 120px); }
.contact-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../images/les_2.jpg") center 57% / cover no-repeat; opacity: .6; }
.contact-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(12,12,11,.35), rgba(12,12,11,.55) 50%, var(--bg) 96%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.contact-intro { margin: 28px 0 40px; max-width: 42ch; font-family: var(--serif); font-size: 1.15rem; line-height: 1.75; color: #ddd7cb; }
.contact-email { display: inline-block; font-size: clamp(1.25rem, 2.6vw, 2rem); font-weight: 300; padding-bottom: 8px; border-bottom: 1px solid rgba(236,231,221,.35); overflow-wrap: anywhere; transition: border-color .3s, color .3s; }
.contact-email:hover { color: var(--accent); border-color: var(--accent); }
.contact-profiles { margin-top: 56px; color: var(--muted); font-size: .9rem; }
.contact-profiles p { margin: 0 0 14px; }
.contact-form { background: rgba(21,21,19,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.contact-form h2 { margin: 0 0 30px; font-weight: 300; font-size: 1.6rem; }
.contact-field { margin-bottom: 22px; }
.contact-field label { display: block; margin-bottom: 10px; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-field input, .contact-field textarea { display: block; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(236,231,221,.28); border-radius: 0; background: transparent; color: var(--text); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.5; transition: border-color .3s; }
.contact-field textarea { resize: vertical; min-height: 140px; }
.contact-field input:focus, .contact-field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.contact-note { margin: 0 0 26px; font-size: .82rem; line-height: 1.6; color: var(--faint); }
.contact-submit:disabled { opacity: .45; cursor: wait; }
.contact-status { min-height: 1.6em; margin: 20px 0 0; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.contact-status[data-state="error"] { color: #f0a998; }
.contact-status[data-state="success"] { color: #b9d3a8; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   PÄTIČKA
   --------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 88px) 28px; }
.footer-cta { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(40px, 6vw, 72px); }
.footer-cta .section-title a { transition: color .3s; }
.footer-cta .section-title a:hover { color: var(--accent); }
.footer-cta .section-title em { font-family: var(--serif); font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.socials { display: flex; gap: 22px; }
.socials a { font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text); padding-block: 10px; transition: color .3s; }
.socials a:hover { color: var(--accent); }

.noscript-note { padding: 24px; border: 1px solid var(--line); color: var(--muted); }

/* Menej pohybu pre ľudí, ktorí si to nastavili v systéme */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  /* Prezentácia aj pri vypnutých animáciách: fotky sa pokojne prelínajú (bez približovania). */
  .hero-slide { transition-duration: 1.8s !important; }
  .hero-dots button.is-active::after { animation-duration: var(--slide-time, 7s) !important; }
}

/* ---------------------------------------------------------------------
   KONTAKT – odkaz „Kto je za fotkami? Viac o mne →“ (pridané 18. 10. 2026)
   --------------------------------------------------------------------- */
.contact-about { display: flex; align-items: center; gap: 16px; margin-top: 40px; max-width: 420px; }
.contact-about img { width: 84px; height: 84px; object-fit: cover; object-position: 72% 50%; border-radius: 50%; flex: none; }
.contact-about > span { display: grid; gap: 4px; font-family: var(--serif); font-style: italic; color: var(--muted); }
.contact-about strong { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text); transition: color .3s; }
.contact-about:hover strong { color: var(--accent); }

/* ---------------------------------------------------------------------
   PREZENTÁCIA CEZ CELÚ OBRAZOVKU AJ NA STRÁNKACH Fotky, Z potuliek, Články
   (rovnaká ako na úvode; fotky vyberá js/home.js podľa data-hero-source)
   --------------------------------------------------------------------- */
.hero-lead { margin: -10px 0 28px; max-width: 40ch; font-family: var(--serif); font-style: italic; font-size: clamp(1.02rem, 1.5vw, 1.25rem); line-height: 1.6; color: rgba(236,231,221,.88); }
.hero--page h1 { max-width: 14ch; }

/* ---------------------------------------------------------------------
   POLOŽKA „ÚVOD“ V MENU – len v mobilnom menu (na počítači vedie na úvod logo)
   --------------------------------------------------------------------- */
.nav .nav-home { display: none; }
@media (max-width: 820px) {
  .nav .nav-home { display: block; }
  .menu-open .nav a:nth-child(4) { transition-delay: .18s; }
  .menu-open .nav a:nth-child(5) { transition-delay: .24s; }
}

