/* =========================================================
   UMUT KARTOV — Motion Design & Compositing
   Marka rengi: #00005B (After Effects mavisi)
   ========================================================= */

:root {
  --ae-core: #00005B;
  --ae-hover: #0d0d78;
  --ae-soft: #9999ff;
  --bg: #08080b;
  --bg-2: #0f0f14;
  --bg-3: #16161d;
  --fg: #f2f2f4;
  --fg-2: #b0b0b8;
  --muted: #8b8b94;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #9999ff;
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 5vw, 72px);
  --wrap: 1320px;
  --nav-h: 64px;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--ae-core); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
* { scrollbar-color: var(--line-strong) transparent; }
main { min-height: 100vh; min-height: 100dvh; }

/* Başlıklarda *vurgu* → serif italik, aynı renk */
h1 em, h2 em, .hero__title em, .footer__title em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.005em;
}

/* ================= NAV ================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
  background: rgba(8, 8, 11, 0.94);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.admin2-active .nav { top: 54px; }
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--fg); }
.nav__links .nav__cta {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

/* ================= GİRİŞ ANİMASYONU ================= */
.reveal {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* Hero başlığı: sitenin tek "imza" hareketi */
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  padding-right: 0.04em;
  margin-right: -0.04em;
}
.split .w > span {
  display: inline-block;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.8s var(--ease);
  transition-delay: calc(var(--i) * 0.04s);
}
.split.in .w > span { transform: none; }

/* ================= ORTAK ================= */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 13px;
  color: var(--muted);
}
.chip { white-space: nowrap; }
.chip small { opacity: 0.7; margin-left: 4px; }
.chip--lg {
  font-size: 13.5px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg-2);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip--lg:hover { color: var(--fg); border-color: var(--accent); }
.pill {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.link {
  color: var(--fg-2);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.link:hover { color: var(--fg); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--fg);
  color: var(--bg);
  font-weight: 500;
  font-size: 14px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn--glow { background: var(--ae-core); color: #fff; border-color: rgba(153, 153, 255, 0.3); }
.btn--glow:hover { background: var(--ae-hover); border-color: rgba(153, 153, 255, 0.55); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.3); }
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: #fff; }
.btn--active { background: var(--ae-core) !important; color: #fff !important; border-color: var(--accent) !important; }

/* ================= HERO ================= */
.hero {
  padding: calc(var(--nav-h) + 72px) var(--pad) 40px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  font-size: 13.5px;
  color: var(--muted);
}
.hero__meta-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__meta .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
}
.hero__role { color: var(--fg-2); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.hero__title {
  font-size: clamp(48px, 7.2vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
  text-wrap: balance;
}
.hero__title em { color: var(--fg-2); }
.hero__aside { display: flex; flex-direction: column; gap: 28px; padding-bottom: 6px; }
.hero__intro {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 46ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ================= SHOWREEL ================= */
.reel {
  padding: 24px var(--pad) 0;
  max-width: var(--wrap);
  margin: 0 auto;
}
.reel__inner {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-2);
}
.reel__inner > video,
.reel__inner > img,
.reel__inner > .ph,
.reel__inner > iframe:not(.yt-embed),
.reel__inner .vimeo-embed,
.reel__inner .yt-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.reel__inner .vimeo-embed--bg { pointer-events: none; }
.reel__sound-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(8, 8, 11, 0.7);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  transition: background 0.2s var(--ease);
}
.reel__sound-toggle [hidden] { display: none; }
.reel__sound-toggle:hover { background: rgba(8, 8, 11, 0.9); }
.reel__sound-toggle.is-unmuted { background: var(--ae-core); }
.reel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 3;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 8, 11, 0.7);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.reel__inner:hover .reel__play { opacity: 1; }
@media (hover: none) { .reel__play { opacity: 0.85; } }
.reel__label {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 18px 22px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* ================= BÖLÜMLER ================= */
.section {
  padding: 128px var(--pad) 0;
  max-width: var(--wrap);
  margin: 0 auto;
}
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.section__head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.03em;
  font-weight: 500;
  line-height: 1.08;
}
.section__head p { color: var(--muted); font-size: 14px; }

/* Hizmetler: kart yok, çizgiyle ayrılmış üç sütun */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.25s var(--ease);
}
.svc-card:hover { border-color: var(--accent); }
.svc-card h3 {
  font-size: clamp(19px, 1.7vw, 23px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 500;
}
.svc-card p { color: var(--fg-2); font-size: 14.5px; line-height: 1.6; flex: 1; }
.svc-card__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.svc-card__arrow { transition: transform 0.25s var(--ease), color 0.25s var(--ease); }
.svc-card:hover .svc-card__arrow { transform: translateX(3px); color: var(--fg); }

/* ================= FİLTRE & MARKA LİSTESİ ================= */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.filter {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.filter small { opacity: 0.7; margin-left: 4px; }
.filter:hover { color: var(--fg); border-color: var(--line-strong); }
.filter.active { background: var(--ae-core); color: #fff; border-color: rgba(153, 153, 255, 0.35); }

.brands { list-style: none; border-top: 1px solid var(--line-strong); }
.brand-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.4s var(--ease), opacity 0.5s var(--ease), transform 0.6s var(--ease), border-color 0.3s;
}
.brand-row > a { overflow: hidden; min-height: 0; }
.brand-row.is-hidden { grid-template-rows: 0fr; opacity: 0; border-color: transparent; }
.brand-row a {
  display: grid;
  grid-template-columns: 80px 1fr auto auto 24px;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}
.brand-row__thumb {
  width: 80px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  background: var(--bg-2);
}
.brand-row__thumb b { font-size: 20px; font-weight: 500; color: var(--c, var(--accent)); }
.brand-row__thumb > video,
.brand-row__thumb > img:not(.brand-row__logo),
.brand-row__thumb > .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-row__thumb .brand-row__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px 8px;
}
.brand-row__thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-row .name {
  font-size: clamp(22px, 2.8vw, 36px);
  letter-spacing: -0.03em;
  font-weight: 450;
  line-height: 1.1;
  transition: opacity 0.25s var(--ease);
}
.brand-row__chips { color: var(--muted); font-size: 13px; text-align: right; }
.brand-row__count {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.brand-row .arrow {
  color: var(--muted);
  text-align: right;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.brand-row a:hover .arrow { transform: translateX(3px); color: var(--fg); }
.brands:hover .brand-row a:not(:hover) .name { opacity: 0.5; }

.hover-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  pointer-events: none;
  width: 280px;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  background: var(--bg-2);
}
.hover-preview.show { opacity: 1; }
.hover-preview > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= ARAÇLAR & LAB ================= */
.toolbelt {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -0.015em;
  color: var(--fg-2);
}
.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0 40px;
}
.lab-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.25s var(--ease);
}
.lab-card:hover { border-color: var(--accent); }
.lab-card__type,
.tool__type {
  font-size: 12.5px;
  color: var(--muted);
}
.lab-card h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 500; }
.lab-card p {
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================= YER TUTUCU ================= */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-2);
  display: grid;
  place-items: center;
}
.ph span {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 0 12px;
}
.ph.is-before { filter: grayscale(1) brightness(0.7); }

/* ================= MARKA SAYFASI ================= */
.project-hero {
  padding: calc(var(--nav-h) + 64px) var(--pad) 24px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.back {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.2s var(--ease);
}
.back:hover { color: var(--fg); }
.project-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.project-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.project-hero__logo { max-height: 56px; max-width: 160px; object-fit: contain; }
.project-info {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.project-info h4,
.svc-page__brands h4,
.about__h {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 8px;
}
.project-info p { font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.project-info .desc { font-size: 16px; max-width: 54ch; color: var(--fg); }
.project-info--has-video {
  grid-template-columns: minmax(0, 2fr) auto auto auto minmax(280px, 1.6fr);
  align-items: start;
}
.project-info__film { position: relative; width: 100%; }
.project-info__film-head { margin-bottom: 8px; }
.project-info__film-head h4 { margin-bottom: 0; }
.brand-hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  cursor: pointer;
}
.brand-hero-video > video,
.brand-hero-video > img,
.brand-hero-video > .ph,
.brand-hero-video > iframe:not(.yt-embed),
.brand-hero-video .vimeo-embed,
.brand-hero-video .yt-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.brand-hero-video__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}
.brand-hero-video:hover .brand-hero-video__overlay { opacity: 1; }
.brand-hero-video__play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(8, 8, 11, 0.7);
  color: #fff;
  display: grid;
  place-items: center;
}
.jump {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 36px;
}
.jump > span { color: var(--muted); font-size: 13.5px; margin-right: 8px; }

.svc-block {
  padding: 80px var(--pad) 0;
  max-width: var(--wrap);
  margin: 0 auto;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.svc-block__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: baseline;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.svc-block__head h2 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.025em; font-weight: 500; }
.svc-block__head p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 48ch;
  justify-self: end;
}

.works { columns: 3 320px; column-gap: 16px; margin-bottom: 16px; }
.work {
  break-inside: avoid;
  margin-bottom: 20px;
  cursor: pointer;
  display: block;
  width: 100%;
}
.work__media,
.featured-media,
.altbant-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: var(--r, 16/9);
  cursor: pointer;
}
.altbant-media { aspect-ratio: 1920 / 216; width: 100%; background: #000; }
.work__media > video,
.work__media > img,
.work__media > .ph,
.work__media > iframe:not(.yt-embed),
.work__media .vimeo-embed,
.work__media .yt-wrap,
.work__media .tenor-embed,
.featured-media > video,
.featured-media > img,
.featured-media > .ph,
.featured-media > iframe:not(.yt-embed),
.featured-media .vimeo-embed,
.featured-media .yt-wrap,
.featured-media .tenor-embed,
.altbant-media > video,
.altbant-media > img,
.altbant-media > .ph,
.altbant-media > iframe:not(.yt-embed),
.altbant-media .vimeo-embed,
.altbant-media .yt-wrap,
.altbant-media .tenor-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.vimeo-embed,
.tenor-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.vimeo-embed--bg,
.tenor-embed--bg { pointer-events: none; }

/* YouTube: kontrolsüz, kesintisiz döngü (1920×1320 sanal alan, üst/alt barlar kırpılır) */
.yt-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  border-radius: inherit;
}
.yt-wrap .yt-embed {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 1920px !important;
  height: 1320px !important;
  max-width: none !important;
  max-height: none !important;
  transform: translate3d(-50%, -50%, 0) scale(var(--yt-scale, 0.5)) !important;
  transform-origin: center center !important;
  border: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
  background: #000 !important;
}
.yt-wrap .yt-poster {
  position: absolute;
  inset: 0;
  background-color: var(--bg-2);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 2;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.yt-wrap .yt-poster.is-playing { opacity: 0; }
.yt-wrap .yt-shield { position: absolute; inset: 0; z-index: 3; }

.work__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  font-size: 14px;
}
.work__meta span:last-child { color: var(--muted); text-align: right; font-size: 13px; }

.block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.block-head h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.block-head p { color: var(--muted); font-size: 13.5px; margin-top: 3px; max-width: 70ch; }
.featured-role,
.altbant-role { display: inline-block; font-size: 13px; color: var(--fg-2); margin-top: 2px; }

.resize, .featured-wrap, .altbant-wrap, .ba-wrap { margin-bottom: 40px; width: 100%; }
.resize__row {
  --h: clamp(180px, 22vw, 320px);
  display: flex;
  align-items: flex-end;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.resize__item { flex: none; cursor: pointer; }
.resize__media {
  position: relative;
  height: var(--h);
  aspect-ratio: var(--r);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
}
.resize__media > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.resize__label {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.resize__label b { color: var(--fg); font-weight: 500; }

/* Önce / Sonra */
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: var(--r, 16/9);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  isolation: isolate;
}
.ba__layer { position: absolute; inset: 0; z-index: 1; }
.ba__layer,
.ba__layer * { pointer-events: none !important; }
.ba__layer > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba__before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  will-change: clip-path;
}
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: #fff;
  translate: -50% 0;
  z-index: 6;
  pointer-events: none;
}
.ba__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.ba__tag {
  position: absolute;
  top: 12px;
  z-index: 5;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(8, 8, 11, 0.7);
  pointer-events: none;
}
.ba__tag--l { left: 12px; }
.ba__tag--r { right: 12px; }
.ba input {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

.next {
  display: block;
  padding: 96px 0;
  margin: 64px auto 0;
  width: min(100% - 2 * var(--pad), var(--wrap) - 2 * var(--pad));
  border-top: 1px solid var(--line);
  text-align: center;
}
.next + .footer { padding-top: 0; }
.next small { color: var(--muted); font-size: 13.5px; }
.next h3 {
  font-size: clamp(32px, 5vw, 60px);
  letter-spacing: -0.035em;
  font-weight: 500;
  line-height: 1.1;
  margin-top: 10px;
  transition: color 0.25s var(--ease);
}
.next:hover h3 { color: var(--accent); }

/* ================= HİZMETLER SAYFASI ================= */
.page-hero {
  padding: calc(var(--nav-h) + 72px) var(--pad) 48px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 500;
  max-width: 18ch;
  text-wrap: balance;
}
.page-hero__sub {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--fg-2);
  max-width: 56ch;
  margin-top: 24px;
  line-height: 1.6;
}
.svc-page {
  padding: 56px var(--pad);
  border-top: 1px solid var(--line);
  max-width: var(--wrap);
  margin: 0 auto;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.svc-page__main h2 { font-size: clamp(24px, 2.8vw, 36px); letter-spacing: -0.03em; font-weight: 500; line-height: 1.15; }
.svc-page__desc {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.6;
  max-width: 64ch;
  margin: 14px 0 18px;
}
.svc-page__brands { margin-top: 32px; }
.svc-page__brands div { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.svc-page__brands a { font-size: 15px; color: var(--fg); transition: color 0.2s var(--ease); }
.svc-page__brands a small { font-size: 12px; color: var(--muted); margin-left: 4px; }
.svc-page__brands a:hover { color: var(--accent); }
.svc-page__samples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 16px;
  margin-top: 32px;
}
.sample__media {
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.sample__media > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sample > span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.sample b { color: var(--fg); font-weight: 450; margin-right: 4px; }

/* ================= LAB SAYFASI ================= */
.lab-list {
  padding: 0 var(--pad) 32px;
  display: flex;
  flex-direction: column;
  max-width: var(--wrap);
  margin: 0 auto;
}
.tool {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.tool--rev .tool__media { order: 2; }
.tool__media {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: block;
  width: 100%;
  background: var(--bg-2);
}
.tool__media > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tool__body { display: flex; flex-direction: column; gap: 14px; }
.tool__body h2 { font-size: clamp(24px, 2.5vw, 32px); letter-spacing: -0.03em; font-weight: 500; line-height: 1.12; }
.tool__body p { color: var(--fg-2); line-height: 1.6; font-size: 15px; max-width: 60ch; }
.tool__body ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tool__body li { color: var(--fg-2); font-size: 14px; padding-left: 16px; position: relative; }
.tool__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--muted);
}
.tool__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ================= HAKKIMDA ================= */
.about {
  padding: calc(var(--nav-h) + 72px) var(--pad) 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  max-width: var(--wrap);
  margin: 0 auto;
}
.about h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.06;
  font-weight: 500;
  text-wrap: balance;
}
.about__text { font-size: 17px; line-height: 1.7; color: var(--fg-2); max-width: 62ch; }
.about__h { margin-top: 44px; margin-bottom: 14px; }
.about__svcs { list-style: none; border-top: 1px solid var(--line); }
.about__svcs li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.about__svcs a { transition: color 0.2s var(--ease); }
.about__svcs a:hover { color: var(--accent); }
.about__contact-card {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about__contact-label { font-size: 15px; color: var(--fg); font-weight: 500; }
.about__contact-desc { font-size: 15px; line-height: 1.6; color: var(--fg-2); max-width: 46ch; }
.about__contact-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.about__contact-mail { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.about__contact-mail code { color: var(--fg); font-family: inherit; }

/* ================= FOOTER ================= */
.footer {
  padding: 128px var(--pad) 32px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.footer__cta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  padding: 56px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}
.footer__label { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.footer__title {
  font-size: clamp(40px, 5.5vw, 76px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  font-weight: 500;
}
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.footer__big {
  font-size: clamp(18px, 2vw, 26px);
  color: var(--fg-2);
  letter-spacing: -0.02em;
  transition: color 0.2s var(--ease);
  word-break: break-word;
}
.footer__big:hover { color: var(--fg); }
.footer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13.5px;
}
.footer__row nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__row a:hover { color: var(--fg); }

/* ================= TASLAK ROZETİ ================= */
.draft-badge {
  position: fixed;
  bottom: 14px;
  left: 14px;
  z-index: 70;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffb020;
  color: #000;
  font-weight: 600;
}

/* ================= LIGHTBOX ================= */
.lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  background: transparent;
  color: var(--fg);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.lightbox[open] { display: flex !important; animation: fadeIn 0.25s var(--ease); }
.lightbox::backdrop { background: rgba(5, 5, 8, 0.94); }
.lightbox__media {
  position: relative;
  width: min(90vw, 1280px);
  aspect-ratio: var(--r, 16/9);
  max-height: 82vh;
  max-height: 82dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.lightbox__media > video,
.lightbox__media > img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 82vh;
  max-height: 82dvh;
  object-fit: contain;
}
.lightbox__media > iframe:not(.yt-embed),
.lightbox__media > .yt-embed-lb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  pointer-events: auto;
}
.lightbox__media .ph { width: 100%; height: 100%; }
.lightbox__close,
.lightbox__nav {
  position: fixed;
  z-index: 102;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 18px;
  transition: background 0.2s, color 0.2s;
}
.lightbox__close { top: 20px; right: 20px; font-size: 15px; }
.lightbox__nav { top: 50%; translate: 0 -50%; }
.lightbox__nav:hover,
.lightbox__close:hover { background: var(--fg); color: var(--bg); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__caption {
  position: fixed;
  bottom: 24px;
  left: 50%;
  translate: -50% 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  white-space: nowrap;
  z-index: 102;
}
@keyframes fadeIn { from { opacity: 0; } }

::view-transition-old(root) { animation: vtOut 0.2s var(--ease) both; }
::view-transition-new(root) { animation: vtIn 0.3s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }

/* ================= MOBİL ================= */
@media (max-width: 900px) {
  :root { --nav-h: 56px; }
  .nav { font-size: 13.5px; gap: 12px; }
  .nav__links { gap: 16px; }
  .nav__links a[data-route="home"] { display: none; }
  .hero__grid,
  .about,
  .tool,
  .svc-cards,
  .footer__cta { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .section { padding-top: 96px; }
  .svc-cards { gap: 32px; }
  .lab-grid { gap: 32px; }
  .footer { padding-top: 96px; }
  .footer__right { align-items: flex-start; }
  .tool--rev .tool__media { order: 0; }
  .tool { padding: 36px 0; }
  .brand-row a {
    grid-template-columns: 64px 1fr 20px;
    gap: 4px 14px;
    padding: 14px 0;
  }
  .brand-row__count { display: none; }
  .brand-row__thumb { width: 64px; height: 40px; grid-row: 1 / span 2; }
  .brand-row .name { grid-column: 2; }
  .brand-row .arrow { grid-column: 3; grid-row: 1; }
  .brand-row__chips { grid-column: 2 / -1; grid-row: 2; text-align: left; font-size: 12.5px; }
  .svc-block__head { grid-template-columns: 1fr; gap: 8px; }
  .svc-block__head p { justify-self: start; }
  /* WebKit'te çok sütun düzeni video kartlarını böldüğü için mobilde tek sütun akış */
  .works { columns: auto; display: flex; flex-direction: column; gap: 24px; }
  .work { margin-bottom: 0; }
  .project-info, .project-info--has-video { grid-template-columns: 1fr 1fr; gap: 24px; }
  .project-info > :first-child, .project-info--has-video > :first-child { grid-column: 1 / -1; }
  .project-info__film { grid-column: 1 / -1; margin-top: 8px; }
  .svc-page { padding: 40px var(--pad); }
  .svc-page__samples { grid-template-columns: 1fr 1fr; }
  .resize__row { --h: 220px; }
  .reel__play { width: 54px; height: 54px; }
  .lightbox__nav { top: auto; bottom: 16px; translate: none; }
  .lightbox__caption { bottom: 80px; }
  .work, .featured-wrap, .altbant-wrap, .ba-wrap { touch-action: pan-y; }
}
@media (max-width: 420px) {
  .nav__links { gap: 12px; }
  .svc-page__samples { grid-template-columns: 1fr; }
}
@media (hover: none), (pointer: coarse) {
  .hover-preview { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .w > span { opacity: 1; transform: none; }
}
