/* ==========================================================================
   Topraklı Yapı — Kurumsal Site Demo · Alternatif B "Söz ve Kanıt"
   Araştırma referansları: Milieu, Arc. (editoryal sadelik, altyazı ritmi),
   METRIC., Built (gerçek şantiye fotoğrafı), Haven, Modus (kaydırmayla anlatım).
   Renk yok: rengi fotoğraflar ve logo taşır. Tek aile: Host Grotesk.
   ========================================================================== */

:root {
  --bg: #f2f1ec;
  --paper: #fbfaf7;
  --ink: #121212;
  --grey: #6d6c67;
  --soft: #a3a29b;
  --line: #d9d7cf;
  --line-d: rgba(255, 255, 255, 0.16);
  --sans: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 2.2vw, 36px);
  --gap: clamp(12px, 1.6vw, 24px);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 16.5px; line-height: 1.5; color: var(--ink); background: var(--bg); -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: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }

.wrap { padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.sec { padding-block: clamp(90px, 12vw, 180px); }
.dark { background: var(--ink); color: var(--bg); }

/* ---------- Tipografi ---------- */
.display { font-weight: 500; font-size: clamp(2.8rem, 7.2vw, 7.6rem); line-height: 0.92; letter-spacing: -0.05em; }
.big { font-weight: 400; font-size: clamp(1.55rem, 2.65vw, 2.75rem); line-height: 1.14; letter-spacing: -0.028em; }
.big .muted, .muted { color: var(--grey); }
.dark .muted { color: rgba(242, 241, 236, 0.55); }
.cap { font-size: 13.5px; line-height: 1.4; color: var(--grey); }
.dark .cap { color: rgba(242, 241, 236, 0.55); }
.cap b { color: var(--ink); font-weight: 500; }
.dark .cap b { color: var(--bg); }
.label { display: flex; justify-content: space-between; gap: 20px; padding-top: 12px; border-top: 1px solid var(--ink); font-size: 14px; font-weight: 500; }
.dark .label { border-color: var(--bg); }
.label span:last-child { color: var(--grey); font-weight: 400; }
.dark .label span:last-child { color: rgba(242, 241, 236, 0.55); }

.u { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size 0.45s var(--ease); }
.u:hover { background-size: 0 1px; background-position: 100% 100%; }
.u-rev { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size 0.45s var(--ease); }
.u-rev:hover, a:hover > .u-rev { background-size: 100% 1px; }

/* Düz metin butonu: parantez içinde eylem */
.act { display: inline-flex; align-items: baseline; gap: 6px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.act .br { color: var(--soft); transition: transform 0.4s var(--ease), color 0.3s; }
.act:hover .br:first-child { transform: translateX(-4px); color: var(--ink); }
.act:hover .br:last-child { transform: translateX(4px); color: var(--ink); }
.dark .act .br { color: rgba(242, 241, 236, 0.4); }
.dark .act:hover .br { color: var(--bg); }

/* Siyah blok buton (yalnızca birincil eylem) */
.solid { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 240px; height: 58px; padding: 0 22px; background: var(--ink); color: var(--bg); font-size: 15.5px; font-weight: 500; transition: gap 0.4s var(--ease), background 0.3s; }
.solid:hover { gap: 56px; }
.dark .solid, .solid.light { background: var(--bg); color: var(--ink); }

/* ==========================================================================
   Üst bölüm (statik) ve yüzen menü
   ========================================================================== */
.top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; padding: 22px var(--pad) 0; position: relative; z-index: 20; }
.top .brand { grid-column: 1 / span 3; }
.top .brand img { height: 50px; width: auto; }
.top nav { grid-column: 5 / span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); font-size: 15px; font-weight: 500; line-height: 1.35; }
.top nav a:hover { color: var(--grey); }
.top .right { grid-column: 10 / span 3; justify-self: end; text-align: right; font-size: 15px; line-height: 1.35; }
.top .right a { display: block; font-weight: 500; }
.top .right span { color: var(--grey); }

.dock {
  position: fixed; left: 50%; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 4px; padding: 6px; background: rgba(18, 18, 18, 0.92); color: var(--bg); backdrop-filter: blur(10px);
  transform: translate(-50%, 140%); transition: transform 0.6s var(--ease); font-size: 14.5px; font-weight: 500;
}
.dock.is-on { transform: translate(-50%, 0); }
.dock a, .dock button { display: inline-flex; align-items: center; height: 42px; padding: 0 14px; transition: background 0.25s, color 0.25s; }
.dock a:hover, .dock button:hover { background: rgba(255, 255, 255, 0.1); }
.dock .mark { padding: 0 8px; }
.dock .mark img { width: 30px; height: 30px; border-radius: 50%; }
.dock .cta { background: var(--bg); color: var(--ink); }
.dock .cta:hover { background: #fff; }
.dock .m-only { display: none; }

.sheet { position: fixed; inset: 0; z-index: 70; background: var(--ink); color: var(--bg); padding: 24px var(--pad); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.sheet.is-open { opacity: 1; visibility: visible; }
.sheet .close { align-self: flex-end; font-size: 15px; font-weight: 500; }
.sheet nav { margin-top: auto; display: grid; gap: 4px; }
.sheet nav a { font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; }
.sheet .foot-s { margin-top: 30px; display: grid; gap: 4px; color: rgba(242, 241, 236, 0.6); }

/* ==========================================================================
   Hero: söz ve kanıt yan yana, kaydırdıkça tam kadraja açılır
   ========================================================================== */
.hero { padding-top: clamp(70px, 10vw, 150px); }
.hero .display { grid-column: 1 / span 11; }
.hero-meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(28px, 3vw, 44px); }
.hero-meta p { grid-column: 1 / span 4; font-size: 16.5px; }
.hero-meta .act { grid-column: 9 / span 4; justify-self: end; align-self: end; }

.expand { position: relative; margin-top: clamp(48px, 6vw, 90px); height: 200vh; }
.expand-stick { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.pair { position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0; clip-path: inset(var(--it, 14%) var(--ix, 22%) var(--ib, 14%) var(--ix, 22%)); will-change: clip-path; }
.pair figure { position: relative; overflow: hidden; }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; gap: 12px; color: #fff; font-size: 14px; font-weight: 500; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); opacity: var(--co, 0); transition: opacity 0.3s; }
.pair figcaption span:last-child { opacity: 0.8; font-weight: 400; }
.pair-tag { position: absolute; top: 16px; left: 16px; padding: 6px 10px; background: rgba(251, 250, 247, 0.92); color: var(--ink); font-size: 13px; font-weight: 500; opacity: var(--co, 0); }

/* ==========================================================================
   Güven — görsel — değer (kelimeler ayrılır)
   ========================================================================== */
.split { position: relative; height: 180vh; }
.split-stick { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.split-word { position: relative; z-index: 2; font-weight: 500; font-size: clamp(3rem, 10vw, 11rem); letter-spacing: -0.06em; line-height: 1; transform: translateX(var(--tx, 0)); white-space: nowrap; }
.split-img { position: relative; z-index: 1; width: var(--w, 14vw); aspect-ratio: 3 / 4; margin: 0 1.2vw; overflow: hidden; flex: none; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

.about .big { grid-column: 3 / span 9; }
.about .facts { grid-column: 3 / span 9; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: clamp(48px, 5vw, 80px); }
.about .facts div { padding-top: 12px; border-top: 1px solid var(--ink); }
.about .facts h3 { font-size: 15px; font-weight: 500; }
.about .facts p { margin-top: 8px; color: var(--grey); font-size: 15.5px; }

/* ==========================================================================
   Projeler — editoryal kolaj
   ========================================================================== */
.p-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 40px; margin-bottom: clamp(40px, 5vw, 80px); }
.p-head h2 { font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 4.6rem); letter-spacing: -0.045em; line-height: 0.95; }
.filters { font-size: 17px; color: var(--grey); }
.filters button { color: var(--grey); font-weight: 500; transition: color 0.25s; }
.filters button.is-active, .filters button:hover { color: var(--ink); }
.filters button.is-active { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.collage { row-gap: clamp(60px, 8vw, 130px); }
.tile { display: block; transition: opacity 0.5s ease, filter 0.5s ease; }
.tile .im { overflow: hidden; background: #e2e0d9; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile:hover img { transform: scale(1.035); }
.tile .cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; }
.tile .cap b { font-size: 15.5px; }
.tile .cap span { white-space: nowrap; }
.tile.is-dim { opacity: 0.18; filter: grayscale(1); pointer-events: none; }
.t1 { grid-column: 1 / span 7; }
.t1 .im { aspect-ratio: 16 / 10.5; }
.t2 { grid-column: 9 / span 4; align-self: end; }
.t2 .im { aspect-ratio: 3 / 3.8; }
.t3 { grid-column: 2 / span 4; }
.t3 .im { aspect-ratio: 4 / 5; }
.t4 { grid-column: 7 / span 6; margin-top: clamp(40px, 10vw, 160px); }
.t4 .im { aspect-ratio: 16 / 11; }
.t4 .im img { height: 156%; object-position: center top; }
.empty-note { grid-column: 1 / -1; margin-top: 30px; display: none; }
.empty-note.is-on { display: block; }

/* ==========================================================================
   Söz / Kanıt karşılaştırma
   ========================================================================== */
.proof .intro { grid-column: 1 / span 5; }
.proof .intro .big { margin-top: 26px; }
.proof .intro p.cap { margin-top: 22px; max-width: 46ch; font-size: 15.5px; }
.proof .stage { grid-column: 7 / span 6; }
.compare { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #ddd; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .bar { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 1px; background: #fff; transform: translateX(-0.5px); }
.compare .knob { position: absolute; top: 50%; left: var(--pos, 50%); transform: translate(-50%, -50%); padding: 8px 12px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap; }
.compare .tagL, .compare .tagR { position: absolute; top: 14px; padding: 6px 10px; background: rgba(251, 250, 247, 0.92); font-size: 13px; font-weight: 500; }
.compare .tagL { left: 14px; }
.compare .tagR { right: 14px; }
.compare-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; }
.meter { margin-top: 26px; }
.meter .row { display: flex; justify-content: space-between; font-size: 15px; font-weight: 500; }
.meter .track { margin-top: 10px; height: 2px; background: var(--line); }
.meter .fill { height: 100%; width: 0; background: var(--ink); transition: width 1.8s var(--ease); }

/* ==========================================================================
   Şantiye günlüğü
   ========================================================================== */
.log-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: clamp(36px, 4vw, 60px); }
.log-head h2 { font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 4.6rem); letter-spacing: -0.045em; line-height: 0.95; }
.log { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 360px); gap: var(--gap); overflow-x: auto; padding: 0 var(--pad) 18px; scroll-snap-type: x mandatory; cursor: grab; scrollbar-width: thin; scrollbar-color: rgba(242, 241, 236, 0.3) transparent; }
.log.is-drag { cursor: grabbing; scroll-snap-type: none; }
.log a { scroll-snap-align: start; display: block; }
.log .im { aspect-ratio: 3 / 4; overflow: hidden; background: #222; }
.log img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.log a:hover img { transform: scale(1.04); }
.log .cap { display: flex; justify-content: space-between; margin-top: 10px; }
.log-end { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 32px; }
.log-end p { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.02em; max-width: 14ch; }

/* ==========================================================================
   Hizmetler — tek cümle
   ========================================================================== */
.svc .label { grid-column: 1 / -1; margin-bottom: clamp(36px, 4vw, 60px); }
.sentence { grid-column: 1 / span 10; font-weight: 400; font-size: clamp(1.9rem, 4.1vw, 4.4rem); line-height: 1.08; letter-spacing: -0.04em; }
.sentence .pre { color: var(--grey); }
.sentence button { font-weight: 400; color: var(--soft); transition: color 0.3s; text-align: left; }
.sentence button:hover { color: var(--grey); }
.sentence button.is-active { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.svc-detail { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(40px, 5vw, 80px); min-height: 280px; }
.svc-pane { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s; }
.svc-pane.is-active { opacity: 1; visibility: visible; }
.svc-pane .im { grid-column: 1 / span 3; aspect-ratio: 4 / 5; overflow: hidden; }
.svc-pane .im img { width: 100%; height: 100%; object-fit: cover; }
.svc-pane .txt { grid-column: 5 / span 5; align-self: end; }
.svc-pane .txt p { font-size: 1.15rem; line-height: 1.45; }
.svc-pane .txt .act { margin-top: 20px; }
.svc-pane .n { grid-column: 11 / span 2; justify-self: end; align-self: end; font-size: clamp(3rem, 6vw, 6rem); font-weight: 300; letter-spacing: -0.05em; line-height: 0.8; color: var(--soft); }

/* ==========================================================================
   Süreç
   ========================================================================== */
.process .side { grid-column: 1 / span 4; }
.process .side .sticky { position: sticky; top: 40px; }
.process .side h2 { font-weight: 500; font-size: clamp(2.2rem, 4.2vw, 4.2rem); letter-spacing: -0.045em; line-height: 0.95; margin-top: 26px; }
.process ol { grid-column: 6 / span 7; counter-reset: s; }
.process li { counter-increment: s; display: grid; grid-template-columns: 70px 1fr; gap: var(--gap); padding: 26px 0 30px; border-top: 1px solid var(--line); }
.process li:last-child { border-bottom: 1px solid var(--line); }
.process li::before { content: counter(s, decimal-leading-zero); font-size: 15px; font-weight: 500; color: var(--grey); padding-top: 6px; }
.process li h3 { font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1; }
.process li p { margin-top: 8px; color: var(--grey); max-width: 52ch; }

/* ==========================================================================
   Kurumsal
   ========================================================================== */
.corp .photo { grid-column: 1 / span 5; }
.corp .photo .im { aspect-ratio: 4 / 5; overflow: hidden; }
.corp .photo img { width: 100%; height: 100%; object-fit: cover; }
.corp .photo .cap { margin-top: 12px; }
.corp .text { grid-column: 7 / span 6; display: flex; flex-direction: column; justify-content: space-between; gap: 50px; }
.corp .vmk { display: grid; gap: 26px; }
.corp .vmk div { display: grid; grid-template-columns: 130px 1fr; gap: var(--gap); padding-top: 12px; border-top: 1px solid var(--ink); }
.corp .vmk h3 { font-size: 15px; font-weight: 500; }
.corp .vmk p { font-size: 1.1rem; line-height: 1.45; }

/* Portföy yönlendirme — tek büyük bağlantı */
.portal { display: block; padding-block: clamp(50px, 7vw, 110px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.portal .grid { align-items: end; }
.portal .cap { grid-column: 1 / span 3; }
.portal .go { grid-column: 4 / span 9; font-weight: 500; font-size: clamp(2.4rem, 6.4vw, 6.8rem); letter-spacing: -0.05em; line-height: 0.95; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.portal .go .ar { display: inline-block; font-weight: 300; transition: transform 0.5s var(--ease); }
.portal:hover .go .ar { transform: translate(10px, -10px); }
.portal .go span:first-child { background: linear-gradient(currentColor, currentColor) 0 92% / 0 2px no-repeat; transition: background-size 0.6s var(--ease); }
.portal:hover .go span:first-child { background-size: 100% 2px; }

/* Grup */
.group .label { grid-column: 1 / -1; margin-bottom: 40px; }
.logos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); }
.logos a { display: flex; flex-direction: column; gap: 14px; }
.logos .lg { height: 120px; display: grid; place-items: center; background: var(--paper); transition: background 0.3s; }
.logos img { width: 80%; max-width: 190px; height: 60px; object-fit: contain; filter: invert(1) brightness(0.1); opacity: 0.85; transition: opacity 0.3s; }
.logos a:hover .lg { background: #fff; }
.logos a:hover img { opacity: 1; }

/* Notlar (blog) */
.notes .label { grid-column: 1 / -1; margin-bottom: 10px; }
.notes ul { grid-column: 1 / -1; }
.notes li a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.notes li a time { grid-column: 1 / span 2; font-size: 14px; color: var(--grey); }
.notes li a h3 { grid-column: 3 / span 8; font-weight: 400; font-size: clamp(1.15rem, 1.8vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; }
.notes li a span { grid-column: 12; justify-self: end; color: var(--grey); transition: transform 0.35s var(--ease), color 0.3s; }
.notes li a:hover span { transform: translateX(5px); color: var(--ink); }

/* ==========================================================================
   İletişim
   ========================================================================== */
.contact .giant { grid-column: 1 / -1; display: grid; gap: 4px; }
.contact .giant a { font-weight: 500; font-size: clamp(2rem, 7.4vw, 8rem); letter-spacing: -0.055em; line-height: 0.98; width: fit-content; }
.contact .giant a .u-rev { padding-bottom: 0.04em; }
.contact .row2 { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(50px, 6vw, 100px); align-items: start; }
.contact .addr { grid-column: 1 / span 3; display: grid; gap: 18px; }
.contact .addr p { font-size: 16px; }
.contact .map { grid-column: 4 / span 3; aspect-ratio: 1; overflow: hidden; background: #e2e0d9; }
.contact .map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.contact .form-wrap { grid-column: 8 / span 5; }
.contact .form-wrap.wide { grid-column: 7 / span 6; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px var(--gap); }
.field { display: grid; gap: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--grey); }
.field input, .field select, .field textarea { width: 100%; height: 46px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 17px; border-radius: 0; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23121212' stroke-width='1.4' viewBox='0 0 12 12'%3E%3Cpath d='M1 4l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; padding-right: 22px; }
.field textarea { height: 90px; padding-top: 10px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-width: 2px; }
.check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--grey); }
.check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form .solid { grid-column: 1 / -1; justify-self: start; }
.form-success { display: none; padding: 22px 0; border-top: 1px solid var(--ink); }
.form-success strong { display: block; font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; }
.form-success p { margin-top: 6px; color: var(--grey); }
.is-sent .form { display: none; }
.is-sent .form-success { display: block; }

/* ---------- Footer ---------- */
.foot { padding: 60px var(--pad) 110px; border-top: 1px solid var(--ink); }
.foot .grid { row-gap: 30px; font-size: 14.5px; }
.foot .logo { grid-column: 1 / span 4; }
.foot .logo img { height: 46px; }
.foot .col { grid-column: span 2; display: grid; gap: 4px; align-content: start; }
.foot .col h4 { font-size: 14.5px; font-weight: 500; margin-bottom: 6px; }
.foot .col a { color: var(--grey); }
.foot .col a:hover { color: var(--ink); }
.foot .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--grey); font-size: 13.5px; }
.foot .legal nav { display: flex; gap: 18px; }

/* ---------- Modal (yandan açılan panel) ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; background: rgba(18, 18, 18, 0.45); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-card { width: min(520px, 100%); height: 100%; overflow-y: auto; background: var(--bg); padding: 28px var(--pad) 40px; transform: translateX(40px); transition: transform 0.5s var(--ease); display: flex; flex-direction: column; }
.modal.is-open .modal-card { transform: none; }
.modal-card .close { align-self: flex-end; font-size: 15px; font-weight: 500; }
.modal-card h2 { margin-top: auto; padding-top: 40px; font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.045em; line-height: 0.98; }
.modal-card .form { grid-template-columns: 1fr; margin-top: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12, 12, 12, 0.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; color: #fff; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1400px, 92vw); max-height: 80vh; object-fit: contain; }
.lb-btn { position: absolute; font-size: 15px; font-weight: 500; padding: 10px; }
.lb-close { top: 18px; right: var(--pad); }
.lb-prev { left: var(--pad); top: 50%; }
.lb-next { right: var(--pad); top: 50%; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 14px; opacity: 0.7; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s ease, transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.rise { animation: rise 1.2s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }

/* ==========================================================================
   Proje detay
   ========================================================================== */
.ph { padding-top: clamp(60px, 8vw, 120px); }
.ph .crumbs { grid-column: 1 / -1; font-size: 14px; color: var(--grey); margin-bottom: 24px; }
.ph .crumbs a:hover { color: var(--ink); }
.ph .display { grid-column: 1 / span 11; }
.ph .spec { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: clamp(32px, 4vw, 56px); }
.ph .spec div { padding-top: 12px; border-top: 1px solid var(--ink); }
.ph .spec small { display: block; font-size: 13.5px; color: var(--grey); }
.ph .spec strong { display: block; margin-top: 2px; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; }
.ph-img { height: 170vh; }
.ph-img .pair { grid-template-columns: 1fr; }

.gal { row-gap: clamp(40px, 6vw, 90px); }
.gal a { display: block; cursor: zoom-in; }
.gal .im { overflow: hidden; background: #e2e0d9; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.gal a:hover img { transform: scale(1.035); }
.gal .cap { margin-top: 10px; }
.g1 { grid-column: 1 / span 8; } .g1 .im { aspect-ratio: 16 / 9; }
.g2 { grid-column: 10 / span 3; align-self: end; } .g2 .im { aspect-ratio: 3 / 4; }
.g3 { grid-column: 3 / span 4; } .g3 .im { aspect-ratio: 4 / 3; }
.g4 { grid-column: 8 / span 5; margin-top: 12vw; } .g4 .im { aspect-ratio: 16 / 10; }
.g5 { grid-column: 1 / span 5; } .g5 .im { aspect-ratio: 16 / 10; }
.g6 { grid-column: 7 / span 6; } .g6 .im { aspect-ratio: 16 / 9; }

.feat .label { grid-column: 1 / -1; margin-bottom: 30px; }
.feat ul { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--gap); }
.feat li { padding: 18px 0 26px; border-top: 1px solid var(--line); }
.feat li h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; }
.feat li p { margin-top: 4px; color: var(--grey); font-size: 15px; }

.loc .label { grid-column: 1 / -1; margin-bottom: 40px; }
.loc .big { grid-column: 1 / span 7; }
.loc .map { grid-column: 9 / span 4; aspect-ratio: 4 / 5; overflow: hidden; }
.loc .map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

.next { display: block; border-top: 1px solid var(--ink); padding-block: clamp(40px, 6vw, 90px); }
.next .grid { align-items: end; }
.next .cap { grid-column: 1 / span 3; }
.next .go { grid-column: 4 / span 6; font-weight: 500; font-size: clamp(2.2rem, 5.4vw, 5.6rem); letter-spacing: -0.05em; line-height: 0.95; }
.next .im { grid-column: 10 / span 3; aspect-ratio: 4 / 3; overflow: hidden; }
.next .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.next:hover .im img { transform: scale(1.06); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .top nav { grid-column: 5 / span 5; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .feat ul { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .top { grid-template-columns: 1fr auto; }
  .top .brand img { height: 42px; }
  .top nav { display: none; }
  .top .right { grid-column: 2; font-size: 14px; }
  .hero .display, .hero-meta p { grid-column: 1 / -1; }
  .hero-meta .act { grid-column: 1 / -1; justify-self: start; margin-top: 18px; }
  .expand { height: 150vh; }
  .pair { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .ph-img .pair { grid-template-rows: 1fr; }
  .split { height: 140vh; }
  .about .big, .about .facts { grid-column: 1 / -1; }
  .about .facts { grid-template-columns: 1fr; gap: 18px; }
  .t1, .t2, .t3, .t4 { grid-column: 1 / -1; margin-top: 0; }
  .t2 .im, .t3 .im { aspect-ratio: 4 / 4.4; }
  .proof .intro, .proof .stage { grid-column: 1 / -1; }
  .proof .stage { margin-top: 40px; }
  .log { grid-auto-columns: 68vw; }
  .sentence { grid-column: 1 / -1; }
  .svc-pane .im { grid-column: 1 / span 5; }
  .svc-pane .txt { grid-column: 6 / -1; }
  .svc-pane .n { display: none; }
  .process .side, .process ol { grid-column: 1 / -1; }
  .process ol { margin-top: 40px; }
  .process .side .sticky { position: static; }
  .corp .photo, .corp .text { grid-column: 1 / -1; }
  .corp .text { margin-top: 40px; }
  .corp .vmk div { grid-template-columns: 1fr; gap: 6px; }
  .portal .cap, .portal .go { grid-column: 1 / -1; }
  .portal .go { margin-top: 16px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .notes li a time { grid-column: 1 / -1; }
  .notes li a h3 { grid-column: 1 / span 11; margin-top: 4px; }
  .contact .addr { grid-column: 1 / -1; }
  .contact .map { grid-column: 1 / -1; aspect-ratio: 16 / 10; margin-top: 30px; }
  .contact .form-wrap, .contact .form-wrap.wide { grid-column: 1 / -1; margin-top: 40px; }
  .form { grid-template-columns: 1fr; }
  .foot .logo { grid-column: 1 / -1; }
  .foot .col { grid-column: span 6; }
  .dock { width: calc(100% - 24px); justify-content: space-between; bottom: 12px; }
  .dock .d-only { display: none; }
  .dock .m-only { display: inline-flex; }
  .ph .display { grid-column: 1 / -1; }
  .ph .spec { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .ph-img { height: 130vh; }
  .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: 1 / -1; margin-top: 0; }
  .feat ul { grid-template-columns: 1fr; }
  .loc .big, .loc .map { grid-column: 1 / -1; }
  .loc .map { margin-top: 30px; aspect-ratio: 16 / 11; }
  .next .cap, .next .go { grid-column: 1 / -1; }
  .next .im { grid-column: 1 / -1; margin-top: 20px; aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .expand, .split, .ph-img { height: auto; }
  .expand-stick, .split-stick { position: static; height: auto; }
  .pair { clip-path: none !important; height: 70vh; }
}
