/* =========================================================
   ŠTEVSTAV - cinematic editorial build
   Lenis smooth scroll + GSAP ScrollTrigger
   ========================================================= */

:root {
  --ink: #0d0d0d;
  --ink-soft: #1a1a1a;
  --paper: #f4f1ec;
  --paper-2: #eae6df;
  --red: #e02616;
  --red-2: #ff3b25;
  --muted: #8a857d;
  --muted-dark: #6a6660;
  --line: rgba(13,13,13,.14);
  --line-light: rgba(255,255,255,.16);

  --maxw: 1480px;
  --gut: clamp(1.25rem, 4.2vw, 5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);

  --ff-disp: "Oswald", "Archivo", Impact, sans-serif;
  --ff-head: "Archivo", "Helvetica Neue", sans-serif;
  --ff-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; height: 100vh; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* hide native cursor when custom cursor active (pointer devices only) */
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor * { cursor: none; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { position: relative; padding-block: clamp(5rem, 12vw, 12rem); }
.dark { background: var(--ink); color: var(--paper); }
.dark { --line: var(--line-light); }

/* ---------- Typography ---------- */
/* Oswald je viacvahový - nastav výrazný rez pre všetky display prvky */
.display, .h-xl, .h-lg, .loader__word, .marquee__item, .stat b,
.service-row__num, .service-row h3, .pcard h3, .pcard__index,
.faq__q, .footer__word, .hero__title { font-weight: 700; }

.display {
  font-family: var(--ff-disp); font-weight: 700; text-transform: uppercase;
  line-height: .9; letter-spacing: -.01em;
}
.kicker {
  font-family: var(--ff-head); font-weight: 700; font-size: clamp(.7rem, 1vw, .82rem);
  letter-spacing: .26em; text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center; gap: .8rem;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.kicker--center { justify-content: center; }
.h-xl { font-family: var(--ff-disp); font-weight: 400; text-transform: uppercase; line-height: .88; letter-spacing: -.005em; font-size: clamp(2.6rem, 8vw, 8rem); }
.h-lg { font-family: var(--ff-disp); font-weight: 400; text-transform: uppercase; line-height: .9; font-size: clamp(2.2rem, 6vw, 5rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.55; color: var(--muted-dark); max-width: 50ch; }
.dark .lead { color: rgba(244,241,236,.66); }
.red { color: var(--red); }

/* line-mask reveal */
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.line-mask > span { display: block; transform: translateY(110%); transition: transform 1.05s var(--ease); }
.line-mask.is-in > span, .is-in .line-mask > span { transform: none; }
.line-mask[data-d="1"] > span { transition-delay: .12s; }
.line-mask[data-d="2"] > span { transition-delay: .24s; }
.line-mask[data-d="3"] > span { transition-delay: .36s; }
.no-js .line-mask > span { transform: none; }

/* fade/slide reveal (IO fallback + base) */
[data-anim] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-anim].is-in { opacity: 1; transform: none; }
[data-anim-d="1"] { transition-delay: .1s; }
[data-anim-d="2"] { transition-delay: .2s; }
[data-anim-d="3"] { transition-delay: .3s; }
.no-js [data-anim] { opacity: 1; transform: none; }

/* image clip reveal */
.img-reveal { position: relative; overflow: hidden; }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.4s var(--ease); }
.img-reveal::after {
  content: ""; position: absolute; inset: 0; background: var(--paper); transform-origin: bottom;
  transition: transform 1.1s var(--ease-in-out); z-index: 2;
}
.dark .img-reveal::after { background: var(--ink); }
.img-reveal.is-in img { transform: scale(1); }
.img-reveal.is-in::after { transform: scaleY(0); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--ff-head); font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  padding: 1.15rem 2rem; border-radius: 100px; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s;
}
.btn svg { width: 17px; height: 17px; transition: transform .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform .5s var(--ease); transform-origin: bottom; }
.btn:hover svg { transform: translateX(5px); }
.btn--solid { background: var(--red); color: #fff; }
.btn--solid::before { background: var(--ink); transform: scaleY(0); }
.btn--solid:hover { color: #fff; }
.btn--solid:hover::before { transform: scaleY(1); }
.btn--outline { border: 1.5px solid currentColor; color: var(--ink); }
.btn--outline::before { background: var(--ink); transform: scaleX(0); transform-origin: left; }
.btn--outline:hover { color: var(--paper); border-color: var(--ink); }
.btn--outline:hover::before { transform: scaleX(1); }
.dark .btn--outline { color: var(--paper); }
.dark .btn--outline::before { background: var(--paper); }
.dark .btn--outline:hover { color: var(--ink); }

/* =========================================================
   LOADER
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 9999; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.loader__inner { text-align: center; overflow: hidden; }
.loader__word { font-family: var(--ff-disp); font-size: clamp(2.5rem, 11vw, 9rem); text-transform: uppercase; line-height: 1; letter-spacing: -.01em; }
.loader__word .red { color: var(--red); }
.loader__count { font-family: var(--ff-head); font-weight: 700; font-size: .9rem; letter-spacing: .3em; color: var(--muted); margin-top: 1.4rem; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); }
.loader__curtain { position: fixed; inset: 0; z-index: 9998; background: var(--ink); transform: scaleY(1); transform-origin: top; pointer-events: none; }
body:not(.is-loading) .loader { display: none; }

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor { position: fixed; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--red); pointer-events: none; z-index: 9000; transform: translate(-50%, -50%); mix-blend-mode: normal; }
.cursor-follow { position: fixed; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--red); pointer-events: none; z-index: 8999; transform: translate(-50%, -50%); transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; display: grid; place-items: center; }
.cursor-follow span { font-family: var(--ff-head); font-weight: 700; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; }
body.cur-hover .cursor-follow { width: 64px; height: 64px; background: var(--red); border-color: var(--red); }
body.cur-view .cursor-follow { width: 96px; height: 96px; background: var(--red); border-color: var(--red); }
body.cur-view .cursor-follow span { opacity: 1; }
body.cur-hover .cursor, body.cur-view .cursor { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-follow { display: none; } }

/* =========================================================
   HEADER
   ========================================================= */
.header { position: fixed; inset: 0 0 auto 0; z-index: 200; padding-block: 1.4rem; transition: transform .5s var(--ease), padding .5s var(--ease); }
/* pozadie + blur dávame na pseudo-element, aby header NEbol containing block pre fixed .nav (inak sa rozbije mobilné menu pri scrolle) */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(244,241,236,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .5s var(--ease); }
.header.is-hidden { transform: translateY(-110%); }
.header.is-solid { padding-block: .8rem; }
.header.is-solid::before { opacity: 1; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { height: 44px; width: auto; transition: height .5s var(--ease); }
.is-solid .brand img { height: 38px; }
/* logo readable on dark hero */
.header:not(.is-solid) .brand { background: rgba(255,255,255,.9); padding: .35rem .6rem; border-radius: 8px; }

.nav__list { display: flex; gap: 2.4rem; }
.nav__link { font-family: var(--ff-head); font-weight: 600; font-size: .9rem; position: relative; padding: .3rem 0; color: var(--ink); }
.header:not(.is-solid) .nav__link { color: #fff; mix-blend-mode: difference; }
.nav__link span { position: relative; }
.nav__link span::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 0; background: var(--red); transition: width .35s var(--ease); }
.nav__link:hover span::after, .nav__link.is-active span::after { width: 100%; }

.header__cta { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--ff-head); font-weight: 700; font-size: .9rem; background: var(--red); color: #fff; padding: .7rem 1.2rem; border-radius: 100px; transition: background .3s, transform .4s var(--ease); white-space: nowrap; }
.header__cta:hover { background: var(--ink); transform: translateY(-2px); }
.header__cta svg { width: 15px; height: 15px; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 210; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), opacity .25s; }
.header:not(.is-solid) .burger span { background: #fff; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
body.menu-open .burger span { background: #fff; }
body.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero__media { position: absolute; inset: -8% 0; z-index: 0; }
.hero__media img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,.25) 35%, rgba(13,13,13,.82) 100%); }
.hero .container { position: relative; z-index: 2; width: 100%; color: #fff; }
.hero__top { position: absolute; top: calc(100px); left: var(--gut); right: var(--gut); display: flex; justify-content: space-between; font-family: var(--ff-head); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero__kicker { color: #fff; margin-bottom: 1.5rem; }
.hero__kicker::before { background: var(--red); }
.hero__title { font-size: clamp(3rem, 11vw, 11rem); }
.hero__title .red { color: var(--red-2); }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: clamp(1.8rem, 4vw, 3rem); }
.hero__sub { max-width: 42ch; font-size: clamp(1rem, 1.3vw, 1.2rem); color: rgba(255,255,255,.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__actions .btn--outline { color: #fff; }
.hero__actions .btn--outline::before { background: #fff; }
.hero__actions .btn--outline:hover { color: var(--ink); }
@media (max-width: 760px) { .hero__top { display: none; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { border-block: 1px solid var(--line); padding-block: clamp(1.2rem, 2.5vw, 2rem); overflow: hidden; background: var(--paper); }
.marquee__track { display: flex; gap: 2.5rem; width: max-content; will-change: transform; }
.marquee__item { font-family: var(--ff-disp); font-size: clamp(2rem, 5.5vw, 5rem); text-transform: uppercase; line-height: 1; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee__item .dot { width: .35em; height: .35em; border-radius: 50%; background: var(--red); flex: 0 0 auto; }
.marquee__item--out { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }

/* =========================================================
   ABOUT - text colorizer
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.colorize { font-family: var(--ff-head); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 3.1rem); line-height: 1.16; letter-spacing: -.02em; }
.colorize .w { color: rgba(13,13,13,.18); transition: color .3s var(--ease); }
.colorize .w.lit { color: var(--ink); }
.colorize .w.red.lit { color: var(--red); }
.no-js .colorize .w { color: var(--ink); }
.about__side { padding-top: .6rem; }
.about__side p { color: var(--muted-dark); margin-bottom: 1.1rem; }
.about__media { margin-top: clamp(3rem, 6vw, 5rem); aspect-ratio: 21/9; border-radius: 4px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); padding-top: clamp(2rem, 4vw, 3.5rem); }
.stat b { font-family: var(--ff-disp); font-size: clamp(2.6rem, 6vw, 5rem); line-height: .9; display: block; }
.stat b .plus { color: var(--red); }
.stat span { display: block; margin-top: .8rem; font-family: var(--ff-head); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }

/* =========================================================
   SERVICES - editorial rows
   ========================================================= */
.svc-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row__media { aspect-ratio: 4/3; border-radius: 4px; }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__num { font-family: var(--ff-disp); font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--red); letter-spacing: .05em; }
.service-row h3 { font-family: var(--ff-disp); font-size: clamp(1.9rem, 4vw, 3.4rem); text-transform: uppercase; line-height: .94; margin: .8rem 0 1.4rem; }
.service-row__list { display: grid; gap: .7rem; max-width: 42ch; }
.service-row__list li { position: relative; padding-left: 1.7rem; color: var(--muted-dark); font-size: 1.02rem; }
.service-row__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }

/* =========================================================
   PROJECTS - horizontal pinned scroll
   ========================================================= */
.projects { overflow: hidden; }
.projects__intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.h-track { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(1.2rem, 3vh, 2.2rem); padding-block: 3vh; }
.h-track__viewport { overflow: hidden; }
.h-track__row { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2rem); padding-inline: var(--gut); width: max-content; will-change: transform; }
.pcard { position: relative; height: clamp(360px, 64vh, 640px); aspect-ratio: 4/5; width: auto; border-radius: 4px; overflow: hidden; flex: 0 0 auto; }
.pcard__media { position: absolute; inset: 0; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,13,13,.88), rgba(13,13,13,.05) 55%, transparent); }
.pcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.4rem, 2.5vw, 2.2rem); color: #fff; z-index: 2; }
.pcard__tag { display: inline-block; font-family: var(--ff-head); font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; background: var(--red); padding: .4rem .75rem; border-radius: 100px; margin-bottom: 1rem; }
.pcard h3 { font-family: var(--ff-disp); font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: uppercase; line-height: .96; margin-bottom: .5rem; }
.pcard p { font-size: .95rem; color: rgba(255,255,255,.78); max-width: 36ch; }
.pcard__index { position: absolute; top: 1.2rem; right: 1.4rem; z-index: 2; font-family: var(--ff-head); font-weight: 700; font-size: .8rem; color: #fff; }
.h-progress { height: 2px; background: var(--line); margin: 0 var(--gut); position: relative; }
.h-progress i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--red); }

/* =========================================================
   EXPERIENCE (dark)
   ========================================================= */
.exp { position: relative; overflow: hidden; }
.exp__bg { position: absolute; inset: 0; z-index: 0; }
.exp__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.exp__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--ink) 30%, rgba(13,13,13,.6)); }
.exp .container { position: relative; z-index: 2; }
.exp__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.exp__list { display: grid; gap: 0; }
.exp__list li { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line-light); font-family: var(--ff-head); font-weight: 600; font-size: clamp(1.05rem, 1.8vw, 1.4rem); }
.exp__list li:first-child { border-top: 1px solid var(--line-light); }
.exp__list svg { width: 22px; height: 22px; color: var(--red); flex: 0 0 auto; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 940px; margin-inline: auto; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; text-align: left; padding: clamp(1.3rem, 2.5vw, 2rem) 0; font-family: var(--ff-disp); font-size: clamp(1.15rem, 2.4vw, 1.9rem); text-transform: uppercase; line-height: 1.05; transition: color .3s; }
.faq__q:hover { color: var(--red); }
.faq__q .ico { flex: 0 0 auto; width: 26px; height: 26px; position: relative; }
.faq__q .ico::before, .faq__q .ico::after { content: ""; position: absolute; background: var(--red); border-radius: 2px; transition: transform .4s var(--ease); }
.faq__q .ico::before { left: 0; right: 0; top: 12px; height: 2.5px; }
.faq__q .ico::after { top: 0; bottom: 0; left: 12px; width: 2.5px; }
.faq__item.is-open .faq__q .ico::after { transform: scaleY(0); }
.faq__a { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.faq__a-inner { padding-bottom: clamp(1.3rem, 2.5vw, 1.8rem); color: var(--muted-dark); max-width: 70ch; font-size: 1.05rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); }
.cinfo-list { display: grid; gap: 0; align-content: start; }
.cinfo { display: flex; gap: 1.3rem; align-items: flex-start; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.cinfo:first-child { padding-top: 0; }
.cinfo__ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(224,38,22,.1); color: var(--red); display: grid; place-items: center; }
.cinfo__ico svg { width: 22px; height: 22px; }
.cinfo h4 { font-family: var(--ff-head); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: .35rem; font-weight: 700; }
.cinfo a, .cinfo p { font-family: var(--ff-head); font-weight: 700; font-size: 1.25rem; transition: color .3s; }
.cinfo a:hover { color: var(--red); }
.cinfo small { display: block; font-family: var(--ff-body); font-weight: 400; font-size: .88rem; color: var(--muted); margin-top: .25rem; }

.form { background: #fff; border-radius: 6px; padding: clamp(1.8rem, 3.5vw, 3rem); box-shadow: 0 40px 80px -50px rgba(0,0,0,.4); }
.form h3 { font-family: var(--ff-disp); font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; margin-bottom: .4rem; }
.form > p { color: var(--muted-dark); margin-bottom: 1.8rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--ff-head); font-weight: 600; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .5rem; color: var(--muted-dark); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 1rem 1.1rem; background: var(--paper); border: 1.5px solid transparent; border-radius: 4px; transition: border-color .3s, background .3s; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; margin-top: .5rem; }
.form__feedback { margin-top: 1rem; font-weight: 600; font-size: .95rem; }
.form__feedback.is-hidden { display: none; }

.map { margin-top: clamp(3rem, 6vw, 5rem); border-radius: 6px; overflow: hidden; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.map:hover iframe { filter: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--paper); --line: var(--line-light); padding-top: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.footer__word { font-family: var(--ff-disp); font-size: clamp(3.5rem, 17vw, 17rem); text-transform: uppercase; line-height: .8; letter-spacing: -.01em; text-align: center; color: transparent; -webkit-text-stroke: 1.5px rgba(244,241,236,.35); margin-bottom: clamp(2rem, 5vw, 4rem); }
.footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.footer__brand img { height: 50px; background: #fff; padding: .5rem .7rem; border-radius: 8px; }
.footer__brand p { color: rgba(244,241,236,.6); margin-top: 1.2rem; max-width: 36ch; font-size: .95rem; }
.footer__col h4 { font-family: var(--ff-head); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,241,236,.5); margin-bottom: 1.2rem; }
.footer__col li { margin-bottom: .75rem; }
.footer__col a, .footer__col p { color: rgba(244,241,236,.85); font-size: .98rem; transition: color .3s; }
.footer__col a:hover { color: var(--red-2); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 2rem; font-size: .82rem; color: rgba(244,241,236,.5); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .about__grid, .exp__grid, .contact__grid, .svc-head { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 0; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem; transform: translateY(-100%); visibility: hidden; transition: transform .6s var(--ease-in-out), visibility 0s linear .6s; z-index: 205; overflow-y: auto; }
  body.menu-open .nav { transform: none; visibility: visible; transition: transform .6s var(--ease-in-out), visibility 0s; }
  /* pri otvorenom menu header nesmie skĺznuť/transformovať (rozbilo by ukotvenie .nav) */
  body.menu-open .header { transform: none !important; }
  body.menu-open { overflow: hidden; }
  .nav__list { flex-direction: column; text-align: center; gap: 1.6rem; }
  .header:not(.is-solid) .nav__link, .nav__link { color: #fff; mix-blend-mode: normal; font-family: var(--ff-disp); font-size: 2rem; text-transform: uppercase; }
  .burger { display: block; }
  .header__cta span { display: none; }
  .header__cta { padding: .65rem; }
  .header__cta svg { width: 18px; height: 18px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .footer__cols { grid-template-columns: 1fr; }
  .h-track { min-height: auto; padding-block: 0; }
  .pcard { width: 80vw; height: auto; aspect-ratio: 4/5; }
}

/* =========================================================
   PROJECT CASE STUDY (subpage)
   ========================================================= */
.hero--proj { min-height: 72vh; }
.hero--proj .hero__media::after { background: linear-gradient(180deg, rgba(13,13,13,.5) 0%, rgba(13,13,13,.3) 40%, rgba(13,13,13,.86) 100%); }
/* nadpis podstránky je dlhší – menší dynamický rozmer, aby sa nezalamoval cez okraj */
.hero--proj .hero__title { font-size: clamp(1.9rem, 6.2vw, 5.5rem); }
.hero__crumbs { display: flex; gap: .6rem; align-items: center; }
.hero__crumbs a:hover { color: var(--red-2); }

/* full-bleed figure */
.cs-figure { position: relative; }
.cs-figure--full { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.cs-figure .img-reveal { aspect-ratio: 16/9; }
.cs-figure figcaption { margin-top: 1rem; font-family: var(--ff-head); font-weight: 600; font-size: .82rem; letter-spacing: .04em; color: var(--muted-dark); text-transform: uppercase; }

/* metadata */
.cs-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.cs-meta__item { padding: 1.6rem 1.5rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.cs-meta__item h4 { font-family: var(--ff-head); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; font-weight: 700; }
.cs-meta__item p { font-family: var(--ff-head); font-weight: 700; font-size: 1.12rem; line-height: 1.3; }

/* narrative split: heading + body */
.cs-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.cs-split__body p { color: var(--muted-dark); font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.65; margin-bottom: 1.2rem; }
.cs-split__body p:last-child { margin-bottom: 0; }
.cs-step { font-family: var(--ff-disp); font-weight: 700; color: var(--red); font-size: clamp(1rem,1.4vw,1.2rem); letter-spacing: .05em; }

/* big editorial statement (uses .colorize) */
.cs-statement { max-width: 22ch; }

/* before / after pair */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.ba__item { position: relative; }
.ba__media { aspect-ratio: 4/5; }
.ba-tag { position: absolute; top: 1rem; left: 1rem; z-index: 3; font-family: var(--ff-head); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 100px; color: #fff; }
.ba-tag--before { background: rgba(13,13,13,.78); backdrop-filter: blur(4px); }
.ba-tag--after { background: var(--red); }
.ba__item h4 { margin-top: 1rem; font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; }
.ba__item p { color: var(--muted-dark); font-size: .95rem; margin-top: .3rem; }

/* interactive before/after slider */
.ba-slider { position: relative; aspect-ratio: 16/10; border-radius: 4px; overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 50%; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-slider .ba-tag { pointer-events: none; }
.ba-slider .ba-tag--after { left: auto; right: 1rem; }
.ba-slider__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); z-index: 4; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.ba-slider__grab { position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%); z-index: 5; width: 54px; height: 54px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(0,0,0,.6); pointer-events: none; }
.ba-slider__grab svg { width: 24px; height: 24px; color: #fff; }
.ba-hint { margin-top: 1rem; font-family: var(--ff-head); font-weight: 600; font-size: .8rem; letter-spacing: .05em; color: var(--muted); text-align: center; }

/* gallery */
.cs-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.cs-gallery .img-reveal { aspect-ratio: 3/4; }
.cs-gallery .img-reveal:first-child { grid-row: span 2; aspect-ratio: 3/5; }

/* CTA band */
.cs-cta { text-align: center; }
.cs-cta .h-lg { margin: 1rem auto 2rem; max-width: 18ch; }

/* next project */
.next-project { display: block; position: relative; border-radius: 4px; overflow: hidden; min-height: 50vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.next-project .img-reveal { position: absolute; inset: 0; }
.next-project .img-reveal::after { display: none; }
.next-project img { width: 100%; height: 100%; object-fit: cover; }
.next-project__veil { position: absolute; inset: 0; background: rgba(13,13,13,.6); z-index: 1; transition: background .4s; }
.next-project:hover .next-project__veil { background: rgba(13,13,13,.45); }
.next-project__inner { position: relative; z-index: 2; }
.next-project small { font-family: var(--ff-head); font-weight: 700; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red-2); }
.next-project h3 { font-family: var(--ff-disp); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 5vw, 4.5rem); line-height: .95; margin-top: .8rem; }
.next-project__go { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.2rem; font-family: var(--ff-head); font-weight: 700; letter-spacing: .04em; }
.next-project__go svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.next-project:hover .next-project__go svg { transform: translateX(6px); }

@media (max-width: 1024px) {
  .cs-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .cs-meta { grid-template-columns: 1fr; }
  .cs-meta__item { padding-right: 0; }
  .ba { grid-template-columns: 1fr; }
  .cs-gallery { grid-template-columns: 1fr 1fr; }
  .cs-gallery .img-reveal:first-child { grid-row: auto; aspect-ratio: 3/4; }
  .ba-slider { aspect-ratio: 3/4; }
}
