/* ============================================================
   Koray Nalbant · portfolio
   Voice: machined, measured, quietly luminous.
   Surface: heritage near-black (#141416, from the original site).
   Signals: coral #FD6262 (alerts, CTAs, metrics) and
   periwinkle #889CE7 (data flow, links). Atmosphere: particle
   wave, faint film grain.
   ============================================================ */

:root {
  /* color — heritage keys from the original Wix site, in OKLCH */
  --bg:           oklch(0.155 0.006 270);  /* #141416 near-black */
  --surface:      oklch(0.193 0.008 272);
  --surface-2:    oklch(0.232 0.010 272);
  --ink:          oklch(0.960 0.005 270);
  --muted:        oklch(0.750 0.018 272);
  --primary:      oklch(0.720 0.100 277);  /* #889CE7 periwinkle — links, data flow */
  --accent:       oklch(0.700 0.185 25);   /* #FD6262 coral — signal, CTA, metrics */
  --accent-ink:   oklch(0.145 0.010 270);  /* text on coral fills */
  --accent-deep:  oklch(0.245 0.080 25);   /* secondary text on coral, same-hue darkening */
  --ok:           oklch(0.800 0.190 150);  /* status-LED green — engine dot only */
  --line:         oklch(0.290 0.012 272);
  --line-strong:  oklch(0.410 0.020 272);

  /* type */
  --font-sans: "Archivo", system-ui, -apple-system, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SF Mono", monospace;

  --step--1: 0.875rem;
  --step-0:  1.0625rem;
  --step-1:  clamp(1.15rem, 1rem + 0.7vw, 1.4rem);
  --step-2:  clamp(1.35rem, 1.15rem + 1vw, 1.85rem);
  --step-3:  clamp(1.65rem, 1.3rem + 1.7vw, 2.3rem);
  --step-4:  clamp(2.1rem, 1.55rem + 2.7vw, 3.4rem);
  --step-5:  clamp(2.42rem, 1.47rem + 4.94vw, 5.32rem);

  /* rhythm */
  --space-section: clamp(4.5rem, 10vw, 8.5rem);
  --container: 1160px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  interpolate-size: allow-keywords;

  /* z-scale */
  --z-header: 10;
  --z-nav-panel: 20;
  --z-grain: 50;

  color-scheme: dark;
}

/* ---------- base ---------- */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* film grain over everything, barely there */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-variation-settings: "wdth" 116;
  letter-spacing: -0.018em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

::selection { background: var(--primary); color: oklch(0.16 0.02 277); }

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: var(--z-nav-panel);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  translate: 0 -300%;
}
.skip-link:focus { translate: 0 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 640;
  font-variation-settings: "wdth" 112;
  letter-spacing: 0.005em;
}
.wordmark-glyph { width: 1.75rem; height: 1.75rem; }

.site-nav {
  display: flex;
  gap: clamp(1.1rem, 2.4vw, 2rem);
}
.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.site-nav a.active {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.header-tools { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}
.lang-switch button + button { border-left: 1px solid var(--line-strong); }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] {
  background: var(--surface-2);
  color: var(--accent);
}

.menu-btn {
  display: none;
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: calc(clamp(4rem, 10vh, 7rem) - 30px);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

/* particle-wave atmosphere: heritage of the original site's
   hero imagery, rendered live behind the content */
.hero-atmos {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 100vw;
  translate: -50% 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 28%, black 36%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 28%, black 36%, transparent);
}
.hero-atmos canvas { display: block; width: 100%; height: 100%; }

.hero-status {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: var(--step-5);
  font-weight: 680;
  line-height: 1.02;
  margin-top: 1.1rem;
  max-width: 15.5ch;
}

.hero .lead {
  margin-top: 1.6rem;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

.btn {
  display: inline-block;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 6px;
  transition: translate 0.25s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { translate: 0 -2px; }
.btn:active { translate: 0 0; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: oklch(0.75 0.175 25); color: var(--accent-ink); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- schematics ---------- */

.hero-schematic {
  margin: clamp(3rem, 8vw, 5.5rem) 0 0;
}
.hero-schematic svg, .case-schematic svg { display: block; width: 100%; height: auto; }

.n-box rect {
  fill: var(--surface);
  stroke: var(--line-strong);
  stroke-width: 1;
}
.n-engine {
  fill: var(--surface-2);
  stroke: var(--accent);
  stroke-width: 1.25;
}
.n-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  fill: var(--muted);
  text-anchor: middle;
}
.n-strong { fill: var(--ink); }
.n-micro {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  fill: var(--muted);
  text-anchor: middle;
}
.n-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  fill: var(--accent);
  text-anchor: middle;
}
.n-dot { fill: var(--ok); }

.pipe path, .pipe-dashed {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.25;
}
.pipe-dashed { stroke-dasharray: 4 5; }

/* flow pulses: only when JS has normalized pathLength */
.flow { display: none; }
html.js .flow { display: block; }
html.js .flow path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5;
  stroke-dasharray: 0.07 0.93;
  animation: flow-move 2.8s linear infinite;
  transition: stroke-width 0.35s var(--ease);
}
@keyframes flow-move {
  to { stroke-dashoffset: -1; }
}

/* draw-in on load (pathLength normalized to 1 by JS) */
@media (prefers-reduced-motion: no-preference) {
  html.js #heroSvg .pipe path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.2s var(--ease);
  }
  html.js #heroSvg.drawn .pipe path { stroke-dashoffset: 0; }
  html.js #heroSvg .pipe path:nth-child(2) { transition-delay: 0.12s; }
  html.js #heroSvg .pipe path:nth-child(3) { transition-delay: 0.24s; }
  html.js #heroSvg .pipe path:nth-child(4) { transition-delay: 0.45s; }
  html.js #heroSvg .pipe path:nth-child(5) { transition-delay: 0.57s; }
  html.js #heroSvg .pipe path:nth-child(6) { transition-delay: 0.69s; }

  html.js #heroSvg .flow { opacity: 0; transition: opacity 0.8s var(--ease) 1.1s; }
  html.js #heroSvg.drawn .flow { opacity: 1; }

  .n-dot { animation: dot-pulse 2.2s ease-in-out infinite; }
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .flow path { animation: none; stroke-dasharray: 0.05 0.1; }
}

/* ---------- sections ---------- */

.section { padding-block: var(--space-section); }

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head h2 {
  font-size: var(--step-4);
  font-weight: 660;
  line-height: 1.08;
}
.section-sub {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: var(--step-1);
  max-width: 52ch;
}

/* ---------- services: spec-sheet rows ---------- */

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.spec-row {
  display: grid;
  grid-template-columns: minmax(180px, 340px) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
}
.spec-list .spec-row:last-child { border-bottom: 1px solid var(--line); }

.spec-row h3 {
  font-size: var(--step-2);
  font-weight: 620;
  line-height: 1.15;
}
.spec-body p { max-width: 58ch; }
.spec-body > p:first-child { color: var(--ink); }
.spec-tags {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--primary);
}

/* ---------- case studies ---------- */

.case {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-block: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
}
#work .case:last-of-type { padding-bottom: 0; }

.case-meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  display: flex;
  gap: 1.1rem;
}
.case-id { color: var(--accent); }
.case-client { color: var(--muted); }

.case-info h3 {
  font-size: var(--step-3);
  font-weight: 650;
  line-height: 1.12;
  margin: 0.9rem 0 1.1rem;
  max-width: 22ch;
}
.case-info > p { max-width: 58ch; color: var(--muted); }

.case-schematic {
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in oklab, var(--surface) 55%, var(--bg));
  transition: border-color 0.35s var(--ease);
}
.case:hover .case-schematic { border-color: var(--line-strong); }
html.js .case:hover .flow path { stroke-width: 2.2; }

.impact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1.1rem 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.impact-cell { padding: 1.1rem 1.3rem; }
.impact-cell + .impact-cell { border-left: 1px solid var(--line); }

.impact dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.impact dd { margin: 0; }

.impact-value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  font-weight: 520;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.impact-unit {
  font-size: 0.85rem;
  color: var(--muted);
  margin-left: 0.4rem;
}
.impact-desc {
  display: block;
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: 0.35rem;
}

/* ---------- process rail ---------- */

.process-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(1.5rem, 3.5vw, 3rem);
}
.step {
  position: relative;
  padding-top: 1.6rem;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line-strong);
}
.step::after {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.step-name {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  font-size: var(--step-2);
  font-weight: 620;
  line-height: 1.15;
}
.step-no {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--accent);
}
.step-body {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 46ch;
}
.step-out {
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--primary);
}

/* rail draws in as each step reveals */
@media (prefers-reduced-motion: no-preference) {
  html.js .step::before {
    transform-origin: left;
    scale: 0 1;
    transition: scale 0.9s var(--ease) calc(var(--i, 0) * 160ms);
  }
  html.js .step.in::before { scale: 1 1; }
  html.js .step::after {
    opacity: 0;
    transition: opacity 0.5s var(--ease) calc(var(--i, 0) * 160ms + 0.45s);
  }
  html.js .step.in::after { opacity: 1; }
}

/* ---------- about ---------- */

.about-body {
  max-width: 55rem;
  margin-left: 0;
}
.about-body > p {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--muted);
  max-width: 67ch;
}
.about-body .about-tools {
  margin-top: 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--primary);
}

/* ---------- faq ---------- */

.faq-list { border-bottom: 1px solid var(--line); }

.faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.35rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-size: var(--step-1);
  font-weight: 560;
  line-height: 1.3;
  transition: color 0.25s var(--ease);
}
.faq-item summary:hover h3 { color: var(--accent); }

.faq-ind {
  flex-shrink: 0;
  position: relative;
  width: 1rem; height: 1rem;
  translate: 0 0.1rem;
}
.faq-ind::before,
.faq-ind::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  background: var(--accent);
}
.faq-ind::before { width: 100%; height: 1.5px; }
.faq-ind::after {
  width: 1.5px; height: 100%;
  transition: rotate 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq-item[open] .faq-ind::after { rotate: 90deg; opacity: 0; }

.faq-item::details-content {
  block-size: 0;
  overflow: clip;
}
.faq-item[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item::details-content {
    transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
  }
}

.faq-a { padding-bottom: 1.6rem; }
.faq-a p {
  max-width: 62ch;
  color: var(--muted);
}

/* ---------- contact: the coral panel ---------- */

.section-contact {
  background: var(--accent);
  color: var(--accent-ink);
}
.section-contact .contact-inner { max-width: 46rem; }
.section-contact h2 {
  font-size: var(--step-4);
  font-weight: 680;
  line-height: 1.06;
  max-width: 18ch;
}
.section-contact .lead {
  color: var(--accent-deep);
  margin-top: 1.1rem;
}
.section-contact .btn-primary {
  background: var(--accent-ink);
  color: var(--accent);
}
.section-contact .btn-primary:hover {
  background: oklch(0.22 0.012 270);
  color: var(--accent);
}
.section-contact :focus-visible { outline-color: var(--accent-ink); }
.section-contact ::selection { background: var(--accent-ink); color: var(--accent); }

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin: 2.6rem 0 0;
}
.contact-list dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
  margin-bottom: 0.3rem;
}
.contact-list dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.contact-list a {
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-decoration-thickness: 1.5px;
}
.contact-list a:hover { color: var(--accent-deep); }

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

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.75rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-note { color: var(--muted); }
.footer-top { color: var(--muted); text-decoration: none; }
.footer-top:hover { color: var(--accent); }

/* ---------- contact form dialog ---------- */

#contactDialog {
  margin: auto;
  width: min(34rem, calc(100vw - 2rem));
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
#contactDialog::backdrop {
  background: oklch(0.08 0.006 270 / 0.72);
}

.dialog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.dialog-head h3 {
  font-size: var(--step-2);
  font-weight: 640;
}
.dialog-close {
  appearance: none;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.15rem 0.35rem;
  cursor: pointer;
}
.dialog-close:hover { color: var(--accent); }

#contactForm { display: grid; gap: 1.05rem; }
#contactForm label { display: grid; gap: 0.4rem; }
#contactForm label span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
#contactForm input,
#contactForm textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
}
#contactForm textarea { resize: vertical; min-height: 7rem; }
#contactForm input:focus-visible,
#contactForm textarea:focus-visible {
  outline-offset: 0;
  border-color: var(--accent);
}
.dialog-actions { margin-top: 0.3rem; }
.form-note {
  margin-top: 0.75rem;
  font-size: var(--step--1);
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  #contactDialog[open] {
    transition: opacity 0.3s var(--ease), translate 0.3s var(--ease);
  }
  @starting-style {
    #contactDialog[open] { opacity: 0; translate: 0 10px; }
  }
}

/* ---------- reveals ---------- */

@media (prefers-reduced-motion: no-preference) {
  html.js .rv {
    opacity: 0;
    translate: 0 22px;
    transition: opacity 0.8s var(--ease), translate 0.8s var(--ease);
    transition-delay: calc(var(--i, 0) * 95ms);
  }
  html.js .rv.in {
    opacity: 1;
    translate: 0 0;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; }
  .case-info h3 { max-width: none; }
  .process-rail { grid-template-columns: 1fr; row-gap: 2.5rem; }

  .menu-btn { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: var(--z-nav-panel);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--pad) 1.5rem;
  }
  .site-nav.open { display: grid; gap: 1rem; }
  .site-nav a { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .site-nav.open {
    transition: opacity 0.35s var(--ease), translate 0.35s var(--ease);
  }
  @starting-style {
    .site-nav.open { opacity: 0; translate: 0 -8px; }
  }
}

@media (max-width: 759px) {
  /* hero diyagramı telefonda okunamayacak kadar küçülüyor; yalnızca mobilde gizli */
  .hero-schematic { display: none; }
  .spec-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .impact { grid-template-columns: 1fr; }
  .impact-cell + .impact-cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
