/* ─────────────────────────────────────────────────────────
   BMM Creations — "High Voltage" theme
   Deep black canvas, electric lime / sky / violet / flame
   accents, live circuit chip in the hero.
   Colour tokens are all here at the top.
   ───────────────────────────────────────────────────────── */

:root {
  --bg:     #0b0f19;
  --bg-2:   #111727;
  --card:   #172033;
  --line:   #2a3550;
  --text:   #f3f1ea;
  --muted:  #a3acc2;

  --volt:   #d4ff3a;   /* main accent */
  --sky:    #38d6ff;
  --violet: #8b5cff;
  --flame:  #ff5a36;
  --grad: linear-gradient(100deg, var(--volt), var(--sky) 40%, var(--violet) 70%, var(--flame));

  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body:    'Inter Tight', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  --r: 22px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--volt); color: #000; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 400; background: var(--volt); color: #000; padding: .6rem 1rem; font-weight: 600; }
.skip-link:focus { top: 1rem; }

.mono { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.display { font-family: var(--display); line-height: 1; letter-spacing: -.03em; }
.grad {
  background: var(--grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shift 6s linear infinite;
}
@keyframes shift { to { background-position: -200% 0; } }
.eyebrow { display: block; color: var(--volt); margin-bottom: 18px; }

/* ─── Film grain ─── */
body::before {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Cursor ─── */
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(212,255,58,.10), transparent 60%);
}
@media (hover: none), (max-width: 900px) { .cursor-glow { display: none; } }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid var(--line);
  background: none; color: var(--text); font: 600 .95rem/1 var(--body); cursor: pointer;
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--text); }
.btn-primary { background: var(--volt); color: #000; border-color: var(--volt); }
.btn-primary:hover { background: #fff; border-color: #fff; }
.btn-dark { background: #000; color: var(--volt); border-color: #000; }
.btn-dark:hover { border-color: #000; background: #111; }
.btn-small { padding: 11px 18px; font-size: .9rem; }
.btn-block { width: 100%; padding: 18px; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn:disabled { opacity: .6; cursor: wait; }

/* ─── Header ─── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 18px 0; transition: background .3s, padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(11,15,25,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 10px 0; border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.logo b { font-weight: 900; }
.logo-mark { width: 34px; height: auto; transition: transform .4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-10deg) scale(1.1); }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .95rem; }
.main-nav a:not(.btn) { position: relative; color: var(--muted); transition: color .2s; }
.main-nav a:not(.btn):hover { color: var(--text); }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--volt); transition: width .3s; }
.main-nav a:not(.btn):hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--text); transition: transform .3s, top .3s;
}
.menu-toggle .bars { top: 21px; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; left: 0; }
.menu-toggle .bars::before { top: -7px; }
.menu-toggle .bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 20px;
    padding: 28px 4vw 32px; background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 1.25rem;
  }
  .main-nav.is-open { display: flex; }
}

/* ─── Hero ─── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 100px; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask: radial-gradient(ellipse at 30% 40%, #000, transparent 70%); mask: radial-gradient(ellipse at 30% 40%, #000, transparent 70%);
}
.orb {
  position: absolute; right: -6vw; top: 14vh; width: min(640px, 70vw); aspect-ratio: 1; border-radius: 50%;
  filter: blur(10px); opacity: .55;
  background: conic-gradient(from 0deg, var(--volt), var(--sky), var(--violet), var(--flame), var(--volt));
  animation: spin 16s linear infinite;
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 68%); mask: radial-gradient(circle, #000 25%, transparent 68%);
}
.orb2 { position: absolute; left: -15vw; bottom: -20vh; width: 50vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,255,.35), transparent 65%); filter: blur(30px); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }

.tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(23,32,51,.6); backdrop-filter: blur(6px); margin-bottom: 30px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212,255,58,.7); } 70% { box-shadow: 0 0 0 10px rgba(212,255,58,0); } 100% { box-shadow: 0 0 0 0 rgba(212,255,58,0); } }

.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.8rem); font-weight: 900; }
@media (max-width: 1000px) { .hero h1 { font-size: 8.4vw; } }
.hero h1 .line > span { white-space: nowrap; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.ready .hero h1 .line > span, .no-js .hero h1 .line > span { transform: none; }
.hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
.hero h1 .line:nth-child(3) > span { transition-delay: .24s; }
.no-js .hero h1 .line > span { transform: none; }

.hero-lede { max-width: 540px; margin-top: 34px; color: var(--muted); font-size: 1.12rem; }
.hero-lede b { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(var(--volt), transparent); animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 1000px) { .scroll-hint { display: none; } }

.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 560px; }
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof b { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.hero-proof span { color: var(--muted); font-size: .85rem; }
.trusted { margin-top: 22px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.trusted span { color: var(--text); padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; letter-spacing: .06em; }

/* ─── Hero schematic (circuit chip) ─── */
.schematic { margin: 0; }
.schematic svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 1000px) { .schematic { max-width: 460px; width: 100%; margin: 10px auto 0; } }
.traces { filter: drop-shadow(0 0 6px rgba(212,255,58,.35)); }
.traces path { fill: none; stroke: #5d6b2a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pads circle { fill: var(--bg); stroke: var(--volt); stroke-width: 3; filter: drop-shadow(0 0 5px rgba(212,255,58,.8)); }
.pads circle, .chip-led { transform-box: fill-box; transform-origin: center; }
.pulses path { fill: none; stroke-linecap: round; }
.pulse-tail { stroke: var(--volt); stroke-width: 5; opacity: .9; filter: drop-shadow(0 0 6px var(--volt)); }
.pulse-head { stroke: #fff; stroke-width: 5; filter: drop-shadow(0 0 6px var(--volt)) drop-shadow(0 0 2px #fff); }
.silk text { fill: var(--text); font: 500 15px var(--mono); opacity: .85; }
.chip-body { fill: #0d1322; stroke: var(--volt); stroke-width: 2; }
.chip-dot { fill: var(--text); opacity: .5; }
.chip-label { font: 900 30px var(--display); fill: var(--volt); letter-spacing: -.02em; }
.chip-sub { fill: var(--muted); font: 500 13px var(--mono); }
.chip-led { fill: #2b3311; }

.js .traces path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.js .pads circle, .js .silk text { opacity: 0; }
.js.powered .traces path { animation: draw 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 300ms); }
.js.powered .pads circle { animation: fade .4s forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
.js.powered .silk text { animation: fadeSilk .5s forwards; animation-delay: calc(var(--i) * 90ms + 650ms); }
.js.powered .chip-body { animation: chipOn .8s forwards 1.9s, breathe 3.2s ease-in-out 2.7s infinite; }
.js.powered .chip-led { animation: ledOn .3s forwards 1.9s, ledBlink 1.6s steps(2, jump-none) 2.4s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes fadeSilk { to { opacity: .85; } }
@keyframes chipOn { to { filter: drop-shadow(0 0 18px rgba(212,255,58,.55)); } }
@keyframes breathe { 0%, 100% { filter: drop-shadow(0 0 14px rgba(212,255,58,.4)); } 50% { filter: drop-shadow(0 0 26px rgba(212,255,58,.75)); } }
@keyframes ledOn { to { fill: var(--volt); } }
@keyframes ledBlink { 0% { fill: var(--volt); } 100% { fill: #2b3311; } }

/* ─── Marquee ─── */
.marquee { overflow: hidden; background: var(--volt); color: #000; transform: rotate(-1.5deg); margin: 0 -2vw; position: relative; z-index: 3; }
.marquee .track { display: flex; width: max-content; animation: mq 30s linear infinite; }
.marquee span { display: flex; align-items: center; gap: 28px; padding: 18px 28px; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 2.8vw, 2rem); }
.marquee span::after { content: "✦"; font-size: .8em; }
.marquee.alt { background: var(--bg-2); color: var(--text); transform: rotate(1.2deg); margin-top: -14px; z-index: 2; border-block: 1px solid var(--line); }
.marquee.alt .track { animation-direction: reverse; }
.marquee.alt span::after { color: var(--violet); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ─── Sections ─── */
.section { position: relative; padding: 130px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); font-weight: 800; max-width: 15ch; }
.section-head > p, .section-head div > p { max-width: 420px; color: var(--muted); margin-top: 18px; }
.section-head > p { margin-top: 0; }

.rv { opacity: 0; transform: translateY(40px); transition: opacity .9s, transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ─── Work ─── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { background: none; border: 1px solid var(--line); color: var(--muted); padding: 9px 18px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .9rem; transition: .25s; }
.filters button.on, .filters button:hover { background: var(--text); color: #000; border-color: var(--text); }

.works { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .works { grid-template-columns: 1fr; } }
.work { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .4s, transform .4s; }
.work:hover { border-color: #3d4b6b; }
.work.hide { display: none; }
.work.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
@media (max-width: 960px) { .work.featured { grid-template-columns: 1fr; } }

.shot { position: relative; display: grid; place-items: center; padding: 40px 32px; background: var(--g); overflow: hidden; min-height: 300px; }
.shot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.25), transparent 50%); pointer-events: none; }
.browser { position: relative; z-index: 1; width: 100%; max-width: 640px; border-radius: 12px; overflow: hidden; background: #0d1322; box-shadow: 0 30px 60px rgba(0,0,0,.5); transition: transform .7s var(--ease); }
.work:hover .browser { transform: translateY(-10px) rotate(-1.2deg) scale(1.03); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #1d2840; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a4766; }
.browser .bar i:nth-child(1) { background: #ff5f57; } .browser .bar i:nth-child(2) { background: #febc2e; } .browser .bar i:nth-child(3) { background: #28c840; }
.browser .bar em { margin-left: 10px; font: 500 .7rem var(--mono); color: var(--muted); font-style: normal; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.work-body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.work.featured .work-body { justify-content: center; padding: 44px; }
.kind { color: var(--volt); }
.work h3 { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.15; margin: 10px 0 12px; }
.work.featured h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.work-body > p:not(.kind) { color: var(--muted); font-size: .97rem; }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 26px; }
.stack li { font-size: .75rem; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.work-link { margin-top: auto; display: inline-flex; align-items: center; gap: 14px; font-weight: 600; }
.go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .3s; }
.work:hover .go, .work-link:hover .go { background: var(--volt); color: #000; border-color: var(--volt); transform: rotate(-45deg); }

/* ─── Stats ─── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat { padding: 46px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; margin-bottom: 10px; }
.stat > span { color: var(--muted); font-size: .95rem; }

/* ─── Services ─── */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1050px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.svc { position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 30px 26px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .4s, border-color .4s; }
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(212,255,58,.14), transparent 45%); opacity: 0; transition: opacity .3s; }
.svc:hover::before { opacity: 1; }
.svc:hover { transform: translateY(-8px); border-color: #3d4b6b; }
.svc .num { color: var(--muted); }
.ico { width: 64px; height: 64px; margin: 34px 0 auto; border-radius: 18px; display: grid; place-items: center; background: rgba(var(--c), .13); transition: transform .5s var(--ease); }
.ico svg { width: 30px; height: 30px; fill: none; stroke: rgb(var(--c)); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .ico { transform: rotate(-12deg) scale(1.1); }
.svc h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 700; line-height: 1.15; margin: 30px 0 10px; }
.svc p { color: var(--muted); font-size: .95rem; }
.svc ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.svc li { font-size: .75rem; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* ─── Design gallery ─── */
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery button {
  display: block; width: 100%; margin-bottom: 16px; padding: 0; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; background: var(--card); cursor: zoom-in; break-inside: avoid; position: relative;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s;
}
.gallery button::after { content: "↗"; position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--volt); color: #000; display: grid; place-items: center; font-weight: 700; opacity: 0; transform: scale(.6); transition: .3s var(--ease); }
.gallery button:hover { transform: translateY(-6px) rotate(-.8deg); border-color: var(--volt); box-shadow: 0 24px 50px rgba(0,0,0,.5), 0 0 0 1px var(--volt); }
.gallery button:hover::after { opacity: 1; transform: none; }
.gallery img { width: 100%; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }

.lightbox { margin: auto; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; border: 0; padding: 0; background: transparent; color: var(--text); }
.lightbox::backdrop { background: rgba(11,15,25,.92); backdrop-filter: blur(8px); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; gap: 12px; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(90vw, 900px); }
.lightbox img { max-height: 82vh; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox figcaption { color: var(--muted); font-size: .92rem; text-align: center; }
.lb-close, .lb-nav { background: var(--card); border: 1px solid var(--line); color: var(--text); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; transition: .25s; }
.lb-close:hover, .lb-nav:hover { background: var(--volt); color: #000; border-color: var(--volt); }
.lb-close { position: absolute; top: 20px; right: 20px; }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .lb-nav { position: absolute; bottom: 20px; } .lb-prev { left: 30%; } .lb-next { right: 30%; } }

/* ─── Testimonials ─── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 30px 28px; display: flex; flex-direction: column; gap: 26px; }
.quote::before { content: "\201C"; position: absolute; top: 6px; right: 22px; font: 900 5rem/1 var(--display); color: var(--volt); opacity: .25; }
.quote blockquote { font-size: 1.08rem; line-height: 1.55; flex: 1; }
.quote figcaption { display: flex; flex-direction: column; padding-top: 18px; border-top: 1px solid var(--line); }
.quote figcaption span { color: var(--muted); font-size: .88rem; }

/* ─── Process ─── */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; gap: 40px; } }
.process-intro { position: sticky; top: 130px; }
@media (max-width: 900px) { .process-intro { position: static; } }
.process-intro h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 800; }
.process-intro p { color: var(--muted); margin: 20px 0 32px; max-width: 420px; }
.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color .4s, background .4s; }
.step.active { border-color: var(--volt); background: linear-gradient(135deg, rgba(212,255,58,.07), var(--card) 60%); }
.step .n { font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--muted); transition: .4s; }
.step.active .n { -webkit-text-stroke-color: var(--volt); color: var(--volt); }
.step h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ─── About ─── */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 40px; } }
.about-copy h2 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; margin-bottom: 28px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; max-width: 560px; }
.toolkit { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: #1d2840; border-bottom: 1px solid var(--line); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; }
.term-bar i:nth-child(1) { background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 10px; color: var(--muted); text-transform: none; letter-spacing: .02em; }
.toolkit dl { padding: 26px 28px 30px; display: grid; grid-template-columns: auto 1fr; gap: 16px 22px; font-size: .95rem; }
.toolkit dt { font-family: var(--mono); font-size: .8rem; color: var(--volt); padding-top: 2px; }
.toolkit dt::before { content: "› "; color: var(--muted); }
.toolkit dd { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 90px; }
.chip { font-family: var(--display); font-weight: 600; font-size: clamp(.95rem, 2vw, 1.4rem); padding: 14px 26px; border-radius: 999px; border: 1px solid var(--line); transition: .35s var(--ease); cursor: default; }
.chip:hover { background: var(--grad); background-size: 200%; color: #000; border-color: transparent; transform: rotate(-3deg) scale(1.05); }

/* ─── Pricing ─── */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.price-card { position: relative; background: var(--volt); color: #000; border-radius: 30px; padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; overflow: hidden; }
.price-card::after { content: "KES"; position: absolute; right: -20px; bottom: -40px; font: 900 11rem/1 var(--display); color: rgba(0,0,0,.06); pointer-events: none; }
.price-card .badge { align-self: flex-start; background: #000; color: var(--volt); padding: 7px 13px; border-radius: 999px; margin-bottom: 26px; }
.price-card h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; margin-bottom: 18px; }
.price-card p { color: #2b2f15; max-width: 460px; }
.price { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; margin: 34px 0 30px; letter-spacing: -.04em; }
.price small { display: block; font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-top: 10px; opacity: .65; }
.price-card .btn { align-self: flex-start; margin-top: auto; position: relative; z-index: 1; }
.factors { background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: clamp(32px, 5vw, 56px); }
.factors h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; }
.factors ul { display: grid; gap: 0; }
.factors li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.factors li b { font-weight: 600; }
.factors li span { color: var(--muted); }
@media (max-width: 560px) { .factors li { grid-template-columns: 1fr; gap: 4px; } }
.note { color: var(--muted); font-size: .88rem; margin-top: 22px; }

/* ─── FAQ ─── */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 30px; } }
.faq-wrap h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--display); font-weight: 600; font-size: 1.1rem; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--body); font-size: 1.3rem; transition: .3s var(--ease); }
.faq summary:hover { color: var(--volt); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--volt); color: #000; border-color: var(--volt); }
.faq details p { color: var(--muted); padding: 0 50px 24px 0; animation: drop .4s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ─── Contact ─── */
.contact { position: relative; overflow: hidden; border-radius: 36px; background: var(--bg-2); border: 1px solid var(--line); padding: clamp(32px, 6vw, 80px); }
.contact::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,255,.35), transparent 65%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
.contact-copy h2 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; }
.contact-copy > p { color: var(--muted); margin-top: 20px; max-width: 420px; }
.contact-lines { margin-top: 34px; display: grid; gap: 16px; }
.contact-lines li { display: flex; gap: 14px; align-items: center; }
.contact-lines i { font-style: normal; width: 46px; height: 46px; flex: none; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.1rem; }
.contact-lines small { display: block; color: var(--muted); font-size: .68rem; }
.contact-lines span { min-width: 0; overflow-wrap: anywhere; }
.contact-lines a { font-weight: 600; transition: color .2s; }
.contact-lines a:hover { color: var(--volt); }

.contact-form { display: grid; gap: 14px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 24px 18px 10px; color: var(--text); font: inherit; outline: none; resize: vertical; transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field textarea:focus { border-color: var(--volt); box-shadow: 0 0 0 4px rgba(212,255,58,.12); }
.field label { position: absolute; left: 18px; top: 17px; color: var(--muted); pointer-events: none; transition: .2s; font-size: 1rem; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: .72rem; color: var(--volt); }
.opts-label { color: var(--muted); margin: 6px 0 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .9rem; color: var(--muted); transition: .2s; }
.opts label:hover { border-color: var(--text); color: var(--text); }
.opts input:checked + label { background: var(--volt); color: #000; border-color: var(--volt); }
.opts input:focus-visible + label { outline: 2px solid var(--volt); outline-offset: 3px; }
.form-status { font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: var(--volt); }
.form-status.err { color: var(--flame); }

/* ─── Footer ─── */
.site-footer { padding: 90px 0 40px; overflow: hidden; }
.big-word {
  font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 19vw, 17rem); line-height: .85; letter-spacing: -.05em;
  text-align: center; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, var(--text), transparent 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 24px; }
.footer-inner nav { display: flex; gap: 22px; }
.footer-inner a:hover { color: var(--volt); }

/* ─── Floating buttons ─── */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.totop { position: fixed; right: 30px; bottom: 94px; z-index: 55; width: 44px; height: 44px; border-radius: 50%; background: var(--volt); color: #000; border: 0; font-size: 1.1rem; font-weight: 700; cursor: pointer; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }

/* ─── Phones: lighter effects for smooth scrolling + battery ─── */
@media (max-width: 760px) {
  body::before { display: none; }
  .orb { animation: none; filter: none; opacity: .4; width: 90vw; top: 6vh; }
  .orb2 { filter: none; }
  .grad { animation: none; }
  .marquee .track { animation-duration: 45s; }
  .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11,15,25,.96); }
  .section { padding: 90px 0; }
  .chips { margin-top: 60px; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .js .traces path { stroke-dashoffset: 0; }
  .js .pads circle, .js .silk text { opacity: 1; }
  .pulses, .live, .cursor-glow { display: none; }
}
