/* ============================================================
   PraxisCode — Design System
   Dark · crystalline · violet. Derived from the brand logo.
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg:          #08060F;
  --bg-1:        #0C0A18;
  --bg-2:        #120E24;
  --surface:     rgba(255, 255, 255, 0.035);
  --surface-2:   rgba(255, 255, 255, 0.06);
  --border:      rgba(168, 133, 247, 0.14);
  --border-2:    rgba(168, 133, 247, 0.30);

  --text:        #ECEAF6;
  --text-dim:    #ABA3C7;
  --text-mute:   #6E6690;

  --violet:      #A855F7;
  --violet-2:    #8B5CF6;
  --violet-deep: #6D28D9;
  --magenta:     #C084FC;

  --grad:        linear-gradient(120deg, #6D28D9 0%, #A855F7 50%, #C084FC 100%);
  --grad-soft:   linear-gradient(120deg, rgba(109,40,217,.16), rgba(192,132,252,.16));
  --glow:        0 0 60px rgba(168, 133, 247, 0.28);

  --maxw:        1200px;
  --radius:      18px;
  --radius-sm:   12px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background glows + faceted texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70rem 40rem at 78% -8%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(50rem 40rem at 8% 12%, rgba(192, 132, 252, 0.12), transparent 55%),
    radial-gradient(60rem 50rem at 50% 118%, rgba(109, 40, 217, 0.16), transparent 60%);
  pointer-events: none;
}
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

::selection { background: rgba(168, 133, 247, 0.35); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet));
}

.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section-lead {
  color: var(--text-dim);
  font-size: 1.075rem;
  max-width: 46ch;
  margin: 1.1rem 0 0;
}
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .85rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(139, 92, 246, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(168, 133, 247, 0.7); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border-2);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--violet); background: var(--surface-2); }
.btn-lg { --pad-y: 1.05rem; --pad-x: 2rem; font-size: 1rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--magenta);
  transition: gap .3s var(--ease);
}
.arrow-link:hover { gap: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 6, 15, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 30px; width: auto; }
.brand .brand-x {
  height: 34px; width: 34px; border-radius: 9px; object-fit: cover;
  box-shadow: 0 0 0 1px var(--border), 0 6px 18px -6px rgba(139,92,246,.6);
}
.brand b {
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  padding: .5rem .9rem; border-radius: 999px;
  font-weight: 500; font-size: .94rem; color: var(--text-dim);
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.4rem;
}
.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600;
}
.hero-stats .stat span { color: var(--text-mute); font-size: .82rem; letter-spacing: .04em; }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 133, 247, 0.55), rgba(139,92,246,.15) 45%, transparent 68%);
  filter: blur(30px);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
.crystal {
  position: relative;
  width: min(100%, 420px); aspect-ratio: 1; border-radius: 50%;
  object-fit: cover;
  filter: contrast(1.18) saturate(1.35) brightness(1.18);
  box-shadow: 0 0 0 1px var(--border-2), 0 40px 120px -30px rgba(139, 92, 246, 0.8);
  animation: float 7s ease-in-out infinite;
}
.hero-visual .ring {
  position: absolute; inset: -6%; border-radius: 50%;
  border: 1px dashed rgba(168, 133, 247, 0.28);
  animation: spin 40s linear infinite;
}
.hero-visual .ring.r2 { inset: 6%; border-style: solid; border-color: rgba(168,133,247,.10); animation-duration: 26s; animation-direction: reverse; }
@keyframes float { 0%,100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.pill {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .05em;
  color: var(--text-dim);
  padding: .4rem .8rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
}

/* ---------- Marquee / trusted ---------- */
.trusted { border-block: 1px solid var(--border); background: rgba(255,255,255,.015); }
.trusted .wrap { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }
.trusted p { margin: 0; color: var(--text-mute); font-family: var(--font-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Logo wall ---------- */
.logo-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}
.logo-tile {
  flex: 1 1 165px; max-width: 210px;
  display: grid; place-items: center;
  aspect-ratio: 3 / 2;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s;
  filter: grayscale(0.2);
}
.logo-tile img { max-height: 100%; width: auto; object-fit: contain; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); filter: grayscale(0); }

/* ---------- Cards / services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(30rem 20rem at var(--mx, 50%) 0%, rgba(168,133,247,.10), transparent 70%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-2); background: var(--surface-2); }
.card:hover::after { opacity: 1; }

.service-num {
  font-family: var(--font-mono); font-size: .8rem; color: var(--magenta);
  letter-spacing: .1em;
}
.service-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-2);
  margin: 1.1rem 0 1.3rem;
  color: var(--magenta);
}
.service-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.4rem; margin-bottom: .7rem; }
.card p { color: var(--text-dim); margin: 0; font-size: .98rem; }
.card ul { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.card ul li { color: var(--text-dim); font-size: .92rem; padding: .35rem 0 .35rem 1.4rem; position: relative; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .95em;
  width: .5rem; height: .5rem; border-radius: 2px;
  background: var(--grad); transform: rotate(45deg);
}

/* ---------- Work showcase ---------- */
.showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.show-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(24rem 18rem at 50% 0%, rgba(139,92,246,.16), transparent 70%),
    var(--bg-1);
  padding: 2rem 2rem 0;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
  min-height: 320px;
  display: flex; flex-direction: column;
}
.show-card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.show-card .meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.show-card .tag {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mute);
}
.show-card h3 { font-size: 1.5rem; margin-top: .3rem; }
.show-card .shot {
  margin-top: auto; padding-top: 1.6rem;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.55));
  transition: transform .5s var(--ease);
  transform: translateY(6px);
}
.show-card:hover .shot { transform: translateY(0) scale(1.02); }
.show-card .shot img { margin-inline: auto; }

/* ---------- Featured flagship case-study ---------- */
.featured {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  border: 1px solid var(--border-2); border-radius: 22px;
  background:
    radial-gradient(38rem 24rem at 84% -12%, rgba(139, 92, 246, 0.22), transparent 62%),
    radial-gradient(28rem 20rem at 0% 120%, rgba(109, 40, 217, 0.18), transparent 60%),
    var(--bg-1);
  padding: clamp(1.6rem, 3vw, 2.8rem);
  overflow: hidden;
}
.featured .flag {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--magenta);
}
.featured .logo-lock { margin: 1rem 0 1.1rem; }
.featured .logo-lock img { height: 40px; width: auto; }
.featured h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .8rem; }
.featured p { color: var(--text-dim); margin: 0; font-size: 1.02rem; }
.featured .actions { margin-top: 1.5rem; display: flex; gap: .9rem; flex-wrap: wrap; }

/* Browser mockup frame */
.browser {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-2);
  background: #14111f;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85);
  transition: transform .5s var(--ease);
}
.featured:hover .browser { transform: translateY(-4px); }
.browser .bar { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; border-bottom: 1px solid var(--border); }
.browser .dot { width: 11px; height: 11px; border-radius: 50%; background: #3a3550; }
.browser .dot.r { background: #ff5f57; } .browser .dot.y { background: #febc2e; } .browser .dot.g { background: #28c840; }
.browser .url {
  flex: 1; margin-left: .6rem; font-family: var(--font-mono); font-size: .72rem; color: var(--text-mute);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); border-radius: 7px; padding: .3rem .7rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { display: block; width: 100%; height: auto; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-1);
  padding: 2.5rem; display: grid; place-items: center;
}
.about-visual img { width: min(100%, 300px); border-radius: 50%; box-shadow: var(--glow); filter: contrast(1.15) saturate(1.3) brightness(1.15); }
.quote {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.4; letter-spacing: -.01em; font-weight: 500;
}
.quote .text-grad { font-weight: 600; }

.feature-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.feature-list .item { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list .dot {
  flex: none; width: 1.5rem; height: 1.5rem; border-radius: 7px; margin-top: .15rem;
  display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border-2);
  color: var(--magenta);
}
.feature-list .dot svg { width: .9rem; height: .9rem; }
.feature-list b { font-family: var(--font-display); font-weight: 600; }
.feature-list p { margin: .15rem 0 0; color: var(--text-dim); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; }
.cta-inner {
  position: relative; overflow: hidden;
  border: 1px solid var(--border-2);
  border-radius: 26px;
  background:
    radial-gradient(40rem 20rem at 80% -20%, rgba(168,133,247,.28), transparent 60%),
    radial-gradient(30rem 20rem at 0% 120%, rgba(109,40,217,.3), transparent 60%),
    var(--bg-1);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-inner p { color: var(--text-dim); max-width: 48ch; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem;
  transition: border-color .3s, transform .3s var(--ease);
}
.contact-card:hover { border-color: var(--border-2); transform: translateX(4px); }
.contact-card .ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border-2); color: var(--magenta);
}
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card small { color: var(--text-mute); display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-card b { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; }

form.enquiry { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .5rem; color: var(--text-dim); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem;
  background: rgba(0,0,0,.25); color: var(--text);
  border: 1px solid var(--border); border-radius: 12px;
  font-family: inherit; font-size: .96rem; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { color: var(--text-mute); font-size: .82rem; margin-top: .4rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; }
.page-hero p { color: var(--text-dim); max-width: 52ch; margin: 1.2rem auto 0; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: rgba(0,0,0,.25); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: 3.5rem 2rem; }
.footer-grid p { color: var(--text-dim); font-size: .95rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--text-dim); padding: .3rem 0; transition: color .2s; font-size: .95rem; }
.footer-col a:hover { color: var(--magenta); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid var(--border); color: var(--text-mute); font-size: .85rem; }

/* ---------- Reveal animation ---------- */
/* Gated behind .js so content is always visible if JavaScript fails to load. */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
/* Let grid/flex children shrink below their content width (prevents mobile overflow) */
.hero-grid > *, .split > *, .contact-grid > *, .grid-3 > *, .grid-2 > *,
.showcase > *, .logo-grid > *, .hero-copy, .trusted .wrap > * { min-width: 0; }
.pill-row { max-width: 100%; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; overflow: visible; }
  .crystal { width: min(70%, 320px); }
  /* keep decorative rings inside the container so they never overflow narrow viewports */
  .hero-visual .ring { inset: 3%; }
  .hero-visual .ring.r2 { inset: 13%; }
  .split, .contact-grid, .featured { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: grid; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .site-header.nav-open-header, body.nav-open .site-header { background: rgba(8,6,15,.95); backdrop-filter: blur(14px); }
  .mobile-menu {
    position: fixed; inset: 76px 0 auto 0; z-index: 90;
    background: rgba(8,6,15,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    display: grid; gap: .25rem; padding: 1.2rem 1.5rem 1.8rem;
    transform: translateY(-120%); transition: transform .4s var(--ease); pointer-events: none;
  }
  body.nav-open .mobile-menu { transform: none; pointer-events: auto; }
  .mobile-menu a { padding: .85rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--border); color: var(--text-dim); }
  .mobile-menu a:last-of-type { border-bottom: 0; }
  .mobile-menu .btn { margin-top: .8rem; justify-content: center; }
  .showcase, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1.6rem; }
}
.mobile-menu { display: none; }
@media (max-width: 720px) { .mobile-menu { display: grid; } }
