/* =========================================================
   JON DIJITAL — 2026
   One easing everywhere. Weight via duration, not easing.
   Sizes follow the 1920px Figma frame through --u (1 design px).
   ========================================================= */
@font-face { font-family: "PP Neue Montreal"; src: url("../fonts/ppneuemontreal-thin.woff2") format("woff2"); font-weight: 100 300; font-style: normal; font-display: swap; }
@font-face { font-family: "PP Neue Montreal"; src: url("../fonts/ppneuemontreal-book.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PP Neue Montreal"; src: url("../fonts/ppneuemontreal-medium.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "PP Neue Montreal"; src: url("../fonts/ppneuemontreal-bold.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "PP Neue Montreal"; src: url("../fonts/ppneuemontreal-italic.woff2") format("woff2"); font-weight: 100 500; font-style: italic; font-display: swap; }
@font-face { font-family: "PP Neue Montreal"; src: url("../fonts/ppneuemontreal-semibolditalic.woff2") format("woff2"); font-weight: 600 900; font-style: italic; font-display: swap; }

:root {
  --bordo: #4a0d17;
  --bordo-2: #2a070c;
  --bordo-deep: #160507;
  --black: #0a0909;
  --copper: #c99272;
  --copper-2: #e3b597;
  --copper-3: #9a6347;
  --peach: #f6d4bb;
  --mint: #a6dccb;
  --ink: #2e0a11;
  --title-ink: #3a0d14;

  --f-sans: "PP Neue Montreal", "Helvetica Neue", Arial, sans-serif;

  /* the one easing */
  --ease: cubic-bezier(.16, 1, .3, 1);                 /* expo-out: moves at once, settles softly (kota pace) */
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --t-xs: .22s; --t-sm: .38s; --t-md: .58s; --t-lg: .85s; --t-xl: 1.1s;

  /* 1 design pixel of the 1920 frame */
  --u: min(calc(100vw / 1920), 1.3px);
  --side: calc(var(--u) * 138);      /* hero / services edge  */
  --side-n: calc(var(--u) * 279);    /* works / partners edge */
  --header-h: calc(var(--u) * 130);
  --gold: linear-gradient(180deg, #f9caa8 0%, #e2b08c 45%, #c99272 100%);
}

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

body {
  margin: 0; background: var(--black); color: #f3eeea;
  font-family: var(--f-sans); font-weight: 400; font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
  font-feature-settings: "ss01" 0;
}
body.is-loading { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
b, strong { font-weight: 500; }

::selection { background: var(--copper); color: var(--bordo-deep); }
.light-sec ::selection, .panel-light ::selection { background: var(--bordo); color: var(--peach); }

@media (pointer: fine) { html.has-cursor, html.has-cursor * { cursor: none !important; } }

.side-wrap { padding: 0 var(--side); position: relative; }
.narrow-wrap { padding: 0 var(--side-n); position: relative; }
.logo-svg { display: block; height: 100%; width: auto; overflow: visible; }

/* =========================================================
   LOADER
   ========================================================= */
#loader { position: fixed; inset: 0; z-index: 1000; background: radial-gradient(120% 90% at 50% 0%, #2c0910 0%, #12050700 60%), #0a0405; display: grid; place-items: center; will-change: transform; }
.loader-inner { text-align: center; }
/* one thin line of type, a light passes through it left to right */
.loader-word {
  margin: 0; font-size: clamp(17px, calc(var(--u) * 28), 32px); font-weight: 200; letter-spacing: .04em; white-space: nowrap; line-height: 1.3;
  background: linear-gradient(100deg, rgba(243,238,234,.36) 0%, rgba(243,238,234,.36) 40%, #fff6ee 50%, rgba(243,238,234,.36) 60%, rgba(243,238,234,.36) 100%);
  background-size: 260% 100%; background-position: 120% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader-word .lw-pre { font-weight: 200; }

/* =========================================================
   GRAIN — very minimal
   ========================================================= */
#grain {
  position: fixed; top: -10%; left: -10%; width: 120%; height: 120%; z-index: 900; pointer-events: none;
  background-size: 200px 200px; opacity: var(--grain-o, .32); transition: opacity 4s linear;
  will-change: transform, opacity; transform: translateZ(0); animation: grainMove 2.4s steps(6) infinite;
}
body.theme-light #grain { --grain-o: .38; }
body.grain-off #grain { --grain-o: 0 !important; transition-duration: .8s; }
body.is-afk #grain { --grain-o: .6; transition-duration: 6s; }
@keyframes grainMove {
  0% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(-3%, 2%, 0); } 40% { transform: translate3d(2%, -3%, 0); }
  60% { transform: translate3d(-1%, 3%, 0); } 80% { transform: translate3d(3%, 1%, 0); } 100% { transform: translate3d(0, 0, 0); }
}

/* =========================================================
   CURSOR + LIQUID INK (light surfaces)
   ========================================================= */
#cursor {
  position: fixed; left: 0; top: 0; z-index: 990; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; opacity: 0; will-change: transform;
}
#cursor.is-ready { transition: opacity var(--t-md) var(--ease), width var(--t-sm) var(--ease), height var(--t-sm) var(--ease), margin var(--t-sm) var(--ease); opacity: 1; }
#cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; opacity: .55; }
#cursor.is-logo { width: 74px; height: 74px; margin: -37px 0 0 -37px; opacity: 1; }
#cursor.is-press { width: 6px; height: 6px; margin: -3px 0 0 -3px; opacity: 1; }
#cursor.is-afk { width: 0; height: 0; margin: 0; opacity: 0; transition-duration: 1.4s; }
#cursor.is-hidden { opacity: 0; }
#ink { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; z-index: 980; pointer-events: none; mix-blend-mode: difference; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
#ink.is-on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }

/* soft light that follows the cursor and bends with its speed (contact, case panel, services) */
.glow { position: absolute; left: 0; top: 0; width: 900px; height: 900px; margin: -450px 0 0 -450px; pointer-events: none; border-radius: 50%; z-index: 1;
  background: radial-gradient(closest-side, rgba(150, 40, 60, .38), rgba(120, 30, 48, .12) 55%, transparent); will-change: transform, opacity; opacity: 0; mix-blend-mode: screen; }
.glow-sm { width: 560px; height: 560px; margin: -280px 0 0 -280px; background: radial-gradient(closest-side, rgba(227, 150, 140, .14), rgba(160, 40, 60, .07) 55%, transparent); position: fixed; }
.glow-svc { width: 760px; height: 760px; margin: -380px 0 0 -380px; background: radial-gradient(closest-side, rgba(170, 52, 72, .3), rgba(120, 30, 48, .1) 55%, transparent); }
@media (pointer: coarse) { #cursor, #ink { display: none; } }

/* =========================================================
   SCROLL STEPS (right dots)
   ========================================================= */
#steps { position: fixed; right: 22px; top: 50%; z-index: 60; pointer-events: none; transform: translateY(-50%); opacity: 0; transition: opacity var(--t-md) var(--ease); color: #fff; }
.steps-track { display: flex; flex-direction: column; gap: 10px; }
.steps-track i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .28; transition: opacity var(--t-sm) var(--ease); }
.steps-track i.is-past { opacity: .5; }
.steps-active { position: absolute; left: -1px; top: -1px; width: 6px; height: 6px; border-radius: 6px; background: var(--copper); will-change: transform, height; }
body.theme-light #steps { color: var(--ink); }
body.panel-open #steps { opacity: 0 !important; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: var(--header-h);
  display: flex; align-items: center; gap: calc(var(--u) * 32); padding: 0 calc(var(--u) * 32) 0 calc(var(--u) * 40);
  color: #fff; transition: color var(--t-sm) var(--ease), transform var(--t-lg) var(--ease), opacity var(--t-md) var(--ease);
  pointer-events: none;   /* the empty band between logo and buttons never swallows clicks (e.g. "Şimdi İzle" under it) */
}
.site-header > * { pointer-events: auto; }
/* .is-light = the surface under the header (or under this part of it) is light; see updateTheme() */
.site-header.is-light { color: var(--ink); }
/* the header turns at once when another surface reaches it (no fade) */
body.theme-snap .site-header, body.theme-snap .site-header *, body.theme-snap .site-header *::before, body.theme-snap #steps, body.theme-snap #steps * { transition: none !important; }
body.panel-open .site-header { transform: translateY(-110%); opacity: 0; pointer-events: none; }
/* the header in the other colours, shown only past the line where a light and a dark surface meet behind it */
.site-header.hdr-mirror { display: none; pointer-events: none; }
.site-header.hdr-mirror.is-on { display: flex; }
.site-header.hdr-mirror > * { pointer-events: none; }
.brand { display: block; height: clamp(46px, calc(var(--u) * 72), 80px); color: #ededec; transition: color var(--t-sm) var(--ease), opacity var(--t-xs) var(--ease); }
.site-header.is-light .brand { color: var(--ink); }
.brand:hover, .hdr-mirror .brand.is-hov { opacity: .7; }
/* on the dark surfaces the header takes the title's contrast colour (mint); on light ones it turns ink */
.site-header:not(.is-light) .brand, .site-header:not(.is-light) .clock, .site-header:not(.is-light) .burger { color: var(--mint); }
.clock { font-size: clamp(12px, calc(var(--u) * 15), 16px); letter-spacing: .01em; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
/* city on the first line, the time under it */
.clock-city { display: block; }
.clock b { font-weight: 500; }
/* each digit in its own slot (the site font's normal digits, centred): the time keeps still as the seconds change */
.clock b i { display: inline-block; width: .64em; text-align: center; font-style: normal; }
.clock b i.c { width: auto; margin: 0 .03em; }
/* the hour's first digit starts exactly where the city name starts (its own width: it changes only at 10:00 and 20:00) */
.clock b i:first-child { width: auto; }
.clock-sep { display: none; }
.clock-utc { display: none; }
/* media are not to be saved: no drag-out, no iOS long-press "Save image", no selection */
img, video, picture, canvas { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: calc(var(--u) * 24); }

.pill {
  display: inline-flex; align-items: center; gap: 10px; height: clamp(40px, calc(var(--u) * 52), 56px); padding: 0 clamp(14px, calc(var(--u) * 19), 22px); border-radius: 60px;
  font-size: clamp(14px, calc(var(--u) * 18), 19px); font-weight: 400; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  transition: scale var(--t-sm) var(--ease), background-color var(--t-sm) var(--ease), color var(--t-sm) var(--ease), opacity var(--t-xs) var(--ease);
}
/* buttons never move: a tint rises inside them instead */
.pill::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: currentColor; opacity: .1; transform: translateY(102%); transition: transform var(--t-sm) var(--ease); z-index: -1; }
.pill:hover::before, .hdr-mirror .pill.is-hov::before { transform: none; }
.pill-line::before { background: #141012; opacity: 1; }
.pill-line:hover { color: #e6e4e2; }
.pill:active { scale: .96; }
.pill .arr { width: clamp(13px, calc(var(--u) * 17), 18px); height: auto; display: inline-block; transition: transform var(--t-sm) var(--ease); }
.pill:hover .arr, .hdr-mirror .pill.is-hov .arr { transform: translateX(3px); }
.pill-mint { background: var(--mint); color: #0b1512; }
.site-header.is-light .pill-mint { background: var(--black); color: #fff; }
.pill-line { border: 1.5px solid currentColor; }
.pill-ghost { border: 1.5px solid rgba(255,255,255,.75); color: #fff; backdrop-filter: blur(6px); background: rgba(0,0,0,.12); }
.is-animating .home, .is-animating .panel, .is-animating .site-header { pointer-events: none; }

.burger { width: clamp(40px, calc(var(--u) * 52), 56px); height: clamp(40px, calc(var(--u) * 52), 56px); border-radius: 50%; border: 1.5px solid currentColor; position: relative; transition: scale var(--t-sm) var(--ease), opacity var(--t-sm) var(--ease); }
.burger i { position: absolute; left: 28%; right: 28%; height: 1.5px; background: currentColor; transition: transform var(--t-sm) var(--ease); }
.burger i:nth-child(1) { top: calc(50% - 3.5px); }
.burger i:nth-child(2) { top: calc(50% + 2.5px); }
.burger:hover i:nth-child(1), .hdr-mirror .burger.is-hov i:nth-child(1) { transform: translateY(-1.5px); }
.burger:hover i:nth-child(2), .hdr-mirror .burger.is-hov i:nth-child(2) { transform: translateY(1.5px); }
.burger:active { scale: .92; }
body.menu-open .burger { opacity: 0; }

/* ---- MENU: grows out of the burger (clip-path), never pops in as a block ---- */
.menu {
  position: absolute; top: calc((var(--header-h) - clamp(40px, calc(var(--u) * 52), 56px)) / 2 - 14px); right: calc(var(--u) * 32 - 14px);
  width: clamp(270px, calc(var(--u) * 322), 340px); color: #141012; padding: 14px 14px 30px 34px; visibility: hidden;
  font-size: clamp(15px, calc(var(--u) * 20), 20px);
}
.menu.is-open { visibility: visible; }
/* the panel is a circle growing out of the burger inside a rounded clip: transform-only, GPU smooth */
.menu-bg { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; transform: translateZ(0); }
.menu-fill { position: absolute; top: var(--fy, 40px); right: var(--fx, 40px); width: var(--fd, 900px); height: var(--fd, 900px); margin: calc(var(--fd, 900px) / -2) calc(var(--fd, 900px) / -2) 0 0; border-radius: 50%; background: #d9d9db; transform: scale(0); will-change: transform; }
.menu-shadow { position: absolute; inset: 0; border-radius: 18px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.65); opacity: 0; will-change: opacity; }
.menu > *:not(.menu-bg):not(.menu-shadow) { position: relative; }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.lang { display: flex; align-items: center; gap: 10px; font-size: inherit; }
.lang span { opacity: .3; font-size: .7em; }
.lang button { opacity: .4; transition: opacity var(--t-xs) var(--ease); letter-spacing: .02em; }
.lang button.is-active { opacity: 1; }
.lang button:hover { opacity: .8; }
.menu-close { width: clamp(40px, calc(var(--u) * 52), 56px); height: clamp(40px, calc(var(--u) * 52), 56px); border-radius: 50%; border: 1.5px solid #141012; position: relative; transition: rotate var(--t-md) var(--ease); }
.menu-close i { position: absolute; left: 30%; right: 30%; top: calc(50% - .75px); height: 1.5px; background: #141012; }
.menu-close i:nth-child(1) { transform: rotate(45deg); }
.menu-close i:nth-child(2) { transform: rotate(-45deg); }
.menu-close:hover { rotate: 90deg; }
.menu-links { list-style: none; margin: 0 0 22px; padding: 0; }
.menu-links li { overflow: hidden; }
.menu-links a { display: block; font-size: clamp(24px, calc(var(--u) * 34), 36px); line-height: 1.42; font-weight: 400; letter-spacing: -.01em; overflow: hidden; height: 1.42em; transition: opacity var(--t-sm) var(--ease); }
/* text roll on hover: the copy rolling in from below is one weight heavier */
.menu-links .ml { display: inline-block; position: relative; transition: transform var(--t-sm) var(--ease); will-change: transform; }
.menu-links .ml::after { content: attr(data-t); position: absolute; left: 0; top: 100%; font-weight: 500; white-space: nowrap; }
.menu-links a:hover .ml { transform: translateY(-100%); }
.menu-links:hover a { opacity: .68; }
.menu-links a:hover { opacity: 1; }
.menu-start { width: calc(100% - 20px); justify-content: space-between; font-weight: 400; }

/* =========================================================
   HOME + REVEALS
   ========================================================= */
.home { position: relative; transform-origin: 50% 50vh; will-change: transform; }
.sec { position: relative; overflow: hidden; }
/* masks leave room for İ Ç Ş ğ g y — accents and descenders never get cut */
.line { display: block; overflow: hidden; padding: .26em 0 .32em; margin: -.26em 0 -.32em; }
.line > span { display: inline-block; }
/* titles that rise in (not slide through a mask): the words travel up from below, so nothing may clip them */
.is-rise .line { overflow: visible; }
/* background-clip:text paints only inside the element's box: with tight line-heights the
   descenders (g, ç, ş, y) and accents (İ, Ö) fall outside it and vanish. Grow the paint box,
   give the space back with negative margins so the layout does not move. */
.mascot-title .line > span, .footer-cta .line > span, .noise-word, .contact-title .c2, .contact-title .c3, .svc-card h3 .fiu {
  padding-top: .1em; padding-bottom: .26em; margin-top: -.1em; margin-bottom: -.26em;
}
/* sections out of view stop their looping CSS animations (beams, noise, ken burns, breathing lights) */
.sec.is-off *, .sec.is-off *::before, .sec.is-off *::after { animation-play-state: paused !important; }
.fiu { display: inline-block; }

/* =========================================================
   HERO
   ========================================================= */
.hero { height: 100vh; height: 100svh; min-height: 620px; background: #2a0910; }

/* SCENE — the Figma background: bordo sky, a slow light beam from above, the dune, liquid lines.
   Layers share the section's stacking context, so the logo strip can slide behind the dune
   while the title stays in front. */
.scene { position: absolute; inset: 0; pointer-events: none; }
.scene-base { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(42% 58% at 70% -6%, rgba(132, 44, 64, .55) 0%, rgba(110, 34, 52, .2) 45%, transparent 75%),
    radial-gradient(80% 70% at 10% 30%, #4d1522 0%, transparent 70%),
    linear-gradient(180deg, #55172a 0%, #43111f 40%, #2c0a13 75%, #14050a 100%); }
.scene-beam { position: absolute; z-index: 1; left: calc(var(--u) * 640); top: calc(var(--u) * -260); width: calc(var(--u) * 1400); height: calc(var(--u) * 1400); mix-blend-mode: screen; opacity: .85; }
/* Figma: soft vertical light folds (a lit curtain) falling from the top edge, slowly breathing */
.scene-curtain { position: absolute; z-index: 1; inset: 0 0 35% 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 45%, transparent 100%); }
.scene-curtain i { position: absolute; top: -5%; bottom: 0; background: linear-gradient(90deg, rgba(255,120,145,0) 0%, rgba(255,120,145,calc(var(--a,.22) * .35)) 25%, rgba(255,120,145,var(--a,.22)) 50%, rgba(255,120,145,calc(var(--a,.22) * .35)) 75%, rgba(255,120,145,0) 100%); will-change: transform, opacity; animation: fold var(--d,11s) ease-in-out infinite alternate; animation-delay: var(--dl,0s); }
.scene-curtain i:nth-child(1) { left: 6%;  width: 7%;  --a: .12; --d: 13s; }
.scene-curtain i:nth-child(2) { left: 30%; width: 5%;  --a: .1;  --d: 9s;  --dl: -3s; }
.scene-curtain i:nth-child(3) { left: 47%; width: 9%;  --a: .2;  --d: 12s; --dl: -6s; }
.scene-curtain i:nth-child(4) { left: 58%; width: 6%;  --a: .3;  --d: 10s; --dl: -2s; }
.scene-curtain i:nth-child(5) { left: 66%; width: 11%; --a: .26; --d: 14s; --dl: -8s; }
.scene-curtain i:nth-child(6) { left: 79%; width: 5%;  --a: .2;  --d: 8s;  --dl: -5s; }
.scene-curtain i:nth-child(7) { left: 88%; width: 8%;  --a: .14; --d: 15s; --dl: -1s; }
/* SCENE WRAPS — hero+services and showreel+footer each share ONE background, so nothing is cut
   at the section edge. The sections inside are transparent; the scene's sky-only layers keep a
   screen-sized height, the base and the dune run on underneath. */
.scene-wrap { isolation: isolate; background: #14050a; }
.scene-wrap > .sec { background: transparent; }
.scene-wrap > .scene .scene-curtain { inset: 0 0 auto 0; height: 65vh; }
.scene-wrap > .scene .waves { inset: 0 0 auto 0; }
/* Figma: a dark bordo stage, warmest over the left-middle, the edges falling into near black */
.scene-hs .scene-base {
  background:
    radial-gradient(18% 9% at 0% 0%, rgba(18, 2, 5, .8), transparent 100%),
    radial-gradient(22% 26% at 100% 14%, rgba(22, 3, 6, .7), transparent 100%),
    radial-gradient(40% 34% at 100% 62%, rgba(3, 0, 1, .95), transparent 100%),
    radial-gradient(52% 20% at 30% 10%, rgba(96, 22, 36, .75) 0%, rgba(80, 18, 30, .35) 50%, transparent 85%),
    radial-gradient(48% 17% at 0% 56%, rgba(74, 20, 28, .9) 0%, rgba(52, 13, 19, .45) 50%, transparent 85%),
    linear-gradient(90deg, rgba(20, 3, 6, .45) 0%, transparent 9%, transparent 88%, rgba(10, 1, 3, .5) 100%),
    linear-gradient(180deg, #4a111b 0%, #45101a 14%, #300a12 27%, #150407 41%, #0e0305 55%, #090203 75%, #070102 100%); }
.scene-hs .scene-curtain { opacity: .3; }
.scene-hs .waves { height: 100vh; height: 100svh;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
/* HERO LIGHT — a wide curtain of soft rays across the whole stage, left to right. Drawn by JS
   (initHeroLight) on a tiny canvas that the browser scales up: the scaling itself makes the soft,
   blurred edges for free. The rays' tops wave unevenly, their feet widen unevenly left and right,
   and the brightest part wanders on a random path. */
.scene-hs .scene-curtain { display: none; }
.scene-shaft { position: absolute; z-index: 1; inset: 0 0 auto 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; }
.shaft-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 99%); mask-image: linear-gradient(180deg, #000 70%, transparent 99%); }
/* the light licks the dunes as it passes: the same light, masked by the dune's own shape, lies on
   its slopes and crests (the canvas inside is offset so it lines up with the screen) */
.dune-lit { aspect-ratio: 1; overflow: hidden; pointer-events: none; opacity: .2;
  -webkit-mask: url("../img/bg-mountain.webp") 0 0 / 100% 100% no-repeat; mask: url("../img/bg-mountain.webp") 0 0 / 100% 100% no-repeat; }
.dune-lit canvas { position: absolute; left: calc(var(--u) * 245); top: calc(var(--u) * 450); width: 100vw; height: 100vh; display: block; }
.scene-reel .scene-base {
  background:
    radial-gradient(42% 32% at 70% -4%, rgba(132, 44, 64, .5) 0%, rgba(110, 34, 52, .18) 45%, transparent 75%),
    radial-gradient(80% 40% at 10% 18%, #4d1522 0%, transparent 70%),
    radial-gradient(50% 30% at 14% 100%, rgba(128, 26, 46, .5), rgba(90, 16, 32, .2) 50%, transparent 76%),
    linear-gradient(180deg, #55172a 0%, #43111f 22%, #2c0a13 45%, #1c070c 70%, #14050a 100%); }
.scene-reel .scene-rays { height: 75vh; }
.scene-reel .waves { height: calc(100vh + var(--u) * 640); }
@keyframes fold { 0% { transform: translateX(-18%) scaleX(.85); opacity: .55; } 100% { transform: translateX(18%) scaleX(1.15); opacity: 1; } }
.scene-beam img { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 0; will-change: transform, opacity; }
.scene-beam img:nth-child(1) { animation: beamA 14s ease-in-out infinite alternate; }
.scene-beam img:nth-child(2) { animation: beamB 19s ease-in-out infinite alternate; opacity: .6; transform: scaleX(-1); }
@keyframes beamA { 0% { transform: rotate(-4deg) scaleY(1); opacity: .65; } 50% { opacity: 1; } 100% { transform: rotate(3deg) scaleY(1.06); opacity: .75; } }
@keyframes beamB { 0% { transform: scaleX(-1) rotate(3deg); opacity: .25; } 100% { transform: scaleX(-1) rotate(-5deg); opacity: .7; } }
.scene-mountain { position: absolute; z-index: 4; left: calc(var(--u) * -210); top: calc(var(--u) * -400); width: calc(var(--u) * 2280); height: auto; max-width: none; }
/* Figma hero: the dune's crest sits right of the title's full stop, a little lower and larger */
.scene-hs .scene-mountain { left: calc(var(--u) * -245); top: calc(var(--u) * -450); width: calc(var(--u) * 2480); }
.scene-hs img.scene-mountain { filter: brightness(.45); }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.scene .waves { z-index: 5; }
.hero-inner { position: absolute; left: var(--side); right: var(--side); top: calc(var(--u) * 262); }
.hero-head { display: inline-block; max-width: 100%; }
.hero-title { margin: 0; color: var(--mint); letter-spacing: -.015em; position: relative; z-index: 6; }
.hero-title .line { line-height: .78; padding: .24em 0 .34em; margin: -.24em 0 -.34em; }
.hero-title .wd { display: inline-block; white-space: nowrap; }
.hero-title .ch { display: inline-block; }
/* block text inside: the line box is exactly the text's own line-height (no strut gap) */
.hero-title .line > span, .contact-title .line > span { display: block; }
/* flex column: the lines' negative margins add up instead of collapsing, so padding never adds gaps */
.hero-title, .contact-title { display: flex; flex-direction: column; align-items: flex-start; }
/* the .line wrapper carries the same size as its text, so its em padding really fits the descenders */
.hero-title .line:nth-child(1) { font-size: calc(var(--u) * 97); } .hero-title .line:nth-child(2) { font-size: calc(var(--u) * 182); }
.hero-title .l1 { font-size: calc(var(--u) * 97); font-weight: 400; padding-left: .37em; white-space: pre; letter-spacing: -.01em; }
.hero-title .l2 { font-size: calc(var(--u) * 182); font-weight: 500; letter-spacing: -.012em; }

/* masked logo slider: exactly as wide as the title above */
.hero-logos {
  /* a clean cut, no fade: the strip starts exactly at the h's straight stem and ends at the full stop */
  position: relative; z-index: 6; overflow: hidden; height: calc(var(--u) * 64); margin: calc(var(--u) * 10) var(--hl-r, 0px) 0 var(--hl-l, 0px);
}
.hl-track { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; gap: calc(var(--u) * 76); will-change: transform; padding-right: calc(var(--u) * 76); }
/* logos in the contrast colour of the bordo: the title's mint (drawn through each logo's own shape) */
.hl-logo { flex: 0 0 auto; display: block; background: var(--mint); -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

.hero-desc {
  position: absolute; z-index: 6; left: calc(var(--u) * 1355); top: calc(var(--u) * 722); width: calc(var(--u) * 445); margin: 0;
  font-size: calc(var(--u) * 24); line-height: 1.22; color: #fff; font-weight: 400; letter-spacing: 0;
}
.hero-desc b { font-weight: 700; }

/* =========================================================
   NOISE + SERVICE CARDS (Kota cards, Jon colours)
   ========================================================= */
.noise { background: linear-gradient(180deg, #12050700 0%, #1a0609 0%, #220810 45%, #1b0709 100%), #0d0506; padding: calc(var(--u) * 120) 0 calc(var(--u) * 110); min-height: 100vh; display: flex; align-items: center; }
.noise > .side-wrap { width: 100%; }
/* Figma: the hero's warm bordo spills into the services' upper left (and lights the dune's lines there),
   the right side stays near black */
.hs-wrap > .noise { position: relative; overflow: visible; }   /* the cursor light may spill up into the hero: no cut line at the seam */
.hs-wrap > .noise::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%); mask-image: linear-gradient(180deg, transparent 0%, #000 32%);
  background: radial-gradient(105% 75% at 6% 30%, rgb(54, 15, 19) 0%, rgba(46, 12, 16, .8) 35%, rgba(26, 6, 8, .4) 62%, transparent 92%); }
.noise-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
/* flex column: the lines' negative mask margins add up instead of collapsing (no extra gap) */
.noise-title { display: flex; flex-direction: column; align-items: flex-start; margin: 0; font-size: calc(var(--u) * 73); font-weight: 400; line-height: 1.18; letter-spacing: -.012em; }
.noise-title b { font-weight: 500; }
.noise-word {
  position: relative; display: inline-block;
  /* a quiet grain: mostly white, the noise only shows through faintly */
  background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), var(--noise-img, none), linear-gradient(#fff, #fff); background-size: 100% 100%, 140px 140px, 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: noiseText 1.1s steps(3) infinite;
}
/* the light falls only downward from the word, like a lamp under it, breathing slowly */
.noise-glow { position: relative; display: inline-block; isolation: isolate; }
/* "gürültüdür" alone in the heaviest weight */
.noise-title .noise-word, .noise-title .noise-glow + b { font-weight: 700; }
/* the light is a soft oval centred right behind the word, fading out on every side */
.noise-glow::before { content: ""; position: absolute; z-index: -1; left: -26%; right: -26%; top: -55%; height: 210%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,236,226,.17) 0%, rgba(255,214,200,.07) 45%, transparent 100%);
  opacity: 0; transition: opacity 1.2s var(--ease); }
.noise-title.is-in .noise-glow::before { opacity: 1; animation: noiseBreath 4.2s ease-in-out infinite alternate; }
/* once the line has arrived its mask opens, so the falling light is never cut off */
.noise-title.is-in .line { overflow: visible; }
@keyframes noiseBreath { from { opacity: .7; } to { opacity: 1; } }
@keyframes noiseText { 0% { background-position: 0 0, 0 0, 0 0; } 33% { background-position: 0 0, 30px -20px, 0 0; } 66% { background-position: 0 0, -20px 40px, 0 0; } 100% { background-position: 0 0, 0 0, 0 0; } }
.noise-desc { font-size: calc(var(--u) * 24); line-height: 1.3; color: rgba(255,255,255,.92); width: calc(var(--u) * 448); margin: calc(var(--u) * 30) calc(var(--u) * 37) 0 0; flex: 0 0 auto; }
.noise-desc b { font-weight: 500; }

.svc-row { display: flex; align-items: center; justify-content: space-between; margin-top: calc(var(--u) * 100); }
.svc-wrap { flex: 0 0 calc(var(--u) * 473); }
.svc-x { flex: 0 0 auto; width: calc(var(--u) * 32); color: #fff; opacity: .9; display: block; }
.svc-x svg { width: 100%; height: auto; display: block; }
.svc-card {
  position: relative; height: calc(var(--u) * 341); padding: calc(var(--u) * 43); border-radius: calc(var(--u) * 12) calc(var(--u) * 100) calc(var(--u) * 12) calc(var(--u) * 12);
  background: linear-gradient(150deg, rgba(84, 20, 33, .62) 0%, rgba(36, 9, 14, .55) 50%, rgba(10, 3, 5, .6) 100%);
  border: 2px solid rgba(255,255,255,.2);
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color var(--t-md) var(--ease), background-color var(--t-md) var(--ease);
}
.svc-card:hover { border-color: rgba(227,181,151,.42); }
/* Figma: a white sheen on the grey frame, brightest at the top left; it follows the cursor around the frame */
.svc-wrap { position: relative; --mx: 0%; --my: 0%; }
.svc-wrap::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; padding: 2px;
  border-radius: calc(var(--u) * 12) calc(var(--u) * 100) calc(var(--u) * 12) calc(var(--u) * 12);
  background: radial-gradient(calc(var(--u) * 340) circle at var(--mx) var(--my), rgba(255,255,255,.95) 0%, rgba(255,255,255,.45) 30%, rgba(255,255,255,0) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.noise > .side-wrap { z-index: 6; }
.svc-no { font-size: calc(var(--u) * 20); line-height: 1; letter-spacing: .01em; color: #fff; }
.svc-card h3 { margin: auto 0 0; font-size: calc(var(--u) * 70); font-weight: 500; line-height: 1; letter-spacing: -.015em; }
.svc-card h3 .fiu { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-card p { font-size: calc(var(--u) * 16); line-height: 1.3; margin: calc(var(--u) * 46) 0 0; color: #fff; }

/* =========================================================
   LIGHT SECTIONS (works, partners)
   ========================================================= */
.light-sec { color: var(--ink); background: linear-gradient(180deg, #c9c9cc 0%, #dcdcdf 18%, #ebebed 55%, #f3f3f4 100%); position: relative; isolation: isolate; }
/* Figma: soft diffused light over the grey (the frame's blurred white shapes) */
/* works + partners share one surface and one set of drifting lights: no seam between them */
.light-wrap { color: var(--ink); position: relative; isolation: isolate;
  background: linear-gradient(180deg, #c9c9cc 0%, #dddde0 7%, #ebebed 22%, #f3f3f4 45%, #f1f1f2 75%, #dcdcde 100%); }
.light-wrap > .light-sec { background: transparent; isolation: auto; }
.light-wrap > .light-glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
/* Figma's soft studio light: the blurred grey/white light image repeats down the whole surface,
   every other copy mirrored vertically, so neighbours meet on identical rows (never a seam).
   All copies drift together, sideways, like light moving over the backdrop. */
.lg-panels { position: absolute; inset: 0; }
.lg-panels i { display: block; position: relative; height: max(56.25vw, 70vh); }
.lg-panels i::before { content: ""; position: absolute; top: 0; bottom: 0; left: -9%; right: -9%; background: url("../img/bg-light.webp") center / 100% 100% no-repeat; opacity: .92;
  will-change: transform; animation: lightDrift 22s ease-in-out infinite alternate; }
.lg-panels i:nth-child(even)::before { transform: scaleY(-1); }
@keyframes lightDrift { 0% { translate: -6% 0; } 100% { translate: 6% 0; } }
/* Figma's waviness: soft S-curved bands of light and shade running diagonally down the surface
   (a pre-blurred texture that tiles with its own mirror), slowly flowing sideways and breathing */
.lg-streaks { position: absolute; top: 0; bottom: 0; left: -12%; right: -12%; will-change: transform, opacity;
  background: url("../img/bg-light-waves.webp") 0 0 / 100% auto repeat-y;
  animation: streakDrift 26s ease-in-out infinite alternate; }
@keyframes streakDrift { 0% { transform: translateX(-7%) scaleY(1); opacity: .8; } 50% { opacity: 1; } 100% { transform: translateX(7%) scaleY(1.04); opacity: .85; } }
.works { padding: calc(var(--u) * 168) 0 calc(var(--u) * 150); }
.partners { padding: calc(var(--u) * 150) 0 calc(var(--u) * 190); background: linear-gradient(180deg, #f4f4f5 0%, #eeeeef 45%, #dcdcde 100%); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: calc(var(--u) * 132); }
.big-title { margin: 0; font-size: calc(var(--u) * 113); font-weight: 500; letter-spacing: -.028em; text-transform: uppercase; line-height: .86; color: var(--title-ink); }
.k-arrow { display: block; height: calc(var(--u) * 105); color: var(--title-ink); transform-origin: 50% 50%; will-change: transform; }
.k-arrow svg { height: 100%; width: auto; display: block; fill: currentColor; }

.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 24) calc(var(--u) * 32); }
.work-wrap { display: block; }
.work-card {
  position: relative; aspect-ratio: 665 / 245; overflow: hidden; color: #fff; text-align: left; display: block; width: 100%;
  background: var(--tone, #3b0d14); isolation: isolate;
}
/* the card never moves: sharp photo with the Figma bordo fade at the bottom; on hover the photo
   slowly leans in (inside the card) and the veil thins */
.work-card .media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.work-card .media > * { position: absolute; left: -4%; top: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; transform: scale(1); transition: transform 1.1s var(--ease), filter .7s var(--ease); }
.work-card:hover .media > * { transform: scale(1.045); filter: saturate(1.08) brightness(1.04); }
.work-card .lens-cv { display: block; pointer-events: none; }
.work-card .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,6,14,.07) 0%, rgba(50,8,18,.22) 42%, rgba(52,8,19,.88) 100%); transition: opacity .7s var(--ease); }
.work-card .shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,3,8,.55) 100%); opacity: 0; transition: opacity .7s var(--ease); }
.work-card:hover .shade { opacity: .7; }
.work-card:hover .shade::after { opacity: 1; }
.work-card .wc-title { transition: letter-spacing .7s var(--ease); }
.work-card:hover .wc-title { letter-spacing: 0; }
.work-card .wc-text { position: absolute; left: calc(var(--u) * 34); bottom: calc(var(--u) * 34); right: calc(var(--u) * 70); }
.work-card .wc-title { display: block; margin: 0; font-size: calc(var(--u) * 32); line-height: 1.15; font-weight: 500; letter-spacing: -.01em; }
.work-card small { display: block; font-size: calc(var(--u) * 16); margin-top: calc(var(--u) * 4); }
.work-card .wc-open { position: absolute; right: calc(var(--u) * 30); bottom: calc(var(--u) * 34); font-size: calc(var(--u) * 26); opacity: 0; transform: translate(-8px, 8px); transition: transform var(--t-sm) var(--ease), opacity var(--t-sm) var(--ease); }
.work-card:hover .wc-open { opacity: 1; transform: none; }

/* placeholder art for works without media yet */
.work-card .ph-art { animation-play-state: paused; }
.work-card:hover .ph-art { animation-play-state: running; }
.ph-art { position: absolute; inset: 0; will-change: transform; background:
  radial-gradient(120% 140% at 85% 120%, rgba(0,0,0,.65), transparent 60%),
  radial-gradient(80% 120% at 15% -20%, rgba(255,255,255,.18), transparent 60%),
  repeating-linear-gradient(-18deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px), var(--tone, #3b0d14);
  animation: kenburns 14s var(--ease) infinite alternate;
}
.ph-art::after { content: attr(data-mono); position: absolute; right: 6%; top: 50%; transform: translateY(-50%); font-weight: 500; font-size: clamp(30px, 6vw, 110px); letter-spacing: -.03em; color: rgba(255,255,255,.08); white-space: nowrap; }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1%); } }

/* partners: logos are masks, so the ink colour + hover light are pure CSS */
/* columns as wide as their widest logo, the free space shared out evenly between them: the first column
   lines up with the title, the last with the arrow, and every gap is the same */
.partners-grid { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; row-gap: calc(var(--u) * 64); align-items: center; }
.partners-grid .pcell:nth-child(5n+1) { justify-self: start; }
.partners-grid .pcell:nth-child(5n) { justify-self: end; }
.pcell { justify-self: center; height: calc(var(--u) * 92); display: flex; align-items: center; }
.plogo {
  display: block; width: var(--w); height: var(--h); position: relative;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
  /* contrast colour: near-black on the light surface (never bordo) */
  --pl: #0d0b0c;
  background: linear-gradient(105deg, var(--pl) 0%, var(--pl) 40%, #8a8486 50%, var(--pl) 60%, var(--pl) 100%);
  background-size: 300% 100%; background-position: 100% 0;
  transition: background-position .55s var(--ease), transform .35s var(--ease), opacity .3s var(--ease);
}
/* hover: nothing moves, nothing dims — only a slow shine sweeps across the logo under the cursor */
.plogo { background: linear-gradient(105deg, var(--pl) 0%, var(--pl) 38%, #e9e4e6 50%, var(--pl) 62%, var(--pl) 100%); background-size: 300% 100%; background-position: 100% 0;
  transition: background-position 1.6s cubic-bezier(.4, 0, .2, 1); }
.partners-grid .pcell:hover .plogo { background-position: 0 0; }
/* all the logos fit on one screen at the stop */
.partners { padding: min(calc(var(--u) * 120), 11vh) 0 min(calc(var(--u) * 90), 8vh); box-sizing: border-box; min-height: 100vh; }
.partners .sec-head { margin-bottom: min(calc(var(--u) * 90), 8vh); }
.partners-grid { row-gap: min(calc(var(--u) * 72), 7vh); }   /* airier rows: the grid reaches down the screen */
.partners .pcell { height: min(calc(var(--u) * 92), 9vh); }

/* =========================================================
   MASCOT
   ========================================================= */
.mascot { min-height: 100vh; background: #080505; padding: 18vh 0; display: flex; align-items: center; }
.mascot > .side-wrap { width: 100%; }
/* the text starts on the same line as the work cards (narrow-wrap), clear of the header's clock;
   the right side gives back the same amount so the text column keeps its width */
.mascot > .side-wrap { padding-left: var(--side-n); padding-right: max(0px, calc(var(--side) * 2 - var(--side-n))); }
/* each title line stays one line ("tercih edilmek," broke in two around 1024px) */
.mascot-title .line { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1279.98px) { .mascot .col-lg-6 { flex: 0 0 62%; max-width: 62%; } }
/* leopard: a rim-lit silhouette looking back over its shoulder, light behind it */
.mascot-sil { position: absolute; right: calc(var(--u) * 120); top: 50%; width: calc(var(--u) * 860); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.mascot-sil img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; opacity: .55; filter: brightness(.9) contrast(1.15) saturate(.85);
  -webkit-mask-image: radial-gradient(62% 62% at 58% 50%, #000 52%, transparent 100%); mask-image: radial-gradient(62% 62% at 58% 50%, #000 52%, transparent 100%); }
.sil-light { position: absolute; left: 36%; top: 6%; width: 64%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(170, 60, 70, .45), rgba(110, 24, 38, .18) 55%, transparent); filter: blur(30px); animation: silLight 7s ease-in-out infinite alternate; }
@keyframes silLight { from { opacity: .55; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
.mascot .side-wrap { z-index: 2; }
.pillars { list-style: none; padding: 0; margin: 0; font-size: calc(var(--u) * 15); letter-spacing: .5em; text-transform: uppercase; line-height: 2; color: rgba(255,255,255,.85); }
.dash { display: block; width: 22px; height: 1px; background: rgba(255,255,255,.6); margin: 30px 0 40px; }
/* flex column: the lines' negative mask margins add up instead of collapsing (they had left a .26em gap between lines) */
.mascot-title { margin: 0; font-size: calc(var(--u) * 112); font-weight: 400; letter-spacing: -.03em; line-height: 1.02; display: flex; flex-direction: column; align-items: flex-start; }
.mascot-title .line > span { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mascot-desc { max-width: calc(var(--u) * 520); font-size: calc(var(--u) * 20); line-height: 1.6; color: rgba(255,255,255,.72); margin: 34px 0 30px; }
.link-cta { display: inline-flex; gap: 10px; align-items: center; font-size: calc(var(--u) * 20); color: var(--copper-2); padding-bottom: 6px; position: relative; }
.link-cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transform: scaleX(.35); transition: transform var(--t-md) var(--ease); }
.link-cta:hover::after { transform: scaleX(1); transform-origin: left; }
.link-cta .arr { transition: transform var(--t-sm) var(--ease); }
.link-cta:hover .arr { transform: translateX(4px); }

/* =========================================================
   SHOWREEL + FOOTER
   ========================================================= */
.showreel { background: #2a0910; height: 100vh; min-height: 640px; }
.scene-reel .scene-mountain { top: calc(var(--u) * -180); }
/* Figma: a curtain of soft vertical light rays falling from the top of the showreel */
.scene-rays { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 75%; background: url("../img/bg-rays.webp") 50% 0 / 100% 100% no-repeat; opacity: .8; transform-origin: 50% 0; animation: raysSway 18s ease-in-out infinite alternate; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
.scene-rays-hero { height: 62%; opacity: .5; }
@keyframes raysSway { 0% { transform: scaleX(1) skewX(-2deg); opacity: .7; } 100% { transform: scaleX(1.08) skewX(2deg); opacity: .95; } }
.reel-stage { position: absolute; inset: 0; display: grid; place-items: center; z-index: 6; }
.reel {
  /* Figma: a wide pill (stadium), not an oval */
  position: absolute; left: 50%; top: 50%; width: calc(var(--u) * 1035); height: calc(var(--u) * 482); margin: calc(var(--u) * -241) 0 0 calc(var(--u) * -517.5);
  border-radius: calc(var(--u) * 241); overflow: hidden; background: #0c0506; box-shadow: 0 60px 120px -40px rgba(0,0,0,.85); display: block; padding: 0;
}
.reel-media { position: absolute; inset: 0; display: block; }
.reel-media img, .reel-media video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.58) contrast(1.12); transform: scale(1.04); transition: transform 1.6s var(--ease), filter 1s var(--ease); }
.reel:hover .reel-media img, .reel:hover .reel-media video { transform: scale(1.08); filter: brightness(.8) contrast(1.1); }
.marquee { position: absolute; left: 0; right: 0; top: calc(50% - var(--u) * 127); z-index: 3; white-space: nowrap; pointer-events: none; }
.marquee-track { display: inline-flex; align-items: center; will-change: transform; }
.mq-item { display: inline-flex; align-items: center; gap: calc(var(--u) * 40); padding-right: calc(var(--u) * 40); font-size: calc(var(--u) * 127); font-weight: 400; letter-spacing: -.01em; line-height: 1; color: #f1ecec; text-transform: uppercase; }
.mq-logo { display: block; height: calc(var(--u) * 104); color: #f1ecec; }
.reel-btn { position: absolute; z-index: 4; left: 0; right: 0; width: fit-content; margin: 0 auto; top: calc(50% + var(--u) * 98); height: calc(var(--u) * 64); min-height: 48px; padding: 0 calc(var(--u) * 52); font-size: clamp(15px, calc(var(--u) * 20), 21px); }.reel-btn:active { scale: .96; }

/* Figma: the footer sits on the showreel's own dune (one surface) and is short enough that at
   the very end of the page the bottom of the oval and its "Şimdi İzle" button are still on screen */
/* Figma: at the page end the whole pill is on screen with the footer right under it. The footer
   rides up over the showreel so the end view starts at the pill's top, but never so far that its
   text would run into the pill (short screens: then only the pill's lower part and button show) */
/* Figma's page end, scaled like the rest of the page (all in u, measured from the bottom edge):
   reel bottom 732u, "Şimdi sen de" 602u, socials 220u. On very short screens the min() keeps
   the "Şimdi İzle" button at least 20px below the top of the screen. */
.site-footer { position: relative; overflow: visible; height: calc(var(--u) * 672); padding-top: calc(var(--u) * 70); display: flex; flex-direction: column;
  margin-top: min(calc(-50vh + var(--u) * 301), calc(50vh - var(--u) * 574 - 20px)); pointer-events: none; }
.footer-main, .footer-bar { position: relative; z-index: 6; pointer-events: none; }
.footer-main > *, .footer-bar > * { pointer-events: auto; }
.footer-main { display: flex; align-items: flex-start; flex: 1 1 auto; min-height: 0; }
.footer-main .footer-logo { margin-top: calc(var(--u) * 72); }
.footer-logo { margin-left: calc(var(--u) * 493); height: calc(var(--u) * 196); --logo-dij: #f2dccb; }
.footer-col { margin-left: calc(var(--u) * 390); }
.footer-pre { font-size: calc(var(--u) * 47); font-weight: 200; margin: 0; line-height: 1.15; letter-spacing: -.01em; }
.footer-cta { display: block; text-align: left; font-size: calc(var(--u) * 64); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; position: relative; padding-bottom: calc(var(--u) * 26); }
.footer-cta .line > span { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc-line { position: absolute; left: 0; bottom: 0; width: calc(var(--u) * 356); height: 1px; background: rgba(255,255,255,.75); transform-origin: left; transition: width var(--t-md) var(--ease); }
.fc-line::after { content: ""; position: absolute; right: -1px; top: -3px; border-left: 6px solid rgba(255,255,255,.85); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.footer-cta:hover .fc-line { width: 100%; }
.footer-mail { margin: calc(var(--u) * 50) 0 calc(var(--u) * 46); }
.footer-mail small { display: block; font-size: calc(var(--u) * 24); font-weight: 200; color: rgba(255,255,255,.42); margin-bottom: 2px; }
.mail { font-size: calc(var(--u) * 37); position: relative; transition: opacity var(--t-xs) var(--ease); letter-spacing: -.005em; }
.mail:hover { opacity: .75; }
.mail:active { opacity: .5; }
.copied { position: absolute; left: 100%; top: 50%; margin-left: 14px; transform: translateY(-50%); font-size: 13px; color: var(--copper-2); white-space: nowrap; pointer-events: none; opacity: 0; }
.socials { display: flex; gap: calc(var(--u) * 66); }
.socials a { color: var(--copper-2); width: calc(var(--u) * 34); height: calc(var(--u) * 34); min-width: 20px; min-height: 20px; display: inline-flex; transition: transform var(--t-sm) var(--ease), opacity var(--t-xs) var(--ease); }
.socials a:hover { transform: translateY(-3px); }
.socials a:active { opacity: .5; }
.socials svg { width: 100%; height: 100%; }
.socials.sm { gap: 28px; }
.socials.sm a { width: 24px; height: 24px; min-width: 0; min-height: 0; }

.footer-bar { display: flex; align-items: flex-end; padding-left: var(--side-n); font-size: clamp(11px, calc(var(--u) * 13), 14px); color: rgba(255,255,255,.85); }
.footer-bar > * { flex: 0 0 auto; }
.footer-bar > span:not(.to-top-wrap) { padding-bottom: calc(var(--u) * 28); }
/* easter egg: only rises when you keep scrolling after the end of the site */
.to-top-wrap { display: block; width: calc(var(--u) * 197); min-width: 130px; height: calc(var(--u) * 84); min-height: 56px; margin-right: calc(var(--u) * 237); overflow: hidden; position: relative; }
.to-top { position: absolute; left: 0; right: 0; bottom: 0; background: #d29c7d; color: #1a0507; height: calc(var(--u) * 72); min-height: 48px; font-size: inherit; transition: background-color var(--t-sm) var(--ease), height var(--t-md) var(--ease); transform: translateY(105%); will-change: transform; }.to-top:hover { background: var(--copper-2); height: calc(var(--u) * 84); }
.footer-bar > span { white-space: nowrap; margin-right: calc(var(--u) * 110); }
/* the three info texts sit centred on the page: an invisible twin of the left block (gutter + button) balances it on the right */
.footer-bar > span:last-child { margin-right: 0; }
.footer-bar > .to-top-wrap { margin-right: auto; }
.footer-bar::after { content: ""; flex: 0 0 auto; margin-left: auto; width: calc(var(--side-n) + max(130px, var(--u) * 197)); }
.credits-host { position: relative; display: inline-block; overflow: hidden; vertical-align: middle; user-select: none; -webkit-user-select: none; white-space: nowrap; }
.credits-static { display: inline-block; white-space: nowrap; }
.credits-roll { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; white-space: nowrap; opacity: 0; color: var(--copper-2); pointer-events: none; }

/* =========================================================
   PANELS
   ========================================================= */
.panel { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 70; visibility: hidden; border-radius: 0; overflow: hidden; box-shadow: 0 -40px 120px -20px rgba(0,0,0,.75); }
/* a layer of its own only while it slides: a panel kept on a GPU layer can draw its text soft on scaled screens */
.is-animating .panel { will-change: transform; }
.panel.is-open { visibility: visible; }
.panel-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; }
.panel-scroll::-webkit-scrollbar { display: none; }
.panel-light { background: linear-gradient(180deg, #d9d9dc, #eeeeef 30%, #e4e4e6); color: var(--ink); }
.panel-dark { background: #0b0607; color: #f3eeea; }
.panel-back { position: absolute; top: 26px; right: calc(var(--u) * 40 + 10px); z-index: 5; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--copper-2); transition: transform var(--t-sm) var(--ease), opacity var(--t-xs) var(--ease); }
.panel-light .panel-back { color: var(--bordo); }
.panel-back .chev { font-size: 16px; line-height: 1; transition: transform var(--t-sm) var(--ease); }
.panel-back:hover .chev { transform: translateX(-4px); }
.panel-back:active { opacity: .5; }
.kicker { display: block; font-size: 12px; letter-spacing: .45em; text-transform: uppercase; opacity: .6; margin-bottom: 18px; }

/* --- works panel --- */
.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 110px; padding-bottom: 50px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 34px; padding: 0 15px; border-radius: 30px; border: 1px solid rgba(42,10,16,.25); font-size: 13px; transition: background-color var(--t-sm) var(--ease), color var(--t-sm) var(--ease), border-color var(--t-sm) var(--ease), transform var(--t-xs) var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.95); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.case-list { display: grid; grid-template-columns: repeat(12, 1fr); gap: 60px 24px; padding-bottom: 18vh; }
.case { grid-column: span 6; transition: opacity var(--t-md) var(--ease), filter var(--t-lg) var(--ease), transform var(--t-md) var(--ease); }
.case:nth-child(3n+1) { grid-column: span 12; }
.case.is-hidden { display: none; }
.case-media { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--tone, #3b0d14); width: 100%; display: block; isolation: isolate; transition: transform var(--t-md) var(--ease), filter var(--t-sm) var(--ease); }
.case:nth-child(3n+1) .case-media { aspect-ratio: 21 / 9; }
.case-media video, .case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-media .dim { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity var(--t-md) var(--ease); z-index: 2; pointer-events: none; }
.case-media.is-paused .dim { opacity: .32; }
.case-media.is-paused .ph-art { animation-play-state: paused; }
.case-media .state { position: absolute; left: 50%; top: 50%; z-index: 3; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; color: #fff; opacity: 0; transform: scale(.8); transition: opacity var(--t-sm) var(--ease), transform var(--t-sm) var(--ease); pointer-events: none; }
.case-media.is-paused .state { opacity: 1; transform: none; }
.case-media .state svg { width: 14px; height: 14px; }
.case-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 16px; }
.case-meta h3 { margin: 0; font-size: clamp(20px, 2vw, 32px); font-weight: 500; letter-spacing: -.02em; }
.case-meta .case-open { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--bordo); position: relative; padding-bottom: 3px; white-space: nowrap; }
.case-meta .case-open::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform var(--t-md) var(--ease); }
.case-meta .case-open:hover::after { transform: scaleX(1); }
.case-meta small { font-size: 13px; opacity: .6; }
.case-sub { display: flex; gap: 22px; align-items: baseline; }
.case.is-target .case-media { box-shadow: 0 0 0 1px var(--bordo); }
.panel.has-focus .case:not(.is-focus), .panel.has-focus .panel-head, .panel.has-focus .panel-back { filter: blur(7px) saturate(.8) brightness(1.04); opacity: .55; }
.panel.has-focus .case.is-focus { transform: scale(1.01); }
.smear { transform: skewX(var(--sk, 0deg)) translateX(var(--sx, 0px)); filter: drop-shadow(var(--ca, 0px) 0 0 rgba(255,40,60,.45)) drop-shadow(calc(var(--ca, 0px) * -1) 0 0 rgba(40,220,255,.4)); }

/* --- case study (work detail) --- */
.panel-case { background: radial-gradient(90% 60% at 70% 0%, #3a0a14 0%, #23070d 45%, #150407 100%); }
.cs { display: grid; grid-template-columns: calc(var(--u) * 470) 1fr; column-gap: calc(var(--u) * 110); padding: calc(var(--u) * 140) calc(var(--u) * 80) 0 calc(var(--u) * 200); min-height: 100%; }
/* the sticky column sits on whole pixels: at a half-pixel offset its text is drawn blurred */
.cs-left { position: sticky; top: calc(var(--u) * 150); top: round(calc(var(--u) * 150), 1px); align-self: start; padding-bottom: 60px; }
.cs-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
/* no reserved second line: a one-line title is followed by the same gap as a two-line one */
.cs-title { margin: 0; font-size: calc(var(--u) * 40); font-weight: 500; line-height: 1.06; letter-spacing: -.015em; }
.cs-logo { width: calc(var(--u) * 120); height: calc(var(--u) * 46); flex: 0 0 auto; -webkit-mask: var(--logo) right center / contain no-repeat; mask: var(--logo) right center / contain no-repeat; background: #f3eeea; opacity: .9; }
.cs-sub { margin: calc(var(--u) * 26) 0 calc(var(--u) * 28); font-size: calc(var(--u) * 15); color: #c4485a; letter-spacing: .01em; }
.cs-desc { font-size: calc(var(--u) * 17); line-height: 1.55; color: rgba(255,255,255,.8); margin: 0; }
/* the rule sits half-way between the text above and the Yaklaşım / Sonuç headings below */
.cs-rule { height: 1px; background: rgba(255,255,255,.14); margin: calc(var(--u) * 38) 0 calc(var(--u) * 34); width: 70%; transform-origin: left; }
.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 40); }
.cs-cols h4 { margin: 0 0 10px; font-size: calc(var(--u) * 16); font-weight: 500; color: var(--copper-2); }
.cs-cols p { margin: 0; font-size: calc(var(--u) * 15); line-height: 1.55; color: rgba(255,255,255,.72); }
.cs-right { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 34); align-content: start; padding-bottom: calc(var(--u) * 40); }
.cs-block { position: relative; grid-column: span 2; }
.cs-block.half { grid-column: span 1; }
.cs-label { display: block; font-size: calc(var(--u) * 14); color: #c4485a; margin-bottom: 10px; }
.cs-caption { display: block; text-align: right; font-size: calc(var(--u) * 14); color: #c4485a; margin-top: 10px; }
.cs-media { position: relative; overflow: hidden; background: #1a0a0d; aspect-ratio: 16 / 9; width: 100%; display: block; isolation: isolate; border-radius: 2px; }
.cs-block.half .cs-media { aspect-ratio: 16 / 9; }
.cs-media > video, .cs-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-play { position: absolute; left: 50%; top: 50%; width: calc(var(--u) * 78); height: calc(var(--u) * 78); min-width: 42px; min-height: 42px; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); display: grid; place-items: center; color: #fff; z-index: 3; transition: transform var(--t-md) var(--ease), background-color var(--t-md) var(--ease), opacity var(--t-md) var(--ease); }
.cs-play svg { width: 30%; height: 30%; margin-left: 6%; }
.cs-media:hover .cs-play { transform: translate(-50%, -50%) scale(1.08); background: rgba(255,255,255,.08); }
.cs-media.is-playing .cs-play { opacity: 0; transform: translate(-50%, -50%) scale(.85); }
.cs-media .dim { position: absolute; inset: 0; background: #000; opacity: 0; z-index: 2; pointer-events: none; transition: opacity var(--t-md) var(--ease); }
.cs-media.is-paused .dim { opacity: .3; }
/* photos inside album frames and compare sides fill their box like the rest (they used to keep their own pixel size) */
.cmp .cmp-after > img, .cmp .cmp-after > video, .cmp .cmp-before > img, .cmp .cmp-before > video,
.album .al-frame > img, .album .al-frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a photo whose shape is far from its box is shown whole, over a soft blur of itself */
.is-fit img:not(.fit-blur), .is-fit video { object-fit: contain; }
img.fit-blur { position: absolute; left: -6%; top: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover; filter: blur(26px) brightness(.5) saturate(1.15); pointer-events: none; }
.cs-media > .lens-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; pointer-events: none; }
.play-tile { cursor: pointer; }
.ig-mark { position: absolute; right: 10px; top: 10px; width: 18px; height: 18px; z-index: 3; color: #fff; opacity: .85; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); pointer-events: none; }
.ig-mark svg { width: 100%; height: 100%; display: block; }
.vid-mark[data-p="youtube"] { width: 22px; right: 9px; }

/* color grade compare */
.cmp { cursor: ew-resize; touch-action: pan-y; user-select: none; }
.cmp .cmp-after, .cmp .cmp-before { position: absolute; inset: 0; }
.cmp .cmp-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.cmp .cmp-before .ph-art, .cmp .cmp-before .graded-raw { filter: saturate(.25) contrast(.72) brightness(1.18); }
.cmp-bar { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 1.5px; margin-left: -.75px; background: rgba(255,255,255,.9); z-index: 3; pointer-events: none; }
.cmp-knob { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(15,4,6,.55); border: 1.5px solid #fff; backdrop-filter: blur(4px); display: grid; place-items: center; transition: transform var(--t-sm) var(--ease); }
.cmp-knob::before { content: "‹ ›"; font-size: 13px; color: #fff; letter-spacing: 2px; }
.cmp.is-drag .cmp-knob { transform: scale(.85); }
.cmp-tag { position: absolute; bottom: 12px; z-index: 3; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.cmp-tag.l { left: 14px; } .cmp-tag.r { right: 14px; }

/* album — click to the next frame */
.album { cursor: pointer; }
.album .al-frame { position: absolute; inset: 0; }
.album .al-count { position: absolute; left: 16px; bottom: 14px; z-index: 4; font-size: 12px; color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.album .al-hint { position: absolute; right: 16px; bottom: 14px; z-index: 4; font-size: 12px; color: rgba(255,255,255,.85); }

/* stats + chart */
.cs-stats { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 40); align-items: center; padding: calc(var(--u) * 40) 0 calc(var(--u) * 20); }
.cs-num { font-size: calc(var(--u) * 84); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.cs-num-label { font-size: calc(var(--u) * 15); color: rgba(255,255,255,.7); margin-top: 6px; }
.cs-chart { width: 100%; height: calc(var(--u) * 120); margin-top: calc(var(--u) * 16); overflow: visible; display: block; }
.cs-chart path { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cs-legend { display: flex; gap: 18px; font-size: 11px; color: rgba(255,255,255,.6); margin-top: 8px; }
.cs-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; vertical-align: middle; }
.cs-words { font-size: calc(var(--u) * 56); line-height: 1.08; letter-spacing: -.02em; white-space: nowrap; }
.cs-words .w1 { font-weight: 200; color: rgba(255,255,255,.55); }
.cs-words .w2 { font-weight: 400; }
.cs-words .w3 { font-weight: 500; }
/* reels: rows built by layoutReels(); every row holds --c reels edge to edge, a shorter last row starts at the left
   (a lone short row of 1–2 reels sits centred) */
.cs-reels { --c: 4; --g: calc(var(--u) * 14); display: flex; flex-direction: column; gap: var(--g); }
.cs-reels > .cs-media { width: 25%; }
.reel-row { display: flex; justify-content: flex-start; gap: var(--g); }
.reel-row.is-solo { justify-content: center; }
.reel-row > .cs-media { flex: 0 0 calc((100% - (var(--c) - 1) * var(--g)) / var(--c)); width: auto; }
.cs-reels .cs-media { aspect-ratio: 9 / 16; }
.cs-reels .cs-play { width: calc(var(--u) * 40); height: calc(var(--u) * 40); min-width: 26px; min-height: 26px; }

.cs-next { grid-column: 1 / -1; min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; }
.cs-next p { margin: 0; font-size: calc(var(--u) * 24); font-weight: 200; }
.cs-next u { text-decoration: none; position: relative; cursor: pointer; font-weight: 400; }
.cs-next u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; }
.cs-next-bar { width: calc(var(--u) * 240); height: 1px; background: rgba(255,255,255,.14); position: relative; overflow: hidden; }
.cs-next-bar i { position: absolute; inset: 0; background: var(--copper-2); transform: scaleX(var(--p, 0)); transform-origin: left; }
.cs-next-title { font-size: calc(var(--u) * 15); color: #c4485a; }

/* --- manifesto --- */
.mf-hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; padding-bottom: 12vh; overflow: hidden; }
.mf-fur { position: absolute; right: 0; top: 0; height: 100%; width: 46%; object-fit: cover; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.mf-hero .narrow-wrap { position: relative; width: 100%; }
.mf-title { margin: 0 0 -.26em; padding-bottom: .26em; font-size: calc(var(--u) * 140); font-weight: 400; letter-spacing: -.04em; line-height: .92; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mf-list { padding-top: 6vh; padding-bottom: 14vh; }
.mf-item { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 7vh 0; border-top: 1px solid rgba(255,255,255,.1); }
.mf-no { font-size: 12px; letter-spacing: .2em; color: var(--copper); padding-top: 14px; }
.mf-item h3 { margin: 0 0 18px; font-size: calc(var(--u) * 70); font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.mf-item p { margin: 0; max-width: 620px; font-size: clamp(15px, calc(var(--u) * 19), 20px); line-height: 1.65; color: rgba(255,255,255,.7); }
.mf-end { position: relative; min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 34px; overflow: hidden; }
.mf-sil { right: auto; left: 50%; width: min(80vh, 760px); transform: translate(-50%, -50%); }
.mf-end p { position: relative; margin: 0; font-size: clamp(14px, 1.2vw, 16px); letter-spacing: .5em; text-transform: uppercase; line-height: 2.2; max-width: 520px; padding-left: .5em; }
.mf-end .pill { position: relative; }

/* --- contact (single screen, no scroll) --- */
.panel-contact { background: #12050a; }
.scene-contact { z-index: 0; }
.scene-contact .scene-base { background: url("../img/bg-contact.webp") center / cover no-repeat, #14060a; }
.scene-contact .scene-beam { left: calc(var(--u) * 260); opacity: .4; }
.panel-contact .glow { width: 1100px; height: 1100px; margin: -550px 0 0 -550px; }
.contact-wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--u) * 260) 0 calc(var(--u) * 324); }
.contact-title { margin: 0; letter-spacing: -.03em; line-height: .9; color: var(--peach); }
.contact-title .line:nth-child(1) { font-size: calc(var(--u) * 80); } .contact-title .line:nth-child(2) { font-size: calc(var(--u) * 125); } .contact-title .line:nth-child(3) { font-size: calc(var(--u) * 150); }
.contact-title .c1 { font-size: calc(var(--u) * 80); font-weight: 200; }
.contact-title .c2 { font-size: calc(var(--u) * 125); font-weight: 400; }
.contact-title .c3 { font-size: calc(var(--u) * 150); font-weight: 500; }
/* "ilk adımla" and "başlar." share one soft peach gradient: the last word no longer turns darker copper */
.contact-title .c2, .contact-title .c3 { background: linear-gradient(180deg, #fde1ce 0%, #f6d4bb 48%, #ecc2a3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* "Her şey ilk adımla" sits closer to "başlar.", and the line under it hugs it too */
.contact-title .line:nth-child(3) { margin-top: -.26em; }
.contact-sub { font-size: calc(var(--u) * 32); font-weight: 200; color: #fff; margin-top: calc(var(--u) * 6); line-height: 1.3; }
.contact-right { width: calc(var(--u) * 390); min-width: 300px; }
.form-stage { position: relative; min-height: 300px; }
.contact-form { position: relative; }
.form-title { font-size: calc(var(--u) * 30); min-height: 0; color: var(--copper-2); margin: 0 0 22px; font-weight: 200; }
.form-title b { font-weight: 500; }
.field { position: relative; display: block; margin-bottom: 14px; padding-top: 6px; }
.field input, .field textarea { width: 100%; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 15px; padding: 10px 0 10px 14px; resize: none; line-height: 1.4; border-bottom: 1px solid rgba(255,255,255,.16); border-radius: 0; caret-color: var(--copper); }
.field textarea { min-height: 42px; max-height: 140px; }
.field::before { content: ""; position: absolute; left: 0; top: 18px; width: 1px; height: 18px; background: var(--copper); opacity: .8; transition: transform var(--t-sm) var(--ease), opacity var(--t-sm) var(--ease); transform-origin: top; }
.field.is-focus::before { transform: scaleY(1.4); opacity: 1; }
.field .ph { position: absolute; left: 14px; top: 16px; font-size: 14px; color: rgba(255,255,255,.38); pointer-events: none; transform-origin: left top; transition: transform var(--t-sm) var(--ease), color var(--t-sm) var(--ease), opacity var(--t-sm) var(--ease); }
.field.is-focus .ph, .field.is-filled .ph { transform: translateY(-17px) scale(.78); color: var(--copper-2); }
.field .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--copper-2), var(--copper)); transform: scaleX(0); transform-origin: left; transition: transform var(--t-md) var(--ease); }
.field.is-focus .bar { transform: scaleX(1); }
.hint { display: block; font-style: normal; font-size: 12px; color: var(--peach); opacity: 0; height: 0; transform: translateY(-4px); transition: opacity var(--t-sm) var(--ease), transform var(--t-sm) var(--ease), height var(--t-sm) var(--ease); }
.field.has-hint .hint, .hint.is-on { opacity: .85; height: 16px; transform: none; margin-top: 6px; }
.field.has-hint .bar { background: var(--peach); transform: scaleX(.25); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.cap-row { display: flex; align-items: flex-start; gap: 12px; }
.cap-row .field { flex: 1; min-width: 0; }
.cap-row .field input { text-transform: uppercase; letter-spacing: .12em; }
.cap-box { flex: none; display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; }
.cap-box img { display: block; width: 132px; height: 38px; border-radius: 4px; background: #1c0a10; }
.cap-refresh { display: grid; place-items: center; width: 32px; height: 38px; color: var(--copper-2); transition: transform var(--t-sm) var(--ease), opacity var(--t-xs) var(--ease); }
.cap-refresh:hover { transform: rotate(60deg); }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; }
.send { font-size: 15px; color: var(--copper-2); display: inline-flex; gap: 8px; align-items: center; padding: 10px 0; position: relative; transition: opacity var(--t-xs) var(--ease); margin-left: auto; }
.send::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-md) var(--ease); }
.send:hover::after { transform: scaleX(1); transform-origin: left; }
.send .arr { transition: transform var(--t-sm) var(--ease); }
.send:hover .arr { transform: translateX(5px); }
.send.is-busy { opacity: .45; pointer-events: none; }
.form-done { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; visibility: hidden; }
.done-title { margin: 0; font-size: clamp(36px, 3.7vw, 60px); font-weight: 400; letter-spacing: -.03em; line-height: 1; color: var(--peach); white-space: nowrap; }
.done-sub { margin: 4px 0 0; font-size: clamp(16px, 1.25vw, 20px); color: rgba(255,255,255,.72); }
.contact-bottom { position: absolute; left: calc(100% - var(--u) * 260 - var(--u) * 390); bottom: 38px; display: flex; align-items: center; gap: 36px; }
.contact-bottom .mail { font-size: clamp(16px, calc(var(--u) * 22), 24px); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(5, 3, 3, .62); -webkit-backdrop-filter: blur(6px) saturate(.8); backdrop-filter: blur(6px) saturate(.8); visibility: hidden; opacity: 0; display: grid; place-items: center; }
.lightbox-media { box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.lightbox-media { width: min(1280px, 92vw); aspect-ratio: 16 / 9; background: #111; border-radius: 10px; overflow: hidden; display: grid; place-items: center; color: rgba(255,255,255,.5); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.lightbox-media video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.lightbox-media iframe { width: 100%; height: 100%; border: 0; background: #000; }
.lightbox-media.is-tall { width: auto; height: min(86vh, 920px); max-width: 92vw; aspect-ratio: 9 / 16; }
/* Instagram's player is a 400×720 card; --k scales it to the screen */
.lightbox-media.is-ig { --k: 1; --igh: 720; width: calc(400px * var(--k)); height: calc(var(--igh) * 1px * var(--k)); aspect-ratio: auto; background: #fff; border-radius: 12px; place-items: start; transition: height .35s var(--ease); }
.ig-embed { width: 400px; height: calc(var(--igh) * 1px); transform: scale(var(--k)); transform-origin: 0 0; }
.ig-embed iframe { display: block; background: #fff; }
.lightbox-media.is-ig { position: relative; }
.ig-wait { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: #120508; overflow: hidden; }
.ig-wait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.ig-wait i { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; animation: igspin .8s linear infinite; }
@keyframes igspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ig-wait i { animation-duration: 2.4s; } }
/* the owner switched embedding off: the cover, and a way to Instagram */
.ig-off { position: relative; width: 100%; height: 100%; display: grid; place-items: center; background: #120508; text-transform: none; letter-spacing: 0; }
.ig-off img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.45); transform: scale(1.08); }
.ig-off-box { position: relative; padding: 28px; text-align: center; color: #fff; display: grid; gap: 18px; justify-items: center; }
.ig-off-box p { margin: 0; font-size: 15px; line-height: 1.5; max-width: 280px; }
.ig-off-box a, .lb-ext { color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .04em; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 10px 20px; transition: background-color var(--t-sm) var(--ease); }
.ig-off-box a:hover, .lb-ext:hover { background: rgba(255,255,255,.12); }
.lb-ext { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 8px 16px; font-size: 12px; border-color: rgba(255,255,255,.35); }
.lb-ext[hidden] { display: none; }
.cs-media > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }

/* =========================================================
   EASTER EGGS
   ========================================================= */
#vhs { position: fixed; inset: 0; z-index: 970; pointer-events: none; opacity: 0; mix-blend-mode: screen; }
#vhs.is-on { opacity: 1; }
.vhs-lines { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px); animation: vhsRoll 1.2s linear infinite; }
.vhs-noise { position: absolute; inset: -50%; background-size: 160px; opacity: .25; animation: grainMove .25s steps(3) infinite; }
.vhs-osd, .vhs-time { position: absolute; top: 34px; font-family: "Courier New", monospace; font-size: 22px; color: #fff; text-shadow: 2px 0 rgba(255,0,60,.7), -2px 0 rgba(0,220,255,.7); letter-spacing: .1em; }
.vhs-osd { left: 44px; } .vhs-time { right: 44px; }
@keyframes vhsRoll { from { background-position: 0 0; } to { background-position: 0 30px; } }
html.vhs-active .home, html.vhs-active .panel { animation: vhsShake .14s steps(2) infinite; filter: saturate(1.4) contrast(1.15); }
html.vhs-active body::after { content: ""; position: fixed; inset: 0; z-index: 969; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%); }
@keyframes vhsShake { 0% { transform: translate(0, 0); } 50% { transform: translate(-1px, 1px); } 100% { transform: translate(1px, 0); } }
html.vhs-active .home *:not(canvas) { text-shadow: 1.5px 0 rgba(255,0,60,.55), -1.5px 0 rgba(0,220,255,.55); }
html.wireframe body { background: #070707 !important; }
html.wireframe body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(201,146,114,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(201,146,114,.08) 1px, transparent 1px); background-size: 40px 40px; }
html.wireframe .home *, html.wireframe .panel *, html.wireframe .site-header * {
  background: transparent !important; box-shadow: none !important; outline: 1px solid rgba(201,146,114,.45) !important; outline-offset: -1px;
  color: rgba(240,230,222,.85) !important; -webkit-text-fill-color: rgba(240,230,222,.85) !important; -webkit-text-stroke: 0 !important; border-color: rgba(201,146,114,.4) !important;
}
html.wireframe .sec, html.wireframe .panel { background: transparent !important; }
html.wireframe img, html.wireframe video, html.wireframe canvas, html.wireframe .ph-art::after, html.wireframe .plogo { opacity: .06 !important; }
html.wireframe #grain, html.wireframe #ink { opacity: 0 !important; }

/* =========================================================
   404
   ========================================================= */
.page-404 { min-height: 100vh; background: radial-gradient(120% 120% at 80% 100%, #b9b4b4 0%, #e9e8e8 45%, #f3f2f2 100%); color: #9b1c25; position: relative; overflow: hidden; display: flex; align-items: center; }
.page-404 .waves { opacity: .9; }
.page-404 .wrap { position: relative; z-index: 2; padding: 0 var(--side); }
.page-404 h1 { margin: 0; font-size: clamp(46px, calc(var(--u) * 92), 120px); font-weight: 500; letter-spacing: -.03em; }
.page-404 p { margin: 4px 0 0; font-size: clamp(16px, calc(var(--u) * 30), 34px); font-weight: 400; }
.page-404 .panel-back { position: fixed; color: #9b1c25; }

/* =========================================================
   RESPONSIVE — below the 1920 frame's proportions
   ========================================================= */
@media (max-width: 1199px) {
  :root { --u: calc(100vw / 1440); --side: 6vw; --side-n: 8vw; }
}
@media (max-width: 991px) {
  :root { --u: calc(100vw / 900); --side: 24px; --side-n: 24px; --header-h: 90px; }
  .clock { display: none; }
  .hero-inner { top: 22vh; }
  .hero-title .l1, .hero-title .line:nth-child(1) { font-size: 7.6vw; }
  .hero-title .l2, .hero-title .line:nth-child(2) { font-size: 13.4vw; }
  .hero-logos { height: 44px; }
  .hero-desc { left: var(--side); right: var(--side); width: auto; top: auto; bottom: 12vh; font-size: 18px; max-width: 420px; }
  .hero-desc .br-d { display: none; }
  .noise-head { flex-direction: column; }
  .noise-title { font-size: 7.6vw; }
  .noise-desc { width: auto; font-size: 17px; margin: 0; }
  .svc-row { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 50px; }
  .svc-wrap { flex: none; }
  .svc-x { align-self: center; width: 22px; }
  .svc-card { height: auto; min-height: 240px; padding: 28px; border-radius: 12px 70px 12px 12px; }
  .svc-wrap::after { border-radius: 12px 70px 12px 12px; background: radial-gradient(240px circle at 0% 0%, rgba(255,255,255,.9), rgba(255,255,255,.35) 30%, transparent 70%); }
  .svc-card h3 { font-size: 44px; padding-top: 30px; }
  .svc-card p { font-size: 15px; margin-top: 26px; }
  .svc-no { font-size: 15px; }
  .big-title { font-size: 11vw; }
  .k-arrow { height: 9vw; }
  .sec-head { margin-bottom: 50px; }
  .works-grid { grid-template-columns: 1fr; gap: 14px; }
  .work-card .wc-title { font-size: 20px; } .work-card small { font-size: 13px; }
  .work-card .wc-text { left: 18px; bottom: 16px; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .partners-grid .pcell { justify-self: center !important; }
  .mascot-sil { width: 100vw; right: -20vw; opacity: .6; }
  .scene-mountain { width: 260vw; left: -70vw; top: auto; bottom: -95vw; }
  .scene-beam { left: 10vw; width: 120vw; height: 120vw; top: -20vw; }
  .scene-curtain i:nth-child(n+5), .dune-lit { display: none; }
  .scene-hs .scene-mountain { width: 260vw; left: -70vw; bottom: auto; top: calc(100svh - 165vw); }
  .scene-reel .scene-mountain { bottom: auto; top: calc(100vh - 165vw); }
  .scene-reel .waves { height: 100%; }
  .site-footer { height: auto; margin-top: 0; padding-top: 10px; }
  .mascot-title { font-size: 12vw; }
  .mascot-desc, .link-cta { font-size: 16px; }
  .pillars { font-size: 12px; }
  .reel { width: 90vw; height: 52vw; margin: -26vw 0 0 -45vw; border-radius: 26vw; }
  .mq-item { font-size: 15vw; } .mq-logo { height: 12vw; }
  .marquee { top: calc(50% - 22vw); }
  .reel-btn { top: calc(50% + 12vw); }
  .footer-main { flex-direction: column; align-items: flex-start; padding: 40px var(--side) 60px; gap: 50px; }
  .footer-logo, .footer-col { margin-left: 0; }
  .footer-logo { height: 140px; }
  .footer-pre { font-size: 30px; } .footer-cta { font-size: 40px; } .fc-line { width: 220px; }
  .footer-mail small { font-size: 15px; } .mail { font-size: 22px; }
  .socials { gap: 30px; } .socials a { width: 26px; height: 26px; }
  .footer-bar { flex-wrap: wrap; padding-left: 0; gap: 14px 26px; padding-bottom: 20px; }
  .footer-bar > span { margin-right: 0; }
  .footer-bar::after { display: none; }
  .footer-bar > span:first-of-type, .footer-bar > .credits-host { margin-left: var(--side); }
  .footer-bar > span.to-top-wrap { margin-left: 0; }
  .to-top-wrap { width: 100%; margin-right: 0; }
  .to-top { transform: none; }
  .footer-bar > span:not(.to-top-wrap) { padding-bottom: 0; }
  .case, .case:nth-child(3n+1) { grid-column: span 12; }
  .mf-item { grid-template-columns: 1fr; gap: 6px; }
  .mf-item h3 { font-size: 38px; } .mf-title { font-size: 15vw; }
  .contact-wrap { flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 90px var(--side) 40px; overflow-y: auto; gap: 40px; }
  .contact-title .c1, .contact-title .line:nth-child(1) { font-size: 9vw; } .contact-title .c2, .contact-title .line:nth-child(2) { font-size: 13vw; } .contact-title .c3, .contact-title .line:nth-child(3) { font-size: 16vw; }
  .contact-sub { font-size: 20px; } .form-title { font-size: 22px; }
  .contact-right { width: 100%; }
  .contact-bottom { position: static; margin-top: 10px; }
  .cs { grid-template-columns: 1fr; padding: 90px var(--side) 0; }
  .cs-left { position: relative; top: 0; }
  .cs-title { font-size: 30px; } .cs-sub, .cs-label, .cs-caption { font-size: 13px; } .cs-desc { font-size: 15px; }
  .cs-cols h4 { font-size: 14px; } .cs-cols p { font-size: 14px; }
  .cs-right { grid-template-columns: 1fr; gap: 20px; }
  .cs-block.half { grid-column: span 2; }
  .cs-stats { grid-template-columns: 1fr; }
  .cs-num { font-size: 48px; } .cs-words { font-size: 36px; } .cs-num-label { font-size: 13px; }
  .cs-next p { font-size: 18px; } .cs-next-bar { width: 180px; }
  .cs-logo { width: 90px; height: 34px; }
  #steps { right: 10px; }
}
@media (max-width: 575px) {
  .cs-words { white-space: normal; }
  .header-actions .pill { display: none; }
  .menu { right: 10px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  #grain, .noise-word, .ph-art { animation: none !important; }
}

/* =========================================================
   LITE — no graphics acceleration (or a machine that can't keep up): app.js adds html.jd-lite.
   Same design; what the CPU would have to repaint every frame is left out or held still
   (the looping lights rest exactly as they do when their section is off screen).
   ========================================================= */
html.jd-lite #grain, html.jd-lite #ink, html.jd-lite #cursor, html.jd-lite .glow, html.jd-lite .lens-cv { display: none !important; }
/* the light laid on the dunes (a canvas under an image mask) is the costliest layer to repaint; phones go without it too */
html.jd-lite .dune-lit { display: none !important; }
html.jd-lite .sec *, html.jd-lite .sec *::before, html.jd-lite .sec *::after, html.jd-lite .ph-art { animation-play-state: paused !important; }
html.jd-lite .pill-ghost, html.jd-lite .cmp-knob { -webkit-backdrop-filter: none; backdrop-filter: none; }
html.jd-lite .pill-ghost { background: rgba(0,0,0,.3); }
html.jd-lite .lightbox { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(5, 3, 3, .86); }
html.jd-lite .panel.has-focus .case:not(.is-focus), html.jd-lite .panel.has-focus .panel-head, html.jd-lite .panel.has-focus .panel-back { filter: none; opacity: .4; }
html.jd-lite .smear { filter: none; }