/* ARTE Mimarlık & İç Mimarlık — ana sayfa */

:root {
  --bg: #f3f0ea;
  --bg-2: #eae6de;
  --ink: #121212;
  --ink-2: #4a4843;
  --line: rgba(18, 18, 18, .14);
  --accent: #a4553b;
  --white: #fff;

  --font: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: clamp(20px, 3.2vw, 48px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 20px;
}
.display {
  font-weight: 400;
  font-size: clamp(44px, 7.4vw, 124px);
  line-height: .98;
  letter-spacing: -.035em;
}
.section { padding-block: clamp(80px, 11vw, 168px); }
.section__lead { max-width: 560px; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 19px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: transform .9s var(--ease), opacity .9s ease, background-color .4s, color .4s, box-shadow .4s;
}
.site-header.is-solid {
  background: rgba(243, 240, 234, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.header__left { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.logo { position: relative; display: block; height: 54px; aspect-ratio: 3450 / 1494; }
.logo__img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s ease; }
.logo__img--dark { opacity: 0; }
.site-header.is-solid .logo__img--light { opacity: 0; }
.site-header.is-solid .logo__img--dark { opacity: 1; }
body.menu-open .logo__img--light { opacity: 1 !important; }
body.menu-open .logo__img--dark { opacity: 0 !important; }
.clock { font-size: 12px; letter-spacing: .08em; font-variant-numeric: tabular-nums; opacity: .8; }

.nav { display: flex; gap: clamp(16px, 2.2vw, 36px); font-size: 14px; }
.nav a { position: relative; padding-block: 6px; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Açılış animasyonu ---------- */
/* Logo, kendi kırmızı alt çizgisinden ikiye ayrılır; perde tam o çizgiden açılır. */
.pre { display: none; }
.has-intro .pre { display: block; position: fixed; inset: 0; z-index: 300; --w: min(58vw, 480px); --k: calc(var(--w) / 3450); }
.has-intro.intro-lock, .has-intro.intro-lock body { overflow: hidden; }
.pre__panel { position: absolute; left: 0; right: 0; height: 50%; background: #1a1a1a; transition: transform 1.3s cubic-bezier(.76, 0, .24, 1); will-change: transform; }
.pre__panel--top { top: 0; }
.pre__panel--bot { top: 50%; }
.pre.is-out .pre__panel--top { transform: translateY(-101%); }
.pre.is-out .pre__panel--bot { transform: translateY(101%); }

.pre__markwrap { position: absolute; left: 50%; bottom: calc(var(--k) * 28.5); width: var(--w); aspect-ratio: 3450 / 1050; transform: translateX(-50%); overflow: hidden; }
.pre__tagwrap  { position: absolute; left: 50%; top: calc(var(--k) * 29.5); width: var(--w); aspect-ratio: 3450 / 272; transform: translateX(-50%); overflow: hidden; }
.pre__mark, .pre__tag, .pre__shine { position: absolute; inset: 0; width: 100%; height: 100%; }
.pre__mark { transform: translateY(106%); filter: blur(5px); }
.pre__tag  { transform: translateY(-106%); filter: blur(3px); }
.pre__shine { filter: brightness(4) saturate(0); mix-blend-mode: screen; clip-path: polygon(-40% 0, -22% 0, -42% 100%, -60% 100%); opacity: .9; }

.pre__line {
  position: absolute; z-index: 2; top: 50%;
  left: calc(50% + var(--k) * -201.5); width: calc(var(--k) * 2845); height: calc(var(--k) * 40);
  transform: translate(-50%, -50%);
  transition: left 1.1s cubic-bezier(.76, 0, .24, 1), width 1.1s cubic-bezier(.76, 0, .24, 1), opacity .5s ease .95s, box-shadow .8s ease;
}
.pre__line i { display: block; width: 100%; height: 100%; background: #de5250; border-radius: 99px; transform: scaleX(0); }
.pre.is-out .pre__line { left: 50%; width: 100vw; opacity: 0; box-shadow: 0 0 40px 6px rgba(222, 82, 80, .55); }

.pre.is-play .pre__line i { animation: pre-line 1.1s .15s cubic-bezier(.16, 1, .3, 1) forwards; }
.pre.is-play .pre__mark { animation: pre-rise 1.25s .7s cubic-bezier(.16, 1, .3, 1) forwards; }
.pre.is-play .pre__tag  { animation: pre-drop 1.05s 1.3s cubic-bezier(.16, 1, .3, 1) forwards; }
.pre.is-play .pre__shine { animation: pre-shine 1.2s 1.95s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes pre-line  { to { transform: scaleX(1); } }
@keyframes pre-rise  { to { transform: none; filter: blur(0); } }
@keyframes pre-drop  { to { transform: none; filter: blur(0); } }
@keyframes pre-shine {
  from { clip-path: polygon(-40% 0, -22% 0, -42% 100%, -60% 100%); }
  to   { clip-path: polygon(130% 0, 148% 0, 128% 100%, 110% 100%); }
}

/* açılış bitene kadar sayfa içeriği bekler, sonra giriş yapar */
.has-intro:not(.intro-done) .line > span { animation-play-state: paused; }
.hero__slides { transition: transform 3.8s var(--ease); }
.has-intro:not(.intro-done) .hero__slides { transform: scale(1.24); }
.hero__foot { transition: opacity 1s .9s ease; }
.has-intro:not(.intro-done) .hero__foot { opacity: 0; }
.has-intro:not(.intro-done) .site-header { transform: translateY(-100%); opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  --sy: 0; --fo: 1;                                  /* scroll ilerlemesi (JS): piksel, alt bilgi görünürlüğü */
  position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 640px;
  color: var(--white); overflow: hidden; background: #1a1a1a;
}
.hero__content { translate: 0 calc(var(--sy) * -1.15px); opacity: var(--tf, 1); will-change: translate; }   /* başlık: sayfadan hızlı yukarı çıkar */
.hero__slides { position: absolute; inset: 0; transform-origin: 50% 100%; }   /* arka plan sabit kalır: başlıktan çok daha yavaş */
.hero__shade { position: absolute; inset: 0; }
.hero__foot > * { opacity: var(--fo); }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 100%; transform-origin: 50% 100%;   /* görsel alttan hizalı */
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.23s ease, transform 6.9s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  background:
    linear-gradient(rgba(0,0,0,.14), rgba(0,0,0,.14)),
    linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 26%),
    linear-gradient(0deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,0) 100%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: clamp(110px, 16vh, 170px);
  padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto;
}
.hero__title { font-weight: 400; font-size: clamp(32px, 8.2vw, 140px); line-height: .98; letter-spacing: -.04em; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: block; transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; }
.line:nth-child(2) > span { animation-delay: .12s; }
/* hero'nun devamı: sabit hero'nun üstünden akan boşluk + sağda kısa metin */
.hero-next { position: relative; z-index: 1; height: 72svh; min-height: 420px; padding: clamp(40px, 8svh, 96px) var(--gutter) 0; color: #fff; }
.hero-next__text {
  margin-left: auto; max-width: 34ch; font-size: clamp(17px, 1.6vw, 24px); line-height: 1.4; letter-spacing: -.01em;
  text-shadow: 0 1px 22px rgba(0,0,0,.4);
}
main > section:not(.hero) { position: relative; z-index: 1; }   /* ekip ve sonraki bölümler sabit hero'nun üstüne biner */
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 28px;
  padding-inline: var(--gutter);
  display: flex; align-items: flex-end; justify-content: space-between;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; }
.scroll-cue__line { position: relative; width: 1px; height: 44px; background: rgba(255,255,255,.3); overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 50%; background: #fff;
  animation: cue 2s var(--ease) infinite;
}
.hero__meta { display: flex; gap: 28px; align-items: baseline; }
.hero__count { font-variant-numeric: tabular-nums; opacity: .8; }
.hero__count b { font-weight: 500; opacity: 1; }

@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: .92; } }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

/* ---------- Giriş: marka isimleri animasyonu ---------- */
.hero__brands, .hero__band { display: none; }
/* masaüstü / yatay ekran: sağda iki sütun, zıt yönde dikey kayar (referans bölümündeki animasyonun aynısı) */
@media not all and (max-width: 900px) and (orientation: portrait) {
  .hero__brands {
    display: block; position: absolute; z-index: 1; pointer-events: none;
    right: var(--gutter); top: calc(var(--header-h) + 28px); bottom: 150px; width: clamp(260px, 25vw, 380px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
    transition: opacity 1s 1.2s ease;
  }
  .has-intro:not(.intro-done) .hero__brands { opacity: 0; }
  .hero__brands-grid { --gap: 12px; height: 100%; overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); opacity: var(--tf, 1); }
  .hero__brands .logo-tile { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
}
@keyframes band-left  { to { transform: translateX(-33.3333%); } }
@keyframes band-right { from { transform: translateX(-33.3333%); } to { transform: none; } }

/* ---------- Bölüm başlıkları ---------- */
.section__head { display: grid; gap: 0; margin-bottom: clamp(48px, 7vw, 104px); }
.section__head .section__lead { margin-top: clamp(24px, 3vw, 40px); }
@media (min-width: 900px) {
  .section__head { grid-template-columns: 1fr minmax(320px, 560px); align-items: end; column-gap: 48px; }
  .section__head .eyebrow, .section__head .display { grid-column: 1; }
  .section__head .section__lead { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: end; }
}
.display { text-wrap: balance; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; width: max-content; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap .4s var(--ease); }
.link-arrow:hover { gap: 16px; }

/* ---------- Ekip ---------- */
.team { background: var(--bg); padding-block: clamp(60px, 7vw, 110px); }
.team__grid { display: grid; gap: clamp(36px, 5vw, 56px); align-items: center; }
.team__text { display: grid; justify-items: start; }
.team__text .display { font-size: clamp(34px, 4.3vw, 70px); line-height: 1.02; }
.team__text .section__lead { margin-top: clamp(24px, 3vw, 40px); max-width: 52ch; }
.team__text .link-arrow { margin-top: 24px; }
.team__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); align-items: start; }
@media (min-width: 900px) { .team__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(40px, 6vw, 96px); } }

.member__photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #cdbba3 0%, #a58a70 55%, #7c624d 100%);
}
.member__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.member:hover .member__photo > img { transform: scale(1.04); }
.member__ph { position: absolute; left: 50%; bottom: 0; width: 74%; transform: translateX(-50%); fill: rgba(255,255,255,.22); }
.member__photo > img ~ .member__ph { display: none; }
.member__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,8,.72) 0%, rgba(20,14,8,.25) 38%, rgba(20,14,8,0) 62%); }
.member__label { position: absolute; left: clamp(14px, 1.6vw, 24px); right: 14px; bottom: clamp(14px, 1.6vw, 24px); display: grid; gap: 4px; }
.member__name { font-weight: 500; font-size: clamp(20px, 2vw, 30px); letter-spacing: -.025em; line-height: 1.08; }
.member__title { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.1; opacity: .92; }
.member__bio { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ink); font-size: 14px; color: var(--ink-2); max-width: 36ch; }

/* ---------- Projeler (sabitlenen tam ekran, scroll ile sırayla) ---------- */
.projects {
  --n: 12; --seg: 100svh;
  height: calc(100svh + (var(--n) - 1) * var(--seg));
  background: #111; color: var(--white); position: relative;
}
.pin { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; cursor: pointer; }
.pin.is-paged { touch-action: none; }          /* dokunmatik: sabitlenmiş bölümde dikey hareketi sayfalama (JS) yönetir */
.pstack { position: absolute; inset: 0; }

.pl {
  --t: 1; --o: 0; --p: 0;
  position: absolute; inset: 0; overflow: hidden; background: #1b1b1b;
  clip-path: inset(calc((1 - var(--t)) * 100%) 0 0 0);
  will-change: clip-path;
}
.pl:first-child { clip-path: none; }
.pl.is-off { visibility: hidden; }
.pl__img { position: absolute; inset: 0; transform: translate3d(0, calc((1 - var(--t)) * 14% - var(--o) * 9%), 0) scale(1.12); will-change: transform; }
.pl__img img { width: 100%; height: 100%; object-fit: cover; }
.pl::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(10,8,6,.82) 0%, rgba(10,8,6,.55) 36%, rgba(10,8,6,0) 66%);
}
.pl::after { content: ""; position: absolute; inset: 0; z-index: 1; background: #000; opacity: calc(var(--o) * .55); pointer-events: none; }

.pl__text { position: absolute; left: 0; right: 0; bottom: 0; top: 62%; z-index: 2; padding-inline: var(--gutter); }
.pl__line { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: rgba(255,255,255,.28); }
.pl__line span { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p)); }
.pl__grid {
  padding-top: clamp(18px, 2.4vw, 32px);
  display: grid; grid-template-columns: minmax(84px, 9%) minmax(0, 1fr) minmax(0, 34%); gap: clamp(16px, 2.4vw, 40px);
  }
.pl__num { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding-top: 12px; font-variant-numeric: tabular-nums; }
.pill { display: inline-block; min-width: 26px; padding: 1px 7px; text-align: center; border: 1px solid currentColor; border-radius: 99px; line-height: 1.5; }
.pl__name h3 { font-weight: 500; font-size: clamp(34px, 5vw, 84px); line-height: .98; letter-spacing: -.045em; max-width: 12ch; }
.pl__meta { margin-top: clamp(16px, 2vw, 28px); display: grid; gap: 1px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.pl__tag { display: block; margin-top: 18px; font-family: "Instrument Serif", Georgia, serif; font-size: 18px; opacity: .8; }
.pl__note { padding-top: 6px; }
.pl__note p { font-size: clamp(15px, 1.5vw, 23px); font-weight: 500; line-height: 1.22; letter-spacing: -.02em; }
.pl__link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(16px, 1.8vw, 26px);
  font-family: "Instrument Serif", Georgia, serif; font-size: 19px; opacity: .8;
  border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; transition: opacity .3s, gap .4s var(--ease);
}
.pl__link:hover { opacity: 1; gap: 16px; }

.pcursor {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  padding: 10px 16px; border-radius: 99px; background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translate3d(-100px, -100px, 0) scale(.6); transition: opacity .25s ease, scale .25s ease;
}
.pcursor.is-on { opacity: 1; }

.pintro { position: absolute; z-index: 4; left: var(--gutter); top: calc(var(--header-h) + 22px); max-width: 34ch; color: #fff; pointer-events: none; text-shadow: 0 1px 16px rgba(0,0,0,.35); }
.pintro__title { font-weight: 500; font-size: clamp(20px, 2vw, 30px); letter-spacing: -.02em; line-height: 1.1; }
.pintro p { margin-top: 8px; font-size: 14px; line-height: 1.4; opacity: .85; }

/* ---------- Proje detayı ---------- */
.detail {
  position: fixed; inset: 0; z-index: 100; background: var(--bg); color: var(--ink);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .7s var(--ease);
}
.detail[hidden] { display: none; }
.detail:focus { outline: none; }
.detail.is-open { opacity: 1; transform: none; }
.detail__bar {
  flex: none; height: var(--header-h); padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.detail__logo { height: 46px; width: auto; }
.detail__close { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; padding: 10px 4px; }
.detail__close svg { transition: transform .4s var(--ease); }
.detail__close:hover svg { transform: rotate(90deg); }
.detail__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.detail__inner {
  padding: clamp(28px, 4vw, 64px) var(--gutter) clamp(60px, 8vw, 120px);
  display: grid; grid-template-columns: minmax(280px, 30%) 1fr; gap: clamp(28px, 4vw, 72px);
  max-width: 1680px; margin-inline: auto; align-items: start;
}
.detail__info { position: sticky; top: 0; }
.detail__info .pl__num { padding-top: 0; color: var(--ink-2); }
.dcat { margin-top: 28px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.dtitle { font-weight: 500; font-size: clamp(36px, 4.4vw, 72px); line-height: .98; letter-spacing: -.045em; margin-top: 12px; }
.dnote { margin-top: 24px; color: var(--ink-2); font-size: 16px; max-width: 42ch; }
.dmeta { margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.dmeta > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dmeta dt { color: var(--ink-2); }
.dmeta dd { margin: 0; font-weight: 500; text-align: right; }
.dnext { display: grid; gap: 4px; margin-top: 36px; }
.dnext span { font-family: "Instrument Serif", Georgia, serif; font-size: 18px; color: var(--ink-2); }
.dnext b { font-weight: 500; font-size: 22px; letter-spacing: -.02em; transition: transform .4s var(--ease); display: inline-block; }
.dnext:hover b { transform: translateX(8px); }
.detail__gallery { display: grid; gap: clamp(12px, 1.6vw, 24px); }
.detail__gallery img { width: 100%; height: auto; background: var(--bg-2); }
.detail__gallery figure { margin: 0; }
.detail__gallery figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); display: flex; justify-content: space-between; }

/* ---------- Hizmetler ---------- */
.services { background: var(--bg); padding-block: clamp(56px, 6.5vw, 100px); }
.services .display { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; }
.services .section__head { margin-bottom: clamp(26px, 3.2vw, 44px); }
.services .section__lead { font-size: clamp(15px, 1.05vw, 17px); }
.svc { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 16px; align-items: baseline; padding-block: clamp(14px, 1.6vw, 22px); border-top: 1px solid var(--line); transition: padding .5s var(--ease); }
.svc__row:hover { padding-left: 10px; }
.svc__num { font-size: 12px; letter-spacing: .1em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.svc__title { font-weight: 400; font-size: clamp(20px, 2vw, 30px); letter-spacing: -.03em; line-height: 1.1; }
.svc__row p { grid-column: 2; color: var(--ink-2); font-size: clamp(14px, 1vw, 15px); max-width: 56ch; }
@media (min-width: 900px) {
  .svc__row { grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.2fr); column-gap: clamp(20px, 3vw, 48px); }
  .svc__row p { grid-column: 3; }
}
/* telefon / küçük ekran: hizmetler bölümü daha sıkı */
@media (max-width: 899px) {
  .services { padding-block: clamp(40px, 8vw, 56px); }
  .services .eyebrow { margin-bottom: 12px; }
  .services .display { font-size: clamp(26px, 7.2vw, 34px); line-height: 1.05; }
  .services .section__head { margin-bottom: 20px; }
  .services .section__head .section__lead { margin-top: 14px; font-size: 14px; line-height: 1.5; }
  .svc__row { grid-template-columns: 26px minmax(0, 1fr); gap: 4px 12px; padding-block: 11px; }
  .svc__num { font-size: 11px; }
  .svc__title { font-size: clamp(16px, 4.4vw, 20px); }
  .svc__row p { font-size: 13px; line-height: 1.45; }
}
.types { margin-top: clamp(40px, 5vw, 72px); }
.types__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 3.6vw, 56px) clamp(20px, 2.4vw, 36px); margin-top: clamp(20px, 2.4vw, 32px); }
.card__media { display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding-top: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 10px; }
.card__num { font-size: 12px; letter-spacing: .1em; color: var(--ink-2); padding-top: 9px; font-variant-numeric: tabular-nums; }
.card__title { font-weight: 400; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.02em; line-height: 1.1; }
.card__mark {
  grid-column: 2; margin-top: 2px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Proje süreci ---------- */
.process { background: var(--bg-2); }
.process .section__head { margin-bottom: clamp(36px, 5vw, 72px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.step { border-top: 1px solid var(--ink); padding-top: 20px; }
.step__num { display: block; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(38px, 4.2vw, 64px); line-height: 1; color: var(--accent); }
.step__title { font-weight: 500; font-size: clamp(19px, 1.7vw, 26px); letter-spacing: -.02em; line-height: 1.15; margin-top: 18px; }
.step p { margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 34ch; }
.process__note { margin-top: clamp(28px, 3.5vw, 48px); font-family: "Instrument Serif", Georgia, serif; font-size: 20px; color: var(--ink-2); }
/* telefon / küçük ekran: süreç bölümü daha sıkı */
@media (max-width: 899px) {
  .process { padding-block: clamp(40px, 8vw, 56px); }
  .process .eyebrow { margin-bottom: 12px; }
  .process .display { font-size: clamp(26px, 7.2vw, 34px); line-height: 1.05; }
  .process .section__head { margin-bottom: 20px; }
  .steps { gap: 16px 20px; }
  .step { padding-top: 12px; }
  .step__num { font-size: clamp(26px, 7vw, 32px); }
  .step__title { font-size: clamp(16px, 4.4vw, 19px); margin-top: 8px; }
  .step p { font-size: 13px; line-height: 1.45; margin-top: 6px; }
  .process__note { font-size: 16px; margin-top: 20px; }
}

/* ---------- Referanslar ---------- */
.company { padding-block: clamp(70px, 9vw, 140px); }
.company__grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.company__title { font-size: clamp(40px, 5.2vw, 76px); }
.company__text p { margin-top: clamp(20px, 2.4vw, 32px); }

.logos {
  --gap: 14px;
  height: clamp(460px, 46vw, 660px); overflow: hidden;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.logos__col { display: flex; flex-direction: column; animation: logos-up 50s linear infinite; will-change: transform; }
.logos__col--down { animation-name: logos-down; }
.logos__set { display: flex; flex-direction: column; gap: var(--gap); padding-bottom: var(--gap); }
.logo-tile {
  container-type: inline-size;
  display: grid; place-items: center; padding: 8%; overflow: hidden;
  background: var(--bg-2); color: var(--ink); text-align: center;
}
.wm { display: grid; justify-items: center; gap: 4cqw; line-height: 1; max-width: 100%; }
.wm small { font-size: .42em; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; opacity: .75; }
.wm svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; }
.wm--sans   { font-size: 19cqw; font-weight: 700; letter-spacing: -.04em; }
.wm--heavy  { font-size: 21cqw; font-weight: 800; letter-spacing: -.045em; text-transform: uppercase; line-height: .92; }
.wm--serif  { font-family: "Instrument Serif", Georgia, serif; font-size: 16cqw; text-transform: uppercase; letter-spacing: .1em; }
.wm--italic { font-family: "Instrument Serif", Georgia, serif; font-size: 21cqw; font-style: italic; letter-spacing: -.01em; }
.wm--wide   { font-size: 11.5cqw; font-weight: 600; letter-spacing: .2em; padding-left: .2em; }
.wm--light  { font-size: 14.5cqw; font-weight: 300; letter-spacing: .08em; text-transform: uppercase; }
.wm--script { font-family: "Mrs Saint Delafield", cursive; font-size: 32cqw; line-height: .8; }
.wm--mono i { display: grid; place-items: center; width: 2.4em; height: 2.4em; border: 1.5px solid currentColor; border-radius: 50%; font-family: "Instrument Serif", Georgia, serif; font-style: normal; font-size: 13cqw; letter-spacing: .04em; }
.wm--mono small { font-size: 6cqw; }
.wm--block  { font-size: 16cqw; font-weight: 700; letter-spacing: -.03em; display: flex; align-items: center; gap: .35em; white-space: nowrap; }
.wm--block b { width: .8em; height: .8em; background: currentColor; display: inline-block; }

@keyframes logos-up   { to { transform: translateY(-33.3333%); } }
@keyframes logos-down { from { transform: translateY(-33.3333%); } to { transform: translateY(0); } }
@media (min-width: 900px) { .company__grid { grid-template-columns: 1fr minmax(360px, 36%); padding-left: clamp(0px, 6vw, 96px); } }

/* ---------- İletişim / alt bilgi ---------- */
.footer { background: var(--ink); color: var(--white); padding-top: clamp(70px, 9vw, 140px); }
.footer .eyebrow { color: rgba(255,255,255,.6); }
.footer__grid { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.1fr 1.3fr .5fr; align-items: end; } }
.contact { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.contact li { border-top: 1px solid rgba(255,255,255,.18); }
.contact a { display: grid; grid-template-columns: 28px 1fr auto; gap: clamp(16px, 2vw, 28px); align-items: center; padding-block: clamp(18px, 2vw, 26px); transition: padding .5s var(--ease), color .3s; }
.contact svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.3; opacity: .7; transition: opacity .3s; }
.contact__text { display: grid; gap: 4px; }
.contact small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.contact b { font-weight: 400; font-size: clamp(19px, 2vw, 30px); letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact__addr b { font-size: clamp(16px, 1.5vw, 21px); line-height: 1.3; }
.contact__go { font-size: 22px; opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s, transform .5s var(--ease); }
.contact a:hover { padding-left: 10px; color: #fff; }
.contact a:hover svg { opacity: 1; }
.contact a:hover .contact__go { opacity: 1; transform: none; }
.footer .display { font-size: clamp(40px, 5.2vw, 88px); }
.footer__lead { margin-top: clamp(20px, 2.4vw, 32px); max-width: 38ch; color: rgba(255,255,255,.72); font-size: 16px; }
.footer__nav { display: grid; gap: 4px; font-size: 15px; align-content: end; }
.footer__nav a { width: max-content; padding-block: 6px; color: rgba(255,255,255,.65); position: relative; transition: color .3s; }
.footer__nav a:hover { color: #fff; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(56px, 8vw, 120px); padding-block: 24px 28px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; color: rgba(255,255,255,.55); }
.footer__brand { display: inline-flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__brand img { height: 52px; width: auto; }
.footer__bar a { color: rgba(255,255,255,.8); }
.footer__bar a:hover { color: #fff; }

/* ---------- Sabit iletişim butonu: kemerli kapı ----------
   Renderlardaki kemerli nişlerden gelen imge: düğmedeki küçük kapı üzerine gelince / açılınca aralanır ve
   logodaki kırmızı ışık içeriden sızar. Açılan panel de kemerlidir. */
.cta { display: none; }
.js .cta {
  position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 105;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  transition: opacity .5s ease, transform .7s var(--ease), visibility .5s;
  pointer-events: none;                                            /* kapsayıcı (kapalı panelin yeri dahil) altındaki içeriğe dokunmayı engellemesin */
}
.cta__btn, .cta.is-open .cta__sheet { pointer-events: auto; }
/* hero'nun sağ altındaki proje adı / sayaç satırı, butonun hemen üstünde durur (örtülmesin) */
.js .hero__meta { margin-bottom: 60px; }
@media (max-width: 640px) { .js .hero__meta { margin-bottom: 52px; } }
/* açılış animasyonu bitene, mobil menü kapanana ve alt bilgi (iletişim) görününceye kadar gizli */
.has-intro:not(.intro-done) .cta, .cta.is-away, body.menu-open .cta { opacity: 0; visibility: hidden; transform: translateY(18px); pointer-events: none; }

.cta__btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 48px; padding: 0 20px 0 8px; border-radius: 99px;
  background: rgba(18, 18, 18, .82); color: #fff;
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 14px 34px rgba(0,0,0,.28);
  font-size: 14px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .4s, transform .5s var(--ease);
}
.cta__btn:active { transform: scale(.97); }

.door {
  position: relative; flex: none; width: 28px; height: 34px; perspective: 90px;
  border-radius: 14px 14px 2px 2px;
  background: linear-gradient(180deg, #ffd9cf 0%, #de5250 68%, #a63a39 100%);   /* kapının ardındaki sıcak ışık */
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.9);
  transition: box-shadow .6s ease;
}
.door__leaf {
  position: absolute; inset: 0; border-radius: inherit; background: var(--bg); transform-origin: 0 50%;
  box-shadow: inset -3px 0 0 rgba(0,0,0,.08);
  transition: transform .9s var(--ease);
  animation: door-knock 8s 3.5s infinite;                          /* ara sıra kapı aralanır */
}
.door__leaf::after { content: ""; position: absolute; right: 5px; top: 54%; width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.cta__btn:focus-visible .door__leaf, .cta.is-open .door__leaf { animation: none; transform: rotateY(-74deg); }
.cta__btn:focus-visible .door, .cta.is-open .door { box-shadow: 0 0 0 1.5px #fff, 0 0 18px rgba(222, 82, 80, .7); }
/* :hover dokunmatik ekranlarda dokunulan öğede takılı kalır; kapı yalnızca gerçek fare üzerinde "hover" ile açılır */
@media (hover: hover) and (pointer: fine) {
  .cta__btn:hover { background: rgba(18, 18, 18, .94); }
  .cta__btn:hover .door__leaf { animation: none; transform: rotateY(-74deg); }
  .cta__btn:hover .door { box-shadow: 0 0 0 1.5px #fff, 0 0 18px rgba(222, 82, 80, .7); }
  .cta__list a:hover { padding-left: 10px; color: var(--accent); }
  .cta__list a:hover .cta__go { opacity: 1; transform: translate(2px, -2px); }
}
@keyframes door-knock {
  0%, 84%, 100% { transform: none; }
  88% { transform: rotateY(-34deg); }
  92% { transform: rotateY(-6deg); }
  96% { transform: rotateY(-26deg); }
}

.cta__sheet {
  width: min(340px, calc(100vw - 28px)); max-height: calc(100svh - 112px); overflow-y: auto; overscroll-behavior: contain;
  padding: 58px 22px 14px;
  border-radius: 170px 170px 20px 20px;                              /* kemer */
  background: var(--bg); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(18,18,18,.08), 0 30px 80px rgba(0,0,0,.35);
  transform-origin: 100% 100%;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.94);
  transition: opacity .35s ease, transform .6s var(--ease), visibility .6s;
}
.cta.is-open .cta__sheet { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .6s var(--ease), visibility 0s; }
.cta__head { text-align: center; padding-bottom: 16px; }
.cta__head .eyebrow { margin-bottom: 8px; font-size: 11px; }
.cta__title { font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: -.035em; }
.cta__title em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; color: var(--accent); letter-spacing: -.01em; }
.cta__list { list-style: none; margin: 0; padding: 0; }
.cta__list li { border-top: 1px solid var(--line); opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .6s var(--ease); }
.cta.is-open .cta__list li { opacity: 1; transform: none; transition-delay: calc(.14s + var(--i) * .05s); }
.cta__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 4px; transition: padding .4s var(--ease), color .3s; }
.cta__t { display: grid; gap: 1px; }
.cta__t small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.cta__t b { font-weight: 500; font-size: 15px; letter-spacing: -.01em; line-height: 1.25; overflow-wrap: anywhere; }
.cta__go { font-size: 16px; opacity: .5; transition: opacity .3s, transform .4s var(--ease); }
@media (max-width: 640px) {
  .cta__btn { height: 44px; font-size: 13px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .door__leaf { animation: none; }
  .cta__sheet, .cta__list li { transition-duration: .01ms; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .logo { height: 44px; }
  .pl__text { top: 50%; }
  .pl__grid { grid-template-columns: 1fr; gap: 12px; }
  .pl__num { padding-top: 0; }
  .pl__name h3 { font-size: clamp(34px, 10vw, 52px); max-width: none; }
  .pl__meta { margin-top: 12px; }
  .pl__tag { display: none; }
  .pl__note p { font-size: 15px; font-weight: 400; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .pl__link { margin-top: 10px; }
  .pcursor { display: none; }
  .detail__inner { grid-template-columns: 1fr; }
  .detail__info { position: static; }
  .clock { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    background: var(--ink); color: var(--white);
    flex-direction: column; justify-content: center; gap: 6px;
    padding: var(--header-h) var(--gutter) 40px;
    font-size: clamp(30px, 8vw, 48px); letter-spacing: -.02em;
    opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s;
  }
  .nav a { padding-block: 8px; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; transform: none; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .member__name { font-size: 19px; }
  .member__title { font-size: 17px; }
  .member__bio { font-size: 13px; }
  .steps { grid-template-columns: 1fr; }
  .pintro p { display: none; }
  .hero__meta .hero__caption { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .line > span { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .logos__col, .band__track { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { position: relative; }
  .hero__content { translate: none; opacity: 1; }
  .hero-next { height: auto; min-height: 0; padding-bottom: 48px; background: #1a1a1a; }
}
@media (max-width: 640px) {
  .hero-next { height: 60svh; }
  .hero-next__text { max-width: 26ch; }
}

/* ---------- Telefon / dikey ekran: yatay render görselleri kırpılmadan gösterilir ---------- */
@media (max-width: 900px) and (orientation: portrait) {
  /* Giriş: kare slayt, ekranı kenardan kenara kaplar; arkası aynı görselin bulanık kopyası. Dikey düzen tek yerden hesaplanır:
     başlık → marka bandı → kare slayt → marka bandı → alt bilgi. Kare öncelikli: tam genişlikte kalır, yer yetmezse önce
     bantlar daralır (yazıları da orantılı küçülür); bantlar üst sınırdaysa artan boşluk eşit paylaştırılır. */
  .hero {
    min-height: 560px;
    --hh: max(100svh, 560px);                                                   /* giriş yüksekliği */
    --hz: 62px;                                                                 /* başlığın en üst sınırı (üst menünün altı) */
    --tfs: clamp(22px, min(9vw, 4.2svh), 46px);                                 /* başlık yazı boyutu */
    --tt: calc(var(--tfs) * 2.1);                                               /* iki satırlık başlık yüksekliği */
    --g1: 8px;                                                                  /* başlık ile üst bant arası */
    --bgap: 5px;                                                                /* bant ile slayt arası */
    --foot: 80px;                                                               /* alt bilgi (Kaydır, iletişim butonu) için ayrılan yükseklik */
    --bmin: clamp(24px, 6vw, 40px); --bmax: 52px;                               /* bant yüksekliği alt / üst sınırı */
    --is: min(100vw, max(220px, calc(var(--hh) - var(--hz) - var(--tt) - var(--g1) - var(--foot) - 2 * (var(--bmin) + var(--bgap)))));   /* kare kenarı: tam genişlik; yalnızca en dar bantlara bile yer kalmazsa küçülür */
    --room: calc(var(--hh) - var(--hz) - var(--tt) - var(--g1) - var(--foot) - var(--is));   /* iki banta kalan yükseklik */
    --bh: clamp(var(--bmin), calc((var(--room) - 2 * var(--bgap)) / 2), var(--bmax));        /* bant yüksekliği */
    --free: max(0px, calc(var(--room) - 2 * (var(--bh) + var(--bgap))));        /* artan boşluk */
    --gt: calc(var(--hz) + var(--free) / 2);                                    /* başlığın üstü */
    --bt: calc(var(--gt) + var(--tt) + var(--g1));                              /* üst bandın üstü */
    --it: calc(var(--bt) + var(--bh) + var(--bgap));                            /* slaytın üstü */
  }
  .hero::before {
    content: ""; position: absolute; inset: -40px; z-index: 0;
    background: var(--hero-bg, none) center / cover no-repeat;
    filter: blur(28px) saturate(1.1) brightness(.5);
  }
  .hero__slides { inset: auto 0 auto 0; margin-inline: auto; top: var(--it); width: var(--is); height: var(--is); overflow: hidden; transform-origin: 50% 50%; z-index: 1;
    translate: 0 calc(var(--push, 0) * -1px); will-change: translate; }   /* sonraki bölüm görseli örtmesin, yukarı itsin (JS: --push) */
  .hero__slide { object-position: 50% 50%; transform-origin: 50% 50%; }
  .hero__shade { display: none; }
  .hero__content { z-index: 2; top: var(--gt); bottom: auto; }                  /* başlık, üstteki bandın üstünde */

  /* marka isimleri: slaytın üstünde ve altında birer yatay bant, zıt yönde kayar */
  .hero__band {
    display: block; position: absolute; left: 0; right: 0; z-index: 1; height: var(--bh); overflow: hidden; pointer-events: none;
    font-size: var(--bh);                                                       /* bant içi yazılar bant yüksekliğine orantılı (em) */
    background: rgba(18, 18, 18, .4); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(255,255,255,.14);
    translate: 0 calc(var(--push, 0) * -1px); will-change: translate;          /* slayt ile birlikte yukarı itilir (JS: --push) */
    transition: opacity 1s .9s ease;
  }
  .hero__band--top { top: var(--bt); }
  .hero__band--bot { top: calc(var(--it) + var(--is) + var(--bgap)); }
  .has-intro:not(.intro-done) .hero__band { opacity: 0; }
  .band__track { display: flex; width: max-content; height: 100%; animation: band-left 52s linear infinite; will-change: transform; }
  .hero__band--bot .band__track { animation-name: band-right; }
  .band__item { flex: none; display: flex; align-items: center; height: 100%; padding: 0 .46em; border-right: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.92); white-space: nowrap; }
  .hero__band .wm { display: inline-flex; align-items: center; justify-items: normal; gap: .5em; }
  /* yazı boyutları bant yüksekliğinin (--bh) oranı: 52px bantta 20/18/17/22/13/17/36/17/11/9px */
  .hero__band .wm--sans   { font-size: .385em; }
  .hero__band .wm--heavy  { font-size: .346em; }
  .hero__band .wm--serif  { font-size: .327em; }
  .hero__band .wm--italic { font-size: .423em; }
  .hero__band .wm--wide   { font-size: .25em; }
  .hero__band .wm--light  { font-size: .327em; }
  .hero__band .wm--script { font-size: .692em; }
  .hero__band .wm--block  { font-size: .327em; }
  .hero__band .wm--mono i { font-size: .212em; }
  .hero__band .wm--mono small { font-size: .173em; }
  .hero__title { font-size: var(--tfs); }

  /* alt bilgi: yer kazanmak için proje adı / sayaç slaydın alt kenarına (görselin üstüne) alınır; "Kaydır" sol altta kalır */
  .hero__foot { position: static; }
  .scroll-cue { position: absolute; left: var(--gutter); bottom: 28px; z-index: 2; }
  .hero__meta {
    position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); top: calc(var(--it) + var(--is) - 36px);
    gap: 16px; justify-content: space-between; text-shadow: 0 1px 14px rgba(0,0,0,.5);
    translate: 0 calc(var(--push, 0) * -1px);                                   /* slayt ile birlikte yukarı itilir */
  }
  .js .hero__meta { margin-bottom: 0; }
  .hero__meta .hero__caption { display: block; }
  .hero__slides::after { content: ""; position: absolute; inset: auto 0 0 0; height: 96px; z-index: 2; pointer-events: none; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0)); }   /* alt kenardaki yazı okunur kalsın */
  .hero-next { height: auto; min-height: 0; background: #1a1a1a; padding: 40px var(--gutter) 52px; }
  .hero-next__text { margin-left: 0; max-width: 30ch; font-size: 19px; text-shadow: none; }

  /* Projeler: girişteki gibi sabit bir ekran. Kaydırdıkça sıradaki proje alttan gelip öncekinin üstünü örter,
     önceki küçülüp kararır. Zemin, girişteki gibi görselin koyu ve bulanık kopyası; render kırpılmadan üstünde durur. */
  .projects, .pin { background: #1a1a1a; }
  .pin { -webkit-tap-highlight-color: transparent; }
  .pl {
    background: #1a1a1a; clip-path: none; will-change: transform;
    display: flex; flex-direction: column;
    padding: calc(var(--header-h) + 70px) 0 72px;
    border-radius: 22px 22px 0 0; box-shadow: 0 -1px 0 rgba(255,255,255,.16);
    transform: translate3d(0, calc((1 - var(--t)) * 100%), 0) scale(calc(1 - var(--o) * .06));
  }
  .pl:first-child { box-shadow: none; }
  .pl::before {                                                    /* girişteki hero::before ile aynı bulanık zemin */
    inset: -40px; z-index: 0;
    background: var(--img, none) center / cover no-repeat;
    filter: blur(28px) saturate(1.1) brightness(.5);
  }
  .pl::after { opacity: calc(var(--o) * .7); }                    /* önceki proje (metniyle birlikte) kararır */
  .pl__img { position: relative; inset: auto; margin-top: auto; transform: translate3d(0, calc((1 - var(--t)) * 10%), 0); }
  .pl__img img { height: auto; max-height: 38svh; object-fit: contain; }
  .pl__img img[data-src] { height: 0; }                            /* görseli henüz yüklenmemiş panelde yer tutucu boyut kaplamasın */
  .pl__text { position: relative; top: auto; z-index: auto; margin-block: 24px auto; }
  .pl__grid { padding-top: 20px; gap: 10px; }
  .pl__name h3 { font-size: clamp(30px, 9vw, 44px); }
  .pl__meta { margin-top: 8px; font-weight: 400; opacity: .7; }
  .pl__link { margin-top: 12px; opacity: 1; }

  /* Proje türleri kartları: kare yerine 4:3 */
  .card__media { aspect-ratio: 4 / 3; }

  /* Proje detayı: görseller kenardan kenara, bilgi kısa; önce görseller, sonra sonraki proje */
  .detail__inner { display: flex; flex-direction: column; gap: 0; padding-top: 24px; }
  .detail__info { display: contents; }
  .detail__info .dcat { margin-top: 18px; }
  .dtitle { font-size: clamp(32px, 9.5vw, 46px); margin-top: 8px; }
  .dnote { margin-top: 14px; font-size: 15px; }
  .dmeta { display: none; }
  .detail__gallery { order: 1; margin: 28px calc(var(--gutter) * -1) 0; gap: 22px; }
  .detail__gallery figcaption { padding-inline: var(--gutter); }
  .dnext { order: 2; margin-top: 40px; }
}

/* kısa telefon ekranlarında proje metni görselin altına sığsın */
@media (max-width: 900px) and (orientation: portrait) and (max-height: 700px) {
  .pl { padding-top: calc(var(--header-h) + 56px); }
  .pl__note p { -webkit-line-clamp: 2; }
}
@media (max-width: 900px) and (orientation: portrait) and (max-height: 620px) {
  .pl__note p { display: none; }
}
