/* ============================================================
   Temurgen — ana stil dosyası (sinematik koyu tema)
   Kurallar için DESIGN.md dosyasına bakın.
   ============================================================ */

:root {
  --siyah: #000000;
  --gece: #0a0a0a;
  --koyu-yuzey: #141414;
  --beyaz: #ffffff;
  --kagit: #f3f3f1;
  --beton: #bdbcb8;
  --celik: #5e6064;
  --cizgi: #2a2a2a;
  --cizgi-acik: #d8d8d5;

  --font: "Lexend", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 11vw, 160px);
  --header-h: 76px;

  /* Bağlama göre değişen tonlar (varsayılan: koyu zemin) */
  --line: rgba(255, 255, 255, .14);
  --muted: rgba(255, 255, 255, .68);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--beyaz);
  background: var(--gece);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

a { color: inherit; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Sabit üst menünün altında kalmasın */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.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;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--beyaz); color: var(--siyah);
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Açık zeminli bölümler tonları tersine çevirir */
.tone-light {
  --line: var(--cizgi-acik);
  --muted: var(--celik);
  background: var(--beyaz); color: var(--siyah);
}
.tone-paper {
  --line: var(--cizgi-acik);
  --muted: var(--celik);
  background: var(--kagit); color: var(--siyah);
}

/* ---------- Tipografi ---------- */

.display,
.h1,
.h2,
.h3 { font-weight: 600; text-wrap: balance; }

.display { font-size: clamp(3rem, 8.2vw, 7.75rem); line-height: .96; font-weight: 700; letter-spacing: -0.045em; }
.h1 { font-size: clamp(2.75rem, 6.6vw, 6rem); line-height: .98; font-weight: 700; letter-spacing: -0.04em; }
.h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; }
.h4 { font-size: 1.1875rem; line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }

.lead { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.55; max-width: 36rem; color: var(--muted); }
.section-intro { font-size: 1.125rem; max-width: 36rem; color: var(--muted); }

/* Sıra numarası: 01, 02, 03 — yalnızca gerçek sıralı/numaralı içerikte */
.num {
  font-weight: 300; font-variant-numeric: tabular-nums;
  font-size: .9375rem; letter-spacing: .02em; color: var(--muted);
}

/* ---------- Butonlar ve bağlantılar ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font: inherit; font-weight: 500; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; border-radius: 0;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }

.btn-light { background: var(--beyaz); color: var(--siyah); border-color: var(--beyaz); }
.btn-light:hover { background: transparent; color: var(--beyaz); }

.btn-outline-light { background: transparent; color: var(--beyaz); border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { background: var(--beyaz); color: var(--siyah); border-color: var(--beyaz); }

.btn-dark { background: var(--siyah); color: var(--beyaz); border-color: var(--siyah); }
.btn-dark:hover { background: transparent; color: var(--siyah); }

/* Açılış butonları (.hbtn): çerçevesiz, yumuşak geçişli.
   Birincil: yazı + oklu beyaz kare; üzerine gelince kare sola uzayıp yazının altını doldurur.
   İkincil: yazı + ok + ince alt çizgi; çizgi sağa silinip soldan yeniden çizilir. */
.hbtn {
  --ease: cubic-bezier(.65, 0, .35, 1);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; min-height: 48px;
  font: inherit; font-weight: 500; font-size: 1rem; color: var(--beyaz); text-decoration: none;
}
.hbtn-arrow { display: inline-block; transition: transform .6s var(--ease); }

.hbtn-primary { padding-left: 24px; gap: 20px; }
.hbtn-primary .hbtn-text { transition: color .5s var(--ease) .05s; }
.hbtn-primary .hbtn-arrow {
  display: grid; place-items: center; width: 48px; height: 48px;
  color: var(--siyah);
}
.hbtn-bg {
  position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 48px;
  background: var(--beyaz);
  transition: width .7s var(--ease);
}
.hbtn-primary:hover .hbtn-bg,
.hbtn-primary:focus-visible .hbtn-bg { width: 100%; }
.hbtn-primary:hover .hbtn-text,
.hbtn-primary:focus-visible .hbtn-text { color: var(--siyah); }
.hbtn-primary:hover .hbtn-arrow,
.hbtn-primary:focus-visible .hbtn-arrow { transform: translateX(4px); }

.hbtn-link { gap: 12px; padding: 0 2px; }
.hbtn-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: currentColor; opacity: .7; transform-origin: left;
}
.hbtn-link:hover::after,
.hbtn-link:focus-visible::after { animation: cizgi-yenile .9s var(--ease); }
.hbtn-link:hover .hbtn-arrow,
.hbtn-link:focus-visible .hbtn-arrow { transform: translateX(6px); }
@keyframes cizgi-yenile {
  0%   { transform: scaleX(1); transform-origin: right; }
  50%  { transform: scaleX(0); transform-origin: right; }
  50.1% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.link:hover { text-decoration-thickness: 3px; }

.arrow { display: inline-block; transition: transform .25s; }
a:hover .arrow { transform: translateX(4px); }

/* ---------- Üst bölüm ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--beyaz);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(10, 10, 10, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: auto; height: 32px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 28px; list-style: none; padding: 0; }
.nav ul a {
  display: inline-block; padding: 10px 0;
  text-decoration: none; font-size: .9375rem;
  border-bottom: 1px solid transparent;
}
.nav ul a:hover,
.nav ul a[aria-current="page"] { border-bottom-color: currentColor; }

/* Açılır alt menü (Faaliyet alanları) */
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle {
  width: 32px; height: 44px; margin-left: 2px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.sub-toggle::before {
  content: ""; width: 7px; height: 7px; margin-top: -4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); margin-top: 4px; }
.nav .subnav {
  display: none; position: absolute; top: 100%; left: -20px; min-width: 240px;
  flex-direction: column; gap: 0; padding: 8px 0;
  background: rgba(10, 10, 10, .96); border: 1px solid var(--line);
}
.has-sub:hover > .subnav,
.has-sub.is-open > .subnav { display: flex; }
.nav .subnav a { display: block; padding: 12px 20px; min-height: 44px; border-bottom: 0; }
.nav .subnav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line); color: var(--beyaz); cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block; width: 20px; height: 1.5px; margin: 0 auto;
  background: currentColor; position: relative;
  transition: transform .25s, opacity .2s;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Fotoğraflı açılış ---------- */

.hero,
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--gece); color: var(--beyaz);
}
.hero { min-height: 100svh; }
.page-hero { min-height: 78svh; }

.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--koyu-yuzey); }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; }

/* Fotoğraf karartması: metin her zaman okunur kalsın */
.hero::before,
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--gece) 0%, rgba(10, 10, 10, .6) 42%, rgba(10, 10, 10, .3) 100%),
    linear-gradient(to right, rgba(10, 10, 10, .78) 0%, rgba(10, 10, 10, 0) 72%);
}

.hero-content { padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero .lead,
.page-hero .lead { margin-top: 28px; color: rgba(255, 255, 255, .8); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Ana sayfa açılışı (.hero-center): logo + tek satır başlık + metin ortada,
   dizin şeridi altta. Diğer sayfaların açılışı sola hizalı kalır. */
.hero-center .hero-content {
  flex: 1; display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(16px, 3vh, 32px));
}
.hero-intro {
  flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
/* Logo esnek: başlık, metin, butonlar ve şerit yerleştikten sonra kalan yüksekliğin
   tamamını kaplar (en az 72, en çok 400 px); genişlik orandan gelir. */
.hero-mark {
  flex: 1 1 0; min-height: 72px; max-height: 520px;
  width: auto; height: auto; aspect-ratio: 1278 / 1107; max-width: 100%;
  margin-bottom: clamp(20px, 3vh, 36px);
}
.hero-center .display { font-size: clamp(2.25rem, 4.4vw, 4.25rem); line-height: 1.05; letter-spacing: -0.035em; }
/* Açıklama masaüstünde iki dengeli satır */
.hero-center .lead { margin-inline: auto; max-width: 66rem; font-size: clamp(1rem, 1.4vw, 1.3125rem); text-wrap: balance; }
.hero-center .actions { justify-content: center; align-items: center; gap: 16px 36px; }
@media (max-width: 640px) {
  .hero-center .actions { flex-direction: column; gap: 12px; }
}
.hero-center .index-strip { width: 100%; margin-top: clamp(24px, 4vh, 48px); }
.lead-kisa { display: none; } /* telefonda gösterilen kısa açıklama (aşağıdaki 640 px kuralı) */
@media (min-width: 641px) { .hero-center .display { white-space: nowrap; } }
/* Telefon: başlık ekran genişliğine göre ölçeklenip tek satır; üçgen logo en az ekran genişliğinin yarısı */
@media (max-width: 640px) {
  .hero-center .display { font-size: 5.9vw; white-space: nowrap; letter-spacing: -0.03em; }
  .hero-mark { min-height: 50vw; }
  /* Telefonda kısa açıklama, iki dengeli satır (masaüstünde uzun metin) */
  .hero-center .lead { max-width: 25em; font-size: clamp(.8125rem, 4vw, 1rem); text-wrap: balance; }
  .lead-uzun { display: none; }
  .hero-center .lead-kisa { display: inline; }
}
/* Alçak pencerede (ör. 1366×768 ekranda ~620 px) boşluklar sıkılaşır; logo yer kazanır */
@media (min-width: 641px) and (max-height: 700px) {
  .hero-center .hero-content { padding-bottom: 24px; }
  .hero-center .lead { margin-top: 16px; }
  .hero-center .actions { margin-top: 24px; }
  .hero-center .index-strip { margin-top: 24px; }
  .hero-center .index-strip a { min-height: 56px; padding-top: 14px; padding-bottom: 14px; }
}

/* Açılış slaytı (.hs, js/main.js): yan yana 3 panel, aralarında ~35° çapraz, konturlu çizgi.
   Paneller JS ile paralelkenar biçiminde kesilir (clip-path); görseller sırayla değişir.
   Farklı ışıktaki görseller ortak tonla (düşük doygunluk, karartma) birbirine yaklaştırılır. */
.hs { overflow: hidden; }
.hs-panel { position: absolute; inset: 0; overflow: hidden; }
.hs-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.68) brightness(.64) contrast(1.06);
  opacity: 0; transition: opacity 1.4s ease;
}
.hs-panel img.is-on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hs-panel img.is-zoom { animation: hs-yaklas 9s cubic-bezier(.2, .6, .2, 1) both; }
}
@keyframes hs-yaklas { from { transform: scale(1.12); } to { transform: scale(1); } }
/* Telefonda metin fotoğrafın ayrıntılı kısımlarına denk gelir; görseller biraz daha koyu */
@media (max-width: 640px) { .hs-panel img { filter: saturate(.62) brightness(.54) contrast(1.05); } }
.hs-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hs-lines .kontur { stroke: rgba(0, 0, 0, .55); stroke-width: 6; }
.hs-lines .cizgi { stroke: rgba(255, 255, 255, .85); stroke-width: 1.5; }

/* Ortalanmış açılışta karartma: ortada metin için hafif koyuluk, altta zemine geçiş */
.hero-center::before {
  background:
    linear-gradient(to top, var(--gece) 0%, rgba(10, 10, 10, .25) 32%, rgba(10, 10, 10, .4) 100%),
    radial-gradient(ellipse 58% 52% at 50% 58%, rgba(5, 5, 5, .72), rgba(5, 5, 5, .15));
}
/* Hareketli görselin üstünde metin net seçilsin: yumuşak yazı gölgesi */
.hero-center .display,
.hero-center .lead,
.hero-center .hbtn-link,
.hero-center .hbtn-primary .hbtn-text { text-shadow: 0 2px 18px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .45); }
.hero-center .hbtn-primary:hover .hbtn-text,
.hero-center .hbtn-primary:focus-visible .hbtn-text { text-shadow: none; }
.hero-mark { filter: drop-shadow(0 6px 28px rgba(0, 0, 0, .45)); }

/* Açılışın altındaki dizin şeridi */
.index-strip {
  list-style: none; padding: 0; margin-top: clamp(48px, 8vw, 96px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.index-strip a {
  display: flex; align-items: baseline; gap: 16px;
  min-height: 72px; padding: 22px 24px 22px 0;
  text-decoration: none; font-size: 1.0625rem; font-weight: 500;
}
.index-strip li + li a { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .22); }
.index-strip .arrow { margin-left: auto; font-weight: 300; }
.index-strip a:hover span:not(.num):not(.arrow) { text-decoration: underline; text-underline-offset: 6px; }

/* Paralaks (js/main.js): fotoğraf katmanı kaydırmayla yavaş kayar.
   Çağrı bandında fotoğraf, kayarken boşluk kalmasın diye üstten/alttan taşırılır. */
.has-parallax .hero-media,
.has-parallax .hero-content { will-change: transform; }
.has-parallax .cta-band .hero-media { inset: -180px 0; }

/* Açılış fotoğrafında hafif yakınlaşma (hareket azaltma kapalıysa) */
@media (prefers-reduced-motion: no-preference) {
  .hero-media > img { animation: yaklas 9s cubic-bezier(.2, .6, .2, 1) both; }
}
@keyframes yaklas { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Bölümler ---------- */

.section { position: relative; isolation: isolate; padding: var(--section-y) 0; }

/* Aynı tonda art arda gelen iki bölümde boşluk ikiye katlanmasın:
   ikinci bölümün üst boşluğu kalkar, aradaki mesafe tek bölüm boşluğu olur. */
.section:not(.tone-light):not(.tone-paper) + .section:not(.tone-light):not(.tone-paper),
.section.tone-light + .section.tone-light,
.section.tone-paper + .section.tone-paper { padding-top: 0; }

/* Soyut hareketli zemin (js/main.js ekler): logodaki üçgenden türeyen, ince çizgili,
   çok soluk üçgenler; yavaşça süzülür, döner ve kaydırırken derinlikle kayar.
   Bilerek zor fark edilir tutulur. */
.bg-flow {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  /* Bölüm kenarlarında söner; bölüm geçişlerinde kesik görünmez */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 160px, #000 calc(100% - 160px), transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 160px, #000 calc(100% - 160px), transparent);
}
.bg-flow .tri { position: absolute; display: block; will-change: transform; }
.bg-flow svg {
  display: block; width: 100%; height: auto; overflow: visible;
  transform: rotate(var(--r0));
  animation: suzul var(--d) ease-in-out var(--gecikme) infinite alternate;
}
.bg-flow polygon {
  fill: none; stroke: rgba(255, 255, 255, .085); stroke-width: 1;
  vector-effect: non-scaling-stroke; stroke-linejoin: miter;
}
.bg-flow .dolu polygon { fill: rgba(255, 255, 255, .022); }
.tone-light .bg-flow polygon,
.tone-paper .bg-flow polygon { stroke: rgba(0, 0, 0, .075); }
.tone-light .bg-flow .dolu polygon,
.tone-paper .bg-flow .dolu polygon { fill: rgba(0, 0, 0, .02); }
@keyframes suzul {
  from { transform: translate3d(0, 0, 0) rotate(var(--r0)); }
  to   { transform: translate3d(var(--dx), var(--dy), 0) rotate(calc(var(--r0) + var(--r1))); }
}


.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .section-intro { margin-top: 24px; }
.section-head-split {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px clamp(32px, 6vw, 96px);
  align-items: end;
}
.section-head-split .section-intro { margin-top: 0; }
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}

/* ---------- Faaliyet kartları (ana sayfa) ---------- */

.disc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0 20px;
}
.disc-label {
  padding: 14px 0 20px; border-top: 1px solid var(--line);
  font-size: .9375rem; color: var(--muted);
}
.disc-label-eng { grid-column: 1 / 3; }
.disc-label-ins { grid-column: 3 / 4; }

.card {
  position: relative; display: block; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--koyu-yuzey);
  color: var(--beyaz); text-decoration: none;
}
.card img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.8) brightness(.92);
  transition: transform .9s cubic-bezier(.2, .6, .2, 1), filter .6s;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10, 10, 10, .92) 0%, rgba(10, 10, 10, .35) 50%, rgba(10, 10, 10, .05) 100%);
}
.card:hover img,
.card:focus-visible img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.card:focus-visible { outline-offset: 4px; }
.card-body {
  position: absolute; inset: auto 0 0 0; padding: clamp(20px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 10px;
}
.card-body .num { color: rgba(255, 255, 255, .75); }
.card-body p { color: rgba(255, 255, 255, .8); max-width: 26rem; }
.card-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font-weight: 500; text-decoration: underline; text-underline-offset: 6px;
}

.list { list-style: none; padding: 0; margin: 20px 0 0; }
.list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.list li:first-child { border-top: 1px solid var(--line); }

/* ---------- Teknik çizim bölümü ---------- */

.statement {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.statement .section-intro { margin-top: 28px; }
.facts { list-style: none; padding: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.facts li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts strong { min-width: 9rem; font-weight: 500; }
.facts span { color: var(--muted); }

.drawing { position: relative; transition: opacity .5s ease; }
.drawing.is-fading { opacity: 0; }
.drawing svg { width: 100%; max-width: 480px; margin-left: auto; overflow: visible; }
.drawing figcaption {
  margin-top: 8px; text-align: right;
  font-size: .8125rem; font-weight: 300; color: var(--beton);
}
.drawing .d {
  fill: none; stroke: var(--beyaz); stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.drawing .strong { stroke-width: 2; }
.drawing .guide { stroke: var(--celik); stroke-dasharray: 6 6; }
.drawing .hatch { stroke: var(--celik); }
.drawing .lbl { fill: var(--beton); font-family: var(--font); font-size: 11px; font-weight: 300; }

/* Çizim, görünür alana girince kendini çizer */
@media (prefers-reduced-motion: no-preference) {
  .js .drawing .d:not(.guide) { stroke-dashoffset: 1; }
  .js .drawing.is-visible .d:not(.guide) {
    animation: ciz 1.6s cubic-bezier(.6, 0, .2, 1) forwards;
    animation-delay: calc(var(--i, 0) * 18ms + 150ms);
  }
  .js .drawing .guide,
  .js .drawing .lbl,
  .js .drawing figcaption { opacity: 0; }
  .js .drawing.is-visible .guide,
  .js .drawing.is-visible .lbl,
  .js .drawing.is-visible figcaption { animation: belir .8s ease forwards 1.8s; }
}
@keyframes ciz { to { stroke-dashoffset: 0; } }
@keyframes belir { to { opacity: 1; } }

/* ---------- Süreç ---------- */

.steps {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid currentColor;
}
.steps li { padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-no {
  display: block; margin-bottom: 36px; overflow: hidden;
  font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1.05; font-weight: 200; letter-spacing: -0.04em;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.step-no > span { display: block; transition: font-weight .5s cubic-bezier(.2, .7, .2, 1); }
.steps p { margin-top: 12px; color: var(--muted); }

/* Üzerine gelince: numara incecikten kalınlaşır ve hafifçe sağa kayar (Lexend değişken ağırlık) */
.steps li:hover .step-no { transform: translateX(8px); }
.steps li:hover .step-no > span { font-weight: 500; }

/* Giriş (js/main.js → .steps.is-in): numaralar maskenin altından yukarı kayar,
   başlık ve açıklama ardından belirir; adımlar soldan sağa sırayla gelir */
@media (prefers-reduced-motion: no-preference) {
  .js .steps .step-no > span { transform: translateY(105%); }
  .js .steps h3,
  .js .steps p { opacity: 0; transform: translateY(14px); }
  .js .steps.is-in .step-no > span {
    transform: none;
    transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) calc(var(--k, 0) * 150ms), font-weight .5s cubic-bezier(.2, .7, .2, 1);
  }
  .js .steps.is-in h3,
  .js .steps.is-in p {
    opacity: 1; transform: none;
    transition: opacity .8s ease calc(var(--k, 0) * 150ms + 350ms), transform .9s cubic-bezier(.2, .7, .2, 1) calc(var(--k, 0) * 150ms + 350ms);
  }
  .js .steps.is-in p { transition-delay: calc(var(--k, 0) * 150ms + 470ms); }
}

/* ---------- Projeler ---------- */

/* Galeri (ana sayfa önizlemesi ve projeler.html) */
.notice {
  max-width: 48rem; margin-bottom: 40px; padding: 16px 20px;
  border: 1px solid var(--line); background: rgba(10, 10, 10, .72); color: var(--muted);
}
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter button {
  min-height: 44px; padding: 0 18px;
  font: inherit; font-size: .9375rem; color: inherit;
  background: rgba(10, 10, 10, .6); border: 1px solid var(--line); border-radius: 0;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.filter button:hover { border-color: currentColor; }
.filter button[aria-pressed="true"] { background: var(--beyaz); color: var(--siyah); border-color: var(--beyaz); }

.gallery {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 20px;
}
.work[hidden] { display: none; }
/* Kart sıradaki en uzun kart kadar uzar; yer/yıl satırı en alta oturur → aynı sıradaki kartlarda aynı hizada */
.work { display: flex; }
.work-open {
  display: flex; flex-direction: column; width: 100%; padding: 0;
  font: inherit; color: inherit; text-align: left; text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.work-open:focus-visible { outline-offset: 6px; }
.work-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--koyu-yuzey); }
.work-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.8) brightness(.92);
  transition: transform .9s cubic-bezier(.2, .6, .2, 1), filter .6s;
}
.work-open:hover img,
.work-open:focus-visible img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px;
  font-size: .8125rem; background: rgba(10, 10, 10, .82); color: var(--beyaz);
}
.work-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-top: 18px; }
.work-cat { font-size: .875rem; color: var(--muted); }
.work-title { font-size: 1.25rem; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.work-open:hover .work-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.work-text { padding-bottom: 8px; color: var(--muted); }
.work-meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }

/* Büyük görünüm penceresi */
.lightbox {
  width: min(1200px, calc(100% - 32px)); max-width: none; max-height: calc(100svh - 32px);
  padding: 0; overflow: auto;
  background: var(--gece); color: var(--beyaz); border: 1px solid var(--line);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.lightbox-inner { display: grid; grid-template-columns: 1.6fr 1fr; }
.lightbox-media { position: relative; background: var(--koyu-yuzey); }
.lightbox-media img { width: 100%; height: 100%; max-height: calc(100svh - 34px); object-fit: cover; }
.lightbox-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px); padding-top: 72px; }
.lightbox-cat,
.lightbox-meta { font-size: .875rem; color: var(--muted); }
.lightbox-title { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.lightbox-text { color: var(--muted); }
.lightbox-nav { display: flex; gap: 8px; margin-top: auto; padding-top: 24px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  font: inherit; font-size: 1.125rem; color: inherit;
  background: transparent; border: 1px solid var(--line); border-radius: 0; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--beyaz); color: var(--siyah); border-color: var(--beyaz); }
.lightbox-close { position: absolute; top: 16px; right: 16px; z-index: 1; background: var(--gece); }

/* ---------- Fotoğraflı çağrı bandı ---------- */

.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 72svh; display: grid; place-items: center;
  padding: var(--section-y) 0; text-align: center; color: var(--beyaz); background: var(--gece);
}
.cta-band .hero-media img { filter: saturate(.85); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 10, 10, .66);
}
.cta-band .section-intro { margin: 24px auto 40px; color: rgba(255, 255, 255, .82); }

/* ---------- Faaliyet alanları sayfası ---------- */

.page-hero .hero-content { padding-bottom: clamp(32px, 5vw, 56px); }

.discipline + .discipline { margin-top: clamp(80px, 10vw, 140px); }
.discipline-head {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.discipline-head .num { display: block; margin-bottom: 18px; }
.discipline-head p { margin-top: 20px; color: var(--muted); max-width: 32rem; }

.media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--koyu-yuzey);
}
.tone-light .media,
.tone-paper .media { background: var(--cizgi-acik); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.services { list-style: none; padding: 0; margin-top: clamp(40px, 5vw, 64px); }
.service {
  display: grid; grid-template-columns: 1fr 1.6fr 240px; gap: 16px 40px;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service-text { max-width: 38rem; color: var(--muted); }
.service-text p + p { margin-top: 12px; }
.service .media { grid-column: 3; grid-row: 1; aspect-ratio: 4 / 3; }

/* ---------- Alt bölüm ---------- */

.site-footer { background: var(--siyah); color: var(--beton); padding: 80px 0 32px; border-top: 1px solid var(--cizgi); }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--cizgi);
}
.footer-logo { width: 140px; height: auto; }
/* Masaüstünde dikey logo, yanındaki adres ve menü sütunlarıyla aynı yükseklikte ölçeklenir.
   Logo satır yüksekliğini etkilemesin diye mutlak konumlu; yüksekliği yazı sütunları belirler. */
@media (min-width: 961px) {
  .footer-grid > div:first-child { position: relative; }
  .footer-logo { position: absolute; top: 0; left: 0; width: auto; height: 100%; }
}
.site-footer address { font-style: normal; }
/* Dokunma alanı 44 px; negatif kenar boşluğu satır aralığını korur */
.site-footer address a { display: inline-block; padding: 9px 0; margin: -3px 0; text-decoration: none; }
.site-footer address a:hover { color: var(--beyaz); text-decoration: underline; text-underline-offset: 4px; }
.site-footer strong { color: var(--beyaz); font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul a { display: inline-block; padding: 6px 0; text-decoration: none; }
.site-footer ul a:hover { color: var(--beyaz); text-decoration: underline; }
.footer-bottom { padding-top: 24px; font-size: .875rem; }

/* ---------- İkonlar (img/ikonlar.svg + <use>) ----------
   Yalnızca çizgi; renk yazı renginden gelir (koyu/açık bölümde kendiliğinden doğru). */
.ico {
  width: 28px; height: 28px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: square; stroke-linejoin: miter;
}

/* ---------- İkonlu özellik ızgarası ---------- */
.feature-grid {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 56px 40px;
}
.feature-grid.cols-4 { --cols: 4; }
.feature { padding-top: 28px; border-top: 1px solid var(--line); }
.feature .ico { width: 36px; height: 36px; margin-bottom: 24px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.feature:hover .ico { transform: translateY(-4px); }
.feature h3 { font-size: 1.1875rem; line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.feature p { margin-top: 10px; color: var(--muted); }

/* ---------- Metin + görsel ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.split-reverse > :first-child { order: 2; }
.prose > p { max-width: 38rem; color: var(--muted); }
.prose > p + p { margin-top: 16px; }
.prose > .h2 + p { margin-top: 28px; }
.prose > .h3 + p { margin-top: 20px; }
.media-tall { aspect-ratio: 4 / 5; }
.media-wide { aspect-ratio: 16 / 10; }

/* Onaylı liste */
.checklist { list-style: none; padding: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checklist .ico { width: 22px; height: 22px; margin-top: 2px; }
.checklist strong { display: block; font-weight: 500; }
.checklist span { color: var(--muted); }

/* ---------- Aşama zinciri (Tasarım → İmalat → Uygulama → Bakım) ---------- */
.chain {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid currentColor;
}
.chain li { position: relative; padding: 32px 36px 0 0; }
.chain li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.chain li:not(:last-child)::after {
  content: "→"; position: absolute; top: 36px; right: 12px;
  font-size: 1.25rem; font-weight: 300; color: var(--muted);
}
.chain .ico { width: 44px; height: 44px; margin-bottom: 28px; }
.chain h3 { font-size: 1.375rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
.chain p { margin-top: 10px; color: var(--muted); }

/* ---------- Vizyon / misyon ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.vm-item { padding-top: 28px; border-top: 2px solid currentColor; }
.vm-label { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.vm-item p {
  margin-top: 24px; font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.35;
  letter-spacing: -0.015em; text-wrap: balance;
}

/* ---------- İletişim kartları ---------- */
.contact-grid {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.contact-card { display: flex; flex-direction: column; gap: 8px; padding: 36px 28px 32px 0; }
.contact-card + .contact-card { padding-left: 28px; border-left: 1px solid var(--line); }
.contact-card .ico { width: 32px; height: 32px; margin-bottom: 16px; }
.contact-label { font-size: .875rem; color: var(--muted); }
.contact-value { font-size: 1.125rem; line-height: 1.45; font-weight: 500; }
.contact-value a { text-decoration: none; }
.contact-value a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-card .link { margin-top: auto; padding-top: 12px; }

/* ---------- Harita (siyah-beyaz) ---------- */
.map {
  position: relative; height: clamp(380px, 56vh, 600px);
  background: var(--koyu-yuzey); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(.92) contrast(.92) brightness(.96);
}
.map-overlay { position: absolute; inset: auto 0 32px 0; pointer-events: none; }
.map-card {
  pointer-events: auto; display: flex; gap: 16px; align-items: flex-start;
  max-width: 380px; padding: 24px 28px;
  background: var(--gece); border: 1px solid var(--line);
}
.map-card .ico { width: 28px; height: 28px; margin-top: 2px; }
.map-card strong { display: block; font-weight: 500; }
.map-card p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.map-card .link { min-height: 40px; margin-top: 6px; }

/* ---------- Form ---------- */
.form-layout { display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field > label,
.field > .label { font-size: .9375rem; font-weight: 500; }
.req { color: var(--muted); font-weight: 400; }
.input {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: inherit; color: var(--beyaz);
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .24); border-radius: 0;
  transition: border-color .2s, background-color .2s;
}
.input::placeholder { color: rgba(255, 255, 255, .38); }
.input:hover { border-color: rgba(255, 255, 255, .42); }
.input:focus { outline: none; border-color: var(--beyaz); background: rgba(255, 255, 255, .06); }
.input:focus-visible { outline: 2px solid var(--beyaz); outline-offset: 2px; }
textarea.input { min-height: 168px; resize: vertical; line-height: 1.55; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
select.input option { color: var(--siyah); }
.field.has-error .input,
.field.has-error .dropzone { border-color: var(--beyaz); border-width: 2px; }
.field-error { display: none; font-size: .875rem; }
.field.has-error .field-error { display: block; }
.hint { font-size: .875rem; color: var(--muted); }

/* Dosya alanı: sürükle-bırak */
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; min-height: 176px; padding: 28px; text-align: center;
  border: 1px dashed rgba(255, 255, 255, .38); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.dropzone:hover,
.dropzone.is-over { border-color: var(--beyaz); background: rgba(255, 255, 255, .04); }
.dropzone:focus-within { outline: 2px solid var(--beyaz); outline-offset: 3px; }
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone .ico { width: 34px; height: 34px; margin-bottom: 6px; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.dropzone:hover .ico,
.dropzone.is-over .ico { transform: translateY(-4px); }
.dz-title { font-weight: 500; }
.dz-title u { text-underline-offset: 4px; }
.dz-sub { font-size: .875rem; color: var(--muted); }

.file-list { list-style: none; padding: 0; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 4px 0 4px 2px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.file-list .ico { width: 20px; height: 20px; color: var(--muted); }
.file-list .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .size { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .875rem; }
.file-remove {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  color: inherit; background: none; border: 0; cursor: pointer;
}
.file-remove .ico { width: 18px; height: 18px; color: inherit; }
.file-remove:hover { background: rgba(255, 255, 255, .08); }

.quota { margin-top: 4px; }
.quota-bar { height: 2px; background: var(--line); overflow: hidden; }
.quota-fill { height: 100%; width: 0; background: var(--beyaz); transition: width .35s cubic-bezier(.2, .7, .2, 1); }
.quota-text { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Onay kutusu */
.check { display: flex; gap: 14px; align-items: flex-start; font-size: .9375rem; color: var(--muted); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none;
  display: grid; place-content: center; width: 22px; height: 22px; margin: 1px 0 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, .45); border-radius: 0; cursor: pointer;
}
.check input::before {
  content: ""; width: 12px; height: 12px; background: var(--beyaz);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  transform: scale(0); transition: transform .15s;
}
.check input:checked { border-color: var(--beyaz); }
.check input:checked::before { transform: scale(1); }
.check input:focus-visible { outline: 2px solid var(--beyaz); outline-offset: 3px; }
.check a { color: var(--beyaz); }

.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
button.hbtn { padding-top: 0; padding-bottom: 0; background: none; border: 0; cursor: pointer; }
button.hbtn[disabled] { opacity: .5; cursor: progress; }
.send-progress { display: none; flex: 1; min-width: 180px; }
.send-progress.is-shown { display: block; }
.form-status { grid-column: 1 / -1; display: none; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); }
.form-status.is-shown { display: flex; }
.form-status.is-error { border-color: var(--beyaz); }
.form-status .ico { width: 24px; height: 24px; }
.form-status a { color: var(--beyaz); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Form yanı: süreç listesi */
.side-title { font-size: 1.375rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
.side-list { list-style: none; padding: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.side-list li { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.side-list .ico { width: 26px; height: 26px; margin-top: 2px; }
.side-list strong { display: block; font-weight: 500; }
.side-list span { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.side-note { margin-top: 24px; font-size: .875rem; color: var(--muted); }

@media (max-width: 960px) {
  .feature-grid,
  .feature-grid.cols-4 { --cols: 2; }
  .split { grid-template-columns: 1fr; }
  .split-reverse > :first-child { order: 0; }
  .media-tall { aspect-ratio: 16 / 10; }
  .chain { grid-template-columns: 1fr 1fr; }
  .chain li:nth-child(3) { padding-left: 0; border-left: 0; }
  .chain li:nth-child(n+3) { margin-top: 40px; }
  .chain li::after { display: none; }
  .vm { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .form-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .feature-grid,
  .feature-grid.cols-4 { --cols: 1; gap: 40px; }
  .chain { grid-template-columns: 1fr; }
  .chain li,
  .chain li + li { padding: 28px 0 0; border-left: 0; margin-top: 0; }
  .chain li + li { margin-top: 32px; border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card,
  .contact-card + .contact-card { padding: 28px 0; border-left: 0; }
  .contact-card + .contact-card { border-top: 1px solid var(--line); }
  .map-overlay { position: static; padding: 16px 0 0; }
  .map { height: auto; }
  .map iframe { position: static; height: 360px; display: block; }
  .map-card { max-width: none; }
  .form { grid-template-columns: 1fr; }
}

/* ---------- Mobil ---------- */

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 32px;
    padding: 32px var(--gutter); overflow-y: auto;
    background: var(--gece);
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; }
  .site-header:has(.nav.is-open) { background: var(--gece); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a {
    display: block; padding: 16px 0; font-size: 1.375rem; font-weight: 500;
    border-bottom: 1px solid var(--cizgi);
  }
  .has-sub { display: block; }
  .sub-toggle { display: none; }
  .nav .subnav {
    display: flex; position: static; min-width: 0; padding: 0 0 0 20px;
    border: 0; background: none;
  }
  .nav .subnav a { padding: 12px 0; font-size: 1.0625rem; font-weight: 400; color: var(--beton); }

  .section-head-split { grid-template-columns: 1fr; }

  .disc-grid { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .disc-label-eng { grid-column: 1 / -1; order: 1; }
  .disc-eng { order: 2; }
  .disc-label-ins { grid-column: 1 / -1; order: 3; margin-top: 48px; }
  .disc-ins { order: 4; }

  .statement { grid-template-columns: 1fr; }
  .drawing svg { max-width: 380px; margin: 0 auto; }

  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { margin-top: 40px; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .lightbox-inner { grid-template-columns: 1fr; }
  .lightbox-media img { aspect-ratio: 4 / 3; max-height: 56svh; }
  .lightbox-body { padding-top: clamp(24px, 3vw, 40px); }

  .discipline-head { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr 1.6fr; }
  .service .media { grid-column: 2; grid-row: auto; max-width: 340px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero-content { padding-top: calc(var(--header-h) + 48px); }
  .index-strip { grid-template-columns: 1fr; }
  .index-strip li + li a { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
  .index-strip a { min-height: 60px; padding: 16px 0; }

  .disc-grid { grid-template-columns: 1fr; }
  .disc + .disc { margin-top: 40px; }
  .card { aspect-ratio: 5 / 6; }

  .facts li { flex-direction: column; gap: 4px; }

  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0 0; border-left: 0; margin-top: 0; }
  .steps li + li { margin-top: 32px; border-top: 1px solid var(--line); }
  .step-no { margin-bottom: 16px; }

  .gallery { grid-template-columns: 1fr; gap: 40px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }

  .service { grid-template-columns: 1fr; gap: 12px; }
  .service .media { grid-column: 1; max-width: none; margin-top: 8px; aspect-ratio: 16 / 9; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
