/* =========================================================
   WHITE LAB · Ankara Ostim · Boya Korreksiyon ve PPF Labı
   Technical-spec sunum · Blueprint DNA
   ========================================================= */

:root {
  --bg: #F4F4F1;
  --surface: #FFFFFF;
  --surface-2: #ECECE7;
  --ink: #13151A;
  --ink-soft: #2A2D35;
  --accent: #FF5722;
  --accent-2: #7A8089;
  --line: rgba(19, 21, 26, 0.14);
  --line-strong: rgba(19, 21, 26, 0.28);
  --grid: rgba(19, 21, 26, 0.07);
  --warn: #C84A1A;
  --ok: #1F8A4C;
  --header-h: 72px;
  --container: 1240px;
  --pad: clamp(20px, 3vw, 48px);
  --radius: 6px;
  interpolate-size: allow-keywords;
}

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

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
}

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

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--accent); }

button { font: inherit; color: inherit; cursor: pointer; }

main { padding-top: var(--header-h); }

::selection { background: var(--accent); color: #fff; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -100px; left: 12px;
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 4px;
  z-index: 2000; font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.12; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.25; }
h4 { font-size: 1rem; line-height: 1.3; }

p { margin: 0 0 1em; }

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-weight: 500;
  letter-spacing: 0;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}

.bracket-num {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}

section + section { border-top: 1px dashed var(--line); }

/* ---------- Blueprint background ---------- */
.bp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0;
  pointer-events: none;
  z-index: 0;
}
.bp-grid--dashed {
  background-image:
    repeating-linear-gradient(to right, var(--grid) 0 1px, transparent 1px 4px, var(--grid) 4px 5px, transparent 5px 32px),
    repeating-linear-gradient(to bottom, var(--grid) 0 1px, transparent 1px 4px, var(--grid) 4px 5px, transparent 5px 32px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  background: rgba(244, 244, 241, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms cubic-bezier(.2,.7,.2,1), border-color 240ms ease;
}
.site-header.is-scrolled {
  background: rgba(244, 244, 241, 1);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.18);
}
.site-header .header-inner {
  transition: height 240ms cubic-bezier(.2,.7,.2,1);
}
.site-header.is-scrolled .header-inner {
  height: calc(var(--header-h) - 8px);
}
.site-header.is-scrolled .brand__mark {
  transform: scale(0.92);
  transition: transform 240ms cubic-bezier(.2,.7,.2,1);
}
.brand__mark { transition: transform 240ms cubic-bezier(.2,.7,.2,1); }
.scroll-progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  pointer-events: none;
  transition: width 80ms linear;
  z-index: 1;
}

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

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 15px;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 36px; height: 36px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  display: grid; place-items: center;
  background: var(--surface);
  position: relative;
}
.brand__mark::after {
  content: 'WL';
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
}
.brand__name { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand__name small {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--accent-2);
  margin-top: 2px;
  font-weight: 400;
}

/* desktop nav */
.nav-desktop {
  display: none;
  align-items: center; gap: 28px;
}
.nav-desktop a {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 6px 0;
}
.nav-desktop a:not(.nav-cta)::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1.5px; background: var(--accent);
  transition: right 240ms cubic-bezier(.4,0,.2,1), height 200ms ease;
}
.nav-desktop a:not(.nav-cta):hover::after,
.nav-desktop a.is-active:not(.nav-cta)::after { right: 0; }
.nav-desktop a.is-active:not(.nav-cta) {
  color: var(--accent);
  font-weight: 600;
}
.nav-desktop a.is-active:not(.nav-cta)::after { height: 2px; }

.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 220ms cubic-bezier(.2,.7,.2,1),
              color 220ms ease,
              transform 280ms cubic-bezier(.2,.7,.2,1),
              box-shadow 280ms ease,
              letter-spacing 280ms ease;
  will-change: transform;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.18) 50%, transparent 72%);
  transform: translateX(-110%);
  transition: transform 620ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  z-index: -1;
}
.nav-desktop .nav-cta::after { display: none !important; }
.nav-desktop .nav-cta:hover,
.nav-desktop .nav-cta:focus-visible {
  background: var(--accent); color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(255,87,34,0.55), 0 0 0 1px rgba(255,87,34,0.22);
  letter-spacing: 0.06em;
}
.nav-desktop .nav-cta:hover::before,
.nav-desktop .nav-cta:focus-visible::before { transform: translateX(110%); }
.nav-desktop .nav-cta:active { transform: translateY(0); transition-duration: 80ms; }

@media (min-width: 1024px) {
  .nav-desktop { display: inline-flex; }
}

/* hamburger */
.nav-toggle {
  position: relative;
  min-width: 72px; height: 46px;
  padding: 0 14px 0 12px;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: 4px;
  z-index: 1200;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 200ms ease, background 200ms ease, transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 200ms ease;
  box-shadow: 0 1px 0 rgba(19,21,26,0.06), 0 0 0 0 rgba(255,87,34,0);
  font-family: 'IBM Plex Mono', monospace;
}
.nav-toggle__icon {
  display: inline-flex; flex-direction: column; align-items: stretch; justify-content: center;
  width: 20px; height: 16px;
  pointer-events: none;
}
.nav-toggle__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
  transition: color 200ms ease;
}
.nav-toggle:hover { border-color: var(--ink); background: var(--surface); box-shadow: 0 6px 18px -10px rgba(19,21,26,0.32); }
.nav-toggle:hover .nav-toggle__label { color: var(--accent); }
.nav-toggle:active { transform: scale(0.96); }
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nav-toggle__icon span {
  display: block; width: 20px; height: 2px;
  background: var(--ink);
  margin: 2.5px 0;
  border-radius: 1px;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease, background 200ms ease;
  pointer-events: none;
}
.nav-toggle__icon span:nth-child(2) { width: 20px; }
.nav-toggle.is-open .nav-toggle__icon span:nth-child(2) { width: 20px; }
.nav-toggle:hover .nav-toggle__icon span { background: var(--accent); }
.nav-toggle.is-open .nav-toggle__icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__icon span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open .nav-toggle__icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle.is-open { border-color: var(--ink); }
.nav-toggle.is-open .nav-toggle__label { color: var(--accent); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
@media (max-width: 380px) {
  .nav-toggle__label { display: none; }
  .nav-toggle { min-width: 48px; padding: 0; justify-content: center; }
}

/* ---------- Mobile drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(19,21,26,0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 240ms ease;
  z-index: 1040;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  z-index: 1050;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 16px) 28px 32px;
  box-shadow: -20px 0 60px -30px rgba(0,0,0,0.25);
}
.drawer.is-open { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.drawer-close:hover {
  background: rgba(19, 21, 26, 0.06);
  color: var(--accent);
}
.drawer-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  color: var(--accent);
}
.drawer-close:active { transform: scale(0.94); }
.drawer a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 200ms ease, padding-left 240ms cubic-bezier(.2,.7,.2,1);
}
.drawer a::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 240ms cubic-bezier(.2,.7,.2,1);
  transform: translateY(-50%);
}
.drawer a:hover { color: var(--accent); padding-left: 14px; }
.drawer a:hover::before { width: 8px; }
.drawer a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; color: var(--accent); }
.drawer a.is-active {
  color: var(--accent);
  padding-left: 14px;
  font-weight: 600;
}
.drawer a.is-active::before { width: 14px; height: 2px; }
.drawer.is-open a {
  opacity: 0;
  transform: translateX(12px);
  animation: drawerLink 480ms cubic-bezier(.2,.7,.2,1) forwards;
}
.drawer.is-open a:nth-child(1) { animation-delay: 80ms; }
.drawer.is-open a:nth-child(2) { animation-delay: 130ms; }
.drawer.is-open a:nth-child(3) { animation-delay: 180ms; }
.drawer.is-open a:nth-child(4) { animation-delay: 230ms; }
.drawer.is-open a:nth-child(5) { animation-delay: 280ms; }
.drawer.is-open a:nth-child(6) { animation-delay: 330ms; }
.drawer.is-open a:nth-child(7) { animation-delay: 380ms; }
.drawer.is-open a:nth-child(8) { animation-delay: 430ms; }
@keyframes drawerLink {
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .drawer.is-open a { animation: none; opacity: 1; transform: none; }
}
.drawer__meta {
  margin-top: auto;
  padding-top: 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--accent-2);
}
.drawer__meta strong { display: block; color: var(--ink); margin-top: 4px; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 240ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(255,87,34,0.55), 0 0 0 1px rgba(255,87,34,0.18);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(19,21,26,0.36); }

.btn .arrow {
  width: 14px; height: 10px;
  position: relative;
}
.btn .arrow::after {
  content: ''; position: absolute; right: 0; top: 50%;
  width: 100%; height: 1.5px; background: currentColor;
  transform: translateY(-50%);
}
.btn .arrow::before {
  content: ''; position: absolute; right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translate(0, -50%) rotate(45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(64px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero .bp-grid { opacity: 0.65; }

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
}

.hero__lead h1 {
  margin-top: 4px;
  margin-bottom: 24px;
}
.hero__lead h1 em {
  font-style: normal;
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero__abstract {
  max-width: 52ch;
  font-size: clamp(1rem, 1.2vw, 1.06rem);
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 32px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero__meta dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 4px;
}
.hero__meta dd {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--ink);
}
.hero__meta dd b { color: var(--accent); font-weight: 500; }

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 14px;
}

/* Hero SVG cross-section */
.hero__viz {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 32px);
  overflow: hidden;
}
.hero__viz::before {
  content: '[ FIG. 01 — KESİT ]';
  position: absolute;
  top: 12px; left: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--accent-2);
}
.hero__viz::after {
  content: 'μm = 10⁻³ mm';
  position: absolute;
  top: 12px; right: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--accent-2);
}
.cross-section-svg {
  width: 100%; height: auto;
  margin-top: 36px;
}
.cs-layer { transition: opacity 600ms ease 0ms, transform 600ms ease 0ms; opacity: 0; transform: translateY(8px); }
.is-in .cs-layer { opacity: 1; transform: none; }
.is-in .cs-layer:nth-child(1) { transition-delay: 60ms; }
.is-in .cs-layer:nth-child(2) { transition-delay: 220ms; }
.is-in .cs-layer:nth-child(3) { transition-delay: 380ms; }
.is-in .cs-layer:nth-child(4) { transition-delay: 540ms; }
.is-in .cs-layer:nth-child(5) { transition-delay: 700ms; }

.counter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.counter {
  text-align: center;
  padding: 8px 6px;
}
.counter b {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--ink);
  font-weight: 500;
  line-height: 1;
}
.counter b .unit { color: var(--accent); font-size: 0.65em; margin-left: 2px; text-transform: none; }
.counter span:not(.unit) {
  display: block; margin-top: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* ---------- Section header ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 48px;
  position: relative; z-index: 1;
}
@media (min-width: 768px) {
  .section-head { grid-template-columns: 1fr 1.5fr; gap: 64px; }
}
.section-head__index {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  align-self: start;
}
.section-head__index b { display: block; color: var(--accent); font-weight: 500; margin-bottom: 4px; font-size: 13px; }
.section-head__title h2 { margin: 0 0 12px; }
.section-head__title p { margin: 0; color: var(--ink-soft); max-width: 60ch; }

/* ---------- #olcum (PTG cihazı) ---------- */
.olcum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative; z-index: 1;
}
@media (min-width: 880px) {
  .olcum-grid { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
}
.olcum-protocol {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column;
}
.olcum-protocol h3 { margin-bottom: 18px; display: flex; align-items: baseline; gap: 8px; }
.olcum-protocol h3 .id {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent); font-size: 0.7em;
}
.olcum-list { list-style: none; padding: 0; margin: 0; }
.olcum-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
}
.olcum-list li:last-child { border-bottom: 0; }
.olcum-list b {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-2);
}
.olcum-list span {
  font-size: 14.5px;
}
.olcum-list i {
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--accent);
}

.olcum-device {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.olcum-device::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.olcum-device > * { position: relative; z-index: 1; }
.olcum-device h3 {
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.olcum-device .device-name {
  font-size: clamp(22px, 2.4vw, 28px);
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.olcum-device .device-model {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 28px;
}

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  margin-top: auto;
}
.specs > div {
  border-top: 1px dashed rgba(255,255,255,0.18);
  padding-top: 10px;
}
.specs dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.52);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.specs dd {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  color: #fff; font-size: 14px;
}

/* ---------- #katmanlar (interactive layers) ---------- */
.layers-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative; z-index: 1;
}
@media (min-width: 960px) { .layers-wrap { grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; } }

.layers-svg-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 36px);
  position: relative;
  overflow: hidden;
}
.layers-svg-box::before {
  content: '[ FIG. 02 — KATMAN MİMARİSİ ]';
  position: absolute; top: 12px; left: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--accent-2);
}
.layers-svg { width: 100%; height: auto; margin-top: 32px; cursor: crosshair; }
.layers-svg .layer-rect { transition: filter 200ms ease, opacity 200ms ease; cursor: pointer; }
.layers-svg .layer-rect:hover { filter: brightness(1.1); }
.layers-svg .layer-rect.is-active { stroke: var(--accent); stroke-width: 2; }
.layers-svg .layer-label-group { opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.layers-svg .layer-label-group.is-active { opacity: 1; }

.layer-info {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(24px, 2.5vw, 32px);
  position: relative;
  min-height: 320px;
  display: flex; flex-direction: column;
}
.layer-info .label-mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.layer-info .layer-name {
  font-size: 24px; color: #fff; margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.layer-info .layer-thickness {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 32px; color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}
.layer-info .layer-thickness small {
  color: rgba(255,255,255,0.5);
  font-size: 14px; margin-left: 4px;
}
.layer-info .layer-desc {
  color: rgba(255,255,255,0.78);
  font-size: 14.5px; line-height: 1.55;
}
.layer-info .layer-fact {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.18);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.62);
}
.layer-info .layer-fact b { color: var(--accent); font-weight: 500; }

/* ---------- #protokol — 3-aşama tablo ---------- */
.protocol-stages {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  position: relative; z-index: 1;
}
@media (min-width: 880px) { .protocol-stages { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.stage-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.4vw, 32px);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.stage-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 0 14px 40px -28px rgba(0,0,0,0.28);
}
.stage-card .stage-no {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
}
.stage-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.stage-card p {
  color: var(--ink-soft); font-size: 14.5px; margin-bottom: 18px;
}
.stage-card ul { list-style: none; padding: 0; margin: 0; }
.stage-card ul li {
  display: grid; grid-template-columns: 14px 1fr; gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
}
.stage-card ul li::before {
  content: '+';
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent); font-size: 13px;
}

.stage-meta {
  margin-top: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.stage-meta dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--accent-2); text-transform: uppercase;
  margin-bottom: 2px;
}
.stage-meta dd {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; color: var(--ink);
}

/* ---------- #ekipman — mono liste ---------- */
.equipment-block {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .equipment-block { grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
}
.brand-col {
  background: var(--surface);
  padding: clamp(24px, 2.5vw, 32px);
}
.brand-col h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 4px;
}
.brand-col .brand-name {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 28px; font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--ink);
}
.brand-col .brand-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 18px;
  border: 1px solid var(--accent);
  padding: 3px 8px; border-radius: 3px;
}
.brand-col ul { list-style: none; padding: 0; margin: 0; }
.brand-col ul li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13.5px;
  padding: 10px 0 10px 24px;
  border-top: 1px dashed var(--line);
  position: relative;
}
.brand-col ul li::before {
  content: '·';
  position: absolute;
  left: 0; top: 8px;
  width: 20px;
  color: var(--accent); font-weight: 700; font-size: 18px; line-height: 1.4;
}
.brand-col ul li small {
  color: var(--accent-2);
  font-size: 11px;
  display: block;
  margin-top: 4px;
  letter-spacing: 0.04em;
  word-spacing: 0.02em;
  font-family: 'IBM Plex Mono', monospace;
}

/* ---------- #fiyat — tablo ---------- */
.fiyat-wrap { position: relative; z-index: 1; }

.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
  background-image:
    linear-gradient(to right, var(--surface) 30%, rgba(255,255,255,0)),
    linear-gradient(to right, rgba(255,255,255,0), var(--surface) 70%) 100% 0,
    linear-gradient(to right, rgba(19,21,26,0.10), rgba(19,21,26,0)),
    linear-gradient(to left, rgba(19,21,26,0.10), rgba(19,21,26,0)) 100% 0;
  background-repeat: no-repeat;
  background-size: 28px 100%, 28px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }

.price-table {
  border-collapse: collapse;
  width: 100%;
}
.price-table caption {
  caption-side: top;
  text-align: left;
  padding: 14px 22px 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.price-table thead th {
  text-align: left;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.price-table thead th:last-child { text-align: right; }
.price-table tbody td {
  padding: 18px 22px;
  border-top: 1px dashed var(--line);
  vertical-align: top;
}
.price-table tbody td:first-child {
  font-weight: 500; color: var(--ink);
  font-size: 15px;
}
.price-table tbody td:first-child small {
  display: block; color: var(--accent-2);
  font-size: 12px; margin-top: 4px; font-weight: 400;
}
.price-table tbody td:nth-child(2) {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--ink-soft);
  font-size: 13.5px;
  white-space: nowrap;
}
.price-table tbody td:last-child {
  text-align: right;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}
.price-table tbody tr:hover td { background: rgba(255, 87, 34, 0.04); }

.price-disclaimer {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  margin-top: 8px;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}

/* ---------- Theme signature: SWIRL HARITASI ---------- */
.swirl-section {
  background: #0A0B0E;
  color: #fff;
  border-top: 0;
}
.swirl-section + section { border-top: 0; }
.swirl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 880px) { .swirl-grid { grid-template-columns: 1fr 1.3fr; gap: 56px; } }
.swirl-section .eyebrow { color: var(--accent); }
.swirl-section .eyebrow::before { background: var(--accent); }
.swirl-section h2 { color: #fff; }
.swirl-section h2 em { color: var(--accent); font-style: normal; font-family: 'IBM Plex Mono', monospace; font-weight: 500; }
.swirl-section .lead-text p { color: rgba(255,255,255,0.74); max-width: 50ch; }

.swirl-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.swirl-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 14px 0;
  border-top: 1px dashed rgba(255,255,255,0.16);
}
.swirl-list li b {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent); font-weight: 500; font-size: 13px;
}
.swirl-list li span { color: rgba(255,255,255,0.78); font-size: 14.5px; }

.swirl-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #050608;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: crosshair;
  border: 1px solid rgba(255,255,255,0.08);
}
.swirl-panel::before {
  content: '[ MOUSE = LIGHT SOURCE ]';
  position: absolute; top: 14px; left: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  z-index: 5;
  pointer-events: none;
}
.swirl-panel::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  left: var(--lx, 50%); top: var(--ly, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.92) 0%, rgba(255,200,160,0.25) 18%, rgba(255,255,255,0) 50%);
  pointer-events: none;
  z-index: 3;
  transition: opacity 200ms ease;
  mix-blend-mode: screen;
  opacity: var(--lop, 0.85);
}
.swirl-panel svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
}
.swirl-panel .scratches line {
  stroke: rgba(255,255,255,0.0);
  stroke-width: 0.5;
  transition: stroke 0ms;
}
.swirl-panel .badge {
  position: absolute; bottom: 14px; right: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.42);
  z-index: 5;
  pointer-events: none;
}

/* ---------- #iletisim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative; z-index: 1;
}
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; } }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.5vw, 36px);
}
.contact-card h3 { margin-bottom: 18px; }

.channel-list { list-style: none; padding: 0; margin: 0; }
.channel-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 8px;
  border-top: 1px dashed var(--line);
  border-radius: 4px;
  transition: background 240ms cubic-bezier(.4,0,.2,1), transform 240ms cubic-bezier(.4,0,.2,1);
}
.channel-list li:first-child { border-top: 0; }
.channel-list li:hover { background: var(--surface-2); transform: translateX(4px); }
.channel-list li:hover svg { color: var(--accent); transform: scale(1.08); }
.channel-list svg {
  width: 20px; height: 20px;
  color: var(--accent-2);
  margin-top: 2px;
  transition: color 240ms ease, transform 240ms ease;
}
.channel-list .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: block; margin-bottom: 2px;
}
.channel-list .value {
  font-size: 15px;
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
}
.channel-list a.value:hover { color: var(--accent); }
.channel-list .sub {
  font-size: 12.5px;
  color: var(--accent-2);
  display: block; margin-top: 2px;
  font-family: 'IBM Plex Mono', monospace;
}

.contact-spec {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(24px, 2.5vw, 36px);
  position: relative; overflow: hidden;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1),
              box-shadow 360ms ease;
}
.contact-spec:hover {
  transform: translateY(-3px);
  box-shadow:
    0 28px 60px -28px rgba(0,0,0,0.55),
    inset 0 0 60px -22px rgba(255,87,34,0.12);
}
@media (prefers-reduced-motion: reduce) {
  .contact-spec:hover { transform: none; box-shadow: none; }
}
.contact-spec::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.contact-spec > * { position: relative; z-index: 1; }
.contact-spec h3 { color: #fff; margin-bottom: 18px; }
.contact-spec ul { list-style: none; padding: 0; margin: 0; }
.contact-spec ul li {
  padding: 12px 0;
  border-top: 1px dashed rgba(255,255,255,0.16);
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13.5px;
}
.contact-spec ul li:first-child { border-top: 0; }
.contact-spec ul li b {
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.contact-spec ul li span { color: #fff; }

/* ---------- Form ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 880px) { .form-wrap { grid-template-columns: 1fr 1.2fr; gap: 56px; } }

.form-info h3 { margin-bottom: 12px; }
.form-info p { color: var(--ink-soft); }
.form-info ul {
  list-style: none; padding: 0; margin: 22px 0 0;
}
.form-info ul li {
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  display: grid; grid-template-columns: 16px 1fr; gap: 10px;
}
.form-info ul li::before {
  content: '+';
  color: var(--accent); font-weight: 600;
}

.lead-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.5vw, 36px);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
  font-family: 'IBM Plex Sans', sans-serif;
}
.field textarea { min-height: 120px; resize: vertical; font-family: 'IBM Plex Sans', sans-serif; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
  background: #fff;
}
.field-checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}
.field-checkbox input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 2px 0 0;
  accent-color: var(--accent);
}
.field-checkbox label {
  text-transform: none;
  letter-spacing: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}
.field-checkbox label a { color: var(--accent); text-decoration: underline; }

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
}

.form-msg {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  padding: 12px 14px;
  border-radius: 4px;
  margin-top: 14px;
  display: none;
}
.form-msg.is-shown { display: block; }
.form-msg.is-ok { background: rgba(31,138,76,0.08); color: var(--ok); border: 1px solid rgba(31,138,76,0.2); }
.form-msg.is-err { background: rgba(200,74,26,0.08); color: var(--warn); border: 1px solid rgba(200,74,26,0.2); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
html.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: none;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -18px 60px -22px rgba(19,21,26,0.36), 0 0 0 1px rgba(255,87,34,0.08);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), opacity 240ms ease;
  z-index: 9999;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
body.has-drawer-open .cookie-banner {
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 768px) {
  .cookie-banner {
    left: 24px; right: auto; bottom: 24px;
    max-width: 420px;
    margin: 0;
    padding: 18px 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
  }
}
.cookie-banner h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
  font-weight: 500;
}
.cookie-banner p {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0 0 12px;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .cookie-banner h4 { font-size: 11px; margin-bottom: 8px; }
  .cookie-banner p { font-size: 13.5px; margin-bottom: 14px; }
}
.cookie-banner p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 768px) {
  .cookie-actions { grid-template-columns: 1fr 1fr; }
}
.cookie-actions button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  padding: 13px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
  transition: background 220ms cubic-bezier(.2,.7,.2,1), color 220ms ease, border-color 220ms ease, transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 220ms ease;
  min-height: 46px;
  min-width: 0;
  width: 100%;
  position: relative;
}
.cookie-actions button[data-consent="reject"] { order: 1; }
.cookie-actions button[data-consent="accept"] { order: 2; }
.cookie-actions button[data-consent="settings"] { order: 3; }
@media (min-width: 768px) {
  .cookie-actions button[data-consent="reject"] { order: 0; }
  .cookie-actions button[data-consent="accept"] { order: 0; }
  .cookie-actions button[data-consent="settings"] { order: 0; grid-column: 1 / -1; }
}
.cookie-actions button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cookie-actions button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cookie-actions button[data-consent="reject"] {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink);
  font-weight: 600;
}
.cookie-actions button[data-consent="reject"]:hover,
.cookie-actions button[data-consent="reject"]:focus-visible {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(19,21,26,0.4);
}
.cookie-actions button[data-consent="accept"] { font-weight: 600; }
.cookie-actions button[data-consent="accept"]:hover,
.cookie-actions button[data-consent="accept"]:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(255,87,34,0.55);
}
.cookie-actions button[data-consent="settings"] {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-soft);
}
.cookie-actions button[data-consent="settings"]:hover {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.site-footer > * { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px dashed rgba(255,255,255,0.14);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand .brand__mark { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.footer-brand .brand .brand__mark::after { color: #fff; }
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  max-width: 38ch;
  line-height: 1.6;
}
.footer-col h5 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 6px 0; }
.footer-col a {
  color: rgba(255,255,255,0.78);
  font-size: 13.5px;
  font-family: 'IBM Plex Mono', monospace;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  padding-top: 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.48);
}
.footer-bottom span b { color: var(--accent); font-weight: 500; }

/* ---------- Hakkimizda / About ---------- */
.about-hero {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 5vw, 80px);
  position: relative;
}
.about-hero .bp-grid { opacity: 0.5; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative; z-index: 1;
}
@media (min-width: 880px) { .about-grid { grid-template-columns: 1fr 1.4fr; gap: 64px; } }
.about-meta {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--accent-2);
  letter-spacing: 0.04em;
}
.about-meta dl { margin: 0; }
.about-meta dt {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
  margin-top: 14px;
}
.about-meta dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 13.5px;
}

.timeline {
  position: relative;
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
}
.timeline li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px dashed var(--line);
  align-items: baseline;
}
.timeline b {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.timeline span { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.timeline span strong { color: var(--ink); font-weight: 500; }

/* ---------- Policy / docs ---------- */
.doc-page {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(64px, 8vw, 120px);
}
.doc-page h1 { margin-bottom: 12px; }
.doc-page .doc-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin: 24px 0 36px;
  display: flex; gap: 24px; flex-wrap: wrap;
}
.doc-body { max-width: 78ch; }
.doc-body h2 {
  margin-top: 48px;
  font-size: 1.4rem;
  padding-top: 28px;
  border-top: 1px dashed var(--line);
}
.doc-body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.doc-body h3 { margin-top: 28px; font-size: 1.05rem; }
.doc-body p { color: var(--ink-soft); }
.doc-body ul, .doc-body ol { padding-left: 22px; margin: 12px 0 18px; }
.doc-body li { margin: 6px 0; color: var(--ink-soft); }
.doc-body strong { color: var(--ink); }

/* sitemap */
.sitemap-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.sitemap-cols section { padding: 0; border: 0; }
.sitemap-cols h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
  border-top: 1px solid var(--ink);
  padding-top: 12px;
}
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; }
.sitemap-cols li { padding: 6px 0; }
.sitemap-cols a { color: var(--ink); font-size: 14.5px; }
.sitemap-cols a:hover { color: var(--accent); }

/* 404 */
.notfound {
  min-height: 60vh;
  display: grid; place-items: center;
  text-align: center;
  padding: 64px var(--pad);
}
.notfound .mono-big {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(72px, 14vw, 160px);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.notfound p { color: var(--ink-soft); margin: 16px 0 28px; max-width: 44ch; }

/* ---------- Helpers ---------- */
.text-accent { color: var(--accent); }
.dimension {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
}
.dimension::before, .dimension::after {
  content: ''; height: 1px; background: var(--accent-2); flex: 0 0 18px;
}
.bracketed {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent-2);
}
.bracketed::before { content: '['; margin-right: 4px; }
.bracketed::after { content: ']'; margin-left: 4px; }

@media (max-width: 480px) {
  .hero__cta .btn { width: 100%; justify-content: center; }
  .stage-meta { grid-template-columns: 1fr; }
}

/* word-break safety */
.value, .channel-list a, .doc-body p { word-break: break-word; overflow-wrap: anywhere; }

/* ---------- FAQ accordion ---------- */
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  position: relative; z-index: 1;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 240ms ease, box-shadow 240ms ease;
}
.faq-item[open] {
  border-color: var(--ink);
  box-shadow: 0 14px 40px -28px rgba(0,0,0,0.18);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  user-select: none;
  transition: background 200ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--surface-2); }
.faq-q {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.faq-icon {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 1.5px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 280ms cubic-bezier(.4,0,.2,1);
}
.faq-item summary:hover .faq-icon::before,
.faq-item summary:hover .faq-icon::after {
  background: var(--ink);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-a {
  padding: 0 22px 22px;
  border-top: 1px dashed var(--line);
  margin-top: 0;
}
.faq-a p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  max-width: 72ch;
}

/* Animated open via interpolate-size */
.faq-item {
  transition: border-color 240ms ease, box-shadow 240ms ease;
}
.faq-item::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 320ms cubic-bezier(.2,.7,.2,1), content-visibility 320ms allow-discrete;
}
.faq-item[open]::details-content {
  block-size: auto;
}

/* CTA block (alternative to inline forms on non-contact pages) */
.cta-block {
  margin: 32px 0;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.cta-block h3 { margin: 0; font-size: 1.15rem; }
.cta-block p { margin: 0; color: var(--ink-soft); max-width: 60ch; }

@media (prefers-reduced-motion: reduce) {
  .faq-item::details-content { transition: none; }
}

/* =========================================================
   THEME ATMOSPHERE · LAB SIGNATURE MICRO-EFFECTS
   ========================================================= */

/* --- Scan-line on the hero viz: a thin horizontal probe sweep --- */
.hero__viz::before { z-index: 2; }
.hero__viz::after { z-index: 2; }
.hero__viz {
  isolation: isolate;
}
.hero__viz .cross-section-svg { position: relative; z-index: 1; }
.hero__viz > .scan-line {
  position: absolute;
  left: 0; right: 0;
  top: 36px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,87,34,0.0) 8%, var(--accent) 50%, rgba(255,87,34,0.0) 92%, transparent 100%);
  filter: blur(0.5px);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.hero__viz.is-in > .scan-line {
  animation: scanProbe 2400ms cubic-bezier(.45,.05,.55,.95) 600ms 1 forwards;
}
@keyframes scanProbe {
  0%   { opacity: 0; transform: translateY(0); }
  10%  { opacity: 0.85; }
  100% { opacity: 0; transform: translateY(220px); }
}

/* --- Calibration tick: pulsing ring on counters once they finish --- */
.counter b {
  position: relative;
}
.counter b::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  pointer-events: none;
}
.counter[data-pulsed="1"] b::after {
  animation: calibTick 1100ms cubic-bezier(.2,.7,.2,1) 1;
}
@keyframes calibTick {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.4); }
  20%  { opacity: 0.7; }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(2.0); }
}

/* --- Stage cards: subtle warm glow + corner crosshair on hover --- */
.stage-card {
  isolation: isolate;
}
.stage-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,87,34,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
  z-index: 0;
}
.stage-card > * { position: relative; z-index: 1; }
.stage-card:hover::before { opacity: 1; }
.stage-card::after {
  content: '';
  position: absolute;
  top: 14px; right: 14px;
  width: 12px; height: 12px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 240ms ease, transform 280ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  z-index: 1;
}
.stage-card:hover::after { opacity: 1; transform: translate(0, 0); }

/* Stagger reveal for cards in the protocol grid */
.protocol-stages.is-in .stage-card { animation: liftIn 720ms cubic-bezier(.2,.7,.2,1) both; }
.protocol-stages.is-in .stage-card:nth-child(1) { animation-delay: 80ms; }
.protocol-stages.is-in .stage-card:nth-child(2) { animation-delay: 200ms; }
.protocol-stages.is-in .stage-card:nth-child(3) { animation-delay: 320ms; }
@keyframes liftIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Equipment columns: stagger reveal --- */
.equipment-block.is-in .brand-col { animation: liftIn 720ms cubic-bezier(.2,.7,.2,1) both; }
.equipment-block.is-in .brand-col:nth-child(1) { animation-delay: 60ms; }
.equipment-block.is-in .brand-col:nth-child(2) { animation-delay: 200ms; }
.equipment-block.is-in .brand-col:nth-child(3) { animation-delay: 340ms; }
.brand-col {
  transition: background 240ms ease;
}
.brand-col:hover { background: var(--surface); }
.brand-col:hover .brand-name { color: var(--accent); transition: color 280ms ease; }

/* --- Channel-list stagger + dot indicator --- */
.channel-list.is-in li {
  animation: chSlide 520ms cubic-bezier(.2,.7,.2,1) both;
}
.channel-list.is-in li:nth-child(1) { animation-delay: 60ms; }
.channel-list.is-in li:nth-child(2) { animation-delay: 140ms; }
.channel-list.is-in li:nth-child(3) { animation-delay: 220ms; }
.channel-list.is-in li:nth-child(4) { animation-delay: 300ms; }
.channel-list.is-in li:nth-child(5) { animation-delay: 380ms; }
.channel-list.is-in li:nth-child(6) { animation-delay: 460ms; }
@keyframes chSlide {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* --- Olcum protocol list: tick reveal on lines --- */
.olcum-list.is-in li {
  animation: tickIn 560ms cubic-bezier(.2,.7,.2,1) both;
}
.olcum-list.is-in li:nth-child(1) { animation-delay: 100ms; }
.olcum-list.is-in li:nth-child(2) { animation-delay: 180ms; }
.olcum-list.is-in li:nth-child(3) { animation-delay: 260ms; }
.olcum-list.is-in li:nth-child(4) { animation-delay: 340ms; }
.olcum-list.is-in li:nth-child(5) { animation-delay: 420ms; }
.olcum-list.is-in li:nth-child(6) { animation-delay: 500ms; }
@keyframes tickIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* --- FAQ list stagger reveal --- */
.faq-list.is-in .faq-item {
  animation: liftIn 580ms cubic-bezier(.2,.7,.2,1) both;
}
.faq-list .faq-item:nth-child(1) { animation-delay: 60ms; }
.faq-list .faq-item:nth-child(2) { animation-delay: 140ms; }
.faq-list .faq-item:nth-child(3) { animation-delay: 220ms; }
.faq-list .faq-item:nth-child(4) { animation-delay: 300ms; }
.faq-list .faq-item:nth-child(5) { animation-delay: 380ms; }

/* --- FAQ open: warm accent pulse --- */
.faq-item[open] .faq-q { color: var(--ink); }
.faq-item[open] summary {
  background: linear-gradient(to right, rgba(255,87,34,0.04), transparent 60%);
}

/* --- Channel-list hover: arrow indicator --- */
.channel-list li {
  position: relative;
}
.channel-list li::after {
  content: '→';
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%) translateX(-8px);
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  opacity: 0;
  transition: opacity 240ms ease, transform 240ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  font-size: 14px;
}
.channel-list li:hover::after,
.channel-list li:focus-within::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* --- Layer info card: subtle accent breathing --- */
.layer-info {
  isolation: isolate;
  overflow: hidden;
}
.layer-info::before {
  content: '';
  position: absolute;
  bottom: -40%; left: -10%;
  width: 80%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,87,34,0.18), transparent 65%);
  pointer-events: none;
  filter: blur(20px);
  z-index: 0;
  animation: breathe 6800ms cubic-bezier(.45,.05,.55,.95) infinite;
}
.layer-info > * { position: relative; z-index: 1; }
@keyframes breathe {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.55; }
  50%      { transform: scale(1.18) translateY(-6px); opacity: 0.85; }
}

/* --- Olcum-device: subtle shimmer line on accent strip --- */
.olcum-device {
  isolation: isolate;
}
.olcum-device::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  opacity: 0.6;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1200ms cubic-bezier(.45,.05,.55,.95) 200ms, opacity 400ms ease;
}
.olcum-device.is-in::after,
.is-in .olcum-device::after { transform: scaleX(1); }

/* --- Counter row: small dimension accent --- */
.counter-row {
  position: relative;
}
.counter-row::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  width: 1px; height: calc(100% + 2px);
  background: var(--accent);
  opacity: 0.18;
  transform: translateX(-50%);
}

/* --- Section-head index: blueprint dimension tick --- */
.section-head__index { position: relative; }
.section-head__index::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 800ms cubic-bezier(.2,.7,.2,1) 200ms;
}
.section-head.is-in .section-head__index::after { width: 32px; }

/* --- Buttons: arrow micro-shift on hover --- */
.btn .arrow { transition: transform 240ms cubic-bezier(.2,.7,.2,1); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- Universal focus visibility --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255,87,34,0.18);
}

/* --- Brand on hover: tilt mark slightly --- */
.brand__mark {
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), border-color 240ms ease;
}
.brand:hover .brand__mark {
  transform: rotate(-4deg);
  border-color: var(--accent);
}

/* --- Cross-section: subtle hatch shimmer --- */
.cs-layer text {
  font-feature-settings: 'tnum' 1;
}

/* --- Mobile-safe overflow guards --- */
@media (max-width: 720px) {
  .olcum-list li {
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    gap: 6px 14px;
  }
  .olcum-list li b { grid-row: 1; }
  .olcum-list li span { grid-row: 1; grid-column: 2; }
  .olcum-list li i { grid-row: 2; grid-column: 2; padding-top: 2px; }

  .specs { grid-template-columns: 1fr; gap: 8px; }
  .stage-meta { grid-template-columns: 1fr 1fr; }

  .footer-grid { gap: 28px; }
}

@media (max-width: 480px) {
  .header-inner { gap: 12px; }
  .brand__name { font-size: 13px; }
  .brand__name small { font-size: 9px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__mark::after { font-size: 10px; }

  .hero__meta { grid-template-columns: 1fr; gap: 12px; }
  .counter-row { grid-template-columns: 1fr; gap: 12px; }
  .counter-row::before { display: none; }

  .cookie-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .cookie-actions button { width: 100%; min-width: 0; min-height: 46px; padding: 13px 12px; font-size: 12px; letter-spacing: 0.06em; }
}

/* --- Brand-col: accent corner tick on hover (matches lab/blueprint vibe) --- */
.brand-col {
  position: relative;
  isolation: isolate;
}
.brand-col::after {
  content: '';
  position: absolute;
  bottom: 14px; right: 14px;
  width: 14px; height: 14px;
  border-bottom: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
  opacity: 0;
  transform: translate(-6px, -6px);
  transition: opacity 320ms ease, transform 320ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  z-index: 1;
}
.brand-col:hover::after { opacity: 0.85; transform: translate(0, 0); }

/* --- Price-table row: micro-shift on hover (measurement feel) --- */
.price-table tbody tr {
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
}
.price-table tbody tr:hover {
  transform: translateX(2px);
}
.price-table tbody td:last-child {
  position: relative;
  transition: color 240ms ease;
}
.price-table tbody tr:hover td:last-child { color: var(--ink); }

/* --- Hero CTA arrow: trail line on hover (paint sweep) --- */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 620ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.btn-primary:hover::before { transform: translateX(110%); }
.btn-primary > * { position: relative; z-index: 1; }

/* --- Layer rect SVG: thicker stroke + glow on hover, non-active dim --- */
.layers-svg .layer-rect {
  transition: filter 280ms ease, opacity 280ms ease, stroke-width 240ms ease;
}
.layers-svg .layer-rect.is-active {
  filter: drop-shadow(0 0 6px rgba(255,87,34,0.35));
}

/* --- Drawer accent border bloom on open --- */
.drawer {
  background-image:
    linear-gradient(to bottom, var(--accent) 0%, var(--accent) 100%);
  background-size: 0px 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), background-size 480ms cubic-bezier(.2,.7,.2,1) 80ms;
}
.drawer.is-open {
  background-size: 2px 100%;
}

/* --- Site-header subtle inner accent bar on scroll --- */
.site-header.is-scrolled::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  height: 1.5px; width: 0;
  background: var(--accent);
  animation: headerBar 1200ms cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes headerBar {
  to { width: 32px; }
}

/* --- FAQ open: gentle slide-in for the answer paragraph --- */
.faq-item[open] .faq-a p {
  animation: faqRise 360ms cubic-bezier(.2,.7,.2,1);
}
@keyframes faqRise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Cross-section hover trace: emphasize on viz hover --- */
.hero__viz:hover .cs-layer rect[fill="#13151A"] { fill: #1d2128; transition: fill 320ms ease; }

/* --- Hero ghost CTA: subtle measurement-tick on hover (lab feel) --- */
.btn-ghost {
  position: relative;
  isolation: isolate;
}
.btn-ghost::after {
  content: '';
  position: absolute;
  left: 14px; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: translate(-12px, -50%) scale(0.6);
  transition: opacity 320ms ease, transform 320ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  box-shadow: 0 0 0 2px rgba(255,87,34,0.18);
}
.btn-ghost:hover::after,
.btn-ghost:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}
.btn-ghost:hover { padding-left: 32px; }
.btn-ghost { transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 240ms ease, padding 280ms cubic-bezier(.2,.7,.2,1); }

/* --- Polish-disc hint on the primary CTA arrow (correction-theme) --- */
.btn-primary .arrow {
  transition: transform 240ms cubic-bezier(.2,.7,.2,1);
}
.btn-primary:hover .arrow { transform: translateX(6px); }

/* --- Faq icon: gentle rotate on hover (mechanical feel) --- */
.faq-item summary:hover .faq-icon { transform: rotate(45deg); transition: transform 320ms cubic-bezier(.2,.7,.2,1); }
.faq-item[open] summary:hover .faq-icon { transform: rotate(0deg); }
.faq-icon { transition: transform 320ms cubic-bezier(.2,.7,.2,1); }

/* --- Hamburger mobile: stronger visibility ring --- */
@media (max-width: 1023px) {
  .nav-toggle {
    border-color: var(--ink-soft);
  }
  .site-header.is-scrolled .nav-toggle {
    background: var(--surface);
  }
}

/* --- Reduce motion: disable atmosphere --- */
@media (prefers-reduced-motion: reduce) {
  .hero__viz > .scan-line,
  .layer-info::before,
  .section-head__index::after,
  .counter b::after,
  .site-header.is-scrolled::after,
  .faq-item[open] .faq-a p,
  .btn-primary::before {
    animation: none !important;
    transition: none !important;
  }
  .stage-card::before,
  .stage-card::after,
  .channel-list li::after,
  .stage-card,
  .equipment-block .brand-col,
  .channel-list li,
  .olcum-list li,
  .faq-list .faq-item,
  .price-table tbody tr {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .btn-ghost::after,
  .faq-item summary:hover .faq-icon {
    transition: none !important;
  }
  .btn-ghost:hover { padding-left: 22px !important; }
  .nav-toggle__icon span { transition: none !important; }
  .equipment-block .brand-col::before,
  .stage-card::before { animation: none !important; }
}

/* ===========================================================
   v2 polish · 2026-04-29
   - smoother reveal cubic-bezier
   - lab-themed hover sweep on equipment / device cards
   - stronger focus ring across interactive elements
   =========================================================== */

/* Smoother section reveal */
.reveal {
  transition: opacity 720ms cubic-bezier(.16,.84,.32,1),
              transform 760ms cubic-bezier(.16,.84,.32,1);
}

/* Lab "tape-measure" hover sweep on device + equipment + olcum cards */
.olcum-device,
.olcum-protocol,
.equipment-block,
.stage-card,
.faq-item {
  position: relative;
}
.olcum-protocol::before,
.equipment-block::before,
.faq-item::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,87,34,0) 20%,
    rgba(255,87,34,0.55) 50%,
    rgba(255,87,34,0) 80%,
    transparent 100%);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 900ms cubic-bezier(.2,.7,.2,1), opacity 320ms ease;
  pointer-events: none;
  border-radius: 2px;
}
.olcum-protocol:hover::before,
.equipment-block:hover::before,
.faq-item:hover::before {
  transform: translateX(100%);
  opacity: 1;
}

/* Soft lab-light glow on the dark device card */
.olcum-device {
  transition: transform 360ms cubic-bezier(.2,.7,.2,1),
              box-shadow 360ms ease,
              border-color 280ms ease;
}
.olcum-device:hover {
  transform: translateY(-3px);
  box-shadow:
    0 28px 60px -28px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,87,34,0.18),
    inset 0 0 50px -20px rgba(255,87,34,0.10);
}

/* Eyebrow accent line — subtle pulse on reveal */
@keyframes eyebrow-pulse {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.4); }
}
.reveal.is-in .eyebrow::before {
  transform-origin: left center;
  animation: eyebrow-pulse 1600ms cubic-bezier(.4,0,.4,1) 200ms 1;
}

/* Stronger universal focus ring (a11y) */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Card lift micro-affordance on stage-cards — adds depth without being bootstrap-y */
.stage-card {
  transition: transform 280ms cubic-bezier(.2,.7,.2,1),
              box-shadow 280ms cubic-bezier(.2,.7,.2,1),
              border-color 220ms ease;
}
.stage-card:hover {
  transform: translateY(-6px);
  border-color: var(--ink);
  box-shadow:
    0 22px 42px -22px rgba(255,87,34,0.28),
    0 12px 28px -16px rgba(19,21,26,0.20);
}
.brand-col,
.contact-card {
  transition: transform 240ms cubic-bezier(.2,.7,.2,1),
              box-shadow 240ms cubic-bezier(.2,.7,.2,1),
              border-color 220ms ease,
              background 240ms ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 36px -18px rgba(255,87,34,0.22),
    0 10px 22px -14px rgba(19,21,26,0.18);
}

@media (prefers-reduced-motion: reduce) {
  .olcum-protocol::before,
  .equipment-block::before,
  .faq-item::before,
  .nav-cta::before,
  .btn-primary::before { display: none !important; }
  .olcum-device:hover,
  .stage-card:hover,
  .nav-desktop .nav-cta:hover,
  .nav-desktop .nav-cta:focus-visible,
  .btn-primary:hover,
  .btn-ghost:hover,
  .cookie-actions button:hover {
    transform: none !important;
    box-shadow: none !important;
    letter-spacing: 0.04em !important;
  }
  .reveal.is-in .eyebrow::before { animation: none !important; }
}

/* ===========================================================
   v3 niche animations · paint-correction lab theme · 2026-04-30
   - water-bead splash on tap (hydrophobic ceramic feel)
   - polish-disc spin near brand-col headings
   - clear-coat shine sweep across price-table rows
   - droplet drift ambient on swirl section
   - micron-tick pulse on hero accent word
   =========================================================== */

/* 1. Water-bead splash · radial flash on :active (mimics water beading on freshly coated panel) */
@keyframes wl-water-bead {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.18); }
  35%  { opacity: 0.7; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.8); }
}
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,255,255,0.78) 0%,
    rgba(255,255,255,0.16) 55%,
    rgba(255,255,255,0) 75%);
  border: 1px solid rgba(255,255,255,0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%) scale(0);
}
.btn-primary:active::after {
  animation: wl-water-bead 540ms cubic-bezier(.2,.7,.2,1) 1;
}

/* 2. Polish-disc spin · rotating ring near each brand-col h3 on hover */
@keyframes wl-polish-spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}
.brand-col h3 {
  position: relative;
  padding-right: 26px;
}
.brand-col h3::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 14px; height: 14px;
  border: 1.2px solid var(--accent);
  border-radius: 50%;
  border-top-color: transparent;
  border-right-color: transparent;
  opacity: 0;
  transform: translateY(-50%) rotate(0deg);
  transition: opacity 280ms ease;
  pointer-events: none;
}
.brand-col:hover h3::after,
.brand-col:focus-within h3::after {
  opacity: 0.85;
  animation: wl-polish-spin 1200ms linear infinite;
}

/* 3. Clear-coat shine sweep · diagonal gleam across price-table rows on hover */
.price-table tbody tr {
  position: relative;
  isolation: isolate;
}
.price-table tbody tr::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg,
    transparent 28%,
    rgba(255,87,34,0.10) 46%,
    rgba(255,255,255,0.30) 50%,
    rgba(255,87,34,0.10) 54%,
    transparent 72%);
  transform: translateX(-115%);
  transition: transform 760ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  z-index: -1;
}
.price-table tbody tr:hover::after { transform: translateX(115%); }

/* 4. Droplet-drift ambient · slow falling micro-droplets on swirl section background */
@keyframes wl-droplet-drift {
  0%   { transform: translate(0, -24px) scale(0.85); opacity: 0; }
  18%  { opacity: 0.65; }
  100% { transform: translate(6px, 540px) scale(1); opacity: 0; }
}
.swirl-section { overflow: hidden; }
.swirl-section .swirl-grid { position: relative; z-index: 1; }
.swirl-section::before,
.swirl-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,87,34,0.85), rgba(255,87,34,0.10) 70%, transparent);
  filter: blur(0.4px);
  z-index: 0;
}
.swirl-section::before {
  left: 14%; top: -10px;
  animation: wl-droplet-drift 11200ms cubic-bezier(.4,0,.2,1) infinite 400ms;
}
.swirl-section::after {
  left: 76%; top: -10px;
  animation: wl-droplet-drift 14600ms cubic-bezier(.4,0,.2,1) infinite 2400ms;
}

/* 5. Micron-tick pulse · measurement dot beside the hero accent word */
@keyframes wl-micron-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,87,34,0.6), 0 0 0 0 rgba(255,87,34,0.0); transform: scale(1); }
  50%      { box-shadow: 0 0 0 4px rgba(255,87,34,0.10), 0 0 0 9px rgba(255,87,34,0.0); transform: scale(1.15); }
}
.hero__lead h1 em {
  position: relative;
  display: inline-block;
}
.hero__lead h1 em::after {
  content: '';
  position: absolute;
  right: -11px; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: wl-micron-pulse 2800ms cubic-bezier(.4,0,.2,1) infinite 600ms;
}

/* Reduced-motion guard for v3 niche animations */
@media (prefers-reduced-motion: reduce) {
  .btn-primary::after,
  .brand-col h3::after,
  .price-table tbody tr::after,
  .swirl-section::before,
  .swirl-section::after,
  .hero__lead h1 em::after {
    animation: none !important;
    transition: none !important;
    opacity: 0 !important;
  }
}
