/* ================================================
   Heykel sitesi – stil dosyası
   ================================================ */
/* ---------- fontlar (yerel, OFL lisanslı; latin + latin-ext = Türkçe karakterler) ----------
   Değişken fontlar: her dosya tüm ağırlıkları içerir, burada yalnızca kullanılanlar tanımlı. */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2?v=affc2c4817") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/manrope-latin.woff2?v=c22caf8986") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2?v=d76a6f3c34") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2?v=2bcd7bfc7a") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin-ext.woff2?v=465edb4ed8") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2?v=e056fda194") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0f1211;
  --surface: #171b19;
  --surface-2: #1e2320;
  --ink: #f2efe8;
  --muted: #a4aaa5;
  --line: rgba(242, 239, 232, .12);
  --mint: #8fd8b8;
  --mint-ink: #0f2a1e;
  --wa: #198544;          /* beyaz yazıyla 4.7:1 kontrast (WCAG AA) */
  --max: 1240px;
  /* iPhone çentik / ev çizgisi payları: viewport-fit=cover ile gelir, diğer cihazlarda 0 */
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* display: grid/flex verilen öğeler de hidden ile gizlensin */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
  /* yazı büyütülünce (2× yazı) sığmayan tek sözcük satırda bölünür; 1×'te hiçbir sözcük sığmazlık yaşamadığı için etkisiz */
  overflow-wrap: break-word;
}
/* height:auto: width/height öznitelikli görsel CSS ile daraltılınca özniteliğin yüksekliği kalmasın, oran korunsun */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.01em; }

/* yatay iPhone'da içerik çentiğin altına girmesin; arka planlar yine tam genişlik */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 max(20px, var(--safe-r)) 0 max(20px, var(--safe-l)); }
.section { padding: 112px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--mint); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 { font-size: clamp(36px, 5vw, 60px); }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px;
  border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s;
  font-family: var(--sans);
  /* tek satır, sığmadığında (2× yazı) kendi içinde satır kırar; en az genişliği yazının tamamı (sığdığı sürece: önceki nowrap'la
     aynı boyut), kabından genişse kap kadar */
  min-width: fit-content;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-mint { background: var(--mint); color: var(--mint-ink); }
.btn-mint:hover { background: #a9e3c9; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #146d38; }
/* ---------- Instagram düğmesi ----------
 * Marka degradesi: sarı → turuncu yalnızca sol alt köşede (px duraklarla: düğme genişliğinden bağımsız küçük bir köşe),
 * yazı ve glif macenta → mor → mavi üzerinde: beyaz yazı en kötü noktada ≥ 4,5:1 (qa/tests/instagram.spec.mjs piksel
 * piksel ölçer). Üzerine gelince %16 koyulaşır (WhatsApp düğmesi gibi); odak halkası genel :focus-visible kuralı. */
:root {
  --ig-grad: radial-gradient(circle at 0 100%, #feda75 0, #fa7e1e 6px, rgba(250, 126, 30, 0) 15px),
    linear-gradient(to top right, #d62976 12%, #962fbf 58%, #4f5bd5 100%);
  --ig-shade: linear-gradient(rgba(0, 0, 0, .16), rgba(0, 0, 0, .16));
}
/* background-origin: border-box — degrade saydam kenarlığın (.btn 1,5 px) altına da uzansın; yoksa kenarda karşı kenarın
   rengi tekrar eder (ince pembe şerit). background kısayolu origin'i sıfırladığı için her kuralda yeniden yazılır. */
.btn-ig { background: var(--ig-grad); background-origin: border-box; color: #fff; }
.btn-ig:hover { background: var(--ig-shade), var(--ig-grad); background-origin: border-box; }
.btn-ig svg { width: 18px; height: 18px; }
.btn-line { border-color: rgba(242, 239, 232, .45); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--bg); }

/* ---------- header ---------- */
/* kapsayıcı (container-type): menü 2× yazıda sığmayınca dar menüye geçer (aşağıda "yazı büyütülünce"); çubuğun genişliği zaten
   içerikten bağımsız (fixed, sol / sağ 0), konumlu ve kendi istifleme bağlamında: 1×'te etkisiz */
/* üst çubuğun büyümesi (2× yazı): main.js → initCovers çubuğun alt kenarını --ust-pay olarak yazar; --ust-taban çubuğun normal
   yazıdaki alt kenarı (min-height 80px + 1px kenarlık; kısa yatayda 60 + 1). Fark (--ust-ek) yalnızca çubuk bundan uzunsa > 0; ilk
   bölümlerin üst boşluğuna eklenir, sayfanın en üstünde çubuk başlığın üstüne binmez. Normal yazıda ve JavaScript yokken 0. */
:root { --ust-taban: 81px; --ust-ek: max(0px, var(--ust-pay, var(--ust-taban)) - var(--ust-taban)); }
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent; container: cubuk / inline-size;
}
.header.scrolled {
  background: rgba(15, 18, 17, .88); border-color: var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
/* JavaScript çalışmıyorsa (kapalı, erken.js ya da main.js yüklenemedi) üst çubuk opak: içeriğin üstüne binmez. Saydam
   başlangıç yalnızca <html class="js"> iken (assets/js/erken.js ilk çizimden önce yazar). */
html:not(.js) .header { background: var(--bg); border-color: var(--line); }
/* en az 80 px; yazı büyütülünce (2× yazıda logo iki-üç satır) çubuk içeriğiyle büyür, taşmaz (main.js → initCovers boyunu izler) */
/* dikey dolgu (em): 2× yazıda logonun harfleri (line-height: 1, yazı tipinin üst / alt payı satır kutusunu aşar) çubuğun içinde
   kalır; 1×'te içerik en az yüksekliğin içinde ortalı, konumlar aynı. Kapsayıcı (icerik): geniş ekranda içerik kutusu en çok --max;
   2× yazıda menü ona göre dar menüye geçer (aşağıda); genişliği içerikten bağımsız (blok, çubuğu doldurur) */
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 20px; padding-top: .25em; padding-bottom: .25em; container: icerik / inline-size; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-text { font-family: var(--serif); font-size: 26px; line-height: 1; }
.logo-text b { font-weight: 700; }
.logo-text span { font-weight: 400; font-style: italic; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 14px; color: var(--ink); opacity: .85; }
.nav a:hover { opacity: 1; color: var(--mint); }
.nav a[aria-current="page"] { opacity: 1; color: var(--mint); }
.nav .btn { opacity: 1; margin-left: 10px; padding: 11px 20px; }
.nav .btn-wa, .nav .btn:hover { color: #fff; }
/* Instagram: geniş ekranda WhatsApp'ın solunda aynı boy hap düğme; dar ekranda menü düğmesinin yanında degrade kare */
.nav .btn-ig { color: #fff; }
.header-ig {
  display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center;
  background: var(--ig-grad); color: #fff; text-decoration: none;
}
.header-ig svg { width: 22px; height: 22px; }
.header-ig:hover { background: var(--ig-shade), var(--ig-grad); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--surface-2); }
.hero-bg img, .hero-bg .img-ph { width: 100%; height: 100%; object-fit: cover; }
.hero-bg .img-ph { font-size: 0; }
/* karartma: üst etiket (4,5:1), h1 ve "kimlik" (3:1) ve saydam üst çubuktaki logo (3:1) fotoğrafın en kötü pikselinde de eşiği
   geçsin (qa/tests/hero-kontrast.spec.mjs; önce .78 / .5 / .4 / .85) */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,18,17,.879) 0%, rgba(15,18,17,.725) 22%, rgba(15,18,17,.67) 40%, rgba(15,18,17,.918) 78%, var(--bg) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: calc(140px + var(--ust-ek)); padding-bottom: 88px; }
.hero h1 { font-size: clamp(48px, 6vw, 80px); max-width: 11ch; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--mint); }
.hero p { font-size: 19px; color: #d3d6d2; max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-hint {
  /* Hero ekrandan uzunsa yukarı kayar; sabit WhatsApp butonunun (ekran altından 80px) üstünde kalır */
  position: absolute; right: calc(20px + var(--safe-r)); bottom: max(96px, calc(100% - 100vh + 104px)); z-index: 1; writing-mode: vertical-rl; font-size: 12px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted); text-decoration: none;
}

/* ---------- atölye / hakkında ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
/* sütunlar içeriğin en az genişliğiyle genişlemez (2× yazıda uzun sözcük ve rozetler sayfayı taşırıyordu); iletişim sütunları yalnızca
   tek sütunda (≤ 860 px, aşağıda): iki sütunda bölünmeyen saat satırı sütunu genişletir, taşmaz */
.intro > *, .gallery-head > * { min-width: 0; }
.intro-media { position: relative; }
.intro-media .frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--surface-2); }
.intro-media .frame picture { display: block; width: 100%; height: 100%; }
.intro-media .frame img, .intro-media .frame .img-ph { width: 100%; height: 100%; object-fit: cover; }
.intro-media::before {
  content: ""; position: absolute; inset: -20px 20px 20px -20px; border: 1px solid rgba(143, 216, 184, .4); border-radius: 4px; z-index: -1;
}
.intro p { color: var(--muted); font-size: 17px; }
/* kapsayıcı: 2× yazıda rozetler alt alta (aşağıda "yazı büyütülünce"); genişliği içerikten bağımsız (blok, sütunu doldurur) */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); container-type: inline-size; }
.stats strong { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; color: var(--ink); margin-bottom: 8px; }
.stats > div > span { font-size: 14px; color: var(--muted); }

/* ---------- galeri ---------- */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.gallery-head .h2 { margin: 0; }
.gallery { columns: 3; column-gap: 16px; }
.work {
  display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: var(--surface-2);
  break-inside: avoid; cursor: zoom-in; position: relative; overflow: hidden; border-radius: 4px;
}
.work picture { display: block; }
/* Oran, build'in yazdığı width/height'tan gelir: küçük görsel yüklenirken kutu boyu değişmez */
.work img { width: 100%; height: auto; transition: transform .6s ease, opacity .3s; }
/* Görseli olmayan eser (build boyut yazamaz): yüklenene kadar 4:5 yer tutar; hata verince main.js
   yerine 4:5 .img-ph koyar */
.work img:not([height]) { aspect-ratio: auto 4 / 5; }
.work .img-ph { aspect-ratio: 4 / 5; }
.work:hover img { transform: scale(1.03); }
.work::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.5));
  opacity: 0; transition: opacity .3s;
}
.work:hover::after { opacity: 1; }
/* Eserin adı kutunun altında, koyu geçişin üstünde: açık renkli fotoğrafta da okunur (en kötü piksel ≥ 4,5:1,
   qa/tests/galeri-adlari.spec.mjs) */
.work-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 40px 16px 14px; text-align: left;
  font-family: var(--serif); font-size: 20px; line-height: 1.25; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.72) 45%, rgba(0,0,0,.8));
}

.img-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; font-style: italic; color: #5d6560;
  background: repeating-linear-gradient(135deg, #1a1f1c 0 14px, #1d2320 14px 28px);
}

/* ---------- hizmetler ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.service { padding: 36px 28px 8px 0; border-right: 1px solid var(--line); }
.service + .service { padding-left: 28px; }
.service:last-child { border-right: 0; }
.service .num { font-family: var(--serif); font-style: italic; color: var(--mint); font-size: 20px; }
.service h3 { font-size: 28px; margin: 12px 0 10px; }
.service p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- referanslar ----------
   Eşit kutular; logo boyutu kartın kendisine göre (container-type: size; --w, --dw, --dh build'den). Koyu sayfada
   kutular açık zeminli: logolar özgün renklerinde (siyah yazılar da) görünsün. Üzerine gelince yalnızca kart (ince
   nane çerçeve) değişir. --ad-fs: yazı kartı, bu sitenin yazı tipinde (Cormorant Garamond 600) logolarla aynı görsel ağırlık.
   Masaüstünde 5 sütun, ≤ 860 px 2 sütun; eksik son satır ortalanır (21 referans → 5 × 4 + 1, 2 × 10 + 1):
   ızgaranın izleri iki kat (10 / 4), her kart iki iz kaplar (kart genişliği 5 / 2 sütunlu ızgarayla aynı), son satırın ilk
   kartı boş iz sayısının yarısı kadar içeriden başlar (yalnızca :nth-child / :nth-last-child; referans sayısından bağımsız). */
.ref-grid {
  list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-auto-rows: 1fr; gap: 16px;
}
.ref {
  display: flex; align-items: center; justify-content: center; min-height: 104px; padding: 16px 20px;
  background: #f7f5f0; border-radius: 4px; text-align: center; color: #0f1211; grid-column: span 2;
}
/* eksik son satır ortada: son satırda 4 / 3 / 2 / 1 kart → ilki 2. / 3. / 4. / 5. izden başlar */
.ref-grid > .ref:nth-child(5n + 1):nth-last-child(4) { grid-column: 2 / span 2; }
.ref-grid > .ref:nth-child(5n + 1):nth-last-child(3) { grid-column: 3 / span 2; }
.ref-grid > .ref:nth-child(5n + 1):nth-last-child(2) { grid-column: 4 / span 2; }
.ref-grid > .ref:nth-child(5n + 1):last-child { grid-column: 5 / span 2; }
/* koyu kart (data.js → REFERENCES[].dark): beyaz logo (Akra Didim, Arcflos, Hotel DreamWorld) özgün renginde;
   boyut ve köşe yarıçapı öbür kartlarla aynı; zemin sitenin yükseltilmiş koyu yüzeyi (--surface-2), sayfa zemininden ince
   çizgiyle (--line) ayrılır; üzerine gelince öbür kartlar gibi nane çerçeve */
.ref.ref-dark { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.ref-text span { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.15; text-wrap: balance; }
.ref.ref-logo, .ref.ref-ad { container-type: size; padding: 0; }
.ref-logo img { width: min(calc(var(--w) / var(--dw) * 80cqw), calc(var(--w) / var(--dh) * 76cqh)); height: auto; }
.ref-text.ref-ad span {
  --ad-fs: 22.4; font-size: min(calc(var(--ad-fs) / var(--dw) * 80cqw), calc(var(--ad-fs) / var(--dh) * 76cqh));
  line-height: 1.2;   /* 1×'te kartın genişliğine göre boyutlu, tek satır; 2× yazıda satır kırar */
}
@media (hover: hover) {
  .ref { transition: box-shadow .2s; }
  .ref:hover { box-shadow: 0 0 0 2px var(--mint); }
}

/* ---------- CTA / iletişim ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; }
.contact .h2 em { font-style: italic; color: var(--mint); }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list small { color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.contact-list a, .contact-list span { text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--mint); }
/* çalışma saatleri (contact.mjs → hoursHtml): her gün grubu kendi satırında başlar; grubun içinde kırılmayan parçalar (gün
   adı, aralıksa kısa çizgiden sonra ikiye; saat aralığı): satır yalnızca gün adından sonra, sığmazsa gün aralığının kısa
   çizgisinden sonra kırılır, saat aralığı ve sözcükler bölünmez (inline-block: WebKit ayrı nowrap satır içi öğelerin arasında
   kırmıyordu); gruplar arasındaki "·" hiçbir zaman görünmez (öğede ayrıca aria-hidden: stil yüklenmezse görünür, ekran okuyucu
   okumaz) */
[data-hours] .hours-part { display: block; }
[data-hours] .hours-piece { display: inline-block; white-space: nowrap; }
[data-hours] .hours-sep { display: none; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center; text-align: center; padding: calc(120px + var(--ust-ek)) 0 96px;
  background: radial-gradient(ellipse at 50% 30%, var(--surface-2), var(--bg) 70%);
}
/* yatay eksi pay (em, iki yanda eşit: ortalı yazı yerinde kalır): 2× yazıda "404" kutusuna sığar, bölünmez */
.notfound-code {
  display: block; font-family: var(--serif); font-style: italic; font-size: clamp(110px, 20vw, 200px);
  line-height: .9; color: var(--mint); margin: 0 -.05em 16px;
}
.notfound h1 { font-size: clamp(36px, 5vw, 60px); }
.notfound h1 em { font-style: italic; color: var(--mint); }
.notfound p { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 auto 36px; }
.notfound .hero-actions { justify-content: center; }

/* ---------- footer ---------- */
.footer { padding: 36px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer .container {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center;
  /* Sabit WhatsApp butonu (sağdan 20px + 60px) için yer aç; geniş ekranda gerek kalmaz */
  padding-right: calc(20px + var(--safe-r) + clamp(0px, calc(76px + (var(--max) - 100vw) / 2), 76px));
}
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover, .footer a[aria-current="page"] { color: var(--mint); }

/* ---------- çerez bandı (yalnızca SITE.gtmId doluyken sayfada; koyu tema) ---------- */
/* en büyük yüksekliği main.js → initCovers verir (ekran - üst pay - bir odak hedefi): taşarsa bant kendi içinde kayar */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, .35); padding: 18px 0 calc(18px + var(--safe-b));
}
/* en büyük yüksekliğini aşan katman kendi içinde kayar (main.js → initCovers); yalnızca o zaman: kaydırılabilir katmandaki yazıyı
   Chromium başka çiziyor */
.fit-scroll { overflow-y: auto; overscroll-behavior: contain; }
.consent-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; }
.consent-title { font-family: var(--sans); font-size: 17px; font-weight: 700; margin: 0 0 4px; letter-spacing: normal; line-height: 1.3; }
.consent-text p { margin: 0; font-size: 14.5px; color: var(--muted); }
.consent-text a { color: var(--mint); font-weight: 700; }
.consent-options { border: 0; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.consent-options label { display: flex; gap: 10px; align-items: baseline; font-weight: 700; font-size: 14.5px; }
.consent-options small { font-weight: 500; color: var(--muted); }
.consent-options input { width: 18px; height: 18px; accent-color: var(--mint); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
/* bant kendi içinde kayarken (2× yazı) düğme satırı bandın görünen kısmının altında yapışık kalır (main.js → initCovers: fit-sticky
   yalnızca satırın üstünde bir denetim öğesine yer varken; bandın scroll-padding-bottom'ı satırın örttüğü boy, Tab'la gelinen öğe
   satırın altında kalmaz); 1×'te bant kaymaz (sınıf yok). Yapışık satır bandın alt iç boşluğunun üstünde durur: o şeritte kayan
   içerik görünmesin diye satırın zemini bulanıksız gölgeyle iç boşluk kadar aşağı uzar (yerleşim değişmez) */
.consent.fit-sticky .consent-actions {
  position: sticky; bottom: 0; background: var(--surface); box-shadow: 0 calc(18px + var(--safe-b)) 0 var(--surface);
}
/* üç düğme eşit ağırlıkta (KVKK: reddetmek kabul etmek kadar kolay) */
.consent-btn { min-width: 120px; padding: 12px 18px; background: var(--surface); color: var(--ink); border-color: var(--ink); white-space: nowrap; }
.consent-btn:hover { background: var(--ink); color: var(--bg); }
/* altbilgideki "Çerez ayarları": menü bağlantılarıyla aynı görünüm */
.footer-link { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.footer-link:hover { color: var(--mint); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- gizlilik politikası (/gizlilik, taslak doldurulunca) ---------- */
.legal { padding: calc(clamp(104px, 12vw, 140px) + var(--ust-ek)) 0 72px; }
.legal-body { max-width: 780px; }
.legal-body h1 { font-size: clamp(34px, 4.4vw, 52px); }
.legal-body h2 { font-size: 26px; margin-top: 36px; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body a { color: var(--mint); }

/* ---------- /renkler: RAL renkleri (aile atlama bağlantıları satır satır) ---------- */
.ral-head { padding: calc(clamp(104px, 12vw, 140px) + var(--ust-ek)) 0 8px; }
.ral-head h1 { font-size: clamp(40px, 5.4vw, 64px); }
.ral-head h1 em { font-style: italic; color: var(--mint); }
.ral-head .lead { max-width: 680px; }
.ral-disclaimer {
  display: inline-block; margin: 4px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--surface);
  border: 1px solid var(--line); color: var(--muted); font-size: 14.5px;
}
.ral-disclaimer a { color: var(--mint); font-weight: 700; }
.ral-section { padding: 28px 0 56px; }
.ral-section h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 18px; }
.ral-featured { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 16px; }
.ral-card { display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; }
.ral-card-sw {
  display: block; aspect-ratio: 3 / 2; margin-bottom: 10px; border-radius: 12px;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .16);
}
.ral-card-code { font-weight: 800; }
.ral-card-name { font-weight: 600; }
.ral-card-en { color: var(--muted); font-size: 13px; }
.ral-all { padding-top: 8px; }
.ral-all-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.ral-count { margin: 0 0 16px; color: var(--muted); font-weight: 600; }
.ral-filter { display: grid; gap: 6px; max-width: 420px; margin: 0 0 16px; }
.ral-filter label { font-weight: 700; font-size: 14px; }
.ral-filter input, .lb-color-panel input {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px;
}
.ral-filter input:focus, .lb-color-panel input:focus { border-color: var(--mint); }
.ral-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.ral-jump a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700;
  border: 1.5px solid var(--line); background: var(--surface); text-decoration: none;
}
.ral-jump a:hover { border-color: var(--mint); }
.tab-count, .ral-fam-count {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0; padding: 1px 8px; border-radius: 999px;
  background: rgba(143, 216, 184, .14); color: var(--mint);
}
.ral-empty { margin: 8px 0 0; padding: 20px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--line); color: var(--muted); }
.ral-families { margin-top: 28px; }
/* aile bağlantısıyla gelince başlığın üstünde boşluk; üst çubuğun payı kökteki scroll-padding-top'ta (main.js → initCovers; önce
   burada 96px = üst çubuk 80 + 16) */
.ral-family { margin-top: 28px; scroll-margin-top: 16px; }
.ral-family:first-child { margin-top: 0; }   /* iki sütunda ikinci sütunun başı da hizalı (sütun kırılımında boşluk düşer) */
/* geniş ekranda aileler iki sütunda (sayfa yarı boyda); aile bölünmez */
@media (min-width: 1025px) {
  .ral-families { columns: 2; column-gap: 48px; }
  .ral-family { break-inside: avoid; }
}
.ral-family h3 { display: flex; align-items: center; gap: 10px; font-size: 26px; margin-bottom: 8px; flex-wrap: wrap; }
.ral-table-wrap { overflow-x: auto; }
.ral-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ral-table th, .ral-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ral-table thead th { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom-width: 2px; }
.ral-table tbody th { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ral-table td:first-child { width: 76px; }
.ral-sw { display: block; width: 52px; height: 30px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .16); }
/* etkili renk (İnci / Fosforlu / Metalik; ral.mjs → ralEffect): kodun yanında etiket (tablo, öne çıkan kart, lightbox listesi) */
.ral-fx, .lb-ral-fx {
  font-family: var(--sans); font-size: 11.5px; font-weight: 700; line-height: 1.5; letter-spacing: 0; padding: 0 7px; border-radius: 999px;
  background: rgba(143, 216, 184, .14); color: var(--mint); white-space: nowrap;
}
.ral-fx-note { margin: -4px 0 16px; max-width: 72ch; color: var(--muted); font-size: 14.5px; }
.ral-noname { color: var(--muted); }
.ral-links { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 72px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 10, 9, .96);
  display: flex; align-items: center; justify-content: center;
  padding: 72px calc(72px + var(--safe-r)) calc(96px + var(--safe-b)) calc(72px + var(--safe-l));
  container-type: size;   /* görselin boyu kutunun içine göre (cqw / cqh; aşağıda) */
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
/* büyük görsel yüklenmeden de doğru boyutta (main.js: kutunun data-w / data-h'si → --w / --h): kutunun
   içine sığan en büyük boy, özgününden büyük değil (yüklendikten sonra eskisiyle aynı); yüklenene kadar kutunun küçük görseli
   arka planda. Yüklenirken görselin alanına dokunmak kapatmaz (arka plana dokunma kapatır) */
.lightbox img.lb-sized {
  width: min(calc(var(--w) * 1px), 100cqw, calc(100cqh * var(--w) / var(--h))); height: auto; aspect-ratio: var(--w) / var(--h);
  background: center / cover no-repeat;
}
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(30, 35, 32, .7); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lb-btn:hover { border-color: var(--mint); color: var(--mint); }
.lb-btn svg { width: 22px; height: 22px; }
#lb-close { top: 16px; right: calc(16px + var(--safe-r)); }
#lb-prev { left: calc(16px + var(--safe-l)); top: 50%; transform: translateY(-50%); }
#lb-next { right: calc(16px + var(--safe-r)); top: 50%; transform: translateY(-50%); }
.lb-bar {
  position: absolute; left: 0; right: 0; bottom: calc(20px + var(--safe-b)); display: flex; justify-content: center; align-items: center; gap: 20px;
  color: var(--muted); font-size: 14px;
}
/* Çubuk tam genişlikte; boş alanı mobilde altta kalan okların tıklamasını engellemesin */
.lb-bar { pointer-events: none; }
.lb-bar .btn { padding: 10px 18px; font-size: 14px; pointer-events: auto; }
/* renk (isteğe bağlı): seçili rengin örneği ve adı; × rengi kaldırır */
.lb-color { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; pointer-events: auto; }
.lb-color-btn {
  display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; padding: 10px 16px; border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); background: rgba(30, 35, 32, .7);
  border: 1.5px solid rgba(242, 239, 232, .45); cursor: pointer; white-space: nowrap;
}
.lb-color-btn:hover { border-color: var(--mint); color: var(--mint); }
#lb-color-text { overflow: hidden; text-overflow: ellipsis; }
.lb-color-sw { flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.has-color .lb-color-sw { background: var(--c); box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .4); }
.no-swatch .lb-color-sw, .lb-ral-sw-none { background: repeating-linear-gradient(135deg, #3a423d 0 4px, #1e2320 4px 8px); }
.lb-color-clear, .lb-color-close {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(30, 35, 32, .7);
  color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.lb-color-clear:hover, .lb-color-close:hover { border-color: var(--mint); color: var(--mint); }
.lb-color-clear svg, .lb-color-close svg { width: 16px; height: 16px; }
/* renk listesi: geniş ekranda alt çubuğun üstünde; dar ekranda üstte (ekran klavyesi alttan açılır) */
.lb-color-panel {
  position: absolute; z-index: 2; left: 50%; bottom: calc(84px + var(--safe-b)); transform: translateX(-50%);
  width: min(420px, calc(100% - 32px)); max-height: min(560px, calc(100% - 168px - var(--safe-b)));
  display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 16px 48px rgba(0, 0, 0, .6);
}
.lb-color-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lb-color-head label { font-weight: 700; font-size: 15px; }
.lb-color-head small { font-size: 13px; font-weight: 500; color: var(--muted); }
.lb-color-status { margin: 0; font-size: 13px; color: var(--muted); }
.lb-color-list { list-style: none; margin: 0 -6px; padding: 0; min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
.lb-color-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-size: 14.5px; line-height: 1.35; }
.lb-color-list li:hover, .lb-color-list li.active { background: var(--surface-2); }
.lb-color-list li.active { box-shadow: inset 0 0 0 1.5px var(--mint); }
/* seçili renk: sağda onay işareti */
.lb-color-list li[aria-selected="true"]::after {
  content: ""; flex: none; width: 12px; height: 7px; margin: 0 4px 3px auto; border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint); transform: rotate(-45deg);
}
.lb-ral-sw { flex: none; width: 30px; height: 20px; border-radius: 5px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .2); }
.lb-ral-code { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-ral-name { color: var(--muted); }
.lb-color-note { margin: 0; font-size: 13px; color: var(--muted); }
.lb-color-note a { color: var(--mint); font-weight: 700; }
/* Lightbox açıkken arkadaki sabit WhatsApp butonu / mobil alt çubuk görünmesin */
body:has(.lightbox:not([hidden])) :is(.wa-float, .mobile-bar) { visibility: hidden; }
/* Çerez bandı açıkken de (main.js → initConsent: <html class="consent-open">): bandın altında kalıyorlardı, görünmeden Tab'la
   odaklanıyorlardı. "Hızlı iletişim" bölgesi de gizli (boş kalmasın); JavaScript kapalıyken sınıf yok */
.consent-open :is(.quick-contact, .wa-float, .mobile-bar) { visibility: hidden; }
/* Dokunmatik: tek parmak hareketi sayfa kaydırması sayılmaz (kaydırmayı main.js izler), iki parmak yakınlaştırır
   (pinch-zoom); yakınlaştırılmışken tek parmak görünen alanı
   kaydırır (.lb-zoomed, main.js). Butonlara art arda hızlı dokunmak sayfayı yakınlaştırmasın (manipulation: çift dokunma yok) */
.lightbox { touch-action: pinch-zoom; overscroll-behavior: contain; }
.lightbox.lb-zoomed { touch-action: pan-x pan-y pinch-zoom; }
.lightbox :is(button, a, input) { touch-action: manipulation; }
/* renk listesi kendi içinde dikey kayar (main.js bu alandaki dokunuşları eser kaydırması saymaz) */
.lb-color-panel, .lb-color-list { touch-action: pan-y; }

/* ---------- WhatsApp sabit & mobil bar ---------- */
.wa-float {
  position: fixed; right: calc(20px + var(--safe-r)); bottom: calc(20px + var(--safe-b)); z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.mobile-bar { display: none; }

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

/* ---------- responsive ---------- */
/* dar masaüstü / yatay tablet: "Renkler" bağlantısıyla menü sığsın (aralıklar sıkışır; logo üretimdeki gibi) */
@media (min-width: 861px) and (max-width: 1024px) {
  .nav { gap: 2px; }
  .nav a { padding: 10px 10px; }
  .nav .btn { margin-left: 6px; padding: 11px 16px; }
}
@media (max-width: 1024px) {
  .ral-featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(3) { padding-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .consent-box { grid-template-columns: 1fr; }
  .consent-actions { justify-content: stretch; }
  /* esas boy calc(7em - 43px): 1×'te 62 px (dört düğme 280 px'e sığar; önceki 0 gibi satır kırmaz, eşit), 2×'te 167 px (yazının
     tamamı: sığmayan düğme alt satıra) */
  .consent-btn { flex: 1 1 calc(7em - 43px); min-width: 0; }
  .section { padding: 80px 0; }
  .ref-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ref-grid > .ref:nth-child(n):nth-last-child(n) { grid-column: auto / span 2; }   /* masaüstünün son satır kuralları (aynı özgüllük) geçmez */
  .ref-grid > .ref:nth-child(2n + 1):last-child { grid-column: 2 / span 2; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px max(20px, var(--safe-r)) 20px max(20px, var(--safe-l)); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 12px 0 0; border-bottom: 0; }
  .nav .btn-ig { order: -1; margin: 0 0 12px; }   /* açık menünün ilk satırı, tam genişlik */
  .header .container { gap: 10px; }
  .header-ig { display: inline-flex; margin-left: auto; }   /* menü düğmesinin hemen solunda */
  .header:has(.nav.open) { background: var(--bg); }
  .intro, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid > * { min-width: 0; }
  .intro-media { max-width: 480px; margin-left: 14px; }
  .intro-media::before { inset: -14px 14px 14px -14px; }
  .gallery { columns: 2; column-gap: 10px; }
  .work { margin-bottom: 10px; }
  .scroll-hint { display: none; }
  .lightbox { padding: 72px calc(12px + var(--safe-r)) calc(196px + var(--safe-b)) calc(12px + var(--safe-l)); }
  #lb-prev, #lb-next { top: auto; bottom: calc(16px + var(--safe-b)); transform: none; }
  /* yukarıdan aşağı: renk, WhatsApp, sayaç (oklar sayacın iki yanında) */
  .lb-bar { flex-direction: column; gap: 12px; bottom: calc(30px + var(--safe-b)); padding: 0 16px; }
  #lb-count { order: 3; }
  .lb-color-panel {
    top: calc(12px + env(safe-area-inset-top, 0px)); bottom: auto; left: calc(12px + var(--safe-l)); right: calc(12px + var(--safe-r));
    transform: none; width: auto; max-height: calc(var(--vvh, 100vh) - 24px - env(safe-area-inset-top, 0px));
  }
}
@media (max-width: 600px) {
  /* alt çubuğun payı: JavaScript'siz yedek; JavaScript açıkken main.js → initCovers ölçer (yazı büyütülünce çubuk da büyür) */
  body { padding-bottom: calc(72px + var(--safe-b)); }
  /* alt çubuk ev çizgisi payı kadar uzarsa hero butonları altında kalmasın */
  .hero .container { padding-bottom: calc(88px + var(--safe-b)); }
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 28px 0; border-right: 0; border-top: 1px solid var(--line); }
  .services { border-top: 0; }
  .stats strong { font-size: 32px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .ref-grid { gap: 12px; }
  .ref { min-height: 80px; padding: 12px 10px; }
  .ref-text span { font-size: 19px; }
  .hero-actions .btn { flex: 1; }
  .wa-float { display: none; }
  .footer .container { padding-right: max(20px, var(--safe-r)); }
  .ral-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .ral-table th, .ral-table td { padding: 8px; }
  .ral-table td:first-child { width: 60px; }
  .ral-sw { width: 44px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px max(12px, var(--safe-r)) calc(10px + var(--safe-b)) max(12px, var(--safe-l)); background: rgba(15, 18, 17, .96);
    border-top: 1px solid var(--line); backdrop-filter: blur(10px);
  }
  .mobile-bar .btn { padding: 12px; }
}
/* ---------- kısa yatay ekran (yan çevrilmiş telefon) ----------
   Yalnızca yüksekliği 500px'ten az yatay ekranlar; dikey telefon, tablet ve masaüstü etkilenmez. */
@media (orientation: landscape) and (max-height: 500px) {
  /* ince header */
  :root { --ust-taban: 61px; }
  .header .container { min-height: 60px; }
  .logo-mark { width: 28px; height: 28px; }
  .logo-text { font-size: 22px; }
  .nav-toggle { width: 40px; height: 40px; }
  .nav a { padding-top: 10px; padding-bottom: 10px; }
  /* hero: başlık küçük; açıklama ve butonlar ilk ekranda */
  .hero .container { padding-top: calc(76px + var(--ust-ek)); padding-bottom: 28px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero h1 { font-size: 34px; max-width: 22ch; margin-bottom: 10px; }
  .hero p { font-size: 16px; max-width: 64ch; margin-bottom: 16px; }
  .scroll-hint { display: none; }
  /* 404 */
  .notfound { padding: calc(76px + var(--ust-ek)) 0 28px; }
  .notfound-code { font-size: 72px; margin-bottom: 6px; }
  .notfound h1 { font-size: 30px; }
  .notfound p { font-size: 16px; margin-bottom: 18px; }
  /* lightbox: oklar yanlarda, alt çubuk tek satır, fotoğraf olabildiğince büyük */
  .lightbox { padding: 12px calc(76px + var(--safe-r)) calc(60px + var(--safe-b)) calc(76px + var(--safe-l)); }
  #lb-close { top: 12px; right: calc(12px + var(--safe-r)); }
  #lb-prev, #lb-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  #lb-prev { left: calc(12px + var(--safe-l)); }
  #lb-next { right: calc(12px + var(--safe-r)); }
  .lb-bar { flex-direction: row; gap: 16px; bottom: calc(10px + var(--safe-b)); }
  #lb-count { order: 0; }
  .lb-bar .btn, .lb-color-btn { padding: 8px 16px; font-size: 13px; }
  .lb-color-clear { width: 36px; height: 36px; }
  /* sabit WhatsApp butonu küçük */
  .wa-float { width: 48px; height: 48px; right: calc(12px + var(--safe-r)); bottom: calc(12px + var(--safe-b)); }
  .wa-float svg { width: 24px; height: 24px; }
}
/* ---------- yazı büyütülünce (2× yazı; tarayıcının yazı boyutu ayarı) ----------
   Kapsayıcı sorguları em ile: koşul kapsayıcının yazı boyutuna göre (1×'te 16 px, 2× yazıda 32 px). Eşikler her ekran aralığında
   1×'in en dar durumunun altında: 1×'te hiçbir genişlikte doğru olmaz (düzen bugünküyle aynı), 2× yazıda doğru olur. */
/* üst çubuk: menü satırı 2× yazıda sığmıyorsa dar menü (≤ 860 px'teki kuralların aynısı; ≤ 860 px'te zaten dar menü). Koşullar:
   861 px'ten geniş ekranda çubuk (ekran genişliği) 53,8em'den dar (1×'te 860,8 px: hiç; 2×'te 1721,6 px), ya da 1280 px'ten geniş
   ekranda içerik kutusu (en çok 1240 px) 51,3em'den dar (1×'te 820,8 px: hiç; 2×'te 1641,6 px: her zaman). Kapsayıcı kendini
   biçimleyemediği için .header .container'ın aralığı ve açık menüde çubuğun zemini bu bloklarda öğelerle: menü düğmesinin eksi
   payı, açık menünün üstünde çubuğu kaplayan ::before (istifleme bağlamı .header: z-index -1, çubuğun içeriğinin altında) */
@media (min-width: 861px) { @container cubuk (width < 53.8em) {
  .nav-toggle { display: inline-flex; margin-left: -10px; }   /* boşluk 10 px (≤ 860 px'teki gap gibi) */
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px max(20px, var(--safe-r)) 20px max(20px, var(--safe-l)); display: none;
  }
  .nav.open { display: flex; }
  .nav.open::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh; z-index: -1; background: var(--bg); }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 12px 0 0; border-bottom: 0; }
  .nav .btn-ig { order: -1; margin: 0 0 12px; }
  .header-ig { display: inline-flex; margin-left: auto; }
} }
@media (min-width: 1281px) { @container icerik (width < 51.3em) {
  .nav-toggle { display: inline-flex; margin-left: -10px; }   /* boşluk 10 px (≤ 860 px'teki gap gibi) */
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px max(20px, var(--safe-r)) 20px max(20px, var(--safe-l)); display: none;
  }
  .nav.open { display: flex; }
  .nav.open::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh; z-index: -1; background: var(--bg); }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 12px 0 0; border-bottom: 0; }
  .nav .btn-ig { order: -1; margin: 0 0 12px; }
  .header-ig { display: inline-flex; margin-left: auto; }
} }
/* rozetler: 2× yazıda alt alta, eşit. Eşik her ekran aralığında 1×'teki en dar rozet satırının altında (1×'te satır 320–383 px'te
   17,5–21,4em, 384–600 px'te 21,5–35em, 601–860 px'te 35–51,3em, ≥ 861 px'te 23,2–35em), 2× yazıda üstünde */
@media (max-width: 383px) { @container (width < 17.5em) { .stats > div { grid-column: 1 / -1; } } }
@media (min-width: 384px) and (max-width: 600px) { @container (width < 21.5em) { .stats > div { grid-column: 1 / -1; } } }
@media (min-width: 601px) and (max-width: 860px) { @container (width < 30em) { .stats > div { grid-column: 1 / -1; } } }
@media (min-width: 861px) { @container (width < 20em) { .stats > div { grid-column: 1 / -1; } } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
