/* ============================================================
   Tayfun Tura — kişisel web sitesi
   Tema: çelik kalıp + erimiş metal + teknik resim
   ============================================================ */

@property --fill { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
@property --cool { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
@property --wx   { syntax: "<length>";     inherits: true; initial-value: 0px; }

:root {
  --bg: #0c0e11;
  --bg-2: #12151a;
  --bg-3: #181c22;
  --steel: #262b33;
  --steel-2: #353c46;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #ece8e2;
  --muted: #9aa1ab;
  --dim: #6b727c;
  --molten: #ff6a1a;
  --molten-2: #ffb347;
  --molten-3: #e2380c;
  --blue: #6fd0ff;
  --blue-dim: rgba(111, 208, 255, .12);
  --ok: #5fd39a;
  --warn: #ffcc4d;
  --bad: #ff5a5a;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --nav-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--molten); color: #140800; }

/* ince teknik ızgara arka plan */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  opacity: .55;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--molten); color: #140800; padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--molten-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- kaydırma: yolluk ilerleme çizgisi ---------- */
.runner {
  position: fixed; left: 0; top: 0; height: 3px; width: 100%;
  z-index: 120; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--molten-3), var(--molten), var(--molten-2));
  box-shadow: 0 0 12px rgba(255, 106, 26, .8);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(12, 14, 17, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; letter-spacing: .02em; }
.brand img { width: auto; height: 34px; }
.brand small { display: block; font: 500 10.5px/1.2 var(--mono); color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 14px; color: var(--muted); transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--molten); color: #160900; font-weight: 600; font-size: 14px;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(255,106,26,.8); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); transition: transform .25s, opacity .25s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; padding: 12px var(--gutter) 24px;
    background: rgba(12,14,17,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav-links a { font-size: 17px; padding: 12px 8px; }
  .menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .menu-open .nav { background: rgba(12,14,17,.97); }
}

/* ---------- ortak ---------- */
section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--molten-2);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.h2 {
  font-family: var(--display); font-weight: 800; font-stretch: 110%;
  font-size: clamp(34px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.02em;
  margin: 18px 0 20px; text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--molten); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 62ch; margin: 0; }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line-2);
  font-weight: 600; font-size: 15px; cursor: pointer; background: transparent;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); }
.btn-hot { background: linear-gradient(180deg, #ff7f35, var(--molten) 60%, #f0520f); border-color: transparent; color: #170a00; box-shadow: 0 10px 30px -12px rgba(255,106,26,.9), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-hot:hover { box-shadow: 0 16px 40px -12px rgba(255,106,26,1), inset 0 1px 0 rgba(255,255,255,.35); }
.btn svg { width: 18px; height: 18px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::after { /* sıcak parıltı */
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; left: -300px; bottom: -520px;
  background: radial-gradient(circle, rgba(255,106,26,.28), transparent 60%);
  filter: blur(20px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(95,211,154,.15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(95,211,154,0); } }

/* isim: harflerin içi erimiş metalle dolar, sonra soğur */
.pour {
  --fill: 0%; --cool: 0%;
  margin: 0;
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(52px, 8.4vw, 124px); line-height: .88; letter-spacing: -.035em;
  text-transform: uppercase;
}
.pour .ln { display: block; position: relative; width: fit-content; }
.pour .ln span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(236, 232, 226, .28);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12 Q25 0 50 12 T100 12 T150 12 T200 12 V24 H0Z' fill='%23ffb347'/%3E%3C/svg%3E"),
    linear-gradient(0deg,
      color-mix(in oklab, #e2380c, #7d8691 var(--cool)) 0%,
      color-mix(in oklab, #ff6a1a, #d9dee5 var(--cool)) 48%,
      color-mix(in oklab, #ffb347, #f6f7f9 var(--cool)) 100%);
  background-repeat: repeat-x, no-repeat;
  background-size: 200px 24px, 100% var(--fill);
  background-position: var(--wx) calc(100% - var(--fill) + 22px), 0 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: wave 1.6s linear infinite;
  filter: drop-shadow(0 0 24px rgba(255, 106, 26, .2));
}
.pour .ln:nth-child(2) span { animation-duration: 1.9s; }
.pour.go .ln span { animation: wave 1.6s linear infinite, fillup 2.4s cubic-bezier(.45,.05,.3,1) forwards, cool 2.6s ease-out 2.6s forwards; }
.pour.go .ln:nth-child(2) span { animation: wave 1.9s linear infinite, fillup 2.2s cubic-bezier(.45,.05,.3,1) .55s forwards, cool 2.6s ease-out 3s forwards; }
@keyframes wave { to { --wx: 200px; } }
@keyframes fillup { to { --fill: 150%; } }
@keyframes cool { to { --cool: 100%; } }

.roles { margin: 28px 0 0; font-size: clamp(18px, 2.1vw, 24px); color: var(--muted); display: flex; flex-wrap: wrap; gap: .35em; align-items: baseline; }
.roles b { color: var(--text); font-weight: 600; }
.role-rot { position: relative; display: inline-block; color: var(--molten); font-weight: 700; min-width: 10ch; }
.role-rot::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -.12em; background: var(--molten); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-text { margin: 22px 0 36px; font-size: 17px; color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* fotoğraf: teknik resim çerçevesinde parça */
.spec {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(111,208,255,.05), rgba(111,208,255,.01));
}
.spec::before, .spec::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--blue); }
.spec::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.spec::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.spec-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--bg-3); }
.spec-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; filter: saturate(.9) contrast(1.04); transform: scale(1.02); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.spec:hover .spec-photo img { transform: scale(1.06); }
.spec-photo::after { /* tarama çizgisi */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(111,208,255,.22) 50%, transparent 52%) 0 -100% / 100% 200% no-repeat;
  animation: scan 5s ease-in-out infinite 1.5s;
  mix-blend-mode: screen;
}
@keyframes scan { 0% { background-position: 0 -100%; } 60%, 100% { background-position: 0 200%; } }
.dim { position: absolute; font: 500 10.5px/1 var(--mono); color: var(--blue); letter-spacing: .06em; white-space: nowrap; }
.dim-top { left: 26px; right: 26px; top: 8px; display: flex; align-items: center; gap: 8px; }
.dim-top::before, .dim-top::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .6; }
.dim-side { right: 4px; top: 26px; bottom: 26px; writing-mode: vertical-rl; display: flex; align-items: center; gap: 8px; }
.dim-side::before, .dim-side::after { content: ""; flex: 1; width: 1px; background: currentColor; opacity: .6; }
.title-block {
  display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 14px;
  border: 1px solid var(--line-2); font: 500 10.5px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em;
}
.title-block div { padding: 8px 10px; border-right: 1px solid var(--line-2); }
.title-block div:last-child { border-right: 0; }
.title-block b { display: block; color: var(--text); font-weight: 600; font-size: 12px; margin-top: 3px; }
.callout {
  position: absolute; z-index: 2; left: -14px; bottom: 120px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(18,21,26,.9); backdrop-filter: blur(8px); border: 1px solid var(--line-2);
  font: 500 11px/1.35 var(--mono); color: var(--muted);
  box-shadow: 0 20px 40px -20px #000;
}
.callout b { color: var(--molten-2); font-size: 13px; }

.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font: 500 11px/1 var(--mono); color: var(--dim); letter-spacing: .2em; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint i { width: 1px; height: 36px; background: linear-gradient(var(--molten), transparent); animation: drip 1.8s ease-in infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .pour { font-size: clamp(52px, 16.5vw, 120px); }
  .scroll-hint { display: none; }
  .callout { left: auto; right: 10px; bottom: 90px; }
}

/* ---------- rakam şeridi ---------- */
.stats { padding: 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -.02em; }
.stat .num small { font-size: .45em; color: var(--molten); margin-left: 4px; letter-spacing: 0; }
.stat p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat { padding: 26px 16px; }
}

/* ============================================================
   HAKKIMDA
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.about-copy p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.about-copy p strong { color: var(--text); font-weight: 600; }
.quote {
  margin: 32px 0 0; padding: 22px 24px; border-left: 3px solid var(--molten);
  background: linear-gradient(90deg, rgba(255,106,26,.08), transparent);
  font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.35; color: var(--text);
}
.quote cite { display: block; margin-top: 10px; font: 500 12px/1 var(--mono); color: var(--muted); font-style: normal; letter-spacing: .1em; text-transform: uppercase; }

.hats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hat {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
  overflow: hidden; transition: border-color .3s, transform .3s;
}
.hat::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,106,26,.22), transparent 65%);
  opacity: 0; transition: opacity .4s;
}
.hat:hover { border-color: rgba(255,106,26,.45); transform: translateY(-3px); }
.hat:hover::before { opacity: 1; }
.hat .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,106,26,.1); color: var(--molten); margin-bottom: 18px; }
.hat .ico svg { width: 24px; height: 24px; }
.hat h3 { margin: 0 0 6px; font-family: var(--display); font-size: 19px; font-weight: 700; }
.hat p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.hat .tag { position: absolute; right: 16px; top: 16px; font: 500 10px/1 var(--mono); color: var(--dim); letter-spacing: .1em; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hats { grid-template-columns: 1fr; } }

/* ============================================================
   UZMANLIK
   ============================================================ */
.expertise { background: var(--bg-2); border-block: 1px solid var(--line); }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.exp {
  position: relative; padding: 34px 30px 30px; min-height: 250px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); transition: background .35s;
  display: flex; flex-direction: column;
}
.exp:nth-child(3n) { border-right: 0; }
.exp:nth-last-child(-n+3) { border-bottom: 0; }
.exp:hover { background: var(--bg-3); }
.exp .idx { font: 500 12px/1 var(--mono); color: var(--dim); }
.exp svg.glyph { width: 56px; height: 56px; margin: 22px 0 20px; color: var(--molten); }
.exp svg.glyph .hot { transition: fill .4s; }
.exp:hover svg.glyph .hot { fill: var(--molten); }
.exp h3 { margin: 0 0 8px; font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.exp p { margin: 0; color: var(--muted); font-size: 15px; }
.exp .chips { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 11px/1 var(--mono); padding: 6px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
@media (max-width: 960px) {
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .exp:nth-child(3n) { border-right: 1px solid var(--line); }
  .exp:nth-child(2n) { border-right: 0; }
  .exp:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .exp:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .exp-grid { grid-template-columns: 1fr; }
  .exp { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; min-height: 0; }
  .exp:last-child { border-bottom: 0 !important; }
}

/* ============================================================
   SÜREÇ — fikirden parçaya
   ============================================================ */
.process-list { position: relative; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process-list::before { /* boş yolluk */
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 6px; border-radius: 3px;
  background: var(--steel);
}
.process-fill {
  position: absolute; left: 27px; top: 10px; width: 6px; border-radius: 3px;
  height: calc((100% - 20px) * var(--pf, 0));
  background: linear-gradient(180deg, var(--molten-2), var(--molten) 40%, var(--molten-3));
  box-shadow: 0 0 14px rgba(255,106,26,.7);
}
.process-fill::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; transform: translateX(-50%); border-radius: 50%; background: var(--molten-2); box-shadow: 0 0 18px 4px rgba(255,150,60,.8); }
.step { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 28px; padding: 18px 0 38px; }
.step .node {
  position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--bg-2); border: 1px solid var(--line-2);
  font: 700 14px/1 var(--mono); color: var(--muted);
  transition: background .4s, color .4s, border-color .4s, box-shadow .4s;
}
.step.lit .node { background: #2a1407; color: var(--molten-2); border-color: rgba(255,106,26,.6); box-shadow: 0 0 24px -4px rgba(255,106,26,.6); }
.step-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; padding-top: 6px; }
.step h3 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.01em; }
.step .k { font: 500 11px/1 var(--mono); color: var(--molten-2); letter-spacing: .14em; text-transform: uppercase; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 760px) {
  .step { grid-template-columns: 48px 1fr; gap: 18px; }
  .step .node { width: 48px; height: 48px; border-radius: 12px; }
  .process-list::before, .process-fill { left: 21px; }
  .step-body { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================
   KALIP ATÖLYESİ — simülatör
   ============================================================ */
.lab { background: radial-gradient(ellipse at 70% 0%, rgba(111,208,255,.06), transparent 60%), var(--bg); }
.lab-shell {
  display: grid; grid-template-columns: 340px 1fr; gap: 0;
  border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 40px 80px -40px #000;
}
.lab-controls { padding: 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.ctl label, .ctl .lbl { display: flex; justify-content: space-between; align-items: baseline; font: 500 11.5px/1 var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.ctl output { color: var(--text); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 13px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.seg button {
  border: 0; background: transparent; padding: 9px 4px; border-radius: 7px; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--steel-2); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.seg.hot button[aria-pressed="true"] { background: var(--molten); color: #170a00; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--molten) var(--v, 50%), var(--steel-2) var(--v, 50%)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--molten) var(--v, 50%), var(--steel-2) var(--v, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: #fff; border: 4px solid var(--molten); box-shadow: 0 0 0 4px rgba(255,106,26,.18); }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 4px solid var(--molten); }
.lab-press { width: 100%; padding: 16px; font-size: 16px; margin-top: auto; }
.lab-press:disabled { opacity: .6; cursor: progress; transform: none; }
.lab-stage { position: relative; display: flex; flex-direction: column; min-width: 0; }
.lab-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 500 11.5px/1 var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; flex-wrap: wrap; }
.lab-top .phase { color: var(--molten-2); }
.lab-top .count b { color: var(--text); font-size: 14px; }
.canvas-wrap { position: relative; flex: 1; min-height: 360px; background:
  linear-gradient(rgba(111,208,255,.05) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(90deg, rgba(111,208,255,.05) 1px, transparent 1px) 0 0 / 24px 24px,
  #0e1116; }
#moldCanvas { width: 100%; height: 100%; position: absolute; inset: 0; }
.view-toggle { position: absolute; right: 14px; top: 14px; z-index: 2; }
.view-toggle .seg { background: rgba(12,14,17,.85); backdrop-filter: blur(6px); }
.view-toggle .seg button { padding: 7px 10px; font-size: 12px; }
.legend { position: absolute; left: 14px; top: 14px; z-index: 2; font: 500 10px/1 var(--mono); color: var(--muted); display: none; gap: 8px; align-items: center; background: rgba(12,14,17,.85); padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); }
.legend.show { display: flex; }
.legend i { width: 90px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #2346ff, #00c8ff, #29e07a, #ffe14a, #ff3b2f); }
.lab-results { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.res { padding: 16px 18px; border-right: 1px solid var(--line); }
.res:last-child { border-right: 0; }
.res .lbl { font: 500 10.5px/1.2 var(--mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.res .val { margin-top: 8px; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -.01em; }
.res .val small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.res .sub { margin-top: 6px; font-size: 12px; color: var(--muted); }
.verdict { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 14.5px; }
.verdict .badge { flex: none; font: 700 11px/1 var(--mono); padding: 7px 9px; border-radius: 6px; letter-spacing: .08em; text-transform: uppercase; }
.verdict.ok .badge { background: rgba(95,211,154,.14); color: var(--ok); }
.verdict.warn .badge { background: rgba(255,204,77,.14); color: var(--warn); }
.verdict.bad .badge { background: rgba(255,90,90,.14); color: var(--bad); }
.verdict p { margin: 0; color: var(--muted); }
.verdict p b { color: var(--text); }
.lab-note { margin-top: 16px; font-size: 13px; color: var(--dim); text-align: center; }
@media (max-width: 1020px) {
  .lab-shell { grid-template-columns: 1fr; }
  .lab-controls { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
  .lab-press { grid-column: 1 / -1; }
  .canvas-wrap { min-height: 0; aspect-ratio: 16 / 11; flex: none; }
}
@media (max-width: 640px) {
  .lab-controls { grid-template-columns: 1fr; padding: 18px; }
  .lab-results { grid-template-columns: 1fr 1fr; }
  .res:nth-child(2) { border-right: 0; }
  .res:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .res .val { font-size: 22px; }
  .canvas-wrap { aspect-ratio: 1 / 1; }
  .legend { font-size: 0; gap: 0; padding: 9px; }
  .legend i { width: 56px; }
}

/* ============================================================
   MAKİNE PARKURU
   ============================================================ */
.fleet { background: var(--bg-2); border-block: 1px solid var(--line); }
.fleet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fleet-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.fleet-card h3 { margin: 0 0 4px; font-family: var(--display); font-size: 22px; font-weight: 800; }
.fleet-card > p { margin: 0 0 26px; color: var(--muted); font-size: 14.5px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 220px; padding-bottom: 28px; border-bottom: 1px dashed var(--line-2); }
.bar { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bar i {
  display: block; width: 100%; border-radius: 6px 6px 2px 2px;
  height: 0; transition: height 1.2s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s);
  background: linear-gradient(180deg, #4a525e, #2b3139);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.bar.hot i { background: linear-gradient(180deg, var(--molten-2), var(--molten) 45%, #b8330a); box-shadow: 0 0 20px -4px rgba(255,106,26,.6); }
.in .bar i { height: var(--h); }
.bar b { position: absolute; left: 50%; bottom: calc(var(--h) + 8px); transform: translateX(-50%); font: 600 12px/1 var(--mono); opacity: 0; transition: opacity .4s 1s; white-space: nowrap; }
.in .bar b { opacity: 1; }
.bar span { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); font: 500 10px/1 var(--mono); color: var(--dim); }
.fleet-foot { display: flex; justify-content: space-between; margin-top: 30px; color: var(--muted); font-size: 13.5px; gap: 12px; flex-wrap: wrap; }
.fleet-foot b { color: var(--text); }
@media (max-width: 860px) { .fleet-grid { grid-template-columns: 1fr; } .bars { gap: 6px; } .bar b { font-size: 10px; } }

/* ---------- sektörler şeridi ---------- */
.marquee { padding: 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 28px; padding: 30px 28px; font-family: var(--display); font-weight: 800; font-stretch: 120%; font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -.01em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(236,232,226,.35); transition: color .3s; }
.marquee-item:hover { color: var(--text); }
.marquee-item::after { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--molten); transform: rotate(45deg); box-shadow: 0 0 14px var(--molten); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   KALIP SÖZLÜĞÜ — çevrilen kartlar
   ============================================================ */
.glossary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.term { display: block; width: 100%; perspective: 900px; height: 210px; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
.term-inner { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.2,1); }
.term.flip .term-inner { transform: rotateY(180deg); }
.term-face { position: absolute; inset: 0; padding: 22px; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.term-front { background: var(--bg-2); }
.term-front .no { display: block; font: 500 11px/1 var(--mono); color: var(--dim); }
.term-front .t { display: block; margin: auto 0 4px; font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.term-front .en { display: block; font: 500 12px/1 var(--mono); color: var(--molten-2); }
.term-front .hint { position: absolute; right: 18px; top: 18px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); font-size: 14px; transition: transform .3s; }
.term:hover .hint { transform: rotate(90deg); color: var(--molten); border-color: var(--molten); }
.term-back { transform: rotateY(180deg); background: linear-gradient(160deg, #2a1407, #140a04); border-color: rgba(255,106,26,.4); }
.term-back .t { display: block; margin: 0 0 10px; font: 700 12px/1 var(--mono); color: var(--molten-2); letter-spacing: .12em; text-transform: uppercase; }
.term-back .d { display: block; margin: 0; font-size: 14.5px; line-height: 1.55; color: #e9dcd2; }
@media (max-width: 960px) { .glossary-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .glossary-grid { grid-template-columns: 1fr; } .term { height: 190px; } }

/* ============================================================
   DANIŞMANLIK
   ============================================================ */
.consult { overflow: hidden; }
.consult-box {
  position: relative; padding: clamp(32px, 6vw, 72px); border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, #1d1109 0%, #120c08 45%, #0f1115 100%);
  border: 1px solid rgba(255,106,26,.25);
}
.consult-box::before { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,106,26,.25), transparent 60%); pointer-events: none; }
.consult-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.offer { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.offer li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 20px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.offer li:hover { background: rgba(255,106,26,.06); border-color: rgba(255,106,26,.3); }
.offer .n { font: 700 12px/1.6 var(--mono); color: var(--molten); }
.offer h3 { margin: 0 0 2px; font-size: 16.5px; font-weight: 600; }
.offer p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .consult-grid { grid-template-columns: 1fr; } }

/* ============================================================
   İLETİŞİM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list a, .contact-list div {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center;
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color .25s, transform .25s;
}
.contact-list a:hover { border-color: rgba(255,106,26,.5); transform: translateX(4px); }
.contact-list .ci { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,106,26,.1); color: var(--molten); }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list small { display: block; font: 500 10.5px/1.2 var(--mono); color: var(--dim); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.contact-list span { font-size: 15px; overflow-wrap: anywhere; }
.form { padding: clamp(22px, 3vw, 34px); border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 11px/1 var(--mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg);
  font-size: 15px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--molten); box-shadow: 0 0 0 4px rgba(255,106,26,.15); }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 12.5px; color: var(--dim); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { padding: 48px 0 36px; border-top: 1px solid var(--line); }
.footer-big { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: min(9vw, 122px); line-height: .82; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(236,232,226,.12); user-select: none; margin: 0 0 36px; white-space: nowrap; overflow: hidden; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.footer-row nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-row a:hover { color: var(--text); }

/* ---------- tıklama kıvılcımları ---------- */
.spark { position: fixed; z-index: 300; width: 4px; height: 4px; border-radius: 50%; pointer-events: none; background: var(--molten-2); box-shadow: 0 0 6px 1px var(--molten); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .pour .ln span { --fill: 150%; --cool: 100%; }
  .marquee-track { animation: none; }
}

/* ---------- dokunmatik & dar ekran ince ayarları ---------- */
@media (pointer: coarse) {
  input[type=range] { height: 36px; }
  input[type=range]::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -10px; }
  input[type=range]::-moz-range-thumb { width: 16px; height: 16px; }
  .seg button { min-height: 40px; }
  .term:hover .hint { transform: none; }
}
@media (max-width: 640px) {
  .field input, .field select, .field textarea { font-size: 16px; } /* iOS odaklanınca yakınlaştırmasın */
}
@media (max-width: 380px) {
  .brand small { display: none; }
  .hero-meta span:last-child { display: none; }
}
