/* =====================================================================
   KAYAOĞLU İNŞAAT · style.css
   Tokens → base → nav → hero → sections → projects → detail → footer
   ===================================================================== */

:root {
  /* Yüzeyler */
  --ink: #0b0b0c;
  --ink-2: #121214;
  --ink-3: #1a1a1d;
  --paper: #f4f1ea;
  --paper-2: #ebe6da;

  /* Gold: yalnızca vurgu */
  --gold: #c9a75a;
  --gold-2: #e3c883;
  --gold-3: #8f7333;
  --gold-soft: rgba(201, 167, 90, 0.22);
  --gold-line: rgba(201, 167, 90, 0.45);

  /* Metin */
  --t-dark: #ede9e1;
  --t-dark-2: #a8a39a;
  --t-paper: #141415;
  --t-paper-2: #5c5952;

  /* Çizgiler */
  --line-dark: rgba(237, 233, 225, 0.12);
  --line-dark-2: rgba(237, 233, 225, 0.22);
  --line-paper: rgba(20, 20, 21, 0.12);
  --line-paper-2: rgba(20, 20, 21, 0.28);

  /* Tipografi */
  --f-display: "Bodoni Moda", "Times New Roman", Georgia, serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Ölçek */
  --gutter: clamp(20px, 5vw, 88px);
  --container: 1480px;
  --section: clamp(96px, 12vw, 184px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 84px;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--t-dark);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 14px; background: var(--gold); color: var(--ink);
  font-family: var(--f-mono); font-size: 13px; transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Bölüm yüzeyleri */
.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); color: var(--t-paper); color-scheme: light; }
.section--paper ::selection { background: var(--t-paper); color: var(--paper); }
.section--ink { background: var(--ink); color: var(--t-dark); }
.section--ink-2 { background: var(--ink-2); color: var(--t-dark); }

/* Kicker: imza "seviye çizgisi" */
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 13.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: clamp(22px, 3vw, 36px);
}
.section--paper .kicker { color: #6f5827; }
.kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }

.h-display { font-size: clamp(38px, 5.4vw, 84px); line-height: 1.0; letter-spacing: -0.012em; max-width: 14ch; }
.h-section { font-size: clamp(34px, 4.4vw, 66px); line-height: 1.03; max-width: 16ch; }
.h-sub { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
.lede { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.55; max-width: 56ch; }
.section--ink .lede, .section--ink-2 .lede { color: var(--t-dark-2); }
.section--paper .lede { color: var(--t-paper-2); }
.italic { font-style: italic; font-weight: 400; }

/* Butonlar */
.btn {
  --btn-c: var(--t-dark);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; min-height: 52px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--btn-c); border: 1px solid currentColor; position: relative; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--gold); }
.btn svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { --btn-c: var(--gold); }
.btn--paper { --btn-c: var(--t-paper); }
.btn--paper:hover { color: var(--ink); }
.btn--solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--solid::before { background: var(--gold-2); }
.btn--solid:hover { border-color: var(--gold-2); }

.link-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  position: relative; padding-bottom: 6px; color: inherit;
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; opacity: .35; transition: opacity .3s var(--ease);
}
.link-line::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.link-line:hover::before, .link-line:focus-visible::before { transform: scaleX(1); }
.link-line:hover { color: var(--gold); }
.link-line svg { width: 14px; height: 14px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease), height .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(11, 11, 12, .92); border-bottom-color: var(--line-dark); height: 72px; }
.nav.is-hidden { transform: none; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--t-dark); }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 1px var(--gold-line); }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__name { font-family: var(--f-display); font-size: 21px; letter-spacing: 0.08em; line-height: 1; text-transform: uppercase; }
.brand__name small { display: block; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.34em; color: var(--gold); margin-top: 5px; }

.nav__links { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); }
.nav__link {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--t-dark-2); position: relative; padding: 6px 0; transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--t-dark); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__ig {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--t-dark-2); border: 1px solid transparent; border-radius: 50%;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.nav__ig svg { width: 18px; height: 18px; }
.nav__ig:hover { color: var(--gold); border-color: var(--gold-line); }
.nav__phone {
  display: inline-flex; align-items: center; gap: 0; height: 40px; padding: 0 10px;
  border: 1px solid transparent; border-radius: 20px; color: var(--t-dark-2);
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.06em; white-space: nowrap;
  transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav__phone svg { width: 18px; height: 18px; flex: none; }
.nav__phone-num { max-width: 0; overflow: hidden; opacity: 0; transform: translateX(-6px); transition: max-width .45s var(--ease), opacity .3s var(--ease), transform .45s var(--ease), margin .45s var(--ease); }
.nav__phone:hover, .nav__phone:focus-visible { color: var(--gold); border-color: var(--gold-line); background: rgba(11,11,12,.35); }
.nav__phone:hover .nav__phone-num, .nav__phone:focus-visible .nav__phone-num { max-width: 200px; opacity: 1; transform: none; margin-left: 10px; }
.nav__burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.nav__burger span { width: 22px; height: 1px; background: var(--t-dark); transition: transform .4s var(--ease), opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--t-dark);
  display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 48px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.menu__links a { display: block; font-family: var(--f-display); font-size: clamp(40px, 9vw, 64px); line-height: 1.15; padding: 6px 0; border-bottom: 1px solid var(--line-dark); transform: translateY(14px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .06s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .12s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .18s; }
.menu__links a:hover { color: var(--gold); }
.menu__foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 18px 32px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--t-dark-2); }
.menu__foot a:hover { color: var(--gold); }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__phone-num { display: none; }
  .nav__phone { padding: 0 10px; }
  .nav__burger { display: flex; }
  :root { --nav-h: 72px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 660vh; background: #0e2f50; z-index: 1; }
.hero__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: #0e2f50;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__still { position: absolute; inset: 0; background: #0e2f50 center / cover no-repeat; display: none; }
.hero__still img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 50%; }

/* Baz scrim: sol metin şeridi */
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,16,30,.78) 0%, rgba(5,16,30,.5) 30%, rgba(5,16,30,.12) 52%, rgba(5,16,30,0) 64%),
    linear-gradient(180deg, rgba(5,16,30,.5) 0%, rgba(5,16,30,0) 22%, rgba(5,16,30,0) 78%, rgba(5,16,30,.45) 100%);
  opacity: var(--scrim, .9);
}

.hero__bands { position: absolute; inset: 0; pointer-events: none; }
.band {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(37vw, 560px); opacity: 0; pointer-events: none;
  text-shadow: 0 1px 2px rgba(3,10,20,.9), 0 3px 12px rgba(3,10,20,.65), 0 10px 44px rgba(3,10,20,.65);
}
.band[data-on="1"] { pointer-events: auto; }
.band .kicker { margin-bottom: 20px; }
.band h1, .band h2 { font-size: clamp(40px, 4.8vw, 76px); line-height: .98; letter-spacing: -0.012em; }
.band p { margin-top: 22px; font-size: clamp(16px, 1.2vw, 19px); color: #d6dde6; max-width: 38ch; line-height: 1.55; }
.band .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.band .btn { text-shadow: none; }

/* Kelime bazlı giriş (drift-up): --k band ilerleme değişkeni */
.w { display: inline-block; white-space: nowrap; }
.w { --kc: clamp(0, calc((var(--k, 0) - var(--th, 0)) * 3), 1); opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * 18px)); }
.band--settle .w { --kc: clamp(0, calc((var(--k, 0) - var(--th, 0)) * 2.6), 1); }
.band--settle p { --ks: clamp(0, calc((var(--k, 0) - .55) * 4), 1); opacity: var(--ks); transform: translateY(calc((1 - var(--ks)) * 12px)); }
.band--settle .actions { --kb: clamp(0, calc((var(--k, 0) - .72) * 5), 1); opacity: var(--kb); transform: translateY(calc((1 - var(--kb)) * 10px)); }
.band--settle .brandline { --kk: clamp(0, calc(var(--k, 0) * 3), 1); opacity: var(--kk); }
.brandline { font-family: var(--f-mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.brandline::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

/* Teknik çizim notları (mono chip) */
.hero__meta { position: absolute; inset: 0; pointer-events: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); opacity: var(--meta, 0); transition: none; }
.chip { position: absolute; padding: 9px 12px; border: 1px solid var(--gold-line); background: rgba(5,16,30,.55); font-size: 12px; }
.chip--tl { left: var(--gutter); top: calc(var(--nav-h) + 22px); }
.chip--br { right: var(--gutter); bottom: 34px; }
.chip--tr { right: var(--gutter); top: calc(var(--nav-h) + 22px); }
.chip--bl { left: var(--gutter); bottom: 34px; }
.chip small { display: block; opacity: .7; letter-spacing: .1em; margin-top: 3px; color: #d6dde6; }

.hero__progress { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: 1px; height: 160px; background: rgba(214,230,246,.25); pointer-events: none; }
.hero__progress i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 0)); }
.hero__stages { position: absolute; right: calc(var(--gutter) + 16px); top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(214,230,246,.55); text-align: right; pointer-events: none; }
.hero__stages span { display: block; line-height: 32px; transition: color .3s; }
.hero__stages span.is-on { color: var(--gold); }

.hero__cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(214,230,246,.7);
  opacity: var(--cue, 1); pointer-events: none;
}
.hero__cue i { width: 1px; height: 46px; background: linear-gradient(180deg, var(--gold), transparent); animation: cue 2.6s var(--ease-2) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }


@media (max-width: 960px) {
  .hero { height: 420vh; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(5,16,30,.6) 0%, rgba(5,16,30,.12) 22%, rgba(5,16,30,.36) 42%, rgba(5,16,30,.52) 62%, rgba(5,16,30,.3) 82%, rgba(5,16,30,.55) 100%);
  }
  .band { width: min(84vw, 560px); top: 46%; }
  .band h1, .band h2 { font-size: clamp(36px, 10.5vw, 64px); }
  .hero__progress, .hero__stages, .chip--br { display: none; }
}
@media (max-height: 560px) { .hero__meta, .hero__cue, .hero__stages, .hero__progress { display: none; } }

/* Statik hero (reduced motion / JS yok) */
.hero.is-static { height: auto; }
.hero.is-static .hero__stage { position: relative; height: 100vh; height: 100svh; }
.hero.is-static .hero__canvas, .hero.is-static .hero__meta, .hero.is-static .hero__progress, .hero.is-static .hero__stages, .hero.is-static .hero__cue { display: none; }
.hero.is-static .hero__still { display: block; }
.hero.is-static .band { display: none; opacity: 1; }
.hero.is-static .band--settle { display: block; --k: 1; }

/* ---------- Kurumsal ---------- */
.manifesto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.manifesto__text .h-section { max-width: 12ch; }
.manifesto__text .lede { margin-top: 32px; }
.manifesto__aside { padding-top: clamp(0px, 4vw, 64px); }
.emblem { width: clamp(150px, 16vw, 220px); border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--gold-line), 0 30px 80px -30px rgba(0,0,0,.55); }
.emblem img { width: 100%; height: 100%; object-fit: cover; }
.slogan { font-family: var(--f-display); font-style: italic; font-size: clamp(26px, 2.6vw, 38px); margin-top: 28px; line-height: 1.2; }
.pillars { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-paper); }
.pillar { padding: 34px 32px 34px 0; border-right: 1px solid var(--line-paper); }
.pillar:last-child { border-right: 0; }
.pillar + .pillar { padding-left: 32px; }
.pillar__n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--gold-3); }
.pillar h3 { font-size: 26px; }
.pillar p { margin-top: 14px; color: var(--t-paper-2); font-size: 16px; max-width: 34ch; }

@media (max-width: 960px) {
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__aside { display: flex; align-items: center; gap: 24px; padding-top: 0; }
  .slogan { margin-top: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line-paper); padding: 26px 0; }
  .pillar + .pillar { padding-left: 0; }
  .pillar:last-child { border-bottom: 0; }
}

/* ---------- Projeler ---------- */
.projects__head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.projects__head .lede { margin-top: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 4px 0; border-bottom: 1px solid var(--line-dark); }
.filter {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--t-dark-2); padding: 14px 18px; position: relative; transition: color .3s var(--ease);
}
.filter::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.filter:hover { color: var(--t-dark); }
.filter[aria-pressed="true"] { color: var(--gold); }
.filter[aria-pressed="true"]::after { transform: scaleX(1); }
.filter b { font-weight: 400; opacity: .5; margin-left: 6px; }
.projects__count { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--t-dark-2); margin-top: 28px; }

.projects { margin-top: clamp(48px, 6vw, 96px); display: grid; gap: 28px; }

/* Proje kartı: üst üste binen (sticky) kartlar. --i: görünür sıra, --cover: üstüne binen kart oranı (JS) */
.pcard { --i: 0; --cover: 0; position: relative; }
.pcard__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px);
  min-height: clamp(460px, calc(100vh - var(--nav-h) - 150px), 620px); padding: 20px;
  background: #161618; border: 1px solid rgba(237, 233, 225, 0.09); border-radius: 10px;
  box-shadow: 0 -24px 48px -28px rgba(0, 0, 0, 0.85);
  transform-origin: 50% 0; transform: scale(calc(1 - var(--cover) * 0.04));
}
.pcard__inner::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: #000; opacity: calc(var(--cover) * 0.32); pointer-events: none; }
@media (min-width: 761px) and (min-height: 600px) {
  .pcard { position: sticky; top: calc(var(--nav-h) + 24px + var(--i) * 22px); }
}
.pcard__body { display: flex; flex-direction: column; min-width: 0; padding: clamp(10px, 1.6vw, 26px) 0 clamp(10px, 1.6vw, 26px) clamp(10px, 1.6vw, 26px); }
.pcard__type { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--t-dark-2); }
.pcard__title { font-size: clamp(34px, 3.4vw, 54px); margin-top: 14px; line-height: 1.02; color: var(--gold); }
.pcard__title a { transition: color .3s var(--ease); }
.pcard__title a:hover { color: var(--gold-2); }
.pcard__loc { margin-top: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--t-dark-2); display: flex; gap: 10px; align-items: center; }
.pcard__loc svg { width: 13px; height: 13px; color: var(--gold); flex: none; }
.pcard .sticons { margin-top: clamp(24px, 3vw, 36px); }
.pcard__foot { margin-top: auto; padding-top: 28px; }
.pcard__desc { color: var(--t-dark-2); max-width: 46ch; font-size: 16px; }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pcard__tags li { padding: 5px 14px; border: 1px solid var(--gold-line); border-radius: 999px; font-size: 13px; color: var(--gold-2); }
.pcard__foot .link-line { margin-top: 24px; }
.pcard__media { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--ink-3); min-height: 100%; }
.pcard__media picture { position: absolute; inset: 0; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.035); }

.pcard.is-leaving { opacity: 0; transform: translateY(12px); transition: opacity .28s var(--ease), transform .28s var(--ease); }
.pcard.is-entering { opacity: 0; transform: translateY(16px); }
.pcard.is-entered { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.pcard[hidden] { display: none; }
.projects__empty { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; color: var(--t-dark-2); padding: 48px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.projects__empty[hidden] { display: none; }

/* Durum ikonları: dört durum, güncel olan yeşil */
.sticons { --st-on: #2fb65a; display: flex; align-items: flex-start; gap: clamp(16px, 1.8vw, 30px); font-family: var(--f-body); font-size: 14px; font-weight: 500; line-height: 1.25; color: rgba(237, 233, 225, 0.42); }
.sticons li { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; min-width: 0; }
.sticons svg { height: 23px; width: auto; }
.sticons span { white-space: nowrap; }
.sticons li.is-on { color: var(--st-on); font-weight: 600; }

@media (max-width: 1180px) {
  .sticons span { white-space: normal; }
}
@media (max-width: 960px) {
  .projects__head { grid-template-columns: 1fr; align-items: start; }
  .pcard__inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .projects { gap: 20px; }
  .pcard__inner { grid-template-columns: 1fr; min-height: 0; padding: 12px; gap: 0; }
  .pcard__media { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .pcard__body { padding: 22px 8px 12px; }
  .pcard .sticons { margin-top: 24px; }
  .sticons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; font-size: 13px; }
}
@media (max-width: 600px) {
  .filter { padding: 12px 12px; font-size: 11px; letter-spacing: .14em; }
}

/* ---------- Hizmetler ---------- */
.services__head { max-width: 900px; }
.services { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-paper); border-left: 1px solid var(--line-paper); }
.service { padding: clamp(28px, 3.2vw, 44px); border-right: 1px solid var(--line-paper); border-bottom: 1px solid var(--line-paper); position: relative; overflow: hidden; }
.service::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.service:hover::before { transform: scaleX(1); }
.service__n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--gold-3); }
.service h3 { font-size: clamp(24px, 2vw, 32px); margin-top: 44px; max-width: 14ch; }
.service p { margin-top: 16px; color: var(--t-paper-2); max-width: 36ch; font-size: 16px; }
.service__glyph { position: absolute; right: 28px; top: 28px; width: 40px; height: 40px; color: var(--line-paper-2); }
.service__glyph svg { width: 100%; height: 100%; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } .service h3 { margin-top: 32px; } }

/* ---------- Neden Kayaoğlu ---------- */
.why__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.why__intro { position: sticky; top: 120px; }
.why__intro .lede { margin-top: 28px; }
.why__list { border-top: 1px solid var(--line-dark); }
.why__item { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.why__item .n { font-family: var(--f-display); font-size: 40px; color: var(--gold); line-height: 1; font-variant-numeric: lining-nums; }
.why__item h3 { font-size: clamp(22px, 1.9vw, 30px); }
.why__item p { margin-top: 10px; color: var(--t-dark-2); max-width: 46ch; font-size: 16.5px; }
@media (max-width: 960px) { .why__grid { grid-template-columns: 1fr; } .why__intro { position: static; } .why__item { grid-template-columns: 52px 1fr; } .why__item .n { font-size: 30px; } }

/* ---------- Görsel vitrin ---------- */
.showcase { background: var(--ink); }
.showcase__main { position: relative; aspect-ratio: 21 / 9; overflow: hidden; }
.showcase__main img { width: 100%; height: 100%; object-fit: cover; }
.showcase__main figcaption, .showcase__pair figcaption {
  position: absolute; left: var(--gutter); bottom: 28px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--t-dark);
  padding: 8px 10px; background: rgba(11,11,12,.6); border: 1px solid var(--gold-line);
}
.showcase__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.showcase__pair figure { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin: 0; }
.showcase__pair img { width: 100%; height: 100%; object-fit: cover; }
.showcase__pair figcaption { left: 22px; bottom: 22px; }
.showcase__main figure { margin: 0; }
.showcase__quote { padding: clamp(56px, 7vw, 112px) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.showcase__quote blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(26px, 2.8vw, 44px); line-height: 1.2; max-width: 20ch; }
.showcase__quote p { color: var(--t-dark-2); max-width: 44ch; }
@media (max-width: 760px) { .showcase__main { aspect-ratio: 4 / 3; } .showcase__pair { grid-template-columns: 1fr; } .showcase__quote { grid-template-columns: 1fr; } }

/* ---------- İletişim ---------- */
.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.contact__text .lede { margin-top: 28px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.contact__list { border-top: 1px solid var(--line-paper); }
.contact__row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-paper); align-items: baseline; }
.contact__row dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); }
.contact__row dd { margin: 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; }
.contact__row dd a { position: relative; }
.contact__row dd a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.contact__row dd a:hover::after { transform: scaleX(1); }
.contact__row dd small { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--t-paper-2); margin-top: 4px; letter-spacing: .04em; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } .contact__row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--t-dark-2); border-top: 1px solid var(--line-dark); padding: clamp(56px, 7vw, 96px) 0 32px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand p { max-width: 34ch; }
.footer h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 500; }
.footer li + li { margin-top: 10px; }
.footer a:hover { color: var(--t-dark); }
.footer__bottom { margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; }

/* Yasal metin sayfası (KVKK) */
.legal { padding-top: calc(var(--nav-h) + clamp(56px, 7vw, 104px)); }
.legal .crumbs { margin-bottom: 28px; }
.legal__body { max-width: 72ch; margin-top: clamp(28px, 4vw, 48px); }
.legal__body h2 { font-size: clamp(22px, 2vw, 28px); margin: 44px 0 14px; }
.legal__body p, .legal__body li { color: var(--t-dark-2); }
.legal__body p + p { margin-top: 14px; }
.legal__body b { color: var(--t-dark); font-weight: 600; }
.legal__body ul { display: grid; gap: 10px; padding-left: 18px; list-style: disc; }
.legal__body li::marker { color: var(--gold); }
.legal__body a { color: var(--gold); }
.legal__date { margin-top: 44px !important; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; }
.footer__ig { display: inline-flex; align-items: center; gap: 10px; }
.footer__ig svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Proje detay ---------- */
.detail-hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink-2); }
.detail-hero__img { position: absolute; inset: 0; }
.detail-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,.05) 35%, rgba(11,11,12,.85) 100%); }
.detail-hero__body { position: relative; padding: 140px 0 56px; }
.detail-hero__body .h-display { max-width: 12ch; }
.detail-hero__meta { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 22px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--t-dark-2); }
.detail-hero__meta > * { display: inline-flex; align-items: center; }
.detail-hero__meta svg { width: 13px; height: 13px; color: var(--gold); margin-right: 8px; flex: none; }
.detail-hero__meta a { transition: color .3s var(--ease); }
.detail-hero__meta a:hover { color: var(--t-dark); }
.crumbs { display: flex; gap: 12px; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--t-dark-2); margin-bottom: 26px; }
.crumbs a:hover { color: var(--gold); }
.crumbs i { width: 18px; height: 1px; background: var(--gold); }

.detail__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.kicker--gold, .link-gold { color: var(--gold); }
.detail__lead { max-width: 24ch; }
.detail__desc { margin-top: 28px; }
.detail-miss { padding-top: 160px; }
.detail-miss .lede { margin-top: 24px; }
.detail-miss .projects { margin-top: 64px; }
.detail__text p { color: var(--t-dark-2); font-size: clamp(17px, 1.25vw, 19px); max-width: 60ch; }
.detail__text p + p { margin-top: 20px; }
.detail__side { position: sticky; top: 110px; border-top: 1px solid var(--line-dark); }
.facts { border-bottom: 1px solid var(--line-dark); }
.fact { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--t-dark-2); }
.fact b { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--t-dark); }
.facts .fact:last-child { border-bottom: 0; }
.detail__side .sticons { margin-top: 22px; }
.detail__side .btn { margin-top: 32px; }
.detail__status-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 28px; }
.detail__note { font-family: var(--f-mono); font-size: 12px; color: var(--t-dark-2); margin-top: 24px; line-height: 1.6; }

.gallery { margin-top: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--ink-3); aspect-ratio: 16 / 10; }
.gallery figure:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 21 / 9; }
.gallery button { display: block; width: 100%; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery button:hover img { transform: scale(1.035); }
.gallery figcaption { position: absolute; right: 16px; bottom: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; color: var(--t-dark); background: rgba(11,11,12,.55); padding: 6px 8px; border: 1px solid var(--line-dark-2); pointer-events: none; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .gallery figure:nth-child(3n+1) { grid-column: auto; aspect-ratio: 16 / 10; } .detail__grid { grid-template-columns: 1fr; } .detail__side { position: static; } }

/* Konum haritası */
.location { margin-top: clamp(64px, 8vw, 120px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 88px); align-items: start; scroll-margin-top: calc(var(--nav-h) + 24px); }
.location__addr { font-style: normal; font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 26px); line-height: 1.3; color: var(--t-dark); }
.location__map { position: relative; aspect-ratio: 16 / 9; background: var(--ink-3); border: 1px solid var(--line-dark); }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .location { grid-template-columns: 1fr; } .location__map { aspect-ratio: 4 / 3; } }

.detail__nav { margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 1fr 1fr; }
.detail__nav a { padding: 34px 0; display: flex; flex-direction: column; gap: 10px; }
.detail__nav a + a { text-align: right; align-items: flex-end; border-left: 1px solid var(--line-dark); }
.detail__nav small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.detail__nav b { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); transition: color .3s; }
.detail__nav a:hover b { color: var(--gold-2); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,6,7,.96); display: flex; align-items: center; justify-content: center; padding: 64px var(--gutter); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 128px); width: auto; height: auto; object-fit: contain; box-shadow: 0 0 0 1px var(--line-dark); }
.lightbox__btn { position: absolute; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; color: var(--t-dark); border: 1px solid var(--line-dark-2); border-radius: 50%; transition: border-color .3s, color .3s; }
.lightbox__btn:hover { color: var(--gold); border-color: var(--gold); }
.lightbox__btn svg { width: 18px; height: 18px; }
.lightbox__close { right: var(--gutter); top: 22px; }
.lightbox__prev { left: var(--gutter); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--gutter); top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; left: var(--gutter); top: 36px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--t-dark-2); }
@media (max-width: 760px) { .lightbox { padding: 72px 12px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; } }

/* ---------- Reveal (IntersectionObserver) ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv-stagger.in > * { opacity: 1; transform: none; }
.rv-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.rv-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.rv-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.rv-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.rv-stagger.in > *:nth-child(6) { transition-delay: .40s; }
.rv-stagger.in.done > *:nth-child(n) { transition-delay: 0s; }
.rv-line { position: relative; }
.rv-line::before { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .1s; }
.rv-line.in::before { transform: scaleX(1); }

/* Görsel perde (subtle image reveal) */
.reveal-img { position: relative; overflow: hidden; }
.reveal-img::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(1); transform-origin: top; transition: transform 1.1s var(--ease-2); }
.section--paper .reveal-img::after { background: var(--paper); }
.reveal-img.in::after { transform: scaleY(0); }

/* Sekme gizliyken animasyonları durdur */
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .rv-stagger > *, .rv-line::before, .reveal-img::after { opacity: 1 !important; transform: none !important; }
  .reveal-img::after { display: none; }
  .pcard__media img, .pcard__inner { transform: none !important; }
  .hero__cue i { display: none; }
}

/* Dokunmatik hedefler */
@media (pointer: coarse) {
  .btn, .filter, .nav__ig, .link-line { min-height: 44px; }
  .filter { display: inline-flex; align-items: center; }
  .link-line { display: inline-flex; align-items: center; }
}

/* Yazdırma */
@media print { .nav, .menu, .hero, .lightbox { display: none !important; } body { background: #fff; color: #000; } }
