/* ============ RAW Dijital — B&C esinli demo: beyaz, dev tipografi, scroll vitrini ============ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter_ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fff;
  --fg: #000;
  --muted: rgba(0, 0, 0, .45);
  --pad: clamp(20px, 4vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* scroll-behavior yok: yumuşatmayı Lenis üstlenir (reduced-motion'da JS native'e düşer) */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
em { font-style: normal; }

.label {
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .04em;
}
.muted { color: var(--muted); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--pad);
  transition: transform .9s var(--ease);
}
.loader.done { transform: translateY(-100%); }
.loader__label {
  font-size: clamp(28px, 4vw, 56px); font-weight: 500;
  letter-spacing: -.05em; text-transform: uppercase;
}
.loader__marquee { overflow: hidden; white-space: nowrap; }
.loader__marquee-track {
  display: inline-block;
  font-size: clamp(20px, 2.6vw, 36px);
  letter-spacing: -.04em; text-transform: uppercase;
  animation: marquee 14s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--pad);
  pointer-events: none;
  mix-blend-mode: difference;
}
.header__logo {
  font-size: 24px; font-weight: 600; letter-spacing: -.05em;
  pointer-events: auto;
  color: #fff;
}
.header__logo img { height: 26px; width: auto; display: block; }
.header__right {
  display: flex; align-items: center; gap: 22px;
}
.lang-switch {
  pointer-events: auto;
  color: #fff; text-decoration: none;
  font-size: 12px; font-weight: 500; letter-spacing: .12em;
  padding: 8px 0;
}
.nav-toggle {
  pointer-events: auto;
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px 0;
}
.nav-toggle__bar {
  display: block; width: 34px; height: 2px; background: #fff;
  transition: transform .45s var(--ease);
}
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- fullscreen nav ---------- */
.nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--pad) + 40px) var(--pad) var(--pad);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.nav-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease); }
.nav__list { list-style: none; display: flex; flex-direction: column; gap: clamp(8px, 1.4vh, 18px); }
.nav__item a {
  display: inline-block;
  font-size: clamp(44px, 9vw, 110px); font-weight: 500;
  letter-spacing: -.06em; line-height: 1; text-transform: uppercase;
  transition: color .3s;
}
.nav__item a:hover { color: var(--muted); }
.nav__footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  font-size: 14px; letter-spacing: -.02em; line-height: 1.4;
}

/* ---------- office / clock ---------- */
.office { display: flex; gap: 12px; align-items: baseline; }
.office__city { font-weight: 500; text-transform: uppercase; font-size: 14px; letter-spacing: -.02em; }
.clock { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }

/* ---------- showcase (scroll-driven hero) ---------- */
/* yükseklik: 100vh sticky + 10 slot × 100vh tetik alanı (geniş alan = yavaş, kontrollü geçiş) */
.showcase { position: relative; height: 1100vh; }
.showcase__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden;
  background: #000; /* referans: home-hero-assets background-color #000 */
}

/* referans 1:1 — medya tüm ekranı kaplar, üzerinde %20 siyah veil */
.showcase__assets { position: absolute; inset: 0; }
.showcase__assets::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0, 0, 0, .2);
  pointer-events: none;
}
/* perde reveal: wrapper alttan gelir (+100%→0), içi ters yönde (-100%→0) — scrub JS sürer */
.showcase-asset {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 101%;
  overflow: hidden;
  transform: translateY(100%);
  will-change: transform;
}
.showcase-asset:first-child { transform: none; }
.asset-fig {
  width: 100%; height: 100%;
  transform: translateY(-100%);
  will-change: transform;
}
.showcase-asset:first-child .asset-fig { transform: none; }
.asset-fig video {
  width: 100%; height: 100%; object-fit: cover;
}

/* dikey (9:16) işler: video ortada doğal oranında, arkada blurlanmış poster dolgusu */
.showcase-asset--portrait .asset-fig { position: relative; background: #000; }
.showcase-asset--portrait .asset-fig::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--pbg);
  background-size: cover; background-position: center;
  filter: blur(48px) brightness(.55) saturate(1.1);
  transform: scale(1.2);
}
.showcase-asset--portrait .asset-fig video {
  position: relative;
  object-fit: contain;
}

/* referans 1:1 — aktif başlık sol üstte, düz beyaz, nowrap; transform'u scrub JS sürer */
.showcase__titles {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
}
.showcase-title {
  position: absolute;
  left: var(--pad); top: clamp(72px, 11vh, 120px);
  text-align: left;
  font-size: clamp(44px, 8.5vw, 180px);
  font-weight: 600; letter-spacing: -.06em; line-height: .79;
  text-transform: uppercase;
  color: #fff;
  transform: scale(0);
  transform-origin: left bottom; /* referans: büyüme sol alttan */
  pointer-events: none;
  white-space: nowrap;
  will-change: transform;
}
.showcase-title.active { pointer-events: auto; }
/* intro slotu (RAW Dijital + studio ibaresi): iş başlıklarından belirgin küçük */
.showcase-title--intro { font-size: clamp(14px, 2vw, 42px); }

/* referans 1:1 — sıradaki işler sağda; küçülme sağ üst köşeden, scrub JS sürer */
.showcase__queue {
  position: absolute;
  right: var(--pad); bottom: clamp(84px, 13vh, 140px);
  z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end;
  pointer-events: none;
  will-change: transform;
}
.queue-title {
  color: #fff;
  font-size: clamp(16px, 2.4vw, 44px);
  font-weight: 600; letter-spacing: -.05em; line-height: .95;
  text-transform: uppercase;
  white-space: nowrap;
  transform-origin: right top; /* referans: top right */
  will-change: transform;
}

.showcase__meta {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 26px;
  z-index: 2;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  color: #fff;
}
.showcase__counter { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.label--right { text-align: right; color: rgba(255,255,255,.6); }

/* ---------- manifesto ---------- */
.manifesto {
  min-height: 100vh;
  padding: clamp(120px, 18vh, 220px) var(--pad);
  display: flex; flex-direction: column; justify-content: center;
}
.manifesto__label { margin-bottom: 48px; color: var(--muted); }
.manifesto__copy {
  max-width: 1100px;
  font-size: clamp(26px, 3.6vw, 54px);
  font-weight: 500; letter-spacing: -.045em; line-height: 1.08;
}
.manifesto__copy .line { display: block; overflow: hidden; padding: .2em 0 .25em; margin: -.2em 0 -.25em; }
.manifesto__copy .line > .line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
.manifesto__copy .line.visible > .line-inner { transform: none; }
.manifesto__copy em { color: var(--muted); }

/* ---------- collage (pinned scaling stills) ---------- */
.collage { position: relative; height: 450vh; }
.collage__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); /* sticky stacking context: exclusion blend'in zemini */
}
.collage__title {
  position: relative; z-index: 2;
  text-align: center;
  font-size: clamp(48px, 10vw, 170px);
  font-weight: 600; letter-spacing: -.06em; line-height: 1;
  text-transform: uppercase;
  mix-blend-mode: exclusion; color: #fff;
}
.collage__figs { position: absolute; inset: 0; z-index: 1; }
.collage-fig {
  position: absolute;
  width: clamp(120px, 14vw, 290px);
  overflow: hidden;
  will-change: transform;
}
.collage-fig img { width: 100%; height: auto; }
.collage-fig:nth-child(1)  { left: 5%;   top: 6%; }
.collage-fig:nth-child(2)  { right: 6%;  top: 3%; }
.collage-fig:nth-child(3)  { left: 11%;  bottom: 5%; }
.collage-fig:nth-child(4)  { right: 13%; bottom: 8%; }
.collage-fig:nth-child(5)  { left: 40%;  top: 2%; }
.collage-fig:nth-child(6)  { right: 38%; bottom: 2%; }
.collage-fig:nth-child(7)  { left: 2%;   top: 40%; }
.collage-fig:nth-child(8)  { right: 2%;  top: 44%; }
.collage-fig:nth-child(9)  { left: 22%;  top: 18%; }
.collage-fig:nth-child(10) { right: 22%; top: 15%; }
.collage-fig:nth-child(11) { left: 36%;  bottom: 12%; }
.collage-fig:nth-child(12) { right: 34%; top: 38%; }
.collage-fig:nth-child(13) { left: 17%;  top: 58%; }
.collage-fig:nth-child(14) { right: 15%; top: 62%; }

/* ---------- services ---------- */
.services { padding: clamp(100px, 15vh, 200px) var(--pad); }
.services > .label { color: var(--muted); }
.services__list { list-style: none; margin-top: 40px; border-top: 1px solid rgba(0,0,0,.15); }
.services__list li {
  display: flex; align-items: baseline; gap: clamp(20px, 4vw, 60px);
  padding: clamp(22px, 3.5vh, 38px) 0;
  border-bottom: 1px solid rgba(0,0,0,.15);
}
.services__num { font-size: 13px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.services__list h3 {
  font-size: clamp(30px, 5.6vw, 84px);
  font-weight: 500; letter-spacing: -.05em; line-height: .95;
  text-transform: uppercase;
}

/* ---------- footer ---------- */
.footer {
  min-height: 100vh; min-height: 100svh;
  padding: clamp(100px, 16vh, 200px) var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bg); color: var(--fg);
  border-top: 1px solid rgba(0,0,0,.12);
}
.footer__title {
  font-size: clamp(44px, 8vw, 150px);
  font-weight: 600; letter-spacing: -.06em; line-height: .9;
  text-transform: uppercase;
}
/* büyük iletişim satırları (mail + whatsapp) */
.footer__contact {
  margin-top: clamp(28px, 4vh, 48px);
  display: flex; flex-direction: column; gap: 6px;
  font-size: clamp(22px, 3.2vw, 56px);
  font-weight: 500; letter-spacing: -.04em; line-height: 1.15;
}
.footer__contact a { text-decoration: none; }
.footer__contact .muted { font-size: .5em; letter-spacing: .04em; font-weight: 500; display: block; margin-bottom: 2px; }
.footer__title .line { display: block; overflow: hidden; padding: .2em 0 .25em; margin: -.2em 0 -.25em; }
.footer__title .line > .line-inner {
  display: block; transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.footer__title .line.visible > .line-inner { transform: none; }
.footer__title em { color: var(--muted); }
.footer__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 80px;
  font-size: 14px; letter-spacing: -.02em; line-height: 1.5;
}
.footer a:hover { opacity: .6; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(0,0,0,.96); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .35s ease, visibility 0s .35s;
}
.lightbox.open { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .35s ease; }
.lightbox__inner { width: min(1240px, 94vw); }
.lightbox__inner video { width: 100%; max-height: 84vh; background: #000; }
.lightbox__title {
  margin-top: 14px; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.6);
}
.lightbox__close {
  position: absolute; top: 24px; right: var(--pad);
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .manifesto__copy .line > .line-inner,
  .footer__title .line > .line-inner { transform: none; transition: none; }
  .loader__marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .showcase { height: 1100vh; }
  .showcase-title {
    font-size: clamp(34px, 11.5vw, 80px);
    white-space: normal;
    right: var(--pad); line-height: .95;
  }
  .showcase-title--intro { font-size: clamp(16px, 4.6vw, 30px); }
  .showcase__queue { display: none; }
  /* mobil meta satırı: uzun sağ etiket gizli, sayaç ve sol etiket tek satır */
  .showcase__meta .label--right { display: none; }
  .showcase__meta .label { white-space: nowrap; }
  .nav__footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .collage-fig { width: clamp(110px, 26vw, 200px); }
  .manifesto__copy { font-size: clamp(24px, 6.4vw, 40px); }
  /* mobil footer: dev boşluğu ve "BÜYÜTELİM." kesilmesini önle */
  .footer { min-height: 72vh; min-height: 72svh; }
  .footer__title { font-size: clamp(34px, 10vw, 56px); }
  .footer__contact { font-size: clamp(20px, 6vw, 30px); }
  .footer__grid { margin-top: 48px; }
}
