/* Vizyon Hafriyat — site stylesheet
   Brand: ink #1A1A18 / industrial yellow #FFCD11 (logo itself keeps #FFED00) */

:root {
  --ink: #1a1a18;
  --ink-2: #26261f;
  --ink-line: #3a3a33;
  --yellow: #ffcd11;
  --yellow-deep: #ebb800;
  --paper: #f1eee7;
  --paper-2: #e7e3d9;
  --line: #d3cec2;
  --muted: #5f5c53;
  --muted-dark: #a9a597;
  --white: #ffffff;
  --wa: #25d366;

  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 136px);

  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--yellow); padding: 8px 14px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Type ---------- */
.x { font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -0.01em; }
h1, h2, h3, .h { font-family: var(--f); margin: 0; line-height: 1.02; font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -0.015em; }
.d1 { font-size: clamp(44px, 7.4vw, 112px); line-height: 0.95; }
.d2 { font-size: clamp(34px, 4.6vw, 68px); }
.d3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.big-text { font-size: clamp(24px, 2.9vw, 42px); line-height: 1.22; font-weight: 500; font-stretch: 112%; font-variation-settings: "wdth" 112; letter-spacing: -0.01em; }
.big-text em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.tag { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 26px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-y { background: var(--yellow); color: var(--ink); }
.btn-y:hover { background: var(--ink); color: var(--yellow); }
.btn-k { background: var(--ink); color: var(--white); }
.btn-k:hover { background: var(--yellow); color: var(--ink); }
.btn-o { border-color: currentColor; background: transparent; }
.btn-o:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-wa { background: var(--wa); color: #06301a; }
.btn-wa:hover { background: #1fb457; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; border-bottom: 2px solid var(--yellow); padding-bottom: 4px; }
.link-arrow:hover { border-color: var(--ink); }

/* ---------- Top bar + header ---------- */
/* header: see "Header — site command bar" at the end of the file */

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(88vh, 860px); color: var(--white); display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.hero-video.is-playing { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,20,18,.78) 0%, rgba(20,20,18,.35) 55%, rgba(20,20,18,.05) 100%), linear-gradient(0deg, rgba(20,20,18,.65), rgba(20,20,18,0) 45%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: var(--yellow); }
.hero p { font-size: clamp(18px, 1.5vw, 21px); max-width: 44ch; color: #e9e6dd; margin: 28px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.hero-actions .tel { color: var(--white); text-decoration: none; font-weight: 700; font-size: 20px; display: inline-flex; gap: 10px; align-items: center; }
.hero-actions .tel svg { width: 22px; height: 22px; color: var(--yellow); }
.stamp { background: var(--yellow); color: var(--ink); padding: 22px 24px; width: 240px; border-radius: 2px; }
.stamp b { display: block; font-size: 44px; line-height: 1; font-weight: 900; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.stamp span { display: block; font-weight: 700; margin-top: 6px; line-height: 1.3; }
.stamp small { display: block; margin-top: 10px; font-size: 13px; line-height: 1.4; }

/* ---------- Facts strip ---------- */
.facts { background: var(--ink); color: var(--white); }
.facts ul { list-style: none; margin: 0 auto; padding: 0 var(--gut); max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 30px 28px 32px 0; border-right: 1px solid var(--ink-line); margin-right: 28px; }
.facts li:last-child { border: 0; margin: 0; }
.facts b { display: block; font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.facts span { color: var(--muted-dark); font-size: 15px; line-height: 1.45; display: block; }

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0; }
.sec-dark { background: var(--ink); color: var(--white); }
.sec-dark .lead { color: var(--muted-dark); }
.sec-paper2 { background: var(--paper-2); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .lead { justify-self: end; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* intro */
.intro { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro figure { margin: 0; }
.intro figure img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.intro figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.intro-meta { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.intro-meta div { border-top: 3px solid var(--ink); padding-top: 14px; min-width: 180px; }
.intro-meta b { display: block; font-size: 40px; line-height: 1; font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.intro-meta span { font-size: 15px; color: var(--muted); }

/* featured services mosaic */
.mosaic { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(520px, 52vw, 720px); }
.tile { position: relative; overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink); }
.tile:first-child { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,18,.82) 0%, rgba(20,20,18,0) 58%); }
.tile:hover img { transform: scale(1.04); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 36px); z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.tile-body p { margin: 8px 0 0; color: #dedad0; font-size: 15.5px; max-width: 40ch; }
.tile .go { flex: none; width: 52px; height: 52px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.tile:hover .go { transform: translateX(4px); }
.tile .go svg { width: 22px; height: 22px; }

/* typographic service index */
.svc-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin-top: 72px; }
.svc-index h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; font-stretch: 100%; font-variation-settings: "wdth" 100; font-weight: 700; padding-bottom: 14px; border-bottom: 3px solid var(--ink); margin-bottom: 6px; display: flex; justify-content: space-between; }
.svc-index h3 span { color: var(--muted); }
.svc-index ul { list-style: none; margin: 0; padding: 0; }
.svc-index li a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; transition: padding .18s ease, background .18s ease; }
.svc-index li a::after { content: "→"; opacity: 0; transition: opacity .18s ease; }
.svc-index li a:hover { padding-left: 10px; background: var(--yellow); }
.svc-index li a:hover::after { opacity: 1; }

/* ---------- Fleet lineup (signature) ----------
   Units grow in proportion to --w, so the row always fits its container: no scrolling. */
.lineup { display: flex; align-items: flex-end; width: 100%; }
.unit { flex: var(--w) 1 0; min-width: 0; display: flex; flex-direction: column; align-items: stretch; text-decoration: none; color: inherit; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.unit .body { position: relative; display: flex; align-items: flex-end; padding: 0 7%; border-bottom: 3px solid var(--ink); }
.unit .body::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -3px; height: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.unit svg { display: block; width: 100%; height: auto; color: var(--ink); transition: color .3s ease, opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1); transform-origin: 50% 100%; }
.sec-dark .unit .body { border-color: var(--ink-line); }
.sec-dark .unit svg { color: var(--paper); }
.unit:hover svg, .unit:focus-visible svg { transform: translateY(-4px); }
.sec-dark .unit:hover svg { color: var(--yellow); }
.unit .lbl { padding-top: 14px; text-align: center; line-height: 1.2; white-space: nowrap; }
.unit .lbl b { display: block; font-size: clamp(13px, 1.25vw, 17px); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.unit .lbl span { font-size: clamp(11px, .95vw, 13px); color: var(--muted); }
.sec-dark .unit .lbl span { color: var(--muted-dark); }
.scale-note { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.sec-dark .scale-note { color: var(--muted-dark); }

/* picker: one machine in focus, the rest recede */
.picker .unit svg { color: #b9b3a5; }
.picker .unit:hover svg { color: var(--muted); }
.picker .unit[aria-selected="true"] svg { color: var(--ink); transform: translateY(-6px); }
.picker .unit[aria-selected="true"] .body::after { transform: scaleX(1); height: 6px; bottom: -6px; }
.picker .unit .lbl { color: var(--muted); transition: color .3s ease; }
.picker .unit[aria-selected="true"] .lbl { color: var(--ink); }
.fp-detail { display: grid; grid-template-columns: 5fr 6fr auto; gap: 24px 48px; align-items: start; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); position: relative; }
.fp-progress { position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--ink); }
.fp-progress.run { animation: fp-run var(--dur, 3.6s) linear forwards; }
@keyframes fp-run { to { width: 100%; } }
.fp-count { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.fp-name { font-size: clamp(26px, 2.5vw, 38px); }
.fp-note { margin: 0 0 16px; font-size: 19px; line-height: 1.5; }
.fp-jobs { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-acts { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.fp-nav { display: flex; gap: 8px; }
.fp-nav button { flex: 1; min-height: 48px; min-width: 48px; border: 1px solid var(--ink); background: transparent; cursor: pointer; display: grid; place-items: center; border-radius: 2px; }
.fp-nav button:hover { background: var(--ink); color: var(--yellow); }
.fp-nav svg { width: 20px; height: 20px; }
.fp-nav button:first-child svg { transform: scaleX(-1); }
.fp-stage { display: none; }
.fp-swap { transition: opacity .25s ease, transform .25s ease; }
.fp-swap.out { opacity: 0; transform: translateY(6px); }

/* ---------- Split (kentsel dönüşüm) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split-media { position: relative; min-height: 380px; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { padding: var(--sec) var(--gut); display: flex; flex-direction: column; justify-content: center; max-width: 680px; }
.checks { list-style: none; padding: 0; margin: 36px 0 40px; counter-reset: c; }
.checks li { counter-increment: c; display: grid; grid-template-columns: 52px 1fr; gap: 6px 16px; padding: 18px 0; border-top: 1px solid var(--ink-line); }
.checks li::before { content: counter(c, decimal-leading-zero); font-weight: 800; color: var(--yellow); font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 20px; grid-row: span 2; }
.checks b { font-size: 18px; }
.checks span { color: var(--muted-dark); font-size: 15.5px; }
.sec:not(.sec-dark) .checks li, .paper .checks li { border-color: var(--line); }
.paper .checks li::before { color: var(--ink); }
.paper .checks span { color: var(--muted); }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--ink); }
.steps li { padding: 28px 28px 8px 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps .n { font-size: 15px; font-weight: 700; color: var(--muted); }
.steps h3 { font-size: 24px; margin: 18px 0 12px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.steps .when { display: inline-block; margin-top: 18px; background: var(--yellow); font-size: 13px; font-weight: 700; padding: 4px 10px; }

/* ---------- Work reel: expanding panels, no scrolling ---------- */
.reel { display: flex; gap: 8px; height: clamp(420px, 40vw, 580px); }
.reel a { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--ink); color: var(--white); text-decoration: none; transition: flex-grow .7s cubic-bezier(.2,.7,.2,1); }
.reel a.on, .reel:hover a:hover, .reel a:focus-visible { flex-grow: 4.6; }
.reel:hover a.on:not(:hover) { flex-grow: 1; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .5s ease; filter: grayscale(.55) brightness(.8); }
.reel a.on img, .reel:hover a:hover img, .reel a:focus-visible img { filter: none; transform: scale(1.03); }
.reel:hover a.on:not(:hover) img { filter: grayscale(.55) brightness(.8); transform: none; }
.reel a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,18,.85) 0%, rgba(20,20,18,0) 50%); }
.reel .v, .reel .cap { position: absolute; z-index: 1; left: 0; bottom: 0; transition: opacity .35s ease; }
.reel .v { padding: 22px 0 22px 18px; writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 700; font-size: 14px; letter-spacing: .04em; white-space: nowrap; }
.reel .cap { right: 0; padding: clamp(20px, 2.4vw, 32px); opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .45s ease; }
.reel .cap .n { display: block; color: var(--yellow); font-weight: 700; font-size: 14px; margin-bottom: 8px; white-space: nowrap; }
.reel .cap b { display: block; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; white-space: nowrap; }
.reel a.on .cap, .reel:hover a:hover .cap, .reel a:focus-visible .cap { opacity: 1; transform: none; transition-delay: .2s; }
.reel a.on .v, .reel:hover a:hover .v, .reel a:focus-visible .v { opacity: 0; }
.reel:hover a.on:not(:hover) .cap { opacity: 0; transition-delay: 0s; }
.reel:hover a.on:not(:hover) .v { opacity: 1; }

/* ---------- Contact block ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; background: var(--ink); color: var(--white); }
.contact-body { padding: clamp(40px, 5vw, 72px); }
.contact-map { min-height: 480px; position: relative; background: var(--ink-2); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.dl { display: grid; grid-template-columns: 110px 1fr; gap: 14px 20px; margin: 36px 0; font-size: 16px; }
.dl dt { color: var(--muted-dark); font-size: 14px; padding-top: 2px; }
.dl dd { margin: 0; }
.dl a { text-decoration: none; border-bottom: 1px solid var(--ink-line); }
.dl a:hover { border-color: var(--yellow); }

/* forms */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 2px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 16px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.dark-form .field label { color: var(--muted-dark); }
.dark-form .field input, .dark-form .field select { background: var(--ink-2); border-color: var(--ink-line); color: var(--white); }
.dark-form .field input:focus, .dark-form .field select:focus { border-color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); }
.form-note { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.dark-form .form-note { color: var(--muted-dark); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--yellow); }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.cta-band p { margin: 10px 0 0; font-size: 18px; }
.cta-band .acts { display: flex; gap: 12px; flex-wrap: wrap; }

.footer { background: var(--ink); color: var(--muted-dark); font-size: 15px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer img { height: 72px; width: auto; margin-bottom: 22px; }
.footer h4 { color: var(--white); font-size: 15px; margin: 0 0 18px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer .y3-badge { display: inline-flex; gap: 12px; align-items: center; margin-top: 22px; border: 1px solid var(--ink-line); padding: 10px 14px; color: var(--white); font-size: 14px; }
.footer .y3-badge b { background: var(--yellow); color: var(--ink); padding: 2px 8px; font-weight: 900; }
.footer-bottom { border-top: 1px solid var(--ink-line); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; font-size: 13.5px; grid-template-columns: none; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-credit { border-top: 1px solid var(--ink-line); }
.footer-credit .wrap { display: flex; justify-content: center; align-items: center; padding-top: 18px; padding-bottom: 18px; grid-template-columns: none; }
.footer-credit p { margin: 0; font-size: 13px; line-height: 1.8; text-align: center; }
.footer-credit a { display: inline-block; vertical-align: middle; margin: 0 4px; }
.footer .footer-credit img { height: 16px; width: auto; margin: 0; vertical-align: middle; }

/* ---------- WhatsApp float + mobile bar ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wa-float .bubble { background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 2px; box-shadow: 0 6px 24px rgba(0,0,0,.14); opacity: 0; transform: translateX(8px); transition: .2s ease; pointer-events: none; }
.wa-float:hover .bubble { opacity: 1; transform: none; }
.wa-float .ico { width: 62px; height: 62px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 28px rgba(37,211,102,.35); }
.wa-float .ico svg { width: 32px; height: 32px; color: var(--white); }
.mbar { display: none; }

/* ---------- Page header (inner pages) ---------- */
.phead { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.phead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.phead .wrap { position: relative; padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(48px, 6vw, 80px); }
.crumbs { font-size: 14px; color: var(--muted-dark); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--white); }
.crumbs a::after { content: "/"; margin: 0 10px; color: var(--muted-dark); }
.phead p { font-size: clamp(18px, 1.5vw, 21px); color: #e1ddd3; max-width: 52ch; margin: 24px 0 0; }

/* ---------- Kurumsal ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--ink); }
.vm > div { padding: 40px 40px 8px 0; }
.vm > div + div { padding-left: 40px; border-left: 1px solid var(--line); }
.vm h3 { font-size: clamp(28px, 3vw, 44px); margin-bottom: 20px; }
.vm p { font-size: 18px; color: var(--muted); margin: 0; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.values div { padding: 0 28px 0 0; }
.values div + div { padding-left: 28px; border-left: 1px solid var(--ink-line); }
.values svg { width: 36px; height: 36px; color: var(--yellow); margin-bottom: 22px; }
.values h3 { font-size: 22px; margin-bottom: 12px; }
.values p { margin: 0; color: var(--muted-dark); font-size: 16px; }
.doc { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; border: 2px solid var(--ink); padding: 32px; background: var(--white); }
.doc .seal { width: 108px; height: 108px; background: var(--yellow); display: grid; place-items: center; font-size: 46px; font-weight: 900; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.doc h3 { font-size: 26px; margin-bottom: 8px; }
.doc p { margin: 0; color: var(--muted); }
.duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.duo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------- Makine parkuru ---------- */
.fleet-table { width: 100%; border-collapse: collapse; }
.fleet-row { display: grid; grid-template-columns: 220px 1.2fr 1.6fr auto; gap: 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.fleet-row:first-child { border-top: 3px solid var(--ink); }
.fleet-row .sil { color: var(--ink); display: flex; align-items: flex-end; height: 110px; }
.fleet-row h3 { font-size: 26px; }
.fleet-row h3 small { display: block; font-size: 14px; font-weight: 600; font-stretch: 100%; font-variation-settings: "wdth" 100; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.fleet-row .uses { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; border: 1px solid var(--line); background: var(--white); padding: 6px 12px; font-size: 14px; border-radius: 2px; }
.fleet-row .acts { display: flex; gap: 10px; }
.fleet-row .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
.qty { display: inline-block; background: var(--yellow); padding: 2px 8px; font-weight: 800; margin-left: 8px; font-size: 15px; vertical-align: middle; }

.matrix { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 760px; }
.matrix th, .matrix td { padding: 16px 12px; text-align: center; border-bottom: 1px solid var(--ink-line); }
.matrix th:first-child, .matrix td:first-child { text-align: left; }
.matrix thead th { color: var(--muted-dark); font-weight: 600; font-size: 14px; vertical-align: bottom; }
.matrix td:first-child { font-weight: 700; }
.dot { display: inline-block; width: 14px; height: 14px; background: var(--yellow); }
.dot.half { background: transparent; border: 2px solid var(--yellow); }
.scroll-x { overflow-x: auto; }
.legend { display: flex; gap: 24px; margin-top: 18px; font-size: 14px; color: var(--muted-dark); align-items: center; flex-wrap: wrap; }
.legend span { display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Hizmetler ---------- */
.svc-nav { position: sticky; top: var(--bar-h); z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.svc-nav .wrap { display: flex; gap: 6px; overflow-x: auto; }
.svc-nav a { text-decoration: none; font-weight: 600; padding: 18px 14px; white-space: nowrap; border-bottom: 3px solid transparent; font-size: 15.5px; }
.svc-nav a:hover { border-color: var(--yellow); }
.group { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); }
.group-aside { position: sticky; top: 170px; align-self: start; }
.group-aside img { margin-top: 32px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.group-aside .count { font-size: 15px; color: var(--muted); margin-top: 14px; display: block; }
.sec-dark .group-aside .count { color: var(--muted-dark); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid currentColor; }
.svc-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 8px 20px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.sec-dark .svc-item { border-color: var(--ink-line); }
.svc-item .i { font-weight: 700; color: var(--muted); font-size: 15px; }
.sec-dark .svc-item .i { color: var(--yellow); }
.svc-item h3 { font-size: clamp(21px, 1.9vw, 27px); }
.svc-item p { grid-column: 2; margin: 0; color: var(--muted); max-width: 60ch; }
.sec-dark .svc-item p { color: var(--muted-dark); }
.svc-item .ask { grid-row: 1; grid-column: 3; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--yellow); }
.svc-item.feature { background: var(--yellow); color: var(--ink); padding: 28px 24px; margin: 0 -24px; border: 0; }
.svc-item.feature .i, .svc-item.feature p { color: var(--ink); }
.svc-item.feature .ask { border-color: var(--ink); }
.rent { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rent a { position: relative; display: block; min-height: 420px; color: var(--white); text-decoration: none; overflow: hidden; background: var(--ink); }
.rent img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform .6s ease, opacity .3s; }
.rent a:hover img { transform: scale(1.04); opacity: .5; }
.rent .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px; }
.rent .body .i { color: var(--yellow); font-weight: 700; }
.rent .body h3 { font-size: clamp(26px, 2.6vw, 38px); margin: 10px 0 12px; }
.rent .body p { margin: 0; color: #e1ddd3; max-width: 44ch; }

/* ---------- Referanslar ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filters button { border: 1px solid var(--ink); background: transparent; padding: 10px 18px; font-weight: 600; cursor: pointer; border-radius: 2px; min-height: 44px; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--ink); color: var(--yellow); }
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; }
.proj { grid-column: span 4; margin: 0; }
.proj.w8 { grid-column: span 8; }
.proj.w6 { grid-column: span 6; }
.proj img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.proj.w8 img { aspect-ratio: 16/9; height: 100%; }
.proj .meta { display: flex; gap: 12px; font-size: 13.5px; color: var(--muted); margin: 16px 0 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.proj h3 { font-size: 22px; line-height: 1.15; }
.proj[hidden] { display: none; }
.ba { position: relative; aspect-ratio: 16/9; overflow: hidden; user-select: none; background: var(--ink-2); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 50%); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--yellow); pointer-events: none; }
.ba .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 20px; }
.ba .lbl { position: absolute; top: 16px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; padding: 6px 10px; z-index: 2; pointer-events: none; }
.ba .lbl.l { left: 16px; } .ba .lbl.r { right: 16px; background: var(--yellow); color: var(--ink); }
.case { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.spec { display: grid; grid-template-columns: 120px 1fr; margin: 32px 0 0; border-top: 1px solid var(--ink-line); }
.spec dt, .spec dd { padding: 14px 0; border-bottom: 1px solid var(--ink-line); margin: 0; }
.spec dt { color: var(--muted-dark); font-size: 14px; }
.note { border-left: 4px solid var(--yellow); background: var(--white); padding: 18px 22px; font-size: 15px; color: var(--muted); }

/* ---------- İletişim ---------- */
.actions3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.act { display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; padding: 32px; text-decoration: none; transition: transform .2s ease; border-radius: 2px; }
.act:hover { transform: translateY(-4px); }
.act svg { width: 40px; height: 40px; }
.act small { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; opacity: .8; }
.act b { font-size: clamp(24px, 2.3vw, 32px); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; line-height: 1.1; display: block; }
.act.y { background: var(--yellow); color: var(--ink); }
.act.g { background: var(--wa); color: #06301a; }
.act.k { background: var(--ink); color: var(--white); }
.act.k svg { color: var(--yellow); }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.card-paper { background: var(--white); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.regions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.map-full { height: 520px; position: relative; background: var(--ink-2); }
.map-full iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.faq-layout { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); }
@media (max-width: 960px) { .faq-layout { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 19px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 70ch; }

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .rv.in { opacity: 1; transform: none; }
}

/* ---------- refinements ---------- */
.d2 { font-size: clamp(32px, 3.9vw, 58px); }
.sec-head { grid-template-columns: 1.15fr 1fr; }
.link-arrow svg { width: 20px; height: 20px; flex: none; }
.hero > img { left: 4%; right: auto; width: 140%; object-position: 50% 62%; }
.hero::before { background: linear-gradient(90deg, rgba(20,20,18,.86) 0%, rgba(20,20,18,.55) 38%, rgba(20,20,18,0) 68%), linear-gradient(0deg, rgba(20,20,18,.7), rgba(20,20,18,0) 40%); }
.split-media img { object-position: 50% 85%; }
.work figcaption span { white-space: nowrap; }
.contact .d2 { font-size: clamp(30px, 3vw, 44px); }

.hero > img { left: 0; }
.proj.w8 img { height: auto; aspect-ratio: 16/10; }
.svc-item.feature { margin: 0 -16px; padding: 28px 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .reel { display: grid; grid-template-columns: 1fr 1fr; height: auto; }
  .reel a { aspect-ratio: 1; }
  .reel a:first-child { grid-column: span 2; aspect-ratio: 4/3; }
  .reel a:last-child { display: none; }
  .reel img { filter: none !important; transform: none !important; }
  .reel .v { display: none; }
  .reel .cap { opacity: 1 !important; transform: none; padding: 14px; }
  .reel .cap b { font-size: 16px; white-space: normal; }
  .reel a:first-child .cap b { font-size: 22px; }
  .reel .cap .n { font-size: 12px; margin-bottom: 4px; }
  .lineup .lbl { display: none; }
  .picker .unit { min-height: 52px; justify-content: flex-end; }
  .unit .body { padding: 0 5%; }
  .fp-detail { grid-template-columns: 1fr; margin-top: 24px; gap: 18px; }
  .fp-stage { display: flex; justify-content: center; align-items: flex-end; min-height: 190px; border-bottom: 3px solid var(--ink); }
  .fp-stage svg { width: calc(var(--w, 290) / 290 * 92%); height: auto; color: var(--ink); }
  .fp-acts { flex-direction: row; flex-wrap: wrap; }
  .fp-acts .btn { flex: 1 1 100%; justify-content: center; }
  .fp-nav { flex: 1 1 100%; }
}
@media (max-width: 1180px) {
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .svc-index { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .fleet-row { grid-template-columns: 180px 1fr auto; }
  .fleet-row .uses { grid-column: 2 / -1; }
}
@media (max-width: 960px) {
  body { padding-bottom: 68px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .stamp { width: auto; display: flex; gap: 16px; align-items: center; }
  .stamp b { font-size: 34px; } .stamp small { display: none; } .stamp span { margin: 0; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { margin-right: 0; padding: 22px 16px 22px 0; border-right: 0; border-bottom: 1px solid var(--ink-line); }
  .facts li:nth-child(odd) { border-right: 1px solid var(--ink-line); margin-right: 16px; }
  .sec-head, .intro, .split, .contact, .case, .contact-grid, .group, .vm, .duo { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .vm > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .mosaic .tile { min-height: 300px; } .tile:first-child { grid-row: auto; min-height: 380px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .values { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .values div:nth-child(3) { padding-left: 0; border-left: 0; }
  .group-aside { position: static; }
  .group-aside img { aspect-ratio: 16/9; }
  .rent, .actions3 { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .proj, .proj.w8, .proj.w6 { grid-column: auto; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 1px solid var(--ink-line); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; text-decoration: none; color: var(--white); font-size: 13px; font-weight: 600; }
  .mbar a svg { width: 22px; height: 22px; }
  .mbar a:nth-child(1) svg { color: var(--yellow); }
  .mbar a:nth-child(2) { background: var(--wa); color: #06301a; }
  .mbar a:nth-child(3) { background: var(--yellow); color: var(--ink); }
  .doc { grid-template-columns: 1fr; }
  .fleet-row { grid-template-columns: 1fr; gap: 16px; }
  .fleet-row .uses { grid-column: auto; }
  .split-media { min-height: 320px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li:nth-child(odd) { border-right: 0; margin-right: 0; }
  .svc-index, .steps, .values { grid-template-columns: 1fr; }
  .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .values div + div { padding-left: 0; border-left: 0; }
  .form .row { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .svc-item { grid-template-columns: 40px 1fr; }
  .svc-item .ask { grid-row: auto; grid-column: 2; justify-self: start; margin-top: 8px; }
  .dl { grid-template-columns: 1fr; gap: 4px; }
  .dl dd { margin-bottom: 12px; }
  .intro-meta div { min-width: 0; flex: 1 1 40%; }
}

@media (max-width: 960px) {
  .hero > img { left: 0; width: 100%; object-position: 28% 50%; }
  .hero::before { background: linear-gradient(0deg, rgba(20,20,18,.9) 10%, rgba(20,20,18,.25) 70%); }
}

/* ---------- Machine yard gallery (makine-parkuru) ---------- */
.yard { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(320px, 27vw, 390px); gap: 12px; }
.yard > * { grid-column: span 4; }
.yard .is-lead { grid-column: span 7; grid-row: span 2; }
.yard > :nth-child(2), .yard > :nth-child(3) { grid-column: span 5; }
.yard-card { position: relative; display: block; overflow: hidden; background: var(--ink); color: var(--white); text-decoration: none; border-radius: 2px; }
.yard-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.yard-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,18,.92) 0%, rgba(20,20,18,.55) 34%, rgba(20,20,18,0) 62%); }
.yard-n { position: absolute; z-index: 1; top: 0; left: 0; background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 15px; letter-spacing: .04em; padding: 8px 12px; }
.yard-plate { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 28px); }
.yard-kind { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.yard-name { margin: 6px 0 14px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.yard .is-lead .yard-name { font-size: clamp(32px, 3.6vw, 52px); }
.yard-spec { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 16px; border-top: 1px solid rgba(255,255,255,.28); }
.yard-spec div { padding: 10px 20px 0 0; margin-right: 20px; border-right: 1px solid rgba(255,255,255,.28); }
.yard-spec div:last-child { border-right: 0; margin-right: 0; }
.yard-spec dt { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.yard-spec dd { margin: 2px 0 0; font-weight: 700; font-size: 15.5px; }
.yard-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.yard-go svg { width: 18px; height: 18px; transition: transform .25s ease; }
.yard-card:hover img { transform: scale(1.05); }
.yard-card:hover .yard-go svg, .yard-card:focus-visible .yard-go svg { transform: translateX(4px); }
.yard-card:focus-visible { outline-offset: -3px; }
/* secondary cards: photo on top, solid spec plate below (text never sits on the photo) */
.yard-card:not(.is-lead) { display: flex; flex-direction: column; }
.yard-card:not(.is-lead) img { position: relative; inset: auto; flex: 1 1 auto; min-height: 0; height: auto; }
.yard-card:not(.is-lead)::after { content: none; }
.yard-card:not(.is-lead) .yard-plate { position: relative; padding: 16px 20px 18px; background: var(--ink); border-top: 3px solid var(--yellow); }
.yard-card:not(.is-lead) .yard-name { font-size: clamp(22px, 1.8vw, 26px); margin: 4px 0 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.yard-card:not(.is-lead) .yard-name::after { content: "→"; color: var(--yellow); font-weight: 700; transition: transform .25s ease; }
.yard-card:not(.is-lead):hover .yard-name::after { transform: translateX(4px); }
.yard-card:not(.is-lead) .yard-spec { margin: 0; }
.yard-card:not(.is-lead) .yard-spec div { padding-top: 8px; }
.yard-card:not(.is-lead) .yard-go { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.yard-cta { background: var(--yellow); color: var(--ink); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; justify-content: space-between; border-radius: 2px;
  background-image: repeating-linear-gradient(-45deg, var(--ink) 0 10px, transparent 10px 20px); background-size: 100% 10px; background-repeat: no-repeat; background-position: 0 0; padding-top: calc(clamp(22px, 2.4vw, 32px) + 10px); }
.yard-cta .yard-kind { color: var(--ink); }
.yard-cta .yard-name { margin-bottom: 10px; }
.yard-cta p { margin: 0 0 20px; font-size: 16px; line-height: 1.5; }
.yard-cta-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.yard-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; min-height: 44px; }
.yard-link svg { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .yard { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .yard > *, .yard .is-lead, .yard > :nth-child(2), .yard > :nth-child(3) { grid-column: span 1; grid-row: auto; }
  .yard .is-lead { grid-column: span 2; }
  .yard-card { aspect-ratio: 4/5; }
  .yard .is-lead { aspect-ratio: 16/11; }
}
@media (max-width: 600px) {
  .yard { grid-template-columns: 1fr; }
  .yard .is-lead, .yard > * { grid-column: auto; }
  .yard-card, .yard .is-lead { aspect-ratio: 4/5; }
}
@media (prefers-reduced-motion: reduce) { .yard-card img, .yard-go svg { transition: none; } }

/* ---------- Excavator arm breaking out of the CTA band into the footer ---------- */
.cta-band { position: relative; z-index: 2; background: var(--paper); border-top: 1px solid var(--line);
  --arm-h: 420px; --arm-r: 0.9805; /* image width / height */ --arm-drop: 0.0752; /* share of the image below the boom cut */ }
.cta-band .wrap { position: relative; z-index: 2; min-height: calc(var(--arm-h) * (1 - var(--arm-drop)) + 24px);
  padding-top: 72px; padding-bottom: 72px; padding-left: calc(var(--gut) + var(--arm-h) * var(--arm-r) + 16px); }
.cta-arm { position: absolute; z-index: 1; pointer-events: none; height: var(--arm-h); width: auto;
  left: max(0px, calc((100% - var(--wrap)) / 2 + var(--gut) - 24px));
  bottom: calc(var(--arm-h) * var(--arm-drop) * -1); }
.cta-band + .footer > .wrap { padding-top: 88px; }
@media (max-width: 1100px) { .cta-band { --arm-h: 320px; } }
@media (max-width: 700px) {
  .cta-band { --arm-h: 250px; }
  .cta-band .wrap { min-height: 0; padding-left: var(--gut); padding-top: 56px; padding-bottom: calc(var(--arm-h) * (1 - var(--arm-drop)) + 16px); }
  .cta-arm { left: auto; right: var(--gut); }
}

/* ========== Header — part of the hero / page-head image ==========
   Sits over the first section's photo (transparent, hairline-framed);
   once the visitor scrolls past it, it drops back in as a solid, compact bar. */
:root { --top-h: 128px; --bar-h: 71px; /* height of the stuck header bar (70px + 1px border) */ }
html { scroll-padding-top: calc(var(--bar-h) + 16px); }
.svc-nav ~ * { scroll-margin-top: 58px; } /* adds to html scroll-padding: clears the sticky group nav */
.site-top { position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: var(--white); }
/* top shade: darker behind the bar, then fades out well below it so menu text always reads */
.site-top::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: calc(100% + 140px); pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,9,.9) 0%, rgba(10,10,9,.72) 40%, rgba(10,10,9,.32) 72%, rgba(10,10,9,0) 100%); }
.site-top.is-stuck::before { display: none; }
.hero { min-height: 100vh; min-height: 100svh; } /* the opening screen is all hero: video, header and facts strip */
.hero .wrap { padding-top: calc(var(--top-h) + 72px); }
.phead .wrap { padding-top: calc(var(--top-h) + clamp(56px, 7vw, 104px)); }

/* info row */
.topbar { font-size: 13px; color: rgba(255,255,255,.72); border-bottom: 1px solid rgba(255,255,255,.14); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 42px; }
.tb-l, .tb-r { display: flex; align-items: center; gap: 22px; min-width: 0; }
.tb-addr { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-mail { color: var(--white); text-decoration: none; }
.tb-mail:hover { color: var(--yellow); }
.topbar .y3 { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; white-space: nowrap; }
.topbar .y3 b { background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 11.5px; padding: 2px 6px; letter-spacing: .04em; }

/* main row */
.header { position: relative; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.14); --hh: 88px; }
.header .wrap { display: flex; align-items: stretch; height: var(--hh); }
.brand { display: flex; align-items: center; flex: none; padding-right: 28px; border-right: 1px solid rgba(255,255,255,.14); }
.brand img { height: calc(var(--hh) - 14px); width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }

.nav { display: flex; align-items: stretch; margin: 0 auto 0 12px; }
.nav > a { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 16px; text-decoration: none; color: rgba(255,255,255,.82);
  text-shadow: 0 1px 12px rgba(0,0,0,.4); transition: color .2s; }
.nav > a .n { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: rgba(255,255,255,.45); transition: color .2s; }
.nav > a .t { font-size: 15.5px; font-weight: 600; white-space: nowrap; }
/* active / hover marker sits on the hairline under the bar */
.nav > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav > a:hover, .nav > a[aria-current="page"] { color: var(--white); }
.nav > a:hover .n, .nav > a[aria-current="page"] .n { color: var(--yellow); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-foot { display: none; }

.hphone { display: flex; align-items: center; gap: 12px; padding: 0 26px; text-decoration: none; color: var(--white); border-left: 1px solid rgba(255,255,255,.14); }
.hphone-ic { display: grid; place-items: center; width: 42px; height: 42px; border: 1.5px solid var(--yellow); color: var(--yellow); transition: background .2s, color .2s; }
.hphone-ic svg { width: 18px; height: 18px; }
.hphone:hover .hphone-ic { background: var(--yellow); color: var(--ink); }
.hphone-t { line-height: 1.15; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hphone-t small { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); font-weight: 600; }
.hphone-t strong { font-size: 19px; font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; white-space: nowrap; }

/* quote button: compact ghost button, yellow only on the arrow tile */
.hcta { align-self: center; display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 5px 0 18px; margin-left: 18px;
  border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.06); color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.hcta svg { width: 34px; height: 34px; padding: 8px; background: var(--yellow); color: var(--ink); transition: transform .25s ease; }
.hcta:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.hcta:hover svg { transform: translateX(3px); background: var(--ink); color: var(--yellow); }
.burger { display: none; }

/* scrolled: drops back in as a solid, compact bar */
.site-top.is-stuck { position: fixed; background: rgba(22,22,20,.94); box-shadow: 0 12px 32px -14px rgba(0,0,0,.6); animation: drop-in .35s cubic-bezier(.2,.7,.2,1); }
@supports (backdrop-filter: blur(8px)) { .site-top.is-stuck { background: rgba(22,22,20,.86); backdrop-filter: blur(12px) saturate(1.2); } }
.site-top.is-stuck .topbar { display: none; }
.site-top.is-stuck .header { --hh: 70px; border-bottom-color: transparent; }
.site-top.is-stuck .nav > a .n { display: none; }
@keyframes drop-in { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1240px) {
  .nav > a { padding: 0 11px; }
  .nav > a::after { left: 11px; right: 11px; }
  .hphone-t { display: none; }
  .hphone { padding: 0 18px; }
}
@media (max-width: 1040px) {
  .nav > a .t { font-size: 14.5px; }
  .nav > a { padding: 0 9px; }
}
@media (max-width: 960px) {
  :root { --top-h: 110px; --bar-h: 63px; }
  .tb-mail { display: none; }
  .header { --hh: 68px; }
  .site-top.is-stuck .header { --hh: 62px; }
  .site-top { overflow: visible; }
  .brand { border-right: 0; padding-right: 0; }
  .brand img { height: 50px; }
  .hcta { display: none; }
  .hphone { margin-left: auto; border-left: 0; padding: 0 12px 0 0; }
  .hphone-ic { width: 44px; height: 44px; background: var(--yellow); color: var(--ink); }
  .burger { display: grid; place-content: center; gap: 6px; align-self: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid rgba(255,255,255,.35); background: rgba(0,0,0,.15); cursor: pointer; }
  .burger span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform .25s ease, opacity .2s; }
  .header.open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header.open .burger span:nth-child(2) { opacity: 0; }
  .header.open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav { position: fixed; left: 0; right: 0; top: var(--nav-top, 110px); bottom: 0; margin: 0; flex-direction: column; align-items: stretch; background: var(--ink);
    padding: 8px var(--gut) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s .25s; z-index: 70; }
  .header.open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav > a::after { display: none; }
  .site-top.is-stuck .nav > a .n { display: inline; }
  /* menu list: compact rows, number + label + chevron */
  .nav { padding-top: 12px; }
  .nav > a { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; min-height: 56px; padding: 0 14px 0 16px;
    border-bottom: 1px solid rgba(255,255,255,.07); color: #e6e3d9; text-shadow: none; }
  .nav > a .n { font-size: 11.5px; letter-spacing: .1em; min-width: 20px; color: #6f6c62; }
  .nav > a .t { font-size: 18px; font-weight: 600; }
  .nav > a::after { content: ""; display: block; position: static; transform: rotate(45deg); width: 8px; height: 8px; margin-left: auto;
    border-top: 2px solid #6f6c62; border-right: 2px solid #6f6c62; background: none; transition: border-color .2s, translate .2s; }
  .nav > a:active { background: rgba(255,255,255,.05); }
  .nav > a[aria-current="page"] { background: rgba(255,205,17,.07); box-shadow: inset 3px 0 0 var(--yellow); color: var(--white); }
  .nav > a[aria-current="page"] .n { color: var(--yellow); }
  .nav > a[aria-current="page"]::after { border-color: var(--yellow); }
  .nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: rotate(45deg); } /* keep the chevron, not the desktop underline */
  /* quick contact */
  .nav-foot { display: grid; gap: 12px; margin-top: auto; padding-top: 28px; }
  .nav-label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6f6c62; }
  .nav-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav-acts .btn { justify-content: center; min-height: 50px; padding: 0 12px; font-size: 15.5px; }
  .nav-quote { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 16px; border: 1px solid rgba(255,255,255,.18);
    color: var(--white); text-decoration: none; font-weight: 600; font-size: 15.5px; }
  .nav-quote svg { width: 20px; height: 20px; color: var(--yellow); }
  .nav-foot p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted-dark); line-height: 1.55; }
  /* rows ease in one after another when the menu opens */
  .header.open .nav > a, .header.open .nav-foot { animation: menu-in .38s cubic-bezier(.2,.7,.2,1) both; }
  .header.open .nav > a:nth-child(2) { animation-delay: .03s; }
  .header.open .nav > a:nth-child(3) { animation-delay: .06s; }
  .header.open .nav > a:nth-child(4) { animation-delay: .09s; }
  .header.open .nav > a:nth-child(5) { animation-delay: .12s; }
  .header.open .nav > a:nth-child(6) { animation-delay: .15s; }
  .header.open .nav-foot { animation-delay: .2s; }
  html.menu-open { overflow: hidden; }
  html.menu-open .mbar, html.menu-open .wa-float { display: none; }
  html.menu-open .site-top { background: var(--ink); }
  .site-top.is-stuck { backdrop-filter: none; background: rgba(22,22,20,.97); } /* a filter would trap the fixed menu panel */
}
@media (max-width: 560px) {
  .topbar .wrap { gap: 12px; }
  .tb-addr { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .topbar .y3 { font-size: 0; gap: 0; }   /* keep only the Y3 badge */
  .topbar .y3 b { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-top.is-stuck, .header.open .nav > a, .header.open .nav-foot { animation: none; }
  .nav, .hcta svg, .nav > a::after { transition: none; }
}

/* ---------- Facts strip: part of the hero, transparent over the video ---------- */
.hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
.hero .wrap { padding-bottom: clamp(36px, 5vw, 64px); }
.hero::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 380px; pointer-events: none;
  background: linear-gradient(0deg, rgba(10,10,9,.92) 0%, rgba(10,10,9,.72) 32%, rgba(10,10,9,.3) 66%, rgba(10,10,9,0) 100%); }
.facts { position: relative; z-index: 2; background: transparent; border-top: 1px solid rgba(255,255,255,.16); }
.facts li { border-right-color: rgba(255,255,255,.16); }
.facts b { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.facts b::before { content: ""; display: block; width: 22px; height: 3px; background: var(--yellow); margin-bottom: 14px; }
.facts span { color: rgba(255,255,255,.74); }
@media (max-width: 960px) {
  .hero::after { height: 520px; }
  .facts li, .facts li:nth-child(odd) { border-color: rgba(255,255,255,.14); }
  .facts li:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .facts li:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.14); }
}

/* short desktop screens (laptops): keep video, text and facts strip inside one screen */
@media (min-width: 961px) and (max-height: 1000px) {
  .hero .wrap { padding-top: calc(var(--top-h) + 3vh); padding-bottom: 3.5vh; }
  .hero .d1 { font-size: clamp(52px, 10.2vh, 120px); }
  .hero p { margin: 2.4vh 0 3vh; }
  .facts li { padding-top: 2.4vh; padding-bottom: 2.6vh; }
  .facts b::before { margin-bottom: 1.2vh; }
}
@media (min-width: 961px) and (max-height: 700px) {
  .hero .d1 { font-size: 9.2vh; }
  .hero p { font-size: 17px; }
  .facts span { font-size: 14px; }
}

/* ========== Preloader — "Kazı başlıyor" ==========
   Soil cross-section; the logo's excavator arm digs while the depth gauge tracks real loading,
   then the strata lift away layer by layer. Shown once per session, never without JS. */
.preloader { display: none; }
.is-preloading { overflow: hidden; }
.is-preloading .preloader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; color: var(--white); }
.pl-strata { position: absolute; inset: 0; display: grid; grid-template-rows: 1.1fr 0.8fr 1fr 0.9fr 1.2fr; }
.pl-strata i { display: block; border-bottom: 1px solid rgba(255,255,255,.035); transition: transform .75s cubic-bezier(.7,0,.2,1); }
.pl-strata i:nth-child(1) { background: #171715; }
.pl-strata i:nth-child(2) { background: #1b1a17; }
.pl-strata i:nth-child(3) { background: #1f1d19; }
.pl-strata i:nth-child(4) { background: #23201b; }
.pl-strata i:nth-child(5) { background: #27231d; border-bottom: 0; }
/* a little grit in the deepest layers */
.pl-strata i:nth-child(n+4) { background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.4px); background-size: 9px 9px; }

.pl-core { position: relative; display: grid; justify-items: center; gap: 40px; width: min(440px, 80vw); transition: opacity .35s ease, transform .5s ease; }
.pl-logo { width: 100%; height: auto; overflow: visible; }

/* the İ stem rises out of the ground, letters follow */
.pl-stem { animation: pl-rise .7s cubic-bezier(.2,.8,.2,1) both; }
.pl-l { animation: pl-fade .5s ease both; }
.pl-l1 { animation-delay: .15s; } .pl-l2 { animation-delay: .3s; } .pl-l3 { animation-delay: .38s; } .pl-l4 { animation-delay: .46s; } .pl-l5 { animation-delay: .54s; }
.pl-sub { animation: pl-fade .6s ease .7s both; }
/* the arm (the İ's dot) digs: lowers, curls the bucket, lifts, settles — pivoting on the stem */
.pl-arm { transform-box: fill-box; transform-origin: 3% 96%; animation: pl-arm-in .55s cubic-bezier(.2,.8,.2,1) .35s both, pl-dig 1.8s cubic-bezier(.45,0,.3,1) .95s infinite; }
@keyframes pl-rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pl-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pl-arm-in { from { opacity: 0; transform: rotate(-24deg); } to { opacity: 1; transform: none; } }
@keyframes pl-dig {
  0%, 100% { transform: rotate(0); }
  28% { transform: rotate(13deg); }
  42% { transform: rotate(16deg) translateY(1px); }
  64% { transform: rotate(-7deg); }
  80% { transform: rotate(-4deg); }
}

/* depth gauge */
.pl-gauge { width: 100%; animation: pl-fade .5s ease .5s both; }
.pl-gauge-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.pl-gauge-top span { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.pl-depth { font-size: 22px; font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; color: var(--yellow); font-variant-numeric: tabular-nums; }
.pl-ruler { position: relative; height: 10px; background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 1px, transparent 1px 20%) left bottom / 100% 10px no-repeat,
  repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 1px, transparent 1px 4%) left bottom / 100% 5px no-repeat;
  border-bottom: 1px solid rgba(255,255,255,.28); }
.pl-fill { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.pl-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: rgba(255,255,255,.4); font-variant-numeric: tabular-nums; }

/* exit: logo lifts, then the strata are excavated from the bottom layer up */
.pl-done .pl-core { opacity: 0; transform: translateY(-18px); }
.pl-done .pl-strata i { transform: translateX(-101%); }
.pl-done .pl-strata i:nth-child(even) { transform: translateX(101%); }
.pl-done .pl-strata i:nth-child(5) { transition-delay: .1s; }
.pl-done .pl-strata i:nth-child(4) { transition-delay: .18s; }
.pl-done .pl-strata i:nth-child(3) { transition-delay: .26s; }
.pl-done .pl-strata i:nth-child(2) { transition-delay: .34s; }
.pl-done .pl-strata i:nth-child(1) { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  .pl-stem, .pl-l, .pl-sub, .pl-arm, .pl-gauge { animation: none; }
  .pl-strata i { transition: none; }
  .preloader { transition: opacity .3s ease; }
  .pl-done .preloader { opacity: 0; }
  .pl-done .pl-strata i { transform: none; }
}

/* ========== Referanslar — "Saha Arşivi" ========== */
/* record strip on the page-head image (same language as the home facts strip) */
.phead-arc { display: flex; flex-direction: column; justify-content: flex-end; min-height: min(78vh, 760px); }
.phead-arc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 320px; pointer-events: none;
  background: linear-gradient(0deg, rgba(10,10,9,.9), rgba(10,10,9,.55) 45%, rgba(10,10,9,0)); }
.phead-arc .wrap { z-index: 2; width: 100%; padding-bottom: clamp(32px, 4vw, 56px); }
.phead-stats { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.16); }
.phead-stats ul { list-style: none; margin: 0 auto; padding: 0 var(--gut); max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); }
.phead-stats li { padding: 22px 24px 24px 0; margin-right: 24px; border-right: 1px solid rgba(255,255,255,.16); }
.phead-stats li:last-child { border: 0; margin: 0; }
.phead-stats b { display: block; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; color: var(--white); }
.phead-stats li:first-child b { color: var(--yellow); }
.phead-stats span { display: block; margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.7); }

/* shared record-number plate */
.arc-no { display: inline-block; background: var(--yellow); color: var(--ink); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; padding: 4px 8px; line-height: 1; text-transform: uppercase; }

/* filter bar */
.arc-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.arc-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.arc-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: var(--white);
  font-weight: 600; font-size: 15px; cursor: pointer; border-radius: 2px; transition: background .2s, color .2s, border-color .2s; }
.arc-filters button span { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--paper-2); padding: 2px 7px; border-radius: 2px; transition: inherit; }
.arc-filters button:hover { border-color: var(--ink); }
.arc-filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.arc-filters button[aria-pressed="true"] span { background: var(--yellow); color: var(--ink); }
.arc-count { margin: 0; font-size: 14.5px; color: var(--muted); }
.arc-count b { color: var(--ink); font-size: 18px; }

/* collage grid */
.arc-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 10px; }
.arc { position: relative; grid-row: span 2; overflow: hidden; background: var(--ink); color: var(--white); text-decoration: none; border-radius: 2px; }
.arc-xl { grid-column: span 2; grid-row: span 3; }
.arc-wide { grid-column: span 2; grid-row: span 2; }
.arc[hidden] { display: none; }
.arc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.arc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,9,.85) 0%, rgba(10,10,9,.25) 42%, rgba(10,10,9,0) 65%); transition: opacity .3s; }
.arc .arc-no { position: absolute; z-index: 1; top: 10px; left: 10px; }
.arc-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 14px 52px 14px 14px; display: grid; gap: 3px; }
.arc-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.arc-title { font-weight: 700; font-size: 16.5px; line-height: 1.2; }
.arc-xl .arc-title { font-size: clamp(20px, 1.8vw, 26px); }
.arc-open { position: absolute; z-index: 1; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.4); color: var(--white); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.arc-open svg { width: 16px; height: 16px; }
.arc:hover img, .arc:focus-visible img { transform: scale(1.06); }
.arc:hover .arc-open, .arc:focus-visible .arc-open { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: rotate(90deg); }
.arc:focus-visible { outline-offset: 3px; }
.arc.is-in { animation: arc-in .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes arc-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* case study */
.case2 { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.case2-media { position: relative; margin: 0; }
.case2-media img { width: 100%; aspect-ratio: 16/11; object-fit: cover; display: block; }
.case2-media figcaption { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(10,10,9,.75); font-size: 14px; font-weight: 600; }
.case2-body .d2 { margin: 12px 0 0; }
.case2-steps { list-style: none; counter-reset: st; margin: 28px 0 32px; padding: 0; border-top: 1px solid var(--ink-line); }
.case2-steps li { counter-increment: st; position: relative; display: grid; gap: 2px; padding: 16px 0 16px 52px; border-bottom: 1px solid var(--ink-line); }
.case2-steps li::before { content: "0" counter(st); position: absolute; left: 0; top: 16px; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--yellow); }
.case2-steps li::after { content: ""; position: absolute; left: 7px; top: 40px; bottom: -16px; width: 1px; background: rgba(255,205,17,.35); }
.case2-steps li:last-child::after { display: none; }
.case2-steps b { font-size: 17px; }
.case2-steps span { font-size: 15px; color: var(--muted-dark); }

/* "Saha dosyası" viewer */
.sd { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 1fr minmax(320px, 400px); background: #0f0f0d; color: var(--white); }
.sd[hidden] { display: none; }
.sd.is-open { animation: sd-in .3s ease both; }
@keyframes sd-in { from { opacity: 0; } to { opacity: 1; } }
.sd-media { position: relative; display: grid; place-items: center; min-height: 0; padding: clamp(16px, 3vw, 40px); }
.sd-media img { max-width: 100%; max-height: calc(100vh - 2 * clamp(16px, 3vw, 40px)); object-fit: contain; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.sd-media img.is-swap { animation: sd-img .35s ease both; }
@keyframes sd-img { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.sd-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); background: rgba(10,10,9,.55); color: var(--white); cursor: pointer; transition: background .2s, color .2s; }
.sd-nav svg { width: 22px; height: 22px; }
.sd-nav:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.sd-prev { left: clamp(10px, 2vw, 28px); } .sd-next { right: clamp(10px, 2vw, 28px); }
.sd-panel { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 32px; background: var(--ink); border-left: 1px solid var(--ink-line); overflow-y: auto; }
.sd-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sd-pos { font-size: 13px; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.sd-close { margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--ink-line); background: transparent; color: var(--white); cursor: pointer; }
.sd-close svg { width: 20px; height: 20px; }
.sd-close:hover { border-color: var(--yellow); color: var(--yellow); }
.sd-cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.sd-title { margin: 0; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.08; font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.sd-desc { margin: 0; color: #cfcbc0; }
.sd-spec { display: grid; grid-template-columns: 90px 1fr; margin: 8px 0 auto; border-top: 1px solid var(--ink-line); font-size: 14.5px; }
.sd-spec dt, .sd-spec dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--ink-line); }
.sd-spec dt { color: var(--muted-dark); }
.sd-acts { display: grid; gap: 10px; margin-top: 24px; }
.sd-acts .btn { justify-content: center; }
.sd-acts .btn-o { color: var(--white); }
html.sd-lock { overflow: hidden; }

@media (max-width: 1100px) {
  .arc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .phead-stats ul { grid-template-columns: 1fr 1fr; }
  .phead-stats li { margin-right: 0; padding: 16px 14px 16px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .phead-stats li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.14); margin-right: 14px; }
  .phead-stats li:nth-last-child(-n+2) { border-bottom: 0; }
  .case2 { grid-template-columns: 1fr; }
  .sd { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .sd-media { padding: 56px 0 0; }
  .sd-media img { max-height: 52vh; }
  .sd-panel { border-left: 0; border-top: 1px solid var(--ink-line); padding: 18px var(--gut) calc(20px + env(safe-area-inset-bottom)); max-height: 48vh; }
  .sd-top { position: absolute; top: 0; left: 0; right: 0; padding: 6px var(--gut); margin: 0; }
  .sd-nav { width: 44px; height: 44px; }
  .sd-spec { display: none; }
  .sd-acts { grid-template-columns: 1fr 1fr; margin-top: 8px; }
}
@media (max-width: 700px) {
  .arc-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; gap: 8px; }
  .arc-title { font-size: 14.5px; }
  .arc-cap { padding: 10px 40px 10px 10px; }
  .arc-open { width: 28px; height: 28px; right: 8px; bottom: 8px; }
  .arc-bar { padding-bottom: 14px; }
  .arc-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 4px; scrollbar-width: none; }
  .arc-filters button { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .arc img, .arc-open { transition: none; }
  .arc.is-in, .sd.is-open, .sd-media img.is-swap { animation: none; }
}

/* ========== Hizmetler — İş planlayıcı + akıllı katalog ========== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* group strip on the page head (clickable) */
.phead-groups a { display: block; color: inherit; text-decoration: none; }
.phead-groups a:hover b { color: var(--yellow); }
.phead-groups li:first-child b { color: var(--white); }
.phead-groups b { transition: color .2s; }

/* service rows: actions + machine tags */
.svc-item .svc-acts { grid-row: 1; grid-column: 3; display: flex; align-items: center; gap: 14px; }
.svc-item .svc-acts .ask { grid-row: auto; grid-column: auto; }
.plan-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; font-size: 15px;
  cursor: pointer; opacity: .72; transition: opacity .2s; }
.plan-btn svg { width: 17px; height: 17px; }
.plan-btn:hover { opacity: 1; }
.mchips { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mchip { font-size: 12.5px; font-weight: 600; padding: 4px 9px; border: 1px solid var(--line); border-radius: 2px; text-decoration: none; color: var(--muted); background: rgba(255,255,255,.5);
  transition: border-color .2s, color .2s, background .2s; }
.mchip:hover { border-color: var(--ink); color: var(--ink); }
.sec-dark .mchip { border-color: var(--ink-line); color: var(--muted-dark); background: transparent; }
.sec-dark .mchip:hover { border-color: var(--yellow); color: var(--yellow); }
.svc-item.feature .mchip { border-color: rgba(0,0,0,.25); color: var(--ink); background: rgba(255,255,255,.3); }
.svc-item.is-flash { animation: svc-flash 1.4s ease; }
@keyframes svc-flash { 0%, 100% { box-shadow: none; } 20% { box-shadow: inset 4px 0 0 var(--yellow); } }

/* planner */
.planner-sec { background: var(--paper-2); }
.planner-sec .sec-head { scroll-margin-top: 72px; } /* + html scroll-padding (bar) = just under the group nav */
.planner { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.plan-form { display: grid; gap: 14px; }
.pf-step { margin: 0; padding: 22px 24px 24px; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; min-width: 0; }
.pf-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 0; font-weight: 800; font-size: 19px; }
.pf-step legend span { display: grid; place-items: center; width: 30px; height: 30px; background: var(--ink); color: var(--yellow); font-size: 12px; letter-spacing: .04em; }
.pf-select { position: relative; clear: both; }
.pf-select select { width: 100%; min-height: 54px; padding: 0 48px 0 16px; appearance: none; -webkit-appearance: none; border: 1.5px solid var(--ink); background: var(--white); border-radius: 2px;
  font-weight: 600; font-size: 16.5px; color: var(--ink); cursor: pointer; }
.pf-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.pf-select select:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pf-opts { clear: both; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pf-opts label { position: relative; cursor: pointer; }
.pf-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pf-opts label > span { display: grid; gap: 2px; height: 100%; min-height: 54px; align-content: center; padding: 12px 14px; border: 1.5px solid var(--line); background: var(--white); border-radius: 2px; transition: border-color .2s, background .2s, box-shadow .2s; }
.pf-opts b { font-size: 15.5px; }
.pf-opts small { font-size: 13px; color: var(--muted); line-height: 1.35; }
.pf-opts label:hover > span { border-color: var(--ink); }
.pf-opts input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); box-shadow: inset 0 -3px 0 var(--yellow); }
.pf-opts input:checked + span small { color: var(--muted-dark); }
.pf-opts input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pf-opts-sm label > span { min-height: 48px; text-align: center; }

/* the ticket */
.ticket { position: sticky; top: calc(var(--bar-h) + 72px); background: var(--ink); color: var(--white); padding: 26px 26px 22px; border-radius: 2px;
  box-shadow: 0 24px 48px -28px rgba(0,0,0,.6); }
.ticket::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, var(--ink) 10px 20px); }
.ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 16px; }
.ticket-no { font-size: 13px; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.ticket-title { margin: 0 0 6px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.ticket-desc { margin: 0 0 18px; color: #cfcbc0; font-size: 15.5px; }
.ticket-block { padding: 16px 0; border-top: 1px dashed rgba(255,255,255,.2); }
.ticket-label { display: block; margin-bottom: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.ticket-mach { display: flex; flex-wrap: wrap; gap: 6px; }
.ticket-mach a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(255,205,17,.45); color: var(--white); text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 2px;
  animation: chip-in .3s ease both; }
.ticket-mach a::before { content: ""; width: 6px; height: 6px; background: var(--yellow); }
.ticket-mach a:hover { background: var(--yellow); color: var(--ink); }
@keyframes chip-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ticket-note { margin: 10px 0 0; font-size: 13.5px; color: var(--yellow); }
.ticket-note:empty { display: none; }
.ticket-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ticket-flow li { position: relative; padding-top: 14px; border-top: 2px solid var(--ink-line); }
.ticket-flow li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--yellow); }
.ticket-flow b { display: block; font-size: 14.5px; }
.ticket-flow span { font-size: 13px; color: var(--muted-dark); }
.ticket-acts { display: grid; gap: 8px; margin-top: 8px; }
.ticket-acts .btn { justify-content: center; }
.ticket-acts .btn-k { background: transparent; border: 1px solid var(--ink-line); }
.ticket-acts .btn-k:hover { border-color: var(--yellow); }
.ticket-foot { margin: 12px 0 0; font-size: 12.5px; color: var(--muted-dark); text-align: center; }
.ticket.is-updated .ticket-title { animation: chip-in .3s ease; }

@media (max-width: 960px) {
  .planner { grid-template-columns: 1fr; }
  .ticket { position: static; }
  .svc-item .svc-acts { grid-row: auto; grid-column: 2; margin-top: 8px; }
  .mchips { grid-column: 2; }
}
@media (max-width: 560px) {
  .pf-opts { grid-template-columns: 1fr; }
  .pf-opts-sm { grid-template-columns: repeat(3, 1fr); }
  .pf-step { padding: 18px 16px 18px; }
  .ticket { padding: 22px 18px 18px; }
  .ticket-flow { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticket-mach a, .ticket.is-updated .ticket-title, .svc-item.is-flash { animation: none; }
}

/* ========== Articulated machines (.mx) ==========
   Paint: .b body (machine yellow) · .k dark steel · .g glass · .s bright steel.
   Motion runs only while a parent has .is-on; every part pivots on its own joint. */
.mx { display: block; width: 100%; height: auto; overflow: visible; color: var(--yellow); }
.mx .b { fill: currentColor; }
.mx .k { fill: #26251f; stroke: #26251f; stroke-width: 0; }
.mx path.k[fill="none"] { fill: none; stroke-width: 2.4; }
.mx .g { fill: #34474d; }
.mx .s { fill: #9c988b; }
.mx .cyl { fill: none; stroke: #26251f; stroke-width: 5; stroke-linecap: round; }
.mx .rod { fill: none; stroke: #d8d4c8; stroke-width: 2.4; stroke-linecap: round; }
.mx .tread { fill: none; stroke: #4a483f; stroke-width: 3; stroke-dasharray: 3 4; }
.mx .bed-t { font: 800 15px var(--f); letter-spacing: .06em; fill: #26251f; }
.mx g { transform-box: view-box; }

.mx .boom, .mx .stick, .mx .bucket, .mx .lift, .mx .hboom, .mx .hstick, .mx .hbucket,
.mx .wheel, .mx .drum, .mx .vibe, .mx .bed, .mx .tread {
  animation-play-state: paused; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.45,0,.35,1); }
/* excavator / mini: dig → curl → lift → dump */
.mx .boom   { animation-name: mx-boom;   animation-duration: 4.4s; }
.mx .stick  { animation-name: mx-stick;  animation-duration: 4.4s; }
.mx .bucket { animation-name: mx-bucket; animation-duration: 4.4s; }
@keyframes mx-boom   { 0%,100% { transform: rotate(0); } 28% { transform: rotate(9deg); } 46% { transform: rotate(11deg); } 70% { transform: rotate(-9deg); } 86% { transform: rotate(-7deg); } }
@keyframes mx-stick  { 0%,100% { transform: rotate(0); } 28% { transform: rotate(-8deg); } 46% { transform: rotate(18deg); } 70% { transform: rotate(12deg); } 86% { transform: rotate(-6deg); } }
@keyframes mx-bucket { 0%,100% { transform: rotate(0); } 28% { transform: rotate(-10deg); } 46% { transform: rotate(48deg); } 70% { transform: rotate(52deg); } 86% { transform: rotate(-30deg); } }
/* backhoe loader: front arm lifts while the rear hoe digs */
.mx .lift    { animation-name: mx-lift;    animation-duration: 5s; }
.mx .hboom   { animation-name: mx-hboom;   animation-duration: 5s; }
.mx .hstick  { animation-name: mx-hstick;  animation-duration: 5s; }
.mx .hbucket { animation-name: mx-hbucket; animation-duration: 5s; }
@keyframes mx-lift    { 0%,100% { transform: rotate(0); } 40%,60% { transform: rotate(-16deg); } }
@keyframes mx-hboom   { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-10deg); } 65% { transform: rotate(8deg); } }
@keyframes mx-hstick  { 0%,100% { transform: rotate(0); } 30% { transform: rotate(14deg); } 65% { transform: rotate(-12deg); } }
@keyframes mx-hbucket { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-40deg); } 65% { transform: rotate(30deg); } }
/* roller: drum turns, frame vibrates (compaction) */
.mx .drum  { animation-name: mx-spin; animation-duration: 2.6s; animation-timing-function: linear; }
.mx-roller .wheel { animation-name: mx-spin; animation-duration: 2.2s; animation-timing-function: linear; }
.mx .vibe  { animation-name: mx-vibe; animation-duration: .14s; animation-timing-function: linear; }
@keyframes mx-spin { to { transform: rotate(360deg); } }
@keyframes mx-vibe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-.8px); } }
/* backhoe wheels idle; truck tips its bed then lowers it */
.mx-beko .wheel { animation-name: none; }
.mx .bed   { animation-name: mx-bed; animation-duration: 6s; }
.mx-truck .wheel { animation-name: none; }
@keyframes mx-bed { 0%,22%,100% { transform: rotate(0); } 46%,64% { transform: rotate(-24deg); } 86% { transform: rotate(-2deg); } }
.mx-ex .tread, .mx-mini .tread { animation-name: none; }

.is-on .mx :is(.boom,.stick,.bucket,.lift,.hboom,.hstick,.hbucket,.wheel,.drum,.vibe,.bed) { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) {
  .mx * { animation: none !important; }
}

/* ========== Makine parkuru — "Canlı saha" stage ========== */
.stage-sec { position: relative; overflow: hidden; padding-bottom: 72px; }
.stage-sec::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(ellipse 60% 50% at 50% 78%, rgba(255,205,17,.08), transparent 70%); }
.stage-head { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.stage-head .d2 { margin-top: 12px; }
.stage-ask p { margin: 0 0 14px; color: var(--muted-dark); }
.stage-jobs { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-jobs button { min-height: 44px; padding: 0 16px; border: 1px solid var(--ink-line); background: rgba(255,255,255,.03); color: var(--white); font-weight: 600; font-size: 15px;
  cursor: pointer; border-radius: 2px; transition: background .2s, color .2s, border-color .2s; }
.stage-jobs button:hover { border-color: var(--yellow); }
.stage-jobs button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.stage-scroll { position: relative; }
.stage { display: flex; align-items: flex-end; gap: 0; padding-top: 56px; border-bottom: 3px solid var(--ink-line);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 40px) left bottom / 100% 8px no-repeat; }
.mu { position: relative; flex: var(--w) 1 0; min-width: 0; display: flex; flex-direction: column; text-decoration: none; color: inherit; outline-offset: 4px; }
.mu-body { position: relative; display: block; padding: 0 6%; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s, filter .35s; transform-origin: 50% 100%; }
.mu-body::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -3px; height: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.mu .mx { color: #d9d4c4; transition: color .35s; }
.mu-lbl { padding-top: 14px; text-align: center; line-height: 1.2; white-space: nowrap; }
.mu-lbl b { display: block; font-size: clamp(13px, 1.2vw, 17px); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.mu-lbl span { font-size: clamp(11px, .9vw, 13px); color: var(--muted-dark); }
/* spec plate that rises above the active machine */
.mu-plate { position: absolute; left: 50%; bottom: calc(100% - 30px); z-index: 3; translate: -50% 8px; opacity: 0; pointer-events: none; white-space: nowrap;
  background: var(--yellow); color: var(--ink); padding: 8px 12px; border-radius: 2px; transition: opacity .25s, translate .3s cubic-bezier(.2,.7,.2,1); }
.mu-plate::after { content: ""; position: absolute; left: 50%; top: 100%; translate: -50% 0; border: 6px solid transparent; border-top-color: var(--yellow); }
.mu-plate b { display: block; font-size: 14px; }
.mu-plate span { font-size: 12.5px; }
/* states */
.mu.is-on .mx { color: var(--yellow); }
.mu.is-on .mu-body { transform: translateY(-4px); }
.mu.is-on .mu-body::after { transform: scaleX(1); }
.mu.is-spot .mu-plate, .mu:hover .mu-plate, .mu:focus-visible .mu-plate { opacity: 1; translate: -50% 0; }
.mu.is-half .mx { color: #d9d4c4; }
.mu.is-half .mu-body::after { transform: scaleX(1); background: rgba(255,255,255,.35); }
.mu.is-dim .mu-body { opacity: .22; filter: grayscale(1); }
.mu.is-dim .mu-lbl { opacity: .35; }
.stage.has-job .mu.is-on .mu-plate { opacity: 0; } /* job mode: the result line explains, plates stay quiet */
.stage.has-job .mu.is-on:hover .mu-plate { opacity: 1; translate: -50% 0; }

.stage-result { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; min-height: 76px; padding: 18px 0; border-bottom: 1px solid var(--ink-line); }
.stage-out { margin: 0; color: var(--muted-dark); font-size: 16px; }
.stage-out b { color: var(--white); }
.stage-out .best { color: var(--yellow); font-weight: 700; }
.stage-sec .scale-note { margin-top: 18px; }

/* fleet list: drawing animates while the row is hovered or focused */
.fleet-row .sil { height: 120px; display: flex; align-items: flex-end; }
.fleet-row .sil .mx { width: calc(var(--w) / 290 * 100%); color: var(--yellow); }
.fleet-row:hover .mx :is(.boom,.stick,.bucket,.lift,.hboom,.hstick,.hbucket,.wheel,.drum,.vibe,.bed),
.fleet-row:focus-within .mx :is(.boom,.stick,.bucket,.lift,.hboom,.hstick,.hbucket,.wheel,.drum,.vibe,.bed) { animation-play-state: running; }
.fleet-row { transition: background .3s; }
.fleet-row:hover { background: linear-gradient(90deg, rgba(255,205,17,.08), transparent 60%); }

@media (max-width: 960px) {
  .stage-head { grid-template-columns: 1fr; }
  .stage-scroll { overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scrollbar-width: thin; scroll-snap-type: x proximity; }
  .stage { min-width: 940px; }
  .mu { scroll-snap-align: center; }
  .stage-scroll::after { content: "← kaydırın →"; display: block; padding-top: 10px; font-size: 12.5px; color: var(--muted-dark); text-align: center; }
}
@media (max-width: 560px) {
  .fleet-row .sil { height: 96px; }
  .stage-result .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mu-body, .mu-plate, .mu-body::after { transition: none; }
}

/* stage v2: showcase (the selected machine, full size, working) + line-up as a selector */
.stage-wa[hidden] { display: none; }
.mu-plate { display: none; }
.feature { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: 36px; min-height: 340px; }
.feature-art { position: relative; height: clamp(220px, 26vw, 340px); display: flex; align-items: flex-end; justify-content: center;
  border-bottom: 3px solid var(--yellow); }
.feature-art::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 18px; border-radius: 50%; background: rgba(0,0,0,.45); filter: blur(8px); }
.feature-art .mx { position: relative; width: auto; height: 100%; max-width: 100%; color: var(--yellow); animation: feat-in .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes feat-in { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
.feature-info { padding-bottom: 6px; }
.feature-name { margin: 14px 0 8px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1; font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.feature-line { margin: 0 0 16px; color: var(--muted-dark); font-size: 17px; }
.feature-uses { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.feature-uses span { font-size: 13.5px; padding: 5px 10px; border: 1px solid var(--ink-line); border-radius: 2px; color: #d9d4c4; }
.feature-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.feature-more { color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.feature-info.is-swap > * { animation: chip-in .4s ease both; }
.feature-info.is-swap > :nth-child(2) { animation-delay: .04s; } .feature-info.is-swap > :nth-child(3) { animation-delay: .08s; }
.feature-info.is-swap > :nth-child(4) { animation-delay: .12s; } .feature-info.is-swap > :nth-child(5) { animation-delay: .16s; }
/* auto-tour progress on the selected thumbnail */
.stage { padding-top: 20px; }
.mu { cursor: pointer; }
.mu.is-sel .mu-body::after { transform: scaleX(1); }
.mu.is-sel .mx { color: var(--yellow); }
.mu.is-sel .mu-lbl b { color: var(--yellow); }
.mu .mu-body::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: -3px; height: 3px; z-index: 1; background: var(--white); transform: scaleX(0); transform-origin: left; }
.stage.is-touring .mu.is-sel .mu-body::before { animation: tour 5.2s linear both; }
@keyframes tour { to { transform: scaleX(1); } }
.mu:hover .mu-body { transform: translateY(-4px); }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; min-height: 0; }
  .feature-art { height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-art .mx, .feature-info.is-swap > * { animation: none; }
  .stage.is-touring .mu.is-sel .mu-body::before { animation: none; }
}

/* ---------- Makine parkuru: real 3D models ---------- */
.feature { grid-template-columns: 1.6fr 1fr; }
.feature-art { height: clamp(300px, 34vw, 480px); border-bottom: 0; cursor: grab; touch-action: pan-y; }
.feature-art:active { cursor: grabbing; }
.feature-art::before { display: none; }
.feature-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--yellow); }
.feature-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .5s ease; }
.feature-canvas.is-in { opacity: 1; animation: feat3d .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes feat3d { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.feature-fallback { position: absolute; left: 4%; right: 4%; bottom: 8px; width: 92%; height: 82%; object-fit: contain; object-position: center bottom; opacity: 0; transition: opacity .3s; }
.feature-art.no-3d .feature-fallback, .feature-art.is-loading .feature-fallback { opacity: 1; }
.feature-art.is-loading .feature-canvas { opacity: 0; }
.feature-hint, .feature-load { position: absolute; left: 0; top: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); pointer-events: none; }
.feature-hint { display: none; }
.feature-art.has-3d:not(.is-loading):not(.no-3d) .feature-hint { display: inline-flex; align-items: center; gap: 8px; }
.feature-hint::before { content: ""; width: 18px; height: 10px; border: 2px solid currentColor; border-radius: 50%; }
.feature-load { display: none; color: var(--yellow); }
.feature-art.is-loading .feature-load { display: block; animation: pulse-t 1.2s ease-in-out infinite; }
@keyframes pulse-t { 50% { opacity: .4; } }
/* line-up and fleet list use the rendered models */
.mu-body img { display: block; width: 100%; height: auto; transition: filter .35s, opacity .35s; filter: grayscale(.85) brightness(.75); }
.mu.is-sel .mu-body img, .mu.is-on .mu-body img, .mu:hover .mu-body img { filter: none; }
.mu.is-half .mu-body img { filter: grayscale(.4) brightness(.9); }
.mu.is-dim .mu-body img { opacity: .5; }
.fleet-row .sil img { display: block; width: calc(var(--w) / 290 * 100%); height: auto; transition: transform .45s cubic-bezier(.2,.7,.2,1); transform-origin: 50% 100%; }
.fleet-row:hover .sil img { transform: translateX(6px) scale(1.04); }
.model-credit { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.42); }
.model-credit a { color: inherit; }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; }
  .feature-art { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .feature-canvas.is-in { animation: none; } }
/* 3D showcase: the hidden fallback image must not swallow the drag, and dragging must not select text */
.feature-art { user-select: none; -webkit-user-select: none; }
.feature-fallback { pointer-events: none; }

/* 3D machine switch: the current machine stays (dimmed while the next loads, a thin bar runs along the ground),
   then a short fade out and the new one fades in. The 2D render is only used before the first model has loaded. */
.feature-canvas { transition: opacity .17s ease, filter .3s ease; }
.feature-art.has-model.is-loading .feature-fallback { opacity: 0; }
.feature-art.has-model.is-loading .feature-canvas { opacity: .35; filter: saturate(.3); }
.feature-art.is-switching .feature-canvas { opacity: 0; animation: none; }
.feature-art.is-loading::before { display: block; content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 7px; top: auto; height: 2px; width: auto;
  border-radius: 0; filter: none; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent) 0 0 / 40% 100% no-repeat, rgba(255,255,255,.08);
  animation: vh-bar 1.1s ease-in-out infinite; }
@keyframes vh-bar { from { background-position: -60% 0, 0 0; } to { background-position: 160% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .feature-art.is-loading::before { animation: none; background-size: 100% 100%; opacity: .5; } }
