:root {
  --bg: #000;
  --fg: #ededed;
  --muted: #888;
  --line: #333;
  --gold: #e8c56b;
  --nav-bg: rgba(0, 0, 0, 0.72);
  --btn-solid-bg: #fff;
  --btn-solid-fg: #000;
  --btn-solid-hover: #f2f2f2;
  --surface: #000;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --theme-x: 50%;
  --theme-y: 40px;
}

html[data-theme="day"] {
  --bg: #f3f0e8;
  --fg: #161616;
  --muted: #5a5a5a;
  --line: #d5d0c6;
  --gold: #b8923a;
  --nav-bg: rgba(243, 240, 232, 0.86);
  --btn-solid-bg: #161616;
  --btn-solid-fg: #f3f0e8;
  --btn-solid-hover: #2a2a2a;
  --surface: #f3f0e8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 0.55s ease,
    color 0.55s ease;
}

/* Theme pulse — soft radial flash; page stays visible underneath */
.theme-veil {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at var(--theme-x) var(--theme-y),
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 28%,
    transparent 62%
  );
}

.theme-veil.is-night {
  background: radial-gradient(
    circle at var(--theme-x) var(--theme-y),
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.1) 28%,
    transparent 62%
  );
}

.theme-veil.is-day {
  background: radial-gradient(
    circle at var(--theme-x) var(--theme-y),
    rgba(255, 248, 230, 0.65) 0%,
    rgba(243, 240, 232, 0.2) 32%,
    transparent 64%
  );
}

.theme-veil.is-pulse {
  animation: theme-pulse 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes theme-pulse {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

/* NAV — Vercel-like */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  border-bottom: 1px solid transparent;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  transition: background-color 0.55s ease, border-color 0.55s ease;
}

html[data-theme="day"] .nav {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* Day / night toggle */
.theme-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(127, 127, 127, 0.12);
  transform: translateY(-1px);
}

.theme-toggle-sun,
.theme-toggle-moon {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-toggle-sun {
  background: radial-gradient(circle at 35% 35%, #ffe9a8, #e0a84a 55%, #b8923a);
  box-shadow: 0 0 0 2px rgba(184, 146, 58, 0.15);
  opacity: 0;
  transform: scale(0.55) rotate(-40deg);
}

.theme-toggle-moon {
  background: #d8d8d8;
  box-shadow: inset -4px -2px 0 0 #8a8a8a;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

html[data-theme="day"] .theme-toggle-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

html[data-theme="day"] .theme-toggle-moon {
  opacity: 0;
  transform: scale(0.55) rotate(40deg);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: "Syne", var(--font);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #f4f1ea;
}

.logo--mark {
  align-items: center;
  /* WEE + KING tek marka gibi — dar birleşik boşluk */
  gap: 0.12rem;
}

.logo-mark {
  display: block;
  height: 18px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.logo-king {
  display: block;
  height: 15px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

/* LOGO TRIAL F-A — single gold+white lockup */
.logo-fa {
  display: block;
  height: 22px;
  width: auto;
  opacity: 0.96;
  transition: opacity 0.2s ease;
}

.logo--fa:hover .logo-fa {
  opacity: 1;
}

.logo--lab .logo-fa {
  height: 20px;
}

.logo--mark:hover .logo-mark,
.logo--mark:hover .logo-king {
  opacity: 1;
}

.logo-word {
  color: inherit;
}

.logo-it,
.logo-gold {
  font-family: "Syne", var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-left: 0.05rem;
}

.logo-it {
  color: #7eb6ff;
}

.logo-gold {
  color: var(--gold);
}

.logo--lab {
  font-size: 1.05rem;
}

.logo--lab .logo-mark {
  height: 17px;
}

.logo--lab .logo-king {
  height: 14px;
}

.logo--lab .logo-it,
.logo--lab .logo-gold {
  font-size: 0.92rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links .btn {
  height: 36px;
  padding: 0 14px;
  font-size: 0.875rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.mono {
  font-family: var(--mono);
}

.btn-solid {
  background: var(--btn-solid-bg);
  color: var(--btn-solid-fg);
}

.btn-solid:hover {
  background: var(--btn-solid-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

html[data-theme="night"] .btn-solid:hover {
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.12);
}

.btn-outline {
  border: 1px solid #444;
  background: transparent;
  color: var(--fg);
}

.btn-nav-code:hover {
  background: #fff;
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.16);
}

.btn-nav-gold:hover {
  border-color: rgba(232, 197, 107, 0.65);
  color: #f3e2a8;
  background: rgba(232, 197, 107, 0.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(232, 197, 107, 0.12);
}

.btn-outline:hover {
  border-color: #888;
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline.btn-nav-gold:hover {
  border-color: rgba(232, 197, 107, 0.65);
  color: #f3e2a8;
  background: rgba(232, 197, 107, 0.06);
}

.btn-ghost {
  border: 1px solid transparent;
  color: var(--fg);
  background: rgba(127, 127, 127, 0.1);
}

.btn-ghost:hover {
  background: rgba(127, 127, 127, 0.16);
}

/* Night / day logo swap */
.logo-fa--day,
.mark-fa-lockup--day {
  display: none;
}

html[data-theme="day"] .logo-fa--night,
html[data-theme="day"] .mark-fa-lockup--night {
  display: none;
}

html[data-theme="day"] .logo-fa--day,
html[data-theme="day"] .mark-fa-lockup--day {
  display: block;
}

html[data-theme="day"] .logo-fa--day {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

html[data-theme="day"] .mark-fa-lockup--day {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1));
}

/* HERO — başlık üstte, marka ortada, CTA altta */
.hero {
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem clamp(1.25rem, 5vw, 3.5rem) 2.25rem;
  position: relative;
  overflow: hidden;
  background: #050505;
}

.hero-bg-stack {
  --matter-x: 50%;
  --matter-y: 45%;
  --matter-r: 0%;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
}

.hero-bg-layer.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-bg-layer.is-incoming {
  opacity: 1;
  z-index: 3;
  -webkit-mask-image: radial-gradient(
    circle at var(--matter-x) var(--matter-y),
    #000 0%,
    #000 calc(var(--matter-r) * 0.92),
    transparent var(--matter-r)
  );
  mask-image: radial-gradient(
    circle at var(--matter-x) var(--matter-y),
    #000 0%,
    #000 calc(var(--matter-r) * 0.92),
    transparent var(--matter-r)
  );
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.03);
  pointer-events: none;
  user-select: none;
}

html[data-theme="day"] .hero-bg-stack .hero-bg {
  filter: saturate(0.9) brightness(1.06);
}

/* Dark-matter leading edge — eats the old frame from the same origin */
.hero-bg-matter {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background:
    radial-gradient(
      circle at var(--matter-x) var(--matter-y),
      rgba(0, 0, 0, 0.97) 0%,
      rgba(0, 0, 0, 0.92) calc(var(--matter-r) * 0.78),
      rgba(12, 8, 4, 0.75) calc(var(--matter-r) * 0.9),
      rgba(40, 28, 10, 0.35) calc(var(--matter-r) * 0.98),
      transparent calc(var(--matter-r) * 1.08)
    ),
    radial-gradient(
      circle at var(--matter-x) var(--matter-y),
      transparent 0%,
      transparent calc(var(--matter-r) * 0.86),
      rgba(232, 197, 107, 0.12) calc(var(--matter-r) * 0.94),
      transparent calc(var(--matter-r) * 1.05)
    );
  mix-blend-mode: normal;
  transition: none;
}

.hero-bg-stack.is-wiping .hero-bg-matter {
  opacity: 1;
}

.hero-bg-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.28) 42%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    radial-gradient(
      ellipse 72% 58% at 50% 42%,
      rgba(0, 0, 0, 0.12),
      rgba(0, 0, 0, 0.62) 78%
    );
}

html[data-theme="day"] .hero-bg-veil {
  background:
    linear-gradient(
      180deg,
      rgba(243, 240, 232, 0.62) 0%,
      rgba(243, 240, 232, 0.35) 45%,
      rgba(243, 240, 232, 0.78) 100%
    ),
    radial-gradient(
      ellipse 72% 58% at 50% 42%,
      rgba(243, 240, 232, 0.15),
      rgba(243, 240, 232, 0.48) 78%
    );
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-layer.is-incoming {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-bg-matter {
    display: none;
  }
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(1120px, 100%);
  margin: 0 auto;
  gap: 1.6rem;
}

/* Logo silüeti + wordmark — ışık arkada gezer (ışık JS’e dokunma) */
.hero-mark {
  --beam-opacity: 0.92;
  --lx: 0px;
  --ly: -24px;
  --lx2: 18px;
  --ly2: 16px;
  position: relative;
  order: 1;
  z-index: 1;
  width: clamp(380px, 70vw, 760px);
  height: auto;
  display: grid;
  place-items: center;
  pointer-events: none;
  margin: 0.5rem 0 0.35rem;
}

.mark-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0;
}

/* LOGO TRIAL F-A — clean lockup; no plate / haze / glow behind */
.hero-mark--fa-trial {
  width: clamp(420px, 78vw, 880px);
}

.hero-mark--fa-trial .hero-gl,
.hero-mark--fa-trial .light {
  display: none !important;
  opacity: 0 !important;
}

.mark-fa-lockup {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1600 / 350;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  filter: none;
}

/* ensure theme swap wins over base display */
html[data-theme="night"] .mark-fa-lockup--day,
html:not([data-theme="day"]) .mark-fa-lockup--day {
  display: none !important;
}

html[data-theme="day"] .mark-fa-lockup--night {
  display: none !important;
}

html[data-theme="day"] .mark-fa-lockup--day {
  display: block !important;
}

.mark-visual {
  position: relative;
  z-index: 2;
  width: 112%;
  aspect-ratio: 732 / 188;
  transform: scale(1.22);
  transform-origin: center bottom;
  margin-bottom: -0.35rem;
}

.hero-liquid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 3;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-liquid.is-ready {
  opacity: 1;
}

.mark-visual:has(.hero-liquid.is-ready) .mark-logo-fallback {
  opacity: 0;
}

/* HERO MARK LOCK (2026-10-09) — liquid WEE scale + liquid-gold KING; do not shrink WEE */
/* HERO LIGHT LOCK (hero-gold-amb-freeze) — half-size soft gold glow; do not enlarge / re-cool */
.hero-gl {
  position: absolute;
  left: -14%;
  top: -16%;
  width: 128%;
  height: 145%;
  z-index: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  filter: blur(11px);
  transform: translateZ(0);
}

.hero-mark.hero-gl-ready .hero-gl {
  opacity: 1;
}

/* CSS fallback — GL hazır olunca söner */
.light {
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  transition: opacity 0.5s ease;
}

.hero-mark.hero-gl-ready .light {
  opacity: 0 !important;
}

.light-a {
  width: clamp(150px, 22vw, 240px);
  height: clamp(150px, 22vw, 240px);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(243, 226, 168, 0.55) 0%,
    rgba(232, 197, 107, 0.22) 28%,
    rgba(166, 124, 46, 0.06) 52%,
    transparent 74%
  );
  filter: blur(14px);
  opacity: var(--beam-opacity);
  transform: translate(calc(-50% + var(--lx)), calc(-50% + var(--ly)));
}

.light-b {
  width: clamp(100px, 14vw, 150px);
  height: clamp(100px, 14vw, 150px);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(232, 197, 107, 0.34) 0%,
    rgba(232, 197, 107, 0.12) 36%,
    transparent 72%
  );
  filter: blur(11px);
  opacity: calc(var(--beam-opacity) * 0.8);
  transform: translate(calc(-50% + var(--lx2)), calc(-50% + var(--ly2)));
}

.mark-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 732 / 188;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.6s ease;
}

.mark-king {
  position: relative;
  z-index: 2;
  display: block;
  width: 90%;
  max-width: 100%;
  height: auto;
  margin-top: 0.15rem;
  aspect-ratio: 1107 / 343;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 1;
}

.mark-word {
  display: block;
  width: 100%;
  margin-top: -0.18em;
  text-align: center;
  font-family: "Syne", var(--font);
  font-weight: 700;
  font-size: clamp(2.8rem, 9.5vw, 5.25rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #000;
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
  width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.hero-seo-title {
  margin: 0;
  max-width: 34rem;
  text-align: center;
  font-family: "Syne", var(--font-display, system-ui), sans-serif;
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fg);
}

.hero-seo-lead {
  margin: -0.35rem 0 0;
  max-width: 32rem;
  text-align: center;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  line-height: 1.45;
  color: var(--muted);
}

.hero-strip {
  width: 100%;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  transition: border-color 0.55s ease;
}

.hero-strip-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  animation: strip-breathe 7.5s ease-in-out infinite;
}

.hero-strip-line em {
  font-style: normal;
  color: var(--fg);
  opacity: 0.72;
  letter-spacing: 0.18em;
}

.hero-strip-line i {
  font-style: normal;
  color: var(--muted);
  opacity: 0.85;
}

@keyframes strip-breathe {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.95;
  }
}

.scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: #555;
  opacity: 0.7;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.scroll-hint:hover {
  opacity: 1;
  color: #888;
}

.scroll-hint-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent, #666 35%, #666);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}

.scroll-hint-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@keyframes scroll-pulse {
  0%,
  100% {
    transform: scaleY(0.72);
    opacity: 0.45;
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
    transform-origin: top;
  }
}

/* Gold open — kısa sıcaklık (hero ışığına dokunmaz) */
.gold-warm-flash {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(232, 197, 107, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(40, 28, 10, 0.2), transparent 55%);
  transition: opacity 0.55s ease;
}

body.gold-mode .gold-warm-flash.is-on {
  opacity: 1;
}

body.lab-open .scroll-hint {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 720px) {
  .logo-mark {
    height: 15px;
  }

  .logo-king {
    height: 12px;
  }

  .logo--lab .logo-it,
  .logo--lab .logo-gold {
    font-size: 0.82rem;
  }

  .hero-strip-line {
    gap: 0.4rem 0.65rem;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666;
}

/* DIVISIONS */
.divisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.division {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  padding: clamp(2.75rem, 6vw, 4.75rem) clamp(1.5rem, 4vw, 3.25rem);
  border-right: 1px solid var(--line);
  min-height: 420px;
  background: var(--surface);
  transition:
    background 0.55s ease,
    border-color 0.55s ease;
}

.division:last-child {
  border-right: 0;
}

.division:hover {
  background: color-mix(in srgb, var(--surface) 92%, var(--fg) 8%);
}

.division-head h2 {
  margin: 0;
  font-family: "Syne", var(--font);
  font-size: clamp(2.6rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.division-code h2 {
  color: var(--fg);
}

.division-gold h2 {
  color: var(--gold);
}

/* Division stills — hover/tap flips to second motif */
.division-flip {
  display: block;
  width: 100%;
  margin: 0.2rem 0 0.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1400px;
  -webkit-tap-highlight-color: transparent;
  border-radius: 14px;
}

.division-flip:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--fg) 55%, transparent);
  outline-offset: 3px;
}

.division-flip-inner {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  transform-style: preserve-3d;
  transition: transform 0.72s cubic-bezier(0.4, 0.15, 0.2, 1);
  border-radius: 14px;
}

.division-flip-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  background: #0a0a0a;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.division-flip-front {
  transform: rotateY(0deg);
}

.division-flip-back {
  transform: rotateY(180deg);
}

.division-flip-code .division-flip-face {
  border: 1px solid rgba(126, 182, 255, 0.16);
}

.division-flip-gold .division-flip-face {
  border: 1px solid rgba(232, 197, 107, 0.14);
}

html[data-theme="day"] .division-flip-face {
  border-color: rgba(0, 0, 0, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .division-flip:hover .division-flip-inner,
  .division-flip:focus-visible .division-flip-inner {
    transform: rotateY(180deg);
  }
}

.division-flip.is-flipped .division-flip-inner {
  transform: rotateY(180deg);
}

.division-copy {
  margin: 0;
  max-width: 26rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.division-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
  padding: 0;
}

.division-tags li {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.division-gold .division-tags li {
  border-color: rgba(232, 197, 107, 0.18);
  color: #9a8660;
}

.division-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.division-mail {
  font-size: 0.9rem;
  color: #888;
  transition: color 0.2s ease;
}

.division-mail:hover {
  color: #fff;
}

.division-gold .division-mail:hover {
  color: var(--gold);
}

.btn-div-gold:hover {
  border-color: rgba(232, 197, 107, 0.65);
  color: #f3e2a8;
  background: rgba(232, 197, 107, 0.06);
}

/* BAND */
.band {
  padding: clamp(3.75rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid #1c1c1c;
  text-align: center;
  background: linear-gradient(180deg, #050505 0%, #000 100%);
}

.band-liquid-wrap {
  position: relative;
  width: min(94vw, 720px);
  aspect-ratio: 732 / 188;
  margin: 0 auto;
}

.band-liquid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.band-liquid.is-ready {
  opacity: 1;
}

.band h2 {
  margin: 0 0 0.9rem;
  font-family: "Syne", var(--font);
  font-size: clamp(2rem, 4.8vw, 3rem);
  letter-spacing: -0.04em;
  font-weight: 700;
}

.band p {
  margin: 0 auto;
  max-width: 32rem;
  color: #777;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact {
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid #1c1c1c;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.contact-copy h2 {
  margin: 0 0 0.55rem;
  font-family: "Syne", var(--font);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
}

.contact-copy p:last-child {
  margin: 0;
  color: #777;
  max-width: 28rem;
}

.contact-cta {
  height: 46px;
  padding: 0 22px;
  flex: 0 0 auto;
}

/* ——— /kontakt page ——— */
.page-kontakt {
  min-height: 100vh;
}

.kontakt-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-kontakt .nav {
  position: sticky;
  top: 0;
  z-index: 40;
}

.kontakt-main {
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
}

.kontakt-hero {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.kontakt-hero h1 {
  margin: 0 0 0.7rem;
  font-family: "Syne", var(--font);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  letter-spacing: -0.045em;
  font-weight: 700;
  line-height: 1.05;
}

.kontakt-lede {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.kontakt-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.kontakt-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.kontakt-field input,
.kontakt-field select,
.kontakt-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  border-radius: 10px;
  padding: 0.72rem 0.9rem;
  font: inherit;
  font-size: 0.98rem;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.kontakt-field textarea {
  resize: vertical;
  min-height: 9rem;
  line-height: 1.55;
}

.kontakt-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.kontakt-field input:focus,
.kontakt-field select:focus,
.kontakt-field textarea:focus {
  border-color: var(--gold);
}

html[data-theme="day"] .kontakt-field input,
html[data-theme="day"] .kontakt-field select,
html[data-theme="day"] .kontakt-field textarea {
  background: rgba(255, 255, 255, 0.45);
}

.kontakt-submit {
  align-self: flex-start;
  height: 46px;
  padding: 0 22px;
  margin-top: 0.25rem;
}

.kontakt-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.kontakt-status {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.kontakt-status.is-ok {
  color: #7dba7a;
}

.kontakt-status.is-err {
  color: #d27a7a;
}

html[data-theme="day"] .kontakt-status.is-ok {
  color: #2f7a3a;
}

html[data-theme="day"] .kontakt-status.is-err {
  color: #b04040;
}

.kontakt-aside {
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.kontakt-mail {
  display: inline-block;
  margin: 0.35rem 0 0.85rem;
  font-family: "Syne", var(--font);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.kontakt-mail:hover {
  border-bottom-color: var(--gold);
  color: var(--gold);
}

.kontakt-aside-copy {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.kontakt-aside-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #666;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-theme="day"] .kontakt-aside-list {
  color: #7a7468;
}

.nav-actions .btn-ghost.is-active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

@media (max-width: 820px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
  }

  .kontakt-aside {
    order: -1;
  }
}

/* H-B — bionic × human hands (footer visual) */
.hands-band {
  position: relative;
  width: 100%;
  height: clamp(220px, 38vw, 420px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #000;
}

.hands-band-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  user-select: none;
  -webkit-user-drag: none;
}

.hands-band-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    transparent 22%,
    transparent 72%,
    var(--bg) 100%
  );
}

html[data-theme="day"] .hands-band {
  background: #0a0a0a;
}

html[data-theme="day"] .hands-band-veil {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(243, 240, 232, 0.15) 28%,
    rgba(0, 0, 0, 0.12) 70%,
    var(--bg) 100%
  );
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid #1c1c1c;
  color: #555;
  font-size: 0.82rem;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.foot-sep {
  opacity: 0.45;
}

.foot-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.foot-nav button,
.foot-nav a {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: #666;
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.foot-nav button:hover,
.foot-nav a:hover {
  color: #ccc;
}

/* Brands strip — seamless infinite marquee */
.brands-strip {
  --brand-gap: clamp(2.75rem, 6vw, 4.5rem);
  border-top: 1px solid #1c1c1c;
  background: #000;
  overflow: hidden;
  padding: 1.1rem 0;
}

.brands-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.brands-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: brands-marquee 32s linear infinite;
}

.brands-strip:hover .brands-track {
  animation-play-state: paused;
}

.brands-set {
  display: flex;
  align-items: center;
  gap: var(--brand-gap);
  /* trailing gap only — keeps loop seam equal to logo spacing */
  padding-right: var(--brand-gap);
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.brand-logo-meisterfx {
  height: 72px;
}

.brand-logo-chatsee {
  height: 48px;
}

.brand-logo-briefiy {
  height: 52px;
}

.brand-logo-balkap {
  height: 44px;
}

@keyframes brands-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    /* one set width: JS sets --brands-shift when ready; 50% fallback for 2 clones */
    transform: translate3d(var(--brands-shift, -50%), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brands-track {
    animation: none;
    width: 100%;
    justify-content: center;
    transform: none;
  }

  .brands-set:not(:first-child) {
    display: none;
  }

  .brands-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .theme-veil.is-pulse {
    animation: none !important;
  }

  body {
    transition: none;
  }

  /* Crossfade instead of 3D flip */
  .division-flip-inner {
    transition: none;
    transform: none !important;
  }

  .division-flip-face {
    transition: opacity 0.35s ease;
  }

  .division-flip-back {
    transform: none;
    opacity: 0;
  }

  .division-flip:hover .division-flip-back,
  .division-flip:focus-visible .division-flip-back,
  .division-flip.is-flipped .division-flip-back {
    opacity: 1;
  }

  .division-flip:hover .division-flip-front,
  .division-flip:focus-visible .division-flip-front,
  .division-flip.is-flipped .division-flip-front {
    opacity: 0;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: static;
    transform: none;
    flex: 1;
    justify-content: center;
    min-width: 0;
  }

  .nav-links .btn {
    height: 34px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .hero-mark {
    width: min(90vw, 480px);
  }

  .divisions {
    grid-template-columns: 1fr;
  }

  .division {
    border-right: 0;
    border-bottom: 1px solid #1c1c1c;
    min-height: 0;
  }

  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== HOME LAYER: örtü — ortadan ikiye ayrılır ===== */
.home-layer {
  position: relative;
  z-index: 20;
  min-height: 100%;
  background: var(--bg);
  transition: background-color 0.55s ease;
}

.home-pane {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: visible;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.home-pane-r {
  display: none;
}

.home-surface {
  background: var(--surface);
  min-height: 100%;
  transition: background-color 0.55s ease;
}

/* Split modu: iki kapı gibi */
body.lab-open {
  overflow: hidden;
}

body.lab-open .home-layer {
  position: fixed;
  inset: 0;
  display: flex;
  background: transparent;
  pointer-events: none;
}

body.lab-open .home-pane {
  width: 50%;
  height: 100%;
  overflow: hidden;
  display: block;
  pointer-events: none;
  background: #000;
}

body.lab-open .home-pane-l {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

body.lab-open .home-pane-r {
  display: block;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

body.lab-open .home-surface {
  width: 100vw;
  position: relative;
}

body.lab-open .home-pane-r .home-surface {
  transform: translateX(-50vw);
}

body.lab-open .home-pane-l {
  transform: translateX(0);
}

body.lab-open .home-pane-r {
  transform: translateX(0);
}

body.lab-open.lab-apart .home-pane-l {
  transform: translateX(-100%);
}

body.lab-open.lab-apart .home-pane-r {
  transform: translateX(100%);
}

/* ===== CODE LAB: anasayfanın altında bekler ===== */
.code-lab {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background: #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease 0.15s, visibility 0.35s ease 0.15s;
}

.code-lab.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0.2s;
}

.lab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 1.25rem;
  border-bottom: 1px solid #1f1f1f;
  background: rgba(0, 0, 0, 0.92);
}

.lab-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #8ab4ff;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lab-brand .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dff9a;
  box-shadow: 0 0 10px #3dff9a;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: 0.35;
  }
}

.lab-close {
  background: none;
  border: 0;
  color: #999;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
}

.lab-close:hover {
  color: #fff;
}

.lab-split {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #1f1f1f;
}

.lab-pane {
  position: relative;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lab-code {
  border-right: 1px solid #1f1f1f;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(60, 120, 255, 0.12), transparent 55%),
    #05070c;
}

.lab-mesh {
  background:
    radial-gradient(ellipse 60% 45% at 80% 20%, rgba(180, 80, 255, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0, 220, 180, 0.08), transparent 50%),
    #050508;
}

.pane-head {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #1a1a1a;
  color: #6a7a94;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pane-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #7dffb0;
}

.pane-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3dff9a;
  box-shadow: 0 0 8px #3dff9a;
  animation: blink 1s ease-in-out infinite;
}

.code-rain {
  position: absolute;
  inset: 40px 0 0;
  display: flex;
  gap: 0.55rem;
  padding: 0 0.6rem;
  opacity: 0.18;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
}

.code-rain-col {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.35;
  color: #3a8fd4;
  white-space: pre;
  writing-mode: horizontal-tb;
  animation: rainFall linear infinite;
  will-change: transform;
}

@keyframes rainFall {
  from {
    transform: translateY(-45%);
  }
  to {
    transform: translateY(0%);
  }
}

.code-term {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.code-stream {
  flex: 1;
  margin: 0;
  padding: 1rem 1.1rem 1.6rem;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1.15vw, 0.84rem);
  line-height: 1.7;
  color: #9eb6d4;
  white-space: pre-wrap;
  word-break: break-word;
  scrollbar-width: none;
}

.code-stream::-webkit-scrollbar {
  display: none;
}

.code-stream .ln {
  display: block;
  min-height: 1.7em;
}

.code-stream .ln-comment {
  color: #5f7171;
}

.code-stream .ln-code {
  color: #b8cce6;
}

.code-stream .ln-log {
  color: #8fd4b0;
}

.code-caret {
  display: inline-block;
  width: 0.55ch;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.12em;
  background: #7eb6ff;
  box-shadow: 0 0 10px rgba(126, 182, 255, 0.55);
  animation: cursorBlink 1.05s step-end infinite;
}

.code-stream .k {
  color: #c792ea;
}
.code-stream .f {
  color: #82aaff;
}
.code-stream .s {
  color: #c3e88d;
}
.code-stream .c {
  color: #5f7171;
}
.code-stream .n {
  color: #f78c6c;
}
.code-stream .ok {
  color: #5dffb0;
}
.code-stream .warn {
  color: #ffd56a;
}
.code-stream .tag {
  color: #89ddff;
}

.code-cursor {
  display: none;
}

@keyframes cursorBlink {
  50% {
    opacity: 0;
  }
}

.mesh-stage {
  position: relative;
  flex: 1;
  min-height: 220px;
}

.mesh-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mesh-links path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.4;
}

.mesh-packets circle {
  filter: drop-shadow(0 0 6px currentColor);
}

.mesh-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.node {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 12, 18, 0.85);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #dce6f8;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.node::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--node-c, #7eb6ff);
  box-shadow: 0 0 8px var(--node-c, #7eb6ff);
  vertical-align: middle;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid #1a1a1a;
}

.chip {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 182, 255, 0.25);
  background: rgba(126, 182, 255, 0.06);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: #b8d0f5;
  animation: chipPulse 3.5s ease-in-out infinite;
}

.chip:nth-child(3n) {
  border-color: rgba(195, 120, 255, 0.3);
  background: rgba(195, 120, 255, 0.07);
  color: #e0c4ff;
  animation-delay: 0.4s;
}

.chip:nth-child(3n + 1) {
  border-color: rgba(80, 230, 180, 0.3);
  background: rgba(80, 230, 180, 0.07);
  color: #b6ffe8;
  animation-delay: 0.8s;
}

@keyframes chipPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    box-shadow: 0 0 16px rgba(126, 182, 255, 0.18);
  }
}

.lab-floor {
  height: 52px;
  border-top: 1px solid #1f1f1f;
  overflow: hidden;
  background: #030303;
  display: flex;
  align-items: center;
}

.floor-track {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  padding-left: 100%;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a5568;
}

.floor-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.floor-track span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c, #7eb6ff);
  box-shadow: 0 0 8px var(--c, #7eb6ff);
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* ===== GOLD LAB — tek sayfa + borsa ticker ===== */
.gold-lab {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background: #0a0806;
  color: #f3ebe0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

.gold-lab.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0.2s;
}

.gold-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(232, 197, 107, 0.12);
  background: #0a0806;
  z-index: 2;
}

.gold-brand .logo-gold {
  color: var(--gold);
}

.code-brand .logo-it {
  color: #7eb6ff;
}

.gold-ticker {
  flex: 0 0 auto;
  overflow: hidden;
  border-bottom: 1px solid rgba(232, 197, 107, 0.1);
  background: #120e0a;
  white-space: nowrap;
}

.gold-ticker--band {
  border-top: 1px solid rgba(232, 197, 107, 0.1);
  border-bottom: 1px solid rgba(232, 197, 107, 0.1);
  background: #0e0b08;
}

.gold-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.85rem 0;
  animation: goldMarquee 95s linear infinite;
  will-change: transform;
}

.gold-ticker--band .gold-ticker-track {
  animation-duration: 120s;
  animation-direction: reverse;
}

.gold-tick {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1.6rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.86);
}

.gold-tick::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 1.6rem;
  border-radius: 50%;
  background: rgba(232, 197, 107, 0.4);
}

.gold-tick strong {
  font-weight: 700;
  color: #f3dfa8;
}

.gold-tick .up {
  color: #9dcea0;
}

.gold-tick .dn {
  color: #d9a08a;
}

@keyframes goldMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.gold-page {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.gold-hero {
  position: relative;
  min-height: calc(100vh - 7.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1.5rem;
  overflow: hidden;
  background: #0a0806;
}

.gold-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.04);
  z-index: 0;
}

.gold-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 6, 4, 0.55) 0%, rgba(8, 6, 4, 0.35) 40%, rgba(8, 6, 4, 0.72) 100%),
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(8, 6, 4, 0.25), rgba(8, 6, 4, 0.7) 75%);
  pointer-events: none;
}

.gold-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
}

.vault-eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(232, 197, 107, 0.55);
}

.vault-title {
  margin: 0 auto 1rem;
  max-width: 16ch;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff8ee;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.vault-sub {
  margin: 0 auto 2rem;
  max-width: 28rem;
  color: rgba(245, 230, 200, 0.82);
  font-size: 1rem;
  line-height: 1.6;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.vault-cta {
  pointer-events: auto;
}

.gold-section {
  padding: clamp(3.5rem, 10vh, 6rem) 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(232, 197, 107, 0.08);
}

.gold-section h3 {
  margin: 0 0 2rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #f3ebe0;
}

.gold-section--end .vault-sub {
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.gold-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.gold-steps article {
  padding: 1.25rem 1.1rem;
  border-top: 1px solid rgba(232, 197, 107, 0.28);
}

.gold-steps span {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: rgba(232, 197, 107, 0.5);
}

.gold-steps h4 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #f3ebe0;
}

.gold-steps p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(232, 197, 107, 0.55);
}

.gold-lab.is-open .gold-hero {
  animation: goldIn 0.75s ease 0.1s both;
}

@keyframes goldIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .lab-split {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .lab-code {
    border-right: 0;
    border-bottom: 1px solid #1f1f1f;
  }

  .gold-steps {
    grid-template-columns: 1fr;
    max-width: 22rem;
    text-align: left;
  }
}
