/* ==========================================================================
   KADRAJ MEDIA — hər şey göründüyü kimidir
   ========================================================================== */

:root {
  --red: #EF4F26;
  --red-deep: #D63F18;
  --red-soft: #FDEDE8;
  --ink: #0F0F10;
  --ink-2: #2A2A2D;
  --muted: #6E6E73;
  --line: #E7E5E1;
  --bg: #FFFFFF;
  --bg-soft: #F6F5F2;

  --f-display: "Montserrat", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); letter-spacing: -0.035em; line-height: .95; }
p { margin: 0; }
em { font-style: normal; color: var(--red); }
::selection { background: var(--red); color: #fff; }

/* film grain */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 9990; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 10000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.eye { width: 1em; height: 1em; color: var(--red); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg-b: var(--ink); --fg-b: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 28px; border-radius: 999px;
  background: var(--bg-b); color: var(--fg-b);
  font: 600 15px/1 var(--f-display); letter-spacing: -.01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--ease), color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fill, var(--red)); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: rotate(45deg); }
.btn--red { --bg-b: var(--red); --fill: var(--ink); }
.btn--ink { --bg-b: var(--ink); --fill: var(--red); }
.btn--ghost { --bg-b: transparent; --fg-b: var(--ink); --fill: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--sm { height: 46px; padding: 0 22px; font-size: 14px; }
.btn--full { width: 100%; justify-content: center; }

/* ---------- Preloader ---------- */
.loader, .flash { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; align-content: center; gap: clamp(22px, 4vh, 40px);
  background: radial-gradient(ellipse at 50% 45%, #1b1b1e 0%, #0a0a0b 55%, #000 100%); color: #fff;
}
.loader.is-done { display: none; }

/* lens body — real lens photo + CSS aperture blades */
.lens {
  --s: min(44vmin, 300px);
  position: relative; width: var(--s); aspect-ratio: 1; border-radius: 50%;
  transform: scale(.86); opacity: 0;
  animation: lensIn .9s cubic-bezier(.2,.8,.2,1) .1s forwards;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.75));
}
@keyframes lensIn { to { transform: none; opacity: 1; } }
.lens__photo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; clip-path: circle(49.4%); animation: focusPull 1.6s cubic-bezier(.4,0,.2,1) .1s both; }
@keyframes focusPull { 0% { filter: blur(3px) brightness(.7); } 100% { filter: none; } }
/* aperture blades sit over the front glass element */
.lens__iris { position: absolute; inset: 20%; border-radius: 50%; overflow: hidden; --open: -52%; }
.lens__iris i {
  position: absolute; left: -50%; bottom: 50%; width: 200%; height: 100%;
  background: linear-gradient(180deg, #08080a 0%, #18181b 86%, #34343a 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.1);
  transform-origin: 50% 100%;
  transform: rotate(calc(var(--i) * 45deg + 14deg)) translateY(var(--open));
  transition: transform .42s cubic-bezier(.65,0,.35,1);
}
.loader.is-close .lens__iris { --open: -3%; }
.lens__glare { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background: conic-gradient(from 200deg, transparent 0 18deg, rgba(255,255,255,.18) 26deg, transparent 38deg, transparent 180deg, rgba(150,120,255,.14) 194deg, transparent 210deg);
  -webkit-mask: radial-gradient(circle, #000 0 40%, transparent 41%); mask: radial-gradient(circle, #000 0 40%, transparent 41%);
  animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.loader__say { display: grid; justify-items: center; gap: 10px; margin: 0; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); animation: sayIn .6s ease .6s forwards; }
@keyframes sayIn { to { opacity: 1; transform: none; } }
.say__main { display: inline-flex; align-items: center; gap: 12px; margin-right: -.26em; font: 700 clamp(15px, 1.7vw, 19px) var(--f-display); letter-spacing: .26em; color: #fff; }
.say__sub { display: inline-flex; align-items: center; gap: 8px; margin-right: -.42em; font: 500 clamp(10px, 1vw, 12px) var(--f-mono); letter-spacing: .42em; color: rgba(255,255,255,.55); }
.say__sub .rec-dot { width: 7px; height: 7px; }

/* smiley: neutral → smile, then a wink-blink */
.smile { width: 1.5em; height: 1.5em; flex: none; color: var(--red); overflow: visible; }
.smile__face { fill: none; stroke: currentColor; stroke-width: 1.8; }
.smile__eyes circle { fill: currentColor; }
.smile__eyes { transform-box: view-box; transform-origin: 12px 9.6px; animation: blinkEye .3s ease 1.9s 1 both; }
.smile__mouth { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
  transform-box: view-box; transform-origin: 12px 14.2px; transform: scaleY(0);
  animation: smileOn .55s cubic-bezier(.34,1.7,.5,1) 1.15s forwards; }
@keyframes smileOn { to { transform: scaleY(1); } }
@keyframes blinkEye { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.12); } }
.smile { animation: smilePop .55s cubic-bezier(.34,1.7,.5,1) 1.15s both; }
@keyframes smilePop { 0% { transform: rotate(0) scale(1); } 45% { transform: rotate(-10deg) scale(1.15); } 100% { transform: rotate(0) scale(1); } }

/* camera flash */
.js .flash { display: block; position: fixed; inset: 0; z-index: 10000; pointer-events: none; background: #fff; opacity: 0; }
.flash.is-on { opacity: 1; }
.flash.is-fade { opacity: 0; transition: opacity 1.1s cubic-bezier(.2,.6,.2,1); }
@keyframes blink { 0%, 100% { transform: scale(1); } 50% { transform: scale(.86); } }

/* viewfinder corners (shared) */
.vf-corner { position: absolute; width: 22px; height: 22px; border: 2px solid currentColor; }
.vf-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vf-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.vf-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 9995; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--red); }
  .cursor__ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(15,15,16,.35);
    display: grid; place-items: center;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, border-color .35s, border-radius .45s var(--ease);
  }
  .cursor__label { font: 700 11px/1 var(--f-display); letter-spacing: .12em; color: #fff; opacity: 0; transition: opacity .3s; }
  .cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--red); }
  .cursor.is-view .cursor__ring, .cursor.is-play .cursor__ring {
    width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--red); border-color: var(--red);
  }
  .cursor.is-view .cursor__label, .cursor.is-play .cursor__label { opacity: 1; }
  .cursor.is-view .cursor__dot, .cursor.is-play .cursor__dot, .cursor.is-link .cursor__dot { opacity: 0; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: transform .6s var(--ease), background .4s, box-shadow .4s;
}
.header.is-scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: block; width: 168px; flex: none; }
.brand__crop, .footer__crop { position: relative; display: block; overflow: hidden; }
.brand__crop { aspect-ratio: 1680 / 247; }
.brand__crop img { position: absolute; width: 119.05%; max-width: none; left: -9.524%; top: -62.75%; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; font: 600 14px/1 var(--f-display); letter-spacing: -.01em;
  border-radius: 999px; transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .4s var(--ease);
}
.nav a:hover, .nav a.is-current { color: var(--red); }
.nav a:hover::after, .nav a.is-current::after { transform: scale(1); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: transform .45s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease-in-out);
}
.mobile-menu[hidden] { display: flex; visibility: hidden; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 14px; font: 800 clamp(2.4rem, 11vw, 4rem)/1.1 var(--f-display); letter-spacing: -.04em; border-bottom: 1px solid var(--line); padding: 8px 0; }
.mobile-menu nav a small { font: 500 12px var(--f-mono); color: var(--red); }
.mobile-menu__tag { font: 500 14px var(--f-display); letter-spacing: .3em; color: var(--red); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; padding-top: calc(var(--header-h) + clamp(24px, 5vh, 64px)); padding-bottom: 28px;
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr); grid-template-rows: 1fr auto;
  column-gap: clamp(24px, 4vw, 72px); row-gap: 40px; align-items: center;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--f-display); letter-spacing: .02em; color: var(--muted); margin-bottom: clamp(20px, 3vh, 36px); }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(239,79,38,.5); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(239,79,38,0); } 100% { box-shadow: 0 0 0 0 rgba(239,79,38,0); } }

.hero__title { font-size: clamp(3rem, 7.4vw, 8.6rem); font-weight: 800; line-height: .92; letter-spacing: -.055em; }
.hero__title .line { display: block; overflow: hidden; padding: .04em 0 .06em; }
.hero__title .word { display: inline-block; vertical-align: middle; }
.js .hero__title .word { transform: translateY(110%); transition: transform 1.1s var(--ease); }
.is-loaded .hero__title .word { transform: none; }
.is-loaded .hero__title .line:nth-child(2) .word { transition-delay: .08s; }
.is-loaded .hero__title .line:nth-child(2) .word + .word { transition-delay: .16s; }
.is-loaded .hero__title .line:nth-child(3) .word { transition-delay: .24s; }
.hero__title .dot { color: var(--red); }
.pill { width: 1.75em; height: .78em; border-radius: 999px; overflow: hidden; margin-left: .08em; transform-origin: left center; }
.pill img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.6s var(--ease); }
.is-loaded .pill img { transform: scale(1); }
.hero__lead { max-width: 560px; margin-top: clamp(24px, 4vh, 40px); font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); }
.hero__lead strong { font-weight: 600; color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.viewfinder {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink);
  max-height: calc(100svh - var(--header-h) - 150px); justify-self: end; width: 100%;
  transition: transform .6s var(--ease), opacity 1s var(--ease);
}
.viewfinder__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12); transition: opacity 1.2s var(--ease), transform 6s linear;
}
.viewfinder__slides img.is-active { opacity: 1; transform: scale(1); }
.hud { position: absolute; inset: 18px; color: #fff; pointer-events: none; font-size: 11px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hud__top, .hud__bottom { position: absolute; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.hud__top { top: 12px; } .hud__bottom { bottom: 12px; }
.hud__rec { display: inline-flex; align-items: center; gap: 6px; }
.hud__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: recBlink 1s steps(2) infinite; }
@keyframes recBlink { 50% { opacity: 0; } }
.hud__label { color: #fff; background: var(--red); padding: 2px 6px; border-radius: 3px; text-shadow: none; }
.hud__cross { position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.hud__cross::before, .hud__cross::after { content: ""; position: absolute; background: rgba(255,255,255,.8); }
.hud__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; } .hud__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.hud__bat { width: 22px; height: 11px; border: 1.5px solid #fff; border-radius: 2px; padding: 1px; position: relative; }
.hud__bat::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: #fff; }
.hud__bat i { display: block; height: 100%; width: 72%; background: #fff; }

.hero__facts {
  grid-column: 1 / -1; list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; font: 600 14px/1.3 var(--f-display); letter-spacing: -.01em;
}
.hero__facts b { color: var(--red); font: 500 11px var(--f-mono); margin-right: 8px; }
.hero__scroll { justify-self: end; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.hero__scroll span { width: 1.5px; height: 30px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: scrollLine 1.8s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--bg); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 800 clamp(2rem, 5vw, 4.4rem)/1 var(--f-display); letter-spacing: -.045em; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee .eye { width: clamp(28px, 3.4vw, 48px); height: clamp(28px, 3.4vw, 48px); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Showreel ---------- */
.reel { padding: clamp(48px, 8vw, 120px) 0 0; }
.reel__frame {
  --p: 0;
  position: relative; margin-inline: auto; overflow: hidden; background: var(--ink); color: #fff;
  width: calc(100% - 2 * var(--gutter) + (2 * var(--gutter)) * var(--p));
  border-radius: calc(var(--radius) * 1.4 * (1 - var(--p)));
  aspect-ratio: 16 / 9; max-height: 100svh; min-height: 420px;
}
.reel__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.15 - .15 * var(--p))); }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05) 40%, rgba(0,0,0,.55)); }
.reel__meta { position: absolute; top: clamp(18px, 3vw, 36px); left: clamp(18px, 3vw, 40px); right: clamp(18px, 3vw, 40px); display: flex; justify-content: space-between; }
.reel__title { position: absolute; left: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 40px); font: 800 clamp(2rem, 5.5vw, 5.6rem)/.95 var(--f-display); letter-spacing: -.05em; }
.reel__title em { color: #fff; opacity: .55; }
.reel__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 14px; color: #fff; }
.reel__play-ring {
  width: clamp(84px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%; background: var(--red); display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(239,79,38,.45); animation: pulse 2s infinite; transition: transform .5s var(--ease);
}
.reel__play:hover .reel__play-ring { transform: scale(1.08); }
.reel__play-ring svg { width: 34%; height: 34%; margin-left: 6%; }
.reel__play-text { font: 600 14px var(--f-display); }

/* ---------- Section heads ---------- */
section { position: relative; }
.work, .faq { padding-block: clamp(80px, 12vw, 170px); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .kicker { grid-column: 1 / -1; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 13px/1 var(--f-display); letter-spacing: .02em; color: var(--muted); margin-bottom: 18px; }
.kicker span { font: 500 11px var(--f-mono); color: #fff; background: var(--red); padding: 4px 7px; border-radius: 4px; }
.h2 { font-size: clamp(2.6rem, 6.4vw, 6.6rem); font-weight: 800; letter-spacing: -.05em; }
.section-head__text { max-width: 470px; color: var(--muted); font-size: 17px; justify-self: end; }

/* ---------- Filters & Grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line);
  font: 600 14px/1 var(--f-display); transition: background .35s, color .35s, box-shadow .35s;
}
.chip sup { font: 500 10px var(--f-mono); color: var(--red); margin-left: 2px; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.chip.is-active sup { color: #fff; opacity: .6; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 21vw, 320px); grid-auto-flow: dense; gap: clamp(12px, 1.4vw, 20px); }
.card { position: relative; cursor: pointer; display: flex; flex-direction: column; outline-offset: 4px; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.card--wide { grid-column: span 2; }
.card--tall { grid-row: span 2; }
.card.is-out { display: none; }
.card.is-entering { opacity: 0; transform: translateY(24px) scale(.98); }
.card__media { position: relative; flex: 1; min-height: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.card:hover .card__media img, .card:focus-visible .card__media img { transform: scale(1.06); }
.card__media::after {
  content: ""; position: absolute; inset: 14px; border-radius: 12px; pointer-events: none;
  background:
    linear-gradient(#fff,#fff) top left / 18px 2px no-repeat, linear-gradient(#fff,#fff) top left / 2px 18px no-repeat,
    linear-gradient(#fff,#fff) top right / 18px 2px no-repeat, linear-gradient(#fff,#fff) top right / 2px 18px no-repeat,
    linear-gradient(#fff,#fff) bottom left / 18px 2px no-repeat, linear-gradient(#fff,#fff) bottom left / 2px 18px no-repeat,
    linear-gradient(#fff,#fff) bottom right / 18px 2px no-repeat, linear-gradient(#fff,#fff) bottom right / 2px 18px no-repeat;
  opacity: 0; transform: scale(1.06); transition: opacity .45s, transform .6s var(--ease);
}
.card:hover .card__media::after { opacity: 1; transform: scale(1); }
.card__badge { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.92); color: var(--ink); padding: 6px 9px; border-radius: 6px; font-size: 10px; z-index: 1; }
.card__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px 0; }
.card__info h3 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; transition: color .3s; }
.card__info p { font-size: 13px; color: var(--muted); white-space: nowrap; }
.card:hover .card__info h3 { color: var(--red); }

/* ---------- Services ---------- */
.services { padding-block: clamp(80px, 11vw, 160px); background: var(--bg-soft); }
.svc-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, .9fr) 56px; align-items: center; gap: 24px;
  padding: clamp(22px, 2.8vw, 38px) 0; border-top: 1px solid var(--line); cursor: default;
}
.svc::before { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; border-radius: 4px; }
.svc > * { position: relative; z-index: 1; }
.svc:hover::before { transform: scaleY(1); }
.svc__num { color: var(--red); padding-left: 8px; }
.svc__title { font-size: clamp(1.6rem, 3vw, 2.9rem); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; transition: transform .6s var(--ease), color .4s; }
.svc:hover .svc__title { transform: translateX(14px); color: var(--red); }
.svc__text { color: var(--muted); font-size: 16px; max-width: 460px; }
.svc__arrow { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; transition: background .4s, box-shadow .4s, color .4s, transform .6s var(--ease); }
.svc__arrow svg { width: 18px; height: 18px; }
.svc:hover .svc__arrow { background: var(--red); color: #fff; box-shadow: none; transform: rotate(45deg); }
.svc-preview {
  position: fixed; top: 0; left: 0; z-index: 50; width: 300px; aspect-ratio: 30 / 22; border-radius: 16px; overflow: hidden; pointer-events: none;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.6); transition: opacity .35s, transform .5s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
}
.svc-preview.is-on { opacity: 1; }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: clamp(64px, 9vw, 130px); }
.stat { padding: 8px clamp(12px, 2vw, 32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font: 800 clamp(3rem, 7vw, 7rem)/1 var(--f-display); letter-spacing: -.06em; }
.stat sup { font: 800 clamp(1.4rem, 2.6vw, 2.6rem)/1 var(--f-display); color: var(--red); vertical-align: top; margin-left: 2px; top: .3em; position: relative; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); padding-block: clamp(40px, 6vw, 80px) clamp(80px, 12vw, 170px); }
.process__aside { position: sticky; top: 120px; align-self: start; display: grid; gap: 24px; justify-items: start; }
.process__aside .section-head__text { justify-self: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { position: relative; padding: 36px 0 36px 40px; border-left: 1.5px solid var(--line); }
.step::before { content: ""; position: absolute; left: -7px; top: 44px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--red); transition: background .4s; }
.step.is-in::before { background: var(--red); }
.step::after { content: ""; position: absolute; left: -1.5px; top: 0; width: 1.5px; height: 100%; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease) .2s; }
.step.is-in::after { transform: scaleY(1); }
.step__n { color: var(--red); }
.step h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 800; margin: 12px 0 12px; }
.step p { color: var(--muted); max-width: 520px; }

/* ---------- Studio ---------- */
.studio { background: var(--bg-soft); padding-block: clamp(80px, 12vw, 170px); overflow: hidden; }
.manifest { font-size: clamp(2rem, 4.6vw, 4.8rem); font-weight: 700; line-height: 1.06; letter-spacing: -.045em; max-width: 1280px; }
.manifest .hl { position: relative; white-space: nowrap; }
.manifest .hl::after { content: ""; position: absolute; left: -.05em; right: -.05em; bottom: .06em; height: .26em; background: var(--red); opacity: .22; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .4s; }
.manifest.is-in .hl::after { transform: scaleX(1); }
.manifest__eye { display: inline-grid; place-items: center; width: 1.2em; height: .8em; vertical-align: middle; }
.manifest__eye .eye { width: .8em; height: .8em; animation: spinLook 6s var(--ease-in-out) infinite; }
@keyframes spinLook { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(-35deg); } 100% { transform: rotate(0); } }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 96px); }
.why__item { background: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.why__item:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(15,15,16,.3); }
.why__item .mono { width: 36px; height: 36px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.why__item h3 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.why__item p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--line); max-width: 1100px; margin-left: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font: 700 clamp(1.15rem, 2vw, 1.6rem)/1.25 var(--f-display); letter-spacing: -.02em; transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary i { flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .35s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--red); color: #fff; box-shadow: none; transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 60px 30px 0; color: var(--muted); max-width: 760px; }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(80px, 11vw, 150px); border-top: 1px solid var(--line); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__title { font-size: clamp(3rem, 8vw, 8.4rem); font-weight: 800; letter-spacing: -.055em; margin-bottom: 28px; }
.contact__copy .section-head__text { justify-self: start; }
.contact__links { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 4px; }
.contact__links li { display: grid; grid-template-columns: 80px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__links .mono { color: var(--red); }
.contact__links a, .contact__links li > span:last-child { font: 700 clamp(1.1rem, 1.8vw, 1.5rem) var(--f-display); letter-spacing: -.02em; transition: color .3s; }
.contact__links a:hover { color: var(--red); }

.form { background: var(--bg-soft); border-radius: calc(var(--radius) * 1.3); padding: clamp(24px, 3vw, 44px); display: grid; gap: 14px; position: relative; }
.form::before { content: ""; position: absolute; top: 18px; right: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
.form__services { border: 0; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__services legend { font: 700 15px var(--f-display); margin-bottom: 12px; padding: 0; }
.form__services label { position: relative; cursor: pointer; }
.form__services input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.form__services span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; font: 600 14px var(--f-display); box-shadow: inset 0 0 0 1.5px var(--line); transition: all .3s; }
.form__services input:checked + span { background: var(--red); color: #fff; box-shadow: none; }
.form__services input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-radius: 14px; background: #fff; padding: 26px 18px 10px; font: 500 16px var(--f-body); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .3s; resize: vertical; appearance: none;
}
.field select { padding: 18px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F0F10' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 18px center; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--red); }
.field label { position: absolute; left: 18px; top: 18px; color: var(--muted); font-size: 15px; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--red); }
.field.is-error input { box-shadow: inset 0 0 0 2px var(--red); }
.form__note { font-size: 14px; color: var(--muted); min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 120px) 0 32px; overflow: hidden; }
.footer__logo { display: block; }
.footer__crop { aspect-ratio: 1680 / 340; }
.footer__crop img { position: absolute; width: 119.05%; max-width: none; left: -9.524%; top: -45.59%; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(40px, 6vw, 80px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: rgba(255,255,255,.6); }
.footer__row nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__row nav a { color: #fff; font: 600 14px var(--f-display); transition: color .3s; }
.footer__row nav a:hover { color: var(--red); }

/* ---------- Lightbox / Modal ---------- */
.lightbox, .vmodal {
  position: fixed; inset: 0; z-index: 9000; background: rgba(10,10,11,.94); display: grid; place-items: center; padding: 64px clamp(16px, 6vw, 96px);
  opacity: 0; transition: opacity .4s;
}
.lightbox[hidden], .vmodal[hidden] { display: none; }
.lightbox.is-open, .vmodal.is-open { opacity: 1; }
.lightbox__fig { margin: 0; max-width: 1200px; width: 100%; display: grid; gap: 18px; color: #fff; }
.lightbox__fig img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 14px; transform: scale(.96); transition: transform .6s var(--ease); }
.is-open .lightbox__fig img { transform: none; }
.lightbox__fig h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 800; }
.lightbox__fig p { color: rgba(255,255,255,.6); margin-top: 6px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; font-size: 18px; z-index: 2; }
.lightbox__nav { position: absolute; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); color: #fff; font-size: 20px; transition: background .3s; }
.lightbox__nav:hover { background: var(--red); box-shadow: none; }
.lightbox__nav.prev { left: 16px; } .lightbox__nav.next { right: 16px; }
.vmodal video { width: 100%; max-width: 1280px; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header .btn--sm { display: none; }
  .burger { display: block; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .viewfinder { justify-self: stretch; aspect-ratio: 16 / 10; max-height: none; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .hero__scroll { display: none !important; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 50px 1fr 52px; }
  .svc__text { grid-column: 2 / 3; grid-row: 2; }
  .svc__arrow { grid-column: 3; grid-row: 1; }
  .process { grid-template-columns: 1fr; }
  .process__aside { position: static; }
  .contact__inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; --radius: 18px; }
  body { font-size: 16px; }
  .brand { width: 136px; }
  .hero__title { font-size: clamp(2.7rem, 13.5vw, 4.6rem); }
  .viewfinder { aspect-ratio: 4 / 5; }
  .hero__facts { grid-template-columns: 1fr; gap: 10px; }
  .hero__cta .btn { flex: 1; justify-content: center; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__text { justify-self: start; }
  .grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 52vw; }
  .card--wide { grid-column: span 2; }
  .card__info { flex-direction: column; gap: 2px; }
  .card__info h3 { font-size: 15px; }
  .card__info p { font-size: 12px; white-space: normal; }
  .reel__frame { aspect-ratio: 4 / 5; min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .why { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr 48px; gap: 10px 16px; }
  .svc__num { grid-column: 1; padding-left: 0; }
  .svc__title { grid-column: 1; grid-row: 2; }
  .svc__text { grid-column: 1 / -1; grid-row: 3; }
  .svc__arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 44px; height: 44px; }
  .faq details p { padding-right: 0; }
  .lightbox__nav { top: auto; bottom: 16px; margin: 0; }
}

/* ==========================================================================
   v2 — creative layer
   ========================================================================== */


/* Scroll timeline: red progress line + REC timecode */
.rec-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.rec-bar__fill { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.rec-hud {
  position: fixed; left: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 999px; background: rgba(15,15,16,.86); color: #fff; font-size: 11px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s var(--ease);
}
.rec-hud.is-on { opacity: 1; transform: none; }
.rec-hud i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: recBlink 1s steps(2) infinite; }
.rec-hud__scene { color: rgba(255,255,255,.55); }

/* Viewfinder focus brackets */
.hud__focus { position: absolute; top: 50%; left: 50%; width: 64px; height: 48px; margin: -24px 0 0 -32px; animation: focus 3.2s var(--ease) infinite; }
.hud__focus::before, .hud__focus::after { content: ""; position: absolute; inset: 0; border: 1.5px solid rgba(255,255,255,.9); }
.hud__focus::before { clip-path: polygon(0 0, 30% 0, 30% 2px, 2px 2px, 2px 30%, 0 30%, 0 70%, 2px 70%, 2px calc(100% - 2px), 30% calc(100% - 2px), 30% 100%, 0 100%); }
.hud__focus::after { clip-path: polygon(70% 0, 100% 0, 100% 100%, 70% 100%, 70% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 70%, 100% 70%, 100% 30%, calc(100% - 2px) 30%, calc(100% - 2px) 2px, 70% 2px); }
@keyframes focus { 0% { transform: scale(1.5); opacity: 0; } 15% { opacity: 1; } 30%, 100% { transform: scale(1); } 30%, 80% { border-color: #fff; } }
.viewfinder__slides img.is-active ~ img { }
.viewfinder::after { /* shutter flash on slide change */
  content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity .5s ease-out;
}
.viewfinder.is-snap::after { opacity: .7; transition: none; }

/* Clients: two opposing marquees */
.clients { padding: 22px 0 8px; border-block: 1px solid var(--line); }
.clients__label { display: block; text-align: center; color: var(--muted); margin-bottom: 6px; }
.clients .marquee { border: 0; padding: 12px 0; }
.clients .marquee span { font-size: clamp(1.8rem, 4.4vw, 3.9rem); }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.clients .marquee span:hover { color: var(--red); -webkit-text-stroke-color: var(--red); }

/* Portfolio */
.work__more { display: flex; justify-content: center; margin-top: 48px; }
.btn--ghost svg { transition: none; }
.card[data-yt]:not([data-yt=""]) .card__media::before {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23fff'/%3E%3C/svg%3E") center / 26px no-repeat;
  transform: scale(.8); opacity: .92; transition: transform .5s var(--ease);
}
.card:hover .card__media::before { transform: scale(1); }

/* Behind the scenes — film strip */
.bts { background: var(--ink); color: #fff; height: 300vh; }
.bts__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); }
.bts__head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 12px 48px; }
.bts__head .kicker { grid-column: 1 / -1; margin: 0; }
.kicker--light { color: rgba(255,255,255,.6); }
.bts__title { color: #fff; font-size: clamp(2.4rem, 5.4vw, 5.6rem); }
.bts__text { color: rgba(255,255,255,.6); max-width: 440px; justify-self: end; }
.film {
  --hole: 14px;
  position: relative; padding: 34px 0; background: #050505;
  transform: rotate(-2deg) scale(1.04);
}
.film::before, .film::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--hole); z-index: 2;
  background: repeating-linear-gradient(90deg, transparent 0 14px, #e9e6e1 14px 34px, transparent 34px 48px);
  -webkit-mask: linear-gradient(#000, #000); border-radius: 3px; opacity: .9;
}
.film::before { top: 10px; } .film::after { bottom: 10px; }
.film__track { display: flex; gap: 14px; width: max-content; padding-inline: 4vw; will-change: transform; }
.film__frame { position: relative; margin: 0; height: clamp(240px, 42vh, 420px); aspect-ratio: 2 / 3; overflow: hidden; border-radius: 4px; background: #111; flex: none; }
.film__frame--wide { aspect-ratio: 3 / 2; }
.film__frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .7s var(--ease), transform 1s var(--ease); }
.film__frame:hover img, .film__frame.is-center img { filter: none; transform: scale(1.04); }
.film__frame figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 10px; color: #fff; background: rgba(0,0,0,.55); padding: 4px 7px; border-radius: 3px; }
.film__frame figcaption::before { content: "● "; color: var(--red); }

/* Studio grid */
.studio__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; margin-top: clamp(48px, 7vw, 96px); align-items: stretch; }
.studio__photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 420px; }
.studio__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.studio__photo:hover img { transform: scale(1.05); }
.studio__photo figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--red); color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 10px; }
.studio .why { grid-template-columns: 1fr 1fr; margin-top: 0; }

/* Lightbox with YouTube */
.lightbox__media { position: relative; width: 100%; }
.lightbox__media img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 14px; }
.lightbox__media iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; }
.lightbox__media.is-vertical iframe { aspect-ratio: 9 / 16; max-height: 76vh; width: auto; margin-inline: auto; }
.lightbox__soon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(15,15,16,.8); color: #fff; padding: 12px 18px; border-radius: 999px; font: 600 14px var(--f-display); white-space: nowrap; }

@media (max-width: 1100px) {
  .studio__grid { grid-template-columns: 1fr; }
  .bts__head { grid-template-columns: 1fr; }
  .bts__text { justify-self: start; }
}
@media (max-width: 760px) {
  .rec-hud { left: 12px; bottom: 12px; padding: 7px 11px; font-size: 10px; }
  .rec-hud__scene { display: none; }
  .bts { height: auto; }
  .bts__sticky { position: static; height: auto; padding-block: 80px; }
  .film { transform: none; }
  .film__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-inline: 16px; scrollbar-width: none; }
  .film__track::-webkit-scrollbar { display: none; }
  .film__frame { scroll-snap-align: center; height: 360px; }
  .film__frame img { filter: none; }
  .studio .why { grid-template-columns: 1fr; }
  .studio__photo { min-height: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  .bts { height: auto; }
  .bts__sticky { position: static; height: auto; padding-block: 100px; }
  .film__track { overflow-x: auto; width: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}

/* ---------- Client logos (2 rows, opposite directions) ---------- */
.clients { padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 36px); border-block: 1px solid var(--line); overflow: hidden; }
.clients__label { display: block; text-align: center; color: var(--muted); margin-bottom: clamp(14px, 2vw, 24px); }
.logos {
  --gap: clamp(40px, 5vw, 80px);
  display: flex; gap: var(--gap); overflow: hidden; padding: clamp(10px, 1.4vw, 18px) 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--gap); flex: none; min-width: 100%; animation: logos 55s linear infinite; }
.logos--rev .logos__track { animation-direction: reverse; animation-duration: 62s; }
.logos:hover .logos__track { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(calc(-100% - var(--gap))); } }
.logo { --k: 1; flex: none; height: 52px; display: grid; place-items: center; }
.logo img { height: calc(var(--h, 36px) * var(--k)); width: auto; max-width: none; object-fit: contain;
  mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.logo:hover img { transform: scale(1.1); }
@media (max-width: 760px) { .logo { --k: .78; height: 42px; } .logos { --gap: 36px; } }
@media (prefers-reduced-motion: reduce) { .logos { flex-wrap: wrap; justify-content: center; -webkit-mask: none; mask: none; } .logos__track { animation: none; flex-wrap: wrap; justify-content: center; min-width: 0; } .logos__track[aria-hidden] { display: none; } }

/* YouTube Shorts covers: if only the 4:3 letterboxed thumbnail exists, zoom past the black bars */
.card--short .card__media img.is-letterbox { transform: scale(1.14); }
.card--short:hover .card__media img.is-letterbox { transform: scale(1.2); }

/* ==========================================================================
   Service pages (/xidmetler/...)
   ========================================================================== */
.page-sub .header { background: rgba(255,255,255,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); margin-bottom: 22px; font-size: 11px; }
.crumbs a { color: var(--ink); transition: color .3s; } .crumbs a:hover { color: var(--red); }
.crumbs span[aria-current] { color: var(--red); }

.svc-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding-top: calc(var(--header-h) + clamp(36px, 7vh, 80px)); padding-bottom: clamp(48px, 7vw, 96px); }
.svc-hero--hub { grid-template-columns: 1fr; max-width: 1180px; }
.svc-hero__title { font-size: clamp(2.4rem, 5.2vw, 5.4rem); font-weight: 800; line-height: .98; letter-spacing: -.05em; }
.svc-hero__title em { color: var(--red); }
.svc-hero .hero__lead { max-width: 620px; }
.svc-hero__media { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.svc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero__media .hud { inset: 16px; }
.btn svg { width: 18px; height: 18px; }

.svc-inc { padding-block: clamp(56px, 8vw, 110px); }
.inc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.inc { background: var(--bg-soft); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 10px; align-content: start; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s; }
.inc:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 24px 50px -30px rgba(15,15,16,.35); }
.inc__n { color: var(--red); }
.inc h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.inc p { color: var(--muted); font-size: 15px; }

.svc-work { padding-block: clamp(40px, 6vw, 90px); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 20vw, 300px); grid-auto-flow: dense; gap: clamp(12px, 1.4vw, 20px); }
.svc-card--wide { grid-column: span 2; }
.svc-card--short { grid-row: span 2; }
.svc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gal { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.gal:nth-child(1), .gal:nth-child(5) { aspect-ratio: 4 / 5; grid-row: span 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gal:hover img { transform: scale(1.05); }
.svc-demo { background: var(--ink); color: #fff; border-radius: calc(var(--radius) * 1.4); padding: clamp(32px, 5vw, 72px); display: grid; gap: 18px; justify-items: start; }
.svc-demo .h2 { color: #fff; } .svc-demo .section-head__text { color: rgba(255,255,255,.65); justify-self: start; }
.svc-demo .kicker { color: rgba(255,255,255,.6); }

.svc-article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 80px); align-items: start; padding-block: clamp(40px, 6vw, 90px); border-top: 1px solid var(--line); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 1.6em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); font-size: 17px; line-height: 1.75; margin: 0 0 1.1em; }
.svc-aside { position: sticky; top: 110px; background: var(--bg-soft); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; }
.svc-aside .mono { color: var(--red); }
.svc-aside__t { font: 700 19px/1.3 var(--f-display); letter-spacing: -.02em; margin-bottom: 6px; }
.svc-aside .btn { height: 52px; }
.svc-aside__mail { text-align: center; font-weight: 600; color: var(--muted); } .svc-aside__mail:hover { color: var(--red); }

.svc-rel { padding-block: clamp(40px, 6vw, 90px); }
.h2--sm { font-size: clamp(2rem, 4vw, 3.6rem); margin-bottom: 28px; }
.rel-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel { position: relative; display: grid; grid-template-columns: 92px 1fr 28px; align-items: center; gap: 16px; padding: 12px; border-radius: 18px; background: var(--bg-soft); transition: background .4s, transform .5s var(--ease); }
.rel:hover { background: var(--red-soft); transform: translateY(-4px); }
.rel img { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; }
.rel__body { display: grid; gap: 4px; } .rel__body .mono { color: var(--red); font-size: 10px; }
.rel strong { font: 800 17px/1.2 var(--f-display); letter-spacing: -.02em; }
.rel svg { width: 20px; height: 20px; transition: transform .5s var(--ease); } .rel:hover svg { transform: rotate(45deg); color: var(--red); }
.svc-rel__all { display: inline-block; margin-top: 22px; color: var(--red); }

.svc-cta { background: var(--ink); color: #fff; padding-block: clamp(56px, 8vw, 110px); }
.svc-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.svc-cta__t { font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 800; letter-spacing: -.05em; color: #fff; }
.svc-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--light { --bg-b: #fff; --fg-b: var(--ink); --fill: var(--red); } .btn--light:hover { color: #fff; }

.hub { padding-bottom: clamp(64px, 9vw, 130px); }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hub-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.hub-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(15,15,16,.45); }
.hub-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.hub-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.hub-card:hover .hub-card__img img { transform: scale(1.06); }
.hub-card__body { display: grid; gap: 10px; padding: 22px 24px 26px; align-content: start; }
.hub-card__body .mono { color: var(--red); }
.hub-card h2 { font-size: clamp(1.3rem, 1.8vw, 1.65rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.hub-card p { color: var(--muted); font-size: 15px; }
.hub-card__more { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--f-display); margin-top: 6px; }
.hub-card__more svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.hub-card:hover .hub-card__more { color: var(--red); } .hub-card:hover .hub-card__more svg { transform: rotate(45deg); }

/* home: service rows are now links */
.svc__title a { color: inherit; }
.svc__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.svc { cursor: pointer; }
.svc-all { display: flex; justify-content: center; margin-top: 40px; }
.footer__services { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 12px; }
.footer__services .mono { color: rgba(255,255,255,.5); }
.footer__services nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__services a { color: #fff; font: 600 14px var(--f-display); } .footer__services a:hover { color: var(--red); }
.footer__row a[href^="tel"] { color: #fff; }

@media (max-width: 1100px) {
  .svc-hero { grid-template-columns: 1fr; }
  .svc-hero__media { aspect-ratio: 16 / 10; }
  .inc-list, .rel-list, .hub-grid { grid-template-columns: 1fr 1fr; }
  .svc-article { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
}
@media (max-width: 760px) {
  .inc-list, .rel-list, .hub-grid, .svc-gallery { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 52vw; }
  .svc-card--wide { grid-column: span 2; }
  .svc-hero__media { aspect-ratio: 4 / 5; }
  .gal:nth-child(1), .gal:nth-child(5) { grid-row: auto; aspect-ratio: 4 / 3; }
  .svc-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   "Biz kimik" (/haqqimizda/)
   ========================================================================== */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding-top: calc(var(--header-h) + clamp(36px, 7vh, 80px)); padding-bottom: clamp(56px, 8vw, 110px); }
.about-hero .svc-hero__title { font-size: clamp(2.8rem, 6.4vw, 6.6rem); }
.about-collage { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1; }
.ac { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.ac img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ac:hover img { transform: scale(1.06); }
.ac--a { grid-row: span 1; grid-column: span 2; }
.ac--b { grid-row: 2; }
.ac--c, .ac--d { display: none; }
@media (min-width: 761px) {
  .about-collage { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1.1fr 1fr; }
  .ac--a { grid-column: 1 / 3; grid-row: 1; }
  .ac--b { grid-column: 3; grid-row: 1 / 3; }
  .ac--c { display: block; grid-column: 1; grid-row: 2; }
  .ac--d { display: block; grid-column: 2; grid-row: 2; }
}
.ac-badge { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(15,15,16,.82); color: #fff; padding: 7px 12px; border-radius: 999px; font-size: 10px; backdrop-filter: blur(8px); }
.ac-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: recBlink 1s steps(2) infinite; }

.about-name { background: var(--ink); color: #fff; padding-block: clamp(72px, 11vw, 160px); overflow: hidden; }
.about-name__inner { display: grid; gap: clamp(28px, 4vw, 48px); }
.about-name__t { display: grid; gap: 14px; }
.about-name__word { font: 900 clamp(4.4rem, 17vw, 15rem)/.82 var(--f-display); letter-spacing: -.07em; color: #fff; }
.about-name__word::after { content: "."; color: var(--red); }
.about-name__def { font: 600 clamp(1.1rem, 2vw, 1.6rem)/1.35 var(--f-display); color: rgba(255,255,255,.7); letter-spacing: -.01em; max-width: 760px; }
.about-name__def em { color: var(--red); font-style: italic; }
.about-name__text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); max-width: 1100px; }
.about-name__text p { color: rgba(255,255,255,.72); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.7; }
.about-name__text strong { color: #fff; }

.about-values { padding-block: clamp(72px, 10vw, 150px); }
.vals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: v; }
.val { position: relative; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: var(--bg-soft); overflow: hidden; display: grid; gap: 12px; align-content: start; transition: transform .6s var(--ease), background .4s; }
.val:hover { transform: translateY(-6px); background: var(--red-soft); }
.val__n { font: 900 clamp(4rem, 7vw, 6.5rem)/.8 var(--f-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.val h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -.035em; }
.val p { color: var(--ink-2); font-size: 16px; line-height: 1.65; }

.about-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items: center; padding-block: clamp(40px, 6vw, 90px); }
.about-story__img { margin: 0; border-radius: calc(var(--radius) * 1.3); overflow: hidden; aspect-ratio: 4 / 5; }
.about-story__img img { width: 100%; height: 100%; object-fit: cover; }
.about-story .prose h2 { margin-top: 10px; font-size: clamp(2rem, 3.6vw, 3.2rem); }

.about-team { background: var(--ink); color: #fff; padding-block: clamp(72px, 10vw, 150px); }
.about-team__t { color: #fff; } .about-team__lead { color: rgba(255,255,255,.6); }
.roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.role { padding: clamp(24px, 3vw, 40px); border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); display: grid; gap: 12px; align-content: start; transition: background .4s; }
.role:hover { background: rgba(239,79,38,.1); }
.role .mono { color: var(--red); }
.role h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.role p { color: rgba(255,255,255,.62); font-size: 15px; }

.about-gallery { padding-block: clamp(72px, 10vw, 150px); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 17vw, 250px); grid-auto-flow: dense; gap: 12px; }
.mo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.mo--tall { grid-row: span 2; } .mo--wide { grid-column: span 2; }
.mo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: transform 1.1s var(--ease), filter .6s; }
.mo:hover img { transform: scale(1.05); filter: none; }
.mo figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--red); color: #fff; padding: 5px 9px; border-radius: 6px; font-size: 10px; }

@media (max-width: 1100px) {
  .about-hero, .about-story { grid-template-columns: 1fr; }
  .vals, .roles { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .about-collage { aspect-ratio: 4 / 5; }
  .about-name__text, .vals, .roles { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .about-story__img { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   Home — compact portfolio grid (4 columns)
   ========================================================================== */
.work .grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 14.5vw, 230px); gap: clamp(10px, 1.1vw, 16px); }
.work .card__info { padding-top: 10px; }
.work .card__info h3 { font-size: 15px; }
.work .card__info p { font-size: 12px; }
.work .card__badge { top: 10px; right: 10px; font-size: 9px; padding: 5px 7px; }
.work .card__media::after { inset: 10px; }
@media (max-width: 1100px) { .work .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .work .grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 46vw; } }

/* ==========================================================================
   Home — services as photo cards (bento)
   ========================================================================== */
.svc-preview { display: none !important; }
.svc-list:has(.svc--card) { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(250px, 22vw, 330px); gap: 14px; border: 0; }
.svc-list .svc--card:nth-child(1), .svc-list .svc--card:nth-child(6), .svc-list .svc--card:nth-child(8) { grid-column: span 2; }
.svc--card {
  position: relative; display: block; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); color: #fff; isolation: isolate; cursor: pointer;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.svc--card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(15,15,16,.55); }
.svc--card::before { /* dark gradient for legibility (overrides the old row hover fill) */
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 0; transform: none; transition: opacity .6s;
  background: linear-gradient(180deg, rgba(10,10,11,.15) 0%, rgba(10,10,11,.1) 35%, rgba(10,10,11,.88) 100%);
}
.svc--card::after { /* red recording line */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 3; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.svc--card:hover::after { transform: scaleX(1); }
.svc__media { position: absolute; inset: 0; margin: 0; z-index: 0; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) brightness(.82); transform: scale(1.02); transition: transform 1.3s var(--ease), filter .7s var(--ease); }
.svc--card:hover .svc__media img { transform: scale(1.1); filter: none; }
.svc--card > * { position: absolute; z-index: 2; }
.svc--card .svc__num { top: 16px; left: 16px; padding: 5px 8px; border-radius: 6px; background: var(--red); color: #fff; font-size: 11px; }
.svc__rec { top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #fff; background: rgba(0,0,0,.45); padding: 5px 9px; border-radius: 999px; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease); }
.svc__rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: recBlink 1s steps(2) infinite; }
.svc--card:hover .svc__rec { opacity: 1; transform: none; }
.svc--card .vf-corner { color: #fff; width: 18px; height: 18px; opacity: 0; transition: opacity .4s, transform .6s var(--ease); }
.svc--card .vf-corner.tl { top: 12px; left: 12px; transform: translate(-8px, -8px); }
.svc--card .vf-corner.tr { top: 12px; right: 12px; left: auto; transform: translate(8px, -8px); }
.svc--card .vf-corner.bl { bottom: 12px; left: 12px; top: auto; transform: translate(-8px, 8px); }
.svc--card .vf-corner.br { bottom: 12px; right: 12px; top: auto; left: auto; transform: translate(8px, 8px); }
.svc--card:hover .vf-corner { opacity: .9; transform: none; }
.svc--card:hover .vf-corner.tl, .svc--card:hover .vf-corner.tr { opacity: 0; } /* top corners would clash with badges */
.svc__body { left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 28px); padding-bottom: clamp(22px, 2.2vw, 30px); }
.svc-list .svc--card .svc__title { font-size: clamp(1.25rem, 1.75vw, 1.9rem); line-height: 1.08; letter-spacing: -.035em; color: #fff; transform: none; }
.svc-list .svc--card:hover .svc__title { transform: none; color: #fff; }
.svc__reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc__reveal > div { overflow: hidden; }
.svc--card:hover .svc__reveal, .svc--card:focus-within .svc__reveal { grid-template-rows: 1fr; }
.svc--card .svc__text { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.55; max-width: 520px; padding-top: 10px; }
.svc__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 700 13px var(--f-display); color: var(--red); }
.svc__more svg { width: 15px; height: 15px; }
@media (hover: none) { .svc__reveal { grid-template-rows: 1fr; } .svc--card .svc__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .svc__media img { filter: brightness(.8); } }
@media (max-width: 1100px) {
  .svc-list:has(.svc--card) { grid-template-columns: repeat(2, 1fr); }
  .svc-list .svc--card:nth-child(n) { grid-column: auto; }
  .svc-list .svc--card:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 760px) {
  .svc-list:has(.svc--card) { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .svc-list .svc--card:nth-child(1) { grid-column: auto; }
}

/* ==========================================================================
   Paketlər (/paketler/)
   ========================================================================== */
.pkg-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.pkg-tab { height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font: 600 14px var(--f-display); transition: background .3s, color .3s, box-shadow .3s; }
.pkg-tab:hover { background: var(--ink); color: #fff; box-shadow: none; }
.pkg-group { padding-block: clamp(48px, 7vw, 100px); border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.pkg-more { color: var(--red); font-weight: 600; white-space: nowrap; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.6vw, 36px); border-radius: calc(var(--radius) * 1.15); background: var(--bg-soft); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pkg:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(15,15,16,.45); }
.pkg__head { display: grid; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.pkg__tag { color: var(--red); }
.pkg h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 800; letter-spacing: -.04em; }
.pkg__price { font: 800 clamp(1.4rem, 2vw, 1.8rem) var(--f-display); letter-spacing: -.03em; }
.pkg__price small { font: 500 14px var(--f-body); color: var(--muted); margin-left: 6px; }
.pkg__price--ask { font-size: 16px; font-weight: 700; color: var(--muted); }
.pkg__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; flex: 1; }
.pkg__list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink-2); }
.pkg__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23EF4F26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pkg .btn { height: 54px; }
.pkg--hot { background: var(--ink); color: #fff; box-shadow: 0 40px 80px -40px rgba(239,79,38,.55); }
.pkg--hot::before { content: "★ Ən çox seçilən"; position: absolute; top: -12px; right: 22px; background: var(--red); color: #fff; font: 700 11px var(--f-display); letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; }
.pkg--hot .pkg__head { border-color: rgba(255,255,255,.14); }
.pkg--hot h3 { color: #fff; }
.pkg--hot .pkg__list li { color: rgba(255,255,255,.82); }
.pkg--hot .pkg__list li::before { background-color: rgba(239,79,38,.2); }
.pkg--hot .pkg__price--ask { color: rgba(255,255,255,.6); }
@media (max-width: 1100px) { .pkg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .pkg-grid { grid-template-columns: 1fr; } .pkg--hot { order: -1; } }

/* ==========================================================================
   Home — services as equal icon tiles (Alizada style, no photos)
   ========================================================================== */
.svc-list:has(.svc-tile) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border: 0; }
.svc-tile {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 100%;
  padding: clamp(24px, 2.4vw, 34px); border-radius: 20px; background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease), background .4s;
}
.svc-tile:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 28px 56px -34px rgba(239,79,38,.45); }
.svc-tile__no { position: absolute; top: 20px; right: 22px; font: 800 clamp(2.4rem, 3.4vw, 3.4rem)/1 var(--f-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.2px var(--line); transition: -webkit-text-stroke-color .4s; }
.svc-tile:hover .svc-tile__no { -webkit-text-stroke-color: var(--red); }
.svc-tile__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); transition: background .4s, color .4s, transform .6s var(--ease); }
.svc-tile__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc-tile:hover .svc-tile__ico { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-tile__t { font: 800 clamp(1.2rem, 1.6vw, 1.45rem)/1.15 var(--f-display); letter-spacing: -.03em; margin-top: 6px; padding-right: 64px; }
.svc-tile__t a { color: inherit; }
.svc-tile__t a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.svc-tile__p { color: var(--muted); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svc-tile__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.svc-tile__tags b { font: 600 12px var(--f-display); padding: 6px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.svc-tile__more { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--f-display); color: var(--ink); transition: color .3s, gap .4s var(--ease); }
.svc-tile__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.svc-tile:hover .svc-tile__more { color: var(--red); gap: 12px; }
@media (max-width: 1100px) { .svc-list:has(.svc-tile) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .svc-list:has(.svc-tile) { grid-template-columns: 1fr; } .svc-tile__p { -webkit-line-clamp: 4; } }

/* ==========================================================================
   Mega menu (Xidmətlərimiz → Xidmətlər | Sahələr)
   ========================================================================== */
.nav-dd { position: relative; display: flex; }
.nav .nav-dd__btn { display: inline-flex; align-items: center; gap: 6px; }
.nav-dd__btn .chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease); }
.nav-dd:hover .chev, .nav-dd:focus-within .chev { transform: rotate(180deg); }
.nav-dd__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 640px; z-index: 120;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; padding: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 40px 80px -40px rgba(15,15,16,.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.nav-dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.nav-dd:hover .nav-dd__panel, .nav-dd:focus-within .nav-dd__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dd__col { display: grid; gap: 2px; align-content: start; }
.nav-dd__col > .mono { color: var(--red); padding: 0 10px 8px; }
.nav .nav-dd__col a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; font: 600 14px/1.2 var(--f-display); color: var(--ink); }
.nav .nav-dd__col a::after { display: none; }
.nav .nav-dd__col a:hover { background: var(--bg-soft); color: var(--red); }
.nav-dd__col .mi { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); transition: background .3s, color .3s; }
.nav-dd__col a:hover .mi { background: var(--red); color: #fff; }
.lico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav .nav-dd__col a.nav-dd__all { color: var(--muted); font-size: 12px; padding-top: 10px; }

/* sector page: services used */
.sec-uses { padding-bottom: clamp(32px, 5vw, 64px); }
.use-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.use { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, transform .5s var(--ease); }
.use:hover { border-color: var(--red); transform: translateY(-3px); }
.use__ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.use__ico .lico { width: 22px; height: 22px; }
.use__t { font: 700 15px/1.2 var(--f-display); letter-spacing: -.02em; flex: 1; }
.use__arr { width: 16px; height: 16px; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.use:hover .use__arr { transform: rotate(45deg); color: var(--red); }

/* home: sectors strip under service tiles */
.sec-home { margin-top: clamp(40px, 5vw, 64px); }
.sec-home__t { display: flex; align-items: baseline; gap: 14px; font: 800 clamp(1.5rem, 2.6vw, 2.2rem) var(--f-display); letter-spacing: -.035em; margin-bottom: 18px; }
.sec-home__t .mono { color: var(--red); font-weight: 500; }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sec-chip { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease), background .3s; }
.sec-chip:hover { border-color: var(--red); transform: translateY(-3px); }
.sec-chip__ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background .3s; }
.sec-chip:hover .sec-chip__ico { background: var(--red); }
.sec-chip__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sec-chip__t { font: 700 16px/1.2 var(--f-display); letter-spacing: -.02em; flex: 1; }
.sec-chip__arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.sec-chip:hover .sec-chip__arr { color: var(--red); transform: translateX(4px); }
.sec-home .svc-all { gap: 12px; }
.hub--sec { padding-top: clamp(24px, 4vw, 48px); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: clamp(32px, 5vw, 56px); }
.footer__cols .footer__services { margin-top: 0; }
@media (max-width: 1100px) { .use-list { grid-template-columns: 1fr 1fr; } .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .use-list, .sec-grid, .footer__cols { grid-template-columns: 1fr; } }

/* ===== Foto portfolio (/portfolio/foto/) ===== */
.fp-chips { display:flex; flex-wrap:wrap; gap:8px; padding-top:8px; padding-bottom:40px; }
.fp-chips a { font-size:13px; padding:7px 13px; border:1px solid rgba(0,0,0,.12); border-radius:999px; color:inherit; text-decoration:none; transition:border-color .2s, color .2s, background .2s; }
.fp-chips a:hover { border-color:var(--red); color:var(--red); }
.fp { display:grid; gap:56px; padding-bottom:96px; }
.fp-brand { scroll-margin-top:100px; }
.fp-brand__head { display:flex; align-items:baseline; gap:14px; padding-bottom:14px; margin-bottom:16px; border-bottom:1px solid rgba(0,0,0,.1); }
.fp-brand__no { color:var(--red); font-size:13px; }
.fp-brand__t { font-size:clamp(22px,2.4vw,32px); line-height:1.1; letter-spacing:-.02em; margin:0; }
.fp-brand__meta { margin-left:auto; font-size:12px; opacity:.55; white-space:nowrap; }
.fp-row { display:grid; grid-template-columns:repeat(6,1fr); gap:10px; }
.fp-ph { display:block; position:relative; overflow:hidden; border-radius:10px; background:#f2f0ee; cursor:zoom-in; }
.fp-ph img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.2,.7,.2,1); }
.fp-row--v .fp-ph { aspect-ratio:4/5; }
.fp-row--s .fp-ph { aspect-ratio:1/1; }
.fp-row--h .fp-ph { aspect-ratio:3/2; }
.fp-ph:hover img { transform:scale(1.05); }
.fp-ph::after { content:""; position:absolute; inset:0; box-shadow:inset 0 0 0 0 var(--red); transition:box-shadow .25s; border-radius:inherit; }
.fp-ph:hover::after { box-shadow:inset 0 0 0 3px var(--red); }
@media (max-width:1024px){ .fp-row { grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .fp { gap:40px; } .fp-row { gap:6px; } .fp-brand__meta { display:none; } .fp-ph { border-radius:6px; } }
.fp-lb { position:fixed; inset:0; z-index:1000; background:rgba(10,10,10,.94); display:flex; align-items:center; justify-content:center; padding:24px 64px; }
.fp-lb[hidden] { display:none; }
.fp-lb figure { margin:0; text-align:center; }
.fp-lb img { max-width:min(92vw,1100px); max-height:82vh; width:auto; height:auto; border-radius:8px; }
.fp-lb figcaption { color:rgba(255,255,255,.7); font-size:13px; margin-top:12px; }
.fp-lb__x, .fp-lb__nav { position:absolute; background:none; border:0; color:#fff; font-size:40px; line-height:1; cursor:pointer; padding:10px; opacity:.8; }
.fp-lb__x:hover, .fp-lb__nav:hover { opacity:1; color:var(--red); }
.fp-lb__x { top:12px; right:18px; }
.fp-lb__prev { left:12px; top:50%; transform:translateY(-50%); }
.fp-lb__next { right:12px; top:50%; transform:translateY(-50%); }
@media (max-width:560px){ .fp-lb { padding:16px; } .fp-lb__nav { top:auto; bottom:16px; transform:none; } }

/* ===== Portfolio dropdown, video portfolio, service TOC ===== */
.nav-dd--sm .nav-dd__panel { width: 250px; grid-template-columns: 1fr; padding: 12px; }
.vp-chips { display:flex; flex-wrap:wrap; gap:10px; padding-top:8px; padding-bottom:44px; }
.vp-chips a { display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; padding:8px 14px 8px 8px; border:1px solid rgba(0,0,0,.12); border-radius:999px; color:inherit; text-decoration:none; transition:border-color .2s, color .2s; }
.vp-chips a:hover { border-color:var(--red); color:var(--red); }
.vp-chips .mi { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:rgba(239,79,38,.1); color:var(--red); }
.vp-chips .lico { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.vp-chips small { font-size:11px; opacity:.55; }
.vp-sec { scroll-margin-top:100px; }
.vp-more { color:var(--red); opacity:1; text-decoration:none; }
.vp-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:14px; align-items:start; }
.vp-grid .card { margin:0; }
.vp-grid .card:not(.card--short) { grid-column: span 2; }
.vp-grid .card--short .card__media { aspect-ratio: 9/16; }
.vp-grid .card:not(.card--short) .card__media { aspect-ratio: 16/9; }
@media (max-width:560px){ .vp-grid { grid-template-columns:1fr 1fr; gap:8px; } .vp-grid .card:not(.card--short) { grid-column: 1 / -1; } }
.toc { border:1px solid rgba(0,0,0,.1); border-radius:16px; padding:18px 22px; margin:0 0 32px; background:#fafafa; }
.toc .mono { color:var(--red); margin:0 0 8px; font-size:12px; }
.toc ol { margin:0; padding-left:20px; display:grid; gap:6px; }
.toc a { color:inherit; text-decoration:none; font-size:15px; }
.toc a:hover { color:var(--red); }
.prose__list { padding-left:20px; display:grid; gap:6px; }
.prose h2[id] { scroll-margin-top:100px; }

/* ===== Montserrat everywhere (no mono font) ===== */
:root { --f-mono: "Montserrat", system-ui, sans-serif; }
.mono { font-weight: 600; letter-spacing: .06em; }

/* ===== Request modal ===== */
.req { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; background: rgba(15,15,16,.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; overflow-y: auto; }
.req[hidden] { display: none; }
.req.is-open { opacity: 1; }
.req__box { position: relative; width: min(640px, 100%); background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 100px -30px rgba(0,0,0,.45); transform: translateY(16px); transition: transform .4s var(--ease); margin: auto; }
.req.is-open .req__box { transform: none; }
.req__x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 16px; cursor: pointer; }
.req__x:hover { border-color: var(--red); color: var(--red); }
.req__t { font: 800 clamp(1.8rem, 4vw, 2.4rem)/1.05 var(--f-display); letter-spacing: -.04em; margin: 10px 0 6px; }
.req__sub { color: var(--muted); margin: 0 0 22px; }
.req__form { display: grid; gap: 14px; }
.req__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.req-f { display: grid; gap: 6px; }
.req-f > span, .req-svc legend { font: 600 13px var(--f-display); color: var(--ink); }
.req-svc legend small { font-weight: 500; color: var(--muted); }
.req-f input, .req-f textarea { width: 100%; font: 500 15px var(--f-body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s; }
.req-f textarea { resize: vertical; min-height: 84px; }
.req-f input:focus, .req-f textarea:focus { outline: none; border-color: var(--red); }
.req-svc { border: 0; padding: 0; margin: 0; }
.req-svc legend { padding: 0; margin-bottom: 8px; }
.req-svc__list { display: flex; flex-wrap: wrap; gap: 8px; }
.req-chk { position: relative; cursor: pointer; }
.req-chk input { position: absolute; opacity: 0; pointer-events: none; }
.req-chk span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font: 600 13px var(--f-display); transition: all .2s; }
.req-chk:hover span { border-color: var(--ink); }
.req-chk input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.req-chk input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.is-bad input, .is-bad textarea { border-color: #d93025; }
.req-svc.is-bad .req-chk span { border-color: #d93025; }
.req-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.req__err { color: #d93025; font-size: 14px; margin: 0; }
.req__ok { text-align: center; padding: 20px 0 6px; display: grid; justify-items: center; gap: 10px; }
.req__ok[hidden] { display: none; }
.req__ok-ico { width: 76px; height: 76px; border-radius: 50%; background: #1e9e55; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(30,158,85,.14); animation: reqPop .5s var(--ease); }
.req__ok-ico svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.req__ok h2 { font: 800 1.7rem var(--f-display); letter-spacing: -.03em; color: #1e9e55; margin: 8px 0 0; }
.req__ok p { color: var(--muted); font-size: 17px; margin: 0 0 8px; }
@keyframes reqPop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
button.btn { border: 0; cursor: pointer; font: inherit; }
@media (max-width: 560px) { .req__grid { grid-template-columns: 1fr; } .req { padding: 10px; place-items: start center; } }

.req__form[hidden], .req__err[hidden] { display: none; }

