/* Civeron slide compositions — deterministic canvas layout.

   Slide content lives inside .slide__canvas, which is locked to 16:9 and sized
   to fit the window. Every length inside is authored in cqw (1% of canvas
   width), so the composition is mathematically similar at every window size —
   only the multiplier changes. At the 1600px reference canvas, 1cqw = 16px.

   Composition: text sits directly on the scene in the left half, over a soft
   scrim; the building owns the right half. Frosted .card surfaces are reserved
   for artifacts (a finding, the live tool, the map, the form) — main.js hands
   their rects to the scene, which blurs what is behind them on the GPU.

   This file owns slide layout. styles.css owns the shell (header, sidebar,
   scene layer, viewport/track, dots, statusbar) and must define none of these
   selectors — `node _diag/verify.mjs --overlap` enforces that. */

/* ---------- canvas ---------- */

:root {
  font-variant-numeric: tabular-nums;
  /* Beyond this the canvas stops growing and centres, so type does not inflate
     on very large displays. 2560px is full-bleed on a 27" 1440p monitor. */
  --canvas-max: 2560px;
  --rule: rgba(214, 210, 207, 0.16);
  --rule-soft: rgba(214, 210, 207, 0.12);
  --ink-bright: #ebe8e5;
  --ink-dim: rgba(235, 232, 229, 0.7);
  --ink-faint: rgba(235, 232, 229, 0.62);
  --frame-x: 4.5cqw;
  --hair: 0.0625cqw;
  /* Hareket ölçeği: press 100 · renk 160 · küçük 220 · hareket 320 · yerleşim 520 · sahne 640; adım 70, öğeler 120'de başlar. */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-press: 100ms; --t-color: 160ms; --t-small: 220ms; --t-move: 320ms; --t-layout: 520ms; --t-stage: 640ms;
  --stagger: 70ms; --lead: 120ms;
  --shadow-text: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 22px rgba(0, 0, 0, 0.72);
}

/* Okuma perdesi: sol yarı koyulaşır, bina tarafı açık kalır. Alt kenar hafif koyu (liste ve notlar). */
.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.84) 0%, rgba(9, 9, 11, 0.72) 38%, rgba(9, 9, 11, 0.32) 56%, rgba(9, 9, 11, 0) 70%),
    linear-gradient(0deg, rgba(9, 9, 11, 0.36) 0%, rgba(9, 9, 11, 0) 24%);
}

.slide__scroll {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.slide__canvas {
  position: relative;
  width: min(100vw, calc(100dvh * 16 / 9), var(--canvas-max));
  height: min(100dvh, calc(100vw * 9 / 16), calc(var(--canvas-max) * 9 / 16));
  container-type: size;
}

/* ---------- the 12x8 field ---------- */

.edge-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  /* Scale the inherited base size too, so line boxes and em units follow the canvas. */
  font-size: 1cqw;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  gap: 0;
  padding: 7cqw var(--frame-x) 6cqw;
  align-items: start;
}

.edge-frame > * {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
}

/* ---------- type ---------- */

/* Bölüm etiketi: turuncu sekme + numara + ad; üst çubuktaki "03 / 09" sayacıyla aynı numara. */
.eyebrow {
  display: flex; align-items: center; gap: 0.7cqw;
  margin: 0 0 1.4cqw;
  font: 600 max(0.8cqw, 11px)/1 Manrope, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-bright);
  text-shadow: var(--shadow-text);
}
.eyebrow::before { content: ""; flex: 0 0 auto; width: 0.3cqw; height: 1cqw; background: var(--accent); }
.eyebrow b { font-weight: 600; letter-spacing: 0.06em; color: var(--accent); }

.edge-title {
  margin: 0;
  max-width: 17ch;
  font-size: 3.5cqw;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.02;
  color: var(--ink-bright);
  text-wrap: balance;
  text-shadow: var(--shadow-text);
  /* Sıkı satır aralığında harf kuyrukları (ç, ş, y) satır kutusundan taşar: kutu onları içersin */
  padding-bottom: 0.15em;
}
.edge-title--hero { position: relative; width: fit-content; max-width: 13ch; font-size: 5cqw; letter-spacing: -0.03em; line-height: 0.98; }
/* Açılışta başlığın altından bir kez geçen tarama çizgisi (ürünün tarama anının küçük bir yankısı) */
.edge-title--hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.08em; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 90, 0, 0), var(--accent) 45%, var(--accent));
  transform-origin: left; opacity: 0;
}

.edge-lead {
  margin: 0.9cqw 0 0;
  max-width: 46ch;
  font-size: max(1.08cqw, 13px);
  line-height: 1.6;
  color: rgba(235, 232, 229, 0.8);
  text-wrap: pretty;
  text-shadow: var(--shadow-text);
}

.note {
  margin: 0;
  font: 500 max(0.7cqw, 11px)/1.5 Manrope, sans-serif;
  letter-spacing: 0.01em;
  color: var(--ink-faint);
  text-shadow: var(--shadow-text);
}

/* ---------- buttons ---------- */

.btn-row { display: flex; gap: 0.75cqw; flex-wrap: wrap; margin-top: 1.8cqw; padding-bottom: 8px; }   /* alt dolgu: seçim köşeleri (.btn::before, -6px) kutunun içinde kalsın */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.875cqw 1.5cqw;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font: 600 max(0.75cqw, 11px)/1 Manrope, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  appearance: none; -webkit-appearance: none; -webkit-tap-highlight-color: transparent;
  position: relative;
  translate: var(--mx, 0) var(--my, 0);
  transition: background-color var(--t-color) ease, color var(--t-color) ease, border-color var(--t-color) ease, transform var(--t-press) ease-out, translate var(--t-move) var(--ease-out);
}
/* Seçim köşeleri: üzerine gelince düğmeyi CAD seçim çerçevesi gibi dört köşe işareti sarar */
.btn::before {
  content: ""; position: absolute; inset: -6px; pointer-events: none;
  --c: var(--accent); --l: 7px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px var(--l) no-repeat;
  opacity: 0; transform: scale(1.08);
  transition: opacity var(--t-small) ease, transform var(--t-move) var(--ease-out);
}
.btn:focus-visible::before, .btn.is-lit::before { opacity: 1; transform: none; }
@media (hover: hover) { .btn:hover::before { opacity: 1; transform: none; } }
.btn__icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-small) var(--ease-out); }
.btn.is-lit .btn__icon { transform: translate(1px, -1px); }
@media (hover: hover) { .btn:hover .btn__icon { transform: translate(1px, -1px); } }
.btn:active { transform: scale(0.97); }
.btn--solid { background: var(--accent); color: var(--bg); }
.btn--solid.is-lit { background: #ff6d1f; }
@media (hover: hover) { .btn--solid:hover { background: #ff6d1f; } }
.btn--outline { background: rgba(11, 11, 13, 0.2); color: var(--ink); border: var(--hair) solid rgba(235, 232, 229, 0.6); }
.btn--outline.is-lit { background: var(--ink); color: var(--bg); }
@media (hover: hover) { .btn--outline:hover { background: var(--ink); color: var(--bg); } }
.btn:focus-visible,
.slide-footer a:focus-visible,
.slide-footer button:focus-visible { outline: 2px solid var(--accent); outline-offset: 0.25cqw; }
:is(.slide-footer button, .slide-footer a):active { transform: scale(0.97); transition-duration: var(--t-press); }

/* ---------- shared list language ----------
   Every list on the deck speaks the same way: a hairline on top, a small accent number,
   a short bold title, one or two lines of dim text. No boxes, no icons. */

.facets, .facts, .steps, .modules, .timeline, .values, .model, .pilot, .team__list {
  margin: 0; padding: 0; list-style: none;
}
.facets b, .steps b, .modules b, .values b, .model b {
  display: block;
  font-size: max(1.02cqw, 13px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink-bright);
}
.facets li > span, .steps li > span:not(.steps__n), .steps__btn > span:not(.steps__n), .modules li > span:not(.modules__n), .values li > span, .model li > span, .timeline li > span {
  display: block;
  margin-top: 0.35cqw;
  font-size: max(0.88cqw, 12px);
  line-height: 1.55;
  color: var(--ink-dim);
  text-wrap: pretty;
}
.facets li, .facts > div, .modules li, .values li, .model li {
  position: relative;
  padding-top: 1cqw;
  text-shadow: var(--shadow-text);
}
/* Ölçü çizgisi: her maddenin üst çizgisi paftadaki ölçü çizgisi gibi — iki ucunda 45° "/" işaret, çizgi işaretin 4 px
   ötesine taşar. Çizgi ve işaretler tek öğede (kaymasınlar); üzerine gelince turuncu, girişte soldan çizilir. */
:is(.facets li, .facts > div, .modules li, .values li, .model li)::before {
  --line: rgba(214, 210, 207, 0.26); --tick: rgba(214, 210, 207, 0.62); --t: max(0.55cqw, 7px);
  content: ""; position: absolute; left: -4px; right: -4px; top: calc(var(--t) / -2); height: var(--t);
  background:
    linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat,
    linear-gradient(135deg, transparent calc(50% - 0.6px), var(--tick) calc(50% - 0.6px), var(--tick) calc(50% + 0.6px), transparent calc(50% + 0.6px)) left calc(4px - var(--t) / 2) center / var(--t) var(--t) no-repeat,
    linear-gradient(135deg, transparent calc(50% - 0.6px), var(--tick) calc(50% - 0.6px), var(--tick) calc(50% + 0.6px), transparent calc(50% + 0.6px)) right calc(4px - var(--t) / 2) center / var(--t) var(--t) no-repeat;
  transform-origin: left;
  pointer-events: none;
  transition: --line var(--t-small) ease, --tick var(--t-small) ease;
}
/* Tepki her girdide aynı: fareyle üzerine gelmek ve parmakla basmak (press.js → .is-lit) aynı ışığı yakar. :hover yalnız
   gerçekten hover eden cihazlarda — dokunmatikte dokunuştan sonra yapışıp kalıyordu. Çizgi rengi kayıtlı özellik: yumuşak geçer.
   Maddenin açıklaması da ışıkla bir kademe aydınlanır. */
@property --line { syntax: '<color>'; inherits: false; initial-value: rgba(214, 210, 207, 0.26); }
@property --tick { syntax: '<color>'; inherits: false; initial-value: rgba(214, 210, 207, 0.62); }
:is(.facets li, .modules li, .values li, .model li, .steps li, .pilot li) > span:not(.steps__n, .modules__n), .facts > div > dd, .steps__btn > span:not(.steps__n) { transition: color var(--t-small) ease; }
:is(.facets li, .modules li, .values li, .model li, .steps li, .pilot li).is-lit > span:not(.steps__n, .modules__n), .facts > div.is-lit > dd, .steps li.is-lit .steps__btn > span:not(.steps__n) { color: var(--ink); }
@media (hover: hover) { :is(.facets li, .modules li, .values li, .model li, .steps li, .pilot li):hover > span:not(.steps__n, .modules__n), .facts > div:hover > dd, .steps li:hover .steps__btn > span:not(.steps__n) { color: var(--ink); } }
:is(.facets li, .facts > div, .modules li, .values li, .model li).is-lit::before { --line: var(--accent); --tick: var(--accent); }
@media (hover: hover) { :is(.facets li, .facts > div, .modules li, .values li, .model li):hover::before { --line: var(--accent); --tick: var(--accent); } }
.modules__n {
  font: 600 max(0.7cqw, 11px)/1.3 Manrope, sans-serif;
  letter-spacing: 0.08em;
  color: var(--accent);
}
/* Aks balonu: adım numaraları paftadaki aks balonları gibi daire içinde */
.steps__n {
  display: inline-grid; place-items: center;
  width: 1.75cqw; height: 1.75cqw; min-width: 22px; min-height: 22px;
  border: 1px solid rgba(214, 210, 207, 0.5); border-radius: 50%;
  font: 600 max(0.68cqw, 10px)/1 Manrope, sans-serif; letter-spacing: 0;
  color: var(--ink-bright);
  text-shadow: none;
  transition: background-color var(--t-color) ease, border-color var(--t-color) ease, color var(--t-color) ease;
}
.steps li.is-lit .steps__n, .pilot li.is-lit .steps__n { border-color: var(--accent); }
@media (hover: hover) { .steps li:hover .steps__n, .pilot li:hover .steps__n { border-color: var(--accent); } }

/* 01 — üç ilke */
.facets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4cqw; }
.facets b { font-size: max(0.78cqw, 11px); letter-spacing: 0.14em; text-transform: uppercase; }

/* 02 — üç olgu */
.facts { display: grid; grid-template-columns: repeat(3, max-content); justify-content: start; gap: 3cqw; margin: 0; }
.facts dt { white-space: nowrap; font-size: 2.3cqw; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; color: var(--ink-bright); }
.facts dd { margin: 0.6cqw 0 0; max-width: 24ch; font-size: max(0.88cqw, 12px); line-height: 1.55; color: var(--ink-dim); }

/* 03 / 04 — numaralı adımlar */
.steps { display: grid; gap: 0; }
.steps li {
  display: grid;
  grid-template-columns: 2.6cqw minmax(0, 1fr);
  column-gap: 0.4cqw;
  padding: 0.95cqw 0;
  border-top: var(--hair) solid rgba(214, 210, 207, 0.2);
  text-shadow: var(--shadow-text);
}
.steps li:last-child { border-bottom: var(--hair) solid rgba(214, 210, 207, 0.2); }
.steps .steps__n { grid-row: 1 / 3; align-self: start; }
.steps li > b, .steps li > span:not(.steps__n), .steps__btn > b, .steps__btn > span:not(.steps__n) { grid-column: 2; }
.steps li > b, .steps__btn > b { padding-top: 0.15cqw; }

/* 04 — demoyla eşli adımlar: düğme; etkin adım açık, diğerleri yalnız başlık (tuvalde) */
.steps--day li { display: block; position: relative; padding: 0; }
.steps__btn {
  display: grid; grid-template-columns: 2.6cqw minmax(0, 1fr); column-gap: 0.4cqw;
  width: 100%; padding: 0.72cqw 0; margin: 0;
  border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  text-shadow: var(--shadow-text);
  -webkit-tap-highlight-color: transparent;
}
.steps__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.steps--day .steps__btn > span:not(.steps__n) { margin-top: 0.2cqw; font-size: max(0.88cqw, 11px); }
.steps--day b { font-size: max(1.02cqw, 12px); color: var(--ink-dim); transition: color var(--t-color) ease; }
.steps--day li.is-active b, .steps--day li.is-lit b { color: var(--ink-bright); }
@media (hover: hover) { .steps--day li:hover b { color: var(--ink-bright); } }
.steps--day li.is-active .steps__n { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.steps--day li.is-done .steps__n { border-color: var(--accent); color: var(--accent); }
.steps__bar {
  position: absolute; left: 3cqw; right: 0; bottom: -1px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.steps--day li.is-active .steps__bar { animation: bar-run var(--dur, 4s) linear forwards; }
@keyframes bar-run { to { transform: scaleX(1); } }
@media (min-width: 1024px) and (min-height: 581px) {
  .steps--day .steps__btn > span:not(.steps__n) {
    max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
    transition: max-height var(--t-layout) var(--ease-out), opacity var(--t-move) ease, margin-top var(--t-layout) var(--ease-out);
  }
  .steps--day li.is-active .steps__btn > span:not(.steps__n) { max-height: 6em; opacity: 1; margin-top: 0.3cqw; }
}

/* 03 — tek satırlık ilke */
.principle {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.6cqw 1.2cqw;
  margin: 0;
  font: 600 max(0.78cqw, 11px)/1.4 Manrope, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-bright);
  text-shadow: var(--shadow-text);
}
.principle i { width: 1.6cqw; height: var(--hair); background: var(--accent); }

/* 05 — dört modül */
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8cqw 2.4cqw; }
.modules li { display: grid; grid-template-rows: auto auto 1fr; }
.modules__n { margin-bottom: 0.5cqw; }
.modules b small { font: inherit; font-weight: 500; color: var(--ink-dim); }

/* 06 — takvim */
.timeline { position: relative; display: grid; gap: 1.3cqw; padding-left: 1.6cqw; }
.timeline::before { content: ""; position: absolute; left: 0.25cqw; top: 0.6cqw; bottom: 0.6cqw; width: var(--hair); background: rgba(214, 210, 207, 0.3); }
.timeline li { position: relative; text-shadow: var(--shadow-text); }
/* Kot işareti: ters üçgen ve seviye çizgisi — takvimin her adımı bir kat seviyesi gibi */
.timeline li::before {
  content: ""; position: absolute; left: calc(-1.6cqw + 0.28cqw - 0.5cqw); top: 0.1cqw;
  width: 1cqw; height: 0.75cqw; min-width: 11px; min-height: 8px;
  background: rgba(235, 232, 229, 0.7);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.timeline li::after {
  content: ""; position: absolute; left: calc(-1.6cqw - 0.6cqw); top: calc(0.1cqw + max(0.75cqw, 8px)); width: 1.8cqw; height: max(var(--hair), 1px);
  background: rgba(235, 232, 229, 0.5);
}
.timeline li:first-child::before, .timeline li:first-child::after { background: var(--accent); }
.timeline time {
  display: block;
  font-size: max(1.02cqw, 13px); font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink-bright);
}
.timeline li > span { max-width: 44ch; }

/* 07 — ilkeler ve ekip */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4cqw; }
.team__label {
  margin: 0 0 1cqw;
  font: 600 max(0.72cqw, 11px)/1 Manrope, sans-serif;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
  text-shadow: var(--shadow-text);
}
.team__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4cqw; }
.team__list li { display: flex; align-items: center; gap: 0.8cqw; min-width: 0; text-shadow: var(--shadow-text); }
.team__list img {
  flex: 0 0 auto;
  width: 2.8cqw; height: 2.8cqw; min-width: 36px; min-height: 36px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  box-shadow: 0 0 0 var(--hair) rgba(214, 210, 207, 0.3);
  transition: filter var(--t-move) ease;
}
.team__list li.is-lit img { filter: none; }
@media (hover: hover) { .team__list li:hover img { filter: none; } }
.team__list b { display: block; font-size: max(0.84cqw, 12px); font-weight: 600; line-height: 1.25; color: var(--ink-bright); }
.team__list small { display: block; margin-top: 0.2cqw; font-size: max(0.72cqw, 11px); line-height: 1.3; color: var(--ink-faint); }
.team .note { margin-top: 1.4cqw; }

/* 09 — pilot adımları */
.pilot { display: grid; gap: 0.7cqw; margin-top: 1.8cqw; }
.pilot li {
  display: grid; grid-template-columns: 2.6cqw minmax(0, 1fr); column-gap: 0.4cqw; align-items: center;
  font-size: max(0.95cqw, 13px); line-height: 1.45; color: var(--ink-bright);
  text-shadow: var(--shadow-text);
}

/* ---------- cards (frosted artifacts) ---------- */

.card {
  position: relative;
  margin: 0;
  background: rgba(13, 13, 16, 0.62);
  border: var(--hair) solid rgba(214, 210, 207, 0.16);
  box-shadow: inset 0 1px 0 rgba(235, 232, 229, 0.06), 0 30px 80px -50px rgba(0, 0, 0, 0.9);
}
/* Sahnenin WebGL bulanıklığı açıkken kart daha açık: arkadaki bina buğulu görünür */
html[data-glass="on"] .card { background: rgba(13, 13, 16, 0.4); }
/* Pafta köşe işaretleri: her kartın dört köşesinde kısa L çizgiler */
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  --c: rgba(235, 232, 229, 0.5); --l: max(0.7cqw, 9px);
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px var(--l) no-repeat;
}

/* 06 — bugün yayında */
.live { padding: 1.5cqw 1.7cqw 1.6cqw; }
.live__tag {
  display: inline-flex; align-items: center; gap: 0.6cqw; margin: 0;
  font: 600 max(0.7cqw, 11px)/1 Manrope, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-bright);
}
.live__tag i { position: relative; width: 0.45cqw; height: 0.45cqw; min-width: 6px; min-height: 6px; border-radius: 50%; background: var(--accent); }
.live__tag i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); opacity: 0.5; animation: live-pulse 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) 3 forwards; }
@keyframes live-pulse { from { transform: scale(1); opacity: 0.5; } to { transform: scale(3.6); opacity: 0; } }
.live__title { margin: 0.9cqw 0 0; font-size: 1.6cqw; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink-bright); }
.live__text { margin: 0.6cqw 0 1.3cqw; font-size: max(0.86cqw, 12px); line-height: 1.55; color: var(--ink-dim); }
.live .btn { padding: 0.75cqw 1.2cqw; }

/* ---------- 04 · ürün demosu (temsilî arayüz) ----------
   Küçük bir uygulama penceresi: solda proje listesi ya da pafta, sağda denetçi paneli. demo.js data-phase (1–5) ve
   data-sub (evre içi ara durum) sürer, demo imlecini hedeflere götürüp tıklatır; görünen her şey burada.
   1 yükleme: proje listesi, yeni proje dosyaları bırakılır ve okunur · 2 tanıma: pafta çizilir, tarama çizgisi
   elemanları işaretler · 3 izlenebilir metraj: beton satırı açılır (b), kolonlar paftada yanar (c), tek kolonun
   hesabı açılır (d) · 4 rapor: alt kat bindirilir, C/4 bulgusu · 5 karar: revizyon istenir (b), Rev. B gelir (c),
   aynı kontrol bulguyu kapatır ve metraj farkı yazılır (d). 0: döngü arası. */
.demo {
  display: flex; flex-direction: column;
  overflow: hidden;
  background: rgba(9, 9, 11, 0.86);
  font-size: max(0.72cqw, 11px);
  line-height: 1.4;
}
html[data-glass="on"] .demo { background: rgba(9, 9, 11, 0.8); }
.demo__bar {
  display: flex; align-items: center; gap: 0.9cqw;
  padding: 0.7cqw 1.1cqw;
  border-bottom: var(--hair) solid rgba(214, 210, 207, 0.12);
  font: 600 max(0.62cqw, 10px)/1 Manrope, sans-serif; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint); white-space: nowrap;
}
.demo__brand { color: var(--ink-bright); letter-spacing: 0.24em; }
.demo__crumb { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 500; letter-spacing: 0.02em; text-transform: none; }
.demo__crumb > span + span::before { content: "›"; margin: 0 0.5cqw; color: rgba(235, 232, 229, 0.35); }
.demo__crumb > :is(.demo__crumb-p, .demo__crumb-s) { display: none; }
.demo:is([data-phase="2"], [data-phase="3"], [data-phase="4"], [data-phase="5"]) .demo__crumb > :is(.demo__crumb-p, .demo__crumb-s) { display: inline; }
.demo__crumb-s { color: var(--ink-dim); }
.demo__tag { flex: none; padding: 0.35cqw 0.55cqw; border: 1px dashed rgba(214, 210, 207, 0.3); color: var(--ink-dim); }

.demo__body { display: grid; grid-template-columns: minmax(0, 1fr) 21cqw; border-bottom: var(--hair) solid rgba(214, 210, 207, 0.12); }
.demo__main { position: relative; min-width: 0; border-right: var(--hair) solid rgba(214, 210, 207, 0.12); }
.demo__sheet { transition: opacity var(--t-layout) ease; }
.demo[data-phase="1"] .demo__sheet { opacity: 0; }
.demo[data-phase="0"] .demo__sheet { opacity: 0.3; }   /* döngü arası ve ilk görünüş: boş kutu değil, sönük pafta */
.demo__side { position: relative; min-width: 0; }

/* proje listesi */
.demo__projects {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
  padding: 1cqw 1.2cqw;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-layout) ease, visibility 0s linear var(--t-layout);
}
.demo[data-phase="1"] .demo__projects { opacity: 1; visibility: visible; transition: opacity var(--t-layout) ease, visibility 0s; }
.demo__phead { display: flex; align-items: center; justify-content: space-between; margin: 0 0 0.9cqw; }
.demo__phead b { font-size: max(0.95cqw, 13px); font-weight: 600; letter-spacing: -0.01em; color: var(--ink-bright); }
.demo__new {
  display: inline-flex; align-items: center; gap: 0.5cqw; padding: 0.45cqw 0.75cqw;
  border: 1px solid rgba(235, 232, 229, 0.35);
  font: 600 max(0.6cqw, 10px)/1 Manrope, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  transition: border-color var(--t-color) ease, color var(--t-color) ease, background-color var(--t-color) ease;
}
.demo__new i { width: 0.7cqw; height: 0.7cqw; min-width: 8px; min-height: 8px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; }
.demo__new.is-hover { border-color: var(--accent); color: var(--accent); background: rgba(255, 90, 0, 0.08); }
.demo__row {
  display: grid; grid-template-columns: minmax(0, 1fr) 3.2cqw 9.5cqw 5.4cqw; gap: 0.8cqw; align-items: center;
  padding: 0.62cqw 0.6cqw;
  border-top: 1px solid rgba(214, 210, 207, 0.1);
  transition: background-color var(--t-small) ease;
}
.demo__row b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink-bright); }
.demo__row > span:nth-child(2) { color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.demo__row small { font-size: inherit; text-align: right; color: var(--ink-faint); }
.demo__row--head { padding-top: 0; padding-bottom: 0.45cqw; border-top: 0; font: 600 max(0.56cqw, 9px)/1 Manrope, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.demo__row--head span:last-child { text-align: right; }
.demo__state { display: flex; align-items: center; gap: 0.55cqw; min-width: 0; color: var(--ink-dim); white-space: nowrap; }
.demo__state.is-warn { color: #ffb240; }
.demo__state.is-ok::before { content: ""; width: 0.6cqw; height: 0.32cqw; min-width: 8px; min-height: 4px; margin-top: -0.2cqw; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.demo__row--new { max-height: 0; padding-block: 0; opacity: 0; overflow: hidden; border-top-color: transparent; background: rgba(255, 90, 0, 0.07);
  transition: max-height var(--t-layout) var(--ease-out), padding var(--t-layout) var(--ease-out), opacity var(--t-move) ease, background-color var(--t-small) ease; }
.demo[data-phase="1"]:is([data-sub="rows"], [data-sub="ready"]) .demo__row--new { max-height: 4cqw; padding-block: 0.62cqw; opacity: 1; border-top-color: rgba(214, 210, 207, 0.1); }
.demo__row--new.is-hover { background: rgba(255, 90, 0, 0.16); }
.demo__prog { position: relative; flex: none; width: 3.4cqw; height: 2px; overflow: hidden; background: rgba(235, 232, 229, 0.14); }
.demo__prog > i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.demo[data-phase="1"][data-sub="rows"] .demo__prog > i { animation: bar-run 2s linear 0.3s forwards; }
.demo[data-phase="1"][data-sub="ready"] .demo__prog > i { transform: scaleX(1); }
.demo__state em { font-style: normal; }
.demo__ready { display: none; color: var(--ink-bright); }
.demo[data-phase="1"][data-sub="ready"] :is(.demo__reading, .demo__prog) { display: none; }
.demo[data-phase="1"][data-sub="ready"] .demo__ready { display: inline; }
.demo__drop {
  position: absolute; inset: 3.3cqw 1.2cqw 1cqw; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1cqw;
  border: 1px dashed rgba(255, 90, 0, 0.65); background: rgba(9, 9, 11, 0.94);
  color: var(--ink-dim);
  opacity: 0; visibility: hidden; transform: scale(0.98);
  transition: opacity var(--t-move) ease, transform var(--t-layout) var(--ease-out), visibility 0s linear var(--t-layout);
}
.demo[data-phase="1"][data-sub="drop"] .demo__drop { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-move) ease, transform var(--t-layout) var(--ease-out), visibility 0s; }
.demo__drop-t { font: 600 max(0.62cqw, 10px)/1 Manrope, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.demo__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5cqw; }
.demo__chips i { padding: 0.4cqw 0.6cqw; border: 1px solid rgba(235, 232, 229, 0.3); background: rgba(235, 232, 229, 0.05); font-style: normal; color: var(--ink); font-variant-numeric: tabular-nums; }
.demo[data-phase="1"][data-sub="drop"] .demo__chips i { animation: chip-in 0.45s var(--ease-out) backwards; }
.demo__chips i:nth-child(2) { animation-delay: 0.15s !important; }
.demo__chips i:nth-child(3) { animation-delay: 0.3s !important; }
.demo__chips i:nth-child(4) { animation-delay: 0.45s !important; }
@keyframes chip-in { from { opacity: 0; transform: translateY(-1.4cqw) scale(0.96); } }

/* pafta sekmeleri */
.demo__tabs {
  display: flex; align-items: center; gap: 0.3cqw;
  padding: 0.45cqw 0.8cqw;
  border-bottom: var(--hair) solid rgba(214, 210, 207, 0.12);
  font: 600 max(0.6cqw, 10px)/1 Manrope, sans-serif; letter-spacing: 0.08em; color: var(--ink-faint); white-space: nowrap;
}
.demo__tabs > span { padding: 0.35cqw 0.6cqw; border: 1px solid transparent; transition: color var(--t-color) ease, border-color var(--t-color) ease; }
.demo__tabs > span.is-active { color: var(--ink-bright); border-color: rgba(214, 210, 207, 0.28); background: rgba(235, 232, 229, 0.04); }
.demo:is([data-phase="4"], [data-phase="5"]) .demo__tab--s01 { color: #8fb8d8; border-color: rgba(143, 184, 216, 0.55); border-style: dashed; }
.demo__tabs em { margin-left: auto; font-style: normal; opacity: 0; transition: opacity var(--t-move) ease; }
.demo__overlaid { color: #8fb8d8; }
.demo__revtab { display: none; color: var(--accent); }
.demo[data-phase="4"] .demo__overlaid, .demo[data-phase="5"]:is([data-sub=""], [data-sub="b"]) .demo__overlaid { opacity: 1; }
.demo[data-phase="5"]:is([data-sub="c"], [data-sub="d"]) .demo__overlaid { display: none; }
.demo[data-phase="5"]:is([data-sub="c"], [data-sub="d"]) .demo__revtab { display: inline; opacity: 1; }

.demo__stage { position: relative; aspect-ratio: 640 / 358; background: radial-gradient(120% 90% at 50% 45%, rgba(235, 232, 229, 0.035), transparent 70%); }
.demo__plan { display: block; width: 100%; height: 100%; overflow: visible; }

/* çizim katmanları */
.demo__plan text { font: 600 10px Manrope, sans-serif; fill: rgba(235, 232, 229, 0.62); text-anchor: middle; dominant-baseline: central; }
.pl-grid line { stroke: rgba(235, 232, 229, 0.16); stroke-width: 1; stroke-dasharray: 14 4 2 4; }
.pl-bubble circle { fill: #0b0b0d; stroke: rgba(235, 232, 229, 0.5); stroke-width: 1; }
.pl-bubble text { font-size: 11px; fill: rgba(235, 232, 229, 0.9); }
.pl-dim line { stroke: rgba(235, 232, 229, 0.3); stroke-width: 0.8; }
.pl-dim .pl-tick { stroke: rgba(235, 232, 229, 0.65); stroke-width: 1; }
.pl-dim text { font-size: 9px; font-weight: 500; fill: rgba(235, 232, 229, 0.46); }
.pl-slab { fill: rgba(235, 232, 229, 0.022); stroke: rgba(235, 232, 229, 0.34); stroke-width: 1; stroke-dasharray: 1; }
.pl-beam line { stroke: rgba(235, 232, 229, 0.56); stroke-width: 1; stroke-dasharray: 1; }
.pl-col rect { fill: rgba(235, 232, 229, 0.84); }
.pl-below rect, .pl-fix rect { fill: none; stroke: #8fb8d8; stroke-width: 1; stroke-dasharray: 3 2; }
.pl-fix rect { stroke-width: 1.6; fill: rgba(143, 184, 216, 0.16); }
.pl-hit rect { fill: rgba(255, 90, 0, 0.12); stroke: var(--accent); stroke-width: 1.2; transition: fill var(--t-move) ease, stroke-width var(--t-move) ease; }
.pl-hit line { stroke: var(--accent); stroke-width: 1.4; opacity: 0.7; transition: opacity var(--t-move) ease; }
.pl-low rect { fill: rgba(255, 178, 64, 0.14); stroke: #ffb240; stroke-width: 1.2; stroke-dasharray: 3 2; }
.pl-low line { stroke: #ffb240; stroke-width: 0.8; }
.demo__plan .pl-low text { fill: #ffb240; font-size: 9.5px; text-anchor: end; }
.demo__plan .pl-tags text { fill: var(--accent); font-size: 9px; text-anchor: start; }
.pl-sel__box { fill: rgba(255, 90, 0, 0.1); stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 4 2; }
.pl-sel__grip { fill: var(--accent); }
.pl-sel line { stroke: var(--accent); stroke-width: 1; }
.pl-sel > rect:not([class]) { fill: var(--accent); }
.demo__plan .pl-sel text { fill: #0b0b0d; font-size: 11px; font-weight: 700; }
.pl-scan { transform: translateX(96px); }   /* beklerken çizim alanının içinde dursun */
.pl-scan line { stroke: var(--accent); stroke-width: 1.5; }
.pl-scan rect { fill: rgba(255, 90, 0, 0.08); }
.pl-miss circle { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 3; }
.pl-pin line { stroke: var(--accent); stroke-width: 1; }
.pl-pin rect { fill: var(--accent); transition: fill var(--t-move) ease; }
.demo__plan .pl-pin text { fill: #0b0b0d; font-size: 11px; font-weight: 700; }
:is(.pl-hit rect, .pl-tags text, .pl-miss circle, .pl-pin, .pl-sel, .pl-fix rect) { transform-box: fill-box; transform-origin: center; }

/* evreye göre görünürlük */
.demo__plan > g, .demo__plan > rect { transition: opacity var(--t-layout) ease; }
:is(.pl-below, .pl-hit, .pl-low, .pl-tags, .pl-scan, .pl-miss, .pl-pin, .pl-sel, .pl-fix) { opacity: 0; }
.demo:is([data-phase="2"], [data-phase="3"]) :is(.pl-hit, .pl-tags, .pl-low) { opacity: 1; }
.pl-hit .pl-hit__low { opacity: 0; transition: opacity var(--t-move) ease; }
.demo[data-phase="3"][data-sub="c"] .pl-hit rect { fill: rgba(255, 90, 0, 0.42); stroke-width: 2; }
.demo[data-phase="3"][data-sub="c"] .pl-hit .pl-hit__low { opacity: 1; }
.demo[data-phase="3"][data-sub="c"] :is(.pl-hit line) { opacity: 0.12; }
.demo[data-phase="3"][data-sub="c"] :is(.pl-tags, .pl-low) { opacity: 0.25; }
.demo[data-phase="3"][data-sub="d"] :is(.pl-hit, .pl-tags, .pl-low) { opacity: 0.16; }
.demo[data-phase="3"][data-sub="d"] .pl-sel { opacity: 1; animation: pl-pop 0.4s var(--ease-out) backwards; }
.demo:is([data-phase="4"], [data-phase="5"]) :is(.pl-hit, .pl-low) { opacity: 0.16; }
.demo:is([data-phase="4"], [data-phase="5"]) .pl-low text, .demo[data-phase="3"]:is([data-sub="c"], [data-sub="d"]) .pl-low text { opacity: 0; }
.demo:is([data-phase="4"], [data-phase="5"]) :is(.pl-below, .pl-miss, .pl-pin) { opacity: 1; }
.demo[data-phase="5"][data-sub="d"] .pl-miss { opacity: 0; }
.demo[data-phase="5"][data-sub="d"] .pl-fix { opacity: 1; }
.demo[data-phase="5"][data-sub="d"] .pl-fix rect { animation: pl-pop 0.45s var(--ease-out) backwards; }
.demo[data-phase="5"][data-sub="d"] .pl-pin rect { fill: #ebe8e5; }

/* 2 · çizim oluşur, tarama çizgisi elemanları işaretler */
.demo[data-phase="2"] :is(.pl-grid line, .pl-bubble, .pl-dim) { animation: pl-fade 0.6s ease var(--d, 0s) backwards; }
.demo[data-phase="2"] :is(.pl-slab, .pl-beam line) { animation: pl-draw 0.9s var(--ease-out) var(--d, 0s) backwards; }
.demo[data-phase="2"] .pl-col rect { animation: pl-fade 0.35s ease var(--d, 0s) backwards; }
.demo[data-phase="2"] .pl-scan { opacity: 1; animation: pl-scan 1.7s 1.15s linear both; }
.demo[data-phase="2"] :is(.pl-hit rect, .pl-hit line, .pl-tags text) { animation: pl-pop 0.4s var(--ease-out) calc(var(--d, 0s) + 0.9s) backwards; }
.demo[data-phase="2"] .pl-low { animation: pl-fade 0.4s ease calc(var(--d, 0s) + 0.9s) backwards; }
/* 4 · alt kat bindirilir, eksik kolon */
.demo[data-phase="4"] .pl-below { animation: pl-fade 0.8s ease 0.15s backwards; }
.demo[data-phase="4"] .pl-miss { animation: pl-fade 0.4s ease 1.1s backwards; }
.demo[data-phase="4"] .pl-miss__pulse, .demo[data-phase="5"]:not([data-sub="d"]) .pl-miss__pulse { animation: pl-ring 1.6s ease-out 1.3s infinite; }
.demo[data-phase="4"] .pl-pin { animation: pl-pop 0.45s var(--ease-out) 1.5s backwards; }

@keyframes pl-fade { from { opacity: 0; } }
@keyframes pl-draw { from { stroke-dashoffset: 1; } }
@keyframes pl-pop { from { opacity: 0; transform: scale(0.55); } }
@keyframes pl-scan { 0% { transform: translateX(96px); opacity: 0; } 6%, 92% { opacity: 1; } 100% { transform: translateX(590px); opacity: 0; } }
@keyframes pl-ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.2); opacity: 0; } }

/* denetçi paneli: evre başına bir görünüm */
.demo__view {
  position: absolute; inset: 0;
  padding: 0.95cqw 1.1cqw;
  overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t-move) ease, transform var(--t-layout) var(--ease-out), visibility 0s linear var(--t-layout);
}
.demo[data-phase="1"] [data-view="1"], .demo[data-phase="2"] [data-view="2"],
.demo[data-phase="3"]:not([data-sub="d"]) [data-view="3"], .demo[data-phase="3"][data-sub="d"] [data-view="3d"],
.demo[data-phase="4"] [data-view="4"], .demo[data-phase="5"] [data-view="5"] {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity var(--t-layout) ease 0.12s, transform var(--t-stage) var(--ease-out) 0.12s, visibility 0s;
}
.demo__head { display: flex; align-items: center; justify-content: space-between; gap: 0.8cqw; margin: 0 0 0.7cqw; font: 600 max(0.58cqw, 9px)/1.2 Manrope, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.demo__head > span:first-child { display: inline-flex; align-items: center; gap: 0.5cqw; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-bright); }
.demo__head > span:first-child::before { content: ""; flex: none; width: 0.42cqw; height: 0.42cqw; min-width: 6px; min-height: 6px; border-radius: 50%; background: var(--accent); }
.demo__head > span:last-child { flex: none; }

.demo__files { display: grid; gap: 0.5cqw; margin: 0; padding: 0; list-style: none; }
.demo__files li { display: grid; grid-template-columns: 2.6cqw minmax(0, 1fr) 2.6cqw; align-items: center; gap: 0.6cqw; color: var(--ink-dim); }
.demo__files b { font-weight: 600; letter-spacing: 0.04em; color: var(--ink-bright); }
.demo__files span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo__files i { position: relative; height: 2px; overflow: hidden; background: rgba(235, 232, 229, 0.12); }
.demo__files i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.demo[data-phase="1"][data-sub="rows"] .demo__files i::after { animation: bar-run 0.8s var(--ease-out) var(--d, 0s) forwards; }
.demo[data-phase="1"][data-sub="ready"] .demo__files i::after { transform: scaleX(1); }
.demo__more { margin: 0.5cqw 0 0.7cqw 3.2cqw; color: var(--ink-faint); }
.demo__note { display: flex; align-items: center; gap: 0.7cqw; margin: 0.35cqw 0 0; color: var(--ink-dim); opacity: 0; transition: opacity var(--t-move) ease; }
.demo__note i { flex: none; width: 0.7cqw; height: 0.38cqw; min-width: 9px; min-height: 5px; margin-top: -0.2cqw; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.demo[data-phase="1"][data-sub="rows"] .demo__note { opacity: 1; transition-delay: 1.3s; }
.demo[data-phase="1"][data-sub="rows"] .demo__note + .demo__note { transition-delay: 1.8s; }
.demo[data-phase="1"][data-sub="ready"] .demo__note { opacity: 1; }

.demo__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2cqw 1cqw; margin: 0.4cqw 0 0; }
.demo__stats div { padding-left: 0.8cqw; border-left: 1px solid rgba(214, 210, 207, 0.2); }
.demo__stats dt { font: 600 max(0.56cqw, 9px)/1.2 Manrope, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.demo__stats dd { margin: 0.35cqw 0 0; font-size: max(2cqw, 22px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink-bright); font-variant-numeric: tabular-nums; }
.demo__stats .is-warn { border-color: rgba(255, 178, 64, 0.6); }
.demo__stats .is-warn :is(dt, dd) { color: #ffb240; }
.demo__foot-note { margin: 1.2cqw 0 0; color: var(--ink-faint); }
.demo__rule { margin: 0.7cqw 0 0; font-size: max(0.6cqw, 10px); line-height: 1.45; color: var(--ink-faint); }

.demo__qty { display: grid; }
.demo__qrow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 2.2cqw; gap: 0.5cqw; align-items: baseline;
  padding: 0.55cqw 0.5cqw;
  border-top: 1px solid rgba(214, 210, 207, 0.1);
  transition: background-color var(--t-small) ease;
}
.demo__qrow > span { min-width: 0; color: var(--ink-dim); }
.demo__qrow b { font-weight: 600; text-align: right; color: var(--ink-bright); font-variant-numeric: tabular-nums; }
.demo__qrow small { font-size: inherit; color: var(--ink-faint); }
.demo__qrow em { font-style: normal; color: var(--ink-faint); }
.demo__qrow.is-hover { background: rgba(255, 90, 0, 0.12); }
.demo__qrow[data-cue="concrete"] > span::before {
  content: ""; display: inline-block; width: 0.35cqw; height: 0.35cqw; min-width: 5px; min-height: 5px; margin: 0 0.55cqw 0.1cqw 0;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg);
  transition: transform var(--t-move) var(--ease-out);
}
.demo[data-phase="3"]:is([data-sub="b"], [data-sub="c"]) .demo__qrow[data-cue="concrete"] > span::before { transform: rotate(45deg); }
.demo__qsub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-layout) var(--ease-out); }
.demo__qsub > div { min-height: 0; overflow: hidden; }
.demo[data-phase="3"]:is([data-sub="b"], [data-sub="c"]) .demo__qsub { grid-template-rows: 1fr; }
.demo__qsub .demo__qrow { padding-left: 1.5cqw; border-top-style: dashed; }
.demo__qsub .demo__qrow > span { color: var(--ink-faint); }

.demo__calc { display: grid; margin: 0.2cqw 0 0; }
.demo__calc { grid-template-columns: minmax(4.4cqw, max-content) minmax(0, 1fr); column-gap: 0.6cqw; }
/* the three rows share one label column, as wide as the longest label (German: Bewehrung, Schalung) */
.demo__calc div { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; padding: 0.6cqw 0; border-top: 1px solid rgba(214, 210, 207, 0.1); }
.demo__calc dt { font: 600 max(0.56cqw, 9px)/1.5 Manrope, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.demo__calc dd { display: grid; gap: 0.15cqw; margin: 0; }
.demo__calc dd span { color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.demo__calc dd b { font-size: 1.12em; font-weight: 600; color: var(--ink-bright); font-variant-numeric: tabular-nums; }
.demo[data-phase="3"][data-sub="d"] .demo__calc div { animation: rise-in 0.45s var(--ease-out) backwards; }
.demo[data-phase="3"][data-sub="d"] .demo__calc div:nth-child(2) { animation-delay: 0.12s; }
.demo[data-phase="3"][data-sub="d"] .demo__calc div:nth-child(3) { animation-delay: 0.24s; }

.demo__chip { flex: none; padding: 0.3cqw 0.5cqw; border: 1px solid rgba(255, 90, 0, 0.5); color: var(--accent); }
.demo__where { display: flex; flex-wrap: wrap; gap: 0 0.8cqw; margin: 0; font-weight: 600; color: var(--accent); }
.demo__where span + span { font-weight: 500; color: var(--ink-faint); }
.demo__title { margin: 0.3cqw 0 0; font-size: max(1.08cqw, 14px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink-bright); }
.demo__text { margin: 0.3cqw 0 0; color: var(--ink-dim); line-height: 1.45; }
.demo__src { display: flex; flex-wrap: wrap; gap: 0 0.6cqw; margin: 0.5cqw 0 0; color: var(--ink-faint); }
.demo__src span:first-child { font-weight: 600; font-size: max(0.56cqw, 9px); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.8; }

.demo__actions { display: flex; flex-wrap: wrap; gap: 0.6cqw; }
.demo__btn {
  display: inline-flex; align-items: center; padding: 0.55cqw 0.9cqw;
  border: 1px solid rgba(235, 232, 229, 0.4);
  font: 600 max(0.6cqw, 10px)/1 Manrope, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  transition: background-color var(--t-small) ease, color var(--t-small) ease;
}
.demo__btn--revise { border-color: var(--accent); color: var(--accent); }
.demo__btn--revise.is-hover { background: rgba(255, 90, 0, 0.14); }
.demo[data-phase="5"]:not([data-sub=""]) .demo__btn--revise { background: var(--accent); color: var(--bg); }
.demo__status, .demo__rev, .demo__delta { opacity: 0; transform: translateY(4px); transition: opacity var(--t-move) ease, transform var(--t-layout) var(--ease-out); }
.demo__status { display: flex; align-items: center; gap: 0.55cqw; margin: 0.8cqw 0 0; color: var(--ink-bright); }
.demo__status i, .demo__rev i { flex: none; width: 0.42cqw; height: 0.42cqw; min-width: 6px; min-height: 6px; border-radius: 50%; background: var(--accent); }
.demo__rev { display: flex; align-items: center; gap: 0.55cqw; margin: 0.45cqw 0 0; color: var(--ink-dim); }
.demo__rev--in i { background: #8fb8d8; }
.demo__rev--ok { color: var(--ink-bright); }
.demo__rev--ok i { background: none; width: 0.6cqw; height: 0.32cqw; min-width: 8px; min-height: 4px; border-radius: 0; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); margin-top: -0.2cqw; }
.demo__delta { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; gap: 0.1cqw 0.7cqw; margin: 0.8cqw 0 0; padding-top: 0.6cqw; border-top: 1px dashed rgba(214, 210, 207, 0.2); color: var(--ink-faint); }
.demo__delta span { font: 600 max(0.56cqw, 9px)/1.4 Manrope, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.demo__delta b { font-size: 1.2em; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.demo__delta small { grid-column: 1 / -1; font-size: inherit; }
.demo[data-phase="5"]:not([data-sub=""]) .demo__status,
.demo[data-phase="5"]:is([data-sub="c"], [data-sub="d"]) .demo__rev--in,
.demo[data-phase="5"][data-sub="d"] :is(.demo__rev--ok, .demo__delta) { opacity: 1; transform: none; }
.demo[data-phase="5"][data-sub="d"] .demo__delta { transition-delay: 0.3s; }

/* demo imleci: sitenin CAD imleciyle aynı dil; demo.js hedeflere götürür, tıklatır */
.demo__cursor {
  position: absolute; left: 0; top: 0; z-index: 5; width: 0; height: 0;
  opacity: 0; pointer-events: none;
  transform: translate(var(--cx, 70%), var(--cy, 60%));
  transition: transform 0.8s cubic-bezier(0.55, 0, 0.2, 1), opacity var(--t-move) ease;
  color: #ebe8e5; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.95));
}
.demo__cursor::before { content: ""; position: absolute; left: -13px; top: 0; width: 26px; height: 1px; background: linear-gradient(90deg, currentColor 0 8px, transparent 8px 18px, currentColor 18px); }
.demo__cursor::after { content: ""; position: absolute; left: 0; top: -13px; width: 1px; height: 26px; background: linear-gradient(180deg, currentColor 0 8px, transparent 8px 18px, currentColor 18px); }
.demo__cursor i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border: 1px solid currentColor; transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease; }
.demo.has-cursor .demo__cursor { opacity: 1; }
.demo.is-over .demo__cursor i { border-color: var(--accent); background: rgba(255, 90, 0, 0.18); transform: scale(1.4); }
.demo.is-click .demo__cursor i { transform: scale(0.75); }

/* alt çubuk: evre sayacı ve ilerleme */
.demo__foot { display: flex; align-items: center; gap: 0.9cqw; padding: 0.65cqw 1.1cqw; font: 600 max(0.6cqw, 10px)/1 Manrope, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.demo__toggle {
  position: relative; flex: none; width: max(1.5cqw, 24px); height: max(1.5cqw, 24px); margin: -0.3cqw 0;
  padding: 0; border: 1px solid rgba(235, 232, 229, 0.3); border-radius: 50%; background: none; color: var(--ink); cursor: pointer;
  transition: border-color var(--t-color) ease, color var(--t-color) ease;
}
.demo__toggle:focus-visible, .demo__toggle.is-lit { border-color: var(--accent); color: var(--accent); outline: none; }
@media (hover: hover) { .demo__toggle:hover { border-color: var(--accent); color: var(--accent); outline: none; } }
/* duraklat: iki çubuk · oynat: üçgen */
.demo__toggle i { position: absolute; left: 50%; top: 50%; width: 8px; height: 9px; transform: translate(-50%, -50%);
  background: linear-gradient(currentColor, currentColor) left / 3px 100% no-repeat, linear-gradient(currentColor, currentColor) right / 3px 100% no-repeat; }
.demo.is-held .demo__toggle i { width: 8px; height: 10px; margin-left: 1px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.demo__count { color: var(--accent); font-variant-numeric: tabular-nums; }
.demo__label { min-width: 7cqw; color: var(--ink-bright); }
.demo__bars { flex: 1 1 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35cqw; margin: 0; padding: 0; list-style: none; }
.demo__bars li { position: relative; height: 2px; overflow: hidden; background: rgba(235, 232, 229, 0.14); }
.demo__bars li::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.demo__bars li.is-done::after { transform: scaleX(1); }
.demo__bars li.is-active::after { animation: bar-run var(--dur, 4s) linear forwards; }
.demo.is-paused *, .demo.is-paused *::before, .demo.is-paused *::after,
.edge-frame--day:has(.demo.is-paused) .steps__bar { animation-play-state: paused !important; }
.demo.is-instant *, .demo.is-instant *::before, .demo.is-instant *::after { transition: none !important; animation: none !important; }

/* ---------- per-slide placement (grid position only) ----------
   Columns come from the 12-column field; rows follow the content (auto) with one flexible
   row absorbing the slack, so a longer English title pushes its list down instead of
   running into it. Cards span every row of their column band. */

.copy { grid-column: 1 / 7; grid-row: 1; }

.edge-frame--hero { grid-template-rows: minmax(0, 1fr) auto; }
.edge-frame--hero .copy { grid-column: 1 / 8; grid-row: 1; align-self: center; }
.edge-frame--hero .edge-lead { max-width: 56ch; }
.edge-frame--hero .facets { grid-column: 1 / 8; grid-row: 2; }

.edge-frame--problem { grid-template-rows: auto minmax(0, 1fr) auto auto; }
.edge-frame--problem .facts { grid-column: 1 / 9; grid-row: 3; }
.edge-frame--problem .note { grid-column: 1 / 9; grid-row: 4; margin-top: 2.2cqw; }

.edge-frame--method { grid-template-rows: auto minmax(0, 1fr) auto; }
.edge-frame--method .edge-title { max-width: 22ch; }
.edge-frame--method .steps { grid-column: 1 / 7; grid-row: 2; align-self: center; margin: 1.6cqw 0; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.4cqw; }
.edge-frame--method .steps li:nth-last-child(2) { border-bottom: var(--hair) solid rgba(214, 210, 207, 0.2); }
.edge-frame--method .principle { grid-column: 1 / 10; grid-row: 3; }

.edge-frame--day { grid-template-rows: auto minmax(0, 1fr); }
.edge-frame--day .copy { grid-column: 1 / 5; }
.edge-frame--day .edge-title { max-width: 14ch; font-size: 2.9cqw; }
.edge-frame--day .edge-lead { font-size: max(0.98cqw, 13px); }
.edge-frame--day .steps { grid-column: 1 / 5; grid-row: 2; align-self: start; margin-top: 1.4cqw; }
.edge-frame--day .demo { grid-column: 5 / 13; grid-row: 1 / 3; align-self: center; margin-left: 1.8cqw; }

.edge-frame--product { grid-template-rows: auto minmax(0, 1fr) auto; }
.edge-frame--product .modules { grid-column: 1 / 8; grid-row: 2; align-self: center; margin: 1.6cqw 0; }
.edge-frame--product .note { grid-column: 1 / 8; grid-row: 3; }

.edge-frame--now { grid-template-rows: auto minmax(0, 1fr) auto; }
.edge-frame--now .timeline { grid-column: 1 / 7; grid-row: 2; align-self: center; margin: 1.6cqw 0; }
.edge-frame--now .note { grid-column: 1 / 7; grid-row: 3; }
.edge-frame--now .live { grid-column: 9 / 13; grid-row: 1 / 4; align-self: end; }

.edge-frame--us { grid-template-rows: auto minmax(0, 1fr) auto; }
.edge-frame--us .values { grid-column: 1 / 8; grid-row: 2; align-self: center; margin: 1.6cqw 0; }
.edge-frame--us .team { grid-column: 1 / 9; grid-row: 3; }

.edge-frame--model { grid-template-rows: auto minmax(0, 1fr); }
.edge-frame--model .model { grid-column: 1 / 7; grid-row: 2; align-self: end; display: grid; gap: 1.3cqw; }

.edge-frame--cta { grid-template-rows: auto minmax(0, 1fr); }
.edge-frame--cta .edge-title { font-size: 3cqw; max-width: 18ch; }
.edge-frame--cta .cta-map { grid-column: 1 / 6; grid-row: 2; align-self: stretch; margin-top: 1.8cqw; }
.edge-frame--cta .cta-form { grid-column: 8 / 13; grid-row: 1 / 3; align-self: end; }
.edge-frame--cta .cta-form textarea { flex: none; height: 6cqw; }
/* Sabit alt bilginin (~93 px) altında kalmasın: kısa geniş ekranlarda panel alt kenarı yükselir */
.edge-frame--cta .cta-map, .edge-frame--cta .cta-form { margin-bottom: max(0px, calc(96px - 6cqw)); }

/* ---------- the copy moves round the screen (canvas mode only) ----------
   Each slide says where its copy sits (section[data-copy]: left, right, center, split, wide) and the camera in
   story.js frames the tower on the other side — or, for `wide`, the whole district behind a left-hand
   column. The reading scrim follows the copy (`wide` keeps the default left scrim). On phones and in the
   stacked layout the copy stays full width, left-aligned: nothing here applies. */
@media (min-width: 1024px) and (min-height: 581px) {
  .slide[data-copy="right"] .overlay {
    background:
      linear-gradient(270deg, rgba(9, 9, 11, 0.86) 0%, rgba(9, 9, 11, 0.78) 40%, rgba(9, 9, 11, 0.4) 58%, rgba(9, 9, 11, 0) 72%),
      linear-gradient(0deg, rgba(9, 9, 11, 0.42) 0%, rgba(9, 9, 11, 0) 26%);
  }
  .slide[data-copy="center"] .overlay {
    background: linear-gradient(180deg, rgba(9, 9, 11, 0.84) 0%, rgba(9, 9, 11, 0.62) 22%, rgba(9, 9, 11, 0) 40%,
      rgba(9, 9, 11, 0) 56%, rgba(9, 9, 11, 0.66) 70%, rgba(9, 9, 11, 0.9) 100%);
  }
  .slide[data-copy="split"] .overlay {
    background:
      linear-gradient(90deg, rgba(9, 9, 11, 0.86) 0%, rgba(9, 9, 11, 0.66) 25%, rgba(9, 9, 11, 0) 40%, rgba(9, 9, 11, 0) 60%,
        rgba(9, 9, 11, 0.66) 75%, rgba(9, 9, 11, 0.86) 100%),
      linear-gradient(0deg, rgba(9, 9, 11, 0.42) 0%, rgba(9, 9, 11, 0) 26%);
  }

  /* 02 — right: the three figures share the half-width column in equal thirds */
  .edge-frame--problem :is(.copy, .facts, .note) { grid-column: 7 / 13; }
  .edge-frame--problem .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqw; }
  .edge-frame--problem .facts dd { max-width: none; }
  /* 03 — centred: the title over the frame, the four steps along the foot of the screen */
  .edge-frame--method { grid-template-rows: auto minmax(0, 1fr) auto auto; }
  .edge-frame--method .copy { grid-column: 3 / 11; justify-self: center; text-align: center; }
  .edge-frame--method .copy .eyebrow { justify-content: center; }
  .edge-frame--method .edge-title { max-width: 26ch; margin-inline: auto; }
  .edge-frame--method .steps { grid-column: 1 / 13; grid-row: 3; align-self: end; margin: 0 0 1.4cqw;
    grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2.4cqw; }
  .edge-frame--method .steps li, .edge-frame--method .steps li:nth-last-child(2) { border-bottom: var(--hair) solid rgba(214, 210, 207, 0.2); }
  .edge-frame--method .principle { grid-column: 1 / 13; grid-row: 4; justify-content: center; }
  /* 05 — right */
  .edge-frame--product :is(.copy, .modules, .note) { grid-column: 7 / 13; }
  /* 07 — right; the team in three columns */
  .edge-frame--us :is(.copy, .values, .team) { grid-column: 6 / 13; }
  .edge-frame--us .team__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.1cqw; }
  /* 08 — split round the exploded tower: the argument on the left, what the model holds on the right */
  .edge-frame--model { grid-template-rows: auto minmax(0, 1fr) auto; }
  .edge-frame--model .copy { grid-column: 1 / 5; grid-row: 1; }
  .edge-frame--model .edge-title { font-size: 3.1cqw; }
  .edge-frame--model .model { grid-column: 10 / 13; grid-row: 1 / 4; align-self: center; }

  /* Floating copy: text blocks drift a few pixels against the pointer, nearer blocks further (depth
     parallax over the building). --fx/--fy come from float.js (−1…1, sprung); cards stay put, the
     frosted panels behind them are measured once. Items lift under the pointer. */
  .edge-frame > :is(.copy, .facets, .facts, .steps, .modules, .timeline, .values, .team, .model, .principle, .note) {
    translate: calc(var(--fx, 0) * var(--depth, 1) * -7px) calc(var(--fy, 0) * var(--depth, 1) * -5px);
  }
  .edge-frame > .copy { --depth: 1.2; }
  .edge-frame > :is(.facets, .facts, .steps, .modules, .timeline, .values, .team, .model) { --depth: 0.75; }
  .edge-frame > :is(.principle, .note) { --depth: 0.45; }
  :is(.facets, .modules, .values, .model, .timeline, .steps:not(.steps--day)) > li, .facts > div {
    transition: translate var(--t-move) var(--ease-out);
  }
  :is(.facets, .modules, .values, .model, .timeline, .steps:not(.steps--day)) > li.is-lit, .facts > div.is-lit { translate: 0 -3px; }
  @media (hover: hover) {
    :is(.facets, .modules, .values, .model, .timeline, .steps:not(.steps--day)) > li:hover, .facts > div:hover { translate: 0 -3px; }
  }
}
/* German runs about a fifth longer: on narrow canvases (1024–1279 px) the right-hand columns take one more grid
   column (the tower stays clear: the scrim covers the overlap), so nothing has to shrink. */
@media (min-width: 1024px) and (min-height: 581px) and (max-width: 1279px) {
  html[lang="de"] .edge-frame--problem :is(.copy, .facts, .note), html[lang="de"] .edge-frame--product :is(.copy, .modules, .note) { grid-column: 6 / 13; }
  html[lang="de"] .edge-frame--us :is(.copy, .values, .team) { grid-column: 5 / 13; }
  html[lang="de"] .edge-frame .edge-lead { line-height: 1.5; }
}
@media (min-width: 1024px) and (min-height: 581px) and (max-width: 1099px) {
  html[lang="de"] .edge-frame--problem :is(.copy, .facts, .note), html[lang="de"] .edge-frame--product :is(.copy, .modules, .note) { grid-column: 5 / 13; }
}
html.motion-reduced .edge-frame > * { translate: none !important; }
html.motion-reduced .edge-frame :is(li, .facts > div) { translate: none !important; }

/* ---------- entrance (canvas mode only) ----------
   Hedef slayt itme başlarken .is-arriving alır (main.js arrive); --enter kadar sonra kopya öğeleri sırayla 8 px yükselir, liste öğeleri
   onları izler, kartlar hafif ölçekle belirir. Yalnız opaklık + transform (compositor). Serbest kaydırmada ve
   azaltılmış harekette kapalı; yığın düzeninde hiç yok. */
@media (min-width: 1024px) and (min-height: 581px) {
    html:not(.motion-reduced) .slide.is-arriving .copy > *, html:not(.motion-reduced) .slide.is-arriving :is(.facets, .facts, .steps, .modules, .timeline, .values, .model, .team__list) > *, html:not(.motion-reduced) .slide.is-arriving :is(.principle, .note, .team__label) {
      animation: rise-in var(--t-layout) var(--ease-out) backwards;
      animation-delay: calc(var(--enter, 0ms) + var(--i, 0) * var(--stagger));
    }
    html:not(.motion-reduced) .slide.is-arriving :is(.facets, .facts, .steps, .modules, .timeline, .values, .model, .team__list) > * {
      animation-delay: calc(var(--enter, 0ms) + var(--i, 0) * var(--stagger) + 3 * var(--stagger) + var(--lead));
    }
    html:not(.motion-reduced) .slide.is-arriving :is(.principle, .note, .team__label) { animation-delay: calc(var(--enter, 0ms) + 6 * var(--stagger) + var(--lead)); }
    html:not(.motion-reduced) .slide.is-arriving .card { animation: card-in var(--t-stage) var(--ease-out) calc(var(--enter, 0ms) + 2 * var(--stagger) + var(--lead)) backwards; }
    html:not(.motion-reduced) .slide.is-arriving .copy > .edge-title { animation: title-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--enter, 0ms) + var(--stagger)) backwards; }
    html:not(.motion-reduced) .slide.is-arriving .edge-title--hero::after { animation: hero-scan 1.5s var(--ease-out) calc(var(--enter, 0ms) + 0.45s) both; }
    html:not(.motion-reduced) .slide.is-arriving :is(.facets li, .facts > div, .modules li, .values li, .model li)::before {
      animation: rule-draw 0.8s var(--ease-out) backwards;
      animation-delay: calc(var(--enter, 0ms) + var(--i, 0) * var(--stagger) + 3 * var(--stagger) + var(--lead));
    }
    html:not(.motion-reduced) .root.scroll-focus .slide :is(.copy > *, .facets > *, .facts > *, .steps > *, .modules > *, .timeline > *, .values > *, .model > *, .team__list > *, .principle, .note, .team__label, .card) { animation: none; }
    html:not(.motion-reduced) .root.scroll-focus .slide :is(.facets li, .facts > div, .modules li, .values li, .model li)::before { animation: none; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes title-in { from { clip-path: inset(0 0 100% 0); transform: translateY(0.3em); } to { clip-path: inset(-10% -5% -30% -5%); transform: none; } }
@keyframes hero-scan { 0% { opacity: 1; transform: scaleX(0); } 60% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes rule-draw { from { transform: scaleX(0); } }
@keyframes card-in { from { opacity: 0; transform: translateY(6px) scale(0.99); } to { opacity: 1; transform: none; } }
:is(.copy, .facets, .facts, .steps, .modules, .timeline, .values, .model, .team__list) > :nth-child(2) { --i: 1; }
:is(.copy, .facets, .facts, .steps, .modules, .timeline, .values, .model, .team__list) > :nth-child(3) { --i: 2; }
:is(.copy, .facets, .facts, .steps, .modules, .timeline, .values, .model, .team__list) > :nth-child(4) { --i: 3; }
:is(.copy, .facets, .facts, .steps, .modules, .timeline, .values, .model, .team__list) > :nth-child(5) { --i: 4; }

/* Varış ışığı (yığın düzeni): tuvaldeki giriş koreografisinin telefondaki karşılığı. İçerik sürüklerken zaten
   görünür olduğundan kaydırılmaz ya da soldurulmaz (göz kırpardı); yalnız ölçü çizgileri ve aks balonları sırayla
   turuncuya döner ve söner. main.js geçerli slayda .is-landing verir. Renk değişimi, hareket değil: azaltılmışta da. */
@media (max-width: 1023px), (max-height: 580px) {
  .slide.is-landing :is(.facets li, .facts > div, .modules li, .values li, .model li)::before { animation: rule-lit 1.4s ease calc(160ms + var(--i, 0) * 90ms); }
  .slide.is-landing :is(.steps li, .pilot li) .steps__n { animation: bubble-lit 1.4s ease calc(160ms + var(--i, 0) * 90ms); }
}
@keyframes rule-lit { 30% { --line: var(--accent); --tick: var(--accent); } }
@keyframes bubble-lit { 30% { border-color: var(--accent); } }

/* During free scrolling, keep the nearest slide's content legible while the
   background continues moving. Arrow navigation never enables this mode. */
@media (min-width: 1024px) and (min-height: 581px) {
  .root.scroll-focus.scroll-focus-ready .slide__scroll { opacity: 0.2; transition: opacity var(--t-layout) ease; }
  .root.scroll-focus .slide.slide--scroll-focus .slide__scroll { opacity: 1; }
}

/* ---------- 09 · form ---------- */

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1.1cqw;
  min-height: 0;
  padding: 2cqw;
}
.cta-form__title {
  margin: 0 0 0.4cqw;
  font-size: 1.5cqw; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink-bright);
}
.cta-form label { display: flex; flex-direction: column; gap: 0.45cqw; }
.cta-form .cta-form__msg { flex: 1 1 auto; min-height: 0; }
.cta-form label span {
  font: 600 max(0.66cqw, 10px)/1.2 Manrope, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.cta-form input,
.cta-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: var(--hair) solid rgba(214, 210, 207, 0.32);
  border-radius: 0;
  padding: 0.6cqw 0;
  color: var(--ink-bright);
  background: transparent;
  font: inherit;
  font-size: max(0.92cqw, 14px);
  line-height: 1.4;
  transition: border-color var(--t-color) ease, box-shadow var(--t-color) ease;
}
.cta-form textarea { flex: 1 1 auto; min-height: 4.5cqw; resize: none; }
.cta-form input.is-lit, .cta-form textarea.is-lit { border-color: rgba(214, 210, 207, 0.55); }
@media (hover: hover) { .cta-form input:hover, .cta-form textarea:hover { border-color: rgba(214, 210, 207, 0.55); } }
.cta-form input:focus-visible,
.cta-form textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.cta-form__hint { display: none; font: 500 max(0.68cqw, 12px)/1.4 Manrope, sans-serif; color: var(--accent); }
.cta-form input:user-invalid,
.cta-form textarea:user-invalid { border-color: rgba(255, 90, 0, 0.7); }
.cta-form input:user-invalid ~ .cta-form__hint,
.cta-form textarea:user-invalid ~ .cta-form__hint { display: block; }
/* Bal küpü: display:none değil — bazı botlar gizli alanları atlar, ekran dışını doldurur */
.cta-form .cta-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cta-form input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink-bright);
  -webkit-box-shadow: 0 0 0 100cqw rgba(20, 20, 24, 1) inset;
  caret-color: var(--ink-bright);
}
.cta-form .btn { align-self: flex-start; margin-top: 0.4cqw; min-width: 9cqw; }
.cta-form__status { margin: -0.4cqw 0 0; font: 500 max(0.75cqw, 13px)/1.45 Manrope, sans-serif; color: var(--ink); }
.cta-form__status.is-error { color: var(--accent); }
.cta-form.is-sending .btn { opacity: 0.75; cursor: progress; }
.cta-form.is-sending .btn:active { transform: none; }
.cta-form.is-sent > :not(.cta-form__done):not(.cta-form__title) { display: none; }
.cta-form__done[hidden] { display: none; }
.cta-form__done {
  flex: 1 1 auto;
  display: flex; flex-direction: column; justify-content: center; gap: 0.5cqw;
  animation: rise-in var(--t-stage) var(--ease-out) both;
}
.cta-form__done-title { margin: 0; font-size: 1.75cqw; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink-bright); outline: none; }
.cta-form__done-text { margin: 0; max-width: 32ch; font-size: max(0.9cqw, 13px); line-height: 1.55; color: var(--ink-dim); }
.cta-form__reset {
  align-self: flex-start; margin-top: 1cqw; padding: 0.4cqw 0;
  border: 0; border-bottom: var(--hair) solid rgba(214, 210, 207, 0.45); background: none; cursor: pointer;
  font: 600 max(0.75cqw, 12px)/1 Manrope, sans-serif; letter-spacing: 0.04em; color: var(--ink);
}
.cta-form__reset.is-lit { color: var(--accent); border-color: var(--accent); }
@media (hover: hover) { .cta-form__reset:hover { color: var(--accent); border-color: var(--accent); } }
.cta-form .btn:focus-visible,
.cta-form__reset:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }

/* ---------- 09 · map ---------- */

.cta-map {
  position: relative;
  min-height: 118px;
  overflow: hidden;
  transition: border-color var(--t-color) ease, transform var(--t-press) ease-out;
}
.cta-map.is-lit { border-color: rgba(214, 210, 207, 0.3); }
@media (hover: hover) { .cta-map:hover { border-color: rgba(214, 210, 207, 0.3); } }
.cta-map:active { transform: scale(0.99); }
/* MapLibre css'i geç gelip `.maplibregl-map { position: relative }` getirir: çift sınıf özgüllükle geçer. */
.cta-map__canvas,
.cta-map__canvas.maplibregl-map { position: absolute; inset: 0; width: auto; height: auto; }
.cta-map__canvas .maplibregl-map,
.cta-map__canvas .maplibregl-canvas-container,
.cta-map__canvas .maplibregl-canvas { background: transparent !important; }
.cta-map__canvas .maplibregl-canvas { outline: none; opacity: 0.85; transition: opacity var(--t-small) ease; }
.cta-map__canvas--static .cta-map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cta-map:has(.cta-map__canvas--static:not(.has-image)) .cta-map__attrib { display: none; }
.cta-map__canvas--static.has-image { background-position: 50% 50%; background-size: cover; background-repeat: no-repeat; opacity: 0.8; }
.cta-map__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; user-select: none; }
.cta-map__live { position: absolute; inset: 0; opacity: 0; transition: opacity var(--t-layout) ease; }
.cta-map__canvas.is-live .cta-map__live { opacity: 1; }
.cta-map__canvas.is-live { background-image: none !important; }
.cta-map__live .maplibregl-map, .cta-map__live .maplibregl-canvas-container, .cta-map__live .maplibregl-canvas { background: transparent !important; }
.cta-map__live .maplibregl-canvas { outline: none; }
.cta-map.is-lit .maplibregl-canvas { opacity: 1; }
@media (hover: hover) { .cta-map:hover .maplibregl-canvas { opacity: 1; } }

.cta-map__pin { position: relative; width: 0.625cqw; height: 0.625cqw; min-width: 10px; min-height: 10px; }
.cta-map__pin::before,
.cta-map__pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); }
.cta-map__pin::before { box-shadow: 0 0 0 2px var(--bg), 0 0 14px 2px rgba(255, 90, 0, 0.45); }
.cta-map__pin::after { opacity: 0.5; animation: cta-map-pulse 2.2s cubic-bezier(0.2, 0.6, 0.3, 1) 3 forwards; }
.cta-map__ring {
  position: absolute; left: 50%; top: 50%;
  width: 6cqw; height: 6cqw; min-width: 72px; min-height: 72px;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: var(--hair) solid rgba(255, 90, 0, 0.35);
}
.cta-map__ring::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: var(--hair) dashed rgba(255, 90, 0, 0.45); }
@keyframes cta-map-pulse { from { transform: scale(1); opacity: 0.5; } to { transform: scale(4.5); opacity: 0; } }
.cta-map__pin-label {
  position: absolute; left: calc(100% + 0.75cqw); top: 50%; transform: translateY(-50%);
  white-space: nowrap;
  font: 600 max(0.625cqw, 10px)/1 Manrope, sans-serif;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-bright);
  padding: 0.45cqw 0.65cqw;
  border: var(--hair) solid rgba(214, 210, 207, 0.22);
  background: rgba(11, 11, 13, 0.9);
}
.cta-map__pin-label::before { content: ""; position: absolute; left: -0.75cqw; top: 50%; width: 0.75cqw; height: var(--hair); background: rgba(214, 210, 207, 0.45); }

/* ODbL gereği "© OpenStreetMap" kalır — küçük, köşede, sessiz */
.cta-map__attrib {
  position: absolute; top: max(0.8cqw, 10px); right: max(1cqw, 12px); z-index: 2; margin: 0;
  font: 500 max(0.5cqw, 9px)/1.2 Manrope, sans-serif;
  letter-spacing: 0.02em; color: rgba(235, 232, 229, 0.6);
}
.cta-map__attrib a { color: inherit; text-decoration: none; display: inline-block; padding: 7px 0; margin: -7px 0; }
.cta-map__attrib a.is-lit { color: var(--ink-dim); }
@media (hover: hover) { .cta-map__attrib a:hover { color: var(--ink-dim); } }
.cta-map__link {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: max(1cqw, 12px) max(1.2cqw, 14px);
  color: var(--ink-bright);
  background: linear-gradient(0deg, rgba(11, 11, 13, 0.7) 0%, rgba(11, 11, 13, 0) 55%);
  text-decoration: none;
}
.cta-map__place { display: grid; gap: 3px; font: 500 max(0.72cqw, 12px)/1.2 Manrope, sans-serif; color: var(--ink-dim); }
.cta-map__place strong { font: inherit; font-weight: 600; color: var(--ink-bright); }
.cta-map__place small { font: inherit; color: inherit; }
.cta-map__action {
  display: inline-flex; align-items: center; gap: 0.5em;
  font: 600 max(0.7cqw, 11px)/1 Manrope, sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: color var(--t-color) ease;
}
.cta-map__action svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-small) var(--ease-out); }
.cta-map.is-lit .cta-map__action { color: var(--accent); }
@media (hover: hover) { .cta-map:hover .cta-map__action { color: var(--accent); } }
.cta-map.is-lit .cta-map__action svg { transform: translate(1px, -1px); }
@media (hover: hover) { .cta-map:hover .cta-map__action svg { transform: translate(1px, -1px); } }
.cta-map__link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* ---------- footer ---------- */

.slide-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 2cqw;
  align-items: center;
  padding: 1cqw 1.5cqw;
  border-top: var(--hair) solid var(--rule);
}
.slide-footer img { display: block; width: 7cqw; min-width: 88px; height: auto; opacity: 0.9; }
.slide-footer nav { display: flex; align-items: center; gap: 1.6cqw; }
.slide-footer button,
.slide-footer a {
  display: inline-flex; align-items: center; gap: 0.5cqw;
  padding: 0.45cqw 0; border: 0; background: none; cursor: pointer;
  font: 600 max(0.7cqw, 11px)/1 Manrope, sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(235, 232, 229, 0.62); text-decoration: none;
  transition: color var(--t-color) ease;
}
.slide-footer button.is-lit, .slide-footer a.is-lit { color: var(--ink-bright); }
@media (hover: hover) { .slide-footer button:hover, .slide-footer a:hover { color: var(--ink-bright); } }
.slide-footer__meta { display: flex; align-items: center; gap: 0.9cqw; margin: 0; font: 500 max(0.7cqw, 11px)/1 Manrope, sans-serif; letter-spacing: 0.02em; color: rgba(235, 232, 229, 0.5); }
.slide-footer__meta small { font: inherit; }
.slide-footer__sep { width: var(--hair); height: 0.9cqw; background: rgba(214, 210, 207, 0.3); }
.slide-footer__top { color: var(--ink); }
.slide-footer__top svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-small) var(--ease-out); }
.slide-footer__top.is-lit svg { transform: translateY(-2px); }
@media (hover: hover) { .slide-footer__top:hover svg { transform: translateY(-2px); } }
.slide-footer--shell {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  opacity: var(--cta-footer-opacity, 0);
  pointer-events: none;
  background: rgba(11, 11, 13, 0.94);
  padding-left: max(6vw, env(safe-area-inset-left, 0px)); padding-right: max(6vw, env(safe-area-inset-right, 0px));
  padding-bottom: calc(1cqw + env(safe-area-inset-bottom, 0px));
  transition: opacity var(--t-color) ease;
}
html[data-glass="on"] .slide-footer--shell { background: rgba(11, 11, 13, 0.86); }
.root.cta-active .slide-footer--shell { pointer-events: auto; }
.root.cta-end .slide-footer--shell { opacity: 1; }
.root.is-pushing .slide-footer--shell { opacity: 0; pointer-events: none; }   /* itme sürerken değil, varınca */
/* Son slayt dışında yalnız saydam değil, gizli: görünmez sabit katman alt kenarda durunca iOS Safari araç çubuğu şeridini
   onun yarı saydam renginden boyayamıyor, yükleme ekranının açık grisine düşüyordu. */
.root:not(.cta-active) .slide-footer--shell { visibility: hidden; }

/* ---------- stacked layout below the canvas breakpoint ---------- */

@media (max-width: 1023px), (max-height: 580px) {
  /* .slide itself is shell-owned; its stacked-mode height lives in styles.css. */
  .slide__scroll { display: block; height: auto; min-height: 100dvh; overflow: visible; opacity: 1 !important; }
  .slide__canvas { width: 100%; height: auto; min-height: 100dvh; container-type: normal; }
  .overlay { background: linear-gradient(180deg, rgba(9, 9, 11, 0.72) 0%, rgba(9, 9, 11, 0.8) 100%); }

  .edge-frame {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    height: auto;
    min-height: 100dvh;
    padding: calc(96px + env(safe-area-inset-top, 0px)) max(7vw, env(safe-area-inset-right, 0px)) 72px max(7vw, env(safe-area-inset-left, 0px));
    font-size: 16px;
  }
  @media (min-width: 821px) { .edge-frame { max-width: 860px; margin-inline: auto; padding-inline: 32px; } }
  /* Kısa telefon ekranı (iPhone'da Safari çubuklarıyla ~714 pt): üç metin slaytı iki dilde de bir ekrana sığsın diye dikey ritim
     sıkılaşır. İngilizce metin daha uzun (başlıklar bir satır fazla): başlıklar tam genişliği kullanır, bir kademe küçülür. */
  @media (max-height: 760px) and (min-height: 581px) {
    .edge-frame { gap: 18px; padding-top: calc(84px + env(safe-area-inset-top, 0px)); padding-bottom: 56px; }
    .edge-frame.edge-frame .edge-title { max-width: none; font-size: clamp(1.75rem, 6.9vw, 2.5rem); }
    .edge-frame.edge-frame .edge-title--hero { font-size: clamp(2.2rem, 9.8vw, 3.4rem); }
    .edge-frame .edge-lead { line-height: 1.5; }
    .edge-frame .btn-row { margin-top: 16px; }
    .edge-frame .facets { gap: 12px; }
    .edge-frame :is(.facets li, .steps li) > span:not(.steps__n) { line-height: 1.45; }
    .edge-frame--method .steps li { padding-top: 10px; padding-bottom: 10px; }
  }
  /* Almanca metin yaklaşık beşte bir daha uzun: kısa telefon ekranlarında (Safari çubuklarıyla 714–800 pt) 01–03 yine bir
     ekrana sığsın diye başlıklar bir kademe küçülür, gövde metni 15 px'te kalır */
  @media (max-height: 860px) and (min-height: 581px) {
    html[lang="de"] .edge-frame.edge-frame .edge-title { font-size: clamp(1.6rem, 6.3vw, 2.3rem); }
    html[lang="de"] .edge-frame.edge-frame .edge-title--hero { font-size: clamp(2rem, 8.6vw, 3rem); }
    html[lang="de"] .edge-frame .edge-lead { font-size: 15px; line-height: 1.45; }
    html[lang="de"] .edge-frame { gap: 16px; }
    html[lang="de"] .edge-frame :is(.facets li, .steps li) > span:not(.steps__n) { font-size: 13.5px; line-height: 1.4; }
    html[lang="de"] .facts dd { font-size: 13.5px; line-height: 1.45; }
  }
  /* Tuvaldeki ızgara hizalamaları (end/center) sütun akışında genişliği daraltmasın */
  .edge-frame.edge-frame > * { align-self: stretch; margin: 0; }
  .edge-frame--cta { padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }

  .eyebrow { margin-bottom: 14px; font-size: 11px; gap: 8px; }
  .eyebrow::before { width: 3px; height: 12px; }
  .edge-title { max-width: 18ch; font-size: clamp(1.9rem, 7.4vw, 2.7rem); }
  .edge-title--hero { max-width: 13ch; font-size: clamp(2.4rem, 10.5vw, 3.6rem); }
  .edge-frame--cta .edge-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .edge-lead { margin-top: 8px; max-width: 60ch; font-size: 16px; }
  .note { font-size: 12px; }
  .btn-row { margin-top: 22px; gap: 10px; }
  .btn { padding: 14px 18px; font-size: 12px; }
  .btn .btn__icon { width: 14px; height: 14px; }

  .facets b, .steps b, .modules b, .values b, .model b, .timeline time { font-size: 15px; }
  .facets b { font-size: 11px; }
  .facets li > span, .steps li > span:not(.steps__n), .modules li > span:not(.modules__n), .values li > span, .model li > span, .timeline li > span { margin-top: 4px; font-size: 14px; }
  .facets li, .facts > div, .modules li, .values li, .model li { padding-top: 12px; }
  .steps__n, .modules__n { font-size: 11px; }

  .facets, .facts, .values { grid-template-columns: 1fr; gap: 16px; }
  .edge-frame--method .steps { grid-template-columns: 1fr; }
  .edge-frame--method .steps li:nth-last-child(2) { border-bottom: 0; }
  .facts dt { white-space: normal; }
  .facts dt { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .facts dd { margin-top: 6px; max-width: none; font-size: 14px; }
  .steps li, .steps--day li { grid-template-columns: 34px minmax(0, 1fr); column-gap: 6px; padding: 12px 0; }
  .principle { gap: 8px 14px; font-size: 11px; }
  .principle i { width: 18px; height: 1px; }
  .modules { grid-template-columns: 1fr; gap: 18px; }
  .modules__n { margin-bottom: 6px; }
  .timeline { gap: 16px; padding-left: 22px; }
  .timeline::before { left: 4px; width: 1px; top: 8px; bottom: 8px; }
  .timeline li::before { left: -22px; top: 6px; width: 8px; height: 8px; border-width: 1px; }
  .model { display: grid; gap: 16px; }
  .team__label { margin-bottom: 12px; font-size: 11px; }
  .team__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .team__list img { width: 40px; height: 40px; filter: none; }
  .team__list li { gap: 10px; }
  .team__list b { font-size: 14px; }
  .team__list small { font-size: 12px; margin-top: 2px; }
  .team .note { margin-top: 16px; }
  .pilot { gap: 10px; margin-top: 20px; }
  .pilot li { grid-template-columns: 34px minmax(0, 1fr); column-gap: 6px; font-size: 15px; }

  .card { background: rgba(13, 13, 16, 0.72); box-shadow: none; }
  .btn::before { display: none; }

  /* 04: telefonda demo adımların üstünde; adım açıklamaları hep açık (okurken metin kaymasın) */
  .edge-frame--day .demo { order: 1; }
  .edge-frame--day .steps { order: 2; }
  .edge-frame--day .edge-title { max-width: 18ch; font-size: clamp(1.9rem, 7.4vw, 2.7rem); }   /* tuvaldeki 2.9cqw burada viewport'a düşüp küçülüyordu */
  .edge-frame--day .edge-lead { font-size: 16px; }
  .steps__btn { grid-template-columns: 34px minmax(0, 1fr); column-gap: 6px; padding: 12px 0; }
  .steps--day .steps__btn > span:not(.steps__n) { margin-top: 4px; font-size: 14px; }
  .steps--day b { font-size: 15px; }
  .steps__bar { left: 40px; }
  .steps__n { width: 24px; height: 24px; font-size: 11px; }
  .timeline li::before { left: -24px; top: 3px; width: 12px; height: 9px; }
  .timeline li::after { left: -28px; top: 12px; width: 23px; }
  .demo { font-size: 12px; }
  .demo__bar { gap: 10px; padding: 10px 14px; font-size: 10px; }
  .demo__crumb > span + span::before { margin: 0 6px; }
  .demo__tag { padding: 4px 6px; }
  .demo__body { grid-template-columns: 1fr; }
  .demo__main { border-right: 0; border-bottom: 1px solid rgba(214, 210, 207, 0.12); }
  .demo__side { height: 244px; }
  /* telefonda paftanın yazıları okunur kalsın */
  .demo__plan .pl-tags text, .demo__plan .pl-low text { font-size: 15px; }
  .demo__plan :is(.pl-pin, .pl-sel) text { font-size: 15px; }
  .demo__rule { margin-top: 8px; font-size: 10.5px; }
  .demo__projects { padding: 12px 14px; }
  .demo__phead { margin-bottom: 10px; }
  .demo__phead b { font-size: 14px; }
  .demo__new { gap: 6px; padding: 6px 9px; font-size: 10px; }
  .demo__row { grid-template-columns: minmax(0, 1fr) 26px 88px; gap: 8px; padding: 7px 4px; }
  .demo__row small, .demo__row--head span:last-child { display: none; }
  .demo__row--head { font-size: 9px; padding-bottom: 5px; }
  .demo[data-phase="1"]:is([data-sub="rows"], [data-sub="ready"]) .demo__row--new { max-height: 40px; padding-block: 7px; }
  .demo__prog { width: 30px; }
  .demo__drop { inset: 40px 14px 12px; gap: 10px; }
  .demo__chips { gap: 6px; }
  .demo__chips i { padding: 4px 7px; }
  .demo__tabs { gap: 3px; padding: 6px 10px; font-size: 10px; }
  .demo__tabs > span { padding: 4px 7px; }
  .demo__view { padding: 14px 16px; }
  .demo__head { gap: 10px; margin-bottom: 10px; font-size: 9.5px; }
  .demo__files { gap: 7px; }
  .demo__files li { grid-template-columns: 34px minmax(0, 1fr) 36px; gap: 8px; }
  .demo__more { margin: 6px 0 8px 42px; }
  .demo__note { gap: 10px; margin-top: 4px; }
  .demo__stats { gap: 14px 14px; }
  .demo__stats div { padding-left: 10px; }
  .demo__stats dt { font-size: 9.5px; }
  .demo__stats dd { margin-top: 4px; font-size: 24px; }
  .demo__foot-note { margin-top: 14px; }
  .demo__qrow { grid-template-columns: minmax(0, 1fr) auto 24px; gap: 6px; padding: 6px 4px; }
  .demo__qsub .demo__qrow { padding-left: 18px; }
  .demo__calc { grid-template-columns: minmax(58px, max-content) minmax(0, 1fr); column-gap: 8px; }
  .demo__calc div { padding: 7px 0; }
  .demo__calc dt { font-size: 9.5px; }
  .demo__chip { padding: 3px 6px; }
  .demo__where { gap: 0 10px; }
  .demo__title { margin-top: 3px; font-size: 16px; }
  .demo__text { margin-top: 3px; font-size: 12.5px; }
  .demo__src { gap: 0 8px; margin-top: 6px; }
  .demo__actions { gap: 8px; }
  .demo__btn { padding: 8px 12px; font-size: 10px; }
  .demo__status { gap: 8px; margin-top: 10px; }
  .demo__rev { gap: 8px; margin-top: 5px; }
  .demo__delta { gap: 2px 8px; margin-top: 10px; padding-top: 8px; }
  .demo__foot { gap: 10px; padding: 10px 14px; font-size: 10px; }
  .demo__label { min-width: 0; }
  .demo__bars { gap: 4px; }
  .finding { padding: 20px; }
  .finding__head { padding-bottom: 12px; margin-bottom: 14px; font-size: 11px; }
  .finding__where { font-size: 12px; }
  .finding__title { margin-top: 6px; font-size: 20px; }
  .finding__text { margin-top: 8px; font-size: 14px; }
  .finding__meta { gap: 12px; margin-top: 16px; }
  .finding__meta dt { font-size: 10px; }
  .finding__meta dd { margin-top: 5px; font-size: 13px; }
  .finding__record { margin-top: 16px; padding-top: 12px; font-size: 11px; }
  .live { padding: 20px; }
  .live__tag { font-size: 11px; }
  .live__title { margin-top: 12px; font-size: 22px; }
  .live__text { margin: 8px 0 18px; font-size: 14px; }
  .live .btn { padding: 12px 16px; }

  .cta-map { height: 220px; margin-top: 0; }
  .edge-frame--cta .cta-map, .edge-frame--cta .cta-form { margin-bottom: 0; }
  .cta-map__attrib { font-size: 10px; }
  .cta-map__attrib a { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 0; margin: -12px 0; }
  .cta-form { gap: 16px; padding: 22px 20px; }
  .cta-form__title { font-size: 22px; }
  .cta-form label span { font-size: 11px; }
  .cta-form input, .cta-form textarea { padding: 10px 0; font-size: 16px; }
  .cta-form textarea { min-height: 96px; }
  .cta-form .btn { min-width: 0; }
  .cta-form__done-title { font-size: 24px; }
  .cta-form__reset { font-size: 13px; }

  .slide-footer {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand top" "nav nav" "meta meta";
    gap: 6px 14px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .slide-footer--shell { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .slide-footer--shell, html[data-glass="on"] .slide-footer--shell { background: var(--bg); }   /* Safari şeridi yarı saydamı kullanmaz */
  .slide-footer img { grid-area: brand; width: 92px; min-width: 0; }
  .slide-footer__top { grid-area: top; justify-self: end; }
  .slide-footer nav { grid-area: nav; flex-wrap: wrap; gap: 0 18px; }
  .slide-footer__meta { grid-area: meta; flex-wrap: wrap; gap: 6px 10px; font-size: 11px; }
  .slide-footer__sep { height: 10px; }
  .slide-footer button, .slide-footer a { font-size: 11px; min-height: 44px; padding-top: 12px; padding-bottom: 12px; margin-top: -8px; margin-bottom: -8px; }
}

/* ---------- preferences ---------- */

/* ---------- azaltılmış hareket (html.motion-reduced) ----------
   Sistemde "Hareketi azalt" açıksa ya da ziyaretçi menüden seçtiyse (index.html'deki ilk betik sınıfı koyar).
   Hareket kaldırılır, yaşam kalır: slayt geçişi yerinde solup belirir (main.js), içerik kaymadan belirir, demo
   oynamaya devam eder ama imleç süzülmez, tarama çizgisi geçmez, hiçbir şey büyüyüp küçülmez. */
html.motion-reduced .btn, html.motion-reduced .cta-map { transition: background-color var(--t-color) ease, color var(--t-color) ease, border-color var(--t-color) ease; }
html.motion-reduced :is(.btn, .cta-map, .slide-footer button, .slide-footer a):active { transform: none; }
html.motion-reduced .btn { translate: none; }
html.motion-reduced .btn::before { transform: none; }
html.motion-reduced .live__tag i::after, html.motion-reduced .cta-map__pin::after { display: none; }
@media (min-width: 1024px) and (min-height: 581px) {
  html.motion-reduced .slide.is-arriving :is(.copy > *, .facets, .facts, .steps, .modules, .timeline, .values, .model, .team, .principle, .note, .card) {
    animation: fade-in 0.5s ease calc(var(--enter, 0ms) + 0.12s) backwards;
  }
}
@keyframes fade-in { from { opacity: 0; } }
html.motion-reduced .viewport, html.motion-reduced .scene-layer { transition: opacity 0.28s ease; }
html.motion-reduced .root.is-fading :is(.viewport, .scene-layer) { opacity: 0; transition-duration: 0.18s; }
html.motion-reduced .demo__view, html.motion-reduced .demo__status, html.motion-reduced .demo__rev, html.motion-reduced .demo__delta, html.motion-reduced .demo__drop { transform: none !important; }
html.motion-reduced .demo__cursor { transition: opacity var(--t-move) ease !important; }
html.motion-reduced .demo .pl-scan { display: none; }
html.motion-reduced .demo :is(.pl-hit rect, .pl-hit line, .pl-tags text, .pl-sel, .pl-fix rect, .pl-pin, .demo__chips i, .demo__calc div, .demo__cursor i) { animation-name: pl-fade !important; transform: none !important; }
html.motion-reduced .demo .pl-miss__pulse { animation: none; }
html.motion-reduced .demo__btn--revise { animation: none; }
@media (prefers-reduced-transparency: reduce) {
  .card, html[data-glass="on"] .card { background: rgba(11, 11, 13, 0.96); }
  .overlay { background: rgba(9, 9, 11, 0.8); }
  .slide-footer--shell, html[data-glass="on"] .slide-footer--shell { background: rgba(11, 11, 13, 0.98); }
}
@media (prefers-contrast: more) {
  .card { border-color: var(--ink); }
  .edge-lead, .facets li > span, .steps li > span:not(.steps__n), .modules li > span:not(.modules__n), .values li > span, .model li > span, .timeline li > span, .facts dd, .note { color: var(--ink-bright); }
  .cta-form input, .cta-form textarea { border-color: var(--ink); }
}
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .cta-form input, .cta-form textarea { min-height: 44px; }
}
