/* ==========================================================================
   3A Kaynak — homepage
   Tokens → base → header → hero → information area → motion
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/Archivo.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/Archivo-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/HankenGrotesk.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/HankenGrotesk-ext.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colour: marine ink and bone with one brand blue. */
  --ink: #0a1017;
  --graphite: #141c26;
  --steel: #a3aebb;          /* secondary text on ink, 8.6:1 */
  --line-dark: rgba(236, 232, 223, 0.18);
  --bone: #ece8df;
  --bone-ink: #0e151d;       /* text on bone, 15:1 */
  --bone-muted: #4a5561;     /* secondary on bone, 6.7:1 */
  --line-light: rgba(14, 21, 29, 0.2);
  --accent: #2f6ea5;         /* brand blue; white text on it is 5.4:1 */
  --accent-lt: #6aa3d6;      /* thin lines + focus on dark grounds, 7:1 on ink */
  --accent-ink: #245683;     /* small accent text on bone, 6:1 */
  --on-accent: #f4f2ec;

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.06rem + 0.3vw, 1.25rem);
  --step-2: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --step-4: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  --step-6: clamp(2.6rem, 0.8rem + 5.4vw, 5.75rem);

  /* Space: 8px base */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-6: 3rem;
  --s-8: 4rem;
  --s-12: 6rem;
  --s-16: 8rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 90rem;
  --header-h: 5rem;
  --section-y: clamp(4.5rem, 8vw, 7.5rem);
  --paper: #f2f4f6;
  --ink-deep: #070b10;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); background: var(--ink); }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--bone);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums tabular-nums;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, dl, dd, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-lt); outline-offset: 3px; }

html { scrollbar-color: #3a4655 var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3a4655; border: 3px solid var(--ink); border-radius: 6px; }

.skip {
  position: fixed; left: var(--s-2); top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--accent); color: var(--on-accent); font-weight: 600;
  transition: top 0.2s var(--ease-out);
}
.skip:focus { top: var(--s-2); }

/* Buttons & links ----------------------------------------------------------- */
/* All buttons are .btn-cta (defined with the header, below). */

.link-quiet, .link-ink {
  position: relative; display: inline-block; padding-block: 0.5rem;
  font-weight: 500; font-size: 0.9375rem;
}
.link-quiet::after, .link-ink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.25rem; height: 1px;
  background: currentColor; transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.link-quiet::after { opacity: 0.55; }
.link-quiet:hover::after, .link-ink:hover::after { transform: scaleX(0.18); }
.link-quiet:hover::after { opacity: 1; background: var(--accent-lt); }

/* Header --------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--bone);
  transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header::before {  /* legibility ramp over the photograph */
  content: ""; position: absolute; inset: 0 0 -3rem 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 16, 23, 0.7), rgba(10, 16, 23, 0));
  transition: opacity 0.5s var(--ease-out);
}
.site-header.is-scrolled, .site-header.is-open {
  background: var(--ink); border-bottom-color: var(--line-dark);
}
/* sticky konuma geçince gradyan ve blur yok, düz koyu zemin */
.site-header.is-scrolled::before, .site-header.is-scrolled::after,
.site-header.is-open::before, .site-header.is-open::after { opacity: 0; }
.site-header::after {
  content: ""; position: absolute; inset: 0 0 -3rem 0; z-index: -1; pointer-events: none;
  -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 50%, transparent 100%);
  transition: opacity 0.5s var(--ease-out);
}

.header-inner {
  height: var(--header-h); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-4);
}

.wordmark { display: inline-flex; align-items: center; gap: 0.7rem; justify-self: start; }
.wordmark-tag {
  display: inline-grid; place-items: center; height: 2rem; padding: 0 0.62rem;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 700; font-stretch: 125%; font-size: 1.1rem; letter-spacing: 0.02em; line-height: 1;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.wordmark-name {
  font-family: var(--font-display); font-weight: 600; font-stretch: 122%;
  font-size: 1.1rem; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1;
}
/* Cut-corner plate: the header borrows the hero's chamfer vocabulary. The 1px
   outline is a gradient plate with a slightly inset fill of the same shape. */
.plate {
  --c: 12px;
  position: relative; isolation: isolate; padding: 1px;
  background: linear-gradient(135deg, rgba(236, 232, 223, 0.6), rgba(236, 232, 223, 0.1) 52%, rgba(106, 163, 214, 0.6));
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.plate::before {
  content: ""; position: absolute; inset: 1px; z-index: -1;
  background: rgba(10, 16, 23, 0.88);
  clip-path: polygon(calc(var(--c) - 1px) 0, 100% 0, 100% calc(100% - var(--c) + 1px), calc(100% - var(--c) + 1px) 100%, 0 100%, 0 calc(var(--c) - 1px));
}

.primary-nav ul { display: flex; padding-inline: 0.35rem; }
.primary-nav a {
  position: relative; display: block; padding: 0.8rem 1.3rem;
  font-size: 0.9375rem; font-weight: 450; letter-spacing: 0.005em; color: rgba(236, 232, 223, 0.8);
  transition: color 0.3s var(--ease-out), padding 0.45s var(--ease-out);
}
.primary-nav a::before {  /* accent index mark that steps in on hover/focus */
  content: ""; position: absolute; left: 0.62rem; top: 50%; width: 5px; height: 5px;
  background: var(--accent-lt); transform: translateY(-50%) scale(0); transition: transform 0.45s var(--ease-out);
}
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a[aria-current="page"] { color: var(--bone); padding-left: 1.6rem; padding-right: 1rem; }
.primary-nav a:hover::before, .primary-nav a:focus-visible::before, .primary-nav a[aria-current="page"]::before { transform: translateY(-50%) scale(1); }
.mobile-menu a[aria-current="page"] { color: var(--accent-lt); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: var(--s-3); }

.btn-cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; padding: 0 1.3rem 0 1.5rem;
  background: var(--accent); color: var(--on-accent);
  font-size: 0.9375rem; font-weight: 650; letter-spacing: 0.01em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  border: 0; font-family: inherit; cursor: pointer;
}
.btn-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone);
  transform: translateX(-101%); transition: transform 0.55s var(--ease-out);
}
.btn-cta:hover::before, .btn-cta:focus-visible::before { transform: none; }
.btn-cta svg { flex: none; transition: transform 0.45s var(--ease-out); }
.btn-cta:hover svg, .btn-cta:focus-visible svg { transform: translate(2px, -2px); }
.btn-cta { transition: color 0.4s var(--ease-out); }
.btn-cta > span { position: relative; }
.btn-cta:hover, .btn-cta:focus-visible { color: var(--ink); }

/* Variants share the cut-corner silhouette. Ghost: outlined, fills with the accent on hover. */
.btn-cta--ghost {
  background: linear-gradient(135deg, rgba(236, 232, 223, 0.65), rgba(236, 232, 223, 0.2) 55%, rgba(106, 163, 214, 0.85));
  color: var(--bone);
}
.btn-cta--ghost::before {  /* inner fill, inset to leave a 1px outline that follows the chamfers */
  inset: 1px; z-index: -2; background: rgba(10, 16, 23, 0.88); transform: none; transition: none;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
}
.btn-cta--ghost::after {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--accent);
  transform: translateX(-101%); transition: transform 0.55s var(--ease-out);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
}
.btn-cta--ghost:hover::after, .btn-cta--ghost:focus-visible::after { transform: none; }
.btn-cta--ghost:hover, .btn-cta--ghost:focus-visible { color: var(--on-accent); }

/* On the bone section the sweep is ink and the label turns bone. */
.btn-cta--ink::before { background: var(--bone-ink); }
.btn-cta--ink:hover, .btn-cta--ink:focus-visible { color: var(--bone); }

/* On the accent band: bone button, ink sweep. */
.btn-cta--light { background: var(--bone); color: var(--ink); }
.btn-cta--light::before { background: var(--ink); }
.btn-cta--light:hover, .btn-cta--light:focus-visible { color: var(--bone); }

.btn-cta--block { width: 100%; justify-content: space-between; min-height: 3.25rem; }

.menu-toggle {
  display: none; align-items: center; gap: 0.75rem; min-height: 2.75rem; padding: 0 1.1rem;
  border: 0; color: inherit; font: inherit; font-size: 0.9375rem; font-weight: 500; cursor: pointer;
}.menu-toggle-bars { position: relative; width: 22px; height: 10px; }
.menu-toggle-bars i {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out);
}
.menu-toggle-bars i:first-child { top: 0; }
.menu-toggle-bars i:last-child { top: 8.5px; }
.is-open .menu-toggle-bars i:first-child { top: 4.25px; transform: rotate(45deg); }
.is-open .menu-toggle-bars i:last-child { top: 4.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: -1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--s-6) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom));
  background: var(--ink);
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s linear 0.7s;
}
.is-open .mobile-menu { visibility: visible; clip-path: inset(0); transition: clip-path 0.7s var(--ease-in-out), visibility 0s; }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.mobile-menu li a {
  display: block; padding: 1.1rem 0;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 7vw, 2.5rem); letter-spacing: -0.02em;
  transform: translateY(100%); transition: transform 0.7s var(--ease-out);
}
.is-open .mobile-menu li a { transform: none; }
.is-open .mobile-menu li:nth-child(1) a { transition-delay: 0.15s; }
.is-open .mobile-menu li:nth-child(2) a { transition-delay: 0.2s; }
.is-open .mobile-menu li:nth-child(3) a { transition-delay: 0.25s; }
.is-open .mobile-menu li:nth-child(4) a { transition-delay: 0.3s; }
.is-open .mobile-menu li:nth-child(5) a { transition-delay: 0.35s; }
.mobile-menu .btn-cta { align-self: stretch; }
.mobile-menu[hidden] { display: flex; }

/* Hero ----------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink);
}
/* The photograph lives inside a cut plate: a raked left edge and a chamfered
   lower-right corner, in percentages so the hairline (.hero-edge) tracks it. */
.hero {
  --plate: polygon(30% 0, 100% 0, 100% 84%, 90% 100%, 12% 100%);
  --plate-from: polygon(100% 0, 100% 0, 100% 84%, 100% 100%, 100% 100%);
}
.hero-media { position: absolute; inset: 0; z-index: -2; clip-path: var(--plate); }
/* Pointer + scroll drive --mx/--my/--sy (see main.js); each layer moves at its own depth. */
.hero { --mx: 0; --my: 0; --sy: 0; }
.hero-parallax {
  position: absolute; top: -3%; left: -3%; width: 106%; height: 106%;
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--sy) * 0.12px + var(--my) * -8px), 0);
  will-change: transform;
}
/* Quiet the drawing behind the type and above the index strip. */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(10, 16, 23, 0.38), rgba(10, 16, 23, 0.38)),
    radial-gradient(ellipse 40% 44% at 50% 46%, rgba(10, 16, 23, 0.72), rgba(10, 16, 23, 0) 100%),
    linear-gradient(to top, rgba(10, 16, 23, 0.7) 0%, rgba(10, 16, 23, 0) 22%),
    linear-gradient(to bottom, rgba(10, 16, 23, 0.55) 0%, rgba(10, 16, 23, 0) 18%);
}

.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }

/* Thin accent lines along the plate edges. */
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-lines--m { display: none; }
.hl-line { fill: none; stroke: rgba(236, 232, 223, 0.3); stroke-width: 1.25; stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 1.8s var(--ease-in-out) calc(0.6s + var(--i, 0) * 0.2s) both; }

.hero-edge {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: visible;
  transform: translateX(calc(-16px + var(--mx) * 14px));
}
.hero-edge .edge-d { stroke: url(#edge-fade); }
.hero-edge .edge-m { stroke: var(--accent-lt); }
.hero-edge polyline { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-edge .edge-m { display: none; }

/* Centred composition: headline, one line of copy, two actions; a quiet index
   of the four disciplines runs along the foot. */
.hero-content {
  width: 100%; max-width: var(--max); margin-inline: auto; text-align: center;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: clamp(1.5rem, 4vh, 2.5rem);
  padding: calc(var(--header-h) + 1rem) var(--gutter) clamp(6.5rem, 15vh, 8.5rem);
}
.hero-title {
  font-family: var(--font-display); font-weight: 540; font-stretch: 104%;
  font-size: clamp(2.1rem, 0.7rem + 4.4vw, 5.25rem); line-height: 1.03; letter-spacing: -0.03em;
  text-shadow: 0 2px 28px rgba(10, 16, 23, 0.6);
}
.hero-title .line {
  display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em;
  transform: translate3d(calc(var(--mx) * var(--d, 6) * 1px), calc(var(--sy) * var(--k, 0.05) * 1px), 0);
}
.hero-title .line:nth-child(1) { --d: 4; --k: 0.04; }
.hero-title .line:nth-child(2) { --d: 8; --k: 0.08; }
.hero-title .line:nth-child(3) { --d: 12; --k: 0.12; }
.hero-title .line > span { display: block; }
.hero-lower { display: grid; gap: var(--s-3); max-width: 36rem; justify-items: center; }
.hero-lede { font-size: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem); line-height: 1.6; color: rgba(236, 232, 223, 0.92); text-wrap: balance; text-shadow: 0 1px 14px rgba(10, 16, 23, 0.6); }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: var(--s-4); flex-wrap: wrap; }

.hero-index {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter) clamp(1.25rem, 3.5vh, 2.25rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--s-3);
}
.hero-index .hero-fact {
  position: relative; display: block; padding: 1rem 0.5rem 0; text-align: center;
  font-size: 0.9375rem; font-weight: 500; color: rgba(236, 232, 223, 0.82);
  border-top: 1px solid var(--line-dark);
  transition: color 0.3s var(--ease-out);
}
.hero-index .hero-fact::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent-lt);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.hero-index .hero-fact:hover, .hero-index .hero-fact:focus-visible { color: var(--bone); }
.hero-index .hero-fact:hover::before, .hero-index .hero-fact:focus-visible::before { transform: scaleX(1); }
/* Introduction: contained two-column band under the hero ------------------------------- */
.intro { position: relative; background: #fff; color: var(--bone-ink); padding: var(--section-y) 0; }
.intro-grid {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 3.5rem);
}

.intro-text { display: grid; align-content: center; justify-items: start; }
.eyebrow { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 2.5rem; height: 2px; background: var(--accent); }
.section--ink .eyebrow { color: var(--accent-lt); }
.intro-title {
  margin-top: 1.5rem; max-width: 20ch;
  font-family: var(--font-display); font-weight: 520; font-stretch: 100%;
  font-size: clamp(2.25rem, 1.3rem + 2.6vw, 3.75rem); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance;
}
.intro-deck {
  margin-top: 1.5rem; max-width: 30ch;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1rem + 0.45vw, 1.375rem); line-height: 1.35; letter-spacing: -0.012em;
}
.intro-body { margin-top: 1rem; max-width: 52ch; font-size: 1rem; line-height: 1.7; color: var(--bone-muted); }
.intro-deck + .intro-body { margin-top: 1.25rem; }
.intro-text .btn-cta { margin-top: 2rem; }

.intro-figure { margin: 0; --fig-clip: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px); --fig-from: polygon(0 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
.intro-figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--graphite); clip-path: var(--fig-clip); }

@media (min-width: 960px) {
  .intro-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 5vw, 5rem); align-items: center; }
  .intro-figure img { aspect-ratio: 5 / 4; }
}
/* Pinned intro: the headline fills in word by word at the centre, settles into place, then the copy writes itself. */
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .js .intro.is-pinned { padding: 0; height: calc(100vh + var(--runway, 160vh)); }
  .js .intro.is-pinned .intro-grid { position: sticky; top: 0; height: 100vh; align-content: center; }
  .js .intro.is-pinned .intro-title {
    transform: translate3d(calc(var(--dx, 0px) * (1 - var(--t, 1))), calc(var(--dy, 0px) * (1 - var(--t, 1))), 0) scale(calc(1.35 - 0.35 * var(--t, 1)));
    will-change: transform;
  }
  .js .intro.is-pinned .intro-title .w {
    --f: clamp(0, var(--wa, 1) * var(--n, 1) - var(--i, 0), 1);
    opacity: calc(0.14 + 0.86 * var(--f));
    color: color-mix(in srgb, #2F6EA5 calc(var(--f) * 100%), var(--bone-ink));
  }
  .js .intro.is-pinned .intro-copy .w { opacity: clamp(0, var(--wb, 1) * var(--n, 1) - var(--i, 0), 1); }
  .js .intro.is-pinned .eyebrow,
  .js .intro.is-pinned .intro-text .btn-cta {
    --k: 0;
    opacity: clamp(0, (var(--r, 1) - var(--k)) * 3.5, 1);
    transform: translateY(calc((1 - clamp(0, (var(--r, 1) - var(--k)) * 3.5, 1)) * 18px));
  }
  .js .intro.is-pinned .intro-text .btn-cta { --k: 0.65; }
  .js .intro.is-pinned .intro-figure {
    opacity: clamp(0, (var(--r, 1) - 0.05) * 3, 1);
    transform: translateX(calc((1 - clamp(0, (var(--r, 1) - 0.05) * 3, 1)) * 14vw));
    will-change: transform, opacity;
  }
}
/* Scroll-in: the visual wipes up and settles once, when it enters the viewport. */
.js .fig-reveal img { clip-path: var(--fig-from); transform: scale(1.08); transition: clip-path 1.4s var(--ease-in-out), transform 1.9s var(--ease-out); will-change: clip-path, transform; }
.js .fig-reveal.is-in img { clip-path: var(--fig-clip); transform: none; }
.js.smooth { scroll-behavior: auto; }

/* Shared section frame ------------------------------------------------------------ */
.section { position: relative; padding-block: var(--section-y); }
/* Blueprint grid behind Hizmetler: fine 48px lines, fading out toward the edges. */
#hizmetler.section--ink { isolation: isolate; overflow: hidden; }
#hizmetler.section--ink::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(106, 163, 214, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(106, 163, 214, 0.10) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 30%, transparent 100%);
}
.section--ink { background: var(--ink); color: var(--bone); }
.section--paper { background: var(--paper); color: var(--bone-ink); }
.section--white { background: #fff; color: var(--bone-ink); }
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title {
  margin-top: 1.5rem; max-width: 20ch;
  font-family: var(--font-display); font-weight: 520;
  font-size: clamp(2rem, 1.3rem + 2vw, 3.25rem); line-height: 1.05; letter-spacing: -0.032em; text-wrap: balance;
}
.section-lede { max-width: 42ch; font-size: var(--step-1); line-height: 1.55; color: var(--bone-muted); }
.section-body { margin-top: 1.5rem; max-width: 52ch; font-size: 1rem; line-height: 1.7; color: var(--bone-muted); }
.section--ink .section-lede { color: var(--steel); }
@media (min-width: 960px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(3rem, 5vw, 5rem); align-items: end; }
  .section-head .section-lede { justify-self: end; }
}

/* Services ------------------------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem var(--s-4); }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service { display: grid; align-content: start; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.service-media { overflow: hidden; background: var(--graphite); clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px); }
.service-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease-out); }
.service:hover .service-media img { transform: scale(1.04); }
.service-body { position: relative; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-light); }
.section--ink .service-body { border-top-color: var(--line-dark); }
.service-body::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.service:hover .service-body::before { transform: scaleX(1); }
.service-title { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.2rem, 1.1rem + 0.35vw, 1.4rem); line-height: 1.2; letter-spacing: -0.015em; }
.service-text { margin-top: 0.75rem; max-width: 40ch; font-size: 0.9375rem; line-height: 1.65; color: var(--bone-muted); }
.section--ink .service-text { color: var(--steel); }
.section--ink .service-body::before { background: var(--accent-lt); }
@media (min-width: 1200px) { .service-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); } }
.service-grid--2 .service-media img { aspect-ratio: 16 / 9; }
.service-grid--2 .service-text { max-width: 56ch; }

/* Workshop + process ------------------------------------------------------------- */
.workshop-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 3.5rem); }
.workshop-figure { margin: 0; --fig-clip: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); --fig-from: polygon(0 100%, 100% 100%, 100% 100%, 100% 100%, 0 100%); }
.workshop-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dee4eb; clip-path: var(--fig-clip); }
@media (min-width: 960px) {
  .workshop-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(3rem, 5vw, 5rem); align-items: center; }
  .workshop-figure img { aspect-ratio: 5 / 4; }
}

.fab-list { margin-top: 2.25rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 2rem; }
@media (min-width: 560px) { .fab-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fab-list dt {
  position: relative; padding-top: 0.9rem; border-top: 1px solid var(--line-light);
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em;
}
.fab-list dt::before { content: ""; position: absolute; left: 0; top: -1px; width: 2.5rem; height: 2px; background: var(--accent); }
.fab-list dd { margin: 0.4rem 0 0; font-size: 0.9375rem; line-height: 1.6; color: var(--bone-muted); }

.process-wrap { margin-top: clamp(4rem, 8vw, 6rem); }
.process-title { font-family: var(--font-display); font-weight: 560; font-size: var(--step-2); letter-spacing: -0.015em; }
.process { margin-top: 1.75rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem var(--s-4); }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.step { position: relative; padding-top: 1.25rem; border-top: 1px solid var(--line-light); }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0.12); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.step:hover::before { transform: scaleX(1); }
.step-no { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--accent-ink); }
.step-title { margin-top: 0.6rem; font-family: var(--font-display); font-weight: 560; font-size: 1.25rem; letter-spacing: -0.015em; }
.step-text { margin-top: 0.5rem; max-width: 32ch; font-size: 0.9375rem; line-height: 1.6; color: var(--bone-muted); }

/* Projects --------------------------------------------------------------------------- */
.project-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem var(--s-4); }
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project-media { overflow: hidden; background: #dee4eb; clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px); }
.project-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease-out); }
.project:hover .project-media img { transform: scale(1.04); }
.project-meta { margin-top: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; }
.project-tag { color: var(--accent-ink); }
.project-place { color: var(--bone-muted); font-weight: 500; }
.project-title { margin-top: 0.5rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.15rem, 1.05rem + 0.3vw, 1.3rem); line-height: 1.25; letter-spacing: -0.015em; }

/* Contact ----------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(2rem, 4vw, 3rem); align-items: stretch; } }
.contact-text .section-lede { margin-top: 1.5rem; }
.contact-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.contact-list { margin-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 1100px) { .contact-list { grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr; } }
.contact-list > div {
  --c: 12px; --edge: var(--line-dark); --fill: transparent;
  position: relative; isolation: isolate; padding: calc(1rem + 1px) calc(1.125rem + 1px); min-width: 0; overflow-wrap: anywhere;
  background: var(--edge);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.contact-list > div::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--fill, #fff);
  clip-path: polygon(0 0, calc(100% - var(--c) + 1px) 0, 100% calc(var(--c) - 1px), 100% 100%, calc(var(--c) - 1px) 100%, 0 calc(100% - var(--c) + 1px));
}
.map-box { --c: 12px; min-height: 320px; height: 100%; clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); background: var(--graphite); }
.map-box iframe { display: block; width: 100%; height: 100%; border: 0; }
.contact-list > div { display: flex; align-items: flex-start; gap: 0.875rem; }
.contact-list .ct { padding: 0; border: 0; background: none; clip-path: none; min-width: 0; }
.contact-list .ci { flex: none; margin-top: 0.1rem; color: var(--accent-lt); }
.section--white .contact-list .ci { color: var(--accent); }
@media (max-width: 520px) { .contact-list { grid-template-columns: minmax(0, 1fr); } }
.contact-list dt { font-size: 0.8125rem; color: var(--steel); }
.contact-list dd { margin: 0.25rem 0 0; font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.contact-list a { transition: color 0.3s var(--ease-out); }
.contact-list a:hover { color: var(--accent-lt); }

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--graphite);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem var(--s-3); margin-bottom: 1.75rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 550; color: var(--bone); }
.field .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 3rem; padding: 0.75rem 1rem;
  background: rgba(10, 16, 23, 0.55); color: var(--bone); border: 1px solid rgba(236, 232, 223, 0.22); border-radius: 0;
  font: inherit; font-size: 1rem; transition: border-color 0.3s var(--ease-out);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23a3aebb' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px 8px;
}
.field select option { background: var(--graphite); color: var(--bone); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(236, 232, 223, 0.4); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent-lt); outline-offset: 0; border-color: var(--accent-lt); }

/* Footer -------------------------------------------------------------------------------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-deep); color: var(--steel); font-size: 0.9375rem; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(106, 163, 214, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(106, 163, 214, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: clamp(3.5rem, 6vw, 5rem); }
@media (min-width: 640px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr); column-gap: 0; }
  .footer-brand { grid-column: auto; padding-right: var(--s-6); }
  .footer-col { padding-left: var(--s-6); border-left: 1px solid var(--line-dark); }
}
.footer-brand .wordmark { color: var(--bone); }
.footer-brand p { margin-top: 1.25rem; max-width: 44ch; line-height: 1.6; }
.footer-col h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 560; letter-spacing: -0.01em; color: var(--bone); }
.footer-col ul { margin-top: 1.25rem; display: grid; gap: 0.7rem; }
.footer-col a, .footer-bottom a { transition: color 0.3s var(--ease-out); }
.footer-col a:hover, .footer-col a:focus-visible, .footer-bottom a:hover { color: var(--bone); }
.footer-credit { display: inline-flex; align-items: center; opacity: 0.6; transition: opacity 0.3s var(--ease-out); }
.footer-credit:hover, .footer-credit:focus-visible { opacity: 1; }
.footer-credit img { height: 18px; width: auto; filter: brightness(0) invert(1); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  position: relative; padding-block: 1.5rem; font-size: 0.8125rem;
}

.section-aside { display: grid; gap: 1.5rem; justify-items: start; }
@media (min-width: 960px) { .section-aside { justify-self: end; } }

/* Subpages ============================================================================ */
/* Page hero: the home hero's raked plate, scaled down to a title band. */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--bone); }
.page-hero-inner {
  min-height: clamp(30rem, 64vh, 40rem); display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4rem;
}
.page-hero-text { max-width: min(40rem, 46%); }
.page-hero-media {
  position: absolute; inset: 0 0 0 48%; z-index: -1;
  --plate: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
  --plate-from: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  clip-path: var(--plate); animation: plate-wipe 1.4s var(--ease-in-out) 0.1s both;
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10, 16, 23, 0.5), rgba(10, 16, 23, 0) 30%); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.875rem; color: var(--steel); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: rgba(163, 174, 187, 0.5); }
.crumbs a { transition: color 0.3s var(--ease-out); }
.crumbs a:hover { color: var(--bone); }
.crumbs [aria-current] { color: var(--accent-lt); }
.page-title {
  margin-top: 1.75rem;
  font-family: var(--font-display); font-weight: 540; font-stretch: 104%;
  font-size: clamp(2.25rem, 1.1rem + 3.2vw, 4.25rem); line-height: 1.04; letter-spacing: -0.032em; text-wrap: balance;
}
.page-lede { margin-top: 1.5rem; max-width: 40ch; font-size: var(--step-1); line-height: 1.55; color: var(--steel); }
.page-hero-text > * { animation: fade-up 1s var(--ease-out) both; }
.page-hero-text > :nth-child(2) { animation-delay: 0.15s; }
.page-hero-text > :nth-child(3) { animation-delay: 0.3s; }

/* Split: text beside one figure; --rev puts the figure first. */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 3.5rem); }
.split-text { display: grid; align-content: center; justify-items: start; }
.split-text .section-title:first-child { margin-top: 0; }
.split-text .btn-cta { margin-top: 2rem; }
.split-figure { margin: 0; --fig-clip: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px); --fig-from: polygon(0 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
.split--rev .split-figure { --fig-clip: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); --fig-from: polygon(0 100%, 100% 100%, 100% 100%, 100% 100%, 0 100%); }
.split-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dee4eb; clip-path: var(--fig-clip); }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 5vw, 5rem); align-items: center; }
  .split--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .split--rev .split-figure { order: -1; }
  .split-figure img { aspect-ratio: 5 / 4; }
}
.service-row { scroll-margin-top: var(--header-h); }
.service-row + .service-row { margin-top: var(--section-y); }

.scope-title { margin-top: 2rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--accent-ink); }
.scope-list { margin-top: 0.75rem; width: 100%; max-width: 32rem; }
.scope-list li { display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem 0; border-top: 1px solid var(--line-light); font-size: 0.9375rem; }
.scope-list li:last-child { border-bottom: 1px solid var(--line-light); }
.scope-list li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--accent); }

@media (min-width: 960px) { .process--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.process--3 .step-title { margin-top: 0; }

/* CTA band: centred photo, dark wash, blueprint grid */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--bone); padding: clamp(3.5rem, 7vw, 5.5rem) 0; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: -3; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(10, 16, 23, 0.78); }
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(106, 163, 214, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(106, 163, 214, 0.14) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000 20%, transparent 100%);
}
.cta-title { margin-inline: auto; max-width: 22ch; font-family: var(--font-display); font-weight: 540; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.cta-lede { margin: 1rem auto 0; max-width: 64ch; font-size: 1rem; line-height: 1.6; color: rgba(236, 232, 223, 0.8); }
.cta-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.25rem 2rem; }
.cta-phone { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; transition: color 0.3s var(--ease-out); }
.cta-phone:hover, .cta-phone:focus-visible { color: var(--accent-lt); }

/* Content additions ---------------------------------------------------------------- */
@media (min-width: 1100px) { .process--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service-title a { transition: color 0.3s var(--ease-out); }
.service-title a:hover, .service-title a:focus-visible { color: var(--accent-lt); }
.service-meta { margin-top: 1.75rem; display: grid; gap: 1.25rem; max-width: 32rem; }
.service-meta dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--accent-ink); }
.service-meta dd { margin: 0.35rem 0 0; font-size: 0.9375rem; line-height: 1.6; color: var(--bone-muted); }
.flow { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; counter-reset: flow; }
.flow li { counter-increment: flow; }
.flow li::before { content: counter(flow) ". "; color: var(--accent-ink); font-weight: 600; }
.service-row .btn-cta { margin-top: 2rem; }
.project-desc { margin-top: 0.6rem; font-size: 0.9375rem; line-height: 1.6; color: var(--bone-muted); }
.project-specs { margin-top: 0.9rem; display: grid; gap: 0.35rem; font-size: 0.875rem; }
.project-specs li { display: flex; gap: 0.65rem; align-items: baseline; }
.project-specs li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--accent); transform: translateY(-1px); }
.stats-title { color: var(--bone); }
.stats { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem var(--s-4); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-figure { font-family: var(--font-display); font-weight: 520; font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; color: var(--bone); }
.stat-text { margin-top: 0.9rem; max-width: 30ch; font-size: 0.9375rem; line-height: 1.6; color: var(--steel); }
.field--check label { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 400; font-size: 0.875rem; line-height: 1.5; cursor: pointer; }
.field--check input { flex: none; width: 1.15rem; min-height: 0; height: 1.15rem; margin-top: 0.15rem; padding: 0; accent-color: var(--accent); }
.faq-list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 800px) { .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item:first-child, .faq-item:nth-child(2) { border-top: 1px solid var(--line-light); }
@media (max-width: 799px) { .faq-item:nth-child(2) { border-top: 0; } }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.25rem 2rem 1.25rem 0; position: relative; font-family: var(--font-display); font-weight: 540; font-size: 1.125rem; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1.1rem; font-size: 1.5rem; line-height: 1; color: var(--accent-ink); transition: transform 0.3s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-item p { padding: 0 2rem 1.5rem 0; max-width: 62ch; line-height: 1.7; color: var(--bone-muted); }
.map-section .split-text .section-body { margin-top: 1.25rem; }
.cta-band { background: var(--ink); color: var(--bone); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band .cta-inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .cta-band .cta-inner { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-8); } }
.cta-band-title { font-family: var(--font-display); font-weight: 540; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.cta-band .cta-text { margin-top: 0.9rem; max-width: 54ch; line-height: 1.6; color: var(--steel); }

.footer-sources { margin-left: 1.25rem; }
.credits .scope-list { max-width: 52rem; }
.credits .scope-list a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.credits .section-body { margin-top: 1.5rem; }

/* ===== Restored base: keyframes, hero motion, filters, light form, mobile ============ */
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes plate-wipe { from { clip-path: var(--plate-from); } to { clip-path: var(--plate); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-title .line > span { animation: rise 1.1s var(--ease-out) calc(0.1s + var(--n, 0) * 0.12s) both; }
.hero-title .line:nth-child(2) > span { --n: 1; }
.hero-title .line:nth-child(3) > span { --n: 2; }
.hero-lower { animation: fade-up 1s var(--ease-out) 0.7s both; }
.hero-index { animation: fade-up 1s var(--ease-out) 1s both; }

.workshop-text { display: grid; align-content: center; justify-items: start; }
.services-list > .service-row { padding-block: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.filter {
  min-height: 2.75rem; padding: 0 1.1rem; font: inherit; font-size: 0.9375rem; font-weight: 550; cursor: pointer;
  background: transparent; color: var(--bone-ink); border: 1px solid var(--line-light);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.filter:hover { border-color: var(--bone-ink); }
.filter[aria-pressed="true"] { background: var(--bone-ink); color: var(--bone); border-color: var(--bone-ink); }
.filter:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.project[hidden] { display: none; }
.project-grid--gallery { gap: var(--s-4); }
.project--photo .project-media img { aspect-ratio: 4 / 3; }

.section--white .contact-list > div { --edge: rgba(14, 21, 29, 0.28); --fill: #fff; }
.section--white .contact-list dt { color: var(--bone-muted); }
.section--white .contact-list a:hover { color: var(--accent); }
.contact-form--light { background: var(--paper); }
.contact-form--light .field label { color: var(--bone-ink); }
.contact-form--light .field .opt { color: var(--bone-muted); }
.contact-form--light .field input, .contact-form--light .field select, .contact-form--light .field textarea { background: #fff; color: var(--bone-ink); border-color: rgba(14, 21, 29, 0.22); }
.contact-form--light .field input:hover, .contact-form--light .field select:hover, .contact-form--light .field textarea:hover { border-color: rgba(14, 21, 29, 0.45); }
.contact-form--light .field input:focus-visible, .contact-form--light .field select:focus-visible, .contact-form--light .field textarea:focus-visible { outline-color: var(--accent); border-color: var(--accent); }
.contact-form--light .field select option { background: #fff; color: var(--bone-ink); }
.contact-form--light .field--check input { background: transparent; }
.contact-form--light .btn-cta::before { background: var(--bone-ink); }
.contact-form--light .btn-cta:hover, .contact-form--light .btn-cta:focus-visible { color: var(--bone); }
.map-ph { margin: 0; }
.map-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dee4eb; clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px); }

/* Mobile and tablet ---------------------------------------------------------------- */
@media (max-width: 959px) {
  :root { --header-h: 4.5rem; }
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav, .header-actions .btn-cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero { --plate: polygon(0 0, 100% 0, 100% 93%, 88% 100%, 0 100%); --plate-from: polygon(100% 0, 100% 0, 100% 93%, 100% 100%, 100% 100%); }
  .hero-lines, .hero-edge { display: none; }
  .hero-content { padding-bottom: 9.5rem; }
  .hero-lower { max-width: 26rem; }
  .hero-actions { width: 100%; max-width: 22rem; flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-actions .btn-cta { justify-content: space-between; }
  .hero-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-3); }
  .hero-index .hero-fact { padding-block: 0.85rem; font-size: 0.875rem; }

  .page-hero-inner { min-height: 0; padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 2.5rem; }
  .page-hero-text { max-width: none; }
  .page-hero-media {
    position: relative; inset: auto; z-index: 0; height: clamp(11rem, 48vw, 18rem);
    --plate: polygon(24px 0, 100% 0, 100% 100%, 0 100%, 0 24px); --plate-from: polygon(0 100%, 100% 100%, 100% 100%, 0 100%, 0 100%);
  }
  .section-head { gap: 1.5rem; }
  .footer-sources { display: block; margin: 0.5rem 0 0; }
}
@media (max-width: 479px) {
  .btn-cta { max-width: 100%; }
  .cta-actions { flex-direction: column; }
  .filters { gap: 0.4rem; }
  .filter { padding: 0 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hl-line { stroke-dashoffset: 0; }
  .js .fig-reveal img { clip-path: var(--fig-clip); transform: none; }
  .hero-media, .page-hero-media { animation: none; }
}

/* Intro grid pattern: draws outward from the centre as the section scrolls --------- */
.intro-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(47, 110, 165, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 110, 165, 0.12) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 20%, transparent 100%);
}
.intro-grid { position: relative; z-index: 1; }
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .js .intro.is-pinned .intro-bg {
    position: sticky; top: 0; inset: auto; width: 100%; height: 100vh; margin-bottom: -100vh;
    opacity: calc(0.25 + 0.75 * var(--g, 0));
    background-position: center calc(var(--p, 0) * -140px);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 calc(var(--g, 0) * 38%), transparent calc(var(--g, 0) * 78% + 6%));
    mask-image: radial-gradient(circle at 50% 50%, #000 calc(var(--g, 0) * 38%), transparent calc(var(--g, 0) * 78% + 6%));
  }
}

/* Hold the page-hero wipe until its image has loaded (class added by main.js). */
.js .page-hero-media:not(.is-ready) { animation: none; clip-path: var(--plate-from); }
@media (max-width: 959px) { .js .page-hero-media:not(.is-ready) { clip-path: var(--plate-from); } }

/* gallery */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4, 1.5rem); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery .project-media img { display: block; aspect-ratio: 4 / 3; }
.gallery-item:hover .project-media img { transform: scale(1.04); }

/* hizmetler: kutucuklu kartlar */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-card {
  --c: 16px; --edge: rgba(14, 21, 29, 0.2);
  position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 1px; background: var(--edge);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.svc-card::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: #fff;
  clip-path: polygon(0 0, calc(100% - var(--c) + 1px) 0, 100% calc(var(--c) - 1px), 100% 100%, calc(var(--c) - 1px) 100%, 0 calc(100% - var(--c) + 1px));
}
.svc-media { margin: 0; overflow: hidden; background: var(--graphite); }
.svc-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease-out); }
.svc-card:hover .svc-media img { transform: scale(1.04); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.375rem 1.5rem; }
.svc-title { font-family: var(--font-display); font-weight: 560; font-size: 1.1875rem; line-height: 1.25; letter-spacing: -0.015em; }
.svc-text { margin-top: 0.65rem; font-size: 0.9375rem; line-height: 1.6; color: var(--bone-muted); }
.svc-more { margin-top: 1rem; }
.svc-more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--accent-ink); }
.svc-more summary::-webkit-details-marker { display: none; }
.svc-more summary::after { content: "+"; font-size: 1.25rem; line-height: 1; transition: transform 0.3s var(--ease-out); }
.svc-more[open] summary::after { transform: rotate(45deg); }
.svc-more summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.svc-more .scope-title { margin-top: 1.25rem; }
.svc-more .scope-list li { font-size: 0.875rem; align-items: flex-start; }
.svc-more .scope-list li::before { margin-top: 0.5rem; }
.svc-more .service-meta { margin-top: 1.25rem; }
.svc-body .btn-cta { margin-top: auto; align-self: flex-start; }
.svc-more + .btn-cta { margin-top: 1.5rem; }

/* Atölye: scroll ile ilerleyen sahne ------------------------------------------------ */
.fab-scroll { padding-block: var(--section-y); overflow: clip; }
.fab-track { position: relative; }
.fab-stage { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.fab-text { display: grid; justify-items: start; }
.fab-text .section-body { margin-top: 1.25rem; max-width: 46ch; }
.fab-title .w { display: inline-block; }
.fab-steps { margin-top: 2rem; width: 100%; display: grid; }
.fab-step { display: flex; gap: 1.1rem; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--line-light); transition: opacity 0.5s var(--ease-out); }
.fab-step:last-child { border-bottom: 1px solid var(--line-light); }
.fab-no { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--accent-ink); }
.fab-name { font-family: var(--font-display); font-weight: 560; font-size: 1.25rem; letter-spacing: -0.015em; }
.fab-desc { margin-top: 0.35rem; font-size: 0.9375rem; line-height: 1.6; color: var(--bone-muted); }
.fab-bar { display: none; }
.fab-visual { position: relative; display: grid; }
.fab-fig { grid-area: 1 / 1; margin: 0; }
.fab-fig img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dee4eb; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.fab-fig:not(.is-active) { display: none; }
.fab-after .process-wrap { margin-top: 0; }

/* arka plan deseni */
.fab-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; color: rgba(14, 21, 29, 0.14); }
.fab-bg i, .fab-bg svg { position: absolute; display: block; }
.fab-grid {
  inset: -200px; will-change: transform;
  background-image: linear-gradient(rgba(14, 21, 29, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 21, 29, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, #000 20%, transparent 100%);
}
.fab-stripes {
  right: -10%; top: 0; width: calc(55% + 64px); height: 100%;
  background: repeating-linear-gradient(135deg, rgba(47, 110, 165, 0.1) 0 2px, transparent 2px 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  animation: fab-drift 12s linear infinite; will-change: transform;
}
.fab-rings { right: -8%; top: 50%; width: min(52vw, 640px); height: auto; margin-top: calc(min(52vw, 640px) / -2); animation: fab-spin 80s linear infinite; will-change: transform; }
@keyframes fab-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-31.113px, 0, 0); } }
@keyframes fab-spin { to { rotate: 360deg; } }

@media (min-width: 960px) {
  .fab-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 5vw, 5rem); }
  .fab-fig img { aspect-ratio: 5 / 4; }
  .js .fab-scroll.is-pinned { padding-block: 0; }
  .js .fab-scroll.is-pinned .fab-track { height: calc(100vh + 400vh); }
  .js .fab-scroll.is-pinned .fab-bg { position: sticky; inset: auto; top: 0; width: 100%; height: 100vh; margin-bottom: -100vh; }
  .js .fab-scroll.is-pinned .fab-stage { position: sticky; top: 0; height: 100vh; padding-top: var(--header-h); align-content: center; }
  .js .fab-scroll.is-pinned .fab-step { opacity: 0.35; }
  .js .fab-scroll.is-pinned .fab-step.is-active { opacity: 1; }
  .js .fab-scroll.is-pinned .fab-bar { display: block; margin-top: 1.5rem; width: 100%; height: 2px; background: var(--line-light); }
  .js .fab-scroll.is-pinned .fab-bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
  .js .fab-scroll.is-pinned .fab-fig { display: block; opacity: 0; transform: scale(1.06); clip-path: inset(100% 0 0 0);
    transition: opacity 0.6s var(--ease-out), transform 1.2s var(--ease-out), clip-path 0.9s var(--ease-in-out); }
  .js .fab-scroll.is-pinned .fab-fig.is-active { opacity: 1; transform: none; clip-path: inset(0); }

  /* başlık bloğu: bölüme gelince bir kez, sıralı olarak açılır */
  .js .fab-scroll.is-pinned .fab-text .eyebrow,
  .js .fab-scroll.is-pinned .fab-title .w,
  .js .fab-scroll.is-pinned .fab-text .section-body,
  .js .fab-scroll.is-pinned .fab-steps,
  .js .fab-scroll.is-pinned .fab-bar,
  .js .fab-scroll.is-pinned .fab-visual { opacity: 0; transform: translate3d(0, 22px, 0); }
  .js .fab-scroll.is-pinned .fab-visual { transform: translate3d(40px, 0, 0); }
  .js .fab-scroll.is-pinned.is-in .fab-text .eyebrow,
  .js .fab-scroll.is-pinned.is-in .fab-title .w,
  .js .fab-scroll.is-pinned.is-in .fab-text .section-body,
  .js .fab-scroll.is-pinned.is-in .fab-steps,
  .js .fab-scroll.is-pinned.is-in .fab-bar,
  .js .fab-scroll.is-pinned.is-in .fab-visual { opacity: 1; transform: none;
    transition: opacity 0.8s var(--ease-out) var(--dl, 0s), transform 0.9s var(--ease-out) var(--dl, 0s); }
  .js .fab-scroll.is-pinned.is-in .fab-text .eyebrow { --dl: 0s; }
  .js .fab-scroll.is-pinned.is-in .fab-title .w { --dl: calc(0.12s + var(--i, 0) * 0.09s); }
  .js .fab-scroll.is-pinned.is-in .fab-visual { --dl: 0.2s; }
  .js .fab-scroll.is-pinned.is-in .fab-text .section-body { --dl: 0.7s; }
  .js .fab-scroll.is-pinned.is-in .fab-steps { --dl: 0.9s; }
  .js .fab-scroll.is-pinned.is-in .fab-bar { --dl: 1s; }
}
}

/* süreç adımları: kutu + ikon */
.process--4 .step {
  --c: 16px; --edge: rgba(14, 21, 29, 0.2);
  isolation: isolate; padding: calc(1.5rem + 1px) calc(1.375rem + 1px) calc(1.5rem + 1px); border-top: 0; background: var(--edge);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.process--4 .step::before {
  inset: 1px; width: auto; height: auto; z-index: -1; background: #fff; transform: none; transition: none;
  clip-path: polygon(0 0, calc(100% - var(--c) + 1px) 0, 100% calc(var(--c) - 1px), 100% 100%, calc(var(--c) - 1px) 100%, 0 calc(100% - var(--c) + 1px));
}
.process--4 .step-icon {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; background: var(--accent); color: #fff;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: transform 0.4s var(--ease-out);
}
.process--4 .step:hover .step-icon { transform: translateY(-3px); }
.process--4 .step-no { position: absolute; top: 1.25rem; right: 1.75rem; font-size: 1.5rem; color: rgba(14, 21, 29, 0.14); letter-spacing: 0; }
.process--4 .step-title { margin-top: 1.25rem; }
.section--white .process--4 .step::before { background: #fff; }
.section--paper .process--4 .step::before { background: #fff; }

/* Ana sayfa hizmetler: kayar yapı */
.slider { --pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); margin-inline: calc(50% - 50vw); }
.slider-track {
  display: flex; gap: 1.5rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; cursor: grab;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.slider-track.is-drag a { pointer-events: none; }
.slider-track:focus-visible { outline: 2px solid var(--accent-lt); outline-offset: 4px; }
.slide { flex: none; width: clamp(16.5rem, 78vw, 23rem); scroll-snap-align: start; user-select: none; }
.slide .service-media img { -webkit-user-drag: none; aspect-ratio: 4 / 3; }
.slide-no { display: block; margin-bottom: 0.5rem; font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--accent-lt); }
.slide .service-text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.slider-ui { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; padding-inline: var(--pad); }
.slider-bar { flex: 1; height: 2px; background: var(--line-dark); }
.slider-bar i { display: block; height: 100%; background: var(--accent-lt); transform-origin: 0 50%; transform: scaleX(var(--sp, 0.1)); transition: transform 0.15s linear; }
.slider-nav { display: flex; gap: 0.5rem; }
.slider-btn {
  display: grid; place-items: center; width: 3rem; height: 3rem; color: var(--bone); background: transparent; border: 1px solid var(--line-dark); cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.slider-btn:hover:not(:disabled), .slider-btn:focus-visible { background: var(--accent); color: #fff; }
.slider-btn:disabled { opacity: 0.35; cursor: default; }

@media (min-width: 960px) {
  .js .fab-scroll.is-pinned .fab-desc { max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; transition: max-height 0.6s var(--ease-out), margin-top 0.6s var(--ease-out), opacity 0.5s var(--ease-out); }
  .js .fab-scroll.is-pinned .fab-step.is-active .fab-desc { max-height: 8rem; margin-top: 0.35rem; opacity: 1; }
}
.process--4 .step-text { max-width: none; }

/* Mega menü: Hizmetler ----------------------------------------------------------------- */
.primary-nav .has-mega.is-open > a { color: var(--bone); padding-left: 1.6rem; padding-right: 1rem; }
.primary-nav .has-mega.is-open > a::before { transform: translateY(-50%) scale(1); }
.mega {
  position: absolute; top: calc(100% + 0.5rem); left: 50%; z-index: 2; width: min(62rem, calc(100vw - 2 * var(--gutter)));
  background: var(--ink); border: 1px solid var(--line-dark); box-shadow: 0 24px 60px rgba(10, 16, 23, 0.35);
  opacity: 0; visibility: hidden; transform: translate3d(-50%, -8px, 0);
  transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -0.75rem; height: 0.75rem; }  /* imleç boşlukta kapanmasın */
.mega.is-open { opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0); transition-delay: 0s; }
.mega-inner {
  padding: 1.75rem 1.75rem 1.9rem;
  display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 2rem;
}
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.mega-head { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-lt); padding-bottom: 0.75rem; border-bottom: 1px solid var(--line-dark); }
.mega-col ul { margin-top: 0.5rem; display: grid; }
.mega-col a { position: relative; display: block; padding: 0.55rem 0 0.55rem 0; font-size: 0.9375rem; line-height: 1.35; color: rgba(236, 232, 223, 0.82); transition: color 0.25s var(--ease-out), padding 0.35s var(--ease-out); }
.mega-col a::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; background: var(--accent-lt); transform: translateY(-50%) scale(0); transition: transform 0.35s var(--ease-out); }
.mega-col a:hover, .mega-col a:focus-visible { color: #fff; padding-left: 1.1rem; }
.mega-col a:hover::before, .mega-col a:focus-visible::before { transform: translateY(-50%) scale(1); }
.mega-feature {
  position: relative; display: block; overflow: hidden; min-height: 14rem; align-self: stretch;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  background: var(--graphite);
}
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.mega-feature:hover img { transform: scale(1.05); }
.mega-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 16, 23, 0.9), rgba(10, 16, 23, 0.1) 70%); }
.mega-feature-body { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 1; display: grid; gap: 0.3rem; color: var(--bone); }
.mega-feature-body strong { font-family: var(--font-display); font-weight: 560; font-size: 1.25rem; letter-spacing: -0.015em; }
.mega-feature-body > span { font-size: 0.875rem; color: rgba(236, 232, 223, 0.8); }
.mega-more { margin-top: 0.4rem; display: inline-flex; align-items: center; gap: 0.5rem; font-style: normal; font-size: 0.8125rem; font-weight: 600; color: var(--accent-lt); }
@media (max-width: 959px) { .mega { display: none; } }
@media (min-width: 960px) and (max-width: 1180px) { .mega-inner { grid-template-columns: minmax(0, 1fr); } .mega-feature { display: none; } }

/* KVKK / çerez bildirimi */
.cookie {
  --c: 14px;
  position: fixed; left: clamp(0.75rem, 2vw, 1.5rem); bottom: clamp(0.75rem, 2vw, 1.5rem); z-index: 60;
  width: min(23rem, calc(100vw - 1.5rem)); padding: 1.25rem 1.25rem 1.1rem;
  background: var(--ink); color: var(--bone); border: 1px solid var(--line-dark);
  box-shadow: 0 18px 50px rgba(10, 16, 23, 0.35);
  opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.cookie.is-in { opacity: 1; transform: none; }
.cookie-title { font-family: var(--font-display); font-weight: 560; font-size: 1rem; letter-spacing: -0.01em; }
.cookie-text { margin-top: 0.5rem; font-size: 0.8125rem; line-height: 1.55; color: rgba(236, 232, 223, 0.78); }
.cookie-actions { margin-top: 1rem; display: flex; gap: 0.5rem; }
.cookie-btn {
  flex: 1; height: 2.5rem; font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer; color: var(--bone); background: transparent; border: 1px solid var(--line-dark);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.cookie-btn:hover, .cookie-btn:focus-visible { background: rgba(236, 232, 223, 0.12); }
.cookie-btn--yes { background: var(--accent); border-color: var(--accent); color: #fff; }
.cookie-btn--yes:hover, .cookie-btn--yes:focus-visible { background: var(--accent-lt); }
@media (prefers-reduced-motion: reduce) { .cookie { transition: none; } }

/* Sektörler: 2 sütunlu liste */
.sector-list { max-width: none; margin-top: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 700px) {
  .sector-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-list li:nth-last-child(2) { border-bottom: 1px solid var(--line-light); }
}
.sector-list li { padding-block: 1rem; font-size: 1rem; }

/* Hizmetler: seçici liste + ayrıntı paneli ------------------------------------------------ */
.sv { padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--section-y); }
.sv-list { display: grid; grid-template-columns: minmax(0, 1fr); }
.sv-group-title { display: flex; align-items: baseline; gap: 0.6rem; padding: 2.25rem 0 0.9rem; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em; color: var(--accent-ink); }
.sv-group:first-child .sv-group-title { padding-top: 0; }
.sv-group-title span { font-weight: 500; font-size: 0.8125rem; color: var(--bone-muted); font-variant-numeric: tabular-nums; }
.sv-btn {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  padding: 1.15rem 0; text-align: left; font: inherit; cursor: pointer; background: none; border: 0; border-top: 1px solid var(--line-light);
  color: rgba(14, 21, 29, 0.55); transition: color 0.3s var(--ease-out), padding 0.4s var(--ease-out);
}
.sv-name { font-family: var(--font-display); font-weight: 520; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); line-height: 1.2; letter-spacing: -0.02em; }
.sv-chev { flex: none; color: var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out); }
.sv-btn::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.sv-btn:hover { color: var(--bone-ink); }
.sv-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sv-item.is-active .sv-btn { color: var(--bone-ink); }
.sv-item.is-active .sv-btn::before { transform: scaleX(1); }
.sv-item.is-active .sv-chev, .sv-btn:hover .sv-chev { opacity: 1; transform: none; }

.sv-detail { display: none; }
.sv-item.is-active .sv-detail { display: block; animation: sv-in 0.45s var(--ease-out) both; }
@keyframes sv-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }

.sv-detail {
  --c: 22px; margin: 0.25rem 0 1.5rem; background: var(--ink); color: var(--bone);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.sv-media { margin: 0; }
.sv-media img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: var(--graphite); }
.sv-body { padding: 1.5rem 1.5rem 1.75rem; }
.sv-title { font-family: var(--font-display); font-weight: 560; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; }
.sv-text { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.65; color: rgba(236, 232, 223, 0.8); }
.sv-sub { margin-top: 1.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.03em; color: var(--accent-lt); }
.sv-scope { margin-top: 0.5rem; }
.sv-scope li { display: flex; gap: 0.75rem; padding: 0.5rem 0; border-top: 1px solid var(--line-dark); font-size: 0.875rem; line-height: 1.5; color: rgba(236, 232, 223, 0.88); }
.sv-scope li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 0.55rem; background: var(--accent-lt); }
.sv-flow { margin-top: 0.6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; counter-reset: sv; }
.sv-flow li { counter-increment: sv; display: flex; gap: 0.6rem; align-items: baseline; padding: 0.6rem 0.75rem; font-size: 0.8125rem; line-height: 1.4; border: 1px solid var(--line-dark); color: rgba(236, 232, 223, 0.88); }
.sv-flow li::before { content: counter(sv); flex: none; font-family: var(--font-display); font-weight: 600; color: var(--accent-lt); }
.sv-aud { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.6; color: rgba(236, 232, 223, 0.8); }
.sv-aud strong { color: var(--bone); font-weight: 600; }
.sv-body .btn-cta { margin-top: 1.5rem; }

@media (min-width: 960px) {
  .sv-list { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 6vw, 6rem); }
  .sv-group, .sv-btn { grid-column: 1; }
  .sv-item { display: contents; }
  .sv-detail, .sv-item.is-active .sv-detail {
    grid-column: 2; grid-row: 1 / span 15; align-self: start; margin: 0;
    position: sticky; top: calc(var(--header-h) + 1.25rem); max-height: calc(100vh - var(--header-h) - 2.5rem); overflow-y: auto; scrollbar-width: thin;
  }
  .sv-detail { display: none; }
  .sv-item.is-active .sv-detail { display: block; }
  .sv-btn { padding-inline: 0; }
  .sv-btn:hover, .sv-item.is-active .sv-btn { padding-left: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) { .sv-item.is-active .sv-detail { animation: none; } }

/* Hizmetler: kategori sekmeleri, her seferinde tek kategori görünür */
.sv-tabs { display: flex; gap: 0.5rem 2rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line-light); overflow-x: auto; scrollbar-width: none; }
.sv-tabs::-webkit-scrollbar { display: none; }
.sv-tab {
  position: relative; flex: none; display: inline-flex; align-items: baseline; gap: 0.5rem; padding: 0.9rem 0; font: inherit; font-family: var(--font-display); font-weight: 560; font-size: clamp(1rem, 0.9rem + 0.45vw, 1.2rem);
  letter-spacing: -0.01em; color: rgba(14, 21, 29, 0.5); background: none; border: 0; cursor: pointer; transition: color 0.3s var(--ease-out);
}
.sv-tab span { font-size: 0.8125rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--bone-muted); }
.sv-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }
.sv-tab:hover { color: var(--bone-ink); }
.sv-tab.is-active { color: var(--bone-ink); }
.sv-tab.is-active::after { transform: scaleX(1); }
.sv-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sv-group { display: none; }
.sv-list > .is-off { display: none !important; }
@media (min-width: 960px) { .sv-detail, .sv-item.is-active .sv-detail { grid-row: 1 / span 6; } }

/* Hizmetler paneli: sıkılaştırılmış, kutuya sığar */
.sv-detail { overflow-x: hidden; min-width: 0; }
.sv-media img { aspect-ratio: 16 / 8; }
.sv-body { padding: 1.1rem 1.35rem 1.35rem; }
.sv-title { font-size: 1.3rem; }
.sv-text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.55; }
.sv-sub { margin-top: 1rem; font-size: 0.75rem; }
.sv-scope { margin-top: 0.3rem; }
.sv-scope li { padding: 0.35rem 0; font-size: 0.8125rem; line-height: 1.4; overflow-wrap: anywhere; }
.sv-scope li::before { margin-top: 0.45rem; }
.sv-flow { margin-top: 0.45rem; gap: 0.35rem; }
.sv-flow li { min-width: 0; padding: 0.4rem 0.6rem; font-size: 0.75rem; overflow-wrap: anywhere; }
.sv-aud { margin-top: 0.9rem; font-size: 0.8125rem; line-height: 1.5; }
.sv-body .btn-cta { margin-top: 1.1rem; }
@media (min-width: 960px) and (max-height: 820px) {
  .sv-media img { aspect-ratio: 16 / 6; }
}
@media (min-width: 960px) {
  .sv-detail, .sv-item.is-active .sv-detail { max-height: calc(100vh - var(--header-h) - 1.5rem); top: calc(var(--header-h) + 0.75rem); }
}

/* Hizmetler paneli: detay sayfası linki */
.sv-link { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--accent-lt); transition: gap 0.3s var(--ease-out), color 0.3s var(--ease-out); }
.sv-link:hover, .sv-link:focus-visible { gap: 0.8rem; color: #fff; }

/* Tekil hizmet sayfası */
.sp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 960px) { .sp-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(3rem, 6vw, 6rem); } }
.sp-scope { max-width: none; margin-top: 1.75rem; }
.sp-scope li { padding-block: 1rem; font-size: 1rem; align-items: flex-start; }
.sp-scope li::before { margin-top: 0.55rem; }
.sp-aside { display: grid; gap: 0; }
@media (min-width: 960px) { .sp-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.sp-aside > div { padding: 1.25rem 0; border-top: 1px solid var(--line-light); }
.sp-aside > div:last-child { border-bottom: 1px solid var(--line-light); }
.sp-aside dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.03em; color: var(--accent-ink); }
.sp-aside dd { margin: 0.4rem 0 0; font-size: 1rem; line-height: 1.6; }
.sp-aside a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-light); transition: color 0.3s var(--ease-out); }
.sp-aside a:hover { color: var(--accent-ink); }
.sp-flow { margin-top: 2.25rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; counter-reset: sp; }
@media (min-width: 700px) { .sp-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sp-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sp-flow li { counter-increment: sp; position: relative; padding-top: 3.25rem; border-top: 1px solid var(--line-light); }
.sp-flow li::before { content: counter(sp); position: absolute; top: 0.9rem; left: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1; color: var(--accent); }
.sp-flow li::after { content: ""; position: absolute; left: 0; top: -1px; width: 2.5rem; height: 2px; background: var(--accent); }
.sp-step { font-family: var(--font-display); font-weight: 540; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.01em; }
.sp-other { margin-top: 0.5rem; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .sp-other { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4rem); } }
.sp-other a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line-light); font-family: var(--font-display); font-weight: 520; font-size: 1.25rem; letter-spacing: -0.015em; transition: color 0.3s var(--ease-out), padding 0.4s var(--ease-out); }
.sp-other li:last-child a, .sp-other li:nth-last-child(2):nth-child(odd) a { border-bottom: 1px solid var(--line-light); }
.sp-other a svg { flex: none; color: var(--accent); transition: transform 0.4s var(--ease-out); }
.sp-other a:hover { color: var(--accent-ink); padding-left: 0.5rem; }
.sp-other a:hover svg { transform: translate(3px, -3px); }

/* Hizmetler: liste öğeleri artık sayfa linki, sağ panel sade önizleme */
a.sv-btn { text-decoration: none; }
.sv-detail { display: none !important; }
.sv-media img { aspect-ratio: 4 / 3; }
.sv-body { padding: 1.5rem 1.6rem 1.75rem; }
.sv-title { font-size: 1.5rem; }
.sv-text { margin-top: 0.7rem; font-size: 0.9375rem; line-height: 1.65; }
.sv-link { margin-top: 1.25rem; }
@media (min-width: 960px) {
  .sv-item.is-active .sv-detail { display: block !important; }
  .sv-media img { aspect-ratio: 16 / 10; }
}
@media (min-width: 960px) and (max-height: 820px) { .sv-media img { aspect-ratio: 16 / 8; } }
@media (max-width: 959px) {
  .sv-btn { color: var(--bone-ink); }
  .sv-chev { opacity: 1; transform: none; }
}

/* Lightbox */
.lb-trigger { cursor: zoom-in; }
.lb-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html.lb-open { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10, 16, 23, 0.94); opacity: 0; transition: opacity 0.25s var(--ease-out);
}
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb-fig { margin: 0; max-width: min(100%, 78rem); max-height: 100%; display: grid; gap: 0.9rem; justify-items: center; }
.lb-img { display: block; max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; opacity: 0; transform: scale(0.98); transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out); }
.lb-img.is-in { opacity: 1; transform: none; }
.lb-cap { max-width: 60ch; text-align: center; font-size: 0.9375rem; line-height: 1.5; color: rgba(236, 232, 223, 0.85); }
.lb-count { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: rgba(236, 232, 223, 0.6); }
.lb-btn {
  position: absolute; z-index: 1; display: grid; place-items: center; width: 3rem; height: 3rem; color: var(--bone); background: rgba(236, 232, 223, 0.08); border: 1px solid var(--line-dark); cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.3s var(--ease-out);
}
.lb-btn:hover, .lb-btn:focus-visible { background: var(--accent); }
.lb-close { top: clamp(0.75rem, 2vw, 1.5rem); right: clamp(0.75rem, 2vw, 1.5rem); }
.lb-prev, .lb-next { top: 50%; margin-top: -1.5rem; }
.lb-prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lb-next { right: clamp(0.5rem, 2vw, 1.5rem); }
.lb.is-single .lb-prev, .lb.is-single .lb-next { display: none; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 0.75rem; margin-top: 0; } .lb-prev { left: 1rem; } .lb-next { right: 1rem; } }
@media (prefers-reduced-motion: reduce) { .lb, .lb-img { transition: none; } }

/* Preloader (yalnızca ana sayfa) */
.preloader { display: none; }
.preloading { overflow: hidden; }
.preloading .preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; color: var(--bone);
  background: rgba(10, 16, 23, 0.84); -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1);
  clip-path: inset(0 0 0 0); transition: clip-path 0.95s var(--ease-in-out);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader-inner { display: grid; justify-items: center; gap: 1.75rem; transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out); }
.preloader.is-done .preloader-inner { opacity: 0; transform: translate3d(0, -12px, 0); }
.preloader-mark { display: inline-flex; align-items: center; gap: 0.9rem; transform: scale(1.35); animation: pl-in 0.8s var(--ease-out) both; }
@keyframes pl-in { from { opacity: 0; transform: scale(1.35) translate3d(0, 10px, 0); } to { opacity: 1; transform: scale(1.35); } }
.preloader-line { display: block; width: min(15rem, 60vw); height: 2px; background: var(--line-dark); overflow: hidden; margin-top: 0.75rem; }
.preloader-line i { display: block; height: 100%; background: var(--accent-lt); transform: scaleX(0); transform-origin: 0 50%; }
/* hero animasyonları perde kalkana kadar bekler */
.preloading .hero, .preloading .hero *, .preloading .hero::before, .preloading .hero::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .preloading .preloader { display: none; } }

/* Yatay taşma önlemi: pinned intro'daki sağdan kayan görsel / büyütülmüş başlık sayfayı sağa kaydırıyordu */
.intro { overflow-x: clip; }
html, body { overflow-x: clip; max-width: 100%; }
html { overscroll-behavior-x: none; }

/* Mobil hero: sabit (perde efektiyle), büyük başlık, yan yana butonlar, kesik köşeler ------------- */
@keyframes rise-m { from { transform: translate3d(0, 112%, 0) skewY(5deg); } to { transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.16); } to { transform: scale(1); } }
@keyframes corner-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 959px) {
  /* hero ekranda sabit kalır, sonraki bölümler üzerine kayar */
  .hero { position: sticky; top: 0; z-index: 0; --cut: 64px;
    --plate: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
    --plate-from: polygon(100% 0, 100% 0, 100% 100%, 100% 100%, 100% 100%, 100% 0); }
  main > section:not(.hero), main > .cta { position: relative; z-index: 1; }

  /* kesik köşelerin kenarında ince vurgu çizgisi */
  .hero::before, .hero::after {
    content: ""; position: absolute; z-index: 2; width: var(--cut); height: var(--cut); pointer-events: none;
    background: linear-gradient(to bottom right, transparent calc(50% - 1px), var(--accent-lt) calc(50% - 1px), var(--accent-lt) calc(50% + 0.5px), transparent calc(50% + 0.5px));
    animation: corner-in 1s var(--ease-out) 1s both;
  }
  .hero::before { top: 0; left: 0; }
  .hero::after { right: 0; bottom: 0; }

  /* daha koyu overlay */
  .hero-scrim {
    background:
      linear-gradient(rgba(10, 16, 23, 0.34), rgba(10, 16, 23, 0.34)),
      linear-gradient(to top, rgba(10, 16, 23, 0.92) 0%, rgba(10, 16, 23, 0.6) 42%, rgba(10, 16, 23, 0.12) 100%),
      linear-gradient(to bottom, rgba(10, 16, 23, 0.6) 0%, rgba(10, 16, 23, 0) 22%);
  }
  .hero-media { animation: plate-wipe 1.3s var(--ease-in-out) 0.05s both; }
  .hero-img { animation: hero-zoom 2.8s var(--ease-out) both; object-position: 64% 50%; }

  /* içerik: sola yaslı, altta, büyük başlık */
  .hero-content { align-items: flex-start; justify-content: center; text-align: left; gap: 1.5rem; padding-top: calc(var(--header-h) + 0.5rem); padding-bottom: 8rem; }
  .hero-title { font-size: clamp(2.7rem, 12.2vw, 4.3rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 560; text-wrap: balance; }
  .hero-title .line { padding-bottom: 0.12em; margin-bottom: -0.12em; }
  .hero-title .line > span { animation: rise-m 1.2s var(--ease-out) calc(0.2s + var(--n, 0) * 0.16s) both; }
  .hero-lower { max-width: none; width: 100%; justify-items: start; gap: 1.25rem; }
  .hero-lede { font-size: 1.0625rem; line-height: 1.55; text-wrap: pretty; max-width: 36ch; }

  /* iki buton yan yana */
  .hero-actions { width: 100%; max-width: none; flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 0.65rem; }
  .hero-actions .btn-cta { flex: 1 1 0; min-width: 0; justify-content: center; padding-inline: 0.5rem; font-size: 0.8125rem; text-align: center; white-space: nowrap; }
  .hero-actions .btn-cta svg { display: none; }
  .hero-actions .btn-cta:nth-child(1) { animation: fade-up 0.9s var(--ease-out) 1s both; }
  .hero-actions .btn-cta:nth-child(2) { animation: fade-up 0.9s var(--ease-out) 1.12s both; }
  .hero-lower { animation: fade-up 1s var(--ease-out) 0.8s both; }
}
/* çok kısa telefonlarda sabitleme kapalı: içerik kesilmesin */
@media (max-width: 959px) and (max-height: 640px) { .hero { position: relative; } }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after, .hero-img, .hero-media { animation: none; } }

/* Hizmetler: sekmeler için kısa etiket + küçük görsel (yalnızca mobilde görünür) */
.sv-tab em { font-style: normal; }
.sv-short, .sv-thumb { display: none; }
.sv-short { font-weight: inherit; }

/* Hizmetler: mobil tasarım. 3 sütunlu segment kontrol + görselli satırlar */
@media (max-width: 959px) {
  .sv { padding-top: 1.25rem; }
  .sv-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; margin-bottom: 1.25rem; overflow: visible; border-bottom: 0; }
  .sv-tab {
    flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; padding: 0.8rem 0.25rem; text-align: center;
    color: rgba(14, 21, 29, 0.65); background: rgba(14, 21, 29, 0.06);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  }
  .sv-tab::after { display: none; }
  .sv-long { display: none; }
  .sv-short { display: block; font-family: var(--font-display); font-weight: 560; font-size: 1.0625rem; letter-spacing: -0.01em; }
  .sv-tab span { font-size: 0.75rem; }
  .sv-tab.is-active { background: var(--ink); color: #fff; }
  .sv-tab.is-active span { color: var(--accent-lt); }

  .sv-list { margin-top: 0; }
  .sv-btn { gap: 0.9rem; padding: 0.7rem 0; }
  .sv-btn::before { display: none; }
  .sv-thumb {
    display: block; flex: none; width: 4.5rem; height: 4.5rem; object-fit: cover; background: var(--graphite);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  }
  .sv-name { flex: 1; font-size: 1.125rem; line-height: 1.25; }
  .sv-chev { color: var(--accent); }
}
