/* ═══════════════════════════════════════════
   GENSTACK.XYZ — Akhil, Web Developer
   Dark · Acid lime · Clash Display + Satoshi
   ═══════════════════════════════════════════ */

:root {
  --bg: #0a0a0b;
  --bg-soft: #111113;
  --ink: #f2f0ea;
  --ink-dim: #8b8b8f;
  --accent: #d4ff3f;
  --accent-dim: rgba(212, 255, 63, 0.12);
  --line: rgba(242, 240, 234, 0.1);
  --font-display: "Clash Display", sans-serif;
  --font-body: "Satoshi", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* overflow-x must be declared on both html and body — if only body sets it,
   the browser hands the viewport's real scrolling box to <body> instead of
   <html> (CSS overflow-propagation quirk), which breaks Lenis: it writes to
   documentElement.scrollTop assuming that's the actual scroller. */
html { scroll-behavior: auto; overflow-x: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── Grain ─── */
.grain {
  position: fixed; inset: -100%;
  pointer-events: none; z-index: 999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 4%); }
  40% { transform: translate(4%, -3%); }
  60% { transform: translate(-2%, -4%); }
  80% { transform: translate(3%, 3%); }
}

/* ─── Scroll progress ─── */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 998; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 100%;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}

/* ─── Preloader ─── */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 3rem 4vw;
}
.preloader__inner { display: flex; flex-direction: column; gap: 0.5rem; }
.preloader__count {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(5rem, 14vw, 12rem); line-height: 0.9;
  color: var(--accent);
}
.preloader__word { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.3em; font-size: 0.85rem; }
.preloader__tag { font-family: var(--font-mono); font-size: 0.65rem; color: var(--ink-dim); margin-left: 1rem; }
.preloader__bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--line);
}
.preloader__bar span { display: block; height: 100%; width: 0%; background: var(--accent); }

/* ─── Custom Cursor ─── */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 1001;
  border-radius: 50%;
  will-change: transform;
}
.cursor {
  width: 8px; height: 8px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 42px; height: 42px;
  border: 1px solid rgba(212, 255, 63, 0.5);
  display: flex; align-items: center; justify-content: center;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              background 0.35s, border-color 0.35s;
}
.cursor-ring.is-hover { width: 70px; height: 70px; border-color: var(--accent); background: var(--accent-dim); }
.cursor-ring.is-label {
  width: 90px; height: 90px;
  background: var(--accent); border-color: var(--accent);
}
.cursor-ring__label {
  font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--bg);
  opacity: 0; transition: opacity 0.25s;
}
.cursor-ring.is-label .cursor-ring__label { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 4vw;
  transition: transform 0.5s var(--ease-out), background 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo {
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.nav__logo-img { width: 34px; height: 34px; border-radius: 8px; display: block; }
.nav__logo-dot { color: var(--ink-dim); font-weight: 400; }
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__link {
  font-size: 0.9rem; font-weight: 500; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 700;
  background: var(--accent); color: var(--bg);
  padding: 0.65rem 1.3rem; border-radius: 100px;
  transition: background 0.3s;
}
.nav__cta:hover { background: var(--ink); }
.nav__cta-arrow { transition: transform 0.3s var(--ease-out); }
.nav__cta:hover .nav__cta-arrow { transform: translate(2px, -2px); }
.nav__burger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav__burger span { width: 26px; height: 2px; background: var(--ink); transition: transform 0.4s var(--ease-out), opacity 0.3s; }
.nav__burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ─── Fullscreen Menu ─── */
.menu {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 8vw;
  visibility: hidden; pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__bg {
  position: absolute; inset: 0;
  background: var(--bg-soft);
  transform: translateY(-100%);
}
.menu__links { position: relative; display: flex; flex-direction: column; gap: 0.5rem; }
.menu__link {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1.15;
  display: flex; align-items: baseline; gap: 1.5rem;
  opacity: 0; transform: translateY(40px);
  transition: color 0.3s;
}
.menu__link:hover { color: var(--accent); }
.menu__index { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-dim); }
.menu__footer {
  position: absolute; bottom: 3rem; left: 8vw; right: 8vw;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-dim);
}

/* ─── Hero ─── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 4vw 3rem;
  position: relative; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.35;
}
.hero__orb--1 {
  width: 45vw; height: 45vw; right: -12vw; top: -10vw;
  background: radial-gradient(circle, rgba(212,255,63,0.5), transparent 65%);
}
.hero__orb--2 {
  width: 32vw; height: 32vw; left: -10vw; bottom: -8vw;
  background: radial-gradient(circle, rgba(63,140,255,0.35), transparent 65%);
}
.hero__gridlines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
}
.hero__meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2.5rem;
}
.hero__status {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-dim);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 0.5rem 1.1rem;
}
.hero__pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,255,63,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(212,255,63,0); }
}
.hero__loc { color: var(--ink-dim); }
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.2rem, 12.5vw, 11.5rem);
  line-height: 0.92; letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero__line { display: block; overflow: hidden; }
.hero__line--outline .char {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.hero__word { display: inline-block; }
.hero__accent { display: inline-block; color: var(--accent); }
.char { display: inline-block; will-change: transform; }
.hero__sub {
  max-width: 480px; margin-top: 2.5rem;
  color: var(--ink-dim); font-size: 1.05rem;
}
.hero__sub em { color: var(--ink); font-style: italic; }
.hero__bottom {
  margin-top: auto; padding-top: 3.5rem;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.hero__scroll-hint { display: inline-flex; align-items: center; gap: 1rem; color: var(--ink-dim); }
.hero__scroll-hint .mono { font-size: 0.68rem; }
.hero__scroll-circle {
  width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__scroll-arrow { display: block; animation: scrollArrow 1.8s var(--ease-out) infinite; color: var(--ink); }
@keyframes scrollArrow {
  0% { transform: translateY(-24px); opacity: 0; }
  35%, 65% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(24px); opacity: 0; }
}
.hero__stack { color: var(--ink-dim); }
.hero__stack [data-scramble] { cursor: default; transition: color 0.3s; }
.hero__stack [data-scramble]:hover { color: var(--accent); }

/* Rotating badge */
.hero__badge {
  position: absolute; right: 4vw; bottom: 22vh;
  width: 110px; height: 110px;
}
.hero__badge svg { animation: spin 14s linear infinite; }
.hero__badge-text {
  fill: var(--ink-dim); font-family: var(--font-mono);
  font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase;
}
.hero__badge-star {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.3rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .hero__badge { display: none; } }

/* ─── Marquee ─── */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.4rem 0; overflow: hidden; white-space: nowrap;
  background: var(--bg-soft);
}
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 2rem); text-transform: uppercase;
  letter-spacing: 0.04em;
}
.marquee__track i { font-style: normal; color: var(--accent); margin: 0 1.2rem; }

/* ─── Sections shared ─── */
section { padding: clamp(6rem, 12vw, 11rem) 4vw; }
.section-tag {
  display: inline-block; color: var(--accent);
  margin-bottom: 2.5rem;
  border: 1px solid rgba(212,255,63,0.3); border-radius: 100px;
  padding: 0.45rem 1rem;
}

/* ─── Manifesto ─── */
.manifesto__grid {
  display: grid; grid-template-columns: 1.55fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.manifesto__text {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.3;
  letter-spacing: -0.01em;
}
.manifesto__text .word { opacity: 0.12; display: inline-block; }
.manifesto__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--line);
}
.stat__num, .stat__plus {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4rem); color: var(--ink);
}
.stat__plus { color: var(--accent); }
.stat__label { display: block; color: var(--ink-dim); margin-top: 0.4rem; }
.manifesto__aside { display: flex; flex-direction: column; gap: 1.4rem; }
.aside-card {
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--bg-soft); padding: 1.9rem;
}
.aside-card--accent {
  background: linear-gradient(150deg, rgba(212, 255, 63, 0.12), rgba(212, 255, 63, 0.02));
  border-color: rgba(212, 255, 63, 0.3);
}
.aside-card__label { display: block; color: var(--accent); margin-bottom: 0.9rem; }
.aside-card__text { color: var(--ink); font-size: 1.02rem; }
.aside-card__cta {
  display: inline-block; margin-top: 1.2rem; color: var(--ink);
  border-bottom: 1px solid var(--accent); padding-bottom: 0.2rem;
}
.aside-card__cta:hover { color: var(--accent); }
.aside-card__list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.aside-card__list li {
  color: var(--ink-dim); padding-left: 1.1rem; position: relative;
}
.aside-card__list li::before {
  content: "◆"; position: absolute; left: 0; top: 0.1em;
  color: var(--accent); font-size: 0.55em;
}

/* ─── Work ─── */
.work__head { margin-bottom: 5rem; }
.work__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1.02;
  text-transform: uppercase; letter-spacing: -0.02em;
}
.work__list { display: flex; flex-direction: column; gap: clamp(5rem, 10vw, 9rem); }
.project {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.project--flip { direction: rtl; }
.project--flip > * { direction: ltr; }
.project__media {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}
.project__art {
  position: absolute; top: -12%; left: -12%;
  width: 124%; height: 124%;
  object-fit: cover;
  will-change: transform;
  filter: grayscale(0.35) contrast(1.02);
  transition: filter 0.6s var(--ease-out), scale 0.8s var(--ease-out);
}
.project:hover .project__art { filter: grayscale(0) saturate(1.15); scale: 1.04; }
/* gradient fallbacks behind the images while they load */
.project__media--1 { background: linear-gradient(140deg, #16181a, #0d1f12); }
.project__media--2 { background: linear-gradient(210deg, #1a1416, #120d1f); }
.project__media--3 { background: linear-gradient(30deg, #101a18, #0b0d16); }
.project__media[data-tilt] { transform-style: preserve-3d; perspective: 800px; }
.project__num {
  position: absolute; top: 1.2rem; left: 1.4rem;
  color: rgba(242,240,234,0.85); z-index: 2;
}
.project__info { padding-bottom: 0.5rem; }
.project__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 0.8rem;
}
.project__meta {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  color: var(--ink-dim); margin-bottom: 1rem;
}
.project__meta span { display: inline-flex; align-items: center; }
.project__meta span:not(:last-child)::after {
  content: "·"; margin-left: 0.6rem; color: var(--accent);
}
.project__desc { color: var(--ink-dim); max-width: 460px; margin-bottom: 1.4rem; }
.project__results {
  list-style: none; display: flex; flex-direction: column; gap: 0.55rem;
  margin-bottom: 1.6rem; padding: 1.1rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.project__results li { color: var(--ink-dim); }
.project__results strong { color: var(--accent); font-weight: 500; margin-right: 0.5rem; }
.project__tags { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.project__tags span {
  border: 1px solid var(--line); border-radius: 100px;
  padding: 0.35rem 0.9rem; color: var(--ink-dim);
}
.project__link {
  display: inline-block; margin-top: 1.3rem;
  color: var(--accent); border-bottom: 1px solid rgba(212, 255, 63, 0.35);
  padding-bottom: 0.2rem; transition: border-color 0.3s;
}
.project__link:hover { border-color: var(--accent); }

/* ─── Services ─── */
.services { background: var(--bg-soft); }
.services__list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 80px 1.1fr 1.4fr 60px;
  align-items: center; gap: 2rem;
  padding: 2.6rem 0.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.45s var(--ease-out);
  cursor: pointer;
}
.service::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent-dim), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.service:hover { padding-left: 1.6rem; }
.service:hover::before { opacity: 1; }
/* mouse spotlight */
.service::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 255, 63, 0.09), transparent 65%);
  opacity: 0; transition: opacity 0.35s;
}
.service:hover::after { opacity: 1; }
.service__num { color: var(--accent); }
.service__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
}
.service__desc { color: var(--ink-dim); font-size: 0.95rem; }
.service__arrow {
  font-size: 1.5rem; justify-self: end;
  transform: translateX(-10px); opacity: 0.3;
  transition: transform 0.4s var(--ease-out), opacity 0.4s, color 0.4s;
}
.service:hover .service__arrow { transform: translateX(0); opacity: 1; color: var(--accent); }

/* ─── Process (pinned horizontal) ─── */
.process { padding: 0; overflow: hidden; }
.process__pin {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(5rem, 8vw, 7rem) 4vw;
}
.process__head {
  display: flex; align-items: baseline; gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.process__head .section-tag { margin-bottom: 0; }
.process__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 4rem); text-transform: uppercase;
  letter-spacing: -0.02em;
}
.process__track {
  display: flex; gap: 1.5rem;
  width: max-content;
  will-change: transform;
}
.pcard {
  width: clamp(300px, 34vw, 460px);
  min-height: 340px;
  flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--bg-soft);
  padding: 2.4rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color 0.4s, background 0.4s;
}
.pcard:hover { border-color: rgba(212, 255, 63, 0.45); }
.pcard__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: 3.2rem; color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  margin-bottom: auto;
}
.pcard__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.8rem; margin: 1.6rem 0 0.8rem;
}
.pcard__desc { color: var(--ink-dim); font-size: 0.95rem; }
.pcard__meta { color: var(--accent); margin-top: 1.4rem; }
.pcard--cta {
  background: var(--accent); border-color: var(--accent);
  justify-content: center; gap: 1.5rem;
}
.pcard--cta .pcard__name { color: var(--bg); font-size: 2.2rem; }
.pcard__link {
  color: var(--bg); border: 1px solid rgba(10, 10, 11, 0.4);
  border-radius: 100px; padding: 0.8rem 1.6rem;
  width: fit-content; font-weight: 500;
  transition: background 0.3s, color 0.3s;
}
.pcard__link:hover { background: var(--bg); color: var(--accent); }
@media (max-width: 900px) {
  /* mobile: plain vertical stack, no pin */
  .process__track { flex-direction: column; width: 100%; }
  .pcard { width: 100%; min-height: 0; }
}

/* ─── Testimonials ─── */
.testimonials { overflow: hidden; padding-left: 0; padding-right: 0; }
.testimonials .section-tag { margin-left: 4vw; }
.testimonials__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.02;
  text-transform: uppercase; letter-spacing: -0.02em;
  margin: 0 4vw 3.5rem;
}
.tmarquee { overflow: hidden; }
.tmarquee__track {
  display: flex; gap: 1.5rem; width: max-content;
  will-change: transform; padding: 0.5rem 0;
}
.tcard {
  width: clamp(300px, 32vw, 430px);
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--bg-soft); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.6rem;
  transition: border-color 0.4s;
}
.tcard:hover { border-color: rgba(212, 255, 63, 0.4); }
.tcard__quote { color: var(--ink); font-size: 1.02rem; line-height: 1.55; }
.tcard__who { display: flex; flex-direction: column; gap: 0.25rem; margin-top: auto; }
.tcard__name { font-family: var(--font-display); font-weight: 500; }
.tcard__role { color: var(--accent); }

/* ─── FAQ ─── */
.faq__grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.faq__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.02;
  text-transform: uppercase; letter-spacing: -0.02em;
  position: sticky; top: 7rem;
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  padding: 1.7rem 0.3rem; cursor: pointer;
  list-style: none; transition: color 0.3s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent); }
.faq__icon {
  flex-shrink: 0; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 1.1rem; color: var(--accent);
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--accent); color: var(--bg); border-color: var(--accent); }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--ink-dim); padding: 0 3.5rem 1.7rem 0.3rem; max-width: 620px; }

/* ─── Contact ─── */
.contact {
  text-align: center; position: relative; overflow: hidden;
  padding-top: clamp(8rem, 15vw, 14rem); padding-bottom: clamp(8rem, 15vw, 14rem);
}
.contact__orb {
  position: absolute; width: 55vw; height: 55vw;
  left: 50%; top: 50%; translate: -50% -50%;
  background: radial-gradient(circle, rgba(212,255,63,0.14), transparent 60%);
  border-radius: 50%; filter: blur(60px); z-index: -1;
}
.contact__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 7rem); line-height: 1.02;
  letter-spacing: -0.02em; margin-bottom: 3.5rem;
}
.contact__btn {
  position: relative; display: inline-block; overflow: hidden;
  font-family: var(--font-mono); font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  border: 1px solid var(--accent); border-radius: 100px;
  padding: 1.3rem 2.8rem;
  color: var(--accent);
  transition: color 0.4s var(--ease-out);
}
.contact__btn-text { position: relative; z-index: 1; }
.contact__btn-fill {
  position: absolute; inset: 0; background: var(--accent);
  transform: translateY(101%); border-radius: 100px;
  transition: transform 0.5s var(--ease-out);
}
.contact__btn:hover { color: var(--bg); }
.contact__btn:hover .contact__btn-fill { transform: translateY(0); }
.contact__form {
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1.4rem;
  text-align: left;
}
.contact__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
}
.contact__field { display: flex; flex-direction: column; gap: 0.5rem; }
.contact__field .mono { color: var(--ink-dim); }
.contact__field input,
.contact__field textarea {
  background: rgba(242, 240, 234, 0.04);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 0.95rem 1.1rem;
  color: var(--ink); font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.3s, background 0.3s;
  resize: vertical;
}
.contact__field input:focus,
.contact__field textarea:focus {
  outline: none; border-color: var(--accent);
  background: rgba(212, 255, 63, 0.05);
}
.contact__field input::placeholder,
.contact__field textarea::placeholder { color: rgba(139, 139, 143, 0.55); }
.contact__form .contact__btn {
  align-self: center; margin-top: 0.6rem;
  background: none; cursor: pointer; font-weight: 500;
}
.contact__alt { margin-top: 2.5rem; color: var(--ink-dim); }
.contact__alt a { color: var(--accent); }
.contact__socials {
  display: flex; justify-content: center; gap: 2.5rem; margin-top: 2rem;
  color: var(--ink-dim);
}
.contact__socials a { transition: color 0.3s; }
.contact__socials a:hover { color: var(--accent); }
@media (max-width: 640px) { .contact__row { grid-template-columns: 1fr; } }

/* ─── Footer ─── */
.footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2rem 4vw; border-top: 1px solid var(--line);
  color: var(--ink-dim);
}
.footer__top:hover { color: var(--accent); }

/* ─── Reveal defaults (JS animates in) ─── */
[data-reveal] { opacity: 0; transform: translateY(30px); }
[data-split-lines] .line-inner { display: block; transform: translateY(110%); }
[data-split-lines] .line-wrap { display: block; overflow: hidden; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .project, .project--flip { grid-template-columns: 1fr; direction: ltr; align-items: start; }
  .service { grid-template-columns: 50px 1fr 40px; grid-template-rows: auto auto; row-gap: 0.6rem; padding: 2rem 0.5rem; }
  .service__desc { grid-column: 2 / 3; }
  .service__arrow { grid-row: 1; grid-column: 3; }
  .manifesto__stats { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .footer { flex-direction: column; gap: 0.8rem; }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .process__head { flex-direction: column; gap: 1rem; }
  .work__head { margin-bottom: 3rem; }
  .manifesto__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__title { position: static; }
  .faq__a p { padding-right: 1rem; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  section { padding-left: 5vw; padding-right: 5vw; }
  .nav { padding: 1rem 5vw; }
  .nav__logo-img { width: 28px; height: 28px; }
  .hero { padding: 6.5rem 5vw 2.5rem; }
  .hero__status { font-size: 0.62rem; padding: 0.45rem 0.9rem; }
  .hero__sub { font-size: 0.98rem; }
  .project__info { padding-bottom: 0; }
  .pcard { padding: 1.8rem; }
  .contact__btn { padding: 1.1rem 2rem; width: 100%; text-align: center; }
  .menu__footer { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
