/* ==========================================================
   D&G Visuals · crno-crveni, minimalistički, luksuzni stil
   ========================================================== */

:root {
  --bg: #070707;
  --bg-2: #0e0e0f;
  --bg-3: #151516;
  --ink: #ebe7e0;
  --ink-2: #a9a49c;
  --ink-3: #6b6761;
  --line: rgba(235, 231, 224, .12);
  --red: #c8202a;
  --red-deep: #8f1a20;
  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
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 {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-style: italic; }
::selection { background: var(--red); color: #fff; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 28px;
  font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .num { color: var(--red); font-weight: 600; }
.eyebrow .line { width: 34px; height: 1px; background: var(--red); display: inline-block; }

.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: .98;
  letter-spacing: -.01em;
}
.display em { color: var(--red); font-weight: 300; }

.section { position: relative; padding: clamp(110px, 16vw, 200px) var(--gutter); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%;
  z-index: 90; pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  pointer-events: none;
}
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg); z-index: 0; }
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader__inner { position: relative; z-index: 1; width: 220px; height: 220px; display: grid; place-items: center; }
.loader__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.loader__ring circle { fill: none; }
.loader__track { stroke: rgba(235, 231, 224, .14); stroke-width: 1; }
.loader__arc { stroke: var(--red); stroke-width: 1.4; stroke-dasharray: 604; stroke-dashoffset: 604; stroke-linecap: round; }
.loader__mark { font-family: var(--serif); font-size: 56px; font-weight: 400; letter-spacing: .02em; line-height: 1; }
.loader__mark em { color: var(--red); font-style: normal; margin: 0 2px; }
.loader__count { position: absolute; bottom: -54px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .4em; color: var(--ink-3); }
.loader.is-done { display: none; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(235, 231, 224, .45);
  display: grid; place-items: center;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background .4s, border-color .4s;
}
.cursor__label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--red); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--red); border-color: var(--red); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }

/* ---------- Page transition ---------- */
.transition {
  position: fixed; inset: 0; z-index: 180; pointer-events: none;
  background: var(--red-deep);
  transform: scaleY(0); transform-origin: bottom;
}
.transition::after { content: ""; position: absolute; inset: 0; background: var(--bg); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease) .12s; }
.transition.is-active { transform: scaleY(1); transition: transform .6s var(--ease); pointer-events: all; }
.transition.is-active::after { transform: scaleY(1); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(7, 7, 7, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: .02em; display: inline-flex; }
.nav__logo em { color: var(--red); font-style: normal; margin: 0 1px; }
.nav__links { display: flex; gap: 44px; }
.link-roll { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; overflow: hidden; display: inline-block; height: 1.7em; }
.link-roll span { display: inline-block; position: relative; transition: transform .55s var(--ease); }
.link-roll span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--red); }
.link-roll:hover span { transform: translateY(-100%); }
.nav__cta {
  position: relative; overflow: hidden;
  padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  transition: border-color .4s;
}
.nav__cta::before { content: ""; position: absolute; inset: 0; background: var(--red); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.nav__cta span { position: relative; }
.nav__cta:hover { border-color: var(--red); }
.nav__cta:hover::before { transform: translateY(0); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; }
.menu-open .nav__burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--nav-h) var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  font-family: var(--serif); font-size: clamp(46px, 13vw, 84px); line-height: 1.08; font-weight: 300;
  display: flex; align-items: baseline; gap: 16px;
  transform: translateY(40px); opacity: 0; transition: transform .8s var(--ease-out), opacity .8s;
}
.menu__links small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--red); }
.menu-open .menu__links a { transform: none; opacity: 1; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .06s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .12s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .18s; }
.menu__foot { margin-top: 48px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; letter-spacing: .14em; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.25fr) 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: calc(var(--nav-h) + 20px) var(--gutter) 170px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; z-index: -2;
  width: 90vmax; height: 90vmax; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(200, 32, 42, .22), rgba(143, 26, 32, .07) 45%, transparent 72%);
  filter: blur(10px);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.12); opacity: .75; } }
.hero__ring { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(78vmin, 720px); height: min(78vmin, 720px); transform: translate(-50%, -50%); overflow: visible; }
.hero__ring circle { fill: none; }
.hero__ring-thin { stroke: rgba(235, 231, 224, .14); stroke-width: 1; }
.hero__ring-red { stroke: var(--red); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1822; stroke-dashoffset: 1822; transform-origin: center; transform: rotate(-70deg); }

.hero__portrait { margin: 0; position: relative; will-change: transform; }
.hero__portrait--left { justify-self: end; width: min(100%, 360px); margin-top: 10vh; }
.hero__portrait--right { justify-self: start; width: min(100%, 360px); margin-top: -12vh; }
.hero__img { position: relative; aspect-ratio: 3 / 4.2; overflow: hidden; clip-path: inset(100% 0 0 0); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.3); filter: grayscale(.25) contrast(1.05); transition: filter .8s; }
.hero__portrait:hover .hero__img img { filter: none; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 7, 7, .55), transparent 45%); pointer-events: none; }
.hero__portrait figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: 0; }
.hero__name { font-family: var(--serif); font-size: 22px; letter-spacing: .02em; text-transform: none; font-style: italic; }
.hero__portrait figcaption a { color: var(--ink-2); transition: color .3s; }
.hero__portrait figcaption a:hover { color: var(--red); }
.hero__portrait--left::before, .hero__portrait--right::before {
  content: ""; position: absolute; width: 1px; height: 80px; background: var(--red);
  top: -40px;
}
.hero__portrait--left::before { right: -20px; }
.hero__portrait--right::before { left: -20px; top: auto; bottom: 10px; }

.hero__center { text-align: center; position: relative; z-index: 2; }
.hero__eyebrow { justify-content: center; opacity: 0; }
.hero__title { margin: 0; font-weight: 300; line-height: 1; }
.hero__mark {
  display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(76px, 10vw, 190px); white-space: nowrap;
  letter-spacing: .01em; line-height: .86;
  color: var(--ink);
}
.hero__mark .ch {
  display: inline-block; padding: 0 .015em;
  background: linear-gradient(170deg, #fbfaf7 10%, #bdb8b0 55%, #e8e4dd 80%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__mark em.ch { font-style: normal; background: linear-gradient(170deg, #e2353f, var(--red-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 .02em; }
.hero__visuals { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: clamp(10px, 1.4vw, 22px); font-family: var(--sans); font-weight: 300; font-size: clamp(13px, 1.7vw, 26px); letter-spacing: .62em; color: var(--ink-2); }
.hero__visuals-text { margin-right: -.62em; }
.hero__visuals i { display: block; width: clamp(28px, 5vw, 70px); height: 1px; background: var(--red); transform: scaleX(0); }
.hero__lead { margin: clamp(22px, 3vw, 40px) auto 0; max-width: 34ch; font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45; color: var(--ink-2); opacity: 0; }

.badge {
  position: absolute; left: 50%; bottom: 22px; z-index: 3;
  width: 132px; height: 132px; margin-left: -66px;
  display: grid; place-items: center; opacity: 0;
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform; }
.badge__ring text { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; fill: var(--ink-2); }
.badge__core { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--red); display: grid; place-items: center; transition: background .5s, transform .6s var(--ease-out); }
.badge:hover .badge__core { background: var(--red); transform: scale(1.12); }
.badge__arrow { font-size: 18px; animation: bob 2s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
.hero__meta { position: absolute; bottom: 40px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); opacity: 0; }
.hero__meta--l { left: var(--gutter); }
.hero__meta--r { right: var(--gutter); }

/* ---------- Crossed bands ---------- */
.bands { position: relative; height: clamp(260px, 30vw, 420px); overflow: hidden; background: var(--bg); display: grid; place-items: center; }
.band { position: absolute; left: -10vw; right: -10vw; padding: clamp(14px, 1.6vw, 24px) 0; overflow: hidden; }
.band--a { background: var(--red); color: #fff; transform: rotate(-4deg); z-index: 2; box-shadow: 0 20px 60px rgba(0, 0, 0, .55); }
.band--b { background: #e9e5de; color: var(--bg); transform: rotate(3.5deg); z-index: 1; }
.band__track { display: flex; width: max-content; gap: clamp(24px, 3vw, 48px); align-items: center; will-change: transform; }
.band__track span { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 72px); line-height: 1.1; white-space: nowrap; }
.band__track span:nth-of-type(2n) { font-style: italic; }
.band--b .band__track span:nth-of-type(2n) { color: var(--red-deep); }
.band__track b { font-size: clamp(16px, 1.6vw, 24px); font-weight: 400; }
.band--a .band__track b { color: var(--bg); }
.band--b .band__track b { color: var(--red); }

/* ---------- Zoom scene ---------- */
.zoom { position: relative; background: var(--bg); }
.zoom__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.zoom__media { position: absolute; inset: 0; clip-path: inset(28% 36% 28% 36%); will-change: clip-path; }
.zoom__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.5); }
.zoom__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7, 7, 7, .15), rgba(7, 7, 7, .75)); opacity: 0; }
.zoom__words { position: relative; z-index: 3; display: flex; justify-content: center; gap: 22vw; width: 100%; pointer-events: none; mix-blend-mode: difference; }
.zoom__w { font-family: var(--serif); font-size: clamp(54px, 10vw, 180px); line-height: 1; white-space: nowrap; color: #fff; }
.zoom__w em { color: #fff; font-style: italic; }
.zoom__caption { position: absolute; z-index: 4; left: 0; right: 0; bottom: 12vh; text-align: center; opacity: 0; padding: 0 var(--gutter); }
.zoom__caption .eyebrow { justify-content: center; color: var(--ink); }
.zoom__text { margin: 0; font-family: var(--serif); font-size: clamp(34px, 5vw, 76px); line-height: 1.05; }
.zoom__text em { color: var(--red); }

/* ---------- Gallery intro / categories ---------- */
.section__head { display: flex; flex-direction: column; margin-bottom: clamp(56px, 8vw, 110px); max-width: 1100px; }
.cats { display: flex; gap: 14px; height: min(78vh, 760px); }
.cat {
  position: relative; flex: 1; min-width: 0; overflow: hidden; isolation: isolate;
  transition: flex 1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.cats:hover .cat { flex: .8; }
.cats .cat:hover { flex: 1.9; }
.cat__media { position: absolute; inset: 0; z-index: -2; }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease-out), filter 1s; filter: grayscale(.6) brightness(.72); }
.cat:hover .cat__media img { transform: scale(1.02); filter: grayscale(0) brightness(.85); }
.cat__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7, 7, 7, .92) 0%, rgba(7, 7, 7, .25) 50%, rgba(7, 7, 7, .1) 100%); }
.cat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.cat:hover::after { transform: scaleX(1); }
.cat__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: clamp(22px, 2.6vw, 40px); }
.cat__num { margin-bottom: auto; font-size: 11px; letter-spacing: .3em; color: var(--red); font-weight: 600; }
.cat__title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.4vw, 58px); line-height: .98; white-space: nowrap; }
.cat__text {
  margin: 0; max-width: 34ch; color: var(--ink-2); font-size: 14px;
  max-height: 0; opacity: 0; transform: translateY(14px);
  transition: max-height .9s var(--ease), opacity .6s, transform .8s var(--ease-out), margin .9s var(--ease);
}
.cat:hover .cat__text { max-height: 120px; opacity: 1; transform: none; margin-top: 16px; }
.cat__more { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.arrow { display: inline-block; color: var(--red); transition: transform .5s var(--ease); }
.cat:hover .arrow, .duo__row:hover .arrow { transform: translateX(8px); }
.duo__row:hover .arrow { transform: translate(5px, -5px); }

/* ---------- Video ---------- */
.video { background: var(--bg); }
.video__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.video__frame { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; }
.video__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.video__frame:hover img { transform: scale(1); }
.video__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 7, 7, .55), transparent 40%); }
.video__rec { position: absolute; z-index: 2; top: 22px; left: 24px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.video__rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.video__corners i { position: absolute; z-index: 2; width: 26px; height: 26px; border: 0 solid rgba(255, 255, 255, .8); transition: transform .7s var(--ease-out); }
.video__corners i:nth-child(1) { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.video__corners i:nth-child(2) { top: 12px; right: 12px; border-top-width: 1px; border-right-width: 1px; }
.video__corners i:nth-child(3) { bottom: 12px; left: 12px; border-bottom-width: 1px; border-left-width: 1px; }
.video__corners i:nth-child(4) { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }
.video__frame:hover .video__corners i:nth-child(1) { transform: translate(8px, 8px); }
.video__frame:hover .video__corners i:nth-child(2) { transform: translate(-8px, 8px); }
.video__frame:hover .video__corners i:nth-child(3) { transform: translate(8px, -8px); }
.video__frame:hover .video__corners i:nth-child(4) { transform: translate(-8px, -8px); }
.video__play { position: absolute; z-index: 2; right: 24px; bottom: 24px; width: 120px; height: 120px; display: grid; place-items: center; }
.video__play svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 12s linear infinite; }
.video__play text { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .1em; fill: #fff; }
.video__play b { width: 54px; height: 54px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 16px; padding-left: 3px; color: #fff; transition: transform .6s var(--ease-out); }
.video__frame:hover .video__play b { transform: scale(1.15); }
@keyframes spin { to { transform: rotate(360deg); } }
.video__lead { margin: 34px 0 26px; max-width: 42ch; color: var(--ink-2); }
.video__list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); }
.video__list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); display: flex; gap: 16px; align-items: baseline; }
.video__list li::before { content: "✦"; color: var(--red); font-size: 12px; }
@media (max-width: 900px) {
  .video__grid { grid-template-columns: 1fr; }
  .video__play { width: 96px; height: 96px; right: 16px; bottom: 16px; }
}

/* ---------- About ---------- */
.about { background: var(--bg-2); }
.about__statement {
  margin: 0 0 clamp(80px, 10vw, 140px);
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 4.3vw, 70px); line-height: 1.12;
  max-width: 22ch;
}
.about__statement .w { opacity: .14; transition: opacity .3s; }
.no-js .about__statement .w, .reduced .about__statement .w { opacity: 1; }

.duo { position: relative; border-top: 1px solid var(--line); }
.duo__row {
  position: relative; display: grid; grid-template-columns: 90px 1fr auto auto; align-items: center; gap: 28px;
  padding: clamp(26px, 3.2vw, 44px) 0; border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.duo__row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(200, 32, 42, .12), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); z-index: 0; }
.duo__row:hover::before { transform: scaleX(1); }
.duo__row > * { position: relative; z-index: 1; }
.duo__letter { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--red); font-weight: 300; }
.duo__name { font-family: var(--serif); font-size: clamp(34px, 5vw, 84px); line-height: 1; font-weight: 300; transition: transform .8s var(--ease), font-style .3s; }
.duo__row:hover .duo__name { transform: translateX(20px); font-style: italic; }
.duo__role, .duo__ig { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); }
.duo__preview {
  position: fixed; top: 0; left: 0; z-index: 60; width: 240px; aspect-ratio: 3/4; pointer-events: none; overflow: hidden;
  opacity: 0; transform: scale(.7); transition: opacity .4s, transform .6s var(--ease-out);
}
.duo__preview.is-visible { opacity: 1; transform: scale(1); }
.duo__preview img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* ---------- Works (horizontal) ---------- */
.works { position: relative; background: var(--bg); }
.works__pin { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.works__head { position: absolute; top: calc(var(--nav-h) + 10px); left: var(--gutter); z-index: 2; pointer-events: none; }
.works__head .display { font-size: clamp(38px, 5vw, 80px); }
.works__progress { margin-top: 26px; width: 160px; height: 1px; background: var(--line); }
.works__progress i { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.works__track { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 32px); padding: 0 var(--gutter) 0 max(var(--gutter), 34vw); margin-top: 12vh; will-change: transform; }
.work { position: relative; flex: 0 0 auto; height: 58vh; aspect-ratio: 2 / 3; overflow: hidden; }
.work--wide { aspect-ratio: 3 / 2; }
.work:nth-child(odd) { height: 50vh; }
.work img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.2s var(--ease-out), filter .8s; filter: grayscale(.35); }
.work:hover img { transform: scale(1.03); filter: none; }
.work > span { position: absolute; left: 16px; bottom: 14px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .5s var(--ease-out); }
.work:hover > span { opacity: 1; transform: none; }
.work--end { aspect-ratio: auto; width: min(380px, 70vw); display: grid; place-items: center; border: 1px solid var(--line); transition: background .6s, border-color .6s; }
.work--end:hover { background: var(--red-deep); border-color: var(--red-deep); }
.work__end-text { font-family: var(--serif); font-size: clamp(40px, 4vw, 64px); line-height: 1; text-align: center; font-weight: 300; }
.work__end-text em { color: var(--red); transition: color .4s; }
.work--end:hover em { color: var(--ink); }
.work__end-text b { display: block; font-family: var(--sans); font-weight: 300; font-size: 26px; margin-top: 18px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.contact__lead { margin: 34px 0 48px; max-width: 38ch; color: var(--ink-2); }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact__list li { display: grid; gap: 2px; }
.contact__list small { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.contact__list a, .contact__list span { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; width: fit-content; }
.link-under { background: linear-gradient(var(--red), var(--red)) left bottom / 0 1px no-repeat; transition: background-size .6s var(--ease), color .3s; }
.link-under:hover { background-size: 100% 1px; }

.form { display: grid; gap: 34px; padding-top: 52px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  color: var(--ink); font: 400 18px/1.5 var(--sans); padding: 26px 0 12px; outline: none; resize: vertical;
}
.field textarea { min-height: 130px; }
.field label {
  position: absolute; left: 0; top: 26px; pointer-events: none;
  font-size: 15px; color: var(--ink-3); transform-origin: left top;
  transition: transform .5s var(--ease-out), color .3s, letter-spacing .5s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-26px) scale(.72); color: var(--ink-2); letter-spacing: .14em; text-transform: uppercase;
}
.field__line { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.field input:focus ~ .field__line, .field textarea:focus ~ .field__line { transform: scaleX(1); }
.field.is-invalid .field__line { transform: scaleX(1); background: #ff4d55; }
.field.is-invalid label { color: #ff6b72; }

.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; padding: 0; margin-bottom: 14px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  transition: background .4s, border-color .4s, color .4s; cursor: pointer;
}
.chip:hover span { border-color: rgba(235, 231, 224, .4); }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 18px;
  padding: 22px 38px; border: 1px solid var(--red); border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  clip-path: inset(0 round 999px);
}
.btn__fill { position: absolute; inset: 0; z-index: -1; background: var(--red); border-radius: 50%; transform: translateY(100%) scale(1.4); transition: transform .7s var(--ease), border-radius .7s var(--ease); }
.btn:hover .btn__fill { transform: translateY(0) scale(1.4); border-radius: 0; }
.btn__arrow { transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(6px); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.form__status { margin: 0; font-size: 13px; color: var(--ink-2); max-width: 36ch; }
.form__status.is-ok { color: #e9e5de; }
.form__status.is-err { color: #ff6b72; }

/* ---------- Footer ---------- */
.footer { padding: clamp(80px, 10vw, 140px) var(--gutter) 34px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big {
  font-family: var(--serif); font-weight: 300; line-height: .82;
  font-size: clamp(80px, 17vw, 300px); letter-spacing: -.01em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(235, 231, 224, .28);
  transition: color .8s;
}
.footer__big em { -webkit-text-stroke: 1px var(--red); font-style: normal; }
.footer__big:hover { color: rgba(235, 231, 224, .06); }
.footer__vis { font-style: italic; }
.footer__row { margin-top: 56px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { transition: color .3s; }
.footer__links a:hover { color: var(--red); }

/* ---------- Reveal helpers ---------- */
.reveal-up { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal-up.is-in { opacity: 1; transform: none; }
.split-lines .line-wrap { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-lines .line-inner { display: block; transform: translateY(110%); transition: transform 1.3s var(--ease-out); }
.split-lines.is-in .line-inner { transform: none; }
.split-lines.is-in .line-wrap:nth-child(2) .line-inner { transition-delay: .09s; }
.split-lines.is-in .line-wrap:nth-child(3) .line-inner { transition-delay: .18s; }
.no-js .reveal-up, .no-js .split-lines .line-inner,
.reduced .reveal-up, .reduced .split-lines .line-inner { opacity: 1; transform: none; }
.reduced .tile, .reduced .tile img { opacity: 1; transform: none; }

/* Fallback when animation libraries are unavailable or motion is reduced */
.no-anim .hero__img { clip-path: none; }
.no-anim .hero__img img { transform: none; }
.no-anim .hero__portrait figcaption, .no-anim .hero__eyebrow, .no-anim .hero__lead,
.no-anim .badge, .no-anim .hero__meta { opacity: 1; }
.no-anim .zoom__media { clip-path: none; }
.no-anim .zoom__media img { transform: none; }
.no-anim .zoom__caption, .no-anim .zoom__shade { opacity: 1; }
.no-anim .zoom__words { display: none; }
.no-anim .hero__visuals i { transform: none; }
.no-anim .hero__ring-red { stroke-dashoffset: 1100; }

/* ==========================================================
   GALERIJA (galerija.html)
   ========================================================== */
.g-hero { padding: calc(var(--nav-h) + clamp(60px, 9vw, 120px)) var(--gutter) clamp(40px, 5vw, 70px); position: relative; }
.g-back { display: inline-flex; gap: 12px; align-items: center; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 40px; transition: color .3s; }
.g-back:hover { color: var(--ink); }
.g-back .arrow { transition: transform .5s var(--ease); }
.g-back:hover .arrow { transform: translateX(-6px); }
.g-title { position: relative; overflow: hidden; padding-bottom: .16em; margin-bottom: -.1em; }
.g-title .display { font-size: clamp(56px, 11vw, 190px); line-height: .9; }
.g-title__inner { display: block; }
.g-title.is-anim .g-title__inner { transition: transform .9s var(--ease), opacity .6s; }
.g-title.is-out .g-title__inner { transform: translateY(-105%); opacity: 0; }
.g-title.is-pre .g-title__inner { transform: translateY(105%); opacity: 0; transition: none; }
.g-desc { margin: 26px 0 0; color: var(--ink-2); max-width: 46ch; min-height: 3.4em; transition: opacity .5s; }
.g-desc.is-out { opacity: 0; }

.tabs {
  position: sticky; top: 0; z-index: 50;
  display: flex; gap: clamp(18px, 4vw, 56px); align-items: center;
  padding: 0 var(--gutter); height: 74px;
  background: rgba(7, 7, 7, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.page-gallery .tabs { top: var(--nav-h); }
.page-gallery.nav-hidden .tabs { top: 0; }
.tabs { transition: top .6s var(--ease); }
.tab { position: relative; padding: 10px 0; white-space: nowrap; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); transition: color .4s; display: inline-flex; gap: 10px; align-items: baseline; }
.tab sup { font-size: 9px; color: var(--red); letter-spacing: .1em; }
.tab:hover { color: var(--ink-2); }
.tab.is-active { color: var(--ink); }
.tabs__ink { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--red); transition: transform .7s var(--ease), width .7s var(--ease); }

.grid { display: flex; gap: clamp(10px, 1.4vw, 22px); padding: clamp(26px, 3vw, 44px) var(--gutter) clamp(90px, 10vw, 150px); align-items: flex-start; }
.grid__col { flex: 1; display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 22px); min-width: 0; }
.tile {
  position: relative; overflow: hidden; display: block; width: 100%; background: var(--bg-3);
  opacity: 0; transform: translateY(48px);
  transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out);
}
.tile.is-in { opacity: 1; transform: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.6s var(--ease-out), filter .8s, opacity .8s; opacity: 0; }
.tile img.is-loaded { opacity: 1; }
.tile.is-in img { transform: scale(1.001); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .5s; pointer-events: none; }
.tile:hover::after { border-color: rgba(200, 32, 42, .7); }
.tile__n { position: absolute; left: 14px; bottom: 12px; font-size: 10px; letter-spacing: .26em; opacity: 0; transform: translateY(8px); transition: .5s var(--ease-out); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.tile:hover .tile__n { opacity: 1; transform: none; }
.grid.is-leaving .tile { opacity: 0; transform: translateY(-30px); transition-duration: .6s; }

.g-end { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 90px) var(--gutter) clamp(30px, 4vw, 60px); display: grid; gap: clamp(18px, 2vw, 28px); }
.g-end small { display: block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }

.g-end__next {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  min-height: clamp(280px, 42vw, 520px); padding: clamp(24px, 4vw, 56px);
  overflow: hidden; isolation: isolate; border: 1px solid var(--line);
}
.g-end__bg { position: absolute; inset: 0; z-index: -1; }
.g-end__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.08); filter: grayscale(.7) brightness(.45); transition: transform 1.6s var(--ease-out), filter 1s; }
.g-end__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 7, 7, .9), rgba(7, 7, 7, .1) 65%); }
.g-end__next:hover .g-end__bg img { transform: scale(1); filter: grayscale(0) brightness(.6); }
.g-end__title { display: block; margin-top: 14px; font-family: var(--serif); font-size: clamp(42px, 7vw, 120px); line-height: .95; transition: transform .9s var(--ease); }
.g-end__title em { color: var(--red); }
.g-end__next:hover .g-end__title { transform: translateX(14px); }

.g-end__circle {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(235, 231, 224, .35);
  display: grid; place-items: center; font-size: 20px;
  transition: background .5s, border-color .5s, transform .7s var(--ease-out);
}
.g-end__circle--big { width: clamp(72px, 8vw, 110px); height: clamp(72px, 8vw, 110px); font-size: clamp(22px, 2.4vw, 32px); border-color: var(--red); }
.g-end__next:hover .g-end__circle--big { background: var(--red); transform: rotate(-45deg) scale(1.06); }

.g-end__home { display: flex; align-items: center; gap: 22px; padding: clamp(20px, 2.4vw, 30px) clamp(20px, 3vw, 40px); border: 1px solid var(--line); transition: border-color .5s, background .5s; }
.g-end__home-text { font-family: var(--serif); font-size: clamp(26px, 3vw, 44px); line-height: 1.1; }
.g-end__home-text small { margin-bottom: 6px; font-family: var(--sans); font-size: 10px; color: var(--ink-3); }
.g-end__home-text em { color: var(--red); }
.g-end__home:hover { border-color: rgba(200, 32, 42, .6); background: rgba(200, 32, 42, .06); }
.g-end__home:hover .g-end__circle { background: var(--red); border-color: var(--red); transform: translateX(-6px); }
@media (max-width: 560px) {
  .g-end__next { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .g-end__circle--big { position: absolute; top: 22px; right: 22px; width: 64px; height: 64px; }
}

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; visibility: hidden; pointer-events: none; }
.lb.is-open { visibility: visible; pointer-events: all; }
.lb__bg { position: absolute; inset: 0; background: rgba(5, 5, 5, .96); opacity: 0; transition: opacity .6s; }
.lb.is-open .lb__bg { opacity: 1; }
.lb__stage { position: relative; width: 100vw; height: 100vh; height: 100dvh; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); padding: 76px clamp(16px, 7vw, 120px) 90px; }
.lb__img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; opacity: 0; transform: scale(.96); transition: opacity .5s, transform .8s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.lb__img.is-ready { opacity: 1; transform: none; }
.lb__img.go-left { opacity: 0; transform: translateX(-40px); transition-duration: .3s; }
.lb__img.go-right { opacity: 0; transform: translateX(40px); transition-duration: .3s; }
.lb__bar { position: absolute; top: 0; left: 0; right: 0; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); opacity: 0; transition: opacity .6s .2s; }
.lb.is-open .lb__bar, .lb.is-open .lb__nav { opacity: 1; }
.lb__count b { color: var(--ink); font-weight: 500; }
.lb__close { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; }
.lb__close i { position: relative; width: 22px; height: 22px; }
.lb__close i::before, .lb__close i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--ink); transform: rotate(45deg); transition: transform .5s var(--ease), background .3s; }
.lb__close i::after { transform: rotate(-45deg); }
.lb__close:hover i::before { transform: rotate(135deg); background: var(--red); }
.lb__close:hover i::after { transform: rotate(45deg); background: var(--red); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 18px; opacity: 0; transition: opacity .6s .2s, background .4s, border-color .4s; }
.lb__nav:hover { background: var(--red); border-color: var(--red); }
.lb__prev { left: var(--gutter); }
.lb__next { right: var(--gutter); }
.lb__strip { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.lb__strip i { display: block; height: 100%; background: var(--red); transition: width .6s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1fr; grid-template-areas: "c c" "l r"; align-content: center; row-gap: 48px; padding-bottom: 170px; }
  .hero__center { grid-area: c; }
  .hero__portrait--left { grid-area: l; margin-top: 0; justify-self: end; width: min(100%, 300px); }
  .hero__portrait--right { grid-area: r; margin-top: 60px; justify-self: start; width: min(100%, 300px); }
  .hero__meta { display: none; }
  .cats { flex-direction: column; height: auto; }
  .cat, .cats:hover .cat, .cats .cat:hover { flex: none; height: 62vh; min-height: 420px; }
  .cat__text { max-height: 120px; opacity: 1; transform: none; margin-top: 14px; }
  .contact__grid { grid-template-columns: 1fr; }
  .form { padding-top: 0; }
}
@media (max-width: 820px) {
  :root { --nav-h: 70px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .duo__row { grid-template-columns: 52px 1fr; gap: 6px 16px; }
  .duo__letter { font-size: 44px; grid-row: span 2; }
  .duo__role { display: none; }
  .duo__preview { display: none; }
  .works__pin { height: auto; display: block; padding: clamp(100px, 16vw, 160px) 0 80px; }
  .works__head { position: static; padding: 0 var(--gutter) 40px; }
  .works__track { padding: 0 var(--gutter); margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: stretch; }
  .works__track::-webkit-scrollbar { display: none; }
  .work, .work:nth-child(odd) { height: 62vh; max-height: 520px; scroll-snap-align: center; }
  .work > span { opacity: 1; transform: none; }
  .works__progress { display: none; }
  .lb__nav { display: none; }
  .lb__stage { padding: 70px 12px 70px; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .hero { row-gap: 36px; gap: 14px; padding-top: calc(var(--nav-h) + 30px); }
  .hero__mark { font-size: 27vw; }
  .hero__visuals { letter-spacing: .5em; gap: 12px; }
  .hero__visuals-text { margin-right: -.5em; }
  .hero__portrait--right { margin-top: 44px; }
  .hero__portrait figcaption { flex-direction: column; gap: 2px; padding-top: 10px; font-size: 9px; }
  .hero__name { font-size: 17px; }
  .hero__portrait--left::before, .hero__portrait--right::before { display: none; }
  .badge { width: 112px; height: 112px; margin-left: -56px; bottom: 16px; }
  .zoom__words { flex-direction: column; align-items: center; gap: 30vh; }
  .cat__title { font-size: 40px; }
  .btn { width: 100%; justify-content: center; }
  .footer__links { gap: 18px; }
}

@media (hover: none) {
  .cat__text { max-height: 120px; opacity: 1; transform: none; margin-top: 14px; }
  .cat__media img { filter: grayscale(.2) brightness(.78); }
  .tile__n { opacity: 1; transform: none; }
}

/* Character split */
.chars .word { display: inline-block; white-space: nowrap; }
.chars .char { display: inline-block; will-change: transform; }
.chars-wrap { perspective: 900px; }
