/* =====================================================================
   GYM İnşaat — arayüz stilleri
   Yapı: tokenlar → temel → bileşenler → sayfalar → responsive
   ===================================================================== */

@font-face { font-family: "Titillium"; src: url("/fonts/titillium-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Titillium"; src: url("/fonts/titillium-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Titillium"; src: url("/fonts/titillium-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat GYM"; src: url("/fonts/montserrat-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #f3f2ee;
  --bg-2: #e9e7e1;
  --paper: #fbfaf7;
  --ink: #151515;
  --ink-2: #2a2a2a;
  --muted: #6d6a64;
  --line: rgba(21, 21, 21, .12);
  --line-strong: rgba(21, 21, 21, .24);
  --accent: #a26028;
  --accent-2: #c88a4c;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-line: rgba(255, 255, 255, .12);
  --on-dark: #f3f2ee;
  --on-dark-muted: rgba(243, 242, 238, .58);

  --f-body: "Titillium", "Titillium Web", system-ui, sans-serif;
  --f-label: "Montserrat GYM", "Montserrat", system-ui, sans-serif;

  --rail: clamp(20px, 5.4vw, 88px);
  --maxw: 1440px;
  --header-h: 92px;

  --t-display: clamp(46px, 7.4vw, 124px);
  --t-h1: clamp(40px, 5.6vw, 92px);
  --t-h2: clamp(32px, 3.9vw, 62px);
  --t-h3: clamp(22px, 1.9vw, 30px);
  --t-lead: clamp(18px, 1.45vw, 23px);
  --t-body: 16px;
  --t-label: 12px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: .2s;
  --dur-base: .45s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--t-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: var(--bg); padding: 10px 16px; transition: top .2s; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--rail); }
.section { padding: clamp(80px, 11vw, 168px) 0; }
.section--tight { padding: clamp(60px, 7vw, 110px) 0; }
.section--flush-top { padding-top: 0; }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--paper { background: var(--paper); }

/* ---------- Tipografi ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-label); font-weight: 600; font-size: var(--t-label);
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--accent-2); }
.h-display { font-weight: 700; font-size: var(--t-display); line-height: .94; letter-spacing: -.035em; }
.h1 { font-weight: 700; font-size: var(--t-h1); line-height: .98; letter-spacing: -.03em; }
.h2 { font-weight: 700; font-size: var(--t-h2); line-height: 1.02; letter-spacing: -.025em; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); }
.section--dark .lead { color: var(--on-dark-muted); }
.accent { color: var(--accent); }
.outline { color: transparent; -webkit-text-stroke: 1px currentColor; }

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head__aside { max-width: 380px; color: var(--muted); }
.section--dark .sec-head__aside { color: var(--on-dark-muted); }

/* ---------- Butonlar ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--bg);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 28px 0 30px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg); overflow: hidden; isolation: isolate; white-space: nowrap;
  font-family: var(--f-label); font-weight: 600; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  transition: color var(--dur-base) var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  border-radius: inherit; transform: translateY(101%); transition: transform var(--dur-base) var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: #fff; }
.btn .arr { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-spring); }
.btn:hover .arr { transform: rotate(-45deg); }
.btn--light { --btn-bg: var(--bg); --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.section--dark .btn--ghost, .on-dark .btn--ghost { --btn-fg: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn--sm { height: 46px; padding: 0 20px 0 22px; font-size: 11.5px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-label); font-weight: 600;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size var(--dur-base) var(--ease-out), color var(--dur-fast);
}
.link-arrow:hover { color: var(--accent); background-size: 0 1px; background-position: 100% 100%; }
.link-arrow svg { width: 14px; height: 14px; transition: transform var(--dur-base) var(--ease-spring); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: transform .6s var(--ease-out), background .4s, height .4s var(--ease-out), box-shadow .4s;
}
.site-header.is-scrolled {
  --header-h: 72px;
  background: rgba(243, 242, 238, .8); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header--over:not(.is-scrolled) .logo svg { fill: var(--on-dark); }
.header--over:not(.is-scrolled) .nav-link { color: var(--on-dark); }
.header--over:not(.is-scrolled) .header__cta { --btn-bg: var(--on-dark); --btn-fg: var(--ink); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: block; width: 116px; height: 66px; transition: width .4s var(--ease-out), height .4s var(--ease-out); }
.is-scrolled .logo { width: 94px; height: 53px; }
.logo svg { width: 100%; height: 100%; fill: var(--ink); transition: fill .4s; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.main-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 36px); }
.nav-link { position: relative; display: inline-block; font-size: 15px; padding: 6px 0; color: var(--ink); overflow: hidden; vertical-align: top; transition: color .4s; }
.nav-link span { display: block; transition: transform .55s var(--ease-out); }
.nav-link span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--accent); }
.nav-link:hover span { transform: translateY(-100%); }
.nav-link.active { color: var(--accent); }
.nav-link.active::before { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; }
.nav-toggle { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }
.nav-toggle span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--bg); transition: transform .45s var(--ease-out); }
.nav-toggle span:nth-child(1) { top: 20px; }
.nav-toggle span:nth-child(2) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- Açılış perdesi & sayfa geçişi ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 900; background: var(--dark); display: grid; place-items: center;
  pointer-events: none; transition: transform 1.1s var(--ease-io);
}
.curtain__mark { width: 74px; height: 95px; }
.curtain__mark svg { width: 100%; height: 100%; fill: var(--on-dark); clip-path: inset(100% 0 0 0); animation: rise 1s var(--ease-io) .1s forwards; }
.curtain__bar { position: absolute; left: 50%; bottom: 25%; width: 140px; height: 1px; margin-left: -70px; background: var(--dark-line); overflow: hidden; }
.curtain__bar::after { content: ""; position: absolute; inset: 0; background: var(--accent-2); transform: scaleX(0); transform-origin: left; animation: load 1s var(--ease-io) .15s forwards; }
.is-loaded .curtain { transform: translateY(-100%); }
.no-curtain .curtain { display: none; }
@keyframes rise { to { clip-path: inset(0 0 0 0); } }
@keyframes load { to { transform: scaleX(1); } }
.page-fade { position: fixed; inset: 0; z-index: 899; background: var(--dark); transform: translateY(100%); pointer-events: none; transition: transform .65s var(--ease-io); }
.is-leaving .page-fade { transform: translateY(0); }

/* ---------- Özel imleç ---------- */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; border-radius: 50%; opacity: 0; transform: translate3d(-200px,-200px,0); }
.cursor { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(162, 96, 40, .55); display: grid; place-items: center;
  transition: opacity .3s, width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .45s, border-color .45s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); transition: opacity .3s, background .3s; }
.cursor__label { font-family: var(--f-label); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); background: rgba(162, 96, 40, .08); }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); border-color: var(--accent); }
.cursor.is-view .cursor__label { opacity: 1; }
.has-cursor .cursor.is-view ~ .cursor-dot { opacity: 0; }
.cursor.on-dark { border-color: rgba(37, 213, 173, .55); }
.cursor.on-dark ~ .cursor-dot { background: #6fd3ff; }
.cursor.on-dark.is-link { background: rgba(37, 213, 173, .06); border-color: rgba(37, 213, 173, .75); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Hareket ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js .split .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 40ms + var(--d, 0s)); }
.js .split.in .w > span { transform: none; }
.img-reveal { overflow: hidden; }
.js .img-reveal::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--reveal-bg, var(--bg)); transform-origin: 50% 0; transition: transform 1.4s var(--ease-io); transition-delay: var(--d, 0s); pointer-events: none; }
.js .img-reveal.in::after { transform: scaleY(0); }
.section--paper .img-reveal { --reveal-bg: var(--paper); }
.js .img-reveal > img, .js .img-reveal > .pi > img { scale: 1.2; transition: scale 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
.js .img-reveal.in > img, .js .img-reveal.in > .pi > img { scale: 1; }
.pi { position: absolute; inset: -12% 0; }
.pi img { width: 100%; height: 100%; object-fit: cover; }
.scroll-words .sw { opacity: .16; transition: opacity .3s linear; }
.scroll-words .sw.on { opacity: 1; }
[data-parallax] { will-change: transform; }
.progress { position: fixed; left: 0; top: 0; z-index: 101; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- Kayan şerit ---------- */
.marquee { overflow: hidden; padding: 30px 0; background: var(--dark); color: var(--on-dark); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 46px; padding-right: 46px; font-weight: 700; font-size: clamp(34px, 5vw, 76px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(243, 242, 238, .55); }
.marquee__item svg { width: 24px; height: 24px; fill: var(--accent-2); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   ANASAYFA
   ===================================================================== */
.hero { position: relative; min-height: 100svh; padding-top: var(--header-h); display: flex; flex-direction: column; overflow: hidden; }
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(30px, 4.5vw, 80px); align-items: center; padding-bottom: clamp(30px, 4vw, 60px); padding-top: 24px; }
.hero__text { position: relative; z-index: 2; }
.hero__logo { width: 210px; height: 47px; margin-bottom: clamp(26px, 3.4vw, 46px); }
.hero__logo svg { width: 100%; height: 100%; fill: var(--ink); }
.hero h1 { font-family: var(--f-label); font-weight: 600; font-size: clamp(40px, 5.3vw, 88px); line-height: 1.04; letter-spacing: -.045em; }
.hero h1 .accent { color: var(--accent); }
.hero__lead { max-width: 480px; margin-top: 30px; font-size: var(--t-lead); line-height: 1.5; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__media { position: relative; align-self: stretch; min-height: 520px; }
.hero__img { position: absolute; inset: 0; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-2%, 1%); } }
.hero__badge {
  position: absolute; left: -64px; bottom: 60px; z-index: 3; width: 132px; height: 132px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; transition: transform .6s var(--ease-spring);
}
.hero__badge:hover { transform: scale(1.06); }
.hero__badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge svg.ring text { font-family: var(--f-label); font-weight: 600; font-size: 10.6px; letter-spacing: .26em; fill: #fff; }
.hero__badge .arr { width: 24px; height: 24px; transition: transform var(--dur-base) var(--ease-spring); }
.hero__badge:hover .arr { transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__foot { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 24px 24px 30px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-weight: 700; font-size: clamp(32px, 3.3vw, 52px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .45em; color: var(--accent); margin-left: 2px; }
.stat__label { display: block; margin-top: 10px; font-family: var(--f-label); font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.manifesto { max-width: 1200px; font-weight: 600; font-size: clamp(27px, 3.5vw, 54px); line-height: 1.17; letter-spacing: -.02em; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(60px, 7vw, 110px); border-top: 1px solid var(--line); }
.pillar { padding: 34px 34px 10px 0; }
.pillar + .pillar { padding-left: 34px; border-left: 1px solid var(--line); }
.pillar__n { font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; color: var(--accent); }
.pillar h3 { margin: 18px 0 14px; font-weight: 700; font-size: 24px; }
.pillar p { color: var(--muted); }

.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.stack { position: relative; aspect-ratio: 1 / 1.02; }
.stack figure { position: absolute; overflow: hidden; }
.stack .s1 { right: 0; top: 0; width: 62%; height: 76%; }
.stack .s2 { left: 0; bottom: 0; width: 64%; height: 52%; z-index: 2; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .35); }
.stack .s1 img, .stack .s2 img { width: 100%; height: 100%; object-fit: cover; }
.stack__tag { position: absolute; right: 2%; bottom: 0; font-family: var(--f-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); }
.about-split .lead { margin: 26px 0 40px; color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
.value { position: relative; padding: 44px 34px 48px; background: var(--dark); overflow: hidden; transition: background var(--dur-base); }
.value::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.value:hover { background: var(--dark-2); }
.value:hover::after { transform: scaleX(1); }
.value img { width: 62px; height: 62px; object-fit: contain; filter: invert(1); opacity: .92; transition: transform .7s var(--ease-spring); }
.value:hover img { transform: translateY(-6px) rotate(-6deg); }
.value h3 { margin: 30px 0 14px; font-weight: 700; font-size: 22px; color: var(--on-dark); }
.value p { color: var(--on-dark-muted); font-size: 15px; }
.value__n { position: absolute; top: 30px; right: 30px; font-family: var(--f-label); font-size: 11px; letter-spacing: .2em; color: var(--accent-2); }

.svc-list { border-top: 1px solid var(--line); }
.svc-row { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr) 60px; align-items: center; gap: 30px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.svc-row__n { font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; color: var(--muted); transition: color var(--dur-fast); }
.svc-row__t { font-weight: 700; font-size: clamp(26px, 3vw, 48px); line-height: 1.05; letter-spacing: -.025em; transition: transform .6s var(--ease-out), color var(--dur-fast); }
.svc-row__d { color: var(--muted); max-width: 460px; }
.svc-row__a { justify-self: end; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background var(--dur-base), border-color var(--dur-base), color var(--dur-base); }
.svc-row__a svg { width: 18px; height: 18px; transition: transform .6s var(--ease-spring); }
.svc-row:hover .svc-row__t { transform: translateX(16px); color: var(--accent); }
.svc-row:hover .svc-row__n { color: var(--accent); }
.svc-row:hover .svc-row__a { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.svc-row:hover .svc-row__a svg { transform: rotate(-45deg); }
.svc-row__img { display: none; }
.svc-float { position: fixed; left: 0; top: 0; z-index: 60; width: 300px; height: 380px; pointer-events: none; overflow: hidden;
  opacity: 0; scale: .6; transition: opacity .4s, scale .6s var(--ease-out); }
.svc-float.on { opacity: 1; scale: 1; }
.svc-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity .45s, transform .9s var(--ease-out); }
.svc-float img.on { opacity: 1; transform: scale(1); }

/* Proje kartları */
.proj-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 40px); row-gap: clamp(50px, 6vw, 96px); }
.pcard { position: relative; display: block; grid-column: span 4; }
.pcard--lg { grid-column: span 7; }
.pcard--md { grid-column: span 5; }
.pcard--off { margin-top: clamp(60px, 9vw, 150px); }
.pcard__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.pcard--lg .pcard__media { aspect-ratio: 5 / 4; }
.pcard__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pcard:hover .pcard__media > img { transform: scale(1.07); }
.pcard__chip { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 7px 13px; border-radius: 999px; background: rgba(251, 250, 247, .92);
  font-family: var(--f-label); font-weight: 600; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.pcard__chip--live { background: var(--accent); color: #fff; }
.pcard__chip--live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #fff; vertical-align: 1px; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.pcard__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 20px; }
.pcard__title { font-weight: 700; font-size: clamp(21px, 1.8vw, 28px); line-height: 1.15; letter-spacing: -.015em; transition: color .3s; }
a.pcard:hover .pcard__title { color: var(--accent); }
.pcard__info { font-family: var(--f-label); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.pcard__line { display: block; height: 1px; margin-top: 18px; background: var(--line); position: relative; overflow: hidden; }
.pcard__line::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
a.pcard:hover .pcard__line::after { transform: scaleX(1); }

/* Görseli olmayan projeler için marka plakası */
.plate { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(22px, 2.4vw, 36px);
  background: radial-gradient(120% 90% at 85% 0%, #3d2b1b 0%, #171513 55%, #0f0f0f 100%); color: var(--on-dark); overflow: hidden; }
.plate::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); transition: transform 1.4s var(--ease-out); }
.pcard:hover .plate::before { transform: translateY(22px); }
.plate__mark { position: relative; width: 50px; height: 64px; }
.plate__mark svg { width: 100%; height: 100%; fill: var(--accent-2); }
.plate__name { position: relative; font-weight: 700; font-size: clamp(30px, 3vw, 50px); line-height: 1; letter-spacing: -.03em; }
.plate__stats { position: relative; display: flex; gap: 28px; margin-top: 18px; font-family: var(--f-label); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.plate__stats b { display: block; margin-top: 6px; font-family: var(--f-body); font-size: 21px; letter-spacing: -.01em; text-transform: none; color: var(--on-dark); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 5vw, 70px); }
.chip { height: 44px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--f-label); font-weight: 600; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.chip sup { margin-left: 5px; color: var(--accent); font-size: 10px; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip.on sup { color: var(--accent-2); }
.proj-grid--all .pcard { grid-column: span 4; }
.proj-grid--all .pcard:nth-child(3n+2) { margin-top: clamp(0px, 5vw, 80px); }
.proj-grid--all.is-filtered .pcard { margin-top: 0; }
.pcard.is-hidden { display: none; }
.pcard.is-entering { animation: cardIn .8s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 60ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px); } }

/* CTA bandı */
.cta-band { position: relative; overflow: hidden; color: var(--on-dark); background: var(--dark); }
.cta-band__bg { position: absolute; inset: -14% 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.88), rgba(10,10,10,.2)); }
.cta-band__inner { position: relative; z-index: 2; padding-block: clamp(100px, 13vw, 200px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.cta-band p { color: var(--on-dark-muted); max-width: 470px; margin-bottom: 34px; font-size: 18px; }

/* Haberler */
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.ncard__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ncard:hover .ncard__media img { transform: scale(1.06); }
.ncard__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding-top: 24px; }
.ncard__date { font-family: var(--f-label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ncard h3 { margin-top: 10px; font-weight: 700; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; letter-spacing: -.015em; transition: color .3s; }
.ncard:hover h3 { color: var(--accent); }
.round-arrow { flex: none; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.round-arrow svg { width: 18px; height: 18px; transition: transform .6s var(--ease-spring); }
.ncard:hover .round-arrow { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ncard:hover .round-arrow svg { transform: rotate(-45deg); }

/* İletişim formu */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(50px, 7vw, 120px); }
.contact-info { display: grid; gap: 28px; margin-top: 50px; }
.contact-info dt { font-family: var(--f-label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.contact-info dd { margin: 0; font-size: 19px; line-height: 1.5; }
.contact-info a { transition: color .3s; }
.contact-info a:hover { color: var(--accent); }
.section--dark .contact-info dt { color: var(--accent-2); }
.section--dark .contact-info a:hover { color: var(--accent-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 26px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; border-radius: 0;
  padding: 26px 0 12px; font-size: 18px; outline: none;
}
.field textarea { min-height: 130px; resize: vertical; display: block; }
.field label { position: absolute; left: 0; top: 24px; font-size: 17px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .45s var(--ease-out), color .3s; }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label { transform: translateY(-24px) scale(.72); color: var(--accent); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.section--dark .field input, .section--dark .field textarea { border-color: rgba(255,255,255,.2); color: var(--on-dark); }
.section--dark .field label { color: var(--on-dark-muted); }
.section--dark .field input:focus ~ label, .section--dark .field input:not(:placeholder-shown) ~ label,
.section--dark .field textarea:focus ~ label, .section--dark .field textarea:not(:placeholder-shown) ~ label { color: var(--accent-2); }
.section--dark .field::after { background: var(--accent-2); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); }
.section--dark .form-note { color: var(--on-dark-muted); }
.form-msg { grid-column: 1 / -1; font-size: 15px; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #3cb878; }
.form-msg.err { color: #e05757; }
.hp { position: absolute !important; left: -9999px !important; }

/* =====================================================================
   İÇ SAYFALAR
   ===================================================================== */
.page-head { padding: calc(var(--header-h) + clamp(56px, 8vw, 130px)) 0 clamp(50px, 6vw, 90px); }
.page-head__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 50px; align-items: end; }
.page-head .lead { color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font-family: var(--f-label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-style: normal; opacity: .5; }
.banner { position: relative; height: clamp(320px, 66vh, 720px); overflow: hidden; }
.banner .pi { inset: -14% 0; }

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.story + .story { margin-top: clamp(90px, 12vw, 190px); }
.story--rev .story__media { order: 2; }
.story__media { position: relative; overflow: hidden; aspect-ratio: 4 / 4.6; }
.story__n { display: block; font-weight: 700; font-size: clamp(70px, 9vw, 150px); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--line-strong); margin-bottom: 26px; }
.story h2 { margin-bottom: 28px; font-size: clamp(30px, 3.2vw, 50px); }
.story p { color: var(--ink-2); font-size: 17px; }
.story p + p { margin-top: 18px; }
.intro-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); }
.intro-cols p { font-size: 18px; color: var(--ink-2); }
.intro-cols h3 { font-weight: 700; font-size: 26px; margin-bottom: 18px; letter-spacing: -.01em; }
.quote { text-align: center; max-width: 1120px; margin: 0 auto; }
.quote blockquote { font-weight: 600; font-size: clamp(26px, 3.2vw, 50px); line-height: 1.2; letter-spacing: -.02em; }
.quote .eyebrow { margin-bottom: 34px; }

.svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(50px, 6vw, 90px) clamp(24px, 3vw, 48px); }
.svc-card:nth-child(even) { margin-top: clamp(0px, 9vw, 150px); }
.svc-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__body { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 10px; padding-top: 28px; }
.svc-card__n { font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; color: var(--accent); padding-top: 12px; }
.svc-card h2 { font-weight: 700; font-size: clamp(26px, 2.4vw, 38px); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 14px; }
.svc-card p { color: var(--muted); max-width: 470px; }

/* Proje detay */
.p-hero { position: relative; height: 100svh; min-height: 620px; color: var(--on-dark); overflow: hidden; background: var(--dark); }
.p-hero__bg { position: absolute; inset: -10% 0; }
.p-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 2.4s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.18); } }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 38%, rgba(0,0,0,.78) 100%); pointer-events: none; }
.p-hero .plate__name, .p-hero .plate__stats, .next-proj .plate__name, .next-proj .plate__stats { display: none; }
.p-hero .plate__mark { position: absolute; right: var(--rail); top: calc(var(--header-h) + 50px); width: 96px; height: 124px; opacity: .55; }
.p-hero__inner { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(40px, 6vw, 80px); }
.p-hero .crumbs { color: var(--on-dark-muted); }
.p-hero .crumbs a:hover { color: var(--on-dark); }
.p-hero h1 { max-width: 1150px; }
.chip-static { display: inline-block; margin-bottom: 26px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-family: var(--f-label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.p-facts { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.p-fact { padding: 30px 26px 32px 0; }
.p-fact + .p-fact { padding-left: 26px; border-left: 1px solid var(--line); }
.p-fact dt { font-family: var(--f-label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.p-fact dd { margin: 10px 0 0; font-weight: 700; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.02em; line-height: 1.1; }
.p-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); }
.p-body p { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.65; color: var(--ink-2); }
.p-gallery { columns: 2; column-gap: clamp(16px, 2vw, 30px); }
.p-gallery a { display: block; margin-bottom: clamp(16px, 2vw, 30px); overflow: hidden; break-inside: avoid; position: relative; }
.p-gallery img { width: 100%; height: auto; transition: transform 1.1s var(--ease-out); }
.p-gallery a:hover img { transform: scale(1.04); }
.p-gallery--3 { columns: 3; }
.p-gallery--1 { columns: 1; max-width: 1040px; margin: 0 auto; }
.p-note { padding: 50px 30px; border: 1px dashed var(--line-strong); color: var(--muted); text-align: center; }
.next-proj { position: relative; display: block; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.next-proj__bg { position: absolute; inset: 0; }
.next-proj__bg > img { width: 100%; height: 100%; object-fit: cover; opacity: .32; transform: scale(1.08); transition: transform 1.4s var(--ease-out), opacity .8s; }
.next-proj:hover .next-proj__bg > img { transform: scale(1); opacity: .55; }
.next-proj__inner { position: relative; z-index: 2; padding-block: clamp(90px, 11vw, 170px); display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.next-proj .eyebrow { margin-bottom: 26px; color: var(--accent-2); }
.next-proj .h-display { transition: transform .9s var(--ease-out); }
.next-proj:hover .h-display { transform: translateX(20px); }
.next-proj .round-arrow { width: 84px; height: 84px; border-color: rgba(255,255,255,.3); }
.next-proj:hover .round-arrow { background: var(--on-dark); color: var(--ink); }
.next-proj:hover .round-arrow svg { transform: rotate(-45deg); }

.lightbox { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; background: rgba(10, 10, 10, .95); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 82vh; object-fit: contain; transform: scale(.96); transition: transform .5s var(--ease-out); }
.lightbox.open img { transform: none; }
.lightbox button { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.lightbox button:hover { background: rgba(255,255,255,.12); }
.lightbox button svg { width: 20px; height: 20px; }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; margin-top: -28px; }
.lb-next { right: 24px; top: 50%; margin-top: -28px; }
.lb-count { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; }

.article { max-width: 920px; margin: 0 auto; }
.article__media { position: relative; overflow: hidden; margin-top: 54px; aspect-ratio: 3 / 2; }
.article__media img { width: 100%; height: 100%; object-fit: cover; }
.share { display: flex; align-items: center; gap: 12px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share span { font-family: var(--f-label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-right: 10px; }
.share a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.share a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.share svg { width: 16px; height: 16px; fill: currentColor; }

.map { position: relative; height: clamp(360px, 55vh, 560px); background: var(--bg-2); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(1.02); }

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px 20px 80px; }
.notfound .h-display { font-size: clamp(110px, 22vw, 320px); color: transparent; -webkit-text-stroke: 1px var(--ink); }
.notfound p { margin: 10px 0 40px; font-size: 18px; color: var(--muted); }

/* =====================================================================
   FOOTER + GREAT ADS İMZASI
   ===================================================================== */
.site-footer { position: relative; background: #0b0d12; color: var(--on-dark); overflow: hidden; }
.footer__cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding: clamp(90px, 11vw, 170px) 0 clamp(60px, 7vw, 100px); border-bottom: 1px solid var(--dark-line); }
.footer__cta .h-display { max-width: 1000px; }
.footer__cta .h-display em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(243, 242, 238, .55); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 70px 0 50px; }
.footer__logo { display: block; width: 160px; height: 90px; }
.footer__logo svg { width: 100%; height: 100%; fill: var(--on-dark); }
.footer__about { margin-top: 26px; max-width: 330px; color: var(--on-dark-muted); font-size: 15px; }
.footer__title { font-family: var(--f-label); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243, 242, 238, .42); margin-bottom: 22px; }
.footer__links li + li { margin-top: 10px; }
.footer__links a { position: relative; color: var(--on-dark); transition: color .3s; }
.footer__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.footer__links a:hover { color: var(--accent-2); }
.footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__contact p + p { margin-top: 14px; }
.footer__contact a { transition: color .3s; }
.footer__contact a:hover { color: var(--accent-2); }
.footer__big { font-weight: 700; font-size: clamp(60px, 15.4vw, 250px); line-height: .8; letter-spacing: -.05em; white-space: nowrap; color: transparent;
  -webkit-text-stroke: 1px rgba(243, 242, 238, .13); user-select: none; text-align: center; margin-bottom: 18px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px 0 28px; border-top: 1px solid var(--dark-line); font-size: 14px; color: rgba(243, 242, 238, .5); }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: color .3s; }
.to-top svg { width: 12px; height: 12px; transition: transform .5s var(--ease-spring); }
.to-top:hover { color: var(--on-dark); }
.to-top:hover svg { transform: translateY(-3px); }

/* Great Ads imzası — hover'da yanan neon rozet */
.ga-sign { --ga-neon: #25d5ad; display: inline-flex; align-items: center; gap: 12px; min-height: 36px; padding: 3px 0; color: rgba(243, 242, 238, .55); white-space: nowrap; font-family: var(--f-label); }
.ga-badge { position: relative; flex: none; display: block; width: 26px; height: 26px; border-radius: 50%;
  box-shadow: 0 0 7px 0 rgba(37, 213, 173, .34); transition: box-shadow var(--dur-base) var(--ease-out); }
@supports (animation-timeline: view()) {
  .ga-badge { animation: ga-land linear both; animation-timeline: view(); animation-range: entry 15% entry 95%; }
}
.ga-badge > img { width: 100%; height: 100%; border-radius: 50%; display: block; transform-origin: 50%; transition: transform var(--dur-fast) var(--ease-out); }
.ga-text { font-size: 14px; line-height: 1.4; }
.ga-name { color: var(--on-dark); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ga-sep { color: rgba(243, 242, 238, .3); }
.ga-sign:hover, .ga-sign:focus-visible { color: rgba(243, 242, 238, .55); }
.ga-sign:hover .ga-badge, .ga-sign:focus-visible .ga-badge { box-shadow: 0 0 0 1px rgba(37, 213, 173, .55), 0 0 17px 3px rgba(37, 213, 173, .78); }
.ga-sign:hover .ga-badge > img { transform: scale(1.08); }
.ga-sign:hover .ga-name, .ga-sign:focus-visible .ga-name { text-decoration: underline; }
.ga-sign:focus-visible { outline: 1px solid rgba(37, 213, 173, .5); outline-offset: 6px; border-radius: 4px; }
@keyframes ga-land { 0% { rotate: -16deg; scale: .78; } to { rotate: none; scale: 1; } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .main-nav ul { gap: 20px; }
  .header__cta { display: none; }
  .svc-row { grid-template-columns: 60px minmax(0, 1fr) 54px; }
  .svc-row__d { display: none; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .site-header.is-scrolled { --header-h: 66px; }
  .logo { width: 90px; height: 51px; }
  .is-scrolled .logo { width: 80px; height: 45px; }
  .main-nav { display: none; }
  .nav-toggle { display: block; z-index: 3; }
  .mobile-menu {
    display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: fixed; inset: 0; z-index: 99;
    padding: calc(var(--header-h) + 30px) var(--rail) 36px; background: var(--dark); color: var(--on-dark); overflow-y: auto;
    clip-path: circle(0% at calc(100% - var(--rail) - 24px) 38px); transition: clip-path .8s var(--ease-io), visibility 0s .8s; visibility: hidden;
  }
  .nav-open .mobile-menu { clip-path: circle(150% at calc(100% - var(--rail) - 24px) 38px); visibility: visible; transition: clip-path .8s var(--ease-io); }
  .mobile-menu ol { counter-reset: m; }
  .mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--dark-line); }
  .mobile-menu li a { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; font-weight: 700; font-size: clamp(30px, 8vw, 46px); line-height: 1.1; letter-spacing: -.02em;
    transform: translateY(110%); transition: transform .7s var(--ease-out); transition-delay: calc(.2s + var(--i) * 55ms); }
  .mobile-menu li a::before { counter-increment: m; content: "0" counter(m); font-family: var(--f-label); font-size: 11px; letter-spacing: .2em; color: var(--accent-2); }
  .mobile-menu li a.active { color: var(--accent-2); }
  .nav-open .mobile-menu li a { transform: none; }
  .mobile-menu__foot { color: var(--on-dark-muted); font-size: 15px; display: grid; gap: 6px; }
  .nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
  .nav-open .logo svg { fill: var(--on-dark); }
  .nav-open .nav-toggle { background: var(--on-dark); }
  .nav-open .nav-toggle span { background: var(--ink); }
  body.nav-open { overflow: hidden; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3.3; }
  .hero__badge { left: auto; right: 16px; bottom: -40px; width: 100px; height: 100px; }
  .hero__badge svg.ring text { font-size: 10px; }
  .hero__foot { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 34px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .about-split { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 44px minmax(0, 1fr) 46px; gap: 16px; padding: 26px 0; }
  .svc-row__a { width: 46px; height: 46px; }
  .svc-row:hover .svc-row__t { transform: none; }
  .svc-float { display: none; }
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard, .pcard--lg, .pcard--md, .proj-grid--all .pcard { grid-column: span 1; }
  .pcard--off, .proj-grid--all .pcard:nth-child(3n+2) { margin-top: 0; }
  .pcard--lg .pcard__media { aspect-ratio: 4 / 5; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-head__row { grid-template-columns: 1fr; gap: 26px; }
  .story, .story--rev { grid-template-columns: 1fr; }
  .story--rev .story__media { order: 0; }
  .story__media { aspect-ratio: 4 / 3.4; }
  .intro-cols { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr; }
  .svc-card:nth-child(even) { margin-top: 0; }
  .p-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .p-fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .p-body { grid-template-columns: 1fr; }
  .p-gallery--3 { columns: 2; }
  .footer__cta { grid-template-columns: 1fr; }
  .next-proj .round-arrow { display: none; }
}

@media (max-width: 640px) {
  .btn { height: 52px; padding: 0 22px 0 24px; }
  .hero__logo { width: 168px; height: 38px; }
  .hero h1 { font-size: clamp(34px, 10vw, 50px); }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .stat { padding: 20px 12px 22px 0; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(3) { padding-left: 0; }
  .values { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 34px minmax(0, 1fr) 40px; }
  .svc-row__a { width: 40px; height: 40px; }
  .svc-row__img { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 9; overflow: hidden; margin-top: 4px; }
  .svc-row__img img { width: 100%; height: 100%; object-fit: cover; }
  .proj-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .news-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .p-gallery, .p-gallery--3 { columns: 1; }
  .p-fact, .p-fact + .p-fact { padding: 22px 12px 22px 0; }
  .p-fact:nth-child(even) { padding-left: 14px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .ga-sign { white-space: normal; align-items: flex-start; }
  .ga-badge { margin-top: 1px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin-top: 0; }
  .lb-prev { left: 18px; } .lb-next { right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .split .w > span, .js .img-reveal { opacity: 1; transform: none; clip-path: none; }
  .scroll-words .sw { opacity: 1; }
  .curtain { display: none; }
}
