/* =========================================================
   ZÈLE STUDIOS — cinematic site
   ========================================================= */
:root {
  --bg: #111918;
  --bg-2: #172120;
  --bg-3: #1d2826;
  --ink: #dac9b6;
  --ink-2: #f1e6d8;
  --muted: rgba(218, 201, 182, .62);
  --line: rgba(218, 201, 182, .14);
  --rust: #c9562c;
  --rust-2: #a14023;
  --teal: #2f7472;
  --gold: #c7a067;
  --ar: "Alexandria", system-ui, sans-serif;
  --en: "Righteous", "Alexandria", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(16px, 4vw, 64px);
  --radius: 22px;
}

*, *::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; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ar);
  font-weight: 300;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
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; }
::selection { background: var(--rust); color: var(--ink-2); }

.container { width: min(1280px, 100%); margin-inline: auto; padding-inline: var(--pad); position: relative; z-index: 2; }
.section { position: relative; padding-block: clamp(90px, 14vw, 180px); overflow: hidden; }
.muted { color: var(--muted); }
.hl { color: var(--rust); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--rust);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow em { font-style: normal; font-family: var(--mono); color: var(--muted); font-size: 12px; }

.display {
  font-size: clamp(34px, 5.6vw, 84px);
  line-height: 1.25; font-weight: 800; margin: 0 0 40px; color: var(--ink-2);
  letter-spacing: -.01em;
}

/* vertical side label like the profile */
.side-label {
  position: absolute; top: 50%; left: clamp(6px, 1.4vw, 26px); transform: translateY(-50%);
  writing-mode: vertical-rl; direction: ltr;
  font-family: var(--en); font-size: clamp(18px, 2vw, 30px); letter-spacing: .06em; line-height: 1;
  color: var(--ink); opacity: .85; white-space: nowrap; z-index: 3; pointer-events: none;
}
@media (max-width: 900px) { .side-label { display: none; } }

/* ---------- Overlays ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 90; pointer-events: none; opacity: .09;
  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 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); }
}
.vignette { position: fixed; inset: 0; z-index: 89; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%); }
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 120; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--rust)); transform-origin: right; transform: scaleX(0); }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 200; border-radius: 50%; }
.cursor {
  width: 42px; height: 42px; margin: -21px 0 0 -21px;
  border: 1px solid rgba(218, 201, 182, .55);
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--rust); }
.cursor__label { font-size: 12px; font-weight: 600; color: var(--bg); opacity: 0; transition: opacity .2s; }
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(201, 86, 44, .15); border-color: var(--rust); }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--ink); border-color: var(--ink); }
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: #0b100f; color: var(--ink);
}
.loader__leader { position: relative; width: min(56vmin, 360px); aspect-ratio: 1; display: grid; place-items: center; }
.loader__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__svg .ring { fill: none; stroke: var(--ink); stroke-width: 1.4; opacity: .7; }
.loader__svg .ring--thin { stroke-width: .6; opacity: .4; }
.loader__svg .cross { stroke: var(--ink); stroke-width: .5; opacity: .35; }
.loader__svg .sweep {
  fill: none; stroke: rgba(201, 86, 44, .55); stroke-width: 92;
  stroke-dasharray: 0 100; transform: rotate(-90deg); transform-origin: center;
}
.loader__num { position: relative; font-family: var(--en); font-size: min(26vmin, 170px); line-height: 1; color: var(--ink-2); text-shadow: 0 0 40px rgba(201,86,44,.4); }
.loader__meta {
  position: absolute; bottom: 36px; inset-inline: var(--pad);
  display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--muted);
  direction: ltr;
}
.loader__shutter { position: absolute; inset-inline: 0; height: 50.5%; background: #0b100f; z-index: -1; }
.loader__shutter--top { top: 0; }
.loader__shutter--bottom { bottom: 0; }
.loader.is-open { background: transparent; pointer-events: none; }
.loader.is-open .loader__shutter { z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 34px; border-radius: 999px; border: 1px solid var(--rust);
  color: var(--ink-2); font-weight: 600; font-size: 16px; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rust);
  border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn span { position: relative; display: inline-block; }
.btn--small { padding: 10px 22px; font-size: 14px; }
.btn--big { padding: 22px 48px; font-size: clamp(17px, 1.6vw, 22px); margin-top: 40px; background: var(--rust); }
.btn--big::before { background: var(--ink-2); }
.btn--big:hover { color: var(--bg); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  display: flex; align-items: center; gap: 32px;
  padding: 20px var(--pad);
  transition: transform .5s var(--ease), background .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(17, 25, 24, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { position: relative; display: block; width: 92px; padding-top: 9px; }
.nav__word { width: 100%; }
.nav__accent { position: absolute; top: 0; left: 50%; width: 14px; transform: translateX(-40%); transition: transform .5s var(--ease); }
.nav__logo:hover .nav__accent { transform: translateX(-40%) translateY(-4px) rotate(-14deg); }
.nav__links { display: flex; gap: 30px; margin-inline-start: auto; }
.nav__links a { position: relative; font-size: 15px; font-weight: 400; color: var(--muted); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; bottom: -4px; right: 0; width: 100%; height: 1px; background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink-2); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: right; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav__links, .nav .btn--small { display: none; }
  .nav__burger { display: block; margin-inline-start: auto; }
}

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease);
  visibility: hidden;
}
[dir="rtl"] .menu { clip-path: circle(0% at 40px 40px); }
.menu.is-open { clip-path: circle(150% at 40px 40px); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-size: clamp(32px, 9vw, 56px); font-weight: 800; color: var(--ink-2); display: flex; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .3s; }
.menu__links a i { font-family: var(--mono); font-style: normal; font-size: 13px; color: var(--rust); }
.menu__links a:hover { color: var(--rust); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .2s; } .menu.is-open .menu__links a:nth-child(2) { transition-delay: .26s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .32s; } .menu.is-open .menu__links a:nth-child(4) { transition-delay: .38s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .44s; } .menu.is-open .menu__links a:nth-child(6) { transition-delay: .5s; }
.menu__foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; color: var(--muted); font-size: 14px; }
.menu__rings { position: absolute; left: -120px; bottom: -120px; width: 420px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 30px rgba(47,116,114,.12), 0 0 0 70px rgba(201,86,44,.1), 0 0 0 120px rgba(47,116,114,.08); pointer-events: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; isolation: isolate; padding: 120px var(--pad) 90px;
}
.hero__bg { position: absolute; inset: -6%; background-size: cover; background-position: center; filter: brightness(2.6) saturate(.6) contrast(1.1); opacity: .5; z-index: -3; }
.hero__spot {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(circle 38vmax at var(--mx, 50%) var(--my, 45%), rgba(241, 220, 190, .10), transparent 65%),
              radial-gradient(ellipse at 50% 120%, rgba(201, 86, 44, .18), transparent 60%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(17,25,24,.55), rgba(17,25,24,.2) 40%, var(--bg) 100%); }

.hero__rings { position: absolute; inset: 0; display: grid; place-items: center; z-index: -1; pointer-events: none; }
.hero__rings span {
  grid-area: 1 / 1; border-radius: 50%; aspect-ratio: 1;
  border: 2px solid; opacity: 0;
  animation: ripple 7s linear infinite;
  filter: blur(.4px) drop-shadow(0 0 12px currentColor);
}
.hero__rings span:nth-child(odd) { color: rgba(201, 86, 44, .55); }
.hero__rings span:nth-child(even) { color: rgba(47, 116, 114, .65); }
.hero__rings span:nth-child(1) { animation-delay: 0s; } .hero__rings span:nth-child(2) { animation-delay: -1.4s; }
.hero__rings span:nth-child(3) { animation-delay: -2.8s; } .hero__rings span:nth-child(4) { animation-delay: -4.2s; }
.hero__rings span:nth-child(5) { animation-delay: -5.6s; }
@keyframes ripple {
  0% { width: 4vmin; opacity: 0; }
  15% { opacity: .9; }
  100% { width: 120vmax; opacity: 0; }
}

/* viewfinder */
.vf { position: absolute; inset: clamp(70px, 10vh, 100px) clamp(16px, 3vw, 44px) clamp(24px, 4vh, 44px); pointer-events: none; font-family: var(--mono); font-size: 12px; color: var(--ink); direction: ltr; }
.vf__c { position: absolute; width: 34px; height: 34px; border: 0 solid var(--ink); opacity: .8; }
.vf__c--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vf__c--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vf__c--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vf__c--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vf__rec { position: absolute; top: 14px; left: 50px; display: flex; align-items: center; gap: 8px; letter-spacing: .15em; }
.vf__rec b { width: 10px; height: 10px; border-radius: 50%; background: #e0412b; box-shadow: 0 0 10px #e0412b; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vf__tc { position: absolute; top: 14px; right: 50px; letter-spacing: .12em; }
.vf__info { position: absolute; bottom: 14px; left: 50px; display: flex; gap: 18px; opacity: .75; }
.vf__batt { position: absolute; bottom: 16px; right: 50px; display: flex; gap: 3px; padding: 3px; border: 1px solid var(--ink); opacity: .75; }
.vf__batt i { width: 6px; height: 9px; background: var(--ink); }
.vf__batt i:last-child { animation: blink 2s steps(2) infinite; }
.vf__center { position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; margin: -13px; opacity: .45; }
.vf__center::before, .vf__center::after { content: ""; position: absolute; background: var(--ink); }
.vf__center::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.vf__center::after { top: 50%; left: 0; right: 0; height: 1px; }
@media (max-width: 600px) { .vf__info span:nth-child(n+3) { display: none; } .vf__rec { left: 40px; } .vf__tc { right: 40px; } }

/* floating polaroids */
.float {
  position: absolute; margin: 0; padding: 8px; background: #e9dcc8; border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5); z-index: 1; will-change: transform;
}
.float img { border-radius: 8px; width: 100%; height: 100%; object-fit: cover; }
.float--1 { width: clamp(110px, 13vw, 200px); aspect-ratio: 1; top: 18%; right: 9%; rotate: 7deg; }
.float--2 { width: clamp(80px, 9vw, 140px); aspect-ratio: .5; bottom: 12%; right: 16%; rotate: -6deg; }
.float--3 { width: clamp(100px, 11vw, 170px); aspect-ratio: .67; top: 20%; left: 9%; rotate: -9deg; }
.float--4 { width: clamp(90px, 9vw, 150px); aspect-ratio: .8; bottom: 14%; left: 15%; rotate: 8deg; }
@media (max-width: 700px) {
  .float--1 { top: 17%; right: 5%; } .float--3 { top: 18%; left: 5%; }
  .hero__kicker { font-size: 10px; letter-spacing: .14em; gap: 8px; white-space: nowrap; }
  .float--2 { bottom: 9%; right: 6%; } .float--4 { bottom: 10%; left: 6%; }
}

.hero__content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .3em; color: var(--muted);
  display: flex; align-items: center; gap: 14px; margin: 0 0 34px; direction: ltr;
}
.hero__kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rust); }
.hero__logo { position: relative; margin: 0; width: min(560px, 74vw); display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2vw, 26px); }
.hero__accent { position: absolute; top: 0; left: 47.5%; width: 13.4%; transform-origin: 90% 100%; z-index: 2; }
.hero__word { display: block; width: 100%; margin-top: 10%; overflow: hidden; }
.hero__word img { width: 100%; }
.hero__studios { width: 100%; }
.hero__ar { width: 100%; }
.hero__tag { margin: clamp(26px, 4vw, 44px) 0 0; font-size: clamp(16px, 1.8vw, 22px); color: var(--ink); font-weight: 300; }
.hero__tag .ch { display: inline-block; }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; color: var(--muted);
}
.hero__scroll i { width: 1px; height: 54px; background: linear-gradient(var(--rust), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink-2); animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 5; overflow: hidden; background: var(--rust); color: var(--bg); padding: 16px 0; direction: ltr; }
.marquee--tilt { transform: rotate(-2.2deg) scale(1.04); margin-block: -10px 40px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 26s linear infinite; }
.marquee span { font-family: var(--en); font-size: clamp(28px, 4vw, 56px); line-height: 1; white-space: nowrap; }
.marquee span.ar { font-family: var(--ar); font-weight: 900; }
.marquee b { font-size: 22px; color: var(--ink-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- INTRO ---------- */
.intro__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.intro__lead { font-size: clamp(22px, 2.6vw, 38px); line-height: 1.75; font-weight: 500; color: var(--ink-2); margin: 0 0 50px; }
.scrub-words .w { opacity: .14; transition: none; }
.intro__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.intro__points li { display: flex; gap: 20px; align-items: flex-start; padding-top: 24px; border-top: 1px solid var(--line); }
.intro__points p { margin: 0; color: var(--muted); font-size: 16px; }
.ico { flex: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(201, 86, 44, .45); display: grid; place-items: center; color: var(--rust); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.intro__visual { position: relative; aspect-ratio: .95; }
.polaroid { position: absolute; margin: 0; padding: 12px; background: #e9dcc8; border-radius: 20px; box-shadow: 0 40px 80px rgba(0,0,0,.55); z-index: 2; transform-style: preserve-3d; }
.polaroid img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; }
.polaroid--a { width: 62%; aspect-ratio: 1; top: 0; right: 0; rotate: -4deg; }
.polaroid--b { width: 40%; aspect-ratio: .5; bottom: 0; left: 6%; rotate: 5deg; z-index: 3; }
.intro__rings { position: absolute; width: 90%; left: -16%; top: 18%; z-index: 1; opacity: .9; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__visual { max-width: 460px; width: 100%; margin-inline: auto; }
}

/* ---------- ABOUT ---------- */
.about { background: var(--bg-2); }
.about__img { position: absolute; inset: 0; z-index: 0; opacity: .35; mask-image: linear-gradient(90deg, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%); }
.about__img img { width: 60%; height: 120%; object-fit: cover; filter: grayscale(1) brightness(1.5) contrast(1.1); }
.about .display { max-width: 18ch; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.about__col > p { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.about__col strong { color: var(--ink-2); font-weight: 600; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 50px; }
.stat { padding: 26px 26px 22px; border: 1px solid var(--line); margin: -1px 0 0 -1px; position: relative; }
.stat b { display: block; font-family: var(--en); font-weight: 400; font-size: clamp(38px, 4.4vw, 62px); color: var(--ink-2); line-height: 1.1; direction: ltr; text-align: right; }
.stat > span { font-size: 14px; color: var(--muted); }
.stat::after { content: ""; position: absolute; top: 18px; left: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--rust); }
.values__title { font-size: 20px; font-weight: 600; color: var(--ink-2); margin: 0 0 16px; }
.values { list-style: none; padding: 0; margin: 0; }
.values li { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 400; color: var(--ink-2); transition: padding .4s var(--ease), color .3s; }
.values li:hover { padding-inline-start: 14px; color: var(--rust); }
.values li i { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--rust); }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } .about__img img { width: 100%; } }

/* ---------- PRODUCTION (horizontal) ---------- */
.prod { position: relative; background: var(--bg); }
.prod__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 96px 40px; overflow: hidden; }
.prod__head { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 34px; }
.prod__head .eyebrow { grid-column: 1 / -1; }
.prod__head .display { margin: 0; }
.prod__hint { font-family: var(--en); font-size: 16px; letter-spacing: .08em; color: var(--muted); display: flex; align-items: center; gap: 12px; direction: ltr; }
.prod__hint i { width: 60px; height: 1px; background: var(--rust); position: relative; }
.prod__hint i::after { content: ""; position: absolute; left: -2px; top: -4px; border: 4px solid transparent; border-right-color: var(--rust); transform: translateX(-6px); }
.prod__track { display: flex; gap: 0; padding-inline: var(--pad); width: max-content; will-change: transform; }

.frame {
  position: relative; flex: none; width: clamp(300px, 34vw, 470px);
  background: #0a0f0e; padding-inline: 18px; display: flex; flex-direction: column;
  border-inline: 1px solid #000;
}
.frame__holes { height: 30px; background: radial-gradient(circle at 50% 50%, var(--bg-3) 0 5px, transparent 6px) 0 50% / 26px 100% repeat-x; }
.frame__holes::before { content: ""; display: block; height: 100%; background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(218,201,182,.85) 7px 19px, transparent 19px 26px); mask: linear-gradient(transparent 32%, #000 32% 68%, transparent 68%); -webkit-mask: linear-gradient(transparent 32%, #000 32% 68%, transparent 68%); opacity: .9; border-radius: 3px; }
.frame__body {
  position: relative; flex: 1; min-height: clamp(330px, 50vh, 500px);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border-radius: 10px; padding: 30px 28px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: background .5s;
}
.frame__body::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(201,86,44,.18), transparent 50%); opacity: 0; transition: opacity .5s; }
.frame:hover .frame__body::before { opacity: 1; }
.frame__no { unicode-bidi: isolate; font-family: var(--mono); font-size: 12px; color: var(--rust); letter-spacing: .2em; direction: ltr; text-align: left; }
.frame__art { width: 120px; height: 120px; object-fit: contain; margin: 10px 0 18px; transition: transform .7s var(--ease); filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.frame__art { animation: bob 4s ease-in-out infinite; }
.frame:nth-child(2n) .frame__art { animation-delay: -2s; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.frame__art--tall { width: 90px; height: 140px; margin-block: 0 8px; }
.frame:hover .frame__art { transform: scale(1.1) rotate(-6deg); }
.frame h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; color: var(--ink-2); margin: 0 0 16px; line-height: 1.5; }
.frame ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.frame li { position: relative; padding-inline-start: 22px; font-size: 15px; color: var(--muted); line-height: 1.8; }
.frame li::before { content: "❖"; position: absolute; right: 0; top: 0; color: var(--rust); font-size: 11px; }
.frame--chair .frame__body { justify-content: flex-end; align-items: flex-start; }
.frame__chair { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: brightness(2.2) grayscale(.5); }
.frame__cta { position: relative; font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; color: var(--ink-2); line-height: 1.35; margin: 0 0 22px; }
.frame__cta span { color: var(--rust); }
.frame--chair .btn { position: relative; }

@media (max-width: 900px) {
  .prod__head { grid-template-columns: 1fr; gap: 10px; }
  .prod__track { width: 100%; flex-direction: column; gap: 22px; }
  .frame { width: 100%; }
  .frame__body { min-height: 0; }
  .frame--chair .frame__body { min-height: 360px; }
}

/* ---------- OUT OF THE BOX ---------- */
.otb { background: #0d1312; }
.otb__img { position: absolute; top: 0; bottom: 0; right: 0; width: 46%; z-index: 0; overflow: hidden; }
.otb__img img { width: 100%; height: 115%; object-fit: cover; filter: brightness(1.9) saturate(1.2); }
.otb__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(13,19,18,.2), #0d1312 95%), linear-gradient(0deg, #0d1312, transparent 25%, transparent 75%, #0d1312); }
.otb__inner { padding-inline-start: max(var(--pad), 30%); }
.otb__big { font-family: var(--en); font-weight: 400; font-size: clamp(56px, 11vw, 170px); line-height: .92; margin: 0 0 50px; color: var(--ink-2); display: flex; flex-direction: column; direction: ltr; text-align: left; }
.otb__big .outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.otb__big span { display: block; will-change: transform; }
.otb__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dept {
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: rgba(29, 40, 38, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); transform-style: preserve-3d; overflow: hidden;
}
.dept::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(201,86,44,.16), transparent 40%); pointer-events: none; }
.dept__tag { font-family: var(--mono); font-size: 12px; color: var(--rust); }
.dept h3 { font-size: clamp(22px, 2.2vw, 30px); color: var(--ink-2); margin: 8px 0 16px; font-weight: 800; }
.dept h3 small { font-family: var(--en); font-weight: 400; font-size: .7em; color: var(--muted); }
.dept p { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.dept strong { color: var(--ink-2); font-weight: 600; }
.otb__quote { margin: 70px 0 0; font-size: clamp(26px, 3.6vw, 52px); font-weight: 800; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 900px) {
  .otb__img { width: 100%; opacity: .45; }
  .otb__inner { padding-inline-start: var(--pad); }
  .otb__cards { grid-template-columns: 1fr; }
}

/* ---------- SERVICES ---------- */
.services__head { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.sign { position: relative; width: clamp(140px, 18vw, 250px); flex: none; animation: swing 5s ease-in-out infinite; transform-origin: 50% 0; }
.sign img { position: relative; z-index: 1; animation: flicker 4s infinite; }
.sign__glow { position: absolute; inset: 10%; border-radius: 50%; background: rgba(255, 170, 60, .35); filter: blur(40px); animation: flicker 4s infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; filter: brightness(1.1); }
  20%, 24%, 55% { opacity: .55; filter: brightness(.6); }
}
.tabs { position: relative; display: inline-flex; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; margin: 20px 0 30px; }
.tab { position: relative; z-index: 1; padding: 12px 24px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .4s; }
.tab.is-active { color: var(--bg); }
.tabs__ink { position: absolute; top: 6px; bottom: 6px; border-radius: 999px; background: var(--ink); transition: left .55s var(--ease), width .55s var(--ease); }
.slist { list-style: none; margin: 0; padding: 0; display: none; }
.slist.is-active { display: block; }
.slist li {
  position: relative; display: flex; align-items: center; gap: 28px;
  padding: 24px 6px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
  font-size: clamp(17px, 2vw, 26px); font-weight: 400; color: var(--ink-2);
  transition: color .45s var(--ease), padding .45s var(--ease);
}
.slist li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rust); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.slist li:hover { padding-inline: 26px; color: var(--ink-2); }
.slist li:hover::before { transform: scaleY(1); }
.slist li i { font-family: var(--mono); font-style: normal; font-size: 13px; color: var(--rust); transition: color .3s; min-width: 26px; }
.slist li:hover i { color: var(--bg); }
.slist li::after { content: "←"; margin-inline-start: auto; font-size: 22px; opacity: 0; transform: translateX(20px); transition: opacity .4s, transform .5s var(--ease); }
.slist li:hover::after { opacity: 1; transform: none; }
@media (max-width: 600px) { .services__head { flex-direction: column-reverse; align-items: flex-start; } .sign { align-self: center; } .tab { padding: 10px 14px; font-size: 13px; } }

/* ---------- PROJECTS ---------- */
.projects { background: var(--bg-2); }
.projects__head { margin-bottom: 60px; }
.projects__head .display { margin-bottom: 14px; }
.strips { display: grid; gap: 0; transform: rotate(-3deg) scale(1.08); margin-block: 40px; }
.strip { background: #070a0a; padding: 26px 0; overflow: hidden; direction: ltr; position: relative; }
.strip::before, .strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 10px; z-index: 2;
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(218,201,182,.75) 10px 24px, transparent 24px 34px);
  border-radius: 2px;
}
.strip::before { top: 8px; } .strip::after { bottom: 8px; }
.strip__track { display: flex; gap: 10px; width: max-content; will-change: transform; }
.shot {
  position: relative; flex: none; height: clamp(140px, 17vw, 250px); border-radius: 6px; overflow: hidden; cursor: pointer;
  background: #000; margin: 0;
}
.shot img { height: 100%; width: auto; object-fit: cover; transition: transform .8s var(--ease), filter .6s; filter: saturate(.85) brightness(.9); }
.shot:hover img { transform: scale(1.08); filter: saturate(1.1) brightness(1.05); }
.shot::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(199, 160, 103, .45); border-radius: inherit; pointer-events: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(5, 8, 8, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; padding: 60px 70px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: min(1200px, 100%); max-height: 78vh; border-radius: 10px; box-shadow: 0 40px 100px rgba(0,0,0,.7); transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .2em; direction: ltr; }
.lightbox__close { position: absolute; top: 20px; left: 24px; font-size: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); font-size: 30px; line-height: 1; transition: background .3s; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--rust); }
.lightbox__nav--prev { right: 14px; } .lightbox__nav--next { left: 14px; }

/* ---------- CLIENTS ---------- */
.clients__head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 60px; }
.clients__head .display { margin-bottom: 14px; }
.clients__head p { max-width: 62ch; }
.logos { display: grid; gap: 22px; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__row { overflow: hidden; }
.logos__track { display: flex; gap: 22px; width: max-content; will-change: transform; }
.logo-c {
  flex: none; width: clamp(86px, 9vw, 124px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.logo-c img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.logo-c:hover { transform: translateY(-8px) scale(1.08); box-shadow: 0 0 0 4px var(--rust), 0 20px 40px rgba(0,0,0,.45); }

/* ---------- CONTACT ---------- */
.contact { min-height: 100svh; display: grid; align-items: center; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: brightness(2.4) grayscale(.4); opacity: .35; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg), rgba(17,25,24,.6) 30%, rgba(17,25,24,.8)); }
.hero__rings--contact { z-index: -1; opacity: .6; }
.contact__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.contact__title { font-size: clamp(40px, 6vw, 92px); font-weight: 900; line-height: 1.2; color: var(--ink-2); margin: 0 0 18px; }
.contact__links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.clink {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(29,40,38,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .4s, transform .4s var(--ease), background .4s;
}
.clink:hover { border-color: var(--rust); transform: translateY(-4px); background: rgba(201,86,44,.12); }
.clink__ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #5d5340; display: grid; place-items: center; color: var(--ink-2); }
.clink__ico svg { width: 22px; height: 22px; fill: currentColor; }
.clink__txt { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.clink__txt small { font-size: 12px; color: var(--muted); }
.clink__txt b { font-weight: 500; font-size: 15px; color: var(--ink-2); overflow-wrap: anywhere; }

/* clapperboard */
.clap { width: min(420px, 100%); justify-self: center; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); direction: ltr; }
.clap__top {
  height: 58px; border-radius: 8px 8px 2px 2px; display: flex; overflow: hidden; background: #0c0c0c;
  transform-origin: 4% 100%; transform: rotate(-24deg); border: 2px solid #0c0c0c;
}
.clap__top i { flex: 1; background: var(--ink-2); transform: skewX(-30deg); margin-inline: 12px; }
.clap__top i:nth-child(even) { background: var(--rust); }
.clap__body { margin-top: 4px; background: #0c0c0c; border-radius: 4px 4px 12px 12px; padding: 22px; font-family: var(--mono); color: var(--ink-2); border: 2px solid #2a2a2a; }
.clap__row { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 2px solid rgba(241,230,216,.6); font-size: 12px; letter-spacing: .15em; gap: 10px; }
.clap__row:last-child { border-bottom: 0; }
.clap__row > b { font-size: clamp(16px, 2vw, 22px); letter-spacing: .1em; font-weight: 700; color: var(--ink-2); }
.clap__row > b.ar { font-family: var(--ar); color: var(--rust); letter-spacing: 0; }
.clap__row--3 > span { flex: 1; display: flex; flex-direction: column; text-align: center; border-inline-end: 2px solid rgba(241,230,216,.6); }
.clap__row--3 > span:last-child { border: 0; }
.clap__row--3 b { font-size: clamp(24px, 3vw, 34px); color: var(--ink-2); line-height: 1.2; }
@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; }
  .clap { max-width: 320px; }
}
@media (max-width: 560px) { .contact__links { grid-template-columns: 1fr; } .btn--big { width: 100%; } }

/* ---------- FOOTER ---------- */
.footer { position: relative; overflow: hidden; padding: 40px 0 30px; border-top: 1px solid var(--line); background: #0b100f; }
.footer__big {
  font-family: var(--en); font-size: clamp(110px, 30vw, 460px); line-height: .8; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(218,201,182,.18); letter-spacing: .02em; user-select: none;
  margin-bottom: 30px; direction: ltr;
  background: linear-gradient(90deg, var(--rust), var(--teal)) no-repeat;
  background-size: var(--fill, 0%) 100%; -webkit-background-clip: text; background-clip: text;
}
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer__row p { margin: 0; }
.footer__ar { width: 260px; opacity: .8; }
.footer__top:hover { color: var(--rust); }

/* ---------- Reveal helpers (JS adds) ---------- */
.split-lines .line { display: block; overflow: hidden; padding-bottom: .06em; }
.split-lines .line > span { display: inline-block; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .grain { display: none; }
  .scrub-words .w { opacity: 1; }
}
@media (max-width: 600px) {
  .lightbox { padding: 80px 12px 100px; }
  .lightbox__nav { top: auto; bottom: 24px; translate: 0 0; }
  .lightbox__nav--prev { right: calc(50% - 64px); } .lightbox__nav--next { left: calc(50% - 64px); }
}
