/* ============================================================
   ZAMOK — Çok çözümlü platform
   Design: Light Editorial · Ivory + Crimson
   ============================================================ */

:root {
  --bg:        #f5f5f6;
  --bg-2:      #eaeaed;
  --bg-3:      #d6d6da;
  --bg-dark:   #14141a;

  --fg:        #161619;
  --fg-dim:    #4c4c52;
  --fg-mute:   #89898f;

  --accent:    #c32c2b;
  --accent-2:  #e63d3c;
  --accent-dim:#e5c4c3;
  --accent-soft:#f6eaea;

  --line:      rgba(22, 22, 25, 0.10);
  --line-2:    rgba(22, 22, 25, 0.22);
  --line-3:    rgba(22, 22, 25, 0.40);

  --maxw:      1440px;
  --gutter:    clamp(20px, 4vw, 56px);

  --f-display: "Manrope", "Archivo", sans-serif;
  --f-body:    "Manrope", "Helvetica Neue", sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "Menlo", monospace;

  --e-out:     cubic-bezier(.2, .8, .2, 1);
  --e-in-out:  cubic-bezier(.6, 0, .2, 1);
  --e-expo:    cubic-bezier(.85, 0, .15, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
  background:
    radial-gradient(ellipse 70% 50% at 12% -8%, rgba(195, 44, 43, .05), transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  cursor: none;
}
body.is-loading { overflow: hidden; height: 100vh; }
body.hero-auto { overflow: hidden; height: 100vh; }
html.hero-auto { overflow: hidden; height: 100vh; }
@media (max-width: 720px) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
ul, ol { list-style: none; padding: 0; margin: 0; }
em { font-style: italic; color: var(--accent); font-weight: 500; }

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

/* ---------- custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 200;
}
.cursor__dot {
  position: absolute; top: -3px; left: -3px;
  width: 6px; height: 6px;
  background: var(--fg);
  border-radius: 50%;
  transform: translate3d(var(--cx, 0), var(--cy, 0), 0);
  transition: width .25s var(--e-out), height .25s var(--e-out), background .2s;
}
.cursor__ring {
  position: absolute; top: -18px; left: -18px;
  width: 36px; height: 36px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  transform: translate3d(var(--rx, 0), var(--ry, 0), 0);
  transition: width .35s var(--e-out), height .35s var(--e-out), border-color .3s;
}
.is-hovering .cursor__ring {
  top: -28px; left: -28px;
  width: 56px; height: 56px;
  border-color: var(--accent);
  background: rgba(195, 44, 43, .10);
}
.is-hovering .cursor__dot { background: var(--accent); }

/* ---------- dev dim tuner ---------- */
.dev-dim {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 300;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(10, 8, 6, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.dev-dim.is-hidden { display: none; }
.dev-dim__row { display: inline-flex; align-items: center; gap: 10px; }
.dev-dim__label { color: rgba(255,255,255,.6); }
.dev-dim__val { min-width: 40px; text-align: right; font-variant-numeric: tabular-nums; }
.dev-dim input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 130px; height: 4px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
  cursor: none;
}
.dev-dim input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  cursor: none;
  box-shadow: 0 0 0 2px rgba(0,0,0,.35);
}
.dev-dim input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  cursor: none;
}
.dev-dim__close {
  width: 22px; height: 22px;
  display: inline-grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: rgba(255,255,255,.75);
  font-size: 14px; line-height: 1;
  padding: 0;
  transition: color .25s, border-color .25s, background .25s;
}
.dev-dim__close:hover { color: var(--accent); border-color: var(--accent); background: rgba(255,255,255,.08); }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: 500;
  background: #ffffff;
  display: grid;
  place-items: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform 1s var(--e-expo);
}
body.is-loaded .preloader {
  opacity: 0;
  transform: translateY(-102%);
  pointer-events: none;
}
body.no-preloader .preloader { display: none !important; }
body.no-preloader .hero__title .line,
body.no-preloader .section__title .word,
body.no-preloader .area,
body.no-preloader .cap,
body.no-preloader .pillar {
  transform: none !important;
  opacity: 1 !important;
  animation: none !important;
  transition: none !important;
}
body.no-preloader .cap::before { width: 60px !important; }
body.no-preloader .hero__scroll-bar,
body.no-preloader .tag__dot,
/* QA: cap hero height so tall-viewport screenshots reveal content below */
body.no-preloader .hero,
body.no-preloader .hero__stage { height: 100vh !important; max-height: 900px !important; }
body.no-preloader .slogan.is-active { opacity: 1 !important; transform: translateY(0) !important; }

.preloader__inner { width: min(560px, 80vw); text-align: left; }
.preloader__brand {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(56px, 10vw, 120px);
  letter-spacing: -0.04em;
  line-height: .9;
  display: flex; gap: .04em;
  color: var(--accent);
}
.preloader__brand span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: preIn .6s var(--e-expo) forwards;
  color: var(--accent);
}
.preloader__brand span:nth-child(1) { animation-delay: .05s; }
.preloader__brand span:nth-child(2) { animation-delay: .12s; }
.preloader__brand span:nth-child(3) { animation-delay: .19s; }
.preloader__brand span:nth-child(4) { animation-delay: .26s; }
.preloader__brand span:nth-child(5) { animation-delay: .33s; }
@keyframes preIn { to { transform: translateY(0); opacity: 1; } }
.preloader__meta {
  display: flex; justify-content: space-between;
  margin-top: 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.preloader__bar {
  margin-top: 16px;
  height: 1px; width: 100%;
  background: var(--line-2);
  overflow: hidden;
}
.preloader__fill {
  height: 100%; width: 0%;
  background: var(--accent);
  transition: width .2s linear;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 120;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 12px var(--gutter);
}
/* While hero video is pinned we want nav visible over it */
.nav.on-video .nav__brand { color: #fff; }
.nav.on-video .nav__mark { color: var(--accent-2); }
.nav.on-video .nav__menu a { color: rgba(255,255,255,.88); }
.nav.on-video .nav__menu a:hover { color: #fff; }
.nav.on-video .nav__lang { color: rgba(255,255,255,.85); }
.nav.on-video .nav__lang .sep, .nav.on-video .nav__lang .dim { color: rgba(255,255,255,.5); }
.nav.on-video .nav__cta { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(0,0,0,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nav.on-video .nav__cta:hover { color: var(--accent); border-color: #fff; background: #fff; }
.nav.on-video.is-scrolled { background: rgba(10,8,6,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.12); }

.nav__brand {
  display: inline-flex; align-items: center;
}
.nav__word {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  transition: color .25s var(--e-out);
}
.nav.on-video .nav__word { color: #fff; }

.nav__menu {
  display: flex; gap: 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.nav__menu a {
  position: relative;
  color: var(--fg-dim);
  transition: color .25s var(--e-out);
}
.nav__menu a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--e-out);
}
.nav__menu a:hover { color: var(--fg); }
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__lang {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--fg-dim);
  display: inline-flex; gap: 4px;
}
.nav__lang .sep, .nav__lang .dim { color: var(--fg-mute); }
.nav__lang a { transition: color .2s; }
.nav__lang a:hover { color: var(--accent); }

.nav__cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  overflow: hidden;
  transition: border-color .3s, color .3s, background .3s;
}
.nav__cta-inner { display: inline-block; height: 14px; overflow: hidden; position: relative; }
.nav__cta-inner span { display: block; transition: transform .45s var(--e-out); }
.nav__cta:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.nav__cta:hover .nav__cta-inner span { transform: translateY(-100%); }
.nav__cta:hover svg { transform: rotate(-45deg); }
.nav__cta svg { transition: transform .45s var(--e-out); }

@media (max-width: 880px) { .nav__menu { display: none; } }

/* ---------- section head scaffolding ---------- */
main { display: block; }

.section__num {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: inline-flex; gap: 8px; align-items: center;
  margin-bottom: 18px;
}
.section__num span { color: var(--accent); }

.section__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: .95;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--fg);
}
.section__title .word {
  display: inline-block;
  margin-right: .12em;
  transform: translateY(100%);
  opacity: 0;
  will-change: transform, opacity;
}
.section__title .word.accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.section__title .word.brand { color: var(--accent); }
.is-revealed .section__title .word {
  transform: translateY(0); opacity: 1;
  transition: transform .9s var(--e-expo), opacity .5s linear;
}
.is-revealed .section__title .word:nth-child(2) { transition-delay: .08s; }
.is-revealed .section__title .word:nth-child(3) { transition-delay: .16s; }
.is-revealed .section__title .word:nth-child(4) { transition-delay: .24s; }

.section__desc {
  max-width: 46ch;
  font-size: clamp(16px, 1.15vw, 18px);
  color: var(--fg-dim);
  line-height: 1.55;
}

.section__head { padding: 160px var(--gutter) 72px; max-width: var(--maxw); margin: 0 auto; }
.section__head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.section__head--flip { grid-template-columns: 1fr 1.1fr; }
.section__head--flip > div { text-align: right; }
.section__head--flip .section__desc { align-self: end; }
.section__desc--right { text-align: left; justify-self: end; }
@media (max-width: 880px) {
  .section__head--split { grid-template-columns: 1fr; }
  .section__head--flip > div { text-align: left; }
}

/* ============================================================
   HERO — scroll-scrub video
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  /* Visually 100vh on first paint; ScrollTrigger pins the stage.
     Use svh on mobile so the address bar collapse/expand doesn't shift layout. */
  height: 100vh;
}
@supports (height: 100svh) {
  .hero { height: 100svh; }
}
.hero__stage {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-dark);
}
@supports (height: 100svh) {
  .hero__stage { height: 100svh; }
}
.hero__video,
.hero__gif {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  will-change: transform;
}
.hero__dim {
  position: absolute; inset: 0;
  background: #000;
  opacity: var(--dim-opacity, 0.2);
  pointer-events: none;
  z-index: 1;
  transition: opacity .15s linear;
}
.hero__video-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,6,.55) 0%, rgba(10,8,6,.22) 35%, rgba(10,8,6,.18) 65%, rgba(10,8,6,.75) 100%),
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(216,20,36,.18), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero__frame {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto 1fr auto;
  column-gap: 48px;
  row-gap: 28px;
  padding: 120px var(--gutter) 72px;
  color: #fff;
}
.hero__meta  { grid-column: 1 / -1; align-self: start; }
.hero__title { grid-column: 1; grid-row: 2; align-self: start; margin-top: 8px; }
.hero__side  { grid-column: 2; grid-row: 2; align-self: end; min-width: 0; width: 100%; }
.hero__scroll { grid-column: 1 / -1; }
@media (max-width: 880px) {
  .hero__frame { grid-template-columns: 1fr; row-gap: 24px; padding-top: 100px; }
  .hero__title { grid-column: 1; grid-row: auto; align-self: start; }
  .hero__side  { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* ---- meta column-stack (ZAMOK — 2026 over coords) ---- */
.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  letter-spacing: .2em;
}
.tag__dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--accent);
  animation: pulse 2s var(--e-in-out) infinite;
}
@keyframes pulse { 50% { opacity: .35; } }
.hero__coords {
  display: inline-flex; gap: 16px;
  padding-left: 2px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
}
.hero__coords span:nth-child(-n+2) { color: rgba(255,255,255,.55); }

/* ---- main title ---- */
.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(42px, 6.6vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0;
  max-width: 18ch;
  text-shadow: 0 6px 40px rgba(0,0,0,.35);
}
.hero__title .line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--e-out), transform 1.1s var(--e-expo);
}
.is-loaded .hero__title .line { opacity: 1; transform: translateY(0); }
.is-loaded .hero__title .line[data-i="0"] { transition-delay: .15s; }
.is-loaded .hero__title .line[data-i="2"] { transition-delay: .55s; }

/* line--em: Manrope bold, accent color; text is scrambled-in via JS */
.hero__title .line--em {
  font-family: var(--f-display);
  font-weight: 700;
  font-style: normal;
  color: var(--accent);
  letter-spacing: -0.035em;
  display: block;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.is-loaded .hero__title .line[data-i="1"] { transition-delay: .35s; }

/* ---- right side: projects + "Tümünü keşfet" button ---- */
.hero__side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  max-width: 640px;
  margin-left: auto;
}
/* Hero proje listesi viewport — sabit yükseklik, içeride translateY ile auto-scroll */
.hero__projects-shell {
  position: relative;
  width: 100%;
  max-height: 320px;
  overflow: hidden;
  /* Sadece kenar pikselleri yumuşatan ince fade — metin okunaklılığını koruyor */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
@media (max-width: 880px) {
  .hero__projects-shell { max-height: 240px; }
}
.hero__projects {
  display: grid;
  gap: 2px;
  padding: 0;
  margin: 0;
  width: 100%;
  transform: translateY(var(--proj-y, 0px));
  transition: transform .12s linear;
  will-change: transform;
}
.proj {
  display: block;
  padding: 6px 0 8px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s var(--e-out), transform .75s var(--e-out),
              border-color .25s, background .25s;
  will-change: opacity, transform;
  position: relative;
}
.proj.is-in { opacity: 1; transform: translateY(0); }
.proj__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.proj__link .proj__n   { flex: 0 0 28px; }
.proj__link .proj__name { flex: 0 1 auto; min-width: 0; }
.proj__link .proj__dot  { flex: 0 0 auto; }
.proj__link .proj__tag  { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.proj__link .proj__plats { flex: 0 0 auto; margin-left: auto; }
.proj:hover {
  border-bottom-color: var(--accent-2);
}
.proj:hover .proj__plats { opacity: 1; transform: translate(2px, -2px); }
.proj:hover .proj__name { animation: projGlitch .42s steps(3) 2; }
.proj:hover .proj__n    { color: #fff; }
@keyframes projGlitch {
  0%,100% { text-shadow: none; transform: translate(0); }
  30%     { text-shadow: 2px 0 var(--accent), -2px 0 rgba(90,200,255,.8); transform: translate(-1px,0); }
  60%     { text-shadow: -2px 0 var(--accent), 2px 0 rgba(255,110,255,.6); transform: translate(1px,-1px); }
  85%     { text-shadow: 1px 0 #fff, -1px 0 var(--accent); transform: translate(0,0); }
}
.proj__n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
  transition: color .25s;
}
.proj__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(13px, 1.05vw, 15.5px);
  letter-spacing: -0.005em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.proj__dot { color: rgba(255,255,255,.5); }
.proj__tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}
.proj__plats {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-left: 8px;
  opacity: .75;
  transition: opacity .25s;
}
.proj__plats svg {
  width: 11px; height: 11px;
  color: rgba(255, 255, 255, .85);
}
.proj:hover .proj__plats { opacity: 1; }

/* "Tümünü keşfet" ghost button below the list */
.hero__all {
  align-self: flex-end;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
  margin-top: 6px;
}
.hero__all:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.hero__all svg { transition: transform .3s var(--e-out); }
.hero__all:hover svg { transform: translateX(4px); }

/* ---- hold-phase hint ---- */
.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(8px);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--e-out), transform .55s var(--e-out);
  z-index: 2;
}
.hero__hint.is-in {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- Desktop: .hero__side-foot is transparent container; hero__all keeps its flex-end alignment --- */
.hero__side-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

/* --- Mobile: strip project row tags, move hint next to CTA, compact footer mega --- */
@media (max-width: 640px) {
  .proj__dot, .proj__tag { display: none; }
  .proj__plats { margin-left: auto; }

  /* Put the Devam hint on the left, "Tümünü keşfet" on the right — same row. */
  .hero__side-foot {
    justify-content: space-between;
    margin-top: 10px;
  }
  .hero__hint {
    position: static;
    transform: translateY(8px);
    padding: 8px 12px;
    font-size: 10px;
    letter-spacing: .18em;
    opacity: 1;          /* always visible on mobile — user needs the nudge */
    pointer-events: auto;
  }
  .hero__hint.is-in { transform: translateY(0); }
  .hero__all { margin-top: 0; }

  .foot__mega {
    font-size: clamp(64px, 26vw, 140px);
    letter-spacing: -0.04em;
    margin: 0 0 40px;
    max-width: 100%;
    overflow: hidden;
    padding: 0 8px;
  }
}
.hero__hint-arrow {
  display: inline-block;
  animation: hintBounce 1.6s var(--e-in-out) infinite;
  color: var(--accent-2);
}
@keyframes hintBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
  color: #fff;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: #fff; color: var(--accent); border-color: #fff; transform: translateY(-2px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* scroll progress row */
.hero__scroll {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .2em;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  margin-top: 32px;
}
.hero__scroll-line {
  flex: 1; max-width: 360px;
  height: 1px; background: rgba(255,255,255,.22);
  position: relative; overflow: hidden;
}
.hero__scroll-bar {
  position: absolute; top: 0; left: 0; height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width .08s linear;
}
.hero__scroll-pct { font-variant-numeric: tabular-nums; min-width: 46px; text-align: right; }

/* dark-theme buttons on hero only — since hero is over dark video */
@media (max-width: 1100px) {
  .hero__lede { grid-template-columns: 1fr; }
  .hero__actions { justify-self: start; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  position: relative;
  z-index: 3;  /* keeps it above any residual hero stacking on mobile address-bar resize */
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee__track { display: flex; flex-direction: column; gap: 6px; }
.marquee__row {
  display: inline-flex; white-space: nowrap; gap: 28px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
  animation: marquee 24s linear infinite;
  padding-right: 28px;
}
.marquee__row .dot { color: var(--accent); font-family: var(--f-body); }
.marquee__row--reverse {
  animation-duration: 30s;
  animation-direction: reverse;
  color: var(--fg-dim);
  font-size: clamp(22px, 3vw, 40px);
}
.marquee__row--reverse em {
  font-style: italic; font-weight: 500; color: var(--fg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   PROJE ALANLARI
   ============================================================ */
.areas {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter) 160px;
  overflow: hidden;
  isolation: isolate;
}
.areas__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.areas__bg .bg-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  animation: bgFlow 28s linear infinite;
  will-change: stroke-dashoffset;
}
.areas__bg .bg-line--a { color: var(--accent); opacity: 0.32; stroke-dasharray: 4 10; }
.areas__bg .bg-line--f { color: var(--fg);     opacity: 0.22; stroke-dasharray: 2 8; }
.areas__bg .bg-line--slow { animation-duration: 70s; }
.areas__bg .bg-line--fast { animation-duration: 14s; stroke-dasharray: 1 18; opacity: 0.28; }
.areas__bg .bg-line:nth-of-type(odd)  { animation-direction: normal; }
.areas__bg .bg-line:nth-of-type(even) { animation-direction: reverse; }
@keyframes bgFlow { to { stroke-dashoffset: -320; } }
.areas > .section__head,
.areas > .areas__list { position: relative; z-index: 1; }
.areas__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  background: rgba(255,255,255,.45);
}
@media (max-width: 880px) { .areas__list { grid-template-columns: 1fr; } }
.area {
  position: relative;
  padding: 56px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--e-out), transform .9s var(--e-out), background .3s;
}
.area.is-revealed { opacity: 1; transform: translateY(0); }
.area:nth-child(2n) { border-right: none; }
.area::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(
    700px circle at var(--mx, 50%) var(--my, 50%),
    rgba(195, 44, 43, 0.10),
    transparent 40%
  );
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.area:hover::before { opacity: 1; }
.area:hover .area__title { color: var(--accent); }
.area__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.area__num {
  font-family: var(--f-display); font-weight: 700;
  font-size: 14px; color: var(--fg); letter-spacing: 0;
}
.area__status { display: inline-flex; align-items: center; gap: 8px; }
.area__status i {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}
.area__status.status--soon i { background: var(--fg-mute); box-shadow: none; }
.area__status.status--soon { color: var(--fg-mute); }
.area__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  transition: color .35s;
  color: var(--fg);
}
.area__text {
  max-width: 46ch;
  color: var(--fg-dim);
  margin: 0 0 24px;
  font-size: 15px; line-height: 1.55;
}
.area__products {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.area__products span {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg-dim);
}
.area__products span.soon {
  color: var(--fg-mute);
  border-style: dashed;
}
.area__products .pin {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.area__products a.pin:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.area__products .pin--soon {
  color: var(--fg-mute);
  border-style: dashed;
}
.area__products a.pin--soon:hover {
  color: var(--accent);
  border-color: var(--accent);
  border-style: solid;
}
.area__products .pin__arrow {
  opacity: .6;
  transition: opacity .2s, transform .2s var(--e-out);
}
.area__products a.pin:hover .pin__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* platform badge row on area cards */
.area__plats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  position: relative;
  z-index: 2;
  max-width: calc(100% - clamp(130px, 17vw, 216px));
}
.area__plats .plat {
  width: 28px; height: 28px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--fg-dim);
  background: rgba(255,255,255,.55);
  transition: color .25s, border-color .25s, background .25s, transform .25s;
}
.area__plats .plat svg { width: 14px; height: 14px; }
.area__plats .plat:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.area__img {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: clamp(132px, 17vw, 216px);
  height: auto;
  pointer-events: none;
  opacity: .88;
  transform: translateY(2px) rotate(0deg);
  transition: opacity .5s var(--e-out), transform .7s var(--e-out), filter .5s;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(195, 44, 43, .14));
}
.area:hover .area__img {
  opacity: 1;
  transform: translateY(-4px) rotate(-1deg) scale(1.04);
  filter: drop-shadow(0 14px 32px rgba(195, 44, 43, .28));
}
.area__text,
.area__products {
  position: relative;
  z-index: 2;
  padding-right: clamp(0px, 14.5vw, 192px);
}
@media (max-width: 700px) {
  .area__img { width: 116px; right: 14px; bottom: 10px; opacity: .72; }
  .area__text, .area__products { padding-right: 0; }
}

/* ============================================================
   SHOWCASE
   ============================================================ */
.showcase {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-bottom: 160px;
  overflow: hidden;
}
.showcase > * { position: relative; z-index: 1; }
.showcase__ghostcar {
  position: absolute;
  top: -2%;
  right: calc((100% - var(--maxw)) / 2 + var(--gutter) - 40px);
  width: min(644px, 48vw);
  aspect-ratio: 2002 / 1413;
  pointer-events: none;
  z-index: 0;
  opacity: .7;
  filter: drop-shadow(0 40px 60px rgba(167,28,28,.18));
  mix-blend-mode: multiply;
  will-change: transform;
}
.showcase__ghostcar svg {
  width: 100%; height: 100%;
  overflow: visible;
}
.showcase__ghostcar svg path {
  fill: var(--accent);
  opacity: 0;
  transform: translate(40px, 10px) scale(.92);
  transform-origin: center;
  transform-box: fill-box;
  transition:
    opacity .9s var(--e-out),
    transform 1.1s var(--e-out);
}
.showcase__ghostcar.is-revealed svg path {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
@media (max-width: 900px) {
  .showcase__ghostcar { top: -4%; right: -18%; width: 90vw; }
}
.showcase__head { padding: 160px var(--gutter) 56px; max-width: var(--maxw); margin: 0 auto; }
.showcase__stage {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: stretch;
}
@media (max-width: 1000px) { .showcase__stage { grid-template-columns: 1fr; } }
.showcase__frame {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(ellipse 70% 65% at 50% 105%, rgba(195,44,43,.12), transparent 70%),
    linear-gradient(180deg, #fff, var(--bg-2));
  overflow: hidden;
  padding: 22px;
  display: grid;
  place-items: stretch;
}
.showcase__frame::before,
.showcase__frame::after {
  content: ""; position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--accent);
}
.showcase__frame::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.showcase__frame::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* ============================================================
   FLEET PANEL (mockup inside showcase frame)
   ============================================================ */
.fleet-shell {
  position: relative;
  width: 100%;
  min-height: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, #c7322e 0%, #a8201f 100%);
  color: #fff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow:
    0 40px 80px -24px rgba(167, 28, 28, .45),
    0 18px 40px -18px rgba(0, 0, 0, .25),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  overflow: hidden;
  font-family: var(--f-display);
  isolation: isolate;
}
.fleet__main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  align-items: stretch;
}
.fleet__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 0;
}
@media (max-width: 700px) {
  .fleet__main { grid-template-columns: 1fr; }
}
.fleet-shell__shine {
  position: absolute;
  inset: -25% -25% 45% -25%;
  background: radial-gradient(ellipse at 22% 0%, rgba(255,255,255,.18), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.fleet-shell > * { position: relative; z-index: 1; }

.fleet__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
}
.fleet__brand { display: inline-flex; align-items: center; gap: 8px; }
.fleet__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #7fe59d;
  box-shadow: 0 0 10px #7fe59d;
  animation: fleetPulse 1.8s var(--e-in-out) infinite;
}
@keyframes fleetPulse { 50% { opacity: .35; transform: scale(.85); } }
.fleet__time {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #fff;
  letter-spacing: .08em;
}

.fleet__map {
  position: relative;
  flex: 1 1 auto;
  min-height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.05)),
    radial-gradient(ellipse at 70% 30%, rgba(255,255,255,.10), transparent 60%);
  border: 1px solid rgba(255,255,255,.14);
}
.fleet__mapsvg { width: 100%; height: 100%; display: block; }
.fleet__mapdot {
  filter: drop-shadow(0 0 6px rgba(255,255,255,.9));
  animation: fleetMapPulse 2.2s var(--e-in-out) infinite;
}
.fleet__mapdot--b { animation-delay: .6s; }
.fleet__mapdot--c { animation-delay: 1.2s; }
@keyframes fleetMapPulse {
  0%,100% { opacity: 1; r: 3.5; }
  50%     { opacity: .5; r: 4.8; }
}
.fleet__mapbadge {
  position: absolute;
  left: 10px; top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.16);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.fleet__mapbadge .fleet__meta-val {
  font-size: 10.5px;
  letter-spacing: .12em;
}
.fleet__mapbadge .fleet__meta-val b {
  font-size: 13px;
  margin-right: 4px;
  vertical-align: -1px;
}
.fleet__meta {
  text-align: right;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  display: flex; flex-direction: column; gap: 4px;
}
.fleet__meta-val {
  font-size: 12px;
  letter-spacing: .14em;
  color: #fff;
}
.fleet__meta-val b {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
  margin-right: 6px;
  vertical-align: -2px;
}

.fleet__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.fctrl {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  display: grid; place-items: center;
  border: 0;
  padding: 0;
  transition: transform .25s var(--e-out), background .25s, color .25s;
}
.fctrl:hover { transform: translateY(-2px); }
.fctrl--on {
  background: transparent;
  color: #fff;
  border: 1.6px solid #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.35);
  animation: fctrlGlow 2.4s var(--e-in-out) infinite;
}
@keyframes fctrlGlow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255,255,255,.10); }
  50%      { box-shadow: 0 0 0 6px rgba(255,255,255,.22); }
}

.fleet__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.fstat {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 9px;
  padding: 8px 4px 7px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.fstat svg { opacity: .85; }
.fstat b {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.01em;
}
.fstat small {
  font-size: 9.5px;
  opacity: .7;
  letter-spacing: .1em;
  margin-top: -2px;
}

.fleet__devices {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fdev {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  column-gap: 10px;
  align-items: center;
  padding: 9px 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  transition: background .25s;
  min-width: 0;
  min-height: 0;
}
.fdev:hover { background: rgba(255,255,255,.14); }
.fdev__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7fe59d;
  box-shadow: 0 0 6px rgba(127, 229, 157, .85);
}
.fdev--syncing .fdev__dot {
  background: #ffc24a;
  box-shadow: 0 0 8px rgba(255, 194, 74, .9);
  animation: fleetPulse 1s var(--e-in-out) infinite;
}
.fdev__info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fdev__info b {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fdev__info small {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  opacity: .7;
}

.fsigs { display: inline-flex; gap: 10px; flex-shrink: 0; }
.fsig {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.85);
  position: relative;
  padding-top: 12px;
}
.fsig i {
  display: inline-block;
  width: 3px;
  background: rgba(255,255,255,.28);
  border-radius: 1px;
}
.fsig i:nth-child(1) { height: 4px; }
.fsig i:nth-child(2) { height: 6px; }
.fsig i:nth-child(3) { height: 9px; }
.fsig i:nth-child(4) { height: 12px; }
.fsig[data-bars="4"] i { background: #fff; }
.fsig[data-bars="3"] i:nth-child(-n+3) { background: #fff; }
.fsig[data-bars="2"] i:nth-child(-n+2) { background: #fff; }
.fsig[data-bars="1"] i:nth-child(1)    { background: #fff; }
.fsig em {
  position: absolute;
  top: 0; left: 0;
  font-style: normal;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

.showcase__copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.kbd {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
  padding: 6px 10px;
  display: inline-block;
  border: 1px solid var(--accent-dim);
  background: var(--accent-soft);
  border-radius: 4px;
  align-self: flex-start;
}
.showcase__copy h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--fg);
}
.showcase__copy p {
  color: var(--fg-dim);
  max-width: 44ch;
  font-size: 15.5px; line-height: 1.6;
  margin: 0;
}
.featurelist { margin-top: 12px; border-top: 1px solid var(--line); }
.featurelist li {
  display: flex; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--fg);
}
.featurelist .mono {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .08em;
  color: var(--fg-mute);
  text-transform: uppercase;
}

/* ============================================================
   CAPS
   ============================================================ */
.caps {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 160px;
  overflow: hidden;
}
.caps > *:not(.caps__neural) { position: relative; z-index: 1; }
.caps__neural {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 65%;
  pointer-events: none;
  z-index: 0;
  opacity: .9;
}
@media (max-width: 880px) {
  .caps__neural { width: 100%; height: 240px; opacity: .5; }
}
.caps__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
}
@media (max-width: 1000px) { .caps__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .caps__list { grid-template-columns: 1fr; } }
.cap {
  padding: 48px 28px 60px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s var(--e-out), transform .8s var(--e-out);
}
.cap.is-revealed { opacity: 1; transform: translateY(0); }
.cap:last-child { border-right: none; }
@media (max-width: 1000px) { .cap { border-right: 1px solid var(--line); } .cap:nth-child(2n) { border-right: none; } }
.cap::before {
  content: ""; position: absolute;
  top: 0; left: 0; width: 0; height: 2px;
  background: var(--accent);
  transition: width .8s var(--e-expo);
}
.cap.is-revealed::before { width: 60px; }
.cap__n {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .18em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cap__t {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--fg);
}
.cap__p { color: var(--fg-dim); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ============================================================
   ROAD
   ============================================================ */
.road {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-bottom: 120px;
  overflow: hidden;
  isolation: isolate;
}
.road__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%),
              linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%),
                      linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-composite: source-in;
}
.road__rails .rl {
  fill: none;
  stroke: var(--fg);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: .22;
  animation: roadRail 18s linear infinite;
  will-change: stroke-dashoffset;
}
.road__rails .rl--a     { stroke: var(--accent); opacity: .32; }
.road__rails .rl--slow  { stroke-dasharray: 2 12; animation-duration: 34s; }
.road__rails .rl--med   { stroke-dasharray: 3 10; animation-duration: 22s; }
.road__rails .rl--fast  { stroke-dasharray: 1 16; animation-duration: 12s; }
.road__rails .rl:nth-of-type(even) { animation-direction: reverse; }
@keyframes roadRail { to { stroke-dashoffset: -400; } }

.road__ticks circle {
  fill: var(--accent);
  opacity: .7;
  animation: roadTick 2.6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.road__ticks circle:nth-child(2) { animation-delay: .3s; }
.road__ticks circle:nth-child(3) { animation-delay: .8s; }
.road__ticks circle:nth-child(4) { animation-delay: 1.2s; }
.road__ticks circle:nth-child(5) { animation-delay: 1.6s; }
.road__ticks circle:nth-child(6) { animation-delay: 2.0s; }
.road__ticks circle:nth-child(7) { animation-delay: .5s; }
.road__ticks circle:nth-child(8) { animation-delay: 1.0s; }
@keyframes roadTick {
  0%, 100% { opacity: .25; transform: scale(.8); }
  50%      { opacity: .95; transform: scale(1.6); }
}

.road__beams .bm {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px rgba(195,44,43,.9));
  animation: roadBeam 9s linear infinite;
}
.road__beams .bm:nth-child(2) { animation-duration: 11s; animation-delay: -2s; }
.road__beams .bm:nth-child(3) { animation-duration: 8s;  animation-delay: -5s; }
.road__beams .bm:nth-child(4) { animation-duration: 13s; animation-delay: -1s; }
@keyframes roadBeam {
  from { transform: translateX(0); opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  to   { transform: translateX(1440px); opacity: 0; }
}

.road > *:not(.road__bg) { position: relative; z-index: 1; }
.road__head { padding: 160px var(--gutter) 56px; max-width: var(--maxw); margin: 0 auto; }

/* infinite marquee */
.road__viewport {
  position: relative;
  overflow: hidden;
  padding: 10px 0 20px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.road__track {
  display: flex;
  width: max-content;
  padding-left: var(--gutter);
  will-change: transform;
  animation: roadMarquee 56s linear infinite;
}
@media (hover: hover) {
  .road__viewport:hover .road__track { animation-play-state: paused; }
}
.road__row {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}
@keyframes roadMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.stop {
  position: relative;
  flex: 0 0 300px;
  padding: 26px 22px 24px;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  border-radius: 14px;
  transition: border-color .35s var(--e-out), transform .35s var(--e-out),
              box-shadow .35s var(--e-out);
  isolation: isolate;
  overflow: hidden;
}
.stop::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(195,44,43,.08), transparent 55%);
  opacity: 0;
  transition: opacity .35s var(--e-out);
  z-index: -1;
}
.stop:hover {
  border-color: rgba(195,44,43,.35);
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -18px rgba(24,20,17,.18);
}
.stop:hover::before { opacity: 1; }
.stop:hover .stop__icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.stop--live {
  border-color: rgba(195,44,43,.28);
  background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%);
}
.stop--live:hover { border-color: var(--accent); }

.stop__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 22px;
  transition: background .35s var(--e-out), color .35s var(--e-out), border-color .35s var(--e-out), transform .35s var(--e-out);
}
.stop__icon svg { width: 26px; height: 26px; }
.stop--live .stop__icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 18px -8px rgba(195,44,43,.55);
}

.stop__year {
  font-family: var(--f-mono);
  font-size: 11.5px; letter-spacing: .18em;
  color: var(--fg-mute); text-transform: uppercase;
  margin-bottom: 6px;
}
.stop h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.stop p { color: var(--fg-dim); font-size: 13.5px; line-height: 1.55; margin: 0 0 10px; max-width: 40ch; }
.stop__link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 10.5px; letter-spacing: .08em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent-dim);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s, transform .2s;
}
.stop__link:hover { color: var(--fg); border-bottom-color: var(--accent); transform: translateY(-1px); }
.stop__link svg { transition: transform .25s var(--e-out); }
.stop__link:hover svg { transform: translate(2px, -2px); }
.stop__tag {
  position: absolute;
  top: 22px; right: 20px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg-mute);
  background: rgba(255,255,255,.9);
}
.stop--live .stop__tag {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .road__track { animation: none; }
}
.mono { font-family: var(--f-mono); }

/* ============================================================
   TRUST
   ============================================================ */
.trust { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) 160px; }
.trust__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
}
@media (max-width: 880px) { .trust__list { grid-template-columns: 1fr; } }
.pillar {
  padding: 56px 40px 48px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s, transform .8s var(--e-out);
  position: relative;
}
.pillar:last-child { border-right: none; }
.pillar.is-revealed { opacity: 1; transform: translateY(0); }
.pillar__n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(72px, 9vw, 140px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-3);
  margin-bottom: 24px;
  transition: color .8s var(--e-out), -webkit-text-stroke-color .8s;
}
.pillar:hover .pillar__n {
  color: var(--accent);
  -webkit-text-stroke-color: var(--accent);
}
.pillar h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--fg);
}
.pillar p {
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 38ch;
}
.pillar__foot {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--fg-mute);
  text-transform: uppercase;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding: 120px var(--gutter);
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.cta__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.cta__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.cta__label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.cta__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 140px);
  line-height: .95;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
  max-width: 12ch;
  color: var(--fg);
}
.cta__title em {
  font-weight: 400;
  color: var(--accent);
  font-style: italic;
}
.cta__desc {
  color: var(--fg-dim);
  font-size: clamp(16px, 1.2vw, 19px);
  max-width: 54ch;
  margin: 0 0 56px;
}

.news {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 640px;
  border: 1px solid var(--line-2);
  padding: 4px;
  border-radius: 999px;
  background: #fff;
}
.news__field { flex: 1; padding: 8px 20px; display: flex; flex-direction: column; }
.news__field label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: .18em;
  color: var(--fg-mute); text-transform: uppercase;
}
.news__field input {
  font: inherit; font-size: 15px;
  background: none; border: 0; color: var(--fg);
  outline: none;
  padding: 2px 0;
}
.news__field input::placeholder { color: var(--fg-mute); }
.news button {
  padding: 14px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .3s;
}
.news button:hover { background: var(--fg); }

.cta__direct {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 14px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--fg-dim);
}
.cta__direct a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--accent-dim);
  text-underline-offset: 4px;
  transition: text-decoration-color .3s;
}
.cta__direct a:hover { text-decoration-color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  position: relative;
  padding: 56px var(--gutter) 32px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.foot__mega {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(120px, 22vw, 360px);
  line-height: .85;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-3);
  text-align: center;
  margin: 0 0 64px;
  user-select: none;
  transition: color 1s, -webkit-text-stroke-color 1s;
}
.foot__mega:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
@media (max-width: 880px) { .foot__cols { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 520px) { .foot__cols { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.foot__k {
  display: block;
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.foot__col ul { display: flex; flex-direction: column; gap: 10px; }
.foot__col a { color: var(--fg); font-size: 14.5px; transition: color .25s; }
.foot__col a:hover { color: var(--accent); }
.foot__col--contact { display: flex; flex-direction: column; gap: 10px; }
.foot__col--contact span:not(.foot__k) { font-size: 14px; color: var(--fg-dim); }

.foot__social { display: inline-flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.foot__social a {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--fg-dim);
  transition: border-color .3s, color .3s, background .3s, transform .3s;
}
.foot__social a:hover { transform: translateY(-2px); }
.foot__social svg { width: 16px; height: 16px; }
.foot__social a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.foot__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
.foot__bottom .dim { color: var(--accent); }
.foot__credit {
  margin-top: 14px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--fg-mute);
}
.foot__credit a {
  color: var(--fg-dim);
  border-bottom: 1px dotted var(--line-2);
  transition: color .2s, border-color .2s;
}
.foot__credit a:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   MISC
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .nav__lang { display: none; }
  .nav__cta { padding: 9px 14px; font-size: 11px; }
  .nav__cta svg { display: none; }
  .nav { padding: 14px 20px; }
  .slogan { font-size: clamp(34px, 10.5vw, 80px); letter-spacing: -0.025em; }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__actions { flex-direction: column; width: 100%; align-items: stretch; }
  .btn { justify-content: center; }
}
