/* Emre Kurt Works — üç filament: kobalt, amber, buz */

:root {
  --kobalt: #2238d4;
  --kobalt-deep: #18259a;
  --kobalt-night: #101a6c;
  --kobalt-ink: #111a5c;
  --kobalt-soft: #8f9cec;

  --amber: #ffa826;
  --amber-deep: #d6800f;
  --amber-soft: #ffd38f;

  --buz: #eef1f8;
  --buz-dim: #dde3f2;

  --line-ink: rgb(17 26 92 / 0.16);
  --line-buz: rgb(238 241 248 / 0.22);

  --font-display: "Anybody", "Arial Black", system-ui, sans-serif;
  --font-body: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-code: "Overpass Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-small: 0.875rem;
  --fs-body: 1.125rem;
  --fs-lead: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  --fs-h3: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-h2: clamp(2.6rem, 1.6rem + 4.2vw, 5rem);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 68px;
  --ch: 16px;
  --section-pad: clamp(72px, 10vw, 140px);
  --focus: var(--amber);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--buz);
  color: var(--kobalt-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }

h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--kobalt-ink);
  font-weight: 700;
  border-radius: 999px;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.muted { opacity: 0.72; font-size: 1rem; }

/* ---------- Başlıklar ---------- */

h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 850;
  font-stretch: 118%;
  line-height: 0.95;
  letter-spacing: -0.015em;
}

h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 760;
  font-stretch: 108%;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.sec-head p { font-size: var(--fs-lead); line-height: 1.45; max-width: 34ch; }

/* Başlık katman katman basılır: clip ve "gantry" çizgisi aynı adımlarla ilerler */
.print-title { position: relative; width: fit-content; }
.pt-in { display: block; }

.js .print-title .pt-in { clip-path: inset(100% -20px 0 -20px); }
.js .print-title.is-printed .pt-in {
  animation: print-reveal 1.15s steps(14, end) forwards;
}
.js .print-title.is-printed::after {
  content: "";
  position: absolute;
  left: -12px; right: -12px;
  height: 3px;
  border-radius: 3px;
  background: var(--amber);
  animation: print-gantry 1.15s steps(14, end) forwards;
}

@keyframes print-reveal {
  from { clip-path: inset(100% -20px 0 -20px); }
  to   { clip-path: inset(-10% -20px -10% -20px); }
}
@keyframes print-gantry {
  0%   { bottom: 0; opacity: 1; }
  92%  { bottom: 100%; opacity: 1; }
  100% { bottom: 100%; opacity: 0; }
}

/* ---------- Butonlar ve linkler ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0.8em 1.6em 0.7em;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.2s;
}
.btn:active { transform: translateY(3px); }

.btn-amber {
  background: var(--amber);
  color: var(--kobalt-ink);
  box-shadow: 0 4px 0 var(--amber-deep);
}
.btn-amber:hover { background: #ffb547; }
.btn-amber:active { box-shadow: 0 1px 0 var(--amber-deep); }

.btn-kobalt {
  background: var(--kobalt);
  color: var(--buz);
  box-shadow: 0 4px 0 var(--kobalt-night);
}
.btn-kobalt:hover { background: #2c43e6; }
.btn-kobalt:active { box-shadow: 0 1px 0 var(--kobalt-night); }

.btn-line {
  background: transparent;
  color: var(--buz);
  box-shadow: inset 0 0 0 2px rgb(238 241 248 / 0.55);
}
.btn-line:hover { box-shadow: inset 0 0 0 2px var(--buz); background: rgb(238 241 248 / 0.06); }

.btn-sm { min-height: 40px; padding: 0.6em 1.15em 0.5em; font-size: 0.95rem; }

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 750;
  color: var(--kobalt);
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.2s, color 0.2s;
}
.text-link:hover { color: var(--kobalt-deep); text-decoration-color: var(--kobalt); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--kobalt);
  color: var(--buz);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line-buz); }

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark { width: 30px; height: 30px; }
.bm-top { fill: var(--buz); }
.bm-left { fill: var(--kobalt-deep); stroke: var(--buz); stroke-width: 1; stroke-linejoin: round; }
.bm-right { fill: var(--amber); }
.bm-lines { fill: none; stroke: var(--kobalt-soft); stroke-width: 1; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-name span { font-weight: 400; color: var(--amber); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-weight: 600;
  font-size: 0.98rem;
}
.site-nav a:not(.btn) {
  text-decoration: none;
  padding: 6px 0;
  background: linear-gradient(var(--amber), var(--amber)) left bottom / 0 3px no-repeat;
  transition: background-size 0.25s ease;
}
.site-nav a:not(.btn):hover { background-size: 100% 3px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(238 241 248 / 0.1);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--buz);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-h));
  background: var(--kobalt);
  color: var(--buz);
  overflow: hidden;
}

.hero-stage {
  position: relative;
  flex: 1;
  min-height: clamp(260px, 46svh, 640px);
  max-width: none;
  padding: 0;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-fallback {
  position: absolute;
  bottom: -0.11em;
  left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 112%;
  font-size: clamp(5rem, 16vw, 15rem);
  line-height: 1;
  color: var(--amber);
  letter-spacing: -0.02em;
}
.hero.is-live .hero-fallback { visibility: hidden; }

/* Baskı tablası: PEI doku */
.plate {
  position: relative;
  background-color: var(--kobalt-deep);
  background-image:
    radial-gradient(rgb(238 241 248 / 0.07) 1px, transparent 1.6px),
    radial-gradient(rgb(16 26 108 / 0.5) 1px, transparent 1.6px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 4px;
  box-shadow: inset 0 2px 0 rgb(238 241 248 / 0.28);
}

.plate-in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas:
    "lead lcd"
    "actions lcd";
  gap: 24px 56px;
  padding-block: clamp(28px, 4vw, 48px) clamp(32px, 4.5vw, 56px);
}

.hero-lead {
  grid-area: lead;
  margin: 0;
  max-width: 36ch;
  font-size: var(--fs-lead);
  line-height: 1.4;
  font-weight: 450;
}

.hero-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 14px; align-self: start; }

.lcd {
  grid-area: lcd;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-buz);
  border-radius: 10px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.lcd-cell {
  position: relative;
  padding: 12px 14px 10px;
  background: var(--kobalt-night);
}
.lcd-cell span { display: block; font-size: 0.8rem; opacity: 0.6; }
.lcd-cell b { font-size: 1.15rem; font-weight: 700; }
.lcd-status { grid-column: 1 / -1; }
.lcd-bar {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--amber);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.lcd-form {
  grid-column: 1 / -1;
  display: flex;
  background: var(--kobalt-night);
}
.lcd-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 14px 11px;
  border: 0;
  background: transparent;
  color: var(--buz);
  font-size: 1rem;
  font-weight: 600;
}
.lcd-form input::placeholder { color: rgb(238 241 248 / 0.5); font-weight: 500; }
.lcd-form input:focus { outline: none; background: rgb(238 241 248 / 0.06); }
.lcd-form:focus-within { box-shadow: inset 0 -3px 0 var(--amber); }
.lcd-form button {
  flex: none;
  padding: 0 22px;
  border: 0;
  background: var(--amber);
  color: var(--kobalt-ink);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.lcd-form button:hover { background: #ffb547; }

/* ---------- Hizmetler ---------- */

.services {
  --focus: var(--kobalt);
  padding-block: var(--section-pad);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 32px clamp(32px, 7vw, 120px);
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 2px solid var(--line-ink);
  position: relative;
}
.service::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 72px; height: 2px;
  background: var(--amber);
}
.service-flip .service-main { order: 2; }
.service-flip .service-side { order: 1; }

.service-main h3 { margin-bottom: 1.1rem; }
.service-main p { max-width: 54ch; }

.service-side h4 { margin-top: 0.4rem; }
.link-row { display: flex; flex-wrap: wrap; gap: 4px 28px; }

.materials { list-style: none; margin: 0; padding: 0; }
.materials li {
  display: grid;
  grid-template-columns: 32px 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-ink);
}
.materials li:first-child { border-top: 1px solid var(--line-ink); }
.materials b { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.15rem; }
.materials span { font-size: 0.98rem; line-height: 1.45; }

.spool {
  --c: var(--kobalt);
  display: inline-block;
  width: 30px; height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--hole, var(--buz)) 0 24%, transparent 25%),
    repeating-radial-gradient(circle, var(--c) 0 2px, color-mix(in srgb, var(--c) 82%, black) 2px 3px);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 70%, black);
  flex: none;
}
.spool-kobalt { --c: var(--kobalt); }
.spool-kobalt-soft { --c: var(--kobalt-soft); }
.spool-amber { --c: var(--amber); }
.spool-amber-soft { --c: var(--amber-soft); }
.spool-buz { --c: #fbfcff; box-shadow: inset 0 0 0 2px var(--kobalt-soft); }

.inputs {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.inputs li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: #fff;
  font-weight: 600;
  line-height: 1.35;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.inputs svg {
  width: 40px; height: 40px;
  fill: none;
  stroke: var(--kobalt);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Arıza teşhis */
.doctor-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.doctor-list button {
  padding: 10px 16px 8px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line-ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.doctor-list button:hover { box-shadow: inset 0 0 0 1.5px var(--kobalt); }
.doctor-list button[aria-checked="true"] {
  background: var(--amber);
  box-shadow: inset 0 0 0 1.5px var(--amber-deep);
}

.doctor-result {
  --focus: var(--amber);
  padding: 24px 26px 26px;
  background: var(--kobalt);
  color: var(--buz);
  clip-path: polygon(var(--ch) 0, 100% 0, 100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%, 0 100%, 0 var(--ch));
}
.doctor-label { font-size: 0.9rem; opacity: 0.75; margin-bottom: 0.6rem; }
.doctor-result ul { margin: 0 0 1rem; padding: 0; list-style: none; }
.doctor-result li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-weight: 550;
}
.doctor-result li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 14px; height: 3px;
  border-radius: 3px;
  background: var(--amber);
}
.doctor-result .text-link { color: var(--buz); }
.doctor-result.is-swapping li { animation: cause-in 0.35s ease both; }
.doctor-result.is-swapping li:nth-child(2) { animation-delay: 0.06s; }
.doctor-result.is-swapping li:nth-child(3) { animation-delay: 0.12s; }
@keyframes cause-in {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* ---------- Fiyat hesaplama ---------- */

.calc-sec {
  --focus: var(--kobalt);
  padding-block: var(--section-pad);
  background: var(--buz-dim);
}

.calc {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 20px;
  align-items: stretch;
}

.viewer {
  --focus: var(--amber);
  position: relative;
  min-height: 560px;
  background-color: var(--kobalt-deep);
  background-image: radial-gradient(ellipse at 50% 35%, rgb(34 56 212 / 0.9), transparent 70%);
  color: var(--buz);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  overflow: hidden;
}
.viewer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.viewer-canvas:active { cursor: grabbing; }

.viewer-info {
  text-shadow: 0 1px 8px rgb(16 26 108 / 0.9);
  position: absolute;
  top: 22px; left: 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
  max-width: calc(100% - 52px);
}
.viewer-info b {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 760;
  font-size: 1.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.viewer-info span { font-size: 0.92rem; opacity: 0.72; font-variant-numeric: tabular-nums; }
.viewer-status { color: var(--amber-soft); font-weight: 700; opacity: 1 !important; }
.viewer-status[hidden] { display: none; }
.viewer-bar .btn-line { flex: none; }
.viewer-legend { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.viewer-legend i { width: 10px; height: 14px; border-radius: 2px; background: rgb(238 241 248 / 0.7); }
.viewer-legend[hidden] { display: none; }
.viewer-hint {
  position: absolute;
  top: 26px; right: 26px;
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.6;
  pointer-events: none;
}

.viewer-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px 18px;
  padding: 40px 26px 22px;
  background: linear-gradient(to top, rgb(16 26 108 / 0.95) 30%, transparent);
}
.viewer-bar p { margin: 0; font-size: 0.88rem; line-height: 1.4; opacity: 0.75; max-width: 40ch; }
.file-btn { flex: none; position: relative; }
.file-btn:focus-within { outline: 3px solid var(--buz); outline-offset: 3px; }

.viewer-drop {
  position: absolute;
  inset: 14px;
  display: none;
  place-items: center;
  border: 2px dashed var(--amber);
  border-radius: 14px;
  background: rgb(16 26 108 / 0.82);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--amber);
  pointer-events: none;
}
.viewer.is-dragging .viewer-drop { display: grid; }

.viewer-msg {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(86%, 380px);
  margin: 0;
  padding: 18px 20px 16px;
  border-radius: 12px;
  background: var(--kobalt-night);
  box-shadow: inset 0 0 0 1.5px var(--amber);
  text-align: center;
  font-weight: 600;
  line-height: 1.45;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.seg { margin: 0; padding: 0; border: 0; min-width: 0; }
.seg legend, .calc-field label { font-size: 0.92rem; font-weight: 700; margin-bottom: 10px; padding: 0; }
.seg-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-opts label { position: relative; cursor: pointer; }
.seg-opts input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opts span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 15px 7px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line-ink);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.seg-opts small { font-weight: 500; font-size: 0.8rem; opacity: 0.7; }
.seg-opts label:hover span { box-shadow: inset 0 0 0 1.5px var(--kobalt); }
.seg-opts input:checked + span { background: var(--amber); box-shadow: inset 0 0 0 1.5px var(--amber-deep); }
.seg-opts input:focus-visible + span { outline: 3px solid var(--kobalt); outline-offset: 2px; }

.calc-field { display: flex; flex-direction: column; min-width: 0; }
.calc-field label { display: flex; justify-content: space-between; gap: 8px; }
.calc-field output { font-variant-numeric: tabular-nums; color: var(--kobalt); }
.calc-field input[type="range"] { width: 100%; margin: 4px 0 0; accent-color: var(--kobalt); }
.calc-field input[type="number"],
.calc-field select {
  width: 100%;
  padding: 10px 12px 8px;
  border: 0;
  border-radius: 8px;
  background: var(--buz);
  box-shadow: inset 0 -2px 0 var(--line-ink);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.calc-field input:focus,
.calc-field select:focus { outline: none; box-shadow: inset 0 -3px 0 var(--kobalt); }
.unit-input { position: relative; }
.unit-input input { padding-right: 28px; }
.unit-input span { position: absolute; right: 12px; top: 50%; transform: translateY(-46%); opacity: 0.55; font-weight: 600; }

.calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.calc-result {
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid var(--line-ink);
}
.calc-label { display: block; font-size: 0.92rem; font-weight: 700; opacity: 0.65; }
.calc-price {
  display: block;
  margin: 2px 0 14px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 850;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.calc-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0 0 18px;
}
.calc-stats dt { font-size: 0.82rem; opacity: 0.6; font-weight: 600; }
.calc-stats dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-warn {
  margin: 0 0 16px;
  padding: 10px 14px 8px;
  border-left: 4px solid var(--amber);
  background: var(--buz);
  font-size: 0.92rem;
  line-height: 1.45;
}
.calc-note { margin: 14px 0 0; font-size: 0.85rem; line-height: 1.45; opacity: 0.65; }

/* ---------- Süreç (scroll ile baskı) ---------- */

.process {
  background: var(--kobalt-deep);
  color: var(--buz);
}
.process-track { height: 460vh; position: relative; }
.process-sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100svh - var(--header-h));
  overflow: hidden;
}
.process-grid {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: center;
}

.process-text h2 { margin-bottom: clamp(28px, 4vw, 52px); }

.steps { list-style: none; margin: 0; padding: 0; }
.step {
  position: relative;
  padding: 12px 0 12px 64px;
  opacity: 0.42;
  transition: opacity 0.35s;
}
.step::before {
  content: attr(data-n);
  position: absolute;
  left: 0; top: 10px;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--line-buz);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  padding-top: 2px;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.step h3 { font-size: clamp(1.35rem, 1rem + 1vw, 1.8rem); padding-top: 6px; }
.step p {
  max-width: 40ch;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s, margin 0.35s;
}
.step.is-active { opacity: 1; }
.step.is-active::before { background: var(--amber); color: var(--kobalt-ink); box-shadow: none; }
.step.is-active p { max-height: 9em; opacity: 0.85; margin-top: 8px; }

.process-visual {
  position: relative;
  height: min(78%, 680px);
}
.gear-canvas { width: 100%; height: 100%; }

.readout {
  position: absolute;
  left: 0; bottom: 0;
  display: flex;
  gap: 1px;
  background: var(--line-buz);
  border-radius: 10px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.readout div { padding: 10px 14px 8px; background: var(--kobalt-night); min-width: 92px; }
.readout span { display: block; font-size: 0.75rem; opacity: 0.6; }
.readout b { font-size: 1rem; }

.gcode {
  position: absolute;
  right: 0; top: 0;
  margin: 0;
  width: 15.5em;
  font-family: var(--font-code);
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgb(238 241 248 / 0.62);
  white-space: pre;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, #000 40%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%);
}

/* ---------- Teknik servis ---------- */

.tech {
  --focus: var(--kobalt);
  padding-block: var(--section-pad);
  background: var(--buz-dim);
}
.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: start;
}

/* Servis fişi: fiyat üstte, yırtma çizgisi, kapsam altta */
.ticket {
  --focus: var(--amber);
  padding: clamp(26px, 3vw, 40px);
  background: var(--kobalt);
  color: var(--buz);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}
.ticket-label { margin: 0 0 6px; font-size: 0.95rem; font-weight: 600; opacity: 0.75; }
.ticket-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 2px dashed var(--line-buz);
}
.ticket-price strong {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 900;
  font-size: clamp(2.8rem, 1.8rem + 3vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--amber);
}
.ticket-price span { font-size: 1.25rem; font-weight: 800; }
.ticket-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.ticket-list li { position: relative; display: grid; gap: 2px; padding-left: 26px; }
.ticket-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 14px; height: 3px;
  border-radius: 3px;
  background: var(--amber);
}
.ticket-list b { font-size: 1.08rem; font-weight: 800; }
.ticket-list span { font-size: 0.98rem; line-height: 1.45; opacity: 0.8; }
.ticket-note {
  margin: 0 0 24px;
  padding: 12px 14px 10px;
  border-radius: 8px;
  background: rgb(16 26 108 / 0.55);
  font-size: 0.92rem;
  line-height: 1.45;
}

.tech .doctor-result {
  --focus: var(--kobalt);
  background: #fff;
  color: var(--kobalt-ink);
}
.tech .doctor-result .text-link { color: var(--kobalt); }
.tech-brands { margin-top: 18px; }

/* ---------- Eğitimler ---------- */

.training {
  --focus: var(--kobalt);
  padding-block: var(--section-pad);
}

.tabs {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  margin-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 2px solid var(--line-ink);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab {
  position: relative;
  padding: 0 0 16px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem);
  font-weight: 780;
  font-stretch: 110%;
  white-space: nowrap;
  color: rgb(17 26 92 / 0.45);
  cursor: pointer;
  transition: color 0.2s;
}
.tab:hover { color: var(--kobalt-ink); }
.tab[aria-selected="true"] { color: var(--kobalt-ink); }
.tab::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 5px;
  width: 100%;
  border-radius: 5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.6,.05,.2,1);
}
.tab[aria-selected="true"]::after { transform: scaleX(1); }

.tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px clamp(32px, 6vw, 96px);
  align-items: start;
}
.tab-panel[hidden] { display: none; }

.course-lead {
  font-size: var(--fs-lead);
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 1.6rem;
}
.course-meta { margin: 0 0 2rem; display: grid; gap: 14px; }
.course-meta dt { font-size: 0.85rem; font-weight: 700; opacity: 0.6; }
.course-meta dd { margin: 0; line-height: 1.5; }

.modules {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  counter-reset: mod;
}
.modules li {
  counter-increment: mod;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 11px 0 9px;
  border-top: 1px solid var(--line-ink);
  font-weight: 550;
  line-height: 1.4;
}
.modules li::before {
  content: counter(mod, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--kobalt);
}

.sheet {
  margin: 0;
  padding: clamp(16px, 2.5vw, 32px);
  background-color: var(--kobalt);
  background-image:
    linear-gradient(rgb(238 241 248 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(238 241 248 / 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--buz);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}
.sheet figcaption {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-buz);
  font-size: 0.85rem;
  opacity: 0.7;
  text-align: right;
}

.drawing { width: 100%; height: auto; overflow: visible; }
.drawing .dl {
  fill: none;
  stroke: var(--buz);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.drawing .dw-center .dl { stroke-width: 1; stroke-dasharray: 14 4 2 4; opacity: 0.55; }
.drawing .dw-hidden .dl { stroke-width: 1; stroke-dasharray: 6 4; opacity: 0.6; }
.drawing .dw-dim .dl { stroke: var(--amber); stroke-width: 1.1; }
.drawing .dw-dim .arrow { fill: var(--amber); stroke: none; }
.drawing .callouts circle { fill: var(--amber); }
.drawing text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  fill: var(--buz);
}
.drawing .dw-text text { fill: var(--amber-soft); }
.drawing .dw-caption { fill: var(--buz) !important; opacity: 0.7; font-weight: 500; }
.drawing .face-top { fill: rgb(238 241 248 / 0.22); }
.drawing .face-front { fill: rgb(238 241 248 / 0.12); }
.drawing .face-side { fill: rgb(16 26 108 / 0.55); }
.drawing .face-hole { fill: var(--kobalt-night); }
.drawing .tree-root { font-weight: 800; }
.drawing .tree .dl { stroke-width: 1; opacity: 0.6; }

/* Çizim animasyonu: JS uzunluğu --len olarak yazar */
.js .drawing .dl:not(.arrow) {
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  fill-opacity: 0;
}
.js .drawing .dw-center .dl,
.js .drawing .dw-hidden .dl { stroke-dasharray: var(--len, 1000); }
.js .drawing text,
.js .drawing .arrow,
.js .drawing .callouts circle { opacity: 0; }

.js .drawing.is-drawn .dl:not(.arrow) {
  stroke-dashoffset: 0;
  fill-opacity: 1;
  transition: stroke-dashoffset 1.1s cubic-bezier(.5,0,.2,1) var(--d, 0s), fill-opacity 0.6s ease calc(var(--d, 0s) + 0.8s);
}
.js .drawing.is-drawn .dw-center .dl { stroke-dasharray: 14 4 2 4; transition-property: stroke-dashoffset; }
.js .drawing.is-drawn .dw-hidden .dl { stroke-dasharray: 6 4; transition-property: stroke-dashoffset; }
.js .drawing.is-drawn text,
.js .drawing.is-drawn .arrow,
.js .drawing.is-drawn .callouts circle {
  opacity: 1;
  transition: opacity 0.5s ease var(--d, 1.2s);
}
.js .drawing.is-drawn .dw-caption { opacity: 0.7; }

/* ---------- Hakkımda ---------- */

.about {
  --focus: var(--kobalt-ink);
  padding-block: var(--section-pad);
  background: var(--amber);
  color: var(--kobalt-ink);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 40px clamp(32px, 7vw, 120px);
  align-items: center;
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: repeating-linear-gradient(to bottom, var(--amber-deep) 0 5px, #e58d18 5px 6px);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.about-photo span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--kobalt-ink);
  opacity: 0.7;
}
.about-text h2 { margin-bottom: 1.6rem; }
.about-text p { font-size: var(--fs-lead); line-height: 1.45; max-width: 40ch; }
.about .print-title.is-printed::after { background: var(--kobalt); }

/* ---------- SSS ---------- */

.faq {
  --focus: var(--kobalt);
  padding-block: var(--section-pad);
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 40px clamp(32px, 7vw, 120px);
}
.faq-grid h2 { align-self: start; font-size: clamp(2.4rem, 1.4rem + 3vw, 3.8rem); }
.faq-list details { border-top: 2px solid var(--line-ink); }
.faq-list details:last-child { border-bottom: 2px solid var(--line-ink); }
.faq-list summary {
  position: relative;
  padding: 22px 56px 20px 0;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 20px; height: 3px;
  border-radius: 3px;
  background: var(--kobalt);
  transition: transform 0.3s ease;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details[open] summary::before { background: var(--amber-deep); }
.faq-list details p { max-width: 60ch; padding-bottom: 24px; margin: 0; }

/* ---------- İletişim ---------- */

.contact {
  padding-block: var(--section-pad);
  background: var(--kobalt);
  color: var(--buz);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px clamp(32px, 7vw, 120px);
  align-items: start;
}
.contact-intro h2 { margin-bottom: 1.4rem; }
.contact-intro > p { font-size: var(--fs-lead); line-height: 1.45; max-width: 30ch; margin-bottom: 2.2rem; }

.channels { list-style: none; margin: 0; padding: 0; }
.channels li {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
  padding: 12px 0 10px;
  border-top: 1px solid var(--line-buz);
}
.channels span { opacity: 0.6; font-size: 0.95rem; }
.channels a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.channels a:hover { color: var(--amber); }

.quote {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  padding: clamp(24px, 3.5vw, 44px);
  background: var(--kobalt-deep);
  clip-path: polygon(var(--ch) 0, 100% 0, 100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%, 0 100%, 0 var(--ch));
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.92rem; font-weight: 700; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px 10px;
  border: 0;
  border-radius: 8px;
  background: rgb(238 241 248 / 0.08);
  box-shadow: inset 0 -2px 0 rgb(238 241 248 / 0.4);
  color: var(--buz);
  font-size: 1rem;
  transition: box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field ::placeholder { color: rgb(238 241 248 / 0.45); }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--amber) 50%), linear-gradient(-45deg, transparent 50%, var(--amber) 50%);
  background-position: right 20px center, right 14px center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field select option { color: var(--kobalt-ink); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: rgb(238 241 248 / 0.13);
  box-shadow: inset 0 -3px 0 var(--amber);
}
.field.is-invalid input,
.field.is-invalid textarea { box-shadow: inset 0 -3px 0 #ff7a7a; }
.field-error { font-size: 0.85rem; color: var(--amber-soft); }

.field-opt { font-weight: 500; opacity: 0.6; }
.file-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: rgb(238 241 248 / 0.08);
  box-shadow: inset 0 0 0 1.5px rgb(238 241 248 / 0.22);
}
.file-field.has-file { box-shadow: inset 0 0 0 1.5px var(--amber); }
.file-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.file-pick {
  display: inline-block;
  padding: 9px 16px 7px;
  border-radius: 999px;
  background: var(--buz);
  color: var(--kobalt-ink);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.file-pick:hover { background: #fff; }
.file-field:focus-within .file-pick { outline: 3px solid var(--amber); outline-offset: 3px; }
.file-clear {
  padding: 0;
  border: 0;
  background: none;
  color: var(--amber-soft);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.file-field.has-file span { opacity: 1; font-weight: 600; }
.file-field span { font-size: 0.85rem; opacity: 0.7; line-height: 1.4; }
.field.is-invalid .file-field { box-shadow: inset 0 0 0 1.5px #ff7a7a; }
.turnstile-box { min-height: 65px; }
.turnstile-box[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote { position: relative; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.form-note.is-ok { opacity: 1; color: var(--amber-soft); font-weight: 600; }
.form-note.is-error { opacity: 1; color: #ffb3b3; font-weight: 600; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 4px; }
.form-note { margin: 0; font-size: 0.9rem; opacity: 0.7; max-width: 34ch; line-height: 1.45; }

/* ---------- Footer / antet ---------- */

.site-footer {
  padding-block: 56px 40px;
  background: var(--kobalt-night);
  color: var(--buz);
}
.titleblock {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 0.6fr 0.6fr 1.6fr;
  grid-template-areas:
    "name proj scale rev mat"
    "nav nav nav copy copy";
  border: 2px solid var(--line-buz);
}
.tb-cell {
  padding: 14px 18px 12px;
  border-right: 1px solid var(--line-buz);
  border-bottom: 1px solid var(--line-buz);
  min-width: 0;
}
.tb-cell > span { display: block; font-size: 0.78rem; opacity: 0.55; margin-bottom: 4px; }
.tb-cell b { font-weight: 700; font-size: 1.02rem; }
.tb-name { grid-area: name; }
.tb-proj { grid-area: proj; }
.tb-scale { grid-area: scale; }
.tb-rev { grid-area: rev; }
.tb-name b { font-family: var(--font-display); font-stretch: 112%; font-size: 1.3rem; font-weight: 850; }
.tb-mat { grid-area: mat; border-right: 0; }
.tb-nav { grid-area: nav; border-bottom: 0; }
.tb-copy { grid-area: copy; border-right: 0; border-bottom: 0; }
.tb-nav nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; }
.tb-nav a { text-decoration: none; }
.tb-nav a:hover { color: var(--amber); }

.filaments { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 700; }
.filaments li { display: inline-flex; align-items: center; gap: 8px; }
.filaments .spool { --hole: var(--kobalt-night); width: 22px; height: 22px; }
.filaments .spool-kobalt { box-shadow: inset 0 0 0 1.5px var(--kobalt-soft); }

.footnote { margin-top: 18px; font-size: 0.88rem; opacity: 0.55; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .site-nav { gap: 18px; font-size: 0.93rem; }
  .plate-in {
    grid-template-columns: 1fr;
    grid-template-areas: "lead" "actions" "lcd";
  }
  .lcd { align-self: start; max-width: 560px; }
  .titleblock {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
      "name proj proj"
      "scale rev mat"
      "nav nav nav"
      "copy copy copy";
  }
  .tb-cell { border-right: 1px solid var(--line-buz); border-bottom: 1px solid var(--line-buz); }
  .tb-nav { border-bottom: 1px solid var(--line-buz); }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0; right: 0; top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--kobalt);
    box-shadow: 0 1px 0 var(--line-buz), 0 24px 40px rgb(16 26 108 / 0.35);
    font-size: 1.15rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .site-nav a:not(.btn) { padding: 14px 0 12px; border-bottom: 1px solid var(--line-buz); background: none; }
  .site-nav .btn { margin-top: 18px; min-height: 52px; font-size: 1.05rem; }

  .sec-head { grid-template-columns: 1fr; }

  .service,
  .tab-panel,
  .about-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .calc,
  .tech-grid { grid-template-columns: 1fr; }
  .viewer { min-height: 400px; }
  .viewer-hint { display: none; }
  .service-flip .service-main { order: 0; }
  .service-flip .service-side { order: 0; }

  .about-photo { aspect-ratio: 16 / 10; }

  /* Süreç: canvas üstte, aktif adım altta */
  .process-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 8px;
    padding-block: 20px 24px;
  }
  .process-text { display: contents; }
  .process-text h2 { order: 0; font-size: clamp(2rem, 8vw, 2.6rem); margin-bottom: 0; }
  .process-visual { order: 1; height: auto; min-height: 0; }
  .steps { order: 2; min-height: 8.5em; }
  .step { display: none; padding-left: 56px; }
  .step.is-active { display: block; }
  .gcode { display: none; }
  .readout div { min-width: 0; padding: 8px 10px 6px; }
}

@media (max-width: 560px) {
  :root { --fs-body: 1.0625rem; }
  .lcd { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lcd-cell { padding: 10px 10px 8px; }
  .lcd-cell b { font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .materials li { grid-template-columns: 30px 52px 1fr; gap: 10px; }
  .inputs { grid-template-columns: 1fr; }
  .inputs li { flex-direction: row; align-items: center; }
  .quote { grid-template-columns: 1fr; }
  /* Mobilde dosya çubuğu tuvalin altına iner, model örtülmez */
  .viewer { min-height: 0; display: flex; flex-direction: column; }
  .viewer-canvas { position: relative; inset: auto; height: 300px; flex: none; }
  .viewer-bar { position: static; flex-wrap: wrap; padding: 16px 18px 20px; background: var(--kobalt-night); }
  .viewer-bar p { flex-basis: 100%; }
  .viewer-info { top: 18px; left: 20px; }
  .channels li { grid-template-columns: 1fr; gap: 2px; }
  .titleblock {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "name name"
      "proj proj"
      "scale rev"
      "mat mat"
      "nav nav"
      "copy copy";
  }
  .tb-cell { border-right: 0; }
  .tb-scale { border-right: 1px solid var(--line-buz); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .print-title .pt-in { clip-path: none; }
}
