/* FlashTech — global / layout styles extracted from index.html */
/* ================================================================
   FLASH TECH — Awwwards-caliber overhaul
   Kinetic conic beams · Liquid glass · 3D parallax · Orbiting glow
   Patterns adapted from 21st.dev (Border Beam, Ethereal Beams,
   Aurora) + UI/UX Pro Max (Liquid Glass, magnetic, parallax).
   ================================================================ */

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: true;
}

/* entrance-offset props — composed INTO transforms so slide-in never clobbers 3D tilt */
@property --ex {
  syntax: '<length>';
  initial-value: 0px;
  inherits: false;
}

@property --ey {
  syntax: '<length>';
  initial-value: 0px;
  inherits: false;
}

/* ---------- Brand constants ---------- */
:root {
  --flame-red: #FF2D1A;
  --flame-orange: #FF7A18;
  --flame-amber: #FFB020;
  --brand: #FF5A1F;

  --grad-flame: linear-gradient(120deg, #FF2D1A 0%, #FF6A1A 50%, #FFB020 100%);
  --grad-chroma: linear-gradient(120deg, #FF2D1A, #FF7A18, #FFB020, #06B6D4, #8B5CF6);

  --c-junk: #F97316;
  --c-plumb: #06B6D4;
  --c-roof: #8B5CF6;
  --c-land: #22C55E;
  --c-clean: #EC4899;

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --maxw: 1220px;
  --section-accent: var(--brand);
}

/* ---------- Dark (default) ---------- */
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08080B;
  --bg-2: #0B0B10;
  --text: #F5F5F8;
  --text-2: #ABABBD;
  --text-3: #71717F;

  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .07);
  --glass-solid: rgba(19, 19, 26, .72);
  --glass-border: rgba(255, 255, 255, .11);
  --glass-hi: rgba(255, 255, 255, .5);
  --spec: rgba(255, 255, 255, .20);
  --spec-blend: screen;

  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .17);
  --nav-bg: rgba(9, 9, 13, .5);
  --grid-line: rgba(255, 255, 255, .05);
  --grid-accent: rgba(255, 122, 24, .5);
  --orb-a: .5;
  --beam-base: .85;

  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .8);
  --shadow-card: 0 24px 60px -26px rgba(0, 0, 0, .75);
  --shadow-glass: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 -1px 1px rgba(255, 255, 255, .04);
}

/* ---------- Light ---------- */
[data-theme="light"] {
  color-scheme: light;
  --bg: #EEF0F7;
  --bg-2: #FFFFFF;
  --text: #0C0D15;
  --text-2: #4E5064;
  --text-3: #82849B;

  --glass: rgba(255, 255, 255, .55);
  --glass-2: rgba(255, 255, 255, .72);
  --glass-solid: rgba(255, 255, 255, .8);
  --glass-border: rgba(255, 255, 255, .85);
  --glass-hi: rgba(255, 255, 255, .95);
  --spec: rgba(255, 255, 255, .75);
  --spec-blend: overlay;

  --border: rgba(14, 16, 44, .09);
  --border-strong: rgba(14, 16, 44, .16);
  --nav-bg: rgba(255, 255, 255, .62);
  --grid-line: rgba(20, 22, 60, .055);
  --grid-accent: rgba(255, 90, 25, .42);
  --orb-a: .4;
  --beam-base: .9;

  --shadow-lg: 0 40px 90px -35px rgba(40, 35, 80, .4);
  --shadow-card: 0 26px 60px -30px rgba(45, 40, 85, .32);
  --shadow-glass: inset 0 1px 1px rgba(255, 255, 255, .9), inset 0 -1px 1px rgba(255, 255, 255, .5);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 100px
}

@media (prefers-reduced-motion:no-preference) {
  html {
    scroll-behavior: smooth
  }
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}

img,
svg {
  display: block;
  max-width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none
}

::selection {
  background: var(--flame-orange);
  color: #fff
}

h1,
h2,
h3,
.font-display {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.07;
  letter-spacing: -.022em
}

.mono {
  font-family: 'JetBrains Mono', monospace
}

:focus-visible {
  outline: 2px solid var(--flame-orange);
  outline-offset: 3px;
  border-radius: 6px
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px
}

.grad-text {
  background: var(--grad-flame);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center
  }
}

/* typing rotator caret */
#typed {
  white-space: nowrap
}

.caret {
  display: inline-block;
  width: 3px;
  height: .92em;
  margin-left: 4px;
  border-radius: 2px;
  background: var(--flame-orange);
  vertical-align: -.12em;
  animation: blink 1.05s steps(1) infinite;
  box-shadow: 0 0 12px var(--flame-orange)
}

@keyframes blink {
  50% {
    opacity: 0
  }
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--grad-flame);
  border-radius: 2px
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative
}

.section-head {
  max-width: 660px;
  margin-bottom: 56px
}

.section-head.center {
  margin-inline: auto;
  text-align: center
}

.section-title {
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  font-weight: 700;
  margin: 16px 0 14px
}

.section-sub {
  color: var(--text-2);
  font-size: 1.06rem
}

/* ================================================================
   LIQUID GLASS surface (shared)
   ================================================================ */
.glass {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass), var(--shadow-card);
}

/* chromatic specular top edge */
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, var(--glass-hi), transparent 40%);
  opacity: .5;
  mix-blend-mode: var(--spec-blend);
}

/* mouse-follow specular glow layer */
.spec {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .35s var(--ease);
  background: radial-gradient(180px circle at var(--gx, 50%) var(--gy, 50%), var(--spec), transparent 55%);
  mix-blend-mode: var(--spec-blend);
}

.has-spec:hover .spec,
.has-spec.active .spec {
  opacity: 1
}

/* ================================================================
   KINETIC CONIC BEAM border (adapted from 21st Border Beam)
   anti-clockwise (reverse) + accelerating second beam on hover
   ================================================================ */
.beam {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1
}

.beam::before,
.beam::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* base chromatic comet — always subtle (angle + speed driven by JS) */
.beam::before {
  background: conic-gradient(from var(--beam-angle),
     transparent 0 60%,
      color-mix(in srgb, var(--accent, var(--flame-orange)) 70%, transparent) 72%,
     #fff 79%, var(--flame-orange) 86%, transparent 96%);
  opacity: var(--beam-base);
}

/* fast multi-colour comet — brightens as the ring accelerates on hover */
.beam::after {
  background: conic-gradient(from var(--beam-angle),
     transparent 0 52%,
     var(--flame-red) 63%, var(--flame-amber) 72%, #fff 79%,
      var(--accent, var(--flame-orange)) 88%, transparent 98%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.beam-card:hover .beam::after {
  opacity: 1
}

/* ================================================================
   AMBIENT BACKGROUND — orbiting chromatic glow + spotlight grid
   ================================================================ */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, color-mix(in srgb, var(--flame-orange) 8%, transparent), transparent 60%)
}

.orb-field {
  position: absolute;
  inset: 0;
  transition: transform .5s var(--ease-out);
  will-change: transform
}

.orb {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  filter: blur(70px);
  opacity: var(--orb-a);
  mix-blend-mode: screen;
  will-change: transform;
  transform: translate(-50%, -50%)
}

[data-theme="light"] .orb {
  mix-blend-mode: multiply
}

.orb.o1 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, #FF3D1A, transparent 66%);
  --r: 20vw;
  animation: orbit 24s linear infinite
}

.orb.o2 {
  width: 34vw;
  height: 34vw;
  background: radial-gradient(circle, #FF9A1F, transparent 66%);
  --r: 28vw;
  animation: orbit 30s linear infinite reverse
}

.orb.o3 {
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, #06B6D4, transparent 68%);
  --r: 24vw;
  animation: orbit 38s linear infinite
}

.orb.o4 {
  width: 32vw;
  height: 32vw;
  background: radial-gradient(circle, #8B5CF6, transparent 68%);
  --r: 32vw;
  animation: orbit 44s linear infinite reverse
}

.orb.o5 {
  width: 24vw;
  height: 24vw;
  background: radial-gradient(circle, #EC4899, transparent 68%);
  --r: 18vw;
  animation: orbit 34s linear infinite
}

@keyframes orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateX(var(--r)) rotate(0deg)
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(var(--r)) rotate(-360deg)
  }
}

/* base grid + cursor spotlight reveal (adapted from Modern Hero SVG grid glow) */
.grid-base {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 94% 72% at 50% 0%, #000 12%, transparent 84%);
  mask-image: radial-gradient(ellipse 94% 72% at 50% 0%, #000 12%, transparent 84%);
}

/* reactive lit-boxes canvas (follows cursor) */
#gridFx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none
}

/* scroll progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 200;
  background: var(--grad-flame);
  box-shadow: 0 0 16px rgba(255, 110, 30, .8)
}

/* ================================================================
   NAV — glassmorphic pill (adapted from Ethereal / Light SaaS)
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 18px 0;
  transition: padding .35s var(--ease)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 12px 11px 18px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: .4s var(--ease)
}

.nav.scrolled {
  padding: 10px 0
}

.nav.scrolled .nav-inner {
  background: var(--nav-bg);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-glass), 0 20px 45px -22px rgba(0, 0, 0, .6);
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #1c1c22, #0a0a0e);
  border: 1px solid rgba(255, 120, 40, .4);
  box-shadow: 0 0 22px rgba(255, 90, 25, .35), inset 0 1px 0 rgba(255, 255, 255, .08)
}

.logo-badge svg {
  width: 23px;
  height: 23px;
  filter: drop-shadow(0 2px 6px rgba(255, 90, 25, .55));
  position: relative;
  z-index: 1
}

.logo-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 150, 60, .4), transparent 60%)
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--text)
}

.logo-text b {
  background: var(--grad-flame);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px
}

.nav-links a {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color .25s var(--ease)
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-flame);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease)
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text)
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1)
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px
}

.theme-toggle {
  --sz: 54px;
  width: var(--sz);
  height: 30px;
  border-radius: var(--r-pill);
  position: relative;
  flex-shrink: 0;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: .3s var(--ease)
}

.theme-toggle:hover {
  border-color: var(--border-strong)
}

.theme-toggle .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad-flame);
  box-shadow: 0 2px 12px rgba(255, 90, 25, .6);
  display: grid;
  place-items: center;
  transition: transform .4s var(--spring)
}

.theme-toggle .knob svg {
  width: 14px;
  height: 14px;
  color: #fff
}

[data-theme="light"] .theme-toggle .knob {
  transform: translateX(24px)
}

.theme-toggle .ico-sun {
  display: none
}

[data-theme="light"] .ico-sun {
  display: block
}

[data-theme="light"] .ico-moon {
  display: none
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .94rem;
  white-space: nowrap;
  overflow: hidden;
  will-change: transform;
  transition: transform .5s var(--spring), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform .3s var(--ease)
}

.btn-primary {
  background: var(--grad-flame);
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(255, 90, 25, .7)
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .45), transparent 70%);
  transform: translateX(-130%);
  transition: transform .7s var(--ease)
}

.btn-primary:hover {
  box-shadow: 0 20px 48px -12px rgba(255, 90, 25, .85)
}

.btn-primary:hover::before {
  transform: translateX(130%)
}

.btn-primary:hover svg {
  transform: translateX(3px)
}

.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px)
}

.btn-ghost:hover {
  background: var(--glass-2);
  border-color: var(--flame-orange)
}

.btn-sm {
  padding: 10px 19px;
  font-size: .86rem
}

.nav .btn {
  padding: 11px 20px
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--glass);
  place-items: center
}

.hamburger span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: .3s var(--ease)
}

.hamburger span::before,
.hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s var(--ease)
}

.hamburger span::before {
  top: -6px
}

.hamburger span::after {
  top: 6px
}

body.menu-open .hamburger span {
  background: transparent
}

body.menu-open .hamburger span::before {
  top: 0;
  transform: rotate(45deg)
}

body.menu-open .hamburger span::after {
  top: 0;
  transform: rotate(-45deg)
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(330px, 84vw);
  z-index: 110;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: 100px 26px 32px;
  transform: translateX(105%);
  transition: transform .45s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-lg)
}

body.menu-open .mobile-menu {
  transform: translateX(0)
}

.mobile-menu a {
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-2);
  transition: .25s
}

.mobile-menu a:hover {
  background: var(--glass-2);
  color: var(--text);
  padding-left: 22px
}

.mobile-menu .btn {
  margin-top: 14px
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transition: .35s;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px)
}

body.menu-open .overlay {
  opacity: 1;
  visibility: visible
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  padding: clamp(140px, 18vw, 205px) 0 clamp(60px, 8vw, 100px)
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: var(--r-pill);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 26px
}

.hero-badge .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-flame);
  display: grid;
  place-items: center
}

.hero-badge .dot::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 2s ease-in-out infinite
}

@keyframes pulse {
  50% {
    opacity: .35;
    transform: scale(.7)
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 700;
  margin-bottom: 24px
}

.hero-typed-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  min-height: 1.14em;
  line-height: 1.07
}

.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  color: var(--text-2);
  max-width: 544px;
  margin-bottom: 34px
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 32px
}

.stat b {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1
}

.stat span {
  font-size: .82rem;
  color: var(--text-3);
  font-weight: 500
}

/* Hero visual — true 3D preserve-3d stage */
.hero-visual {
  position: relative;
  height: clamp(400px, 44vw, 520px);
  perspective: 1500px
}

.stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease-out);
  will-change: transform;
  transform: translate3d(var(--ex, 0px), var(--ey, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
}

.stage.active {
  transition: transform .1s linear
}

.stage-glow {
  position: absolute;
  inset: 2% 4% 8%;
  border-radius: 30px;
  transform: translateZ(-60px);
  background: radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--flame-orange) 55%, transparent), transparent 62%);
  filter: blur(30px)
}

.mock {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(440px, 100%);
  transform: translate(-50%, -50%) translateZ(0);
  border-radius: var(--r-lg);
  overflow: hidden
}

.mock .beam {
  z-index: 3
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-radius: 16px;
  z-index: 5;
  background: var(--glass-solid);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--shadow-glass), 0 18px 40px -16px rgba(0, 0, 0, .6)
}

.chip .ci {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.chip .ci svg {
  width: 18px;
  height: 18px;
  color: #fff
}

.chip b {
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.1;
  display: block
}

.chip span {
  font-size: .72rem;
  color: var(--text-3)
}

.chip-rating {
  top: 2%;
  right: -4%;
  transform: translateZ(110px)
}

.chip-rating .ci {
  background: linear-gradient(135deg, #FFB020, #FF7A18)
}

.chip-lead {
  bottom: 12%;
  left: -7%;
  transform: translateZ(150px)
}

.chip-lead .ci {
  background: linear-gradient(135deg, #22C55E, #16A34A)
}

.chip-launch {
  bottom: -3%;
  right: 8%;
  transform: translateZ(85px)
}

.chip-launch .ci {
  background: var(--grad-flame)
}

/* Hero marketing image frame — isolated; niche .preview mockups stay untouched */
.hero-shot-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(470px, 102%);
  aspect-ratio: 1/1;
  transform: translate(-50%, -50%) translateZ(-42px);
  border-radius: 40px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 46%,
      color-mix(in srgb, var(--flame-orange) 78%, transparent) 0%,
      color-mix(in srgb, var(--flame-amber) 36%, transparent) 34%,
      color-mix(in srgb, var(--flame-red) 14%, transparent) 52%,
      transparent 70%);
  filter: blur(32px);
  opacity: .92
}

.hero-shot {
  box-shadow: var(--shadow-glass), var(--shadow-card),
    0 0 0 1px rgba(255, 255, 255, .16),
    0 28px 70px -22px rgba(255, 90, 25, .55),
    0 0 96px -6px color-mix(in srgb, var(--flame-orange) 48%, transparent)
}

.hero-frame {
  position: relative;
  border-radius: inherit;
  overflow: hidden;
  isolation: isolate;
  background: #0a0a0e
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 1/1;
  height: auto;
  object-fit: cover;
  display: block;
  transform: translateZ(0)
}

.hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .48),
    inset 0 0 0 1px rgba(255, 255, 255, .18),
    inset 0 -1px 1px rgba(255, 255, 255, .06),
    inset 0 -28px 44px rgba(0, 0, 0, .32)
}

/* Browser preview mock */
.preview {
  background: var(--glass-solid);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px)
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border)
}

.preview-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0
}

.preview-bar i:nth-child(1) {
  background: #FF5F57
}

.preview-bar i:nth-child(2) {
  background: #FEBC2E
}

.preview-bar i:nth-child(3) {
  background: #28C840
}

.preview-bar .url {
  margin-left: 10px;
  flex: 1;
  height: 22px;
  border-radius: 7px;
  background: var(--glass-2);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: .68rem;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace
}

.preview-body {
  padding: 18px
}

.pv-hero {
  height: 100px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent, var(--brand)), color-mix(in srgb, var(--accent, var(--brand)) 30%, transparent));
  position: relative;
  overflow: hidden;
  margin-bottom: 16px
}

.pv-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 15%, rgba(255, 255, 255, .45), transparent 45%)
}

.pv-hero .t1 {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 54px;
  height: 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .9)
}

.pv-hero .t2 {
  position: absolute;
  left: 14px;
  top: 30px;
  width: 92px;
  height: 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .55)
}

.pv-hero .b1 {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 72px;
  height: 22px;
  border-radius: 7px;
  background: #fff
}

.pv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px
}

.pv-cards b {
  height: 54px;
  border-radius: 11px;
  background: var(--glass-2);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden
}

.pv-cards b::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 9px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent, var(--brand)) 60%, transparent)
}

.pv-cards b::after {
  content: '';
  position: absolute;
  left: 9px;
  bottom: 10px;
  right: 9px;
  height: 6px;
  border-radius: 4px;
  background: var(--border-strong)
}

/* ================================================================
   MARQUEE
   ================================================================ */
.marquee {
  border-block: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent)
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollx 34s linear infinite;
  will-change: transform
}

.marquee:hover .marquee-track {
  animation-play-state: paused
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-shrink: 0;
  padding-right: 56px
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-3);
  font-weight: 600;
  font-size: 1.02rem;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif
}

.marquee-item svg {
  width: 19px;
  height: 19px;
  color: var(--flame-orange)
}

.marquee-item img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  flex-shrink: 0
}

@keyframes scrollx {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(-50%, 0, 0)
  }
}

/* ================================================================
   NICHE SHOWCASE — liquid glass + kinetic beam + 3D depth
   ================================================================ */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 46px
}

.tab {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .9rem;
  position: relative;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: .28s var(--ease)
}

.tab:hover {
  color: var(--tab-accent);
  border-color: var(--tab-accent);
  transform: translateY(-2px)
}

.tab.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--tab-accent), color-mix(in srgb, var(--tab-accent) 60%, #000));
  box-shadow: 0 12px 28px -10px var(--tab-accent)
}

[data-theme="light"] .tab.active {
  background: linear-gradient(135deg, var(--tab-accent), color-mix(in srgb, var(--tab-accent) 78%, #000))
}

.niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(322px, 1fr));
  gap: 26px;
  perspective: 1600px
}

@media (min-width: 1024px) {
  .niche-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

.niche-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r-lg);
  transform-style: preserve-3d;
  --accent: var(--brand);
  transition: transform .5s var(--ease-out), box-shadow .45s var(--ease);
  transform: translate3d(var(--ex, 0px), var(--ey, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass), var(--shadow-card)
}

.niche-card.active {
  transition: transform .1s linear
}

.niche-card[hidden] {
  display: none !important
}

.cat-junk {
  --accent: var(--c-junk)
}

.cat-plumb {
  --accent: var(--c-plumb)
}

.cat-roof {
  --accent: var(--c-roof)
}

.cat-land {
  --accent: var(--c-land)
}

.cat-clean {
  --accent: var(--c-clean)
}

.niche-card:hover {
  box-shadow: var(--shadow-glass), 0 34px 70px -24px color-mix(in srgb, var(--accent) 45%, transparent)
}

.card-top {
  position: relative;
  padding: 16px 16px 0;
  transform: translateZ(30px)
}

.card-top .preview {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border)
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  padding: 20px 22px 24px;
  transform: translateZ(45px)
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  font-size: .74rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent)
}

.badge .bd,
.badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0
}

.niche-card h3 {
  font-size: 1.34rem;
  font-weight: 600;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 10px
}

.niche-card .t-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent)
}

.niche-card .t-icon svg {
  width: 25px;
  height: 25px;
  color: var(--accent)
}

.section-head .t-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-top: 0;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent)
}

.section-head .t-icon svg {
  width: 25px;
  height: 25px;
  color: var(--accent)
}

.niche-card .flag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding: 3px 8px;
  border-radius: 6px
}

.niche-card p {
  color: var(--text-2);
  font-size: .92rem;
  margin-bottom: 18px;
  min-height: 44px
}

.niche-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px
}

.card-body .card-demo {
  margin-top: auto
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 980px;
  margin-inline: auto
}

.showcase-card-h {
  overflow: hidden
}

.showcase-card-h-inner {
  display: flex;
  flex-direction: column;
  height: 100%
}

.showcase-card-h-visual.card-top {
  padding: 14px 14px 0
}

.showcase-card-h-visual .preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden
}

.showcase-card-h-visual .preview-body {
  flex: 1;
  padding: 0
}

.showcase-card-h-visual .pv-hero {
  height: 100%;
  min-height: 200px;
  margin-bottom: 0;
  border-radius: 0
}

.showcase-card-h-visual .pv-hero img {
  transition: transform .45s var(--ease)
}

.showcase-card-h:hover .pv-hero img {
  transform: scale(1.04)
}

.showcase-card-h-body.card-body {
  flex: 1;
  padding: 18px 18px 18px;
  justify-content: center
}

.showcase-card-h-body .niche-card p,
.showcase-card-h-body p {
  min-height: 0;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.showcase-card-h-body .niche-tags {
  margin-bottom: 16px
}

.showcase-card-h-body .card-demo {
  width: auto;
  align-self: flex-start;
  margin-top: 0
}

.showcase-jump-tags a {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-3);
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--glass-2);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: color .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease)
}

.showcase-jump-tags a:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  transform: translateY(-1px)
}

.showcase-card-h[hidden],
.showcase-item[hidden] {
  display: none !important
}

.showcase-empty {
  margin-top: 10px;
  max-width: 720px;
  margin-inline: auto
}

.showcase-empty .card-body {
  text-align: center
}

.showcase-empty p {
  color: var(--text-2);
  font-size: .95rem;
  margin-bottom: 22px;
  min-height: 0
}

@media (min-width:768px) {
  .showcase-card-h-inner {
    flex-direction: row;
    align-items: stretch
  }

  .showcase-card-h-visual {
    flex: 0 0 52%;
    max-width: 52%
  }

  .showcase-card-h-visual.card-top {
    padding: 14px 0 14px 14px
  }

  .showcase-card-h-body {
    flex: 1;
    min-width: 0;
    max-width: 48%;
    padding: 20px 22px
  }
}

.niche-archive-hero {
  position: relative;
  overflow: hidden;
  /* Clear fixed .nav (~100px) so icon + badge never sit under the logo */
  padding-top: clamp(120px, 16vw, 160px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.niche-archive-hero.has-banner {
  padding-top: clamp(120px, 16vw, 160px);
  padding-bottom: clamp(40px, 5vw, 56px);
}

.niche-archive-hero .section-head {
  margin-top: 0;
  margin-bottom: 28px;
}

.niche-archive-hero .tabs {
  margin-bottom: 0
}

.niche-archive-hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--niche-banner);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0
}

.niche-archive-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 11, .58) 0%, rgba(8, 8, 11, .68) 55%, rgba(8, 8, 11, .76) 100%),
    radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 55%)
}

.niche-archive-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.niche-archive-hero.has-banner .section-title,
.niche-archive-hero.has-banner .section-sub {
  color: #fff
}

.niche-archive-hero.has-banner .section-sub {
  opacity: .92
}

.niche-archive-projects {
  padding-top: 56px
}

@media (max-width:768px) {
  .niche-archive-hero,
  .niche-archive-hero.has-banner {
    padding-top: clamp(110px, 22vw, 140px);
    padding-bottom: 32px;
  }

  .niche-archive-projects {
    padding-top: 40px
  }
}

.niche-tags span {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-3);
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--glass-2);
  border: 1px solid var(--border)
}

.card-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--accent);
  padding: 11px 18px;
  border-radius: var(--r-pill);
  width: 100%;
  transition: .3s var(--ease);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  text-decoration: none
}

.card-demo svg {
  width: 17px;
  height: 17px;
  transition: transform .3s var(--ease)
}

.card-demo:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px -10px var(--accent)
}

.card-demo:hover svg {
  transform: translateX(4px)
}

/* niche cards converge per column: left · up · right (offset via --ex/--ey, not transform) */
.niche-card {
  --fx: 0px;
  --fy: 28px
}

.niche-card:nth-child(3n+1) {
  --fx: -58px;
  --fy: 10px
}

.niche-card:nth-child(3n+2) {
  --fx: 0px;
  --fy: 42px
}

.niche-card:nth-child(3n) {
  --fx: 58px;
  --fy: 10px
}

.pop {
  animation: popIn .64s var(--ease-out) both;
  animation-delay: var(--d, 0ms)
}

@keyframes popIn {
  from {
    opacity: 0;
    --ex: var(--fx, 0px);
    --ey: var(--fy, 28px)
  }

  to {
    opacity: 1;
    --ex: 0px;
    --ey: 0px
  }
}

/* ================================================================
   BENTO SYSTEM — variable-depth tiles
   ================================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  perspective: 1600px
}

.tile {
  position: relative;
  border-radius: var(--r-lg);
  padding: 30px;
  overflow: hidden;
  transform-style: preserve-3d;
  --accent: var(--flame-orange);
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass), var(--shadow-card);
  transition: transform .5s var(--ease-out), box-shadow .45s var(--ease);
  transform: translate3d(var(--ex, 0px), var(--ey, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
}

.tile.active {
  transition: transform .1s linear
}

.tile:hover {
  box-shadow: var(--shadow-glass), 0 34px 70px -24px color-mix(in srgb, var(--accent) 42%, transparent)
}

.tile.big {
  grid-column: span 3;
  grid-row: span 2
}

.tile.wide {
  grid-column: span 3
}

.tile.third {
  grid-column: span 2
}

.tile-inner {
  position: relative;
  z-index: 3;
  transform: translateZ(40px);
  height: 100%;
  display: flex;
  flex-direction: column
}

.tile .num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 4.4rem;
  line-height: .8;
  position: absolute;
  top: 22px;
  right: 26px;
  z-index: 2;
  background: linear-gradient(160deg, var(--accent), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .22;
  transform: translateZ(20px)
}

.tile .t-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent)
}

.tile .t-icon svg {
  width: 25px;
  height: 25px;
  color: var(--accent)
}

.tile h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px
}

.tile.big h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem)
}

.tile p {
  color: var(--text-2);
  font-size: .94rem
}

.tile .kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px
}

.tile .spacer {
  flex: 1
}

.tile .metric {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 6px
}

/* ================================================================
   ABOUT
   ================================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center
}

.about-list {
  display: grid;
  gap: 16px;
  margin-top: 30px
}

.about-item {
  display: flex;
  gap: 15px;
  align-items: flex-start
}

.about-item .ck {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--flame-orange) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--flame-orange) 32%, transparent)
}

.about-item .ck svg {
  width: 16px;
  height: 16px;
  color: var(--flame-orange)
}

.about-item b {
  font-weight: 600;
  display: block;
  font-size: 1rem
}

.about-item span {
  color: var(--text-2);
  font-size: .9rem
}

.about-panel {
  position: relative;
  border-radius: var(--r-lg);
  padding: 38px;
  overflow: hidden;
  transform-style: preserve-3d;
  --accent: var(--flame-orange);
  transition: transform .5s var(--ease-out);
  transform: translate3d(var(--ex, 0px), var(--ey, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
}

.about-panel .ap-in {
  position: relative;
  z-index: 3;
  transform: translateZ(40px)
}

.about-panel h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px
}

.about-panel .ap-sub {
  color: var(--text-2);
  font-size: .92rem;
  margin-bottom: 26px
}

.ap-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.ap-stat {
  background: var(--glass-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px
}

.ap-stat b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
  line-height: 1
}

.ap-stat span {
  font-size: .78rem;
  color: var(--text-3)
}

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(46px, 7vw, 76px);
  overflow: hidden;
  text-align: center;
  --accent: var(--flame-orange)
}

.cta-band .cta-in {
  position: relative;
  z-index: 3
}

.cta-band .cta-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--flame-orange) 40%, transparent), transparent 60%)
}

.cta-band h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 700;
  margin-bottom: 16px
}

.cta-band p {
  color: var(--text-2);
  max-width: 530px;
  margin: 0 auto 30px;
  font-size: 1.06rem
}

.cta-band .hero-cta {
  justify-content: center;
  margin-bottom: 0
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 72px 0 30px;
  margin-top: 24px;
  background: var(--bg-2)
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 52px
}

.footer-brand p {
  color: var(--text-2);
  font-size: .92rem;
  margin: 18px 0 24px;
  max-width: 300px
}

.footer h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px
}

.footer-links {
  display: grid;
  gap: 12px
}

.footer-links a {
  color: var(--text-2);
  font-size: .92rem;
  transition: .25s var(--ease);
  width: fit-content
}

.footer-links a:hover {
  color: var(--flame-orange);
  transform: translateX(4px)
}

.footer-contact {
  display: grid;
  gap: 14px
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  font-size: .9rem;
  transition: .25s
}

.footer-contact a:hover {
  color: var(--text)
}

.footer-contact .fi {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--glass-2);
  border: 1px solid var(--border)
}

.footer-contact .fi svg {
  width: 16px;
  height: 16px;
  color: var(--flame-orange)
}

.socials {
  display: flex;
  gap: 12px;
  perspective: 600px
}

.social {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  position: relative;
  transform-style: preserve-3d;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-2);
  transition: transform .45s var(--spring), color .3s, border-color .3s, box-shadow .4s;
  animation: sfloat 4s ease-in-out infinite
}

.social:nth-child(2) {
  animation-delay: .4s
}

.social:nth-child(3) {
  animation-delay: .8s
}

.social:nth-child(4) {
  animation-delay: 1.2s
}

.social:nth-child(5) {
  animation-delay: 1.6s
}

.social:nth-child(6) {
  animation-delay: 2s
}

.social svg {
  width: 19px;
  height: 19px;
  transition: transform .3s
}

.social::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-flame);
  opacity: 0;
  transition: opacity .35s;
  z-index: -1
}

.social:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-6px) rotateX(20deg) rotateY(-14deg) scale(1.08);
  box-shadow: 0 20px 36px -12px rgba(255, 90, 25, .75)
}

.social:hover::before {
  opacity: 1
}

.social:hover svg {
  transform: scale(1.14)
}

@keyframes sfloat {
  50% {
    transform: translateY(-6px)
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border)
}

.footer-bottom p {
  color: var(--text-3);
  font-size: .85rem
}

.footer-bottom .fb-right {
  display: flex;
  align-items: center;
  gap: 20px
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 9px 17px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 122, 24, .28);
  background: rgba(255, 90, 25, .07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 14px -4px rgba(255, 75, 31, .22),
    inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: color .25s var(--ease), border-color .25s var(--ease),
    box-shadow .3s var(--ease), transform .4s var(--spring)
}

[data-theme="light"] .back-top {
  background: rgba(255, 90, 25, .06);
  border-color: rgba(255, 90, 25, .22);
  box-shadow: 0 0 14px -6px rgba(255, 75, 31, .18),
    inset 0 1px 0 rgba(255, 255, 255, .55)
}

.back-top:hover {
  color: var(--flame-orange);
  border-color: rgba(255, 122, 24, .6);
  box-shadow: 0 0 22px -4px rgba(255, 75, 31, .4),
    inset 0 1px 0 rgba(255, 255, 255, .1);
  transform: translateY(-3px)
}

.back-top svg {
  width: 16px;
  height: 16px;
  transition: transform .3s var(--spring)
}

.back-top:hover svg {
  transform: translateY(-2px)
}

/* reveal + toast */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out)
}

.reveal.in {
  opacity: 1;
  transform: none
}

.reveal[data-delay="1"] {
  transition-delay: .08s
}

.reveal[data-delay="2"] {
  transition-delay: .16s
}

.reveal[data-delay="3"] {
  transition-delay: .24s
}

.reveal[data-delay="4"] {
  transition-delay: .32s
}

/* Directional scroll-in — slides from L/R/top/bottom. Offset rides on --ex/--ey so it
   composes with (never overrides) the tilt transform; tilt cards carry .tiltc and already
   compose --ex/--ey, so only non-tilt sliders get their own translate transform here. */
.js .slide {
  opacity: 0
}

.js .slide:not(.tiltc) {
  transform: translate3d(var(--ex, 0px), var(--ey, 0px), 0)
}

.slide.from-left {
  --fx: -70px;
  --fy: 0px
}

.slide.from-right {
  --fx: 70px;
  --fy: 0px
}

.slide.from-up {
  --fx: 0px;
  --fy: 58px
}

.slide.from-down {
  --fx: 0px;
  --fy: -58px
}

.slide.slide-in {
  animation: slideIn .85s var(--ease-out) both;
  animation-delay: var(--sd, 0ms)
}

@keyframes slideIn {
  from {
    opacity: 0;
    --ex: var(--fx, 0px);
    --ey: var(--fy, 0px)
  }

  to {
    opacity: 1;
    --ex: 0px;
    --ey: 0px
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 150%);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 20px;
  border-radius: 16px;
  max-width: 90vw;
  background: var(--glass-solid);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  transition: transform .55s var(--spring)
}

.toast.show {
  transform: translate(-50%, 0)
}

.toast .tbar {
  width: 4px;
  height: 34px;
  border-radius: 4px;
  background: var(--accent, var(--brand))
}

.toast b {
  font-size: .92rem;
  font-weight: 600;
  display: block
}

.toast span {
  font-size: .8rem;
  color: var(--text-3)
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width:1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px
  }

  .hero-visual {
    height: 420px;
    max-width: 480px;
    margin-inline: auto;
    order: 2
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px
  }

  .nav-links {
    display: none
  }

  .hamburger {
    display: grid
  }

  .nav-right>.btn {
    display: none
  }

  .bento {
    grid-template-columns: repeat(2, 1fr)
  }

  .tile.big,
  .tile.wide,
  .tile.third {
    grid-column: span 2;
    grid-row: auto
  }
}

@media (max-width:640px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 22px
  }

  .footer-grid,
  .niche-grid,
  .bento {
    grid-template-columns: 1fr
  }

  .tile.big,
  .tile.wide,
  .tile.third {
    grid-column: span 1
  }

  .chip-lead {
    left: -2%
  }

  .chip-rating {
    right: -2%
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px
  }
}

@media (max-width:400px) {
  .hero-stats {
    gap: 16px
  }

  .tab {
    padding: 9px 15px;
    font-size: .84rem
  }
}

/* ================================================================
   MOBILE OVERHAUL — max-width 768px
   All rules here are additive/override only; desktop untouched.
   ================================================================ */
@media (max-width:768px) {

  /* 1 · Hero marketing image */
  .hero-visual {
    width: 100%;
    max-width: 420px;
    height: auto !important;
    margin-inline: auto;
    perspective: none
  }

  .stage {
    position: relative;
    inset: auto;
    transform: none !important;
    transition: none;
    will-change: auto
  }

  .stage-glow,
  .hero-shot-glow {
    display: none
  }

  .mock {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 420px;
    transform: none !important;
    margin-inline: auto
  }

  .hero-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 20px
  }

  /* --- Mobile hero chips: show + rescale --- */
  /* The .stage is now position:relative, so chips need repositioning relative to it */
  .chip {
    display: flex;
    transform: scale(0.82);
    transform-origin: center center;
    /* collapse the 3D translateZ — stage has no perspective on mobile */
    position: absolute;
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%)
  }

  .chip-rating {
    top: auto;
    bottom: calc(100% - 44px);
    right: 0;
    transform: scale(0.82);
    transform-origin: top right
  }

  .chip-lead {
    bottom: auto;
    top: calc(100% - 44px);
    left: 0;
    transform: scale(0.82);
    transform-origin: bottom left
  }

  .chip-launch {
    bottom: -18px;
    right: 10%;
    transform: scale(0.82);
    transform-origin: bottom right
  }

  /* ambient pulse so chips feel alive on touch screens */
  .chip {
    animation: chipPulse 3.6s ease-in-out infinite
  }

  .chip-lead {
    animation-delay: .8s
  }

  .chip-launch {
    animation-delay: 1.6s
  }

  @keyframes chipPulse {

    0%,
    100% {
      box-shadow: var(--shadow-glass), 0 18px 40px -16px rgba(0, 0, 0, .6)
    }

    50% {
      box-shadow: var(--shadow-glass), 0 18px 40px -16px rgba(0, 0, 0, .6),
        0 0 18px -4px rgba(255, 122, 24, .35)
    }
  }

  /* 2 · Niche "Load More" button */
  .niche-grid:not(.is-expanded) .niche-card:nth-child(n+4) {
    display: none
  }

  .niche-load-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px
  }

  .niche-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: .92rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text);
    cursor: pointer;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-glass), 0 0 24px -10px rgba(255, 90, 25, .18);
    transition: border-color .28s var(--ease), box-shadow .3s var(--ease),
      transform .4s var(--spring)
  }

  .niche-load-btn:hover {
    border-color: rgba(255, 122, 24, .5);
    box-shadow: var(--shadow-glass), 0 0 28px -8px rgba(255, 75, 31, .35);
    transform: translateY(-2px)
  }

  .niche-load-btn svg {
    width: 17px;
    height: 17px;
    transition: transform .35s var(--spring)
  }

  .niche-load-btn.is-open svg {
    transform: rotate(180deg)
  }

  /* 3 · Bento / Three Moves — mobile tab switcher */
  .bento-step-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    justify-content: center
  }

  .bst {
    padding: 9px 18px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: .84rem;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-2);
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: .25s var(--ease)
  }

  .bst.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--flame-orange), var(--flame-red));
    box-shadow: 0 8px 20px -8px rgba(255, 90, 25, .55)
  }

  /* hide all step tiles; JS shows the active one */
  .bento .tile.step-tile {
    display: none
  }

  .bento .tile.step-tile.is-visible {
    display: flex;
    grid-column: 1/-1;
    animation: mbStepIn .38s var(--ease-out) both
  }

  @keyframes mbStepIn {
    from {
      opacity: 0;
      transform: translateY(14px)
    }

    to {
      opacity: 1;
      transform: none
    }
  }

  /* bottom pair: SEO + Lead side by side, Hosting full-width */
  .bento {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px
  }

  .tile.big,
  .tile.wide {
    grid-column: 1/-1;
    grid-row: auto
  }

  .tile.third {
    grid-column: span 1
  }

  .tile.third.hosting-full {
    grid-column: 1/-1
  }

  /* 4 · Footer compact columns */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 20px
  }

  .footer-brand {
    grid-column: 1/-1
  }

  /* 5 · footer-bottom breathing room */
  .footer-bottom {
    padding-bottom: 16px
  }

  /* --- Touch feedback: active compression on interactive elements --- */
  .niche-card:active,
  .tile:active,
  .about-panel:active,
  .cta-band:active {
    transform: scale(0.97) !important;
    box-shadow: var(--shadow-glass), 0 0 22px -6px rgba(255, 90, 25, .28) !important;
    transition: transform .12s var(--ease), box-shadow .12s var(--ease) !important
  }

  .btn:active,
  .tab:active,
  .bst:active,
  .niche-load-btn:active,
  .back-top:active {
    transform: scale(0.96) !important;
    transition: transform .1s var(--ease) !important
  }

  /* --- Scroll-reveal micro-animation classes (applied via JS IntersectionObserver) --- */
  .mb-reveal {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out)
  }

  .mb-reveal.mb-in {
    opacity: 1;
    transform: translateY(0) scale(1)
  }

  .mb-reveal-delay-1 {
    transition-delay: .08s
  }

  .mb-reveal-delay-2 {
    transition-delay: .16s
  }

  .mb-reveal-delay-3 {
    transition-delay: .24s
  }

  /* --- Glow pulse on chip badges (ambient life) — already added above --- */
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .16s !important
  }

  .js .reveal {
    opacity: 1;
    transform: none
  }

  .js .slide {
    opacity: 1
  }

  .orb,
  .marquee-track {
    animation: none !important
  }

  .grad-text {
    animation: none !important
  }

  .caret {
    display: none
  }
}

/* ================================================================
   ISOLATED — Glassmorphic Cyber-Rail Navigator + trailing cursor
   (does not alter tokens, header nav, tilt, or card motion)
   ================================================================ */

/* ---- Outer wrapper ---- */
.side-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 130;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0
}

/* ---- Ambient vertical track ---- */
.side-nav-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px)
}

/* luminous bead that slides along the track */
.side-nav-bead {
  position: absolute;
  left: 50%;
  width: 3px;
  border-radius: var(--r-pill);
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(180deg, var(--flame-amber), var(--flame-orange));
  box-shadow: 0 0 8px var(--flame-orange), 0 0 18px rgba(255, 122, 24, .5);
  transition: top .5s var(--ease-out), height .5s var(--ease-out)
}

/* ---- Pill container holding all nodes ---- */
.side-nav-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: var(--r-pill);
  background: rgba(10, 10, 14, .55);
  border: 1px solid rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset,
    0 24px 48px -22px rgba(0, 0, 0, .65),
    0 0 36px -14px rgba(255, 90, 25, .12)
}

/* ---- Each node button (icon badge) ---- */
.side-nav-item {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  border-radius: 14px
}

.side-nav-item:focus-visible {
  outline: 2px solid var(--flame-orange);
  outline-offset: 3px
}

/* ---- Glass icon badge ---- */
.side-nav-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background .3s var(--ease), border-color .3s var(--ease),
    box-shadow .35s var(--ease), transform .35s var(--spring)
}

.side-nav-badge svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, .38);
  transition: color .3s var(--ease), filter .3s var(--ease);
  flex-shrink: 0
}

/* Pulse ring on active node */
.side-nav-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  pointer-events: none;
  border: 1.5px solid rgba(255, 122, 24, 0);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease)
}

/* ---- Hover state ---- */
.side-nav-item:hover .side-nav-badge {
  background: rgba(255, 122, 24, .10);
  border-color: rgba(255, 122, 24, .28);
  box-shadow: 0 0 14px rgba(255, 122, 24, .22);
  transform: scale(1.07)
}

.side-nav-item:hover .side-nav-badge svg {
  color: rgba(255, 185, 80, .85)
}

/* ---- Active state ---- */
.side-nav-item.is-active .side-nav-badge {
  background: rgba(255, 75, 31, .15);
  border-color: #FF4B1F;
  box-shadow: 0 0 18px rgba(255, 75, 31, .50), 0 0 34px rgba(255, 122, 24, .28),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  transform: scale(1.1)
}

.side-nav-item.is-active .side-nav-badge svg {
  color: #fff;
  filter: drop-shadow(0 0 5px rgba(255, 122, 24, .9))
}

.side-nav-item.is-active .side-nav-pulse {
  border-color: rgba(255, 122, 24, .45);
  box-shadow: 0 0 0 4px rgba(255, 122, 24, .08), 0 0 14px rgba(255, 90, 25, .22);
  animation: snPulse 2.2s ease-in-out infinite
}

@keyframes snPulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(255, 122, 24, .08), 0 0 14px rgba(255, 90, 25, .2)
  }

  50% {
    box-shadow: 0 0 0 7px rgba(255, 122, 24, .14), 0 0 22px rgba(255, 90, 25, .38)
  }
}

/* ---- Hover tooltip (glass frosted capsule, slides left) ---- */
.side-nav-tip {
  position: absolute;
  right: calc(100% + 11px);
  top: 50%;
  padding: 6px 13px 6px 11px;
  border-radius: 10px;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
  background: rgba(10, 10, 14, .72);
  border: 1px solid rgba(255, 255, 255, .11);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--shadow-glass), 0 8px 24px -10px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(10px, -50%);
  transition: opacity .22s var(--ease), transform .22s var(--ease-out), visibility 0s .22s
}

/* small accent notch/triangle on the right side of the tooltip */
.side-nav-tip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(10, 10, 14, .72);
  border: 1px solid rgba(255, 255, 255, .11);
  clip-path: polygon(0 0, 100% 50%, 0 100%)
}

.side-nav-item:hover .side-nav-tip,
.side-nav-item:focus-visible .side-nav-tip {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
  transition: opacity .22s var(--ease), transform .22s var(--ease-out), visibility 0s 0s
}

/* proximity glow on the outer wrapper when any item is hovered */
.side-nav-rail:has(.side-nav-item:hover) {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset,
    0 24px 48px -22px rgba(0, 0, 0, .65),
    0 0 42px -10px rgba(255, 90, 25, .22)
}

/* hide desktop side-nav on small screens */
@media (max-width:1100px) {
  .side-nav {
    display: none
  }
}

.cursor-dot,
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 250;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
  transform: translate3d(-100px, -100px, 0)
}

.cursor-dot.is-on,
.cursor-trail.is-on {
  opacity: 1
}

.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--flame-orange);
  box-shadow: 0 0 10px var(--flame-orange), 0 0 18px rgba(255, 122, 24, .45);
  transition: width .2s var(--ease), height .2s var(--ease), margin .2s var(--ease), opacity .25s
}

.cursor-trail {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  background: radial-gradient(circle, rgba(255, 122, 24, .38) 0%, rgba(255, 90, 25, .12) 42%, transparent 70%);
  transition: opacity .3s, width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease)
}

body.cursor-hot .cursor-dot {
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px
}

body.cursor-hot .cursor-trail {
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px
}

@media (pointer:coarse),
(prefers-reduced-motion:reduce) {

  .cursor-dot,
  .cursor-trail {
    display: none
  }
}

/* ================================================================
   MOBILE QUICK-NAV CAPSULE
   Visible only on ≤1100px. Desktop side-nav remains unchanged.
   ================================================================ */
.mob-nav {
  display: none;
  /* shown via JS on mobile */
  position: fixed;
  bottom: 24px;
  right: 18px;
  z-index: 140;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px
}

@media (max-width:1100px) {
  .mob-nav {
    display: flex
  }
}

/* Trigger pill */
.mob-nav-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px 11px 13px;
  border-radius: var(--r-pill);
  background: rgba(10, 10, 14, .72);
  border: 1px solid rgba(255, 122, 24, .38);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 0 22px -6px rgba(255, 75, 31, .4),
    0 8px 24px -10px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  cursor: pointer;
  border: none;
  color: var(--text);
  font: inherit;
  transition: box-shadow .3s var(--ease), transform .3s var(--spring)
}

.mob-nav-pill:active {
  transform: scale(0.95) !important
}

.mob-nav-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flame-orange);
  box-shadow: 0 0 8px var(--flame-orange);
  animation: snPulse 2.2s ease-in-out infinite
}

.mob-nav-pill-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
  white-space: nowrap
}

.mob-nav-pill-ico {
  width: 16px;
  height: 16px;
  color: var(--flame-orange);
  transition: transform .35s var(--spring)
}

.mob-nav.is-open .mob-nav-pill-ico {
  transform: rotate(180deg)
}

/* Expanding vertical menu */
.mob-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 20px;
  background: rgba(10, 10, 14, .78);
  border: 1px solid rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 0 28px -10px rgba(255, 75, 31, .22), 0 16px 40px -16px rgba(0, 0, 0, .6);
  /* collapsed */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .35s var(--spring), visibility 0s .35s
}

.mob-nav.is-open .mob-nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity .3s var(--ease), transform .35s var(--spring), visibility 0s 0s
}

/* Each menu item */
.mob-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 12px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: left;
  width: 100%;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease)
}

.mob-nav-item:hover,
.mob-nav-item:active {
  background: rgba(255, 122, 24, .12);
  color: var(--flame-orange)
}

.mob-nav-item.mn-active {
  background: rgba(255, 75, 31, .14);
  color: var(--flame-orange)
}

.mob-nav-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  transition: background .2s var(--ease), border-color .2s var(--ease)
}

.mob-nav-item.mn-active .mob-nav-item-icon {
  background: rgba(255, 75, 31, .18);
  border-color: rgba(255, 122, 24, .4)
}

.mob-nav-item-icon svg {
  width: 14px;
  height: 14px;
  color: currentColor
}

/* close on tap outside */
.mob-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 139;
  display: none
}

.mob-nav.is-open~.mob-nav-overlay,
.mob-nav-overlay.is-active {
  display: block
}

/* WordPress nav menu list inside .nav-links */
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0
}

.nav-links li {
  margin: 0
}

.logo-badge img,
img.logo-badge {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1
}