:root {
  --bg: #05070f;
  --bg-elev: rgba(10, 16, 32, 0.72);
  --text: #f5f7ff;
  --muted: #a9b6ce;
  --dim: #7f8da8;
  --line: rgba(190, 214, 255, 0.16);
  --blue: #4c7dff;
  --cyan: #5ce1ff;
  --gold: #f0d7a2;
  --danger: #ff8aa0;
  --ok: #8dffc0;
  --font-display: "Sora", sans-serif;
  --font-body: "Poppins", sans-serif;
  --ease: cubic-bezier(.16, .84, .24, 1);
  --radius: 22px;
  --header: 84px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
  min-height: 100vh;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--cyan); color: #041018; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: 12px; z-index: 300;
  transform: translateY(-160%);
  background: #fff; color: #05070f; padding: 10px 14px; border-radius: 10px;
  font-weight: 600;
}
.skip-link:focus { transform: none; }

.container {
  width: min(1220px, 100%);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}
section { position: relative; z-index: 2; padding: clamp(76px, 10vw, 128px) 0; scroll-margin-top: 96px; }
h1, h2, h3, .stack-name { font-family: var(--font-display); letter-spacing: -0.035em; line-height: 1.12; }
p { color: var(--muted); }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.section-tag::before {
  content: ""; width: 18px; height: 1px; background: var(--gold);
}
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2, .about-copy h2, .why-copy h2, .faq-copy h2, .contact-copy h2 {
  font-size: clamp(1.8rem, 2vw + 1.2rem, 3.15rem);
  margin-bottom: 14px; color: var(--text);
}
.section-head p { font-size: 1.02rem; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js [data-reveal].in-view { opacity: 1; transform: none; }

/* Background */
.bg-fx { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-floor {
  position: absolute; left: -25%; right: -25%; bottom: -12%; height: 58vh;
  background-image:
    linear-gradient(rgba(92, 225, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.18) 1px, transparent 1px);
  background-size: 78px 78px;
  transform: perspective(480px) rotateX(68deg);
  transform-origin: center top;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 80%);
  animation: floorShift 24s linear infinite;
  opacity: 0.45;
}
@keyframes floorShift { to { background-position: 0 78px; } }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.42; }
.orb-1 { width: min(46vw, 540px); height: min(46vw, 540px); background: #1d4ed8; top: -10%; left: -8%; animation: drift1 22s ease-in-out infinite; }
.orb-2 { width: min(38vw, 460px); height: min(38vw, 460px); background: #0e7490; top: 16%; right: -12%; animation: drift2 26s ease-in-out infinite; }
.orb-3 { width: min(32vw, 380px); height: min(32vw, 380px); background: #6d28d9; bottom: -8%; left: 32%; opacity: 0.28; animation: drift1 30s ease-in-out infinite reverse; }
@keyframes drift1 { 50% { transform: translate(40px, 30px); } }
@keyframes drift2 { 50% { transform: translate(-36px, 46px); } }
.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 28%, rgba(5, 7, 15, 0.78) 100%);
}
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 1; width: 540px; height: 540px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(92, 225, 255, 0.16), rgba(76, 125, 255, 0.07) 38%, transparent 68%);
  transform: translate3d(var(--gx, -1200px), var(--gy, -1200px), 0) translate(-50%, -50%);
  mix-blend-mode: screen;
}
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 80; width: 100%; height: 2px;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--cyan), var(--blue));
}

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; align-content: center; gap: 16px;
  background: radial-gradient(circle at 50% 40%, #10182c, #05070f 62%);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { width: 64px; height: 64px; color: var(--cyan); animation: spin-pulse 1.3s ease-in-out infinite; }
.loader-mark svg { width: 100%; height: 100%; }
.loader p {
  font-family: var(--font-display); letter-spacing: 0.32em; text-transform: uppercase;
  font-size: 12px; color: var(--gold);
}
@keyframes spin-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.08) rotate(180deg); opacity: 1; }
}

.logo-mark, .orbit-core svg, .loader-mark svg, .service-icon svg, .stack-icon svg, .info-item svg, .back-to-top svg {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.logo-mark path:last-child, .orbit-core svg path:last-child, .loader-mark svg path:last-child { fill: url(#brandGrad); stroke: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.04em; white-space: nowrap; position: relative; z-index: 70; }
.logo-mark { width: 28px; height: 28px; color: var(--cyan); flex: none; }

/* Header */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(5, 7, 15, 0.78);
  backdrop-filter: blur(18px);
  padding: 12px 0;
  border-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 0.94rem; font-weight: 500; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: none; }
.nav-btn, .btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; letter-spacing: -0.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease, background .25s ease;
}
.nav-btn {
  padding: 11px 20px; font-size: 0.88rem; color: #071018;
  background: linear-gradient(135deg, var(--gold), #fff4d4 40%, var(--cyan));
  box-shadow: 0 10px 28px rgba(92, 225, 255, 0.18);
}
.nav-btn:hover { transform: translateY(-2px); }
.burger {
  display: none; position: relative; z-index: 70; flex: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid rgba(240, 215, 162, 0.7);
  background: rgba(8, 12, 24, 0.92);
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s ease; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Buttons */
.btn { padding: 15px 26px; font-size: 0.95rem; }
.btn span { position: relative; z-index: 1; }
.btn.primary {
  color: #071018;
  background: linear-gradient(135deg, var(--gold), #f7edd2 42%, var(--cyan));
  box-shadow: 0 14px 34px rgba(76, 125, 255, 0.28);
}
.btn.primary::after, .nav-btn::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 48%, transparent 76%);
  transform: translateX(-130%);
}
.btn.primary:hover::after, .nav-btn:hover::after { transform: translateX(130%); transition: transform .7s var(--ease); }
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(92, 225, 255, 0.32); }
.btn.secondary { background: rgba(255, 255, 255, 0.03); border-color: var(--line); color: var(--text); }
.btn.secondary:hover { transform: translateY(-3px); border-color: rgba(240, 215, 162, 0.7); }
.btn.full { width: 100%; margin-top: 6px; }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }
.ripple-effect {
  position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.4);
  transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; z-index: 0;
}
@keyframes ripple { to { transform: scale(3); opacity: 0; } }

/* Hero */
.hero {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; align-items: safe center;
  padding-top: calc(var(--header) + 28px); padding-bottom: 72px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-grid > *, .about-grid > *, .skill-layout > *, .why-grid > *, .faq-grid > *, .contact-grid > *, .footer-grid > * { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(10, 16, 32, 0.55);
  color: var(--muted); font-size: 0.82rem; margin-bottom: 22px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(92, 225, 255, 0.16); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.hero h1 { font-size: clamp(1.85rem, 2.6vw + 0.7rem, 4.15rem); font-weight: 700; margin-bottom: 18px; max-width: 100%; }
.h1-visual, .line, .type-wrap { display: block; }
.type-wrap {
  min-height: 1.15em;
  background: linear-gradient(100deg, var(--gold), #fff 30%, var(--cyan) 62%, var(--blue));
  background-size: 180% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 180% 0; } }
.cursor-blink {
  display: inline-block; width: 2px; height: 0.82em; margin-left: 4px;
  background: var(--cyan); vertical-align: -0.05em;
  animation: blink 1s steps(1) infinite;
  -webkit-text-fill-color: initial;
}
.hero-sub { max-width: 540px; font-size: clamp(1rem, 0.4vw + 0.92rem, 1.12rem); margin-bottom: 30px; }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; color: var(--dim); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.trust-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-icons li, .tags li, .tech-set li {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(8, 12, 24, 0.45); color: var(--muted); font-size: 0.78rem; letter-spacing: 0;
  text-transform: none;
}
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; perspective: 1400px; width: 100%; }
.aura {
  position: absolute; top: 2%; left: 50%; translate: -50% 0; width: min(420px, 86%); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 90deg, rgba(240, 215, 162, 0.65), rgba(92, 225, 255, 0.45), rgba(76, 125, 255, 0.55), rgba(240, 215, 162, 0.65));
  filter: blur(36px); opacity: 0.4; animation: spin 16s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: rotate(1turn); } }
.holo-float { width: min(100%, 420px); position: relative; z-index: 1; animation: floaty 6.5s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.holo-card, .service-card, .skill-card, .process-step, .why-card, .counter-item, .skill-panel, .contact-form {
  position: relative;
  background:
    linear-gradient(180deg, rgba(18, 26, 48, 0.82), rgba(7, 11, 22, 0.78)) padding-box,
    linear-gradient(150deg, rgba(240, 215, 162, 0.7), rgba(92, 225, 255, 0.35) 42%, rgba(255, 255, 255, 0.08)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}
.holo-card { padding: 26px 26px 22px; transform-style: preserve-3d; }
.sheen {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--lx, 20%) var(--ly, 0%), rgba(255, 255, 255, 0.16), transparent 42%);
  opacity: 0; transition: opacity .35s ease;
}
.tilt:hover .sheen, .contact-form:hover .sheen { opacity: 1; }
.glass-card-head, .glass-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.glass-card-head { margin-bottom: 8px; }
.glass-dots { display: flex; gap: 6px; }
.glass-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.glass-dots span:nth-child(1) { background: #fb7185; }
.glass-dots span:nth-child(2) { background: var(--gold); }
.glass-dots span:nth-child(3) { background: #4ade80; }
.glass-tag { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.stack-list { display: grid; }
.stack-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.stack-item:last-child { border-bottom: 0; }
.stack-icon, .service-icon, .info-item > span {
  width: 46px; height: 46px; flex: none; border-radius: 14px;
  display: grid; place-items: center; color: var(--cyan);
  background: linear-gradient(160deg, rgba(92, 225, 255, 0.14), rgba(240, 215, 162, 0.08));
  border: 1px solid var(--line);
}
.stack-icon svg, .service-icon svg, .info-item svg { width: 22px; height: 22px; }
.stack-name { font-size: 0.98rem; font-weight: 600; color: var(--text); }
.stack-item p, .mini-label { font-size: 0.78rem; color: var(--dim); }
.glass-footer { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.mini-graph { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.mini-graph span { width: 5px; height: var(--h); border-radius: 99px; background: linear-gradient(180deg, var(--gold), var(--cyan)); }
.mini-label { color: var(--cyan); letter-spacing: 0.08em; text-transform: uppercase; }
.depth-chips {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  width: min(100%, 420px); margin: 0; pointer-events: auto;
}
.depth-chip {
  position: relative;
  padding: 10px 14px; border-radius: 16px;
  background: rgba(8, 12, 24, 0.82); border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  animation: floaty 5.5s ease-in-out infinite;
}
.depth-chip:nth-child(2) { animation-delay: .35s; }
.depth-chip:nth-child(3) { animation-delay: .7s; }
.hero-visual::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 72px; height: 36px; z-index: 0;
  background: radial-gradient(ellipse, rgba(92, 225, 255, 0.28), transparent 70%);
  filter: blur(8px); pointer-events: none;
}
.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--dim); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { opacity: 0.2; transform: scaleY(0.6); } }

.js .hero-copy > * { animation: rise .9s var(--ease) both; }
.js .hero-copy > *:nth-child(1) { animation-delay: .05s; }
.js .hero-copy > *:nth-child(2) { animation-delay: .14s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .26s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .38s; }
.js .hero-copy > *:nth-child(5) { animation-delay: .5s; }
.js .hero-visual { animation: rise 1s var(--ease) .18s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* About */
.about-grid, .why-grid, .faq-grid, .contact-grid, .skill-layout {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
}
.skill-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
.about-visual { display: grid; place-items: center; }
.about-frame { position: relative; width: min(340px, 100%); aspect-ratio: 1; }
.orbit-ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-ring.r1 { inset: 8%; animation: spin 22s linear infinite; border-color: rgba(240, 215, 162, 0.35); }
.orbit-ring.r2 { inset: 22%; animation: spin 28s linear infinite reverse; }
.orbit-core {
  position: absolute; inset: 34%; border-radius: 50%;
  display: grid; place-items: center; color: var(--cyan);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.2), rgba(8, 12, 24, 0.2)), linear-gradient(160deg, rgba(76, 125, 255, 0.45), rgba(92, 225, 255, 0.15));
  box-shadow: 0 0 50px rgba(92, 225, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.orbit-core svg { width: 46%; height: 46%; }
.orbit-node {
  position: absolute; padding: 7px 10px; border-radius: 999px;
  background: rgba(8, 12, 24, 0.8); border: 1px solid var(--line);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text);
}
.n1 { top: 0; left: 50%; transform: translate(-50%, 0); }
.n2 { top: 50%; right: 0; transform: translate(0, -50%); }
.n3 { bottom: 0; left: 50%; transform: translate(-50%, 0); }
.n4 { top: 50%; left: 0; transform: translate(0, -50%); }
.about-copy p + p { margin-top: 14px; }

/* Skills, services, process */
.skill-grid, .services-grid, .process-grid, .counters {
  display: grid; gap: 18px; perspective: 1400px;
}
.skill-grid, .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-grid, .counters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.skill-card, .service-card, .process-step, .counter-item, .why-card {
  padding: 26px 22px; text-align: left; color: inherit; width: 100%;
  transform-style: preserve-3d; transition: border-color .3s ease, box-shadow .3s ease;
}
.skill-card { min-height: 168px; }
.skill-card.is-active, .service-card:hover, .process-step:hover, .counter-item:hover, .why-card:hover {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.skill-index, .step-index {
  display: block; margin-bottom: 18px;
  font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.16em;
  color: var(--gold);
}
.skill-card h3, .service-card h3, .process-step h3, .timeline h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--text); }
.skill-card p, .service-card p, .process-step p { font-size: 0.92rem; }
.service-icon { margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.skill-detail { position: sticky; top: 110px; }
.skill-panel { padding: clamp(22px, 3vw, 34px); }
.js .skill-panel { display: none; }
.js .skill-panel.is-active { display: block; animation: rise .45s var(--ease); }
.skill-panel h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 8px 0 12px; color: var(--text); }

/* Marquee */
.tech { overflow: hidden; }
.marquee {
  overflow: hidden; max-width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tech-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.tech-set { display: flex; gap: 12px; padding-right: 12px; }
.tech-set li { padding: 12px 18px; border-radius: 14px; white-space: nowrap; font-size: 0.92rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .tech-track { animation-play-state: paused; }

/* Experience */
.counters { margin-bottom: 28px; }
.counter-item h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  background: linear-gradient(120deg, #fff, var(--gold) 55%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.counter-item p { margin-top: 6px; font-size: 0.84rem; }
.timeline { border-bottom: 1px solid var(--line); }
.timeline li {
  display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px;
  padding: 26px 0; border-top: 1px solid var(--line); align-items: start;
}
.timeline-mark {
  font-family: var(--font-display); color: var(--gold); letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.78rem; padding-top: 4px;
}

/* Why + FAQ */
.why-list { display: grid; }
.why-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.check {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  display: grid; place-items: center; color: #071018; background: linear-gradient(135deg, var(--gold), var(--cyan));
  font-size: 0.8rem;
}
.why-visual { display: grid; gap: 18px; }
.why-card.offset { margin-left: 36px; }
.why-badge { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold); margin-bottom: 8px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-weight: 500; }
.faq-q {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
  background: none; border: 0; text-align: left; padding: 20px 0;
  font-family: var(--font-display); font-size: 1.02rem; color: var(--text);
}
.faq-q span { color: var(--gold); font-size: 1.3rem; transition: transform .3s var(--ease); }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding-bottom: 18px; max-width: 62ch; }

/* Contact */
.contact-copy p { margin-bottom: 22px; }
.contact-info { display: grid; gap: 16px; margin-bottom: 22px; }
.info-item { display: flex; align-items: center; gap: 14px; }
.info-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.info-item a { color: var(--text); font-family: var(--font-display); }
.info-item a:hover { color: var(--cyan); }
.contact-form { padding: clamp(20px, 3vw, 34px); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-group { margin-bottom: 16px; min-width: 0; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.82rem; color: var(--dim); }
.optional { text-transform: none; letter-spacing: 0; }
.form-group input, .form-group select, .form-group textarea, .newsletter input {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(4, 8, 18, 0.72); color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  padding-right: 36px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .newsletter input:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(92, 225, 255, 0.15);
}
.form-group.is-invalid input, .form-group.is-invalid select, .form-group.is-invalid textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.78rem; margin-top: 6px; }
.form-status { min-height: 1.2em; margin-top: 12px; font-size: 0.88rem; color: var(--cyan); }
.form-status.is-error { color: var(--danger); }
.form-fallback { margin-top: 8px; }
.form-fallback a { color: var(--gold); font-weight: 600; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
::placeholder { color: #6f7d98; }

/* Footer */
footer { position: relative; z-index: 2; padding: 72px 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 48px; }
.footer-brand p { margin: 12px 0 18px; font-size: 0.92rem; }
.newsletter { display: flex; flex-wrap: wrap; gap: 10px; max-width: 420px; }
.newsletter input { flex: 1 1 180px; min-width: 0; }
.newsletter button {
  padding: 12px 18px; border: 0; border-radius: 12px; color: #071018; font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
}
.newsletter .form-status { flex: 1 0 100%; margin-top: 0; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(8, 12, 24, 0.55);
  font-size: 0.72rem; letter-spacing: 0.06em;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h2 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: var(--dim); }

.back-to-top {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40; width: 48px; height: 48px; border: 0; border-radius: 50%; color: #071018;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  box-shadow: 0 12px 30px rgba(92, 225, 255, 0.28);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

@media (min-width: 1600px) {
  .container { width: min(1320px, 100%); }
}

@media (max-width: 1080px) {
  .nav-btn { display: none; }
  .burger {
    display: flex;
    position: fixed;
    top: 14px;
    right: max(16px, env(safe-area-inset-right));
    z-index: 80;
  }
  .nav-cta { display: block; width: 100%; margin-top: 12px; }
  .nav-cta .btn { width: 100%; }
  .nav-links {
    position: fixed; inset: 0; z-index: 40;
    margin: 0; padding: calc(env(safe-area-inset-top) + 104px) 28px 40px;
    background: rgba(5, 7, 15, 0.94);
    backdrop-filter: blur(22px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px;
    transform: translateY(-102%); visibility: hidden;
    transition: transform .45s var(--ease), visibility .45s;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { font-size: 1.45rem; padding: 8px 0; }
  .nav-links a::after { display: none; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid, .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .about-grid, .why-grid, .faq-grid, .contact-grid, .skill-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { align-items: flex-start; min-height: auto; }
  .hero-visual { margin-top: 8px; }
  .hero-visual::after { display: none; }
  .aura { display: none; }
  .skill-detail { position: static; }
  .why-card.offset { margin-left: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cursor-glow { display: none; }
}

@media (max-width: 720px) {
  .services-grid, .skill-grid, .process-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .buttons .btn, .contact-wa { width: 100%; }
  .hero { padding-top: calc(var(--header) + 12px); }
  .scene-floor { opacity: 0.28; }
  .orb { opacity: 0.28; filter: blur(48px); }
  .form-group input, .form-group select, .form-group textarea, .newsletter input { font-size: 16px; }
  .scroll-cue { display: none; }
}

@media (max-width: 390px) {
  .container { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .hero h1 { font-size: 1.62rem; }
  .holo-card { padding: 18px; }
  .about-frame { width: min(280px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal], .js .hero-copy > *, .js .hero-visual { opacity: 1 !important; transform: none !important; }
  .tech-set[aria-hidden="true"] { display: none; }
  .tech-track { flex-wrap: wrap; width: auto; justify-content: center; transform: none; }
  .marquee { overflow: visible; mask-image: none; }
  .cursor-blink, .cursor-glow, .scene-floor { display: none; }
}

@media (forced-colors: active) {
  .btn.primary, .nav-btn, .newsletter button, .back-to-top { border: 1px solid ButtonText; }
}
