/* AYSA WORKS — Interior Architecture
 * Norm Architects (Shoreline Studio) referans alınmıştır.
 * Font: Adobe Source Sans 3 (open-source, OFL) — siteyle birlikte servis edilir.
 * Tipografi ölçekleri: Norm Architects normcph.com'dan birebir alınmıştır.
 */

/* ==================== FONTS ==================== */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/SourceSans3-Regular.otf.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/SourceSans3-It.otf.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/SourceSans3-Medium.otf.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/SourceSans3-Semibold.otf.woff2') format('woff2');
}
/* ==================== TOKENS ==================== */
:root {
  --bg: #f5f1e5;
  --bg-alt: #f6f0de;
  --bg-soft: #e1dbd0;
  --header-bg: #fbfaf5;
  --ink: #383839;
  --ink-soft: #666666;
  --ink-mute: #9a978d;
  --line: #d8d2c2;

  --sans: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --w-max: 1440px;
  --w-text: 720px;
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 84px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.5px;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body.is-menu-open { overflow-x: hidden; }

a { color: inherit; text-decoration: none; transition: opacity .25s ease; }
a:hover { opacity: 0.55; }

img { display: block; max-width: 100%; height: auto; }

/* ==================== TYPOGRAPHY (Norm ölçekleri) ==================== */
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
}

/* H1: project hero başlığı — Norm Shoreline'dan birebir
   30px / 400 / 15px LS / uppercase / 1 line-height */
h1 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 15px;
  line-height: 1;
  text-transform: uppercase;
}

/* H2: section title — Norm'un "Index" başlığı tarzı
   13px / 600 / 8px LS / uppercase */
h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 8px;
  line-height: 1;
  text-transform: uppercase;
}

/* H2 büyük varyant — Norm'da intro alanı için
   .intro içinde kullanılır */

h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

h4 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
}

p { max-width: var(--w-text); }

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--header-bg);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transform: translateY(0);
  transition: border-color .3s ease, transform .28s ease;
  will-change: transform;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
body.is-menu-open .site-header { transform: translateY(0); }

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(36px, 3.2vw, 44px);
  height: clamp(34px, 3vw, 42px);
  padding: 4px;
  background: transparent;
}
.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__name { white-space: nowrap; }

/* ==================== NAV ==================== */
.nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  /* Norm: 11px / 400 / 2px LS / uppercase */
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}
.nav > li { position: relative; padding: 32px 0; }
.nav > li > a {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav > li.has-sub > a::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-left: 4px;
  transition: transform .25s ease;
}
.nav > li.has-sub:hover > a::after,
.nav > li.has-sub.open > a::after { transform: translateY(0) rotate(225deg); }

.submenu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  list-style: none;
  padding: 14px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  text-align: left;
}
.nav > li.has-sub:hover > .submenu,
.nav > li.has-sub.open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu li a {
  display: block;
  padding: 10px 24px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
}
.submenu li a:hover { background: var(--bg-soft); opacity: 1; }

/* Nested submenu — Ticari Projeler gibi has-sub içeren öğelerin
 * yanda açılan alt menüsü. Desktop hover, mobile click-toggle
 * (main.js .open class'ı ile yönetilir). */
.submenu li.has-sub { position: relative; }
.submenu li.has-sub > a { padding-right: 30px; position: relative; }
.submenu li.has-sub > a::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform .25s ease;
}
.submenu li.has-sub.open > a::after {
  transform: translateY(-50%) translateX(2px) rotate(-45deg);
}
.submenu .submenu {
  top: -1px;
  left: 100%;
  transform: translateX(-8px) translateY(0);
  margin-top: 0;
}
/* TBY istegi: nested submenu (Ticari Projeler alt menusu) HOVER ile
 * acilmasin — yalnizca link'e TIKLANINCA acilsin. main.js click
 * handler'i nested has-sub'lara desktop'ta da .open class'ini toggle
 * eder; CSS bu class'a tepki verir. */
.submenu li.has-sub.open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(0);
}

/* Sağ taraf */
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Mobile hamburger toggle (TBY 2026-05-26: 3-bar, 2px) — desktop'ta gizli,
 * mobile breakpoint'te SiteHeader sag tarafinda gozukur. Klasik 3-bar
 * tasarim; --open class'inda orta bar kaybolur, ust/alt X'e donusur.
 * Eski 2-bar / 1px versiyonu retina mobilde gorsel olarak silik kaliyordu
 * → TBY "hamburger gozukmuyor" bildirdi (2026-05-26). */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  color: var(--ink);
  width: 44px;
  height: 44px;
  position: relative;
  align-items: center;
  justify-content: center;
}
.menu-toggle__bar {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .25s var(--ease-silk), top .25s var(--ease-silk),
              opacity .2s var(--ease-silk);
  transform-origin: center;
  margin-left: -11px;
}
.menu-toggle__bar:nth-child(1) { top: 14px; }
.menu-toggle__bar:nth-child(2) { top: 21px; }
.menu-toggle__bar:nth-child(3) { top: 28px; }
.menu-toggle--open .menu-toggle__bar:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu-toggle--open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle--open .menu-toggle__bar:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ==================== MAIN / HERO ==================== */
main { padding-top: var(--header-h); }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
/* TBY istegi (2026-05-25): hero TUM viewport'larda gercek dikey 4/5
 * portre. Eski kuralda width:100% + max-height clamp aspect-ratio'yu
 * gorsel olarak yatay kutuya ceviriyordu (height max-height'a takilir,
 * width genis kalir). Cozum: width = min(100%, height-tabanli) →
 * height onculu, 4/5 dikey garantili, ekrana sigar.
 *   width: min(100%, calc((100dvh - header) * 4/5))
 *   height = width * 5/4  (aspect-ratio ile)
 * Mobilde 100% baskin (dar ekran) → klasik portre davranisi korunur. */
.hero__media {
  position: relative;
  width: min(100%, calc((100dvh - var(--header-h)) * 4 / 5));
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
  margin: 0 auto;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__caption {
  position: absolute;
  left: var(--gutter); bottom: 40px;
  color: #fff;
  /* Norm Caslon italic yerine: Source Sans Italic, geniş */
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: 0.5px;
  max-width: 640px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  line-height: 1.2;
}

/* ==================== INTRO BLOCK ==================== */
.intro {
  padding: clamp(44px, 7vw, 88px) var(--gutter) clamp(80px, 12vw, 140px);
  max-width: var(--w-max);
  margin: 0 auto;
}
.intro__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.intro h2 {
  /* Section title boyutu — Norm Index başlığı + biraz daha büyük */
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 6px;
  margin-bottom: 32px;
}
.intro p {
  margin: 0 auto;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.3px;
  color: var(--ink-soft);
}

/* ==================== PROJECT GRID ==================== */
.projects {
  padding: 0 var(--gutter) clamp(60px, 10vw, 120px);
  max-width: var(--w-max);
  margin: 0 auto;
}

.section-eyebrow {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}

.section-title {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: clamp(50px, 7vw, 90px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 80px) clamp(30px, 4vw, 60px);
}
.project-grid--3 { grid-template-columns: repeat(3, 1fr); }

.project-card { display: block; }
.project-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--bg-soft);
}
.project-card__img::before,
.project-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.project-card__img::before {
  background: rgba(0, 0, 0, 0.32);
}
.project-card__img::after {
  content: 'Projeyi incele';
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.project-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.project-card:hover .project-card__img img { transform: scale(1.04); }
.project-card:hover .project-card__img::before,
.project-card:hover .project-card__img::after,
.project-card.is-preview .project-card__img::before,
.project-card.is-preview .project-card__img::after {
  opacity: 1;
}

.project-card__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1.3;
}
.project-card__meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ==================== PROJECT DETAIL ==================== */
.project-hero {
  padding: clamp(60px, 9vw, 110px) var(--gutter) clamp(40px, 6vw, 70px);
  max-width: var(--w-max);
  margin: 0 auto;
  text-align: center;
}
.project-hero h1 {
  margin-bottom: 36px;
  /* H1 zaten 30px/400/15px LS/uppercase */
}
.project-hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.3px;
  color: var(--ink-soft);
}

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 5vw, 70px);
  padding: 0 var(--gutter) clamp(60px, 8vw, 110px);
  max-width: var(--w-max);
  margin: 0 auto;
}
.project-gallery img {
  width: 100%;
  height: auto;
  /* Full görseller viewport'u aşmasın: yüksek görselde ekrana sığdır,
     contain → kırpma yok (oran korunur). row-2 alttaki kuralla cover kalır. */
  max-height: 85vh;
  object-fit: contain;
}
.project-gallery > img.js-lightbox {
  cursor: zoom-in;
}
.project-gallery .row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 36px);
}
.project-gallery .row-2 img {
  width: 100%;
  height: 100%;
  max-height: clamp(420px, 68vh, 820px);
  object-fit: cover;
}

.project-meta {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: var(--w-max);
  margin: 0 auto;
}
.project-meta a { color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* Index thumbnails — Norm'un "Index" bölümü */
.project-index {
  padding: clamp(60px, 9vw, 110px) var(--gutter);
  max-width: var(--w-max);
  margin: 0 auto;
}
.project-index h2 {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 70px);
  /* h2 zaten 13px/700/8px LS/uppercase */
}
.project-index__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 24px;
}
.project-index__item {
  text-align: center;
}
.project-index__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 8px;
}
.project-index__item p {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--ink-mute);
}

/* ==================== LIGHTBOX ====================
   main.js .js-lightbox delegation ile açılır. DOM JS tarafından
   üretilir (#lightbox), PHP paritesini etkilemez — yeni katman. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(20, 19, 16, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: scale(0.97);
  transition: transform .25s ease;
}
.lightbox.is-open .lightbox__img {
  transform: scale(1);
}
.lightbox__close {
  position: absolute;
  top: clamp(12px, 2.5vw, 24px);
  right: clamp(12px, 2.5vw, 24px);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #fbfaf5;
  line-height: 0;
}
.lightbox__close::before,
.lightbox__close::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 1.5px;
  background: currentColor;
}
.lightbox__close::before { transform: rotate(45deg); }
.lightbox__close::after { transform: rotate(-45deg); }
.lightbox__close:hover { opacity: 0.7; }
/* Lightbox açıkken arkadaki içerik kaymasın */
body.is-lightbox-open {
  overflow: hidden;
}

/* ==================== ABOUT PAGE ==================== */
.about-section {
  padding: clamp(34px, 5.5vw, 70px) 0 clamp(80px, 12vw, 140px);
  width: 100%;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4.5vw, 58px);
  align-items: start;
}
.about-grid img {
  width: min(calc(100% - (var(--gutter) * 2)), 1600px);
  height: auto;
  aspect-ratio: 1600 / 533;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}
.about-text {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.about-text h1 {
  margin-bottom: clamp(22px, 3vw, 32px);
}
.about-text p {
  font-size: clamp(13px, 0.95vw, 14px);
  font-weight: 500;
  line-height: 1.76;
  letter-spacing: 0.3px;
  color: var(--ink-soft);
  margin: 0 auto 15px;
  max-width: 660px;
}

/* ==================== CONTACT PAGE ==================== */
.contact-section {
  padding: clamp(80px, 11vw, 140px) var(--gutter) clamp(70px, 10vw, 120px);
  max-width: var(--w-max);
  margin: 0 auto;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.contact-intro {
  max-width: 760px;
  margin: 0 auto clamp(54px, 7vw, 90px);
  text-align: center;
}
.contact-section h1 { margin-bottom: 30px; }
.contact-section p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.3px;
  color: var(--ink-soft);
  margin: 0 auto;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}
.contact-details {
  position: sticky;
  top: calc(var(--header-h) + 36px);
}
.contact-list {
  list-style: none;
  margin-top: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.3px;
}
.contact-list strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-top: 18px;
  color: var(--ink);
}
.contact-list li:first-child strong { margin-top: 0; }
/* TBY istegi (2026-05-27): telefon satiri — ikon + numara hizali, label
 * (strong) yerine. Inline-flex ile dikey ortala. */
.contact-list__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--ink);
  flex: 0 0 auto;
}
.contact-list__phone a {
  display: inline-flex;
  align-items: center;
}

.inquiry-form {
  width: 100%;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(22px, 3vw, 36px);
}
.inquiry-form label {
  display: block;
}
.inquiry-form label span {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
}
.project-type-fieldset {
  border: 0;
  margin: 0 0 30px;
  padding: 0;
}
.project-type-fieldset legend {
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
}
.project-type-select {
  display: none;
  position: relative;
}
.project-type-select::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}
.project-type-select select {
  width: 100%;
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.2;
  padding: 13px 42px 13px 14px;
  text-transform: uppercase;
}
.project-type-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.project-type-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}
.project-type-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.project-type-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 12px 10px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: center;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.project-type-option input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.project-type-option input:focus-visible + span {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}
.inquiry-form input:not([type="radio"]),
.inquiry-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.6;
  padding: 10px 0 12px;
  outline: none;
  transition: border-color .2s ease;
}
.inquiry-form textarea {
  min-height: 132px;
  resize: vertical;
}
.inquiry-form input:not([type="radio"]):focus,
.inquiry-form textarea:focus {
  border-color: var(--ink);
}
.inquiry-form input:not([type="radio"])::placeholder {
  color: var(--ink-mute);
}
.inquiry-form .form-field-hidden {
  display: none;
}
.form-wide {
  grid-column: 1 / -1;
}
.form-submit {
  margin-top: 34px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1;
  padding: 16px 24px;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.form-submit:hover {
  background: var(--ink);
  color: var(--bg);
  opacity: 1;
}
.form-note {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.2px;
}
.form-alert {
  margin: -18px 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  transition: opacity .25s ease, transform .25s ease, margin .25s ease, padding .25s ease;
}
.form-alert p { margin: 0; }
.form-alert--success {
  border-color: #aab29b;
  color: var(--ink);
}
.form-alert--success.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
  margin-top: -42px;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}
.form-alert--error {
  border-color: #b58f83;
  color: var(--ink);
}
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.empty-state {
  margin: 0 auto;
  max-width: 520px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.3px;
  color: var(--ink-soft);
}

/* ==================== FOOTER (TBY 2026-05-25) ====================
 * Uc kolon yatay grid: marka+sehir | iletisim | takip et.
 * Alta ozcurt: telif. Mimari sade tipografik dile sadik. */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px var(--gutter) 40px;
  color: var(--ink-mute);
  text-align: center;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--w-max);
  margin: 0 auto 40px;
  text-align: left;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.site-footer__value {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--ink);
}
.site-footer__link {
  text-decoration: none;
  color: var(--ink);
  transition: opacity .2s ease, color .2s ease;
  position: relative;
  display: inline-block;
  width: fit-content;
}
.site-footer__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease-silk);
}
.site-footer__link:hover::after { transform: scaleX(1); }
.site-footer__bottom {
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ==================== UTIL ==================== */
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ==================== MOBILE ==================== */
@media (max-width: 900px) {
  :root {
    --header-h: 58px;
    --gutter: clamp(10px, 3vw, 14px);
  }

  body {
    font-size: 13px;
    line-height: 1.65;
    letter-spacing: 0.3px;
  }

  .site-header {
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
  }
  .brand {
    min-width: 34px;
    position: relative;
    z-index: 1;
  }
  .brand-logo-wrap {
    width: 34px;
    height: 32px;
    padding: 2px;
  }
  .brand__name { display: none; }
  /* .header-right artik mobile'da gozukur (dil + hamburger).
   * Eski display:none kuralı (FAB tasarimina aitti) kaldirildi 2026-05-25. */

  h1 { font-size: 22px; letter-spacing: 6px; }
  h2 { font-size: 12px; letter-spacing: 5px; }
  h3 { font-size: 16px; }

  .nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
    flex-wrap: nowrap;
    font-size: 8.5px;
    letter-spacing: 0.55px;
    line-height: 1;
    max-width: none;
    margin-left: auto;
    min-width: 0;
  }
  .nav > li {
    padding: 0;
    border-bottom: 0;
  }
  .nav > li > a {
    min-height: 36px;
    padding: 10px 0;
    gap: 3px;
    white-space: nowrap;
  }
  .nav > li.has-sub > a::after {
    width: 3px;
    height: 3px;
    margin-left: 1px;
    transform: translateY(-1px) rotate(45deg);
  }
  .nav > li.has-sub:hover > a::after {
    transform: translateY(-1px) rotate(45deg);
  }
  .nav > li.has-sub.open > a::after {
    transform: translateY(-1px) rotate(45deg);
  }
  .submenu,
  .nav > li.has-sub:hover > .submenu {
    position: absolute;
    top: calc(100% - 4px);
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-6px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    width: max-content;
    min-width: 78px;
    min-height: 0;
    padding: 7px 10px 7px 12px;
    background: rgba(245, 241, 229, 0.82);
    border: 0;
    border-left: 1px solid rgba(56, 56, 57, 0.34);
    border-radius: 0;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }
  .nav > li.has-sub.open > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
  .submenu li a {
    padding: 0;
    font-size: 9.5px;
    letter-spacing: 1px;
    min-height: 24px;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  /* HERO MOBILE — dar ekranda width:100% (min() ana kuralinda
   * zaten baskin), aspect-ratio 4/5 ile dikey portre korunur.
   * Picture wrapper artik component'te yok, .hero__media img
   * kurali ana kuraldan miras alinir. */

  /* INTRO */
  .intro p { font-size: 14px; line-height: 1.75; letter-spacing: 0.2px; }
  .intro h2 { font-size: 13px; letter-spacing: 4px; margin-bottom: 22px; }

  /* PROJECTS */
  .project-grid,
  .project-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }
  .project-card__img {
    aspect-ratio: 4 / 5;
    margin-bottom: 10px;
  }
  .project-card__img::after {
    font-size: 8px;
    letter-spacing: 1px;
    padding: 10px;
  }
  .project-card__title {
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 4px;
  }
  .project-card__meta {
    font-size: 8px;
    letter-spacing: 0.7px;
    line-height: 1.45;
  }
  .project-card:hover .project-card__img img { transform: none; }

  .section-title { font-size: 14px; letter-spacing: 4px; margin-bottom: clamp(36px, 8vw, 56px); }

  /* PROJECT DETAIL */
  .project-hero p { font-size: 14px; line-height: 1.75; }
  .project-gallery .row-2 { grid-template-columns: 1fr; gap: clamp(16px, 4vw, 24px); }
  .project-gallery .row-2 img { max-height: 70vh; }
  .project-meta { font-size: 11px; letter-spacing: 1.5px; }
  .project-index__grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }

  /* ABOUT */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid img {
    width: calc(100% - (var(--gutter) * 2));
    aspect-ratio: 1600 / 533;
    object-fit: contain;
  }
  .about-text { padding: 0 var(--gutter); }
  .about-text h1 { margin-bottom: 20px; }
  .about-text p { font-size: 13px; line-height: 1.68; }

  /* CONTACT */
  .contact-section { padding: clamp(40px, 8vw, 70px) var(--gutter) clamp(50px, 9vw, 80px); }
  .contact-section p { font-size: 14px; line-height: 1.75; }
  .contact-section h1 { margin-bottom: 20px; }
  .contact-intro { margin-bottom: clamp(36px, 8vw, 60px); }
  .contact-layout { grid-template-columns: 1fr; gap: clamp(34px, 7vw, 56px); }
  .contact-details { position: static; }
  .contact-list { font-size: 14px; line-height: 1.95; }
  .contact-list a { display: inline-block; padding: 4px 0; min-height: 32px; }

  .project-type-fieldset { margin-bottom: 24px; }
  .project-type-fieldset legend {
    margin-bottom: 9px;
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .project-type-select { display: block; }
  .project-type-select select {
    min-height: 46px;
    font-size: 16px;
    letter-spacing: 0.8px;
    padding: 11px 42px 11px 13px;
  }
  .project-type-select option {
    font-size: 16px;
    line-height: 1.4;
  }
  .project-type-options { display: none; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  /* iOS otomatik zoom önleme — input font-size en az 16px */
  .inquiry-form input:not([type="radio"]),
  .inquiry-form textarea {
    font-size: 16px;
    line-height: 1.45;
    padding: 9px 0 11px;
  }
  .inquiry-form textarea { min-height: 112px; }
  .inquiry-form label span {
    margin-bottom: 6px;
    font-size: 10px;
    letter-spacing: 1.6px;
  }
  .form-submit {
    width: 100%;
    margin-top: 28px;
    padding: 16px 22px;
    min-height: 50px;
    font-size: 12px;
  }

  /* FOOTER */
  .site-footer { padding: 36px var(--gutter); font-size: 10px; line-height: 1.6; }
}

/* ==================== SMALL MOBILE ==================== */
@media (max-width: 480px) {
  .project-index__grid { grid-template-columns: repeat(2, 1fr); }
  .brand__name { display: none; }
  .brand-logo-wrap { width: 30px; height: 30px; }
}

/* ==================== TOUCH DEVICES (hover yok) ==================== */
@media (hover: none) {
  a:hover { opacity: 1; }
  .project-card:hover .project-card__img img { transform: none; }
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  /* Eski .menu-toggle block + .header-right hidden kurallari kaldirildi
   * 2026-05-25 — yeni hamburger drawer tasarimi (TBY istegi) icin
   * .menu-toggle ust scope'ta inline-flex, .header-right gorunur. */

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 18px var(--gutter) 28px;
    overflow-y: auto;
    background: rgba(251, 250, 245, 0.96);
    border-top: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: 1.4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav > li {
    padding: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav > li > a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 14px 0;
    white-space: normal;
    line-height: 1.25;
  }

  .nav > li.has-sub > a::after {
    width: 5px;
    height: 5px;
    margin-left: 10px;
    transform: translateY(1px) rotate(45deg);
  }

  .nav > li.has-sub:hover > a::after {
    transform: translateY(1px) rotate(45deg);
  }

  .nav > li.has-sub.open > a::after {
    transform: translateY(3px) rotate(225deg);
  }

  .submenu,
  .nav > li.has-sub:hover > .submenu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    padding: 0 0 12px 14px;
    background: transparent;
    border: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav > li.has-sub.open > .submenu {
    display: flex;
    flex-direction: column;
    transform: none;
  }

  .submenu li a {
    min-height: 30px;
    padding: 7px 0;
    font-size: 10px;
    letter-spacing: 1.2px;
    line-height: 1.25;
  }

  /* Mobile nested submenu — Ticari Projeler gibi içe-içe öğelerin
   * tap-toggle açılımı (main.js .open class'ı). Inline, indent ile. */
  .submenu li.has-sub > a { padding-right: 0; }
  .submenu li.has-sub > a::after {
    position: static;
    right: auto;
    top: auto;
    margin-left: 8px;
    transform: translateY(1px) rotate(45deg);
  }
  .submenu li.has-sub.open > a::after {
    transform: translateY(3px) rotate(225deg);
  }
  .submenu .submenu {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    display: none;
    margin-top: 4px;
    padding: 0 0 6px 14px;
    border-left: 1px solid rgba(56, 56, 57, 0.22);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: 100%;
    min-width: 0;
  }
  .submenu li.has-sub.open > .submenu {
    display: flex;
    flex-direction: column;
  }
}

/* ==================== ANİMASYON KATMANI ====================
 * Kural: Yalnızca katman — yukarıdaki hiçbir class/id/DOM değiştirilmedi.
 * Yeni eklenen class'lar: .reveal, .reveal-stagger, .hero-animate,
 *   .page-fade-in, .nav-underline
 * prefers-reduced-motion: reduce → tüm animasyonlar kapatılır.
 * ============================================================ */

/* --- Easing tokens (animasyon katmanına özel) --- */
:root {
  --ease-silk:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-reveal:  700ms;
  --dur-hero:    1100ms;
  --dur-micro:   280ms;
}

/* --- Sayfa giriş: genel içerik fade-in (MPA — her sayfa yüklenince) --- */
.page-fade-in {
  animation: pageFadeIn 500ms var(--ease-smooth) both;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --- Hero giriş animasyonu --- */
/* JS .hero-animate class'ı ekler; .hero / .hero__media / .hero__caption korunur */
.hero-animate .hero__media {
  animation: heroScale var(--dur-hero) var(--ease-silk) both;
}
@keyframes heroScale {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1);    }
}
.hero-animate .hero__caption {
  animation: heroCaption 800ms var(--ease-silk) 380ms both;
}
@keyframes heroCaption {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* --- Scroll-reveal: temel --- */
/* Başlangıç durumu; JS .in-view ekleyince canlanır */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--dur-reveal) var(--ease-silk),
    transform var(--dur-reveal) var(--ease-silk);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* --- Scroll-reveal: stagger — JS inline transition-delay atar --- */
.reveal-stagger {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms var(--ease-silk),
    transform 600ms var(--ease-silk);
  will-change: opacity, transform;
}
.reveal-stagger.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* --- Nav link underline micro-interaction --- */
/* Mevcut .nav > li > a opacity .25s ease korunur; bu katman EKSTRA. */
/* .nav-underline class'ı JS ekler */
.nav-underline {
  position: relative;
}
.nav-underline::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-micro) var(--ease-silk);
}
.nav-underline:hover::after {
  transform: scaleX(1);
}
/* Aktif sayfa: kalıcı altçizgi */
.nav-underline.nav-active::after {
  transform: scaleX(1);
  opacity: 0.45;
}

/* --- Galeri görsel hover iyileştirmesi ---
   Mevcut: .project-card__img img transition transform 1.2s cubic-bezier(.2,.8,.2,1) VAR
   ve .project-card:hover img scale(1.04) VAR. Buraya dokunmuyoruz.
   Sadece .project-index__item img için zarif scale ekle (main.css'te hover yok). */
.project-index__item {
  transition: opacity var(--dur-micro) var(--ease-smooth);
}
.project-index__item img {
  transition: transform 900ms var(--ease-silk);
  will-change: transform;
}
.project-index__item:hover img {
  transform: scale(1.03);
}
/* Grid hover: odak dışı itemlar solar (CSS :has) */
.project-index__grid:has(.project-index__item:hover) .project-index__item:not(:hover) {
  opacity: 0.65;
}

/* --- Proje galeri büyük görsel hover (lightbox öncesi ipucu) ---
   .project-gallery > img üstüne cursor+overlay. main.css'te bu görsellerin
   sadece cursor: zoom-in var (satır 495). Geçiş ekle. */
.project-gallery img {
  transition: opacity var(--dur-micro) var(--ease-smooth);
}
.project-gallery img:hover {
  opacity: 0.92;
}

/* --- Form submit buton micro-interaction ---
   Mevcut main.css: transition background .2s ease, color .2s ease — korunur.
   Üzerine ince scale efekti katman. */
.form-submit {
  transition:
    background var(--dur-micro) var(--ease-smooth),
    color var(--dur-micro) var(--ease-smooth),
    transform var(--dur-micro) var(--ease-smooth),
    opacity var(--dur-micro) var(--ease-smooth);
}
.form-submit:active {
  transform: scale(0.98);
}

/* --- Lightbox aç/kapa geçişi rafine ---
   Mevcut main.css: .lightbox transition opacity .25s ease, visibility .25s ease.
   Bu katman daha uzun ve silk bir easing ile üzer (spesifite eşit, sıra kazanır). */
.lightbox {
  transition:
    opacity 420ms var(--ease-smooth),
    visibility 420ms var(--ease-smooth);
}
.lightbox__img {
  /* main.css: transform scale(0.97→1) transition .25s ease var — rafine */
  transition: transform 420ms var(--ease-silk);
}

/* ==================== REDUCED-MOTION ====================
   prefers-reduced-motion: reduce → animasyon/geçiş yok, anında görünür. */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .hero-animate .hero__media,
  .hero-animate .hero__caption {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .photo-gallery,
  .photo-gallery--reduced {
    /* reduced-motion: drag/spring yok, sade grid */
  }

  .page-fade-in {
    animation: none;
    opacity: 1;
  }

  .nav-underline::after,
  .project-index__item,
  .project-index__item img,
  .project-gallery img,
  .form-submit,
  .lightbox,
  .lightbox__img {
    transition: none;
    animation: none;
  }

  .project-index__grid:has(.project-index__item:hover) .project-index__item:not(:hover) {
    opacity: 1;
  }
}

/* ==================== MOBİL — animasyon hafifletme ====================
   900px altı: bazı efektler kaldırılır (performans + dokunma deneyimi). */
@media (max-width: 900px) {
  .project-index__grid:has(.project-index__item:hover) .project-index__item:not(:hover) {
    opacity: 1;
  }
  .project-index__item:hover img {
    transform: none;
  }
  /* Reveal süresi kısalt (mobil scroll hızı fazla) */
  .reveal        { transition-duration: 500ms; }
  .reveal-stagger { transition-duration: 450ms; }
}

/* ==================== PHOTO GALLERY (PROJELER) ====================
 * components/PhotoGallery.tsx — proje liste sayfalarinda kullanilir.
 * Desktop: dagi nik foto lar (framer-motion transform ile x/y spread).
 * Mobile (≤900px): JS isMobile true → x/y 0 → .photo-gallery__center--stack
 *   ile dikey alt alta. Drag her foto icin korunur (bagimsiz spring).
 * ============================================================ */
.photo-gallery {
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(72px, 12vw, 140px);
  max-width: var(--w-max);
  margin: 0 auto;
}
.photo-gallery__stage {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-gallery__wrap {
  position: relative;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
}
.photo-gallery__frame {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: center;
}
.photo-gallery__center {
  position: relative;
  width: 220px;
  height: 220px;
}
.photo-slot {
  position: absolute;
  left: 0;
  top: 0;
}
.photo {
  position: relative;
  display: block;
  margin: 0 auto;
  flex-shrink: 0;
  cursor: grab;
  text-decoration: none;
  color: inherit;
  outline: none;
}
.photo:active { cursor: grabbing; }
.photo:focus-visible .photo__inner {
  box-shadow: 0 0 0 2px var(--bg-soft), 0 0 0 3px var(--ink);
}
.photo__inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: var(--bg-soft);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 8px 24px rgba(0,0,0,0.08);
}
.photo__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo__title,
.photo__meta {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.photo__title { bottom: -26px; }
.photo__meta { bottom: -42px; font-size: 9px; letter-spacing: 1.4px; color: var(--ink-mute); }
.photo:hover .photo__title,
.photo:hover .photo__meta,
.photo:focus-visible .photo__title,
.photo:focus-visible .photo__meta { opacity: 1; }

/* Mobile: dikey kolon, foto lar tam genislik */
@media (max-width: 900px) {
  .photo-gallery { padding: clamp(28px, 6vw, 48px) var(--gutter) clamp(48px, 10vw, 80px); }
  .photo-gallery__stage { min-height: 0; }
  /* TBY istegi (2026-05-24, ikinci faz): mobilde tam genislik dikey
   * yerine 2-kolon GRID — desktop'taki gibi tum projeler aynı anda
   * kartlar halinde gozuksun, scroll'a dusmesin. Drag korunur. */
  .photo-gallery__center--stack {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    align-items: start;
  }
  .photo-gallery__center--stack .photo-slot { position: static !important; }
  .photo-gallery__center--stack .photo {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5;
    cursor: pointer;
  }
  .photo-gallery__center--stack .photo:active { cursor: grabbing; }
  .photo-gallery__center--stack .photo__inner { border-radius: 10px; }
  .photo-gallery__center--stack .photo__title {
    opacity: 1;
    position: static;
    transform: none;
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  /* Mobile kart kucuk — meta yer kaplar, gizlenir (title yeterli). */
  .photo-gallery__center--stack .photo__meta {
    display: none;
  }
}

/* reduced-motion fallback: sade grid */
.photo-gallery--reduced {
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(72px, 12vw, 140px);
  max-width: var(--w-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 30px;
}
.photo--static {
  display: block;
  text-decoration: none;
  color: inherit;
}
.photo--static .photo__inner {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-soft);
}

/* ==================== SPLASH INTRO ====================
 * components/SplashIntro.tsx — anasayfaya ilk girişte (sessionStorage
 * flag ile tek seferlik) gosterilen sade overlay; tikla ile fade-out.
 * Tasarim: shadcn gooey-text-morphing adaptasyonu (Tailwind kaldirildi,
 * site renk/typografi/clamp boyutlar).
 */
.splash-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  gap: clamp(28px, 5vw, 56px);
  cursor: pointer;
  opacity: 1;
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1);
  outline: none;
}
.splash-intro--closing { opacity: 0; pointer-events: none; }
body.is-splash-open { overflow: hidden; }

.splash-intro__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.splash-intro__logo {
  width: clamp(80px, 11vw, 140px);
  height: auto;
  object-fit: contain;
  display: block;
}

.splash-intro__morph {
  position: relative;
  width: 100%;
  height: clamp(72px, 12vw, 140px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.splash-intro__svg {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}
.splash-intro__morph-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.splash-intro__text {
  position: absolute;
  display: inline-block;
  user-select: none;
  text-align: center;
  font-family: var(--sans);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 9vw, 92px);
  letter-spacing: 0.5px;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

.splash-intro__hint {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: clamp(12px, 3vw, 24px);
  animation: splash-hint-pulse 2.2s ease-in-out infinite;
}
@keyframes splash-hint-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@media (max-width: 600px) {
  .splash-intro { gap: 24px; padding: 18px; }
  .splash-intro__text { font-size: clamp(36px, 13vw, 64px); }
  .splash-intro__hint { font-size: 9px; letter-spacing: 3px; }
  .splash-intro__morph { height: clamp(60px, 14vw, 100px); }
}

@media (prefers-reduced-motion: reduce) {
  .splash-intro { transition: opacity 200ms ease; }
  .splash-intro__hint { animation: none; opacity: 0.6; }
}

/* ==================== NAV REFACTOR (TBY 2026-05-24) ====================
 * SiteHeader.tsx yeniden yazildi (client + framer-motion). Mobile menu
 * + nested submenu mantigi React state'ine tasindi. Eski .nav > li,
 * .submenu, .menu-toggle, .is-open kurallari artik markup'a uygulanmiyor
 * (yeni class'lar: .nav__list, .nav__item, .nav__link, .nav__underline,
 * .nav__submenu, .nav__subitem, .nav__sublink, .nav__nested, .nav__leaflink).
 * Mobile: .nav gizlenir, .mobile-nav-fab (floating action menu) gozukur.
 */
.nav__list { display: flex; align-items: center; gap: 0; list-style: none; }
.nav__item { position: relative; padding: 28px 0; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background .2s ease;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
}
.nav__item:hover .nav__link {
  background: rgba(56, 56, 57, 0.06);
}
.nav__item.has-sub .nav__link::after {
  content: '\'';
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s ease;
}
.nav__item.has-sub:hover .nav__link::after {
  transform: translateY(0) rotate(225deg);
}
.nav__underline {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  height: 1px;
  background: var(--ink);
  pointer-events: none;
}
.nav__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 8px 0;
  min-width: 220px;
  border-radius: 4px;
  z-index: 20;
  list-style: none;
}
.nav__submenu-list { list-style: none; padding: 0; margin: 0; }
.nav__subitem { position: relative; list-style: none; }
.nav__sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 22px;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
  text-align: left;
}
.nav__sublink:hover { background: var(--bg-soft); opacity: 1; }
.nav__chev {
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
  margin-left: 12px;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.nav__sublink.is-open .nav__chev {
  transform: rotate(45deg);
}
.nav__nested {
  list-style: none;
  background: rgba(225, 219, 208, 0.4);
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.nav__leaflink {
  display: block;
  padding: 9px 36px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.nav__leaflink:hover { background: var(--bg-soft); color: var(--ink); opacity: 1; }

/* ==================== LANGUAGE SWITCHER ==================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-left: 14px;
}
.lang-switch__btn {
  background: none;
  border: 0;
  padding: 4px 6px;
  color: var(--ink-mute);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  transition: color .2s ease;
}
.lang-switch__btn:hover { color: var(--ink); }
.lang-switch__btn.is-active {
  color: var(--ink);
  font-weight: 600;
}
.lang-switch__sep {
  color: var(--ink-mute);
  font-weight: 400;
  user-select: none;
}
.header-city { display: inline-block; }

/* ==================== MOBILE DRAWER (TBY 2026-05-25) ====================
 * Top header sag tarafindaki hamburger → full-screen drawer.
 * Sade liste; alt linkler indent ile. */
.mobile-drawer {
  position: fixed;
  inset: 0;
  top: var(--header-h, 64px);
  background: var(--bg);
  z-index: 80;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer__nav {
  padding: 32px var(--gutter) 80px;
  max-width: 720px;
  margin: 0 auto;
}
.mobile-drawer__list,
.mobile-drawer__sublist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-drawer__item--l0 {
  border-bottom: 1px solid var(--line);
}
.mobile-drawer__item--l0 > .mobile-drawer__link {
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
  padding: 22px 4px;
}
.mobile-drawer__item--l1 > .mobile-drawer__link {
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 10px 4px 10px 20px;
}
.mobile-drawer__item--l2 > .mobile-drawer__link {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 8px 4px 8px 36px;
}
.mobile-drawer__sublist {
  padding-bottom: 14px;
}
.mobile-drawer__link {
  display: block;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.mobile-drawer__link:hover,
.mobile-drawer__link:active {
  background: var(--bg-soft);
}
button.mobile-drawer__link {
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  cursor: pointer;
}
.mobile-drawer__link--toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mobile-drawer__chev {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s ease;
  flex: 0 0 auto;
}
.mobile-drawer__link--toggle.is-open .mobile-drawer__chev {
  transform: translateY(2px) rotate(225deg);
}
body.is-drawer-open { overflow: hidden; }

/* ==================== MOBILE MEDIA (≤1180px) ====================
 * Desktop nav gizle, hamburger goster. Header grid sade. */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-city { display: none; }
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .lang-switch { margin-left: 0; }

  /* TBY istegi (2026-05-27): drawer acikken header logosu gizlensin
     (mobile'a ozel — desktop'ta drawer zaten gozukmez). Brand container
     yer kaplamaya devam etsin diye visibility:hidden degil display:none. */
  body.is-drawer-open .brand-logo-wrap,
  body.is-drawer-open .brand__name { display: none; }

  /* Footer mobile: dikey stack, sade ortali */
  .site-footer { padding: 48px var(--gutter) 32px; }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    margin-bottom: 32px;
  }
  .site-footer__col { align-items: center; }
  .site-footer__link { margin: 0 auto; }
}

/* ==================== TUM PROJELER SAYFASI (/projeler/) ====================
 * Bolum basligi (h2 stil zaten global), bolumler arasi nefes payi.
 * PhotoGallery bilesen kendi grid stilini icerir. */
.projects-section {
  padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(40px, 6vw, 80px);
  max-width: var(--w-max);
  margin: 0 auto;
}
.projects-section__title {
  margin: 0 0 clamp(20px, 2.6vw, 36px);
  text-align: center;
}

/* ==================== A11Y UTILITIES ==================== */
/* Visually hidden — screen reader'a sunulur, gorsel akista YOK.
   WAI-ARIA Authoring Practices "sr-only" muadili. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==================== ANASAYFA HERO — FULL-SCREEN OVERLAY ====================
 * TBY musteri istegi (2026-05-27 son revizyon):
 *  - Split layout iptal; eski overlay tasarimi geri ("yazilar gorselin
 *    ustunde", "gorsel dikey uzunlamasina ve enlemesine yer kaplayacak").
 *  - Tek viewport / scrollsuz korunur (body.is-home + footer gizli).
 *  - Hem mobile hem desktop ayni pattern: tam-ekran arka plan gorseli
 *    (object-fit:cover ile her iki yone yayilir), uzerinde alt-koyulasan
 *    scrim ve ortalanmis overlay copy (brand + intro + CTA, beyaz).
 *  - Gorsel: /images/dekor-kompozisyon.webp (1636x2048 dikey). Manifest'te
 *    [480, 768, 1024, 1440] + orijinal 1636 srcset varyantlari mevcut →
 *    tarayici viewport+DPR'ye gore max kaliteli varyanti secer ("kaliteyi
 *    dusurmeyecek olcude buyur"). */
.home-hero {
  position: relative;
  width: 100%;
  height: calc(100dvh - var(--header-h));
  overflow: hidden;
  margin: 0;
  isolation: isolate;
  /* TBY istegi (2026-05-27): desktop'ta gorselin tamami gorunsun
   * (object-fit: contain). Yanlardaki bos alanlar krem kalir, sade. */
  background: var(--bg-soft);
}
.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero__media picture,
.home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
}
.home-hero__media img {
  /* Desktop'ta contain → gorselin tumu sigsin. Mobile (≤900px) cover
   * (portrait viewport'ta portrait gorsel zaten tama yakin doldurur). */
  object-fit: contain;
  object-position: center;
}
.home-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.20) 0%,
    rgba(0, 0, 0, 0.42) 55%,
    rgba(0, 0, 0, 0.62) 100%
  );
  pointer-events: none;
}
.home-hero__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* TBY istegi (2026-05-27 son revizyon): intro + CTA tekrar merkez,
   * brand ise yukarida (aplik hizasi) layout-disi olarak konumlanir. */
  justify-content: center;
  gap: clamp(20px, 2.6vw, 32px);
  padding: clamp(24px, 6vw, 64px) var(--gutter);
  color: #fff;
  text-align: center;
}
.home-hero__brand {
  /* TBY istegi: tablonun yanlarindaki iki aplik hizasi → brand'i flex
   * akisindan cikar, viewport yuksekliginin yaklasik %20-22'sine sabitle.
   * Boylece intro + CTA merkez ortali kalir, brand yukarida ayri katman.
   * Font (2026-05-27): Cormorant Garamond — ic mimari/editorial estetik.
   * Klasik serif gevdeyi sans (Source Sans 3) ile kontrast ettirir.
   * letter-spacing serif icin sans'a gore daha sicak (clamp 4-10px). */
  position: absolute;
  top: clamp(16%, 20vh, 24%);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: clamp(4px, 0.9vw, 10px);
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}
.home-hero__intro {
  margin: 0;
  max-width: 720px;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.7;
  letter-spacing: 0.2px;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.home-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.home-hero__cta:hover,
.home-hero__cta:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.96);
  outline: none;
}
.home-hero__cta:active { transform: translateY(1px); }

/* Anasayfa scrollsuz: main padding'i sifirla (header zaten fixed),
 * footer'i gizle. Diger sayfalarda body'de bu class olmadigindan etkilenmez. */
body.is-home main { padding-top: 0; min-height: 0; }
body.is-home .home-hero { margin-top: var(--header-h); }
body.is-home .site-footer { display: none; }
body.is-home { overflow: hidden; }

/* Mobile (≤900px) — daha sade, sigmasi icin yumusak font/padding. */
@media (max-width: 900px) {
  .home-hero__media img {
    /* Mobile portrait viewport'ta portrait gorsel cover ile tama yakin
     * doldurur; sag/sol kenardan minimal crop. */
    object-fit: cover;
  }
  .home-hero__copy {
    /* TBY raporu (2026-05-27 iPhone 13 SS): intro AYSAWORKS'a yapismis
     * gozukuyor. Sebep: Safari adres cubugu acikken dvh kuculur ve brand
     * (absolute) ile intro (flex center) arasi daralir. Cozum: padding-top
     * buyut → intro+CTA blogu brand'in iyi altinda center kalir; padding
     * adres cubugu acik/kapali farkina sigar. */
    padding: clamp(150px, 24vh, 220px) 22px clamp(40px, 6vh, 70px);
    gap: 18px;
  }
  .home-hero__brand {
    /* AYSAWORKS apliklerin hizasinda (tablonun orta-ust). Padding-top'la
     * birlikte intro'dan en az ~70-90px hava garantili.
     * Serif (Cormorant) mobile'da bir tik kucuk + dengeli LS. */
    top: clamp(22%, 24vh, 28%);
    font-size: 34px;
    letter-spacing: 3px;
  }
  .home-hero__intro {
    font-size: 13.5px;
    line-height: 1.65;
    letter-spacing: 0.15px;
  }
  .home-hero__cta {
    padding: 12px 26px;
    font-size: 10.5px;
    letter-spacing: 2.4px;
  }
}
