/* ============================================================
   RED FILMS — style.css
   Palet: sıcak kemik zemin, mürekkep koyusu bloklar (hero, slab, footer),
          Red Films kırmızısı vurgu
   Tipografi: Anton (display) · Inter (gövde) · IBM Plex Mono (etiket)
   ============================================================ */

:root {
  --bg: #eeebe4;
  --surface: #f7f5f0;
  --line: rgba(23, 22, 26, 0.14);
  --text: #17161a;
  --muted: #6b6862;
  --red: #e2261e;
  --red-dim: rgba(226, 38, 30, 0.55);

  --ink-bg: #111015;
  --ink-surface: #1a191e;
  --ink-text: #f2f0ec;
  --ink-muted: #98959c;
  --ink-line: rgba(255, 255, 255, 0.12);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --nav-h: 4.5rem;
  --gap: clamp(0.6rem, 1.6vw, 1.1rem);

  --r-s: 14px;
  --r-m: 20px;
  --r-l: 32px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

/* Koyu blok kapsamı — değişkenler yeniden bağlanır */
.ink {
  --bg: var(--ink-bg);
  --surface: var(--ink-surface);
  --text: var(--ink-text);
  --muted: var(--ink-muted);
  --line: var(--ink-line);
  background: var(--bg);
  color: var(--text);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- Tipografik yardımcılar ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .tick { color: var(--red); }

/* ---------- Navigasyon ---------- */

.nav {
  --nav-ink: var(--text);
  --nav-dim: var(--muted);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

/* Ana sayfada hero üzerindeyken açık metin */
body.page-hero .nav:not(.scrolled):not(.menu-open) {
  --nav-ink: #f2f0ec;
  --nav-dim: rgba(242, 240, 236, 0.68);
}

.nav.scrolled {
  background: rgba(238, 235, 228, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

/* Logo beyaz PNG — açık zeminde ters çevrilir */
.nav__logo img {
  height: 2rem;
  width: auto;
  filter: invert(0.92);
  transition: filter 0.35s ease;
}
body.page-hero .nav:not(.scrolled):not(.menu-open) .nav__logo img { filter: none; }

.nav__links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nav-dim);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.25s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav__links a:hover,
.nav__links a.active { color: var(--nav-ink); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

/* Mobil menü */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem 0.2rem;
}
.nav__toggle span {
  width: 1.5rem; height: 1px;
  background: var(--nav-ink);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.35s ease;
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; margin-left: auto; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(238, 235, 228, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.5rem;
    /* Kapalıyken panel logonun üstüne taşmasın: tam yükseklik + nav kadar yukarı */
    transform: translateY(calc(-100% - var(--nav-h)));
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0s linear 0.35s;
  }
  .nav__links.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.35s ease, visibility 0s;
  }
  .nav__links a { display: block; padding: 0.9rem 0; font-size: 0.85rem; color: var(--muted); }
  .nav__links a:hover, .nav__links a.active { color: var(--text); }
  .nav.menu-open { background: rgba(238, 235, 228, 0.97); }
  .nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- Hero (vizör) ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("https://i.ytimg.com/vi/GEvfUCRgm60/maxresdefault.jpg") center / cover no-repeat;
}

/* YouTube arka plan videosu — arayüz (başlık, kontrol katmanı) kadraj
   dışında kalsın diye kadraj %35 taşırılarak kırpılır */
.hero__bg iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: calc(max(100vw, 178svh) * 1.4);
  height: calc(max(100svh, 56.25vw) * 1.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__bg iframe.ready { opacity: 1; }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,11,0.55), rgba(10,10,11,0.25) 40%, rgba(10,10,11,0.85) 92%);
}
.hero__shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.05;
  pointer-events: none;
}

/* Vizör çerçevesi — imza öğe */
.viewfinder {
  position: absolute;
  inset: calc(var(--nav-h) + 0.75rem) var(--pad) 1.75rem;
  pointer-events: none;
}
.viewfinder i {
  position: absolute;
  width: 26px; height: 26px;
  border: 0 solid rgba(255, 255, 255, 0.65);
}
.viewfinder i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.viewfinder i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.viewfinder i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.viewfinder i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.hero__rec {
  position: absolute;
  top: calc(var(--nav-h) + 1.6rem);
  left: calc(var(--pad) + 1.1rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #f2f0ec;
}
.hero__rec .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.4s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0.15; } }

.hero__tc {
  position: absolute;
  top: calc(var(--nav-h) + 1.6rem);
  right: calc(var(--pad) + 1.1rem);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(242, 240, 236, 0.8);
  font-variant-numeric: tabular-nums;
}

.hero__content {
  position: relative;
  text-align: center;
  padding: 0 var(--pad);
}

.hero__content img.hero__logo {
  height: clamp(4.5rem, 12vw, 8.5rem);
  width: auto;
  margin: 0 auto 1.75rem;
}

.hero__tag {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.6vw, 0.85rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(242, 240, 236, 0.85);
}

.hero__scroll {
  position: absolute;
  bottom: 2.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(242, 240, 236, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 2.6rem;
  background: linear-gradient(to bottom, rgba(242, 240, 236, 0.6), transparent);
  animation: drop 2s ease-in-out infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Bölüm iskeleti ---------- */

.section {
  padding: clamp(4.5rem, 10vw, 8.5rem) var(--pad);
}

.section--line { border-top: 1px solid var(--line); }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section__title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
}

.section__title .accent { color: var(--red); }

/* ---------- Yatay hizmet slabı ---------- */

.hslab { position: relative; }

.hslab__sticky { padding: var(--gap); }

.hslab__frame {
  position: relative;
  height: 100%;
  border-radius: var(--r-m);
  overflow: hidden;
}
.hslab__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.045;
  pointer-events: none;
  z-index: 3;
}

.htrack { height: 100%; }

.panel {
  position: relative;
  display: grid;
  align-content: center;
  padding: clamp(3.5rem, 9vw, 6rem) var(--pad);
  overflow: hidden;
}

.panel__ghost {
  display: none; /* yalnız yatay modda görünür */
  position: absolute;
  right: -0.06em;
  bottom: -0.18em;
  font-family: var(--font-display);
  font-size: clamp(11rem, 42vh, 26rem);
  line-height: 1;
  color: rgba(242, 240, 236, 0.045);
  pointer-events: none;
  user-select: none;
}

.panel__no {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--red);
  margin-bottom: 1.1rem;
}

.panel__name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7.5vw, 6.5rem);
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.01em;
  max-width: 14em;
}

.panel__desc {
  margin-top: 1.4rem;
  max-width: 30rem;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--muted);
}

.panel--intro .panel__name { font-size: clamp(3rem, 10vw, 8.5rem); }
.panel--intro .panel__name .accent { color: var(--red); }

.panel__hint {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel__hint .arrow { color: var(--red); }

/* İlerleme göstergesi — timecode dili */
.hprog {
  position: absolute;
  left: var(--pad);
  bottom: clamp(1.4rem, 3.5vh, 2.4rem);
  z-index: 4;
  display: none;
  align-items: center;
  gap: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.hprog__bar {
  width: clamp(6rem, 16vw, 13rem);
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.hprog__fill {
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

/* Yatay mod (JS ekler: 900px üstü + hareket azaltma kapalı) */
.hslab--on .hslab__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
}
.hslab--on .htrack {
  display: flex;
  will-change: transform;
}
.hslab--on .panel {
  flex: 0 0 100%;
  height: 100%;
}
.hslab--on .panel__inner { will-change: transform; }
.hslab--on .panel__ghost { display: block; }
.hslab--on .hprog { display: flex; }

/* ---------- Öne çıkan işler şeridi ---------- */

.featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) { .featured { grid-template-columns: 1fr; } }

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
}
.more-link .arrow { color: var(--red); transition: transform 0.3s ease; }
.more-link:hover .arrow { transform: translateX(6px); }

/* ---------- İş kartları ---------- */

.work-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--ink-surface);
  color: var(--ink-text);
  text-align: left;
  cursor: pointer;
  border-radius: var(--r-m);
  transition: border-radius 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-card:hover,
.work-card:focus-visible { border-radius: var(--r-l); }

.work-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.work-card--dikey .work-card__media { aspect-ratio: 9 / 16; }

/* Dikey videoların YouTube thumbnail'i 16:9 gelir → kadrajı doldur */
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.work-card:hover .work-card__media img { transform: scale(1.045); }

/* Hover önizlemesi — 16:9 oynatıcı, YouTube arayüzü dışarıda kalacak
   şekilde kadrajdan taşırılır; tıklamayı yutmaz */
.work-card__preview {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.work-card--yatay .work-card__preview { width: 150%; height: 150%; }
.work-card--dikey .work-card__preview { height: 150%; width: 475%; }
.work-card__preview.ready { opacity: 1; }

.work-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,11,0.85), transparent 55%);
  opacity: 0.9;
  transition: opacity 0.4s ease;
}

.work-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 3.4rem; height: 3.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.work-card__play svg { width: 0.9rem; height: 0.9rem; fill: #fff; margin-left: 2px; }
.work-card:hover .work-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  background: var(--red);
  border-color: var(--red);
}

.work-card__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1.2rem;
}

.work-card__client,
.work-card__title { display: block; }

.work-card__client {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ff5a52;
  margin-bottom: 0.35rem;
}

.work-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: #f2f0ec;
}

.work-card__desc {
  display: block;
  font-size: 0.8rem;
  color: rgba(242, 240, 236, 0.75);
  line-height: 1.5;
  margin-top: 0.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.45s ease;
}
.work-card:hover .work-card__desc,
.work-card:focus-visible .work-card__desc { max-height: 6.5rem; opacity: 1; }

/* ---------- WORK sayfası ---------- */

.page-head {
  padding: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)) var(--pad) clamp(2rem, 5vw, 3.5rem);
}

.page-head__title { font-size: clamp(3.4rem, 12vw, 9rem); }

.page-head__sub {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
  padding: 0 var(--pad) 2.5rem;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--muted); }
.filter-btn.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.work-group {
  padding: 0 var(--pad) clamp(3.5rem, 8vw, 6rem);
  /* Ekran dışı kart gridleri boyanmasın (18 görselli sayfada büyük kazanç) */
  content-visibility: auto;
  contain-intrinsic-size: auto 1200px;
}

.work-group__label {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.work-group__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.grid-wide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-reels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) { .grid-reels { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .grid-wide { grid-template-columns: 1fr; }
  .grid-reels { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
}

.work-empty {
  padding: 3rem 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  display: none;
}

/* ---------- Video modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(9, 8, 11, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink-text);
}
.modal.open { display: flex; }

.modal__inner {
  width: min(100%, 1060px);
  display: grid;
  grid-template-columns: 1fr 17rem;
  gap: 1.75rem;
  align-items: end;
}

.modal--dikey .modal__inner {
  width: auto;
  grid-template-columns: min(42vh, 82vw) 17rem;
  align-items: stretch;
}

.modal__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-m);
  overflow: hidden;
}
.modal--dikey .modal__player { aspect-ratio: 9 / 16; }

.modal__player iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.modal__meta { padding-bottom: 0.25rem; align-self: end; }

.modal__client {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ff5a52;
  margin-bottom: 0.6rem;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.9rem;
}

.modal__desc { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.7; }

.modal__close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--ink-muted);
  padding: 0.5rem;
  transition: color 0.25s ease;
}
.modal__close:hover { color: var(--red); }

@media (max-width: 860px) {
  .modal__inner,
  .modal--dikey .modal__inner { grid-template-columns: 1fr; gap: 1.1rem; align-items: start; }
  .modal--dikey .modal__inner { width: min(52vh, 88vw); }
  .modal__meta { align-self: start; }
  .modal__title { font-size: 1.3rem; }
}

/* ---------- ABOUT sayfası ---------- */

.manifesto {
  max-width: 56rem;
}

.manifesto p {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--text);
}

.manifesto p + p { margin-top: 1.5em; }

.manifesto strong { color: var(--red); font-weight: 500; }

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.team__cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  transition: background 0.3s ease;
}
.team__cell:hover { background: var(--surface); }

/* Portre kadrajı: 4:5, vesikalık değil "kadraj".
   Görseller sunucuda zaten 4:5 üretilir; cover yalnızca emniyet ağıdır
   ve germe değil kırpma yapar. */
.team__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 1.1rem;
}

.team__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Grid, farklı ışıkta çekilmiş karelerle bile tutarlı kalsın */
  filter: grayscale(1) contrast(1.04);
  transform: scale(1.01);
  transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.team__cell:hover .team__photo {
  filter: grayscale(0) contrast(1);
  transform: scale(1.045);
}

/* Fotoğrafsız kişi: aynı kutuda baş harfler + viewfinder köşelikleri */
.team__blank {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0 9px,
      rgba(23, 22, 26, 0.035) 9px 10px
    );
}

.team__ini {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--muted);
  opacity: 0.5;
}

.team__blank i {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--line);
}
.team__blank i:nth-child(2) { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.team__blank i:nth-child(3) { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.team__blank i:nth-child(4) { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.team__blank i:nth-child(5) { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.team__no {
  position: absolute;
  left: 0.7rem;
  bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: #fff;
  mix-blend-mode: difference;
}

.team__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* text-transform: uppercase KULLANILMAZ — tarayıcı "i"yi "I" yapar,
   "Videografiker" → "VIDEOGRAFIKER" olurdu. Rol kendi yazımıyla kalır. */
.team__role {
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--red);
}

.team__note {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 1100px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .team { grid-template-columns: 1fr; } }

/* Hover'a bağlı hiçbir BİLGİ yok — renk yalnızca dekoratif, dokunmatikte kayıp olmaz */
@media (hover: none) {
  .team__photo { filter: grayscale(0); transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .team__photo,
  .team__cell:hover .team__photo { transition: none; transform: none; }
}

/* ---------- Ekip köprüsü (ana sayfa) ---------- */

.crew {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  color: inherit;
  text-decoration: none;
  flex-wrap: wrap;
}

.crew__faces { display: flex; flex: none; position: relative; }

/* Üst üste binen küçük kadrajlar — tek satırlık "ekip" işareti */
.crew__face {
  width: clamp(64px, 7vw, 86px);
  aspect-ratio: 4 / 5;
  margin-right: -18px;
  border: 2px solid var(--bg);
  background: var(--ink-surface);
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.crew__face:last-child { margin-right: 0; }

/* Şeridin okunma sırası soldan sağa: öndeki kare üstte kalsın */
.crew__face:nth-child(1) { z-index: 7; }
.crew__face:nth-child(2) { z-index: 6; }
.crew__face:nth-child(3) { z-index: 5; }
.crew__face:nth-child(4) { z-index: 4; }
.crew__face:nth-child(5) { z-index: 3; }
.crew__face:nth-child(6) { z-index: 2; }
.crew__face:nth-child(7) { z-index: 1; }

.crew__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
  transition: filter 0.4s ease;
}

/* Fotoğrafsız kare şeritte sırıtmasın: portrelerle aynı koyulukta kalır */
.crew__face--blank {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  background: var(--ink-surface);
}

.crew:hover .crew__face { transform: translateY(-4px); }
.crew:hover .crew__face img { filter: grayscale(0); }

.crew__lead {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.crew__sub {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--red);
}
.crew:hover .crew__sub .arrow { transform: translateX(5px); display: inline-block; transition: transform 0.3s ease; }

@media (prefers-reduced-motion: reduce) {
  .crew__face, .crew:hover .crew__face { transform: none; transition: none; }
}

/* ---------- İletişim ---------- */

.contact { text-align: left; }

.contact__mail {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6.5vw, 4.5rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin-top: 1.5rem;
  position: relative;
  transition: color 0.3s ease;
  word-break: break-all;
}
.contact__mail::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.35rem;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.contact__mail:hover { color: var(--red); }
.contact__mail:hover::after { transform: scaleX(1); }

.contact__socials {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact__socials a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}
.contact__socials a:hover { color: var(--red); }

/* ---------- Footer (koyu çerçeve) ---------- */

.footer {
  background: var(--ink-bg);
  color: var(--ink-text);
  padding: 3rem var(--pad) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: var(--r-l) var(--r-l) 0 0;
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.footer__logo img { height: 1.6rem; width: auto; opacity: 0.9; }

.footer__links {
  display: flex;
  gap: 1.75rem;
}

.footer__links a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.25s ease;
}
.footer__links a:hover { color: var(--red); }

.footer__copy {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: rgba(152, 149, 156, 0.6);
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
