@font-face {
  font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(../../fonts/rubik-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(../../fonts/rubik-latin.woff2) format("woff2");
  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;
}

:root {
  --paper: #F3F3EF;
  --paper-rgb: 243 243 239;
  --ink: #222222;
  --body: #3A3F42;
  --soft: #646C72;
  --line: #CFD1CC;
  --red: #E5194A;
  --red-ink: #B60F39;
  --sun: #F5C33B;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4.2vw, 64px);
  --col: min(35rem, 43vw);
  --top-h: 76px;
}

* { box-sizing: border-box; }
html { background: var(--paper); scrollbar-color: #B4B8B4 var(--paper); -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
html.menu-open { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink); overflow-x: clip;
  font-family: "Rubik", -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.6;
}
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; text-decoration-color: var(--line); transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--red-ink); text-decoration-color: currentColor; }

.skip {
  position: fixed; z-index: 90; left: var(--gutter); top: 10px; padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; color: #fff; }

/* Sahne */
.stage { position: fixed; inset: 0; z-index: 0; background: var(--paper); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0, var(--paper) calc(var(--gutter) + var(--col) + 8px), rgb(var(--paper-rgb) / 0) calc(var(--gutter) + var(--col) + 15vw));
}
.tags { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.tag {
  position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; transition: opacity .35s;
  font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap; color: var(--ink);
  padding: 6px 10px; border-radius: 999px; background: rgb(255 255 255 / .92);
  box-shadow: 0 3px 10px rgb(40 40 30 / .14);
}
.rail { position: fixed; z-index: 3; right: 18px; top: 28vh; bottom: 28vh; width: 2px; background: var(--line); border-radius: 2px; pointer-events: none; --prog: 0; }
.rail i {
  position: absolute; left: -5px; top: calc(var(--prog) * 100%); width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--red); box-shadow: 0 2px 5px rgb(120 10 40 / .35);
}

/* WebGL ya da JS yoksa sahnenin hazır karesi */
html.no-gl .stage, html:not(.js) .stage { background-repeat: no-repeat; background-size: cover; background-position: center right; }
html.no-gl .stage canvas, html:not(.js) .stage canvas { display: none; }
html.no-gl body[data-scene="about"] .stage, html:not(.js) body[data-scene="about"] .stage { background-image: url(../img/poster-about.jpg); }
html.no-gl body[data-scene="dev"] .stage, html:not(.js) body[data-scene="dev"] .stage { background-image: url(../img/poster-dev.jpg); }
html.no-gl body[data-scene="e2e"] .stage, html:not(.js) body[data-scene="e2e"] .stage { background-image: url(../img/poster-e2e.jpg); }
html.no-gl body[data-scene="salt"] .stage, html:not(.js) body[data-scene="salt"] .stage { background-image: url(../img/poster-e2e.jpg); }
html.no-gl body[data-scene="resolve"] .stage, html:not(.js) body[data-scene="resolve"] .stage { background-image: url(../img/poster-resolve.jpg); }
html.no-gl body[data-scene="refs"] .stage, html:not(.js) body[data-scene="refs"] .stage { background-image: url(../img/poster-refs.jpg); }
html.no-gl body[data-scene="ref"] .stage, html:not(.js) body[data-scene="ref"] .stage { background-image: url(../img/poster-ref.jpg); }
html.no-gl body[data-scene="contact"] .stage, html:not(.js) body[data-scene="contact"] .stage { background-image: url(../img/poster-contact.jpg); }
html.no-gl .rail, html:not(.js) .rail, html:not(.js) .top-burger { display: none; }

/* Üst çubuk */
.top {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--top-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  transition: background-color .25s, box-shadow .25s;
}
.top.is-stuck { background: rgb(var(--paper-rgb) / .9); box-shadow: 0 1px 0 rgb(34 34 34 / .07); }
html.menu-open .top { background: transparent; box-shadow: none; }
.top-logo { display: block; }
.top-logo img { display: block; width: clamp(112px, 11vw, 168px); height: auto; }
.top-burger {
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s;
}
.top-burger:hover { background: rgb(34 34 34 / .08); }
.top-burger path { fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; transform-origin: 12px 12px; transition: transform .3s var(--ease), opacity .2s; }
html.menu-open .top-burger .b1 { transform: translateY(5.5px) rotate(45deg); }
html.menu-open .top-burger .b2 { opacity: 0; }
html.menu-open .top-burger .b3 { transform: translateY(-5.5px) rotate(-45deg); }

/* Menü */
.menu {
  position: fixed; inset: 0; z-index: 40; display: grid; align-content: center; gap: 2rem; overflow-y: auto;
  padding: 96px var(--gutter) 40px; background: rgb(var(--paper-rgb) / .97);
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: .55rem; justify-items: start; }
.menu nav a {
  display: flex; align-items: baseline; gap: .6em;
  font-size: clamp(1.35rem, 2.8vw, 2.25rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15;
  color: var(--ink); text-decoration: none; transition: color .2s;
}
.menu nav a .ml { display: block; }
.menu nav a .ml .tr-en { display: block; margin-top: .05em; font-size: .42em; font-weight: 500; letter-spacing: 0; line-height: 1.2; color: var(--soft); opacity: 1; }
.menu nav a .mn { min-width: 1.6em; font-size: .42em; font-weight: 600; letter-spacing: .06em; color: var(--red); font-variant-numeric: tabular-nums; transform: translateY(-.35em); }
.menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--red); }
.menu-foot { margin: 0; font-size: .875rem; color: var(--soft); }

/* İçerik sütunu */
main { position: relative; z-index: 2; }
.block {
  width: var(--col); margin-left: var(--gutter); min-height: 88svh; padding: 11svh 0;
  display: flex; flex-direction: column; justify-content: center;
}
.block.lead { min-height: 100svh; padding-top: calc(var(--top-h) + 4svh); }
/* Referans detay: proje künyesi, açıklama ve konum/video kartı arasında yalnız kısa bir boşluk */
body[data-scene="ref"] .block:not(.lead) { min-height: 0; padding: 0; margin-top: 1.75rem; }
body[data-scene="ref"] .block.lead { min-height: 0; padding-bottom: 1.5rem; }
body[data-scene="ref"] .block.lead + .block { margin-top: 0; }
body[data-scene="ref"] main > .block:last-child { padding-bottom: 16svh; }
.block > :first-child { margin-top: 0; }
h1 b, h1 strong, h2 b, h2 strong, .caps b, .caps strong { font-weight: inherit; }
h1 { margin: .35rem 0 0; font-size: clamp(2.5rem, 4.6vw, 4.5rem); line-height: 1.03; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
h2 { margin: 0; font-size: clamp(1.75rem, 2.9vw, 2.75rem); line-height: 1.08; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.block p, .block li { color: var(--body); font-size: clamp(1rem, 1.14vw, 1.0625rem); line-height: 1.64; text-wrap: pretty; }
.block p { margin: 1rem 0 0; max-width: 64ch; }
.block p.big { font-size: clamp(1.25rem, 1.75vw, 1.625rem); line-height: 1.36; color: var(--ink); letter-spacing: -.01em; }
.block ul { margin: 1rem 0 0; padding-left: 1.15rem; max-width: 64ch; }
.block li { margin-top: .45rem; }
.block li::marker { color: var(--red); }
.block p.caps { font-weight: 600; color: var(--ink); margin-top: .75rem; letter-spacing: .01em; }
.en h2 { color: var(--ink); }
/* Türkçe metnin hemen altında İngilizcesi: başlıklarda %50 küçük; metinlerde %30 küçük ve %30 daha mat */
.h-en { margin: .35rem 0 0 !important; font-weight: 500; color: var(--soft) !important; letter-spacing: -.01em; line-height: 1.15; }
.h1-en { font-size: calc(clamp(2.5rem, 4.6vw, 4.5rem) * .5) !important; }
.h2-en { font-size: calc(clamp(1.75rem, 2.9vw, 2.75rem) * .5) !important; }
.tr-en { display: block; margin-top: .55em !important; font-size: .7em !important; opacity: .7; }
.block p.tr-en { font-size: calc(clamp(1rem, 1.14vw, 1.0625rem) * .7) !important; }
.beat:has(.tr-en) { flex-direction: column; justify-content: center; align-items: flex-start; }
.en p { color: var(--soft); }
.en p.big { color: var(--body); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .5rem; padding: 0; list-style: none; font-size: .875rem; color: var(--soft); }
.crumbs li { margin: 0; font-size: .875rem; color: var(--soft); }
.crumbs a { text-decoration: none; }

/* Uzun cümlenin sahneyle eşlenen parçaları: tek paragraf, kelimeler değişmez */
.block .beats { margin: 0; max-width: none; }
.beat {
  display: flex; align-items: center; min-height: 72svh; padding: 8svh 0; color: var(--ink);
  font-size: clamp(1.125rem, 1.5vw, 1.4rem); line-height: 1.42; letter-spacing: -.006em;
}
.beat, .step, .block { transition: opacity .4s; }

.tall { min-height: 340svh; justify-content: flex-start; padding: 0; }
.tall p { position: sticky; top: 30svh; margin: 0; font-size: clamp(1.125rem, 1.5vw, 1.4rem); line-height: 1.42; color: var(--ink); }
.beat-in { background: linear-gradient(var(--sun), var(--sun)) 0 92% / 0 .42em no-repeat; transition: background-size .5s var(--ease); }
.beat-in.is-on { background-size: 100% .42em; }

/* İş geliştirme ve uçtan uca adımları */
.step { align-items: flex-start; }
.pin {
  position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 1.1rem;
  border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--ink);
  box-shadow: 4px -4px 14px rgb(30 30 20 / .16); transition: background-color .35s;
}
.pin > span { rotate: 45deg; width: 74px; text-align: center; color: #fff; font-size: 11.5px; line-height: 1.16; font-weight: 500; }
.step.is-on .pin { background: var(--red-ink); }
.pin-tri { width: auto; height: auto; rotate: none; border-radius: 999px; padding: .28rem .85rem; margin-bottom: .9rem; box-shadow: none; }
.pin-tri > span { rotate: none; width: auto; font-size: .875rem; }
.block p.cert { margin-top: .9rem; align-self: flex-start; padding: .35rem .8rem; border: 1px solid var(--ink); font-weight: 500; color: var(--ink); font-size: .9375rem; }

/* Vizyon, misyon, slogan */
.triad { list-style: none; padding: 0; margin: 0; }
.block .triad { padding: 0; }
.triad li { margin: 0; padding: .75rem 0; border-top: 1px solid var(--line); font-size: clamp(1.125rem, 1.6vw, 1.5rem); line-height: 1.28; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.triad li:last-child { border-bottom: 1px solid var(--line); }
.en .triad { margin-top: 1.5rem; }
.en .triad li { color: var(--body); }

/* Referans listesi */
.refs { min-height: 0; padding: 0 0 18svh; }
.ref-list { list-style: none; margin: 0; padding: 0; }
.block .ref-list { padding: 0; max-width: none; }
.ref { margin: 0; border-top: 1px solid var(--line); transition: background-color .3s; }
.block li.ref { margin: 0; }
.ref:last-child { border-bottom: 1px solid var(--line); }
.ref a { display: grid; grid-template-columns: 124px 1fr; gap: 1.1rem; align-items: center; padding: .85rem .5rem; text-decoration: none; color: var(--ink); }
.ref img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.ref-t { display: grid; gap: .1rem; min-width: 0; }
.ref-t b { font-weight: 500; line-height: 1.25; font-size: 1.0625rem; }
.ref-l { color: var(--ink); font-size: .9375rem; line-height: 1.3; }
.ref-p { color: var(--soft); font-size: .9375rem; line-height: 1.3; }
.ref.is-on { background: rgb(245 195 59 / .2); }
.ref a:hover b { color: var(--red-ink); }

/* Tablo */
.table-wrap { overflow-x: auto; margin-top: 1.25rem; }
.table-wrap:first-child { margin-top: 0; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
th { text-align: left; font-weight: 500; color: var(--ink); padding: .55rem .9rem .55rem 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
td { padding: .5rem .9rem .5rem 0; border-bottom: 1px solid var(--line); color: var(--body); line-height: 1.35; vertical-align: top; }
.block table p { margin: 0; font-size: inherit; }

/* Harita, video */
.media { margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #E7E8E3; }
.media:first-child { margin-top: 0; }
.media iframe { display: block; width: 100%; height: min(58svh, 460px); border: 0; }
.media-video iframe { height: auto; aspect-ratio: 16 / 9; }

/* İletişim */
address { font-style: normal; }
.block address p { margin-top: .5rem; }
.block p.co { font-size: clamp(1.25rem, 1.75vw, 1.625rem); font-weight: 600; color: var(--ink); letter-spacing: -.01em; margin-top: 0; }
.block p.who { margin-top: 1.25rem; color: var(--ink); }
.block p.who b { font-weight: 600; }
.card-qr { display: flex; align-items: flex-end; gap: 1rem; margin-top: 1.5rem; }
.card-qr img { width: 168px; height: 168px; }
.link-red { color: var(--red-ink); font-weight: 500; text-decoration-color: currentColor; }

.form { display: grid; gap: 1rem; }
.field label { display: block; margin-bottom: .3rem; font-size: .9375rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
  display: block; width: 100%; padding: .7rem .85rem; font: inherit; font-size: 1rem; color: var(--ink); caret-color: var(--red);
  background: #fff; border: 1px solid #9DA29F; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.field [aria-invalid="true"] { border-color: var(--red-ink); }
.block p.field-err { margin: .3rem 0 0; font-size: .875rem; line-height: 1.3; color: var(--red-ink); }
.block p.form-note { margin: 0; color: var(--ink); padding: .7rem .85rem; border: 1px solid var(--ink); border-radius: 10px; font-size: .9375rem; line-height: 1.4; }

.cta {
  display: inline-flex; align-items: center; gap: .55rem; justify-self: start; align-self: flex-start; min-height: 46px; padding: 0 1.25rem;
  border: 0; border-radius: 999px; background: var(--red); color: #fff; font: inherit; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .2s;
}
.cta svg { transition: transform .3s var(--ease); }
.cta:hover { background: var(--red-ink); color: #fff; }
.cta:hover svg { transform: translateX(3px); }
.block p.doc-name { margin: 0 0 1rem; font-size: clamp(1.25rem, 1.75vw, 1.625rem); line-height: 1.3; color: var(--ink); }

/* Ana sayfa alt bölümleri (slider.css de yüklü) */
.home-refs { position: relative; z-index: 3; width: var(--col); margin-left: var(--gutter); padding: calc(var(--top-h) + 3svh) 0 8svh; scroll-margin-top: 0; }
.logos { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logos a { display: block; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #F6F6F6; box-shadow: 0 2px 6px -3px rgb(30 30 20 / .18); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.logos a:hover, .logos a:focus-visible { transform: translateY(-3px); border-color: var(--sun); box-shadow: 0 10px 18px -10px rgb(30 30 20 / .3); }
.logos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; filter: grayscale(1); transition: filter .35s; }
.logos a:hover img, .logos a:focus-visible img { filter: none; }

/* Referans alanı: tıklanınca döner, arka yüzde detay açılır (boot.js) */
.ref-flip { perspective: 1800px; margin-bottom: 1.75rem; scroll-margin-top: calc(var(--top-h) + 12px); }
.ref-flip .logos { margin-bottom: 0; backface-visibility: hidden; }
.ref-flip-in { position: relative; transform-style: preserve-3d; transition: transform .8s var(--ease), height .6s var(--ease); }
.ref-flip.is-flip .ref-flip-in { transform: rotateY(180deg); }
.ref-back { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 18px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 18px 40px -22px rgb(30 30 20 / .4); backface-visibility: hidden; transform: rotateY(180deg); }
.ref-back-head { position: sticky; top: -14px; z-index: 1; margin: -14px -18px 0; padding: 10px 18px; background: var(--paper); }
.ref-back-close { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 .75rem 0 .55rem; border: 1px solid var(--line); border-radius: 999px; background: none; font: inherit; font-size: .875rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: background-color .2s; }
.ref-back-close:hover { background: rgb(34 34 34 / .08); }
.ref-back-title { margin: .5rem 0 0; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.ref-back-body { margin-top: .75rem; }
.ref-back-body p { margin: .75rem 0 0; font-size: 1rem; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.ref-back-body table p { margin: 0; font-size: inherit; }
.ref-back-body img { max-width: 100%; height: auto; }
.ref-back-body .media iframe { height: 260px; }
.ref-back-body .media-video iframe { height: auto; }
@media (max-width: 760px) {
  .logos { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .logos a { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ref-flip-in { transition: none; }
  .logos a, .logos img { transition: none; }
}
.foot { position: relative; z-index: 3; width: var(--col); margin-left: var(--gutter); padding: 6svh 0 12svh; border-top: 1px solid var(--line); }
.foot p { margin: 0 0 1.1rem; font-size: 1rem; color: var(--body); line-height: 1.6; }
.foot-text { text-decoration: none; color: var(--body); display: block; text-wrap: pretty; }

@media (max-width: 760px) {
  :root { --col: auto; --top-h: 64px; }
  .veil, .rail { display: none; }
  .top { background: rgb(var(--paper-rgb) / .9); }
  .block, .home-refs, .foot { width: auto; margin: 44svh var(--gutter) 0; min-height: 0; padding: 18px 16px; background: rgb(var(--paper-rgb) / .95); border-radius: 14px; box-shadow: 0 6px 22px rgb(30 30 20 / .1); }
  .block.lead { min-height: 0; padding-top: 18px; margin-top: 46svh; }
  .block:has(> .beats), .block.refs { background: none; box-shadow: none; padding: 0; }
  .beat { display: block; min-height: 0; margin-top: 44svh; padding: 18px 16px; background: rgb(var(--paper-rgb) / .95); border-radius: 14px; box-shadow: 0 6px 22px rgb(30 30 20 / .1); font-size: 1.0625rem; }
  .block:has(> .beats) { margin-top: 0; }
  h1 { font-size: clamp(2.15rem, 10vw, 2.75rem); }
  .tall { min-height: 300svh; background: none; box-shadow: none; padding: 0; margin-top: 40svh; }
  .tall p { top: 52svh; padding: 18px 16px; background: rgb(var(--paper-rgb) / .95); border-radius: 14px; box-shadow: 0 6px 22px rgb(30 30 20 / .1); font-size: 1.0625rem; }
  .ref { background: rgb(var(--paper-rgb) / .95); border: 0; border-radius: 12px; margin-top: 8px; box-shadow: 0 4px 14px rgb(30 30 20 / .08); }
  .block li.ref { margin-top: 8px; }
  .ref:last-child { border: 0; }
  .ref:nth-child(5n + 1) { margin-top: 38svh; }
  .block li.ref:nth-child(5n + 1) { margin-top: 38svh; }
  .ref a { grid-template-columns: 84px 1fr; gap: .75rem; padding: .6rem .7rem; }
  .refs { padding-bottom: 30svh; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .home-refs { margin-top: 44svh; padding-top: 16px; }
  .foot { margin-top: 12px; margin-bottom: 30svh; border-top: 0; }
  .card-qr img { width: 132px; height: 132px; }
  .media iframe { height: 52svh; }
  .tag { font-size: 12px; padding: 5px 8px; }
  .pin { width: 80px; height: 80px; }
  .pin > span { width: 64px; font-size: 10.5px; }
  .pin-tri { width: auto; height: auto; }
  .pin-tri > span { width: auto; font-size: .875rem; }
  main { padding-bottom: 42svh; }
  main.home { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* JS yokken slayt metinleri alt alta okunur */
html:not(.js) .rs { height: auto; position: static; overflow: visible; }
html:not(.js) .rs-slides { position: static; width: var(--col); padding: 120px 0 0 var(--gutter); display: block; }
html:not(.js) .rs-slide { visibility: visible; margin-bottom: 2.5rem; }
html:not(.js) .rs-title span { transform: none; }
html:not(.js) .rs-en, html:not(.js) .rs-body, html:not(.js) .rs-cta { opacity: 1; transform: none; }
html:not(.js) .rs-bar, html:not(.js) .rs-canvas, html:not(.js) .rs-veil { display: none; }

/* İngilizce: etiket, buton ve bağlantı içinde satır içi */
.field label .tr-en, .cta .tr-en, footer a .tr-en { display: inline; margin: 0 0 0 .45em !important; }
.cta .tr-en { opacity: .8; }
.block p.big.tr-en { font-size: calc(clamp(1.25rem, 1.75vw, 1.625rem) * .7) !important; color: var(--body); }

/* Paydaş Yönetimi: sabit paragrafın kaydırma mesafesi %25 kısaltıldı (340→255svh, mobil 300→225svh) */
body[data-scene="resolve"] .tall { min-height: 255svh; }
@media (max-width: 760px) { body[data-scene="resolve"] .tall { min-height: 225svh; } }

/* ---------- Dil: TR / ENG ----------
   boot.js Türkçe-İngilizce çiftlerini [data-l] ile işaretler; seçili olmayan dil gizlenir. */
html:not(.lang-en) [data-l="en"], html.lang-en [data-l="tr"] { display: none !important; }
html:not(.lang-en) .rs-en, html:not(.lang-en) .rs-body-en, html:not(.lang-en) .tr-en, html:not(.lang-en) .h-en { display: none !important; }
.block.en[hidden] { display: none !important; }
.beat-in-en { background: linear-gradient(var(--sun), var(--sun)) 0 92% / 0 .42em no-repeat; transition: background-size .5s var(--ease); }
.beat-in-en.is-on { background-size: 100% .42em; }
.top-tools { display: flex; align-items: center; gap: .35rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .45rem; height: 34px; padding: 0 .8rem; border: 1px solid rgb(34 34 34 / .16);
  border-radius: 999px; background: rgb(var(--paper-rgb) / .7); color: var(--soft); font-family: inherit; font-size: .8125rem; font-weight: 500; line-height: 1;
  letter-spacing: .04em; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.lang-switch:hover { border-color: var(--red); background: rgb(var(--paper-rgb) / .95); }
.lang-switch:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.lang-switch .ls-o { transition: color .2s; }
.lang-switch .ls-o.is-on { color: var(--red-ink); font-weight: 600; }   /* küçük yazıda okunabilirlik: koyu kırmızı (kontrast 7:1) */
.lang-switch .ls-sep { width: 1px; height: 12px; background: rgb(34 34 34 / .25); }
html.menu-open .lang-switch { background: transparent; }

/* Menü: numarasız alt bağlantı (KVKK) — İletişim'in altında, küçük */
.menu nav a.menu-sub { font-size: clamp(.95rem, 1.3vw, 1.125rem); font-weight: 500; color: var(--soft); margin-top: -.15rem; padding-left: calc(clamp(1.35rem, 2.8vw, 2.25rem) * 1.272); }
.menu nav a.menu-sub .ml .tr-en { font-size: .8em; }
.menu nav a.menu-sub:hover, .menu nav a.menu-sub[aria-current="page"] { color: var(--red); }

/* İş Geliştirme giriş metinleri: adım balonu (pin) metnin üstünde */
.beat:has(.pin-beat) { flex-direction: column; justify-content: center; align-items: flex-start; }
.beat .pin-beat { flex: none; }
.beat.is-on .pin-beat { background: var(--red-ink); }

/* Paydaş Yönetimi: kayan metinde iki madde */
.tall p .ti { display: block; }
.tall p .ti + .ti { margin-top: .9em; }

/* İletişim: kartvizit ve adres arasındaki boşluklar kısaltıldı */
body[data-scene="contact"] .block.lead { min-height: 0; padding-bottom: 1.5rem; }
body[data-scene="contact"] .block:not(.lead) { min-height: 0; padding: 0; margin-top: 1.75rem; }
body[data-scene="contact"] .block.lead + .block { margin-top: 0; }
body[data-scene="contact"] main > .block:last-child { padding-bottom: 16svh; }

/* KVKK: yasal bildirim; 3B sahne yok, metin okunur genişlikte ve aralıkları sıkı */
body[data-scene="kvkk"] .block { width: auto; max-width: 46rem; min-height: 0; padding: 0; margin-top: 1.75rem; }
body[data-scene="kvkk"] .block.lead { margin-top: 0; padding-top: calc(var(--top-h) + 4svh); }
body[data-scene="kvkk"] main > .block:last-child { padding-bottom: 12svh; }
body[data-scene="kvkk"] .rail { display: none; }
@media (max-width: 760px) {
  body[data-scene="kvkk"] .block, body[data-scene="kvkk"] .block.lead { background: none; box-shadow: none; border-radius: 0; padding: 0; margin-left: var(--gutter); margin-right: var(--gutter); }
  body[data-scene="kvkk"] .block.lead { padding-top: calc(var(--top-h) + 3svh); }
}

/* İlerleme çubuğu denetimleri (alt sayfalar): üstte durdur/oynat, altta önceki/sonraki */
.tour-ctl { position: fixed; z-index: 6; display: flex; gap: 4px; right: calc(4px + env(safe-area-inset-right, 0px)); }
.tour-ctl-top { top: calc(28vh - 42px); }
.tour-ctl-bot { bottom: calc(28vh - 42px); }
.tc-btn { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgb(var(--paper-rgb) / .92); color: var(--red); cursor: pointer; box-shadow: 0 2px 8px rgb(30 30 20 / .1); transition: background-color .2s, color .2s; }
.tc-btn:hover, .tc-btn:focus-visible { background: var(--red); color: #fff; border-color: var(--red); outline: none; }
.tc-play.is-paused { background: var(--red); color: #fff; border-color: var(--red); }
.tc-dir { background: transparent; border-color: transparent; box-shadow: none; }   /* önceki / sonraki: şeffaf zemin, yalnız kırmızı ok */
.tc-dir:hover, .tc-dir:focus-visible { background: transparent; color: var(--red-ink); border-color: var(--red); }
@media (max-width: 760px) {
  /* Telefonda metin kartları alt yarıda: çubuk ve düğmeler üstteki 3B alanda */
  .rail { display: block; right: 18px; top: calc(var(--top-h) + 56px); bottom: 62svh; }
  .tour-ctl-top { top: calc(var(--top-h) + 14px); }
  .tour-ctl-bot { bottom: calc(62svh - 42px); }
}

/* Alt sayfa adı (sol alt): Ratel kırmızısı, 18 px, normal kalınlık */
.page-flag { position: fixed; z-index: 5; left: calc(var(--gutter) + env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); max-width: calc(100vw - 2 * var(--gutter) - 48px);
  padding: 4px 12px 5px 0; font-size: 18px; font-weight: 400; line-height: 1.2; letter-spacing: .01em; color: var(--red); pointer-events: none;
  background: transparent; }   /* metin arkası şeffaf */
.page-flag .mn, .page-flag [data-l="en"]:not(:only-child) { font-size: inherit; }
.page-flag .tr-en { display: none; }
html.menu-open .page-flag { visibility: hidden; }
@media (max-width: 760px) {
  .page-flag { bottom: auto; top: calc(var(--top-h) + 8px + env(safe-area-inset-top, 0px)); padding: 4px 12px 5px 0; background: transparent; box-shadow: none; }
}

/* Referanslarımız: başlık ile referans kartları arasında yalnız kısa boşluk */
body[data-scene="refs"] .block.lead { min-height: 0; padding-bottom: 1.25rem; }
body[data-scene="refs"] .block.lead + .block { margin-top: 0; padding-top: 0; }
@media (max-width: 760px) { body[data-scene="refs"] .block.lead + .block { margin-top: 1rem; } }

/* Arama motorları ve ekran okuyucular için görünmez metin (ana sayfa h1) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* İletişim formu: bot tuzağı (görünmez) ve KVKK bağlantısı */
.form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-kvkk { margin-top: .75rem; font-size: .85rem; }
.form-kvkk a { color: var(--soft); }
html.no-gl body[data-scene="ges"] .stage, html:not(.js) body[data-scene="ges"] .stage { background-image: url(../img/poster-e2e.jpg); }
html.no-gl body[data-scene="enh"] .stage, html:not(.js) body[data-scene="enh"] .stage { background-image: url(../img/poster-ref.jpg); }
/* Güvenlik sorusu (CAPTCHA): Gönder düğmesinin altında */
.form .captcha { margin-top: 1rem; max-width: 16rem; }
.form .captcha b { font-weight: 600; color: var(--ink); letter-spacing: .04em; }

/* Mobil düzen: önceki/sonraki okları kartların ve form alanlarının üstüne binmesin diye sağ üstte,
   oynat düğmesinin altında dikey durur; sayfa adı 3B etiketleriyle ve kayan içerikle karışmasın diye mobilde zeminlidir. */
@media (max-width: 760px) {
  .tour-ctl-bot { bottom: auto; top: calc(var(--top-h) + 50px); flex-direction: column; gap: 2px; }
  .rail { top: calc(var(--top-h) + 124px); bottom: 64svh; }
  .page-flag { padding: 4px 12px 5px; border-radius: 999px; background: rgb(var(--paper-rgb) / .94); box-shadow: 0 2px 10px rgb(30 30 20 / .08); left: calc(var(--gutter) - 12px + env(safe-area-inset-left, 0px)); }
}

/* Sayfa adı: küçük yazıda okunabilirlik için koyu Ratel kırmızısı (#B60F39) */
.page-flag { color: var(--red-ink); }
/* Masaüstünde sayfa adı sağ altta durur (telefonda üstte, solda kalır: sağda tur düğmeleri var) */
@media (min-width: 761px) {
  .page-flag { left: auto; right: calc(var(--gutter) + env(safe-area-inset-right, 0px)); padding: 4px 0 5px 12px; text-align: right; }
}
/* İş Geliştirme: başlık altındaki giriş paragrafı uzun; telefonda ekrana sığması için bir kademe küçük */
@media (max-width: 760px) { body[data-scene="dev"] .block.lead > p:not(.h-en) { font-size: .9375rem; line-height: 1.42; } }
/* Uçtan Uca Çözümler: "stratejik avantajlar" — kısa başlık + tek cümlelik beş blok, art arda */
.block h3 { margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.14; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.block.adv { min-height: 62svh; padding: 7svh 0; }
/* Son adım da ekranın ortasına gelebilsin: altında, ortalamaya yetecek kadar kaydırma payı (tur adımları ortalar, boot.js stopY) */
@media (min-width: 761px) {
  main > .block.step:not(.adv):last-child { padding-bottom: 24svh; }
  main > .block.adv:last-child { padding-top: 24svh; }   /* son avantaj ortalanınca bir önceki, başlığın altında görünmesin */
}
main > .block.adv:last-child { padding-bottom: 42svh; }   /* son avantaj da durak çizgisine (ekranın %30'u) ulaşabilsin */
/* Uçtan Uca ve Şalt: adım paragrafları uzun; telefonda ekrana sığması için bir kademe küçük */
@media (max-width: 760px) { body[data-scene="e2e"] .block.step:not(.adv) > p:not(.h-en), body[data-scene="salt"] .block.step > p:not(.h-en) { font-size: .9rem; line-height: 1.5; } }
/* Referanslarımız: sayfa başlıkla (Türkiye görünümü) açılsın diye başlık bölümü ekranın %40'ını kaplar; liste onun altında başlar */
@media (min-width: 761px) { body[data-scene="refs"] .block.lead { min-height: 40svh; justify-content: flex-end; } }
/* Referanslarımız haritası: sarı sütuna tıklanınca açılan il / tür balonu (ana sayfadaki .rs-pop ile aynı görünüm) */
.map-pop {
  position: fixed; z-index: 4; left: 0; top: 0; max-width: 240px; opacity: 0; pointer-events: none;
  padding: 8px 12px 9px; border-radius: 12px; background: var(--ink); color: #fff; text-align: center;
  box-shadow: 0 8px 22px rgb(30 30 20 / .22); transition: opacity .2s;
}
.map-pop.is-on { opacity: 1; }
.map-pop b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; }
.map-pop span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.3; color: #F5C33B; white-space: nowrap; }
.map-pop::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: var(--ink); rotate: 45deg; }
