/* ============================================================
   Splec Developers — Styles (v2)
   ============================================================ */
:root {
  --bg: #06070d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-border: rgba(255, 255, 255, 0.09);
  --text: #eef0ff;
  --text-dim: #9aa0c0;
  --accent: #7c5cff;
  --accent-2: #19c2ff;
  --accent-3: #ff5c97;
  --grad: linear-gradient(120deg, #7c5cff 0%, #19c2ff 55%, #ff5c97 100%);
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg); color: var(--text);
  overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-text { font-family: "Space Grotesk", sans-serif; }
a { color: inherit; text-decoration: none; }

/* ---------- Background ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -3; overflow: hidden; filter: blur(60px); }
.blob { position: absolute; border-radius: 50%; opacity: 0.4; mix-blend-mode: screen; will-change: transform; }
.blob-1 { width: 50vw; height: 50vw; background: #5b3cff; top: -10%; left: -5%; animation: drift1 18s var(--ease) infinite alternate; }
.blob-2 { width: 45vw; height: 45vw; background: #0aa6ff; bottom: -15%; right: -5%; animation: drift2 22s var(--ease) infinite alternate; }
.blob-3 { width: 38vw; height: 38vw; background: #ff3d7f; top: 35%; left: 40%; animation: drift3 26s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(15%, 20%) scale(1.2); } }
@keyframes drift2 { to { transform: translate(-18%, -12%) scale(1.15); } }
@keyframes drift3 { to { transform: translate(-25%, 15%) scale(0.85); } }
.grid-overlay {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 80%);
}
.noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.cursor-dot { width: 7px; height: 7px; background: #fff; }
.cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(255,255,255,0.6); transition: width .25s var(--ease), height .25s var(--ease), border-color .25s, opacity .3s; }
.cursor-ring.hovering { width: 60px; height: 60px; border-color: var(--accent-2); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--grad); z-index: 9998; box-shadow: 0 0 12px rgba(124,92,255,0.7); }

/* ---------- Navbar ---------- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(18px, 5vw, 60px); transition: padding .3s var(--ease), background .4s; }
.navbar::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(6,7,13,0.75) 0%, rgba(6,7,13,0.35) 60%, rgba(6,7,13,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.navbar.scrolled::after { opacity: 1; }
.navbar.scrolled { padding: 12px clamp(18px, 5vw, 60px); }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; gap: 1px; }

/* Script name */
.bw-script {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 38px;
  letter-spacing: 0.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer 6s linear infinite;
  line-height: 1;
  transition: filter .3s;
  -webkit-text-stroke: 0.5px transparent;
  paint-order: stroke fill;
}
.brand:hover .bw-script { filter: brightness(1.2); }

/* Sub label */
.bw-sub {
  font-family: "Space Grotesk", sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-left: 2px;
  transition: color .3s;
}
.brand:hover .bw-sub { color: var(--text); }

/* ─── Brand dev-at-work hover popup ─── */
.brand { position: relative; }
.brand-dev-popup {
  position: absolute;
  top: calc(100% + 8px);
  left: -4px;
  width: 38px;
  height: 38px;
  background: #090b16;
  border: 1.5px solid rgba(124,92,255,0.7);
  border-radius: 50%;
  overflow: hidden;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 0 3px rgba(124,92,255,0.2);
}
.brand-dev-popup.run {
  animation: popup-morph 0.6s var(--ease) forwards;
}
@keyframes popup-morph {
  0%   { opacity:1; width:38px;  height:38px;  border-radius:50%;  box-shadow:0 0 0 4px rgba(124,92,255,0.35); }
  35%  { opacity:1; width:270px; height:42px;  border-radius:22px; box-shadow:0 8px 30px rgba(0,0,0,0.4); }
  65%  { opacity:1; width:270px; height:280px; border-radius:16px; box-shadow:0 24px 60px rgba(0,0,0,0.55); }
  100% { opacity:1; width:270px; height:280px; border-radius:16px; box-shadow:0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(124,92,255,0.2); }
}
/* hide cursor ring when it "becomes" the popup */
.cursor-ring.brand-focused { opacity: 0 !important; transition: opacity .1s !important; }
.bdp-titlebar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #141726;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: "SF Mono", Menlo, monospace; font-size: 11px; color: var(--text-dim);
}
.bdp-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.bdp-dot.r{background:#ff5f57} .bdp-dot.y{background:#febc2e} .bdp-dot.g{background:#28c840}
.bdp-titlebar em { margin-left: auto; font-style: normal; }
.bdp-cursor-blink { color: var(--accent-2); animation: blink .8s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.bdp-code { padding: 14px 14px 8px; font-family: "SF Mono", Menlo, monospace; font-size: 12px; line-height: 1.9; }
.bdp-line { display: block; white-space: nowrap; opacity: 0; clip-path: inset(0 100% 0 0); }
.brand-dev-popup.run .bdp-line { animation: reveal-line .42s steps(18, end) var(--d, 0s) forwards; }
@keyframes reveal-line {
  from { clip-path: inset(0 100% 0 0); opacity: 1; }
  to   { clip-path: inset(0 0 0 0);    opacity: 1; }
}
.bdp-build { padding: 8px 14px 14px; opacity: 0; }
.brand-dev-popup.run .bdp-build { animation: bdp-fadein .3s ease 3.1s forwards; }
.bdp-label { display: block; margin-bottom: 8px; font-family: "SF Mono", Menlo, monospace; font-size: 11px; color: var(--text-dim); }
.bdp-dots::after { content: ''; animation: dots 1.2s steps(4, end) 3.1s infinite; }
@keyframes dots { 0%{content:''} 25%{content:'.'} 50%{content:'..'} 75%{content:'...'} 100%{content:''} }
.bdp-track { height: 5px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.bdp-fill { height: 100%; width: 0; background: var(--grad); border-radius: 4px; }
.brand-dev-popup.run .bdp-fill { animation: fill-bar 1.8s var(--ease) 3.3s forwards; }
@keyframes fill-bar { to { width: 100%; } }
.bdp-shipped { padding: 0 14px 14px; font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 600; color: #28c840; opacity: 0; }
.brand-dev-popup.run .bdp-shipped { animation: bdp-fadein .4s ease 5.1s forwards; }
@keyframes bdp-fadein { to { opacity: 1; } }
/* ────────────────────────────────────── */

.nav-links { display: flex; gap: 4px; }
.nav-link { position: relative; padding: 8px 16px; border-radius: 30px; color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color .25s; }
.nav-link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 40px; font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: transform .25s var(--ease), box-shadow .3s, border-color .3s; will-change: transform; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px rgba(124,92,255,0.4); }
.btn-primary:hover { box-shadow: 0 12px 40px rgba(124,92,255,0.6); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--surface-border); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--accent-2); }
.btn-nav { padding: 10px 20px; font-size: 14px; background: var(--surface); border: 1px solid var(--surface-border); }
.btn-nav:hover { border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 130px clamp(18px, 5vw, 60px) 90px; position: relative; }
.hero-inner { max-width: 900px; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 30px; margin-bottom: 28px; background: var(--surface); border: 1px solid var(--surface-border); font-size: 14px; color: var(--text-dim); backdrop-filter: blur(8px); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(25,194,255,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25,194,255,0.6); } 70% { box-shadow: 0 0 0 10px rgba(25,194,255,0); } 100% { box-shadow: 0 0 0 0 rgba(25,194,255,0); } }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% auto; animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }
.hero-sub { font-size: clamp(1rem, 2vw, 1.22rem); color: var(--text-dim); max-width: 640px; margin: 26px auto 0; }
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.scroll-hint {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--surface-border);
  border-radius: 20px;
  z-index: 50;
  transition: opacity .4s var(--ease);
}
.scroll-hint.hidden { opacity: 0; pointer-events: none; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--accent-2); border-radius: 4px; animation: scrolldown 1.8s infinite; }
@keyframes scrolldown { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 24px; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); padding: 20px 0; background: rgba(255,255,255,0.015); }
.marquee-track { display: flex; gap: 30px; width: max-content; animation: scrollx 32s linear infinite; font-family: "Space Grotesk"; font-size: 1.4rem; font-weight: 600; color: var(--text-dim); white-space: nowrap; }
.marquee-track .sep { color: var(--accent); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.about, .capabilities, .products, .contact { padding: clamp(80px, 11vw, 140px) clamp(18px, 5vw, 60px); max-width: 1240px; margin: 0 auto; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.eyebrow { font-family: "Space Grotesk"; color: var(--accent-2); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em; line-height: 1.12; }
.section-desc { color: var(--text-dim); margin-top: 16px; font-size: 1.05rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; margin-bottom: 90px; }
.about-text { color: var(--text-dim); margin-top: 20px; font-size: 1.06rem; }
.about-stats { display: flex; gap: clamp(20px, 5vw, 56px); margin-top: 38px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: "Space Grotesk"; font-size: 2.4rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 12.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.about-visual { display: grid; place-items: center; }
.tilt-card { width: 100%; max-width: 430px; perspective: 1000px; }
.tilt-inner { position: relative; border-radius: var(--radius); padding: 28px; background: var(--surface); border: 1px solid var(--surface-border); transition: transform .15s var(--ease); transform-style: preserve-3d; }
.orb { position: absolute; top: -40px; right: -40px; width: 150px; height: 150px; border-radius: 50%; background: var(--grad); filter: blur(34px); opacity: 0.55; }
.code-window { position: relative; border-radius: 12px; background: #0a0c16; border: 1px solid var(--surface-border); overflow: hidden; transform: translateZ(40px); }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--surface-border); }
.code-bar span { width: 11px; height: 11px; border-radius: 50%; }
.code-bar span:nth-child(1){ background:#ff5f57;} .code-bar span:nth-child(2){ background:#febc2e;} .code-bar span:nth-child(3){ background:#28c840;}
.code-bar em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--text-dim); font-family: "SF Mono", Menlo, monospace; }
.code-window pre { padding: 18px; font-size: 13px; overflow-x: auto; }
.code-window code { font-family: "SF Mono", Menlo, monospace; color: #c9d1ff; line-height: 1.7; }
.c-key { color: #ff7edb; } .c-prop { color: #19c2ff; } .c-str { color: #9efc8b; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--surface-border); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, background .4s; transform-style: preserve-3d; }
.value-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(124,92,255,0.18), transparent 45%); transition: opacity .35s; pointer-events: none; z-index: 1; }
.value-card:hover::before { opacity: 1; }
.value-card:hover { border-color: rgba(124,92,255,0.5); background: rgba(255,255,255,0.06); }
.value-glow { position: absolute; top: -60px; left: -60px; width: 160px; height: 160px; border-radius: 50%; background: var(--grad); filter: blur(50px); opacity: 0; transform: scale(0.6); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.value-card:hover .value-glow { opacity: 0.35; transform: scale(1); }
.value-icon { position: relative; z-index: 2; width: 54px; height: 54px; display: grid; place-items: center; font-size: 24px; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 20px; transition: transform .45s var(--ease), box-shadow .4s; }
.value-card:hover .value-icon { transform: rotate(-8deg) scale(1.12) translateZ(30px); box-shadow: 0 12px 30px rgba(124,92,255,0.5); }
.value-card h3 { font-size: 1.3rem; margin-bottom: 8px; position: relative; z-index: 2; transition: transform .4s var(--ease); }
.value-card:hover h3 { transform: translateZ(24px); }
.value-card p { color: var(--text-dim); font-size: 0.96rem; position: relative; z-index: 2; }
.value-more { display: block; position: relative; z-index: 2; margin-top: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: 0.82rem; color: var(--accent-2); font-weight: 500; letter-spacing: 0.01em; transform: translateY(8px); transition: max-height .45s var(--ease), opacity .4s var(--ease), margin-top .45s var(--ease), transform .45s var(--ease); }
.value-card:hover .value-more { max-height: 60px; opacity: 1; margin-top: 16px; transform: translateY(0); }

/* ---------- Capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cap-card { position: relative; padding: 36px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--surface-border); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.cap-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(25,194,255,0.16), transparent 45%); transition: opacity .3s; }
.cap-card:hover::before { opacity: 1; }
.cap-card:hover { border-color: rgba(25,194,255,0.45); }
.cap-num { font-family: "Space Grotesk"; font-size: 0.95rem; color: var(--accent-2); letter-spacing: 0.1em; }
.cap-card h3 { font-size: 1.45rem; margin: 16px 0 10px; position: relative; z-index: 2; }
.cap-card p { color: var(--text-dim); font-size: 0.97rem; position: relative; z-index: 2; }
.cap-num { position: relative; z-index: 2; }

/* ---------- Filters + product grid ---------- */
.filters { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn { padding: 10px 22px; border-radius: 30px; cursor: pointer; font-size: 14px; font-weight: 500; background: var(--surface); border: 1px solid var(--surface-border); color: var(--text-dim); transition: all .25s var(--ease); }
.filter-btn:hover { color: var(--text); border-color: var(--accent); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 20px rgba(124,92,255,0.4); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.product-card { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--surface-border); overflow: hidden; transition: transform .15s var(--ease), border-color .3s, opacity .4s; transform-style: preserve-3d; will-change: transform; }
.product-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(124,92,255,0.22), transparent 45%); transition: opacity .3s; pointer-events: none; z-index: 2; }
.product-card:hover::before { opacity: 1; }
.product-card:hover { border-color: rgba(124,92,255,0.5); }
.card-thumb { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.product-card:hover .card-thumb img { transform: scale(1.06); }
.card-body { padding: 26px; }
.card-cat { display: inline-block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px; font-weight: 600; }
.card-title { font-size: 1.4rem; margin-bottom: 6px; }
.card-tagline { color: var(--text); font-weight: 500; font-size: 0.95rem; margin-bottom: 12px; }
.card-desc { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 20px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag { font-size: 12px; padding: 5px 12px; border-radius: 20px; background: rgba(255,255,255,0.05); border: 1px solid var(--surface-border); color: var(--text-dim); }
.card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); font-weight: 600; font-size: 14px; }
.card-link svg { transition: transform .25s var(--ease); }
.product-card:hover .card-link svg { transform: translateX(5px); }

/* ---------- Contact ---------- */
.contact-card { text-align: center; padding: clamp(40px, 7vw, 80px); border-radius: 28px; background: var(--surface); border: 1px solid var(--surface-border); position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; inset: -2px; background: var(--grad); opacity: 0.12; z-index: -1; }
.contact-card .section-desc { margin-bottom: 30px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--surface-border); padding: 56px clamp(18px, 5vw, 60px) 30px; }
.footer-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.hero-showcase { margin-top: 56px; max-width: 620px; width: 100%; }
.hero-showcase img { width: 100%; height: auto; border-radius: 18px; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5)); }
.footer-brand .bw-script { font-size: 36px; }
.footer-brand .bw-sub { font-size: 10px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; margin-top: 10px; max-width: 320px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); font-size: 14px; transition: color .25s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { max-width: 1240px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid var(--surface-border); color: var(--text-dim); font-size: 13px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile menu ---------- */
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; position: relative; z-index: 200; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.menu-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg);}
.menu-toggle.open span:nth-child(2){ opacity: 0;}
.menu-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg);}

@media (max-width: 880px) {
  .btn-nav { display: none; }
  .menu-toggle { display: flex; }
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: min(78vw, 320px); flex-direction: column; justify-content: center; gap: 14px; padding: 40px; background: rgba(8,9,17,0.96); backdrop-filter: blur(20px); border-left: 1px solid var(--surface-border); transition: right .4s var(--ease); }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .values, .cap-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
