/* The Midfield Co — moodboard paleti: siyah, kömür, gri, kırık beyaz, bej + tek vurgu neon yeşil.
   Logo, kılavuzdaki gibi: koyu zeminde beyaz (negatif), açık zeminde Midfield yeşili #1F4520. */

@import url("../js/vendor/lenis.css");

:root {
  --black: #0E0E0E;
  --coal: #191918;
  --coal-2: #262625;
  --grey: #A5A5A1;
  --off: #ECEAE5;
  --beige: #CDBFAE;
  --neon: #7CF06A;
  --logo-green: #1F4520;

  --m: clamp(16px, 2.4vw, 40px);
  --section: clamp(96px, 11vw, 184px);

  --t-mega: clamp(40px, 8vw, 172px);
  --t-head: clamp(34px, 4.6vw, 80px);
  --t-state: clamp(22px, 2.3vw, 34px);
  --t-lead: clamp(18px, 1.4vw, 21px);
  --t-body: 17px;
  --t-small: 15px;
  --t-label: 13px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --hd: 0s;
}
.intro { --hd: .6s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--black); color: var(--off);
  font-family: "Archivo", "Arial Narrow", system-ui, sans-serif; font-size: var(--t-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: clip; -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .22em; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
::selection { background: var(--neon); color: var(--black); }
.skip { position: fixed; left: 8px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--neon); color: var(--black); transform: translateY(-160%); }
.skip:focus { transform: none; }

/* ince, geniş aralıklı küçük etiketler */
.label { font-size: var(--t-label); font-weight: 400; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; color: var(--grey); }

/* ---------------------------------------------------------------- butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid var(--neon);
  background: var(--neon); color: var(--black);
  font-size: var(--t-small); font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: var(--off); border-color: rgba(236, 234, 229, .35); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--off); border-color: var(--off); }
  .btn--ghost:hover { background: transparent; border-color: var(--off); color: var(--off); }
}
.link-arrow { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--off); }
.link-arrow svg { width: 20px; height: 20px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover svg { transform: translateX(4px); } }

/* ---------------------------------------------------------------- açılış */
.loader { display: none; }
.intro .loader { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--black); animation: loader-out 280ms var(--ease-out) 640ms forwards; }
.loader__mark { width: min(54vw, 420px); fill: var(--off); clip-path: inset(0 100% 0 0); animation: mark-in 560ms var(--ease-in-out) 40ms forwards; }
@keyframes mark-in { to { clip-path: inset(0 0 0 0); } }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }

/* ---------------------------------------------------------------- üst bar */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px);
  padding: calc(16px + env(safe-area-inset-top, 0px)) var(--m) 16px; color: var(--off);
  transition: transform 220ms var(--ease-out), background-color 200ms ease;
}
.bar.is-solid { background: var(--black); }
.bar.is-hidden { transform: translateY(-100%); }
.bar__logo { width: 112px; margin-right: auto; }
.bar__logo svg { display: block; width: 100%; fill: currentColor; }
.bar__nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; }
.bar__nav a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { color: var(--neon); } }
.bar__menu-only { display: none; }
.bar__lang { color: var(--grey); }
.btn--bar { min-height: 44px; padding: 0 18px; }
.bar__toggle { display: none; min-height: 44px; font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; }

/* ---------------------------------------------------------------- hızlı iletişim */
.wa-float { position: fixed; right: var(--m); bottom: calc(var(--m) + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; background: var(--neon); color: var(--black); transition: transform 160ms var(--ease-out); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:active { transform: scale(.95); }
.actionbar { display: none; }

/* ---------------------------------------------------------------- kapaklar ve yer tutucular */
.cover { position: relative; overflow: hidden; background: var(--coal); }
.cover > .cover__img, .cover > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .cover > .cover__img, .js .cover > .ph { animation: slow-zoom 14s var(--ease-out) both; }
@keyframes slow-zoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.ph { display: grid; align-content: space-between; gap: 16px; padding: clamp(20px, 3vw, 44px); background: var(--coal-2); color: var(--grey); }
.ph .label { color: #C4C3BE; }
.ph__desc { max-width: 42ch; font-size: var(--t-small); color: var(--beige); }
.cover--page { width: 100%; aspect-ratio: 16 / 8; max-height: 86svh; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 120px var(--m) clamp(40px, 6vh, 72px); }
.hero__media { position: absolute; inset: -6% 0 0 0; }
.hero__media .ph { align-content: start; justify-items: end; text-align: right; padding-top: calc(6vh + 140px); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,14,14,.92) 8%, rgba(14,14,14,.35) 55%, rgba(14,14,14,.6)); pointer-events: none; } /* taste-skill-ignore: yazı altı nötr perde */
.hero__content { position: relative; z-index: 1; }
/* firma adı: markanın orijinal fontu (Porta Bold) ile, SVG olarak; telefonda kılavuzdaki logo */
.hero__title { margin: 0; }
.wm { display: block; width: 100%; height: auto; fill: var(--off); overflow: hidden; }
.hero__logo { display: none; width: 100%; height: auto; fill: var(--off); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero__sub { margin-top: clamp(18px, 2.4vw, 32px); font-size: var(--t-state); font-weight: 300; letter-spacing: -.01em; }
.hero__caps { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 0; }
.hero__caps li { color: var(--off); }
.hero__caps li + li::before { content: "—"; margin: 0 14px; color: var(--grey); }
.hero__actions { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 12px; }

.js .wm__ch { transform-box: fill-box; animation: ch-in 1000ms var(--ease-out) calc(var(--hd) + var(--i) * 40ms) both; }
.wm__ch { transition: fill 300ms ease; }
.wm__ch.is-hot { fill: var(--neon); }
/* telefon logosu: parçalar sırayla yükselir */
.hero__logo { overflow: hidden; }
.js .hero__logo > * { transform-box: fill-box; animation: ch-in 1000ms var(--ease-out) both; }
.js .hero__logo > :nth-child(1) { animation-delay: calc(var(--hd) + 0ms); }
.js .hero__logo > :nth-child(2) { animation-delay: calc(var(--hd) + 40ms); }
.js .hero__logo > :nth-child(3) { animation-delay: calc(var(--hd) + 120ms); }
.js .hero__logo > :nth-child(4) { animation-delay: calc(var(--hd) + 160ms); }
.js .hero__logo > :nth-child(5) { animation-delay: calc(var(--hd) + 200ms); }
.js .hero__logo > :nth-child(6) { animation-delay: calc(var(--hd) + 240ms); }
.js .hero__logo > :nth-child(7) { animation-delay: calc(var(--hd) + 280ms); }
.js .hero__logo > :nth-child(8) { animation-delay: calc(var(--hd) + 320ms); }
.js .hero__logo > :nth-child(9) { animation-delay: calc(var(--hd) + 360ms); }
.js .hero__logo > :nth-child(10) { animation-delay: calc(var(--hd) + 400ms); }
.js .hero__logo > :nth-child(11) { animation-delay: calc(var(--hd) + 460ms); }
.js .hero__sub, .js .hero__caps, .js .hero__actions { animation: fade-up 800ms var(--ease-out) both; }
.js .hero__sub { animation-delay: calc(var(--hd) + 420ms); }
.js .hero__caps { animation-delay: calc(var(--hd) + 520ms); }
.js .hero__actions { animation-delay: calc(var(--hd) + 620ms); }
@keyframes ch-in { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

/* ---------------------------------------------------------------- konumlandırma + rakamlar (açık bölüm) */
.position { background: var(--off); color: var(--black); padding: var(--section) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; row-gap: clamp(56px, 7vw, 112px); }
.position .label { color: #5E5E5B; }
.statement { grid-column: 1 / span 9; font-size: var(--t-state); font-weight: 500; line-height: 1.25; letter-spacing: -.012em; }
.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px var(--m); }
.stats dt { font-size: var(--t-mega); font-weight: 900; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 112; font-stretch: 112%; }
.stats dd { margin-top: 14px; }

/* ---------------------------------------------------------------- uçtan uca zincir */
.chain { padding: var(--section) var(--m); }
.chain__title { margin-top: 16px; font-size: var(--t-head); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.chain__list { margin-top: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 48px); }
.chain__item h3 { margin-top: 14px; font-size: var(--t-state); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.chain__item p { margin-top: 10px; max-width: 34ch; color: var(--grey); }
.chain__num { color: var(--neon); }
.chain--compact { background: var(--coal); }

/* ---------------------------------------------------------------- 3D'den gerçeğe */
.compare { padding: var(--section) var(--m); background: var(--coal); }
.compare__head h2 { margin-top: 16px; max-width: 18ch; font-size: var(--t-head); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.cmp { position: relative; margin-top: clamp(40px, 5vw, 72px); aspect-ratio: 16 / 9; overflow: hidden; user-select: none; background: var(--coal-2); }
.cmp__layer { position: absolute; inset: 0; }
.cmp__layer > img, .cmp__layer > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__before { clip-path: inset(0 50% 0 0); }
.cmp__before .ph { background: #3A3A38; }
.cmp__after .ph { justify-items: end; text-align: right; }
.cmp__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--neon); pointer-events: none; }
.cmp__knob { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; gap: 2px; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--neon); color: var(--black); }
.cmp__knob svg { width: 16px; height: 16px; }
.cmp__knob svg:first-child { transform: rotate(180deg); }
.cmp__tag { position: absolute; bottom: 20px; z-index: 2; padding: 6px 10px; background: var(--black); color: var(--off); pointer-events: none; }
.cmp__tag--l { left: 20px; } .cmp__tag--r { right: 20px; }
.cmp__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.cmp__range:focus-visible ~ .cmp__line .cmp__knob, .cmp:has(.cmp__range:focus-visible) .cmp__knob { outline: 2px solid var(--off); outline-offset: 4px; }

/* ---------------------------------------------------------------- numaralı iş geçişi */
.reel { padding: var(--section) 0 0; }
.reel__head, .reel__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--m); }
.reel__count { color: var(--off); font-variant-numeric: tabular-nums; }
.reel__now { display: inline-block; overflow: hidden; vertical-align: bottom; height: 1.5em; }
.reel__now > span { display: inline-block; }
.reel__stage { position: relative; margin-top: 24px; aspect-ratio: 16 / 8; max-height: 88svh; width: 100%; overflow: hidden; background: var(--coal); }
.reel__slide { position: absolute; inset: 0; visibility: hidden; text-decoration: none; }
.reel__slide.is-active, .reel__slide.is-leaving { visibility: visible; }
.reel__slide.is-active { z-index: 2; }
.reel__slide img { width: 100%; height: 100%; object-fit: cover; }
.js .reel__slide.is-entering { clip-path: inset(0 0 0 100%); }
.js .reel__slide.is-active { clip-path: inset(0 0 0 0); transition: clip-path 900ms var(--ease-in-out); }
.js .reel__slide.is-active img { animation: reel-zoom 7s var(--ease-out) both; }
@keyframes reel-zoom { from { transform: scale(1.1); } to { transform: scale(1.01); } }
.reel__meta { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: 80px var(--m) var(--m); background: linear-gradient(to top, rgba(14,14,14,.85), transparent); } /* taste-skill-ignore: yazı altı nötr perde */
.reel__meta .label { color: var(--off); }
.reel__desc { margin: 0; max-width: 40ch; font-size: var(--t-state); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.reel__nav { margin-top: 20px; justify-content: flex-start; }
.reel__nav .link-arrow { margin-left: auto; }
.reel__btn { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(236, 234, 229, .3); transition: transform 160ms var(--ease-out), border-color 200ms ease; }
.reel__btn svg { width: 20px; height: 20px; }
.reel__btn[data-reel-prev] svg { transform: rotate(180deg); }
.reel__btn:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .reel__btn:hover { border-color: var(--neon); } }

/* ---------------------------------------------------------------- hizmet listesi + imleci izleyen kapak */
.services { padding: var(--section) var(--m); }
.services > h2 { margin-top: 16px; font-size: var(--t-head); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.svc { margin-top: clamp(40px, 5vw, 72px); }
.services--page .svc { margin-top: 0; }
.svc__row { display: grid; grid-template-columns: 64px 5fr 6fr 40px; gap: 16px; align-items: baseline; padding: clamp(20px, 2.4vw, 32px) 0; text-decoration: none; }
.svc li + li .svc__row { box-shadow: inset 0 1px 0 rgba(236, 234, 229, .12); } /* taste-skill-ignore: liste ayracı */
.svc__name { font-size: var(--t-state); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; transition: transform 300ms var(--ease-out), color 200ms ease; }
.svc__lede { color: var(--grey); }
.svc__arrow svg { width: 24px; height: 24px; transition: transform 300ms var(--ease-out), color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .svc__row:hover .svc__name { transform: translateX(12px); color: var(--neon); }
  .svc__row:hover .svc__arrow svg { transform: translateX(6px); color: var(--neon); }
}
.svc-float { position: fixed; left: 0; top: 0; z-index: 30; width: 340px; aspect-ratio: 16 / 10; pointer-events: none; opacity: 0; transition: opacity 200ms ease; }
.svc-float.is-on { opacity: 1; }
.svc-float__item { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
.svc-float__item.is-on { visibility: visible; }
.svc-float__item > img, .svc-float__item > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-float .ph { padding: 16px; }

/* ---------------------------------------------------------------- teklif bandı */
.cta { padding: var(--section) var(--m); background: var(--logo-green); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; row-gap: 24px; }
.cta > h2 { grid-column: 1 / span 9; font-size: var(--t-head); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.cta__text { grid-column: 1 / span 6; font-size: var(--t-lead); color: var(--off); }
.cta__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------------------------------------------------------------- sayfa başlıkları */
.pagehead { padding: calc(150px + env(safe-area-inset-top, 0px)) var(--m) clamp(48px, 6vw, 88px); }
.pagehead h1 { margin-top: 14px; font-size: var(--t-mega); font-weight: 900; line-height: .9; letter-spacing: -.035em; text-transform: uppercase; font-variation-settings: "wdth" 112; font-stretch: 112%; }
.pagehead--service h1 { max-width: 20ch; font-size: clamp(40px, 5.6vw, 92px); line-height: 1; letter-spacing: -.03em; text-transform: none; font-variation-settings: "wdth" 100; font-stretch: 100%; }
.pagehead--quote h1 { margin-top: 0; }
.pagehead__lede { margin-top: 22px; max-width: 46ch; font-size: var(--t-lead); color: var(--grey); }
.pagehead__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.filter { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter button { min-height: 44px; padding: 0 18px; border: 1px solid rgba(236, 234, 229, .25); font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.filter button:active { transform: scale(.97); }
.filter button[aria-pressed="true"] { background: var(--neon); border-color: var(--neon); color: var(--black); }
.filter sup { font-size: .8em; opacity: .7; }

/* ---------------------------------------------------------------- işler */
.works { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(16px, 2.4vw, 40px); row-gap: clamp(56px, 7vw, 112px); padding: 0 var(--m) var(--section); }
.work:nth-child(even) { margin-top: clamp(0px, 10vw, 180px); }
.work[hidden] { display: none; }
.work { transition: opacity 200ms ease, transform 200ms var(--ease-out); }
.work.is-leaving { opacity: 0; transform: scale(.98); }
.work__open { display: block; width: 100%; }
.work__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--coal); }
.work__img img { width: 100%; height: 100%; object-fit: cover; }
.work__meta { margin-top: 18px; color: var(--off); }
.work__desc { margin-top: 6px; font-size: var(--t-lead); font-weight: 600; max-width: 40ch; }
.work__caps { margin-top: 6px; font-size: var(--t-small); color: var(--grey); }
@media (hover: hover) and (pointer: fine) { .js .work__open:hover .work__img.is-in img { transform: scale(1.04); transition-duration: 700ms; transition-delay: 0ms; } }

.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--black); color: var(--off); }
.lightbox[open] { animation: lb-in 250ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } }
.lightbox::backdrop { background: rgba(14, 14, 14, .9); }
.lightbox__stage { position: absolute; inset: 72px var(--m) 72px; display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; animation: lb-img 400ms var(--ease-out); }
@keyframes lb-img { from { opacity: 0; transform: scale(.98); } }
.lightbox__count { position: absolute; left: var(--m); bottom: 24px; color: var(--off); }
.lightbox__btn, .lightbox__close { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; color: var(--off); transition: transform 160ms var(--ease-out); }
.lightbox__btn svg, .lightbox__close svg { width: 24px; height: 24px; }
.lightbox__btn:active, .lightbox__close:active { transform: scale(.94); }
.lightbox__prev { left: 8px; top: 50%; margin-top: -26px; }
.lightbox__prev svg { transform: rotate(180deg); }
.lightbox__next { right: 8px; top: 50%; margin-top: -26px; }
.lightbox__close { right: 12px; top: 12px; }

/* ---------------------------------------------------------------- hizmet sayfası */
.scope { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; padding: var(--section) var(--m); }
.scope h2 { grid-column: 1 / span 3; }
.scope ul { grid-column: 4 / -1; display: grid; gap: 18px; }
.scope li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; font-size: var(--t-state); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.scope li .label { color: var(--neon); }
.gallery { padding: var(--section) var(--m); }
.rows { --h: clamp(150px, 18vw, 320px); margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.rows figure { flex: var(--r, 1.4) 1 calc(var(--r, 1.4) * var(--h)); height: var(--h); overflow: hidden; }
.rows img { width: 100%; height: 100%; object-fit: cover; }
.rows::after { content: ""; flex: 10 1 0; }
.others { padding: 0 var(--m) var(--section); }
.others ul { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 32px; }
.others a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--t-lead); font-weight: 700; text-decoration: none; }
.others svg { width: 20px; height: 20px; color: var(--neon); }

/* ---------------------------------------------------------------- teklif formu */
.quote { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; row-gap: 64px; padding: 0 var(--m) var(--section); }
.qform { grid-column: 1 / span 7; }
.qstep { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.qstep.is-active { display: grid; gap: 20px; animation: step-in 250ms var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); } }
.qstep legend { padding: 0; margin-bottom: 20px; font-size: var(--t-head); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 50px; padding: 0 18px; background: var(--coal-2); font-weight: 600; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.chip input:checked + span { background: var(--neon); color: var(--black); }
.chip input:focus-visible + span { outline: 2px solid var(--neon); outline-offset: 3px; }
.chip:active span { transform: scale(.97); }
.field { display: grid; gap: 6px; }
.field > span { font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.field input, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(236, 234, 229, .4); border-radius: 0; background: transparent; font-size: 18px; outline: none; transition: border-color 200ms ease; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--neon); }
.field.is-invalid input { border-bottom-color: #FF7A6B; }
.field__err { color: #FF8A7D; font-size: var(--t-small); }
.consent { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; font-size: var(--t-small); color: var(--grey); }
.consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--neon); flex: none; }
.qform__nav { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.qform__progress { margin-right: 12px; color: var(--off); }
.qform__done { margin-top: 24px; font-size: var(--t-state); font-weight: 700; color: var(--neon); }
.quote__side { grid-column: 9 / -1; display: grid; gap: 16px; align-content: start; }
/* telefon ve e-posta aynı büyüklükte */
.quote__line { font-size: clamp(24px, 2.3vw, 40px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; text-decoration: none; overflow-wrap: anywhere; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .quote__line:hover { color: var(--neon); } }
.quote__side > p { color: var(--grey); }
.quote__contact { font-size: var(--t-small); line-height: 1.8; }
.quote__contact a { color: var(--off); }
.quote__pics { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote__pics figure { aspect-ratio: 3 / 4; overflow: hidden; }
.quote__pics img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- alt bilgi */
.foot { padding: clamp(64px, 7vw, 104px) var(--m) calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--coal); }
.foot__top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; align-items: start; }
.foot__logo { grid-column: 1 / span 2; width: 112px; }
.foot__logo svg { display: block; width: 100%; fill: var(--off); }
.foot__desc { grid-column: 4 / span 5; }
.foot__up { grid-column: 12; justify-self: end; text-decoration: none; }
/* telefon ve e-posta aynı büyüklükte, alt alta */
.foot__big { display: grid; justify-items: start; gap: .12em; margin-top: clamp(80px, 12vw, 200px); font-size: clamp(36px, 6.4vw, 120px); }
.foot__line { font-weight: 900; line-height: .95; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .foot__line:hover { color: var(--neon); } }
.foot__cols { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px var(--m); font-size: var(--t-small); }
.foot__cols h2 { margin-bottom: 12px; }
.foot__cols p + p { margin-top: 10px; }
.foot__cols li + li { margin-top: 6px; }
.foot__cols a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot__cols a:hover { color: var(--neon); } }
.foot__meta { margin-top: 64px; }

/* ---------------------------------------------------------------- imleç (sadece fare) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; }
  .cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--neon); transition: opacity 150ms ease; }
  .cursor__ring { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1px solid rgba(236, 234, 229, .5); transition: width 250ms var(--ease-out), height 250ms var(--ease-out), margin 250ms var(--ease-out), background-color 200ms ease, border-color 200ms ease; }
  .cursor__label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--black); opacity: 0; transition: opacity 150ms ease; }
  .cursor.is-link .cursor__ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--neon); }
  .cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--neon); border-color: var(--neon); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-label .cursor__dot { opacity: 0; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------------------------------------------------------------- kaydırma girişleri */
.js .rise { overflow: hidden; padding: .1em 0 .12em; margin: -.1em 0 -.12em; }
.js .rise > span { display: inline-block; transform: translateY(110%); transition: transform 1000ms var(--ease-out); }
.js .rise.is-in > span { transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* görsel girişi: üstteki perde yukarı toplanır, görsel yavaşça yerine oturur.
   clip-path kullanılmaz: kırpılmış görseli hem IntersectionObserver hem lazy-loading "görünmez" sayar. */
.js .reveal-img { position: relative; overflow: hidden; }
.js .reveal-img::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--coal); transform-origin: 50% 0; transition: transform 1100ms var(--ease-in-out); transition-delay: var(--d, 0ms); pointer-events: none; }
.js .reveal-img.is-in::after { transform: scaleY(0); }
.js .reveal-img img { transform: scale(1.12); transition: transform 1500ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal-img.is-in img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  .intro .loader { animation-duration: 1ms; animation-delay: 200ms; }
  .loader__mark { animation: none; clip-path: none; }
  .js .wm__ch, .js .hero__logo > *, .js .hero__sub, .js .hero__caps, .js .hero__actions { animation: none; }
  .js .cover > .cover__img, .js .cover > .ph, .js .reel__slide.is-active img { animation: none; }
  .js .reel__slide.is-active { transition: none; }
  .js .rise > span { transform: none; transition: none; }
  .js .reveal { transform: none; transition: opacity 400ms ease; }
  .js .reveal-img::after { display: none; }
  .js .reveal-img img { transform: none; transition: none; }
  .qstep.is-active { animation: none; }
  .cursor { display: none !important; }
}

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1024px) {
  .bar__nav > a:not(.bar__lang) { display: none; }
  .chain__list { grid-template-columns: 1fr 1fr; }
  .svc__row { grid-template-columns: 48px 1fr 32px; }
  .svc__lede { grid-column: 2; grid-row: 2; }
  .svc__arrow { grid-column: 3; grid-row: 1; }
  .svc-float { display: none; }
  .qform, .quote__side { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- telefon */
@media (max-width: 820px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .btn--bar, .wa-float { display: none; }
  .bar__toggle { display: block; }
  .bar__nav {
    position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px;
    padding: 96px var(--m) 120px; background: var(--black);
    font-size: clamp(30px, 9vw, 52px); font-weight: 800; letter-spacing: -.02em; text-transform: none;
    opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s linear 200ms;
  }
  .bar__nav > a, .bar__nav > a:not(.bar__lang), .bar__menu-only { display: block; }
  .menu-open .bar__nav { opacity: 1; visibility: visible; transition: opacity 250ms ease; }
  .menu-open .bar { background: transparent; }
  .bar__lang { margin-top: 16px; font-size: var(--t-lead); }

  .actionbar { position: fixed; inset: auto 0 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.3fr; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--black); }
  .actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; font-size: var(--t-small); font-weight: 700; text-decoration: none; transition: transform 160ms var(--ease-out); }
  .actionbar a:active { transform: scale(.97); }
  .actionbar svg { width: 22px; height: 22px; }
  .actionbar__main { background: var(--neon); color: var(--black); }

  .hero { padding-top: 100px; }
  .wm { display: none; }
  .hero__logo { display: block; max-width: 420px; }
  .hero__caps { gap: 6px 18px; }
  .hero__caps li + li::before { content: none; }
  .position, .cta, .scope, .quote, .foot__top { grid-template-columns: 1fr; }
  .position > *, .cta > *, .scope > *, .quote > * { grid-column: 1 / -1 !important; }
  .stats { grid-template-columns: 1fr; }
  .stats dt { font-size: 18vw; }
  .chain__list { grid-template-columns: 1fr; }
  .cmp { aspect-ratio: 4 / 5; }
  .cmp__knob { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .reel__stage { aspect-ratio: 4 / 5; }
  .reel__desc { font-size: 22px; }
  .works { grid-template-columns: 1fr; }
  .work:nth-child(even) { margin-top: 0; }
  .cover--page { aspect-ratio: 4 / 3; }
  .scope li { grid-template-columns: 40px 1fr; font-size: 22px; }
  .rows { --h: 30vw; gap: 8px; }
  .rows figure:first-child { flex-basis: 100%; height: calc(var(--h) * 1.8); }
  .pagehead h1 { font-size: 13vw; }
  .pagehead--service h1 { font-size: clamp(28px, 5.8vw, 46px); }
  .foot__top { row-gap: 12px; }
  .foot__top > * { grid-column: 1 !important; justify-self: start !important; }
  .foot__big { font-size: 8.4vw; }
  .foot__cols { grid-template-columns: 1fr; }
  .quote__line { font-size: 7.4vw; }
}

/* hizmetler sayfası: her satırda kapak küçük görünür */
.svc--thumbs .svc__row { grid-template-columns: 64px 4fr 5fr minmax(220px, 3fr); align-items: center; }
.svc__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc__thumb > img, .svc__thumb > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__thumb .ph { padding: 14px; }
.svc__thumb .ph__desc { display: none; }
@media (max-width: 1024px) {
  .svc--thumbs .svc__row { grid-template-columns: 48px 1fr; }
  .svc--thumbs .svc__thumb { grid-column: 2; grid-row: 3; margin-top: 12px; }
}
/* yer tutucuda dosya adı aynen görünsün (büyük harfe çevrilmez) */
.ph__head { display: grid; gap: 4px; }
.ph__file { font: 600 var(--t-small)/1.4 "Archivo", system-ui, sans-serif; color: var(--off); }
