/* ==========================================================================
   FOMO Agency — "Storm Glass"
   Palette pulled from the wordmark: see Website Plan §2
   ========================================================================== */

/* self-hosted fonts (assets/fonts) — no external font dependency */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/inter-tight-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/inter-tight-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/inter-tight-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 900; font-display: swap; src: url("../assets/fonts/inter-tight-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --void: #05060A;        /* page background */
  --indigo: #171B26;      /* base layer under glass */
  --slate: #3B4457;       /* glass tint */
  --cloud: #6B7A93;       /* secondary text, borders */
  --glow: #9FD3FF;        /* hover, focus, accents */
  --white: #F4F8FF;       /* primary text, lightning core */

  --glass-bg: rgba(59, 68, 87, 0.16);
  --glass-border: rgba(107, 122, 147, 0.28);
  --glass-blur: 14px;

  --font-display: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;

  --nav-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--void);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(159, 211, 255, 0.28); color: var(--white); }

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--glow); text-decoration: none; }
a:hover { color: var(--white); }

:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 300;
  background: var(--indigo); color: var(--white);
  padding: 10px 18px; border-radius: 8px; border: 1px solid var(--glass-border);
}
.skip-link:focus { left: 8px; }

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

/* ---------- typography ---------- */

h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; margin: 0 0 0.5em; }

.display-xl {
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.display-lg {
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.display-md {
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 800;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cloud);
  margin: 0 0 0.7rem; /* consistent label-to-heading rhythm site-wide */
}

.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--cloud); max-width: 34em; }
.muted { color: var(--cloud); }

.kinetic .char { display: inline-block; white-space: pre; }
.kinetic .word { display: inline-block; white-space: nowrap; }

/* ---------- layout ---------- */

.container { width: min(1180px, 92vw); margin-inline: auto; }
.section { position: relative; padding: clamp(4.5rem, 10vh, 8rem) 0; }
.section--tight { padding: clamp(3rem, 7vh, 5rem) 0; }

/* asymmetric anchor: content leans left with an oversized right margin on desktop */
@media (min-width: 900px) {
  .anchor-left { max-width: 72%; }
}

/* ---------- glass ---------- */

.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  backdrop-filter: blur(var(--glass-blur)) saturate(1.15);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.15);
  overflow: hidden;
}
/* specular highlight that tracks the pointer (set via --mx/--my in JS) */
.glass::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -20%),
              rgba(159, 211, 255, 0.10), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.glass:hover::before { opacity: 1; }

.glass-card { padding: clamp(1.4rem, 3vw, 2.2rem); }

/* lightning crack along the border on hover */
.glass .crack-line {
  position: absolute; left: 0; right: 0; top: 0; height: 14px;
  width: 100%;
  pointer-events: none;
  opacity: 0;
}
.glass .crack-line path {
  fill: none;
  stroke: var(--glow);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 4px rgba(159, 211, 255, 0.9));
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
}
.glass:hover .crack-line { opacity: 1; }
.glass:hover .crack-line path { animation: crackDraw 0.5s var(--ease-out) forwards; }
@keyframes crackDraw { to { stroke-dashoffset: 0; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  padding: 0.9em 1.7em;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
  text-align: center;
}
.btn-primary {
  background: var(--white);
  color: var(--void);
  border-color: transparent;
}
.btn-primary:hover {
  color: var(--void);
  box-shadow: 0 0 28px rgba(159, 211, 255, 0.45);
}
.btn-ghost {
  background: rgba(59, 68, 87, 0.18);
  color: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--glow); color: var(--glow); box-shadow: 0 0 18px rgba(159,211,255,.18); }

.btn .bolt-ico { width: 14px; height: 14px; flex: none; }

/* ---------- nav ---------- */

.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: linear-gradient(rgba(5, 6, 10, 0.85), rgba(5, 6, 10, 0.35) 70%, transparent);
  pointer-events: none;
}
.site-nav .nav-inner > * { pointer-events: auto; }
.site-nav .nav-inner {
  width: min(1240px, 94vw);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--white);
  font-weight: 900; font-size: 1.25rem; letter-spacing: 0.04em;
}
.brand svg { width: 20px; height: 20px; }
.brand:hover { color: var(--white); }
.brand:hover svg path { filter: drop-shadow(0 0 5px rgba(159,211,255,.9)); }

.nav-links {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}
.nav-link {
  position: relative;
  color: var(--cloud);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45em 0.9em;
  border-radius: 999px;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--white); }
.nav-link[aria-current="page"] { color: var(--white); }
/* jagged bolt underline instead of a plain line */
.nav-link .bolt-underline {
  position: absolute; left: 12%; right: 12%; bottom: 1px; height: 6px; width: 76%;
  pointer-events: none;
}
.nav-link .bolt-underline path {
  fill: none; stroke: var(--glow); stroke-width: 1.3;
  filter: drop-shadow(0 0 3px rgba(159,211,255,.85));
  stroke-dasharray: 90; stroke-dashoffset: 90;
}
.nav-link:hover .bolt-underline path,
.nav-link[aria-current="page"] .bolt-underline path {
  animation: boltUnder 0.35s var(--ease-out) forwards;
}
@keyframes boltUnder { to { stroke-dashoffset: 0; } }

.nav-cta { display: none; }
@media (min-width: 900px) { .nav-cta { display: inline-flex; font-size: 0.85rem; padding: 0.7em 1.3em; } }

/* burger (mobile) */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 12px;
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  /* nav pill sits dead-centre between the brand and the CTA */
  .site-nav .nav-inner { position: relative; }
  .nav-links.desktop { position: absolute; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 899px) {
  .nav-links.desktop { display: none; }
}

/* full-screen frosted overlay menu (mobile) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(11, 13, 20, 0.72);
  backdrop-filter: blur(26px) saturate(1.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 18vh 10vw;
  gap: 0.6rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu .nav-link {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 800; text-transform: none; letter-spacing: -0.01em;
  padding: 0.15em 0;
}
.mobile-menu .menu-cta { margin-top: 1.6rem; }
.mobile-menu .mono-label { margin-bottom: 1rem; }

/* ---------- loader ---------- */

/* while the loader runs, the page itself stays hidden so only the storm
   shader glows through the loader's translucent navy */
body.is-loading .page-root,
body.is-loading .site-nav,
body.is-loading .site-footer { visibility: hidden; }

.loader {
  position: fixed; inset: 0; z-index: 200;
  /* dark navy over the storm shader — the clouds glow faintly through */
  background:
    radial-gradient(90% 70% at 50% 45%, rgba(23, 27, 38, 0.6), rgba(5, 6, 10, 0.97) 78%),
    rgba(5, 6, 10, 0.88);
  display: flex; align-items: center; justify-content: center;
}
#loader-bolts { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.loader-mark {
  position: relative;
  width: min(680px, 82vw);
  aspect-ratio: 1251 / 447;
  will-change: filter, transform;
}
.loader-seg {
  position: absolute; inset: 0;
  opacity: 0;
  /* feathered slice of the wordmark — seams hide inside the cloud texture */
  -webkit-mask-image: linear-gradient(90deg, transparent var(--l), #000 calc(var(--l) + 3%), #000 calc(var(--r) - 3%), transparent var(--r));
  mask-image: linear-gradient(90deg, transparent var(--l), #000 calc(var(--l) + 3%), #000 calc(var(--r) - 3%), transparent var(--r));
  will-change: opacity, filter;
}
.loader-seg img { width: 100%; height: 100%; display: block; }
/* strike impact: hard flicker, hot glow decaying to lit */
.loader-seg.lit { animation: segStrike 0.24s steps(1, end) forwards; }
@keyframes segStrike {
  0%   { opacity: 1; filter: brightness(2.6) drop-shadow(0 0 26px rgba(159, 211, 255, 0.95)); }
  35%  { opacity: 0.35; filter: brightness(1.4) drop-shadow(0 0 10px rgba(159, 211, 255, 0.5)); }
  55%  { opacity: 1; filter: brightness(1.9) drop-shadow(0 0 18px rgba(159, 211, 255, 0.8)); }
  75%  { opacity: 0.85; filter: brightness(1.1) drop-shadow(0 0 8px rgba(159, 211, 255, 0.4)); }
  100% { opacity: 1; filter: brightness(1) drop-shadow(0 0 6px rgba(159, 211, 255, 0.25)); }
}
/* fully formed: steady soft glow for the hold beat */
.loader.formed .loader-mark {
  filter: drop-shadow(0 0 34px rgba(159, 211, 255, 0.45)) drop-shadow(0 14px 44px rgba(5, 6, 10, 0.9));
  transition: filter 0.35s ease;
}
/* reduced-motion / no-JS fallback: the mark simply fades in, no strikes */
.loader.simple .loader-seg { opacity: 1; animation: none; -webkit-mask-image: none; mask-image: none; }
.loader.simple .loader-seg:not(:first-child) { display: none; }
.loader.done { display: none; }

/* ---------- page transition crack ---------- */

.transition-layer { position: fixed; inset: 0; z-index: 150; pointer-events: none; visibility: hidden; }
.transition-layer.active { visibility: visible; }
.crack-half {
  position: absolute; left: 0; width: 100%; height: 60%;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(59,68,87,0.55), rgba(23,27,38,0.97) 70%),
    var(--indigo);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.crack-half.top {
  top: 0;
  transform: translateY(-101%);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 88% 92%, 74% 78%, 60% 95%, 48% 80%, 34% 96%, 20% 82%, 8% 93%, 0 84%);
}
.crack-half.bottom {
  bottom: 0;
  transform: translateY(101%);
  clip-path: polygon(0 26%, 8% 35%, 20% 24%, 34% 38%, 48% 22%, 60% 37%, 74% 20%, 88% 34%, 100% 26%, 100% 100%, 0 100%);
}
.crack-flash {
  position: absolute; inset: 0;
  background: var(--white);
  opacity: 0;
}

/* ---------- storm canvas / hero ---------- */

.storm-stage {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}
#storm-canvas, #bolt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.storm-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 30% 20%, rgba(59,68,87,0.5), transparent 60%),
    url("../assets/img/storm-vortex.webp") center/cover no-repeat,
    var(--void);
  opacity: 0.45;
  display: none;
}
.no-webgl .storm-fallback { display: block; }
.no-webgl #storm-canvas { display: none; }

.page-root { position: relative; z-index: 2; }

.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  /* extra clearance below the fixed nav so the wordmark never crowds it */
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vh, 5rem));
  padding-bottom: 6.5rem; /* keeps the scroll hint clear of the CTA row */
  position: relative;
}
.hero .lede { margin-top: 1.1rem; margin-inline: auto; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero .hero-cta-row, .closing .hero-cta-row { justify-content: center; }

/* --- layered wordmark: wrap (scroll parallax) > glow / float (idle sway) > img (tilt) + sheen --- */
.hero-mark-wrap {
  perspective: 1000px;
  width: min(660px, 88vw);
  margin: 0 auto clamp(1.2rem, 4vh, 2.6rem);
  position: relative;
  will-change: transform;
}
.hero-glow {
  position: absolute; left: 50%; bottom: -22%;
  width: 96%; height: 46%;
  transform: translateX(-50%);
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(159, 211, 255, 0.22), rgba(159, 211, 255, 0.07) 55%, transparent 75%);
  filter: blur(26px);
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: 0.75; transform: translateX(-50%) scale(0.96); }
  to   { opacity: 1;    transform: translateX(-50%) scale(1.05); }
}
.hero-mark-float {
  position: relative;
  transform-style: preserve-3d;
  animation: heroFloat 7s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroFloat {
  from { transform: translateY(-7px) rotate(-0.5deg); }
  to   { transform: translateY(9px)  rotate(0.6deg); }
}
.hero-mark {
  display: block; width: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  filter:
    drop-shadow(0 22px 54px rgba(5, 6, 10, 0.95))
    drop-shadow(0 6px 22px rgba(159, 211, 255, 0.18))
    drop-shadow(0 0 44px rgba(159, 211, 255, 0.10));
}
/* specular sheen sweeping across the glass every few seconds, masked to the letterforms */
.hero-sheen {
  position: absolute; inset: 0;
  pointer-events: none;
  -webkit-mask-image: url("../assets/img/fomo-logo-transparent.png");
  mask-image: url("../assets/img/fomo-logo-transparent.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  background: linear-gradient(105deg,
    transparent 40%,
    rgba(244, 248, 255, 0.28) 48%,
    rgba(159, 211, 255, 0.20) 52%,
    transparent 60%);
  background-size: 320% 100%;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  animation: sheenSweep 6.5s ease-in-out infinite;
}
@keyframes sheenSweep {
  0%   { background-position: 140% 0; }
  22%  { background-position: -80% 0; }
  100% { background-position: -80% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mark-float, .hero-glow, .hero-sheen { animation: none; }
}
.hero-scroll-hint {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  color: var(--cloud); font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  opacity: 0.8;
}
.hero-scroll-hint::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(var(--cloud), transparent);
  animation: hintDrop 1.8s ease-in-out infinite;
}
@keyframes hintDrop { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(1); } }
@media (max-width: 899px), (max-height: 700px) { .hero-scroll-hint { display: none; } }

/* jagged section divider */
.divider {
  width: 100%; height: 28px; display: block;
  color: rgba(107, 122, 147, 0.35);
}
.divider path { fill: none; stroke: currentColor; stroke-width: 1; }
.divider .zap { stroke: var(--glow); opacity: 0.55; filter: drop-shadow(0 0 4px rgba(159,211,255,.6)); }

/* ---------- home sections ---------- */

.problem { text-align: left; }
.problem .display-lg { max-width: 15em; }
.problem-stats {
  display: grid; gap: 1rem; margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.problem-stats .glass-card p { margin: 0.4rem 0 0; color: var(--cloud); font-size: 0.95rem; }
.problem-stats .glass-card strong { font-size: 1.15rem; }

.service-split {
  display: grid; gap: 1.4rem; margin-top: 2.6rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.service-split .glass-card h3 { margin-top: 0.4rem; }
.service-split .glass-card p { color: var(--cloud); }
.service-split .card-link {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
}

.guarantee {
  margin-top: clamp(3rem, 8vh, 5rem);
  padding: clamp(2rem, 5vw, 3.4rem);
  text-align: left;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(59,68,87,0.28), rgba(23,27,38,0.55));
  border: 1px solid rgba(159, 211, 255, 0.22);
  box-shadow: 0 0 60px rgba(159, 211, 255, 0.05) inset;
}
.guarantee .display-md { max-width: 18em; }
.guarantee p { max-width: 44em; color: var(--cloud); }
.guarantee .big-line { color: var(--white); font-size: clamp(1.3rem, 3.4vw, 2rem); font-weight: 800; line-height: 1.25; margin: 0 0 0.6em; }

.closing { text-align: center; }

/* charging panel: --charge (0..1) is driven by scroll progress in JS */
.charge-panel {
  --charge: 0;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  border-radius: 26px;
  perspective: 900px;
  border-color: rgba(159, 211, 255, calc(0.16 + var(--charge) * 0.4));
  box-shadow:
    0 0 calc(20px + var(--charge) * 60px) rgba(159, 211, 255, calc(var(--charge) * 0.16)),
    0 24px 70px rgba(5, 6, 10, 0.7);
  transition: border-color 0.3s ease;
}
.charge-glow {
  position: absolute; left: 50%; top: 26%;
  width: 70%; height: 45%;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(159, 211, 255, 0.28), transparent 72%);
  filter: blur(30px);
  opacity: calc(0.15 + var(--charge) * 0.85);
  pointer-events: none;
}
.charge-mark-float {
  position: relative;
  width: min(340px, 64vw);
  margin: 0 auto 1.8rem;
  transform-style: preserve-3d;
  animation: chargeFloat 6.5s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes chargeFloat {
  from { transform: translateY(-5px) rotateX(6deg) rotateY(-7deg) rotate(-0.4deg); }
  to   { transform: translateY(6px)  rotateX(-4deg) rotateY(7deg) rotate(0.5deg); }
}
.charge-mark {
  display: block; width: 100%;
  filter:
    drop-shadow(0 14px 34px rgba(5, 6, 10, 0.9))
    drop-shadow(0 0 calc(12px + var(--charge) * 30px) rgba(159, 211, 255, calc(0.12 + var(--charge) * 0.35)));
}
@media (prefers-reduced-motion: reduce) {
  .charge-mark-float { animation: none; }
  .charge-panel { --charge: 0.5; }
}

/* ---------- services page: interactive tier comparison ---------- */

.responsive-banner {
  margin-top: 1.8rem;
  padding: 1rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.98rem; color: var(--cloud);
  border-color: rgba(159, 211, 255, 0.28);
}
.responsive-banner strong { color: var(--white); }
.device-icons { display: inline-flex; gap: 0.45rem; color: var(--glow); flex: none; }
.device-icons svg { width: 20px; height: 20px; }

.tier-compare { margin-top: 1.6rem; }

.tier-tabs {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  padding: 0.45rem;
  border-radius: 999px;
  margin-bottom: 1.3rem;
}
.tier-tab {
  flex: 1 1 auto;
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  padding: 0.65em 1em;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  color: var(--cloud);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tier-tab .t-name {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.tier-tab .t-price { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; color: var(--white); }
.tier-tab .t-price em { font-style: normal; font-size: 0.7em; font-weight: 500; color: var(--cloud); }
.tier-tab:hover { color: var(--glow); background: rgba(159, 211, 255, 0.06); }
.tier-tab[aria-selected="true"] {
  color: var(--glow);
  background: rgba(159, 211, 255, 0.10);
  border-color: rgba(159, 211, 255, 0.38);
  box-shadow: 0 0 22px rgba(159, 211, 255, 0.12);
}
@media (max-width: 720px) {
  .tier-tabs { border-radius: 20px; }
  .tier-tab { flex: 1 1 30%; border-radius: 14px; }
}

.tier-panel {
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border-color: rgba(159, 211, 255, 0.30);
  box-shadow: 0 0 44px rgba(159, 211, 255, 0.06);
}
.tier-panel[hidden] { display: none; }
.tier-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 2rem;
  margin-bottom: 0.4rem;
}
.tier-tagline { margin: 0; color: var(--cloud); font-size: 1.02rem; }
.tier-name { display: block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--glow); }
.tier-price { display: block; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 900; letter-spacing: -0.02em; }
.tier-price small { font-size: 0.45em; font-weight: 500; color: var(--cloud); letter-spacing: 0; }
.tier-panel ul {
  list-style: none; margin: 1rem 0 0; padding: 0;
}
@media (min-width: 820px) { .tier-panel ul { columns: 2; column-gap: 2.2rem; } }
.tier-panel li {
  padding-left: 1.4em; position: relative; color: var(--cloud); font-size: 0.98rem;
  margin-bottom: 0.6rem; break-inside: avoid; -webkit-column-break-inside: avoid;
}
.tier-panel li:last-child { margin-bottom: 0; }
.tier-panel li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 12px; height: 12px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%239FD3FF" d="M13 2 4 14h6l-2 8 9-12h-6z"/></svg>') center/contain no-repeat;
  opacity: 0.85;
}
.tier-note { font-size: 0.88rem; color: var(--cloud); border-top: 1px solid var(--glass-border); padding-top: 0.9rem; margin-bottom: 0; }
.tier-note strong { color: var(--white); }

/* stacked head — the figures now live in the ledger below, not beside the name */
.tier-head.stacked { display: block; margin-bottom: 1.1rem; }
.tier-head.stacked .tier-tagline { margin-top: 0.4rem; }

/* price ledger: monthly / one-off setup / first invoice, each with its own cell */
.tier-ledger {
  display: grid; gap: 1px;
  grid-template-columns: 1fr;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
}
@media (min-width: 700px) { .tier-ledger { grid-template-columns: 1.25fr 0.85fr 1fr; } }
.tl-cell { background: rgba(23, 27, 38, 0.55); padding: 1rem 1.15rem; }
.tl-cell.total { background: rgba(159, 211, 255, 0.07); }
.tl-label {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cloud); margin: 0 0 0.35rem;
}
.tl-cell.total .tl-label { color: var(--glow); }
.tl-fig {
  margin: 0; display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}
.tl-was {
  font-size: 1.15rem; font-weight: 700; color: #8894A8;
  text-decoration: line-through; text-decoration-thickness: 2px;
  text-decoration-color: rgba(159, 211, 255, 0.75);
}
.tl-now { font-size: 1.85rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; color: var(--white); }
.tl-unit { font-size: 0.85rem; color: var(--cloud); }
.tl-foot { margin: 0.3rem 0 0; font-size: 0.82rem; color: var(--cloud); font-variant-numeric: tabular-nums; }

.pricing-disclaimer { max-width: 52em; font-size: 0.95rem; margin-top: 1.4rem; }

/* no-JS: show every plan stacked instead of the switcher */
.no-js .tier-panel[hidden] { display: block; margin-top: 1rem; }
.no-js .tier-tabs { display: none; }

.fee-strip {
  margin-top: 1.6rem; padding: 1.1rem 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.4rem 2rem;
  font-size: 0.92rem; color: var(--cloud);
  border-radius: 14px;
}
.fee-strip strong { color: var(--white); }

.software-block { margin-top: clamp(3.4rem, 8vh, 5.4rem); }
.software-block .inner {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .software-block .inner { grid-template-columns: 1.2fr 0.8fr; } }
.software-block img { border-radius: 20px; border: 1px solid var(--glass-border); }

/* ---------- work page: portfolio showcase ---------- */

.work-filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 2rem;
}
.filter-btn {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cloud);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.6em 1.3em;
  cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.filter-btn:hover { color: var(--white); border-color: var(--glow); }
.filter-btn[aria-pressed="true"] {
  color: var(--glow);
  border-color: rgba(159, 211, 255, 0.5);
  background: rgba(159, 211, 255, 0.10);
  box-shadow: 0 0 18px rgba(159, 211, 255, 0.12);
}

.work-card[hidden] { display: none; }

.card-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.card-tag {
  font-family: var(--font-mono); font-size: 0.64rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--glow);
  border: 1px solid rgba(159, 211, 255, 0.3);
  border-radius: 999px;
  padding: 0.4em 0.9em;
}
.card-tag.loc { color: var(--cloud); border-color: var(--glass-border); }

/* live preview window: a miniature site that gently auto-scrolls */
.live-preview { position: relative; }
.preview-page {
  position: absolute; left: 0; top: 0; width: 100%; height: 240%;
  display: flex; flex-direction: column; gap: 6%;
  padding: 4% 6%;
  background:
    linear-gradient(180deg, #0B0E17, #10141F 45%, #0B0E17);
  --pv-accent: #9FD3FF;
  animation: previewPan 14s ease-in-out infinite alternate;
}
.live-preview:hover .preview-page { animation-duration: 6s; }
@keyframes previewPan { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(-58%); } }
.pv-trades { --pv-accent: #9FD3FF; }
.pv-hospo  { --pv-accent: #E5C9A3; }
.pv-shop   { --pv-accent: #A9E2C5; }
.pv-storm  { --pv-accent: #F4F8FF; }
.pv-nav {
  height: 4.5%; border-radius: 6px;
  background: rgba(59, 68, 87, 0.4);
  border: 1px solid rgba(107, 122, 147, 0.2);
}
.pv-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 3% 2%; }
.pv-logo { width: 34%; height: auto; opacity: 0.9; margin-bottom: 2%; }
.pv-line { display: block; height: 7px; border-radius: 4px; background: rgba(244, 248, 255, 0.5); }
.pv-line.w60 { width: 60%; } .pv-line.w50 { width: 50%; } .pv-line.w40 { width: 40%; } .pv-line.w35 { width: 35%; } .pv-line.w30 { width: 30%; }
.pv-btn { display: block; width: 22%; height: 12px; border-radius: 999px; background: var(--pv-accent); opacity: 0.85; }
.pv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; min-height: 11%; }
.pv-cards.two { grid-template-columns: repeat(2, 1fr); }
.pv-card {
  border-radius: 8px;
  background: rgba(59, 68, 87, 0.35);
  border: 1px solid rgba(107, 122, 147, 0.22);
  position: relative; overflow: hidden;
}
.pv-card::after {
  content: ""; position: absolute; left: 10%; bottom: 12%; width: 55%; height: 5px;
  border-radius: 3px; background: var(--pv-accent); opacity: 0.5;
}
.pv-band { min-height: 9%; border-radius: 8px; background: linear-gradient(120deg, rgba(59,68,87,0.5), rgba(23,27,38,0.7)); border: 1px solid rgba(107,122,147,0.18); }
.pv-band.tall { min-height: 14%; }
.pv-footer { min-height: 6%; border-radius: 6px; background: rgba(5, 6, 10, 0.6); border: 1px solid rgba(107, 122, 147, 0.15); margin-top: auto; }

/* real client embeds (drop-in): an iframe rendered at full size, scaled down,
   panned by the same animation */
.preview-pan {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(59, 68, 87, 0.4), transparent 70%),
    var(--indigo); /* dark ground while the live site loads */
}
.preview-pan iframe {
  width: 400%; height: 960%;
  transform: scale(0.25); transform-origin: 0 0;
  border: 0; pointer-events: none;
  animation: previewPan 14s ease-in-out infinite alternate;
  opacity: 0; transition: opacity 0.6s ease; /* fades in via JS once loaded */
}
.preview-pan iframe.loaded { opacity: 1; }

/* screenshot previews: a slow vertical drift keeps the card feeling alive */
.thumb img.ss-pan {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 15%;
  animation: ssPan 16s ease-in-out infinite alternate;
}
@keyframes ssPan { from { object-position: 50% 10%; } to { object-position: 50% 85%; } }
.c-card:not(.focused) .ss-pan { animation-play-state: paused; }

/* whole-card visit affordance (Solana cards) */
.card-visit { cursor: pointer; }
.card-visit .card-link { color: var(--glow); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; display: inline-block; margin-top: 1rem; }
.card-visit.focused:hover { border-color: var(--glow); }

/* leave-site confirmation */
.visit-modal { position: fixed; inset: 0; z-index: 260; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.visit-modal[hidden] { display: none; }
.visit-backdrop { position: absolute; inset: 0; background: rgba(5, 6, 10, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.visit-box { position: relative; width: min(480px, 100%); padding: clamp(1.6rem, 4vw, 2.2rem); border-color: rgba(159, 211, 255, 0.35); box-shadow: 0 30px 80px rgba(5, 6, 10, 0.8), 0 0 44px rgba(159, 211, 255, 0.1); }
.visit-box .muted { margin: 0.4rem 0 0; }

@media (prefers-reduced-motion: reduce) {
  .preview-page, .preview-pan iframe, .thumb img.ss-pan { animation: none; }
}

/* ---------- work page: lanes + orbit-ring carousel ---------- */

.lane { margin-top: clamp(3rem, 7vh, 4.6rem); }
.lane-note { max-width: 46em; }

.carousel3d { margin-top: 1.6rem; position: relative; }
.c-stage {
  position: relative;
  perspective: 1500px;
  transform-style: preserve-3d;
  min-height: 380px;
}
.c-card {
  position: absolute; left: 50%; top: 0;
  width: min(600px, 94%);
  will-change: transform, opacity, filter;
}
.c-card .body { transition: opacity 0.35s ease; }
.c-card:not(.focused) { pointer-events: none; }
.c-card:not(.focused) .body { opacity: 0; }
/* only the focused card's preview runs — background cards freeze */
.c-card:not(.focused) .preview-page,
.c-card:not(.focused) .preview-pan iframe { animation-play-state: paused; }
.c-card.focused {
  border-color: rgba(159, 211, 255, 0.35);
  box-shadow: 0 24px 70px rgba(5, 6, 10, 0.75), 0 0 44px rgba(159, 211, 255, 0.08);
}

.c-controls {
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  margin-top: 1.4rem;
  position: relative; z-index: 6;
}
.c-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--glow);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s var(--ease-out);
}
.c-btn svg { width: 20px; height: 20px; }
.c-btn:hover { color: var(--white); border-color: var(--glow); box-shadow: 0 0 20px rgba(159, 211, 255, 0.2); transform: translateY(-2px); }
.c-index {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.2em;
  color: var(--cloud); min-width: 5.5em; text-align: center;
}
.c-index .c-cur { color: var(--white); }

/* no-JS: the ring flattens into a stacked list, everything readable */
.no-js .c-stage { perspective: none; min-height: 0; }
.no-js .c-card { position: static; transform: none !important; width: 100%; margin-top: 1.2rem; }
.no-js .c-card .body { opacity: 1; }
.no-js .c-controls { display: none; }

/* ---------- Solana lane & 3D mark ---------- */

.lane-solana { border-top: 1px solid rgba(107, 122, 147, 0.16); padding-top: clamp(2.6rem, 6vh, 4rem); }
.sol-head {
  display: flex; align-items: center; gap: clamp(1.4rem, 4vw, 3rem);
  flex-wrap: wrap;
  perspective: 800px;
}

.sol-mark {
  width: 108px; height: 96px;
  position: relative; flex: none;
  transform-style: preserve-3d;
  animation: solSpin 14s linear infinite;
  filter: drop-shadow(0 0 16px rgba(153, 69, 255, 0.35)) drop-shadow(0 0 26px rgba(20, 241, 149, 0.16));
}
@keyframes solSpin {
  from { transform: rotateX(14deg) rotateY(0deg); }
  to   { transform: rotateX(14deg) rotateY(360deg); }
}
.sol-bar {
  position: absolute; left: 0; width: 100%; height: 24%;
  transform-style: preserve-3d;
}
.sol-bar::before, .sol-bar::after {
  content: ""; position: absolute; inset: 0;
  background: inherit;
  clip-path: inherit;
}
.sol-bar::before { transform: translateZ(9px); }
.sol-bar::after { transform: translateZ(-9px); filter: brightness(0.45); }
.sol-bar.b1 {
  top: 0;
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
  background: linear-gradient(100deg, #4FA8C7, #1FF196);
}
.sol-bar.b2 {
  top: 38%;
  clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%);
  background: linear-gradient(100deg, #8A53F4, #3FB6DB);
}
.sol-bar.b3 {
  top: 76%;
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
  background: linear-gradient(100deg, #C33BEF, #6E6BEF);
}
.sol-mark-lg { width: clamp(150px, 20vw, 230px); height: clamp(132px, 17.6vw, 202px); margin: 2rem auto; }
@media (prefers-reduced-motion: reduce) {
  .sol-mark { animation: none; transform: rotateX(12deg) rotateY(-16deg); }
}

.sol-points { list-style: none; margin: 1.4rem 0 0.6rem; padding: 0; display: grid; gap: 0.8rem; }
.sol-points li { padding-left: 1.5em; position: relative; color: var(--cloud); }
.sol-points li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 13px; height: 13px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%239FD3FF" d="M13 2 4 14h6l-2 8 9-12h-6z"/></svg>') center/contain no-repeat;
  opacity: 0.85;
}
.sol-points strong { color: var(--white); }

/* ---------- work page ---------- */

.work-grid {
  display: grid; gap: 1.3rem; margin-top: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.work-card { display: flex; flex-direction: column; }
.work-card .thumb {
  aspect-ratio: 16 / 10; overflow: hidden; position: relative;
  background: var(--indigo);
}
.work-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out), opacity 0.4s ease;
}
.work-card:hover .thumb img { transform: scale(1.05); }
.work-card .thumb .tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(5, 6, 10, 0.72); color: var(--glow);
  border: 1px solid var(--glass-border);
  padding: 0.45em 0.9em; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.work-card .body { padding: 1.2rem 1.4rem 1.5rem; }
.work-card .body p { color: var(--cloud); font-size: 0.95rem; margin: 0.4rem 0 0; }

/* ---------- about page ---------- */

.about-story { display: grid; gap: 2rem; }
@media (min-width: 900px) { .about-story { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }

/* storm pedestal: the wordmark hovers above a churning cloud bed it conjures */
.storm-pedestal {
  position: sticky; top: calc(var(--nav-h) + 30px);
  min-height: clamp(300px, 46vh, 430px);
  display: flex; align-items: center; justify-content: center;
  perspective: 900px;
}
.pedestal-mark-float {
  position: relative; z-index: 2;
  width: min(380px, 86%);
  transform-style: preserve-3d;
  animation: pedestalFloat 7s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes pedestalFloat {
  from { transform: translateY(-10px) rotateX(7deg) rotateY(-8deg) rotate(-0.4deg); }
  to   { transform: translateY(10px)  rotateX(-5deg) rotateY(8deg) rotate(0.5deg); }
}
.pedestal-mark {
  display: block; width: 100%;
  filter:
    drop-shadow(0 20px 44px rgba(5, 6, 10, 0.95))
    drop-shadow(0 0 30px rgba(159, 211, 255, 0.16));
}
.pedestal-cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  background: radial-gradient(50% 50% at 50% 50%, rgba(74, 85, 108, 0.95), rgba(30, 35, 50, 0.6) 55%, transparent 74%);
  pointer-events: none;
}
.pedestal-cloud.c1 { left: 2%; bottom: 12%; width: 62%; height: 26%; animation: cloudChurn1 9s ease-in-out infinite alternate; }
.pedestal-cloud.c2 { right: 0%; bottom: 9%; width: 58%; height: 24%; animation: cloudChurn2 12s ease-in-out infinite alternate; }
.pedestal-cloud.c3 { left: 20%; bottom: 17%; width: 60%; height: 20%; z-index: 3; opacity: 0.85; animation: cloudChurn3 8s ease-in-out infinite alternate; }
@keyframes cloudChurn1 { from { transform: translateX(-16px) scale(1); }        to { transform: translateX(18px) scale(1.14); } }
@keyframes cloudChurn2 { from { transform: translateX(14px) scale(1.1); }       to { transform: translateX(-18px) scale(0.96); } }
@keyframes cloudChurn3 { from { transform: translate(-10px, 4px) scale(1.05); } to { transform: translate(14px, -5px) scale(1.16); } }
.pedestal-glow {
  position: absolute; left: 50%; bottom: 18%;
  width: 62%; height: 42%;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 60%, rgba(159, 211, 255, 0.3), transparent 72%);
  filter: blur(30px);
  animation: glowPulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .pedestal-mark-float, .pedestal-cloud, .pedestal-glow { animation: none; }
}

/* interactive 3D pedestal object — hand-coded Three.js, mounted in place of
   .pedestal-mark-float once WebGL + motion are both available (js/pedestal3d.js).
   Sits absolutely within the same sticky .storm-pedestal box, so it inherits
   its footprint without affecting layout when it isn't mounted yet. */
.pedestal-3d {
  position: absolute; inset: 0; z-index: 2;
  touch-action: none;
  cursor: grab;
  border-radius: 12px;
}
.pedestal-3d.is-dragging { cursor: grabbing; }
.pedestal-3d[hidden] { display: none; }
.pedestal-3d:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 8px;
}
.pedestal-3d canvas { display: block; }
.about-points { display: grid; gap: 1.2rem; margin-top: 2.6rem; }
.about-points .glass-card h3 { margin: 0 0 0.3em; font-size: 1.15rem; }
.about-points .glass-card p { margin: 0; color: var(--cloud); }

/* ---------- contact page ---------- */

.contact-wrap { display: grid; gap: 2rem; margin-top: 2rem; align-items: start; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 0.9fr 1.1fr; } }

.contact-form { display: grid; gap: 1.1rem; padding: clamp(1.6rem, 4vw, 2.4rem); }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cloud);
}
.field input, .field select, .field textarea {
  font-family: var(--font-display); font-size: 1rem;
  color: var(--white);
  background: rgba(5, 6, 10, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.85em 1em;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--glow);
  box-shadow: 0 0 0 3px rgba(159, 211, 255, 0.15);
}
.form-note { font-size: 0.85rem; color: var(--cloud); margin: 0; }
.form-success { display: none; padding: 1.4rem; text-align: center; }
.form-success.show { display: block; }

/* ---------- reply badge ---------- */

.reply-badge {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cloud);
  border-radius: 999px;
  padding: 0.65em 1.2em;
  margin: 1.2rem 0 0;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 8px rgba(159, 211, 255, 0.9);
  animation: pulseDot 2.2s ease-in-out infinite;
  flex: none;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(159, 211, 255, 0.8); }
  50% { opacity: 0.55; box-shadow: 0 0 14px rgba(159, 211, 255, 1); }
}

/* ---------- WhatsApp click-to-chat ---------- */

.whatsapp-btn svg { width: 17px; height: 17px; }
.whatsapp-fab {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 105;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--glow);
  border-color: rgba(159, 211, 255, 0.35);
  box-shadow: 0 6px 24px rgba(5, 6, 10, 0.6), 0 0 18px rgba(159, 211, 255, 0.10);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, color 0.25s ease;
  overflow: visible;
}
.whatsapp-fab svg { width: 26px; height: 26px; }
.whatsapp-fab:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(5, 6, 10, 0.7), 0 0 26px rgba(159, 211, 255, 0.3);
}
.whatsapp-fab::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(159, 211, 255, 0.25);
  animation: pulseDot 2.6s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- FAQ accordion ---------- */

.faq-section { margin-top: clamp(3.4rem, 8vh, 5.4rem); }
.faq-list { display: grid; gap: 0.9rem; margin-top: 1.8rem; max-width: 860px; }
.faq-item { border-radius: 16px; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; cursor: pointer;
  color: var(--white);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  text-align: left;
  padding: 1.15rem 1.4rem;
}
.faq-q:hover { color: var(--glow); }
.faq-ico {
  width: 16px; height: 16px; flex: none;
  color: var(--glow);
  transition: transform 0.35s var(--ease-out), filter 0.3s ease;
}
.faq-item.open .faq-ico {
  transform: rotate(90deg);
  filter: drop-shadow(0 0 6px rgba(159, 211, 255, 0.9));
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { margin: 0; padding: 0 1.4rem 1.25rem; color: var(--cloud); max-width: 60em; }
.no-js .faq-a { grid-template-rows: 1fr; }

/* ---------- form send: strike overlays ---------- */

.panel-flash {
  z-index: 235; pointer-events: none;
  background: var(--white);
  border-radius: 18px;
  opacity: 0;
  box-shadow: 0 0 60px 20px rgba(244, 248, 255, 0.5);
}
.form-shard {
  position: fixed; z-index: 236; pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(59, 68, 87, 0.6), rgba(23, 27, 38, 0.97) 70%),
    var(--indigo);
  border: 1px solid rgba(159, 211, 255, 0.18);
  will-change: transform, opacity;
}
.form-shard.top {
  border-radius: 18px 18px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 86% 94%, 72% 78%, 58% 96%, 44% 80%, 30% 95%, 16% 82%, 6% 92%, 0 82%);
}
.form-shard.bottom {
  border-radius: 0 0 18px 18px;
  clip-path: polygon(0 18%, 6% 8%, 16% 18%, 30% 5%, 44% 20%, 58% 4%, 72% 22%, 86% 6%, 100% 18%, 100% 100%, 0 100%);
}

/* ---------- footer ---------- */

.site-footer {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(107, 122, 147, 0.16);
  padding: 3.2rem 0 2rem;
  margin-top: clamp(3rem, 8vh, 5rem);
  background: linear-gradient(rgba(5, 6, 10, 0.2), rgba(5, 6, 10, 0.75));
}
.footer-grid {
  display: grid; gap: 2.4rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr; } }
.f-brand .f-mark { width: min(190px, 60%); height: auto; filter: drop-shadow(0 4px 18px rgba(5, 6, 10, 0.8)); }
.f-tagline { font-weight: 800; font-size: 1.02rem; margin: 1rem 0 0.5rem; color: var(--white); }
.f-blurb { color: var(--cloud); font-size: 0.92rem; margin: 0; max-width: 30em; }
.f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.f-links a { color: var(--cloud); font-size: 0.94rem; }
.f-links a:hover { color: var(--glow); }
.f-badge { margin-top: 1.2rem; font-size: 0.66rem; padding: 0.55em 1em; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.f-social { margin-top: 1.1rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--cloud);
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s var(--ease-out);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { color: var(--glow); border-color: var(--glow); box-shadow: 0 0 16px rgba(159, 211, 255, 0.18); transform: translateY(-2px); }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(107, 122, 147, 0.14);
  display: flex; flex-wrap: wrap; gap: 0.6rem 2.2rem; justify-content: space-between;
  color: var(--cloud); font-size: 0.82rem;
}
.f-made a { color: var(--cloud); text-decoration: underline; text-underline-offset: 3px; }
.f-made a:hover { color: var(--glow); }

/* ---------- social strip (Contact page) ---------- */

.social-strip {
  margin-top: clamp(2.4rem, 6vh, 3.6rem);
  padding: clamp(1.4rem, 3.5vw, 2rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem 2rem;
}
.social-pill {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cloud);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.65em 1.15em;
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s var(--ease-out);
}
.social-pill svg { width: 16px; height: 16px; }
.social-pill:hover { color: var(--glow); border-color: var(--glow); box-shadow: 0 0 16px rgba(159, 211, 255, 0.16); transform: translateY(-2px); }
/* links not filled in yet — still styled, just visibly dormant */
.social-soon { opacity: 0.65; cursor: default; }
.social-soon:hover { transform: none; box-shadow: none; }

/* ---------- custom cursor ---------- */

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 250;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--white);
  box-shadow: 0 0 10px rgba(159, 211, 255, 0.9);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(159, 211, 255, 0.5);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { display: block; }
body.cursor-on.cursor-hover .cursor-ring { width: 52px; height: 52px; border-color: rgba(159, 211, 255, 0.9); }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* click spark */
.spark {
  position: fixed; z-index: 240; pointer-events: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 24px 8px rgba(244, 248, 255, 0.9);
  transform: translate(-50%, -50%);
  animation: sparkPop 0.35s ease-out forwards;
}
@keyframes sparkPop {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.4); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.4); }
}

/* ---------- SPA pages ---------- */

.page { display: none; }
.page.active { display: block; }

/* reveal-on-scroll initial state is applied by JS (so no-JS users see everything) */

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-mark { animation: none; }
  .hero-scroll-hint::after { animation: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ---------- no-JS fallback: show everything, hide chrome that needs JS ---------- */

.no-js .page { display: block; }
.no-js .loader, .no-js .transition-layer, .no-js .cursor-dot, .no-js .cursor-ring { display: none; }
