/* ==========================================================================
   Topraklı Yapı — Kurumsal Site Demo (v2)
   Konsept: mimari pafta. Çerçeve çizgileri, kesim işaretleri, ölçü çizgileri,
   teknik künye tabloları. Tipografi logodaki kalın/ince karşıtlığını tekrarlar:
   Archivo (geniş) + IBM Plex Mono (teknik etiketler).
   ========================================================================== */

:root {
  --ink: #171c27;
  --navy: #1f2533;
  --navy-2: #283044;
  --paper: #ebe7df;
  --paper-2: #e2ddd3;
  --white: #f7f5f1;
  --brass: #b08d45;
  --brass-2: #d1b072;
  --muted: #5d616b;

  --line: rgba(23, 28, 39, 0.14);
  --line-strong: rgba(23, 28, 39, 0.5);
  --line-d: rgba(247, 245, 241, 0.16);
  --line-d-strong: rgba(247, 245, 241, 0.45);

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: 28px;
  --header-h: 88px;
}

@property --p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }
::selection { background: var(--brass); color: var(--ink); }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: square; stroke-linejoin: miter; }
.ic-fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.container { width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(84px, 10vw, 150px) 0; }
.on-dark { color: var(--white); }

/* ---------- Teknik etiket ---------- */
.mono { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.muted { color: var(--muted); }
.on-dark .muted { color: rgba(247, 245, 241, 0.55); }

/* ---------- Başlıklar: logodaki kalın/ince karşıtlığı ---------- */
.h2 {
  font-stretch: 112%; font-weight: 300;
  font-size: clamp(2.3rem, 4.7vw, 4.3rem); line-height: 0.98; letter-spacing: -0.028em;
  color: var(--ink);
}
.h2 b { font-weight: 760; }
.on-dark .h2 { color: var(--white); }

.display {
  font-stretch: 125%; font-weight: 820; text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 7.4rem); line-height: 0.86; letter-spacing: -0.015em;
}
.display .l { display: block; font-weight: 200; }

.lead { font-size: 1.06rem; color: var(--muted); max-width: 56ch; }
.on-dark .lead { color: rgba(247, 245, 241, 0.66); }

/* ---------- Bölüm başlığı (pafta başlığı) ---------- */
.sh { margin-bottom: clamp(44px, 5vw, 76px); }
.sh-rule {
  position: relative; display: flex; align-items: baseline; gap: 22px; padding-top: 14px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted);
}
.sh-rule::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ink); transform-origin: left; }
.js .sh-rule[data-reveal]::before { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .sh-rule.is-in::before { transform: scaleX(1); }
.sh-rule .no { color: var(--ink); }
.sh-rule .meta { margin-left: auto; text-align: right; }
.on-dark .sh-rule { color: rgba(247, 245, 241, 0.5); }
.on-dark .sh-rule::before { background: var(--white); }
.on-dark .sh-rule .no { color: var(--white); }
.sh-body { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px 72px; align-items: end; margin-top: clamp(30px, 3.6vw, 52px); }
.sh-body .lead { justify-self: end; }

/* ==========================================================================
   Butonlar — köşe kesim işaretli
   ========================================================================== */
.btn {
  --mark: currentColor;
  --t: 9px;
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  height: 54px; padding: 0 20px 0 22px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.btn::before {
  content: ""; position: absolute; inset: -6px; pointer-events: none;
  background:
    linear-gradient(var(--mark), var(--mark)) left top / var(--t) 1px,
    linear-gradient(var(--mark), var(--mark)) left top / 1px var(--t),
    linear-gradient(var(--mark), var(--mark)) right top / var(--t) 1px,
    linear-gradient(var(--mark), var(--mark)) right top / 1px var(--t),
    linear-gradient(var(--mark), var(--mark)) left bottom / var(--t) 1px,
    linear-gradient(var(--mark), var(--mark)) left bottom / 1px var(--t),
    linear-gradient(var(--mark), var(--mark)) right bottom / var(--t) 1px,
    linear-gradient(var(--mark), var(--mark)) right bottom / 1px var(--t);
  background-repeat: no-repeat;
  transition: inset 0.4s var(--ease);
}
.btn:hover::before { inset: 0; }
.btn .arr { font-family: var(--mono); font-size: 15px; line-height: 1; transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:hover .arr.ur { transform: translate(3px, -3px); }

.btn-ink { background: var(--ink); color: var(--white); --mark: var(--brass); }
.btn-ink:hover { background: var(--brass); color: var(--ink); --mark: var(--ink); }
.btn-paper { background: var(--white); color: var(--ink); --mark: var(--brass-2); }
.btn-paper:hover { background: var(--brass); --mark: var(--white); }
.btn-line { border: 1px solid var(--line-strong); color: var(--ink); --mark: transparent; }
.btn-line:hover { border-color: var(--ink); --mark: var(--ink); }
.on-dark .btn-line, .btn-line.light { border-color: var(--line-d-strong); color: var(--white); }
.on-dark .btn-line:hover, .btn-line.light:hover { border-color: var(--white); --mark: var(--white); }
.btn-sm { height: 42px; padding: 0 16px; gap: 14px; font-size: 11.5px; --t: 7px; }
.btn-sm::before { inset: -5px; }

/* Ölçü çizgili metin bağlantısı  |———| */
.link-dim {
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding-bottom: 13px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
.link-dim::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px;
  border-left: 1px solid currentColor; border-right: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) left center / 100% 1px no-repeat;
  transition: right 0.4s var(--ease);
}
.link-dim:hover::after { right: -22px; }
.link-dim .arr { transition: transform 0.35s var(--ease); }
.link-dim:hover .arr { transform: translateX(4px); }

/* Kesim işaretli çerçeve (görseller için) */
.marks { position: relative; }
.marks::after {
  --mark: var(--ink); --t: 12px;
  content: ""; position: absolute; inset: -9px; pointer-events: none; z-index: 2;
  background:
    linear-gradient(var(--mark), var(--mark)) left top / var(--t) 1px,
    linear-gradient(var(--mark), var(--mark)) left top / 1px var(--t),
    linear-gradient(var(--mark), var(--mark)) right top / var(--t) 1px,
    linear-gradient(var(--mark), var(--mark)) right top / 1px var(--t),
    linear-gradient(var(--mark), var(--mark)) left bottom / var(--t) 1px,
    linear-gradient(var(--mark), var(--mark)) left bottom / 1px var(--t),
    linear-gradient(var(--mark), var(--mark)) right bottom / var(--t) 1px,
    linear-gradient(var(--mark), var(--mark)) right bottom / 1px var(--t);
  background-repeat: no-repeat;
}
.on-dark .marks::after { --mark: var(--white); }
.fig-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.on-dark .fig-cap { color: rgba(247, 245, 241, 0.5); }

/* Segmentli ilerleme göstergesi */
.meter {
  --p: 0%;
  display: inline-block; flex: none; width: 100px; height: 9px; color: var(--brass);
  background:
    repeating-linear-gradient(90deg, currentColor 0 7px, transparent 7px 10px) 0 0 / var(--p) 100% no-repeat,
    repeating-linear-gradient(90deg, var(--meter-empty, rgba(23, 28, 39, 0.16)) 0 7px, transparent 7px 10px);
}
.on-dark .meter, .hero .meter, .page-hero .meter { --meter-empty: rgba(247, 245, 241, 0.22); color: var(--brass-2); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background 0.4s, color 0.4s, box-shadow 0.4s; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -50px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(23, 28, 39, 0.55), transparent); transition: opacity 0.4s; }
.site-header .bar { display: flex; align-items: center; gap: 32px; height: var(--header-h); transition: height 0.4s var(--ease); }
.site-header.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line-strong); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-solid .bar { height: 72px; }

.brand { position: relative; display: block; width: 214px; height: 54px; flex: none; }
.brand img { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: auto; transition: opacity 0.35s; }
.brand .logo-light { height: 74px; left: -8px; }
.brand .logo-dark { height: 54px; opacity: 0; }
.is-solid .brand .logo-light { opacity: 0; }
.is-solid .brand .logo-dark { opacity: 1; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); margin-inline: auto; }
.nav > li { position: relative; }
.nav > li > a { position: relative; display: inline-flex; align-items: center; gap: 6px; height: var(--header-h); font-size: 14.5px; font-weight: 500; font-stretch: 106%; transition: height 0.4s var(--ease); }
.is-solid .nav > li > a { height: 72px; }
.nav > li > a .plus { font-family: var(--mono); font-size: 12px; opacity: 0.6; transition: transform 0.3s; }
.nav > li:hover > a .plus { transform: rotate(45deg); }
.nav > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(50% - 15px); height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav > li:hover > a::after, .nav > li > a.is-current::after { transform: scaleX(1); }

.sub { position: absolute; top: calc(100% - 14px); left: -18px; min-width: 250px; padding: 6px 0; background: var(--white); color: var(--ink); border: 1px solid var(--line-strong); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 11px 18px; font-size: 14.5px; border-bottom: 1px solid var(--line); transition: background 0.2s; }
.sub a:last-child { border-bottom: 0; }
.sub a:hover { background: var(--paper); }
.sub a small { font-family: var(--mono); font-size: 11px; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-link { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; opacity: 0.88; }
.header-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.site-header .btn-sm { --mark: var(--brass-2); }
.site-header:not(.is-solid) .btn-ink { background: var(--white); color: var(--ink); }
.site-header:not(.is-solid) .btn-ink:hover { background: var(--brass); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid currentColor; place-items: center; }
.menu-toggle .ic { width: 20px; height: 20px; }

/* Mobil menü */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--white); display: flex; flex-direction: column; padding: 0 var(--gutter) 28px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mm-head { display: flex; align-items: center; justify-content: space-between; height: 72px; flex: none; }
.mm-head img { height: 54px; margin-left: -6px; }
.mm-close { width: 46px; height: 46px; border: 1px solid var(--line-d-strong); display: grid; place-items: center; }
.mm-links { margin-top: 24px; border-top: 1px solid var(--line-d-strong); counter-reset: mm; }
.mm-links a { counter-increment: mm; display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line-d); font-stretch: 118%; font-size: 24px; font-weight: 650; text-transform: uppercase; letter-spacing: -0.01em; }
.mm-links a::before { content: counter(mm, decimal-leading-zero); font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--brass-2); }
.mm-links a .arr { font-family: var(--mono); font-size: 16px; font-weight: 400; opacity: 0.6; }
.mm-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; font-family: var(--mono); font-size: 13px; color: rgba(247, 245, 241, 0.7); }
.mm-foot .btn { margin-top: 14px; }

/* ==========================================================================
   Hero (pafta çerçeveli)
   ========================================================================== */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero { height: 100vh; height: 100svh; min-height: 700px; max-height: 1100px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.3s ease, visibility 1.3s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s ease-out; filter: saturate(0.9); }
.hero-slide.is-active > img { transform: scale(1); }
.hero-slide::after, .page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 28, 39, 0.92) 0%, rgba(23, 28, 39, 0.55) 34%, rgba(23, 28, 39, 0.1) 62%, rgba(23, 28, 39, 0.45) 100%); }
.hero-slide > img.crop-b { height: 128%; object-position: center top; }

/* Pafta çerçevesi + köşe artıları */
.frame { position: absolute; z-index: 3; inset: 14px; border: 1px solid rgba(247, 245, 241, 0.24); pointer-events: none; }
.frame::before {
  --m: rgba(247, 245, 241, 0.75);
  content: ""; position: absolute; inset: -9px;
  background:
    linear-gradient(var(--m), var(--m)) 0 9px / 18px 1px,
    linear-gradient(var(--m), var(--m)) 9px 0 / 1px 18px,
    linear-gradient(var(--m), var(--m)) 100% 9px / 18px 1px,
    linear-gradient(var(--m), var(--m)) calc(100% - 9px) 0 / 1px 18px,
    linear-gradient(var(--m), var(--m)) 0 calc(100% - 9px) / 18px 1px,
    linear-gradient(var(--m), var(--m)) 9px 100% / 1px 18px,
    linear-gradient(var(--m), var(--m)) 100% calc(100% - 9px) / 18px 1px,
    linear-gradient(var(--m), var(--m)) calc(100% - 9px) 100% / 1px 18px;
  background-repeat: no-repeat;
}
.frame-label { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247, 245, 241, 0.55); white-space: nowrap; }

.hero-caption { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding-bottom: clamp(60px, 9vh, 104px); }
.hero-caption .inner { max-width: 820px; }
.coord { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(247, 245, 241, 0.72); }
.coord b { color: var(--white); font-weight: 500; }
.hero .display, .page-hero .display { margin-top: 22px; }
.spec-row { display: flex; flex-wrap: wrap; margin-top: 30px; border-top: 1px solid rgba(247, 245, 241, 0.3); }
.spec-row > div { padding: 14px 34px 0 0; margin-right: 34px; border-right: 1px solid rgba(247, 245, 241, 0.18); }
.spec-row > div:last-child { border-right: 0; margin-right: 0; }
.spec-row dt { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(247, 245, 241, 0.55); }
.spec-row dd { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 15.5px; font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; margin-top: 36px; }
.hero-ctas .link-dim { color: var(--white); }

.anim { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 1s var(--ease); transition-delay: 0s; }
.is-active .anim { opacity: 1; transform: none; transition-delay: var(--d, 0.2s); }

.hero-nav { position: absolute; left: 0; right: 0; bottom: clamp(60px, 9vh, 104px); z-index: 4; pointer-events: none; }
.hero-nav .container { display: flex; justify-content: flex-end; }
.hero-nav ol { width: 280px; pointer-events: auto; border-bottom: 1px solid rgba(247, 245, 241, 0.22); }
.hn-item { position: relative; display: grid; grid-template-columns: 38px 1fr auto; width: 100%; padding: 12px 0; border-top: 1px solid rgba(247, 245, 241, 0.22); text-align: left; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(247, 245, 241, 0.48); transition: color 0.4s; }
.hn-item::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--brass-2); }
.hn-item.is-active { color: var(--white); }
.hn-item.is-active::before { animation: hn-progress var(--dur, 7s) linear forwards; }
.hn-item:hover { color: rgba(247, 245, 241, 0.85); }
.hn-item .s { opacity: 0.6; }
@keyframes hn-progress { to { width: 100%; } }

/* ==========================================================================
   Hakkımızda
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.about-text .lead + .lead { margin-top: 18px; }
.about-text .lead:first-of-type { margin-top: 30px; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.85); }

/* Künye tablosu (antet) */
.tblock { margin-top: 44px; border: 1px solid var(--line-strong); }
.tblock > div { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--line); }
.tblock > div:last-child { border-bottom: 0; }
.tblock dt { padding: 13px 16px; border-right: 1px solid var(--line); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tblock dd { padding: 12px 16px; font-size: 15px; font-weight: 500; }
.tblock .head { grid-template-columns: 1fr; background: var(--ink); color: var(--white); }
.tblock .head dd { font-stretch: 118%; font-weight: 750; text-transform: uppercase; letter-spacing: 0.01em; }
.tblock .head dd span { font-weight: 250; }
.on-dark .tblock { border-color: var(--line-d-strong); }
.on-dark .tblock > div { border-color: var(--line-d); }
.on-dark .tblock dt { border-color: var(--line-d); color: rgba(247, 245, 241, 0.5); }
.on-dark .tblock .head { background: var(--white); color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 9vw, 130px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-strong); }
.stat { padding: 26px 24px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { display: block; font-stretch: 125%; font-weight: 200; font-size: clamp(3.4rem, 7vw, 6.6rem); line-height: 0.9; letter-spacing: -0.04em; }
.stat .lbl { display: block; margin-top: 16px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.vmk { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 60px); margin-top: clamp(64px, 7vw, 100px); }
.vmk-item h3 { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.vmk-item h3 span { color: var(--muted); }
.vmk-item p { margin-top: 16px; font-size: 1.12rem; line-height: 1.5; font-stretch: 104%; }

/* ==========================================================================
   Projeler
   ========================================================================== */
.projects { background: var(--white); }
.filters { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-strong); }
.filter { height: 44px; padding: 0 16px; border-right: 1px solid var(--line-strong); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; transition: background 0.25s, color 0.25s; }
.filter:last-child { border-right: 0; }
.filter .c { margin-left: 6px; opacity: 0.55; }
.filter:hover { background: var(--paper); }
.filter.is-active { background: var(--ink); color: var(--white); }
.filters-wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(56px, 6vw, 88px) clamp(24px, 3vw, 44px); }
.project-card { display: block; color: var(--ink); }
.pc-img { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--paper-2); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), filter 0.6s; filter: saturate(0.9); }
.pc-img img.crop-b { height: 142%; object-position: center top; }
.project-card:hover .pc-img img { transform: scale(1.035); filter: saturate(1.02); }
.pc-no { position: absolute; top: 0; left: 0; z-index: 1; padding: 8px 12px; background: var(--white); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.pc-img::after {
  --m: var(--white); --t: 14px;
  content: ""; position: absolute; inset: 16px; opacity: 0; transform: scale(1.04); transition: opacity 0.4s, transform 0.5s var(--ease);
  background:
    linear-gradient(var(--m), var(--m)) left top / var(--t) 1px, linear-gradient(var(--m), var(--m)) left top / 1px var(--t),
    linear-gradient(var(--m), var(--m)) right top / var(--t) 1px, linear-gradient(var(--m), var(--m)) right top / 1px var(--t),
    linear-gradient(var(--m), var(--m)) left bottom / var(--t) 1px, linear-gradient(var(--m), var(--m)) left bottom / 1px var(--t),
    linear-gradient(var(--m), var(--m)) right bottom / var(--t) 1px, linear-gradient(var(--m), var(--m)) right bottom / 1px var(--t);
  background-repeat: no-repeat;
}
.project-card:hover .pc-img::after { opacity: 1; transform: none; }
.pc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-top: 24px; }
.pc-head h3 { font-stretch: 120%; font-weight: 780; font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 0.98; text-transform: uppercase; letter-spacing: -0.01em; }
.pc-head h3 span { display: block; font-weight: 220; }
.pc-go { flex: none; padding-top: 4px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.pc-go .arr { display: inline-block; transition: transform 0.35s var(--ease); }
.project-card:hover .pc-go .arr { transform: translateX(5px); }
.spec { margin-top: 20px; border-top: 1px solid var(--line-strong); }
.spec > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec dt { padding-top: 2px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.spec dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.project-card.is-hidden, .project-empty.is-hidden { display: none; }

.project-empty { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; min-height: 440px; padding: clamp(28px, 5vw, 64px); border: 1px dashed var(--line-strong); background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(23, 28, 39, 0.035) 14px 15px); }
.project-empty .h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.project-empty p { color: var(--muted); max-width: 44ch; }

/* ==========================================================================
   Hizmetler
   ========================================================================== */
.services { background: var(--ink); color: var(--white); }
.services-body { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.svc-list { border-top: 1px solid var(--line-d-strong); }
.svc-item > button { width: 100%; display: grid; grid-template-columns: 62px 1fr auto; align-items: baseline; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line-d); text-align: left; color: rgba(247, 245, 241, 0.45); transition: color 0.35s, padding 0.45s var(--ease), box-shadow 0.35s; }
.svc-item .n { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; }
.svc-item .t { font-stretch: 114%; font-size: clamp(1.35rem, 2.1vw, 1.95rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; }
.svc-item .arr { font-family: var(--mono); font-size: 15px; transition: transform 0.35s var(--ease); }
.svc-item:hover > button { color: rgba(247, 245, 241, 0.8); }
.svc-item.is-active > button { color: var(--white); padding-left: 16px; box-shadow: inset 2px 0 0 var(--brass-2); }
.svc-item.is-active .n { color: var(--brass-2); }
.svc-item.is-active .arr { transform: translateX(4px); }
.svc-mobile { display: none; }

.svc-panel { display: grid; }
.svc-pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.svc-pane.is-active { opacity: 1; visibility: visible; }
.svc-pane figure { aspect-ratio: 16 / 10; }
.svc-pane figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.svc-pane .txt { display: grid; grid-template-columns: 1fr auto; gap: 14px 32px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-d-strong); }
.svc-pane .txt p { grid-column: 1 / -1; color: rgba(247, 245, 241, 0.72); max-width: 60ch; }
.svc-pane .tags { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brass-2); }
.svc-pane .link-dim { color: var(--white); justify-self: end; }

/* ==========================================================================
   Süreç — ölçü çizgisi
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.step { position: relative; padding: 26px 22px 0; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; padding-left: 0; }
.step::before { content: ""; position: absolute; left: -1px; top: -9px; height: 17px; border-left: 1px solid var(--ink); }
.step:first-child::before { left: 0; }
.steps::after { content: ""; }
.step .no { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; color: var(--brass); }
.step .no span:last-child { font-size: 16px; }
.step h4 { margin-top: 30px; font-stretch: 112%; font-size: 1.2rem; font-weight: 650; line-height: 1.2; letter-spacing: -0.01em; }
.step p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* ==========================================================================
   Portföy yönlendirme
   ========================================================================== */
.pcta { background: var(--paper-2); }
.pcta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.pcta-grid .lead { margin-top: 26px; }
.pcta-cats { display: flex; flex-wrap: wrap; margin-top: 30px; border: 1px solid var(--line-strong); width: fit-content; }
.pcta-cats span { padding: 9px 14px; border-right: 1px solid var(--line-strong); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.pcta-cats span:last-child { border-right: 0; }
.pcta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; margin-top: 40px; }
.pcta figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; filter: saturate(0.85); }

/* ==========================================================================
   Grup şirketleri
   ========================================================================== */
.group { background: var(--navy); color: var(--white); }
.group-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-d-strong); border-bottom: 1px solid var(--line-d-strong); }
.group-cell { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 250px; padding: 22px 20px; border-left: 1px solid var(--line-d); transition: background 0.35s; }
.group-cell:first-child { border-left: 0; }
.group-cell .top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(247, 245, 241, 0.5); }
.group-cell .top .arr { transition: transform 0.35s var(--ease), color 0.3s; }
.group-cell img { width: 100%; max-width: 200px; height: 70px; object-fit: contain; align-self: center; opacity: 0.85; transition: opacity 0.35s; }
.group-cell small { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(247, 245, 241, 0.6); }
.group-cell:hover { background: rgba(247, 245, 241, 0.04); }
.group-cell:hover img { opacity: 1; }
.group-cell:hover .top .arr { transform: translate(3px, -3px); color: var(--brass-2); }

/* ==========================================================================
   Blog
   ========================================================================== */
.news-list { border-top: 1px solid var(--ink); }
.news-item { display: grid; grid-template-columns: 170px 1fr 150px 40px; gap: 28px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line-strong); transition: padding 0.4s var(--ease); }
.news-item time, .news-item .cat { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.news-item h3 { font-stretch: 108%; font-size: clamp(1.2rem, 1.9vw, 1.6rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.news-item .arr { font-family: var(--mono); font-size: 16px; text-align: right; transition: transform 0.35s var(--ease); }
.news-item:hover { padding-left: 12px; }
.news-item:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.news-item:hover .arr { transform: translateX(4px); }

/* ==========================================================================
   İletişim
   ========================================================================== */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact .tblock { margin-top: 0; }
.tblock a:hover { text-decoration: underline; text-underline-offset: 4px; }
.map { margin-top: 36px; height: 260px; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

.form-box { border: 1px solid var(--line-strong); padding: clamp(28px, 3.6vw, 48px); background: var(--white); }
.form-box .h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.form-box > .lead { margin-top: 14px; font-size: 1rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin-top: 34px; }
.field { display: grid; gap: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 46px; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; font-size: 16px; color: var(--ink); border-radius: 0; appearance: none; -webkit-appearance: none; transition: border-color 0.25s, box-shadow 0.25s; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23171c27' stroke-width='1.2' viewBox='0 0 12 12'%3E%3Cpath d='M1 4l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px; }
.field textarea { height: 100px; padding-top: 10px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-top: 6px; }
.form-foot small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.form-success { display: none; margin-top: 34px; padding: 22px 24px; border: 1px solid var(--ink); }
.form-success strong { display: block; font-stretch: 112%; font-size: 1.4rem; font-weight: 650; }
.form-success p { margin-top: 6px; color: var(--muted); }
.is-sent .form { display: none; }
.is-sent .form-success { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(247, 245, 241, 0.7); padding-top: clamp(70px, 8vw, 110px); font-size: 15px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.footer-top p { max-width: 36ch; }
.footer-col h4 { padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line-d); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }
.footer-col li + li { margin-top: 8px; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-d-strong); display: grid; place-items: center; transition: background 0.3s, color 0.3s; }
.socials a .ic { width: 16px; height: 16px; }
.socials a:hover { background: var(--white); color: var(--ink); }
.wordmark { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0 0; border-top: 1px solid var(--line-d-strong); font-stretch: 125%; font-size: calc(min(1320px, 100vw - var(--gutter) * 2) / 9.15); line-height: 0.8; letter-spacing: -0.03em; color: var(--white); text-transform: uppercase; white-space: nowrap; }
.wordmark b { font-weight: 820; }
.wordmark span { font-weight: 150; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding: 24px 170px 28px 0; border-top: 1px solid var(--line-d); margin-top: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(247, 245, 241, 0.45); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom a:hover { color: var(--white); }
.demo-note { color: var(--brass-2); }

/* ---------- Sabit WhatsApp ---------- */
.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px 0 14px; background: var(--ink); color: var(--white); border: 1px solid var(--line-d-strong); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.3s; }
.fab-wa .ic { width: 20px; height: 20px; color: #25d366; }
.fab-wa:hover { background: #128c4a; }
.fab-wa:hover .ic { color: var(--white); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(23, 28, 39, 0.7); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-card { position: relative; width: min(500px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--white); padding: clamp(26px, 4vw, 42px); border: 1px solid var(--ink); transform: translateY(14px); transition: transform 0.4s var(--ease); }
.modal.is-open .modal-card { transform: none; }
.modal-card .sh-rule { padding-right: 52px; }
.modal-card .h2 { font-size: 2.2rem; margin-top: 22px; }
.modal-card .form { grid-template-columns: 1fr; margin-top: 24px; gap: 20px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); }
.modal-close:hover { background: var(--ink); color: var(--white); }

/* ---------- Görünür olunca ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .sh-rule[data-reveal] { transform: none; }

/* ==========================================================================
   Proje detay
   ========================================================================== */
.page-hero { height: 92vh; height: 92svh; min-height: 640px; max-height: 1000px; isolation: isolate; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(0.9); animation: slow-zoom 14s ease-out forwards; }
.page-hero::after { z-index: -1; background: linear-gradient(90deg, rgba(23, 28, 39, 0.62) 0%, rgba(23, 28, 39, 0.2) 55%, transparent 80%), linear-gradient(0deg, rgba(23, 28, 39, 0.92) 0%, rgba(23, 28, 39, 0.55) 40%, rgba(23, 28, 39, 0.2) 70%, rgba(23, 28, 39, 0.5) 100%); }
@keyframes slow-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.page-hero .container { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(56px, 8vh, 96px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(247, 245, 241, 0.6); margin-bottom: 18px; }
.crumbs a:hover { color: var(--white); }

.subnav { position: sticky; top: 72px; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line-strong); }
.subnav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.subnav ul { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav ul a { position: relative; display: block; padding: 20px 0; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color 0.25s; }
.subnav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.subnav ul a:hover, .subnav ul a.is-current { color: var(--ink); }
.subnav ul a.is-current::after { transform: scaleX(1); }
.subnav .btn { flex: none; }
[data-spy] { scroll-margin-top: 140px; }

.overview-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.overview-grid .lead + .lead { margin-top: 18px; }
.highlights { margin-top: 34px; border-top: 1px solid var(--line-strong); }
.highlights li { display: grid; grid-template-columns: 54px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.highlights li span { font-family: var(--mono); font-size: 11.5px; color: var(--brass); padding-top: 3px; }
.facts-card .tblock { margin-top: 0; }
.progress { padding: 18px 16px; border: 1px solid var(--line-strong); border-top: 0; }
.progress-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.progress-top b { color: var(--ink); font-weight: 500; }
.progress .meter { width: 100%; height: 14px; margin-top: 12px; background:
    repeating-linear-gradient(90deg, currentColor 0 calc(5% - 3px), transparent calc(5% - 3px) 5%) 0 0 / var(--p) 100% no-repeat,
    repeating-linear-gradient(90deg, rgba(23, 28, 39, 0.14) 0 calc(5% - 3px), transparent calc(5% - 3px) 5%); }
.js .progress .meter { --p: 0%; transition: --p 1.6s var(--ease); }
.facts-card .btn { width: 100%; margin-top: 24px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 250px); gap: 10px; }
.gallery a { position: relative; overflow: hidden; display: block; background: var(--paper-2); cursor: zoom-in; }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(n + 4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); filter: saturate(0.92); }
.gallery a:hover img { transform: scale(1.04); }
.gallery a span { position: absolute; left: 0; bottom: 0; padding: 6px 10px; background: var(--white); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.feature { padding: 22px 22px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature:nth-child(4n) { border-right: 0; }
.feature .top { display: flex; justify-content: space-between; align-items: flex-start; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.feature .ic { width: 28px; height: 28px; color: var(--ink); stroke-width: 1.1; }
.feature h4 { margin-top: 30px; font-stretch: 110%; font-size: 1.08rem; font-weight: 650; }
.feature p { margin-top: 6px; font-size: 14px; color: var(--muted); }

.location { background: var(--ink); }
.location-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.location-grid .map { margin-top: 0; height: 440px; background: var(--navy); }
.location-grid .map iframe { filter: grayscale(1) invert(0.9) contrast(0.9); }
.distances { border-top: 1px solid var(--line-d-strong); }
.distances li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.distances span { color: rgba(247, 245, 241, 0.78); }
.distances b { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--brass-2); white-space: nowrap; }

.build-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.build-track a { display: block; cursor: zoom-in; }
.build-track .ph { overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-2); }
.build-track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.build-track a:hover img { transform: scale(1.04); }
.build-track figcaption { display: flex; justify-content: space-between; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--line-strong); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); }
.related-grid .pc-head h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15, 18, 25, 0.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1400px, 90vw); max-height: 82vh; object-fit: contain; }
.lb-btn { position: absolute; width: 50px; height: 50px; border: 1px solid rgba(247, 245, 241, 0.35); color: var(--white); display: grid; place-items: center; transition: background 0.3s, color 0.3s; }
.lb-btn:hover { background: var(--white); color: var(--ink); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: rgba(247, 245, 241, 0.7); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav, .header-link { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .group-grid { grid-template-columns: repeat(3, 1fr); }
  .group-cell:nth-child(4) { border-left: 0; }
  .group-cell:nth-child(n + 4) { border-top: 1px solid var(--line-d); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .step:nth-child(4) { border-left: 0; padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(4n) { border-right: 1px solid var(--line); }
  .feature:nth-child(2n) { border-right: 0; }
}

@media (max-width: 960px) {
  .sh-body, .about-grid, .services-body, .pcta-grid, .contact-grid, .overview-grid, .location-grid { grid-template-columns: 1fr; }
  .sh-body .lead { justify-self: start; }
  .about-media { max-width: 520px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .vmk { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .svc-panel { display: none; }
  .svc-item.is-active .svc-mobile { display: block; }
  .svc-mobile { padding: 6px 0 28px; border-bottom: 1px solid var(--line-d); }
  .svc-mobile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
  .svc-mobile p { margin-top: 16px; color: rgba(247, 245, 241, 0.72); font-size: 15px; }
  .svc-mobile .link-dim { margin-top: 18px; color: var(--white); }
  .svc-item.is-active > button { border-bottom-color: transparent; }
  .hero-nav { bottom: 22px; }
  .hero-nav ol { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 0; }
  .hn-item { grid-template-columns: 1fr; padding: 10px 0 0; }
  .hn-item .t, .hn-item .s { display: none; }
  .hero-caption { padding-bottom: 92px; }
  .news-item { grid-template-columns: 1fr 30px; gap: 6px 16px; }
  .news-item time { grid-column: 1; grid-row: 1; }
  .news-item h3 { grid-column: 1; grid-row: 2; }
  .news-item .cat { display: none; }
  .news-item .arr { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .related-grid .project-card:nth-child(3) { display: none; }
  .build-track { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .build-track a { scroll-snap-align: start; }
  .subnav .btn { display: none; }
  .frame-label { display: none; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; --header-h: 70px; }
  body { font-size: 16px; }
  .site-header.is-solid .bar { height: 64px; }
  .site-header .btn-sm { display: none; }
  .brand { width: 160px; height: 42px; }
  .brand .logo-light { height: 56px; left: -6px; }
  .brand .logo-dark { height: 41px; }
  .frame { inset: 8px; }
  .hero { min-height: 640px; }
  .display { font-size: clamp(2.3rem, 11.5vw, 3.4rem); }
  .spec-row > div { padding-right: 18px; margin-right: 18px; }
  .spec-row dd { font-size: 14px; }
  .hero-ctas { gap: 16px 24px; margin-top: 28px; }
  .sh-rule { gap: 14px; font-size: 11px; }
  .sh-rule .meta { display: none; }
  .tblock > div { grid-template-columns: 110px 1fr; }
  .stat { padding: 20px 14px 22px; }
  .stat:nth-child(even) { padding-right: 0; }
  .spec > div { grid-template-columns: 90px 1fr; }
  .filters { width: 100%; }
  .filter { flex: 1 1 auto; padding: 0 10px; font-size: 10.5px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; border-top: 0; }
  .step, .step:nth-child(4) { border-left: 0; border-top: 1px solid var(--ink); padding: 18px 0 28px; }
  .step::before { display: none; }
  .step h4 { margin-top: 14px; }
  .group-grid { grid-template-columns: repeat(2, 1fr); }
  .group-cell { min-height: 200px; }
  .group-cell:nth-child(n) { border-left: 1px solid var(--line-d); border-top: 1px solid var(--line-d); }
  .group-cell:nth-child(odd) { border-left: 0; }
  .group-cell:nth-child(-n + 2) { border-top: 0; }
  .group-cell:last-child { grid-column: span 2; }
  .form { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; padding-right: 0; }
  .fab-wa span { display: none; }
  .fab-wa { right: 14px; bottom: 14px; padding: 0 14px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery a:nth-child(n + 4) { grid-column: span 1; }
  .gallery a:nth-child(6) { grid-column: span 2; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(2n), .feature:nth-child(4n) { border-right: 0; }
  .related-grid { grid-template-columns: 1fr; }
  .related-grid .project-card:nth-child(3) { display: block; }
  .location-grid .map { height: 300px; }
  .subnav { top: 64px; }
  [data-spy] { scroll-margin-top: 124px; }
}

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