/* ==========================================================
   Serkan Tiken — shared design system
   ========================================================== */
:root {
  --bg: #0b0c12;
  --bg-2: #12141d;
  --bg-3: #1a1d29;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --ink: #f3f4f8;
  --ink-2: #c8ccd8;
  --muted: #8d93a6;
  --farm: #9be15d;
  --farm-2: #f7c948;
  --ville: #4fb3ff;
  --ville-2: #7cf0d4;
  --dice: #ffcf4a;
  --dice-2: #ff7a59;
  --syn: #2dd4bf;
  --syn-2: #38bdf8;
  --rune: #ff8a3d;
  --rune-2: #f2c35b;
  --zeta: #2194f0;
  --zeta-2: #00bad2;
  --c: #38bdf8;
  --c2: #4fb3ff;
  --radius: 24px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--c); color: #0b0c12; }

/* language toggle: every bilingual element carries lang="tr" / lang="en" */
html[data-lang="tr"] body [lang="en"],
html[data-lang="en"] body [lang="tr"] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(11,12,18,.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--line);
}
.nav.hide { transform: translateY(-100%); }
.nav-in {
  max-width: var(--wrap); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; gap: 22px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 18px/1 var(--display); text-decoration: none; letter-spacing: -.01em;
  white-space: nowrap;
}
.mark { display: grid; grid-template-columns: repeat(3, 6px); gap: 3px; }
.mark i { width: 6px; height: 6px; border-radius: 2px; animation: markPulse 3.2s var(--ease) infinite; }
.mark i:nth-child(1) { background: var(--farm); }
.mark i:nth-child(2) { background: var(--ville); animation-delay: .2s; }
.mark i:nth-child(3) { background: var(--dice); animation-delay: .4s; }
.mark i:nth-child(4) { background: var(--syn); animation-delay: .6s; }
.mark i:nth-child(5) { background: var(--zeta); animation-delay: .8s; }
.mark i:nth-child(6) { background: var(--ink); opacity: .35; animation-delay: 1s; }
@keyframes markPulse { 0%, 70%, 100% { transform: scale(1); } 35% { transform: scale(.55); } }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 8px 12px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.08); }
.nav-links a .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.lang {
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--ink);
  font: 600 12px/1 var(--sans); letter-spacing: .06em; padding: 9px 12px; border-radius: 999px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.lang:hover { border-color: var(--ink); }
.menu-btn { display: none; }

/* ---------------------------------------------------------- aurora backdrop */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora b {
  position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%;
  filter: blur(80px); opacity: .5; mix-blend-mode: screen;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora b:nth-child(1) { background: var(--a1, var(--syn)); left: -12vmax; top: -16vmax; }
.aurora b:nth-child(2) { background: var(--a2, var(--dice)); right: -14vmax; top: -6vmax; animation-duration: 26s; animation-delay: -6s; }
.aurora b:nth-child(3) { background: var(--a3, var(--ville)); left: 20vw; bottom: -26vmax; animation-duration: 30s; animation-delay: -12s; }
.aurora b:nth-child(4) { background: var(--a4, var(--farm)); right: 10vw; bottom: -30vmax; animation-duration: 28s; animation-delay: -3s; opacity: .3; }
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(6vmax, 4vmax) scale(1.12); }
  100% { transform: translate(-4vmax, 8vmax) scale(.92); }
}
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.gridlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
  opacity: .5;
}

/* ---------------------------------------------------------- type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--c);
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; margin: 0; }
.h-xl { font-size: clamp(48px, 10vw, 132px); line-height: .92; font-weight: 800; }
.h-l  { font-size: clamp(36px, 5.6vw, 68px); line-height: 1; font-weight: 750; }
.h-m  { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; font-weight: 700; }
.lede { font-size: clamp(17px, 1.9vw, 21px); color: var(--ink-2); max-width: 56ch; margin: 22px 0 0; }
.grad {
  background: linear-gradient(100deg, var(--c), var(--c2), var(--c));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* split letters (JS wraps each char in .ch) */
.split .ch { display: inline-block; transform: translateY(110%) rotate(8deg); opacity: 0; }
.split.in .ch { animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 35ms + .1s); }
.split.in .grad.ch { animation: rise .9s var(--ease) forwards, shimmer 6s linear infinite; animation-delay: calc(var(--i) * 35ms + .1s), 0s; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; white-space: nowrap; }
@keyframes rise { to { transform: none; opacity: 1; } }

/* ---------------------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal.zoom { transform: scale(.94); }
.reveal.zoom.in { transform: none; }
.reveal.left { transform: translateX(-40px); }
.reveal.right { transform: translateX(40px); }
.reveal.left.in, .reveal.right.in { transform: none; }

/* ---------------------------------------------------------- buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none; cursor: pointer;
  font: 600 15px/1 var(--sans); border: 1px solid transparent;
  background: var(--c); color: #0b0c12;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), background .2s, border-color .2s;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--c) 70%, transparent);
  overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--c) 80%, transparent); }
.btn:hover::after { transform: translateX(120%); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { background: rgba(255,255,255,.04); color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.btn.off { background: transparent; color: var(--muted); border: 1px dashed var(--line-2); box-shadow: none; cursor: default; }
.btn.off:hover { transform: none; }
.btn small { font-weight: 500; opacity: .7; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li, .chip {
  font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2); background: rgba(255,255,255,.03);
}
.chip.hot { background: var(--c); color: #0b0c12; border-color: transparent; font-weight: 700; }
.pulse { position: relative; padding-left: 26px !important; }
.pulse::before, .pulse::after {
  content: ""; position: absolute; left: 11px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: currentColor;
}
.pulse::after { animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3); opacity: 0; } }

/* ---------------------------------------------------------- sections */
.section { position: relative; padding: clamp(80px, 12vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-2); font-size: 18px; margin: 18px 0 0; }

/* feature cards with cursor glow */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), border-color .3s;
}
.feat::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 22%, transparent), transparent 60%);
}
.feat:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.feat:hover::before { opacity: 1; }
.feat > * { position: relative; }
.feat .ico {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px;
  background: color-mix(in srgb, var(--c) 14%, transparent); font-size: 30px;
  transition: transform .5s var(--spring);
}
.feat .ico img { width: 52px; height: 52px; object-fit: contain; }
.feat:hover .ico { transform: rotate(-8deg) scale(1.12); }
.feat h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.feat p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 30px 24px; }
.stat b { display: block; font: 800 clamp(36px, 5vw, 56px)/1 var(--display); letter-spacing: -.04em; color: var(--c); }
.stat span { color: var(--muted); font-size: 14px; }

/* gallery (horizontal scroll) */
.gallery {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 20px 28px; margin: 0 -20px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.gallery figure {
  flex: 0 0 auto; margin: 0; scroll-snap-align: center; cursor: zoom-in;
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2);
  transition: transform .5s var(--ease), border-color .3s;
}
.gallery figure:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--c); }
.gallery img { height: clamp(300px, 52vh, 520px); width: auto; object-fit: cover; }
.gallery.land img { height: clamp(220px, 40vh, 400px); }
.gallery figcaption { padding: 12px 16px; font-size: 14px; color: var(--ink-2); }

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: rgba(5,6,10,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lb.open { opacity: 1; pointer-events: auto; }
.lb img { max-height: 88vh; max-width: 92vw; width: auto; border-radius: 16px; transform: scale(.92); transition: transform .4s var(--spring); }
.lb.open img { transform: none; }
.lb button { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font-size: 20px; cursor: pointer; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 700 clamp(22px, 3vw, 34px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; color: var(--muted); display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; font-size: .6em; color: var(--c); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* download cards */
.dls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl {
  padding: 28px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease), border-color .3s;
}
.dl:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.dl .pf { font-size: 30px; margin-bottom: 8px; }
.dl h3 { font-size: 22px; }
.dl p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.dl .btn { margin-top: auto; align-self: flex-start; }
.note { margin-top: 26px; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--ink-2); font-size: 15px; }
.note p { margin: 0 0 10px; } .note p:last-child { margin: 0; }
details.note summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details.note[open] summary { margin-bottom: 12px; }

/* privacy strip */
.privacy {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  padding: 36px; border-radius: var(--radius);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 12%, var(--bg-2)), var(--bg-2));
  border: 1px solid var(--line);
}
.privacy .shield { font-size: 44px; line-height: 1; animation: bob 4s ease-in-out infinite; }
.privacy p { margin: 0 0 10px; color: var(--ink-2); }
.privacy .links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-4deg); } }

/* project page hero */
.phero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px; }
.phero .wrap { position: relative; z-index: 2; width: 100%; }
.phero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.phero h1.h-xl { font-size: clamp(46px, 7.4vw, 108px); }
.phero .device { width: fit-content; margin: 0 auto; }
.phero .device img { max-height: 72vh; width: auto; }
.app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.app-id img { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--c) 70%, transparent); animation: bob 5s ease-in-out infinite; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* floating device frame */
.device {
  position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px color-mix(in srgb, var(--c) 60%, transparent), 0 0 0 8px rgba(255,255,255,.03);
  transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .25s ease-out;
}
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* project pager at the bottom of project pages */
.pager { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pager a {
  --c: var(--pc); display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; text-decoration: none;
  background: var(--bg-2); border: 1px solid var(--line); transition: transform .4s var(--spring), border-color .3s;
}
.pager a:hover { transform: translateY(-4px) scale(1.02); border-color: var(--pc); }
.pager img { width: 46px; height: 46px; border-radius: 12px; }
.pager b { display: block; font-family: var(--display); font-size: 17px; }
.pager small { color: var(--muted); font-size: 13px; }

/* footer */
.foot { position: relative; border-top: 1px solid var(--line); padding: 64px 0 48px; color: var(--muted); font-size: 14px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 14px; color: var(--ink); font: 600 14px/1 var(--sans); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--ink); }
.foot .big { font: 800 clamp(44px, 9vw, 120px)/.9 var(--display); letter-spacing: -.05em; color: rgba(255,255,255,.05); margin-top: 48px; white-space: nowrap; user-select: none; }

/* legal / doc pages */
.doc { padding: 140px 0 80px; position: relative; overflow: hidden; }
.doc .wrap { position: relative; z-index: 2; max-width: 820px; }
.doc-body { margin-top: 40px; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: rgba(18,20,29,.82); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.doc-body h1 { display: none; }
.doc-body h2 { font-size: 24px; margin: 36px 0 12px; letter-spacing: -.02em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 19px; margin: 26px 0 10px; }
.doc-body p, .doc-body li { color: var(--ink-2); }
.doc-body a { color: var(--c); }
.doc-body code, .doc-body pre { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; }
.doc-body code { background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 6px; }
.doc-body pre { background: #07080c; border: 1px solid var(--line); padding: 16px; border-radius: 14px; overflow-x: auto; }
.doc-body pre code { background: none; padding: 0; }
.doc-body table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.doc-body th, .doc-body td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.doc-body img { border-radius: 14px; border: 1px solid var(--line); }
.doc-body .shots { display: flex; gap: 12px; overflow-x: auto; }
.doc-body .shots img { height: 360px; width: auto; }
.doc-body .wide img { width: 100%; }
.doc-meta { color: var(--muted); font-size: 14px; margin-top: 10px; }
.back { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 26px; }
.back:hover { color: var(--ink); }

/* cursor dot (pointer devices only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 18%, transparent), transparent 65%); opacity: 0; transition: opacity .4s; mix-blend-mode: screen; }
body.has-cursor .cursor { opacity: 1; }

/* progress bar */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--c), var(--c2)); }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
  .phero-grid { grid-template-columns: 1fr; }
  .pager { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    position: fixed; inset: 64px 12px auto 12px; flex-direction: column; gap: 2px; padding: 10px;
    background: rgba(18,20,29,.96); border: 1px solid var(--line); border-radius: 20px;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .menu-btn {
    display: grid; place-items: center; margin-left: auto; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--ink); cursor: pointer;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
  .nav.open .menu-btn span { background: transparent; }
  .nav.open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
  .nav.open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
}
@media (max-width: 760px) {
  .feats, .dls { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; padding: 26px; }
  .pager { grid-template-columns: 1fr; }
  .gallery img { height: 380px; }
  .gallery.land img { height: 220px; }
  .cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .ch { opacity: 1 !important; transform: none !important; }
}
