:root {
  --bg: #ece8e0;
  --paper: #f6f3ed;
  --ph: #e0dbd1;
  --ink: #161513;
  --muted: #6b665d;
  --line: #d5cfc4;
  --accent: #670014;
  --sans: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: var(--sans);
  --pad: clamp(16px, 4vw, 48px);
  --max: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { flex: 1; outline: none; }

/* Görsel koruma */
.protect, .protect img { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 18px max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))); background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
em, i, cite, address { font-style: normal; }
.brand { display: inline-flex; align-items: center; justify-self: start; color: var(--ink); }
.brand svg { display: block; height: 28px; width: auto; }
@media (max-width: 560px) { .brand svg { height: 22px; } }
.nav { position: relative; display: flex; justify-content: center; gap: clamp(18px, 3vw, 40px); }
.nav a { font-size: 15px; color: var(--muted); position: relative; padding: 4px 0; transition: color .15s; }
.nav a:hover, .nav a.active { color: var(--ink); }
/* Bölüm takip çizgisi: aktif bağlantının altına kayar */
.nav-ind {
  position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0; background: var(--ink); opacity: 0; pointer-events: none;
  transition: transform .45s cubic-bezier(.2,.75,.2,1), width .45s cubic-bezier(.2,.75,.2,1), opacity .2s;
}
.menu-btn { display: none; background: none; border: 0; width: 36px; height: 36px; padding: 8px 6px; cursor: pointer; }
.menu-btn span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .2s; }

@media (max-width: 720px) {
  .top { grid-template-columns: 1fr auto; }
  .menu-btn { display: block; justify-self: end; margin-right: -6px; }
  .nav {
    position: fixed; inset: 60px 0 auto 0; flex-direction: column; align-items: center; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 20px; transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav a { font-size: 22px; padding: 12px 0; font-family: var(--serif); }
  .nav-ind { display: none; }
  .nav a.active { color: var(--accent); }
  body.menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  body.menu-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
  body.menu-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Ana sayfa */
.hero { padding: clamp(56px, 12vh, 140px) 0 clamp(40px, 8vh, 96px); }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.hero h1 {
  font: 300 clamp(40px, 7.4vw, 112px)/1.02 var(--serif); letter-spacing: -0.025em; margin: 0; max-width: 14ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { max-width: 52ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); margin: 28px 0 0; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 36px;
  padding: 14px 22px; border: 1px solid var(--ink); border-radius: 999px; font-size: 15px;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--ink); color: var(--bg); }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.section-head h2, .section-head h3 { font: 400 clamp(24px, 2.6vw, 34px)/1.1 var(--serif); margin: 0; letter-spacing: -0.01em; }
.section-head a { font-size: 14px; color: var(--muted); }
.section-head a:hover { color: var(--ink); }

.disciplines { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); margin: 8px 0 96px; }
@media (max-width: 1100px) { .disciplines { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .disciplines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.disc { display: block; border-radius: 12px; outline: none; }
.disc-ph { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--ph); }
.disc-ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s, transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.85); }
.disc-ph img.loaded { opacity: 1; }
.disc-ph::after { content: "→"; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px; background: var(--bg); color: var(--ink);
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.disc:hover .disc-ph img, .disc:focus-visible .disc-ph img { transform: scale(1.06); filter: saturate(1); }
.disc:hover .disc-ph::after, .disc:focus-visible .disc-ph::after { opacity: 1; transform: none; }
.disc:focus-visible .disc-ph { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.disc-txt { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 12px 2px 0; }
.disc-txt b { font: 500 17px/1.2 var(--sans); }
.disc-txt small { font-size: 13px; color: var(--muted); white-space: nowrap; }
.disc:hover .disc-txt b { color: var(--accent); }

/* Proje ızgarası */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 2.4vw, 36px) clamp(16px, 2vw, 28px); padding-bottom: 96px; }
.card { display: block; }
.card .ph { aspect-ratio: 4 / 3; background: var(--ph); overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s; opacity: 0; }
.card img.loaded { opacity: 1; }
.card:hover img { transform: scale(1.03); }
.card h3 { font: 400 20px/1.25 var(--serif); margin: 14px 0 4px; letter-spacing: -0.005em; }
.card .sub { font-size: 14px; line-height: 1.4; color: var(--ink); opacity: .7; margin: 0 0 6px; }
.card .meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.card .meta i { font-style: normal; }
.card .meta i + i::before { content: "·"; margin-right: 8px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; }
.chip {
  font: 500 14px/1 var(--sans); padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink); transition: all .15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip small { color: inherit; opacity: .55; margin-left: 4px; font-size: 12px; }

.page-title { padding: clamp(40px, 8vh, 88px) 0 28px; }
.page-title h1, .page-title h2 { font: 300 clamp(40px, 6vw, 84px)/1 var(--serif); letter-spacing: -0.025em; margin: 0; }
.page-title p { color: var(--muted); max-width: 56ch; margin: 16px 0 0; }

/* Proje detayı */
.project-head { display: grid; grid-template-columns: 1fr; gap: 20px; padding: clamp(36px, 7vh, 80px) 0 36px; }
@media (min-width: 900px) { .project-head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; } }
.project-head h1 { font: 300 clamp(34px, 5vw, 72px)/1.02 var(--serif); letter-spacing: -0.025em; margin: 0; }
.project-head .info { color: var(--muted); }
.project-head .info p { margin: 0 0 14px; color: var(--ink); font-size: 17px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags a { font-size: 12px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.tags a:hover { color: var(--ink); border-color: var(--ink); }
.back { font-size: 14px; color: var(--muted); display: inline-block; margin-top: 28px; }
.back:hover { color: var(--ink); }

.sheets { display: flex; flex-direction: column; gap: clamp(10px, 1.6vw, 24px); padding-bottom: 64px; }
.sheet { aspect-ratio: 4 / 3; background: var(--ph); cursor: zoom-in; position: relative; overflow: hidden; }
.sheet img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.sheet img.loaded { opacity: 1; }
.sheet .lqip { position: absolute; z-index: 0; inset: 0;filter: blur(14px); transform: scale(1.05); opacity: 1; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); margin-bottom: 72px; }
.pager a { background: var(--bg); padding: 28px 0; display: flex; flex-direction: column; gap: 6px; }
.pager a:last-child { text-align: right; align-items: flex-end; }
.pager small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pager b { font: 400 clamp(18px, 2vw, 26px)/1.15 var(--serif); }
.pager a:hover b { color: var(--accent); }

/* Yukarı / aşağı kaydırma */
.scroller {
  position: fixed; right: clamp(14px, 2.4vw, 32px); bottom: clamp(14px, 2.4vw, 32px); z-index: 50;
  display: flex; flex-direction: column;
  background: var(--ink); border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(22,21,19,.45);
  opacity: 0; transform: translateY(16px) scale(.92); pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.scroller.show { opacity: 1; transform: none; pointer-events: auto; }
.scroller button {
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: none; border: 0; color: var(--bg); transition: background .15s, opacity .15s, transform .15s;
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.scroller button:first-child { border-radius: 999px 999px 0 0; }
.scroller button:nth-child(2) { border-radius: 0 0 999px 999px; }
.scroller button:active { transform: scale(.92); }
.scroller button.on { background: var(--accent); color: #fff; }
.scroller .hint {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
  white-space: nowrap; font-size: 12px; color: var(--bg); background: var(--ink);
  padding: 7px 11px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
@media (hover: hover) {
  .scroller:hover:not(.moving) .hint { opacity: .92; transform: translate(0, -50%); transition-delay: .5s; }
}
.scroller button + button { border-top: 1px solid rgba(236,232,224,.18); }
.scroller button:hover { background: rgba(236,232,224,.12); }
.scroller button:disabled { opacity: .3; cursor: default; background: none; }
.scroller svg { width: 18px; height: 18px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(12,12,12,.96); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 100vw; max-height: 100vh; width: auto; height: auto; object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; opacity: .7; font: 300 28px/1 var(--sans); padding: 18px; }
.lb button:hover { opacity: 1; }
.lb .x { top: 8px; right: 8px; }
.lb .prev { left: 4px; top: 50%; transform: translateY(-50%); font-size: 40px; }
.lb .next { right: 4px; top: 50%; transform: translateY(-50%); font-size: 40px; }
.lb .count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: .08em; }

/* Stüdyo / İletişim */
/* Stüdyo manifestosu */
.manifesto { padding: clamp(40px, 8vh, 96px) 0 clamp(44px, 8vh, 96px); }
.manifesto h2 { margin: 0; font: 700 clamp(30px, 7.4vw, 124px)/1.04 var(--sans); letter-spacing: -0.015em; }
.manifesto h2 span { display: block; opacity: 0; transform: translateY(14px); }
.manifesto.in h2 span {
  animation: rise .7s cubic-bezier(.2,.75,.2,1) forwards; animation-delay: calc(var(--i) * 170ms + 80ms);
}
.manifesto h2 span:last-child { color: var(--accent); }
@media (max-width: 640px) { .manifesto h2 { font-size: calc((100vw - 2 * var(--pad)) / 9.8); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .manifesto h2 span { animation: none; opacity: 1; transform: none; } }

.prose { max-width: 760px; padding-bottom: 96px; }
.studio .prose { padding-bottom: 0; }
.studio .people { margin-bottom: 0; }
.studio-side { padding: 56px 0 96px; }
@media (min-width: 1000px) {
  .studio { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
  .studio .prose { max-width: none; padding-bottom: 96px; }
  .studio-side { padding: 6px 0 96px; position: sticky; top: 96px; }
  .studio-side .list { columns: 1; }
}
.prose p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; margin: 0 0 22px; }
.prose p.muted { color: var(--muted); font-size: 17px; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 48px 0; }
.people div { display: flex; flex-direction: column; gap: 6px; }
.people b { font: 400 26px/1.1 var(--serif); display: block; }
.people span { color: var(--muted); font-size: 14px; }
.list { list-style: none; padding: 0; margin: 0; columns: 2 220px; column-gap: 32px; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: 16px; }

.contact { display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 96px; }
.contact a, .contact div { display: grid; grid-template-columns: minmax(110px, 200px) 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact span { font: 300 clamp(22px, 3.2vw, 44px)/1.1 var(--serif); letter-spacing: -0.015em; word-break: break-word; }
.contact a:hover span { color: var(--accent); }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px calc(var(--pad) + 72px) 24px var(--pad); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

.fade-in { animation: fade .45s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade-in { animation: none; } * { transition: none !important; } }

/* Hero başlığı: masaüstünde iki satır */
.br-d { display: none; }
@media (min-width: 900px) {
  .hero h1 { max-width: none; font-size: clamp(40px, 5.6vw, 96px); }
  .br-d { display: inline; }
}

/* Dil seçici */
.lang { position: relative; justify-self: end; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font: 500 12px/1 var(--sans); letter-spacing: .08em; color: var(--ink);
  background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px 8px 13px;
  transition: border-color .15s, background-color .15s;
}
.lang-btn:hover, .lang.open .lang-btn { border-color: var(--ink); }
.lang-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-btn svg { width: 10px; height: 10px; transition: transform .2s; }
.lang.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 172px;
  margin: 0; padding: 6px; list-style: none; background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(22, 21, 19, .12);
  opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s, transform .15s;
}
.lang.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); transition: background-color .12s, color .12s;
}
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--bg); color: var(--ink); outline: none; }
.lang-menu a[aria-current] { color: var(--ink); font-weight: 500; }
.lang-menu a[aria-current] small { color: var(--accent); }
.lang-menu small { font-size: 11px; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 720px) {
  .top { grid-template-columns: 1fr auto auto; }
}

/* Tek sayfa bölümleri */
.sec + .sec > .wrap::before { content: ""; display: block; border-top: 1px solid var(--line); }
#s-iletisim { min-height: calc(100vh - 160px); }
@media (max-width: 560px) {
  .contact a, .contact div { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
}
