/* ==========================================================================
   BIN NINJA — "Modern Dojo"
   Vanilla CSS. No frameworks. Palette sampled from the Bin Ninja logo.
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Core — sampled from the logo */
  --ninja-black: #0B0B0D;
  --ninja-ink: #141418;
  --ninja-ink-2: #1B1B21;
  --ninja-red: #D71318;
  --ninja-red-deep: #8E0C10;
  --splash-blue: #2BA1C1;
  --fresh-green: #8FC74A;
  --bone: #F7F7F5;
  --ash: #9A9AA2;
  --ash-dim: #6E6E77;

  --glass: rgba(255, 255, 255, .055);
  --glass-2: rgba(255, 255, 255, .085);
  --glass-brd: rgba(255, 255, 255, .14);
  --glass-brd-soft: rgba(255, 255, 255, .08);

  /* Type */
  --font-display: "Aleo", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: 180ms;
  --t-base: 280ms;
  --t-slow: 700ms;

  /* Depth — tight contact + ambient + colored bloom */
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 12px rgba(0, 0, 0, .35);
  --sh-2: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .55);
  --sh-red: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .55), 0 0 60px -20px rgba(215, 19, 24, .55);
  --sh-blue: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .5), 0 0 60px -22px rgba(43, 161, 193, .6);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --topbar-h: 38px;
  --topbar-h-shrunk: 28px;
  --header-h: 96px;
  --header-h-shrunk: 64px;
  /* Height the fixed bar occupies at rest; JS refines it after layout */
  --top-offset: calc(var(--topbar-h) + var(--header-h));

  /* Z-index scale */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 20;
  --z-overlay: 40;
  --z-header: 45;
  --z-modal: 50;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h-shrunk) + var(--header-h-shrunk) + 16px);
}

body {
  margin: 0;
  padding-top: var(--top-offset);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ash);
  background-color: var(--ninja-black);
  background-image:
    radial-gradient(900px 620px at 78% -8%, rgba(215, 19, 24, .13), transparent 62%),
    radial-gradient(760px 520px at 8% 4%, rgba(43, 161, 193, .10), transparent 60%);
  background-attachment: scroll;
  background-repeat: no-repeat;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fine grain so the black is never flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

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

/* Inline icons carry no intrinsic size, so give every SVG a sane default.
   Component rules (.btn svg, .card-icon svg, .steps-line ...) override it. */
svg {
  display: inline-block;
  vertical-align: -.18em;
  width: 20px;
  height: 20px;
  flex: none;
  max-width: 100%;
}

a { color: var(--splash-blue); text-decoration: none; transition: color var(--t-fast) ease; }
a:hover { color: var(--bone); }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--bone);
  margin: 0 0 .6em;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
}

p { margin: 0 0 1.15em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--ninja-red); color: #fff; }

:focus-visible {
  outline: 3px solid var(--splash-blue);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: var(--z-modal);
  background: var(--ninja-red);
  color: #fff;
  padding: .85rem 1.4rem;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- 3. LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: var(--z-base);
}
.container--narrow { max-width: 900px; }

.section {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7.5rem);
  z-index: var(--z-base);
}
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--ink { background: linear-gradient(180deg, transparent, rgba(20, 20, 24, .85) 12%, rgba(20, 20, 24, .85) 88%, transparent); }

/* Angled slash edge between sections */
.section--slash-top::before,
.section--slash-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ninja-red) 22%, var(--ninja-red) 78%, transparent);
  transform: rotate(-1.15deg);
  opacity: .55;
}
.section--slash-top::before { top: 0; }
.section--slash-bottom::after { bottom: 0; }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--splash-blue);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--ninja-red);
  transform: skewX(-28deg);
  flex: none;
}

.h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); }
.h2 { font-size: clamp(1.95rem, 4vw, 3.2rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.lede { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--ash); }

/* The one red word in a headline */
.hl {
  position: relative;
  color: var(--bone);
  display: inline-block;
  z-index: 1;
}
.hl::after {
  content: "";
  position: absolute;
  left: -.08em; right: -.08em;
  bottom: .06em;
  height: .34em;
  background: linear-gradient(90deg, var(--ninja-red), var(--ninja-red-deep));
  transform: skewX(-14deg) scaleX(var(--hl-scale, 1));
  transform-origin: left center;
  z-index: -1;
  opacity: .92;
  border-radius: 2px;
}

.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
/* Explicit column counts so a trailing card never sits alone in its own row */
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  --btn-bg: var(--ninja-red);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .85rem 1.6rem;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--sh-red);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), color var(--t-fast) ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--ninja-red-deep), var(--ninja-red));
  transform: translateX(-101%) skewX(-14deg) scaleX(1.4);
  transition: transform 420ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateX(0) skewX(-14deg) scaleX(1.4); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ghost {
  --btn-bg: var(--glass);
  --btn-fg: var(--bone);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--sh-1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn--ghost::before { background: linear-gradient(100deg, rgba(43, 161, 193, .34), rgba(43, 161, 193, .16)); }
.btn--ghost:hover { box-shadow: var(--sh-blue); border-color: rgba(43, 161, 193, .5); color: #fff; }

.btn--green { --btn-bg: #23A455; box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 30px rgba(0,0,0,.5), 0 0 46px -20px rgba(35,164,85,.75); }
.btn--green::before { background: linear-gradient(100deg, #17803F, #23A455); }

.btn--sm { min-height: 44px; padding: .6rem 1.15rem; font-size: .875rem; }
.btn--block { width: 100%; }

/* Ripple injected by JS */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, .38);
  animation: ripple 620ms var(--ease-out) forwards;
  pointer-events: none;
  z-index: 2;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--bone);
  min-height: 44px;
}
.arrow-link svg { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease-out); }
.arrow-link:hover { color: var(--splash-blue); }
.arrow-link:hover svg { transform: translateX(6px); }

/* ---------- 5. GLASS CARD ---------- */
.card {
  position: relative;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-brd-soft);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--sh-2);
  overflow: hidden;
  isolation: isolate;
  /* 45 degree cut on the top-right corner */
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base) ease;
}
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 140%; height: 3px;
  background: linear-gradient(90deg, var(--ninja-red), transparent);
  transform: translateX(-101%);
  transition: transform 520ms var(--ease-out);
}
.card:hover, .card:focus-within {
  transform: translateY(-6px);
  border-color: var(--glass-brd);
  box-shadow: var(--sh-red);
}
.card:hover::after, .card:focus-within::after { transform: translateX(0); }

/* Whole-card links must not pass the anchor colour down to body copy */
.card--link, .card--link:hover { color: var(--ash); cursor: pointer; }
.card--link h3 { color: var(--bone); }
.card--flat:hover { transform: none; }

.card-icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: var(--r-md);
  margin-bottom: 1.1rem;
  color: var(--ninja-red);
  background: rgba(215, 19, 24, .12);
  border: 1px solid rgba(215, 19, 24, .28);
  transition: transform var(--t-base) var(--ease-spring), color var(--t-base) ease;
}
.card-icon svg { width: 28px; height: 28px; stroke-width: 1.75; }
.card:hover .card-icon { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.card-icon--blue { color: var(--splash-blue); background: rgba(43, 161, 193, .12); border-color: rgba(43, 161, 193, .3); }
.card-icon--green { color: var(--fresh-green); background: rgba(143, 199, 74, .12); border-color: rgba(143, 199, 74, .3); }

.card h3 { margin-bottom: .5rem; }
.card p { font-size: .95rem; color: var(--ash); }

/* Tilt wrapper (JS driven) */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt > * { transform: translateZ(24px); }

/* ---------- 6. TOP BAR + HEADER ---------- */
.site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(11, 11, 13, .82);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  transition: background var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.site-top.is-shrunk {
  background: rgba(11, 11, 13, .9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px -22px rgba(0, 0, 0, .9);
}

.topbar {
  background: rgba(20, 20, 24, .92);
  border-bottom: 1px solid var(--glass-brd-soft);
  font-size: .8rem;
  overflow: hidden;
  transition: font-size var(--t-base) var(--ease-out), background var(--t-base) ease, border-color var(--t-base) ease;
}
/* Shrinks with the header rather than vanishing, so contact details
   and the social links stay reachable at every scroll position. */
.site-top.is-shrunk .topbar { font-size: .74rem; background: rgba(20, 20, 24, .78); }

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--topbar-h);
  padding-block: .25rem;
  transition: min-height var(--t-base) var(--ease-out);
}
.site-top.is-shrunk .topbar .container { min-height: var(--topbar-h-shrunk); }
.topbar-info { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar-info a, .topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ash);
  font-weight: 500;
}
.topbar-info a:hover { color: var(--bone); }
.topbar-info svg { width: 15px; height: 15px; color: var(--ninja-red); flex: none; }
.topbar-info .topbar-area { color: var(--ash-dim); }

.social {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.social a {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  transition: width var(--t-base) var(--ease-out), height var(--t-base) var(--ease-out);
  border-radius: var(--r-xs);
  color: var(--ash);
  border: 1px solid transparent;
  transition: color var(--t-fast) ease, background var(--t-fast) ease, border-color var(--t-fast) ease, box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-spring);
}
.social a svg { width: 17px; height: 17px; }
.site-top.is-shrunk .topbar .social a { width: 28px; height: 28px; }
.site-top.is-shrunk .topbar .social a svg { width: 15px; height: 15px; }
.social a:hover {
  color: #fff;
  background: rgba(215, 19, 24, .16);
  border-color: rgba(215, 19, 24, .4);
  box-shadow: 0 0 26px -8px rgba(215, 19, 24, .8);
  transform: translateY(-2px) rotateY(18deg);
}

.header { position: relative; }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: var(--header-h);
  transition: height var(--t-base) var(--ease-out);
}
.site-top.is-shrunk .header .container { height: var(--header-h-shrunk); }

/* Logo: image only. No text is permitted in this slot. */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  transform-origin: left center;
  transition: transform var(--t-base) var(--ease-out);
}
.brand img { width: auto; height: 62px; transition: height var(--t-base) var(--ease-out); }
.site-top.is-shrunk .brand img { height: 46px; }
.footer-brand img { height: 74px; width: auto; }
.modal-brand { display: block; margin-bottom: 1.1rem; }
.modal-brand img { height: 66px; width: auto; margin-inline: auto; }

/* Scroll progress hairline */
.scroll-progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--ninja-red), var(--splash-blue));
  z-index: var(--z-raised);
}

/* ---------- 7. NAVIGATION ---------- */
.nav { display: flex; align-items: center; gap: clamp(.4rem, 1.4vw, 1.1rem); }
.nav-list { display: flex; align-items: center; gap: clamp(.15rem, .8vw, .6rem); }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding: .45rem .7rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ash);
  border-radius: var(--r-xs);
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: .7rem; right: .7rem;
  bottom: .35rem;
  height: 2px;
  background: var(--ninja-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-base) var(--ease-out);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--bone); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--bone); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); background: var(--splash-blue); }
.nav-link svg { width: 13px; height: 13px; transition: transform var(--t-fast) ease; }

.has-drop { position: relative; }
.has-drop:hover > .nav-link svg, .has-drop:focus-within > .nav-link svg { transform: rotate(180deg); }
.drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 244px;
  padding: .5rem;
  border-radius: var(--r-md);
  background: rgba(20, 20, 24, .96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), visibility var(--t-base);
  z-index: var(--z-overlay);
}
.has-drop:hover > .drop, .has-drop:focus-within > .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a {
  display: block;
  padding: .7rem .85rem;
  min-height: 44px;
  border-radius: var(--r-xs);
  color: var(--ash);
  font-size: .9rem;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, padding-left var(--t-fast) ease;
}
.drop a:hover { background: rgba(215, 19, 24, .16); color: var(--bone); padding-left: 1.1rem; }

.nav-cta { margin-left: .35rem; }

.burger {
  display: none;
  width: 48px; height: 48px;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  color: var(--bone);
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast) ease;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  padding: calc(var(--top-offset) + 1.5rem) var(--gutter) 2rem;
  background: rgba(11, 11, 13, .93);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease-out), visibility var(--t-base);
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem .25rem;
  min-height: 52px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--bone);
  border-bottom: 1px solid var(--glass-brd-soft);
  opacity: 0;
  transform: translateY(16px);
}
.mobile-nav.is-open a { animation: mobileIn 460ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 40ms); }
.mobile-nav a:hover, .mobile-nav a:focus-visible { color: var(--ninja-red); }
.mobile-nav .sub { font-family: var(--font-body); font-size: 1rem; padding-left: 1.25rem; color: var(--ash); }
.mobile-nav-foot { margin-top: 1.75rem; display: grid; gap: .75rem; }
@keyframes mobileIn { to { opacity: 1; transform: translateY(0); } }

body.nav-open { overflow: hidden; }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  min-height: clamp(600px, 92vh, 1000px);
  display: flex;
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero-layer { position: absolute; inset: -8% 0 -8%; z-index: -3; will-change: transform; }
.hero-layer img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: blur(2px) saturate(1.05); transform: scale(1.03); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(100deg, rgba(11, 11, 13, .985) 0%, rgba(11, 11, 13, .94) 34%, rgba(11, 11, 13, .74) 62%, rgba(11, 11, 13, .5) 100%),
    linear-gradient(0deg, var(--ninja-black), transparent 48%);
}
.hero-mist {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%; height: 100%;
  opacity: .55;
  will-change: transform;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero .lede { max-width: 54ch; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-note { margin-top: 1.5rem; font-size: .87rem; color: var(--ash-dim); display: flex; align-items: center; gap: .5rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--fresh-green); flex: none; }

.hero-badge {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--r-lg);
  background: var(--glass-2);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--sh-red);
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}
.hero-badge .slogan {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--bone);
  font-size: 1.05rem;
  margin: 1rem 0 0;
}
.hero-badge .sdd {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--glass-brd-soft);
  display: flex;
  justify-content: center;
  gap: .55rem;
  flex-wrap: wrap;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--splash-blue);
  font-weight: 600;
}

.stat-chips { display: grid; gap: .7rem; margin-top: 1.35rem; }
.chip {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem 1rem;
  border-radius: var(--r-md);
  background: rgba(11, 11, 13, .55);
  border: 1px solid var(--glass-brd-soft);
  text-align: left;
  animation: float 7s var(--ease-out) infinite;
}
.chip:nth-child(2) { animation-duration: 8.5s; animation-delay: -2s; }
.chip:nth-child(3) { animation-duration: 9.5s; animation-delay: -4s; }
.chip b { font-family: var(--font-display); font-size: 1.3rem; color: var(--bone); display: block; line-height: 1.1; }
.chip > span > span { font-size: .78rem; color: var(--ash); }
.chip b span { font-size: inherit; color: inherit; font-weight: inherit; }
.chip svg { width: 22px; height: 22px; color: var(--fresh-green); flex: none; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  border-bottom: 1px solid var(--glass-brd-soft);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -40%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(215, 19, 24, .16));
  transform: skewX(-14deg);
  pointer-events: none;
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { max-width: 62ch; }

.breadcrumb { font-size: .82rem; margin-bottom: 1.1rem; color: var(--ash-dim); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .45rem; }
.breadcrumb li::after { content: "/"; margin-left: .45rem; color: var(--ash-dim); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--ash); }
.breadcrumb a:hover { color: var(--splash-blue); }

/* ---------- 9. TRUST MARQUEE ---------- */
.marquee {
  position: relative;
  padding-block: 1.1rem;
  border-block: 1px solid var(--glass-brd-soft);
  background: rgba(20, 20, 24, .6);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 3rem; padding-right: 3rem; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ash);
  white-space: nowrap;
}
.marquee-item svg { width: 18px; height: 18px; color: var(--ninja-red); flex: none; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- 10. BEFORE / AFTER ---------- */
.compare {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--glass-brd);
  box-shadow: var(--sh-2);
  aspect-ratio: 16 / 10;
  cursor: ew-resize;
  touch-action: pan-y;
  background: var(--ninja-ink);
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: var(--ninja-red);
  transform: translateX(-50%);
  box-shadow: 0 0 22px rgba(215, 19, 24, .85);
}
.compare-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ninja-red);
  color: #fff;
  box-shadow: var(--sh-red);
}
.compare-knob svg { width: 24px; height: 24px; }
.compare-label {
  position: absolute;
  bottom: 1rem;
  padding: .4rem .8rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  background: rgba(11, 11, 13, .78);
  border: 1px solid var(--glass-brd);
  color: var(--bone);
}
.compare-label--before { left: 1rem; }
.compare-label--after { right: 1rem; color: var(--fresh-green); border-color: rgba(143, 199, 74, .4); }
.compare:focus-visible { outline: 3px solid var(--splash-blue); outline-offset: 4px; }

/* ---------- 11. STEPS TIMELINE ---------- */
.steps { position: relative; display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding-top: 3.25rem; }
.step-num {
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--ninja-red), var(--ninja-red-deep));
  box-shadow: var(--sh-red);
}
.step h3 { font-size: 1.15rem; }
.step p { font-size: .93rem; }
.steps-line { position: absolute; top: 23px; left: 0; width: 100%; height: 2px; pointer-events: none; }
.steps-line path { stroke: var(--ninja-red); stroke-width: 2; fill: none; opacity: .45; stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.steps-line.is-drawn path { transition: stroke-dashoffset 1.6s var(--ease-out); stroke-dashoffset: 0; }

/* ---------- 12. PRICING ---------- */
.plans { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; text-align: center; }
.plan-name { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--splash-blue); }
.plan-price { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--bone); line-height: 1; margin: .6rem 0 .2rem; }
.plan-price sup { font-size: .42em; vertical-align: super; margin-right: .1em; color: var(--ash); }
.plan-cycle { font-size: .85rem; color: var(--ash-dim); margin-bottom: 1.25rem; }
.plan-feats { display: grid; gap: .7rem; margin: 0 0 1.6rem; text-align: left; }
.plan-feats li { display: flex; gap: .65rem; font-size: .92rem; }
.plan-feats svg { width: 18px; height: 18px; color: var(--fresh-green); flex: none; margin-top: .22rem; }
.plan .btn { margin-top: auto; }
.plan--featured { border-color: rgba(215, 19, 24, .5); box-shadow: var(--sh-red); }
.plan-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: .3rem .7rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ninja-red);
  border-radius: var(--r-pill);
}
.plan-note { margin-top: 1.75rem; text-align: center; font-size: .88rem; color: var(--ash-dim); }

/* ---------- 13. REVIEWS ---------- */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.rating-box { display: flex; align-items: center; gap: 1rem; }
.rating-score { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--bone); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 17px; height: 17px; color: #F5A623; }
.rating-meta { font-size: .85rem; color: var(--ash-dim); }

.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.tab {
  min-height: 44px;
  padding: .6rem 1.15rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-brd-soft);
  background: var(--glass);
  color: var(--ash);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--t-fast) ease, background var(--t-fast) ease, border-color var(--t-fast) ease, box-shadow var(--t-base) ease;
}
.tab:hover { color: var(--bone); border-color: var(--glass-brd); }
.tab[aria-selected="true"] {
  color: #fff;
  background: var(--ninja-red);
  border-color: var(--ninja-red);
  box-shadow: 0 0 30px -10px rgba(215, 19, 24, .9);
}
.tab .count { opacity: .7; font-weight: 500; margin-left: .35rem; }

.review-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(288px, 1fr);
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--ninja-red) transparent;
}
.review-rail::-webkit-scrollbar { height: 6px; }
.review-rail::-webkit-scrollbar-thumb { background: var(--ninja-red); border-radius: var(--r-pill); }
.review-rail::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); border-radius: var(--r-pill); }
.review-rail > * { scroll-snap-align: start; }

.review-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.review {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.5rem;
  min-height: 100%;
  animation: reviewIn 460ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes reviewIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.review-top { display: flex; align-items: center; gap: .8rem; }
.review-avatar {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  flex: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(140deg, var(--ninja-red), var(--ninja-red-deep));
}
.review-who { min-width: 0; display: flex; flex-direction: column; }
.review-name { display: block; color: var(--bone); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.review-date { display: block; font-size: .78rem; color: var(--ash-dim); line-height: 1.3; }
.review-g { margin-left: auto; flex: none; width: 20px; height: 20px; }
.review-text { font-size: .93rem; margin: 0; }
.review-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.review-more {
  align-self: flex-start;
  font-size: .84rem;
  font-weight: 600;
  color: var(--splash-blue);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.review-more:hover { color: var(--bone); }
.review-cat {
  align-self: flex-start;
  margin-top: auto;
  padding: .25rem .6rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  color: var(--splash-blue);
  background: rgba(43, 161, 193, .12);
  border: 1px solid rgba(43, 161, 193, .28);
}

.rail-controls { display: flex; gap: .5rem; }
.rail-btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  color: var(--bone);
  transition: background var(--t-fast) ease, transform var(--t-base) var(--ease-out), border-color var(--t-fast) ease;
}
.rail-btn:hover { background: rgba(215, 19, 24, .2); border-color: rgba(215, 19, 24, .5); transform: translateY(-2px); }
.rail-btn svg { width: 20px; height: 20px; }

/* ---------- 14. AREAS ---------- */
.area-cloud { display: flex; flex-wrap: wrap; gap: .6rem; }
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .55rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-brd-soft);
  background: var(--glass);
  color: var(--ash);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease, background var(--t-fast) ease, transform var(--t-base) var(--ease-out);
}
.area-chip svg { width: 15px; height: 15px; color: var(--ninja-red); flex: none; }
.area-chip:hover { color: var(--bone); background: rgba(215, 19, 24, .14); border-color: rgba(215, 19, 24, .4); transform: translateY(-2px); }
.area-chip .zip { color: var(--ash-dim); font-size: .8rem; }

.area-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.area-table th, .area-table td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--glass-brd-soft); }
.area-table th { color: var(--bone); font-family: var(--font-display); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.area-table tbody tr { transition: background var(--t-fast) ease; }
.area-table tbody tr:hover { background: rgba(255, 255, 255, .035); }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--glass-brd-soft); }

/* ---------- 15. FORM ---------- */
.form-band { position: relative; }
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 56px;
  padding: 1.5rem .95rem .55rem;
  border-radius: var(--r-sm);
  background: rgba(11, 11, 13, .55);
  border: 1px solid var(--glass-brd-soft);
  color: var(--bone);
  font-size: 1rem;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-base) ease, background var(--t-fast) ease;
  appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239A9AA2' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field label {
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  font-size: 1rem;
  color: var(--ash);
  pointer-events: none;
  transform-origin: left top;
  transition: transform var(--t-fast) var(--ease-out), color var(--t-fast) ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--splash-blue);
  background: rgba(11, 11, 13, .78);
  box-shadow: 0 0 0 4px rgba(43, 161, 193, .18);
}
.field textarea + label { top: 1.05rem; }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select.has-value + label { transform: translateY(-.68rem) scale(.74); color: var(--splash-blue); }

.field .req { color: var(--ninja-red); }
.field-error {
  display: block;
  min-height: 1.15rem;
  margin-top: .3rem;
  font-size: .8rem;
  color: #FF6B6F;
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea {
  border-color: #FF6B6F;
  box-shadow: 0 0 0 4px rgba(255, 107, 111, .14);
  animation: shake 380ms var(--ease-out);
}
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: rgba(143, 199, 74, .55); }
.field.is-valid::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1.35rem;
  width: 18px; height: 18px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238FC74A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-status { font-size: .9rem; }
.form-status[data-state="error"] { color: #FF6B6F; }
.form-status[data-state="ok"] { color: var(--fresh-green); }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }

.form-success {
  display: none;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
}
.form-success.is-shown { display: block; animation: slashReveal 620ms var(--ease-out) both; }
@keyframes slashReveal {
  from { opacity: 0; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  to { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
.form-success svg { width: 62px; height: 62px; color: var(--fresh-green); margin: 0 auto 1rem; }

/* ---------- 16. ACCORDION ---------- */
.acc { border-top: 1px solid var(--glass-brd-soft); }
.acc-item { border-bottom: 1px solid var(--glass-brd-soft); }
.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.3rem .25rem;
  min-height: 56px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--bone);
  cursor: pointer;
  transition: color var(--t-fast) ease;
}
.acc-btn:hover { color: var(--ninja-red); }
.acc-btn svg { width: 22px; height: 22px; flex: none; color: var(--ninja-red); transition: transform var(--t-base) var(--ease-out); }
.acc-btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.acc-panel { height: 0; overflow: hidden; transition: height var(--t-base) var(--ease-out); }
.acc-panel > div { padding: 0 .25rem 1.4rem; }
.acc-panel p { font-size: .95rem; }

/* ---------- 17. CTA BAND ---------- */
.cta-band {
  position: relative;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(215, 19, 24, .2), rgba(20, 20, 24, .9) 58%);
  border: 1px solid rgba(215, 19, 24, .32);
  box-shadow: var(--sh-red);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -10%; top: -60%;
  width: 45%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .05));
  transform: skewX(-16deg);
}
.cta-band h2 { margin-bottom: .6rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }

/* ---------- 18. FOOTER ---------- */
.footer {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, rgba(20, 20, 24, .7), rgba(11, 11, 13, 1));
  border-top: 1px solid var(--glass-brd-soft);
}
.footer-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: minmax(230px, 1.25fr) repeat(auto-fit, minmax(160px, 1fr));
}
.footer h3 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 1.1rem;
}
.footer-links li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--ash);
  font-size: .92rem;
}
.footer-links li a:hover { color: var(--ninja-red); }
.footer-slogan { font-family: var(--font-display); font-style: italic; color: var(--ash); margin: 1rem 0 1.25rem; font-size: .98rem; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .85rem; font-size: .92rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--ninja-red); flex: none; margin-top: .3rem; }
.footer-contact a { color: var(--ash); }
.footer-contact a:hover { color: var(--bone); }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--glass-brd-soft);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: .84rem;
  color: var(--ash-dim);
}
.footer-bottom a { color: var(--ash); }
.footer-bottom a:hover { color: var(--ninja-red); }
.credit strong { color: var(--bone); font-weight: 600; }

/* ---------- 19. DEMO POPUP ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(5, 5, 6, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease-out), visibility var(--t-base);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(27, 27, 33, .98), rgba(11, 11, 13, .98));
  border: 1px solid var(--glass-brd);
  box-shadow: var(--sh-red);
  transform: scale(.92);
  opacity: 0;
  transition: transform 320ms var(--ease-spring), opacity 320ms ease;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}
.modal.is-open .modal-card { transform: scale(1); opacity: 1; }
.modal-slash {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, transparent, var(--ninja-red) 25%, var(--ninja-red) 75%, transparent);
  transform: rotate(-1.5deg);
}
.modal-close {
  position: absolute;
  top: .75rem; right: .75rem;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--ash);
  border: 1px solid transparent;
  transition: color var(--t-fast) ease, background var(--t-fast) ease, border-color var(--t-fast) ease;
}
.modal-close:hover { color: var(--bone); background: var(--glass); border-color: var(--glass-brd); }
.modal-close svg { width: 20px; height: 20px; }
.modal-card h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-top: 1.2rem; }
.modal-card p { margin-inline: auto; font-size: .96rem; }
.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding: .4rem .9rem;
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fresh-green);
  background: rgba(143, 199, 74, .12);
  border: 1px solid rgba(143, 199, 74, .3);
}
.modal-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fresh-green); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }
.modal-actions { display: grid; gap: .7rem; margin-top: 1.6rem; }
.modal-later { font-size: .88rem; color: var(--ash-dim); min-height: 44px; }
.modal-later:hover { color: var(--bone); }

/* ---------- 20. MOBILE STICKY ACTION BAR ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: none;
  gap: .6rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 11, 13, .86);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-top: 1px solid var(--glass-brd-soft);
  transform: translateY(110%);
  transition: transform 340ms var(--ease-out);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar .btn { flex: 1; }
.mobile-bar .btn svg { animation: nudge 4s ease-in-out infinite; }
@keyframes nudge { 0%, 88%, 100% { transform: scale(1); } 92% { transform: scale(1.18); } }

/* ---------- 21. SCROLL REVEAL ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .nav-list, .nav-cta { display: none; }
  .burger { display: grid; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badge { max-width: 460px; }
}

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-line { display: none; }
}

@media (max-width: 860px) {
  .topbar-info .topbar-area { display: none; }
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
}

@media (max-width: 768px) {
  body { padding-bottom: 76px; }
  .mobile-bar { display: flex; }
  .hero { min-height: auto; }
  .review-rail { grid-auto-columns: minmax(260px, 84%); }
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .rail-controls { display: none; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  :root { --header-h: 78px; --header-h-shrunk: 60px; --topbar-h: 34px; }
  .brand img { height: 50px; }
  .site-top.is-shrunk .brand img { height: 40px; }
  .topbar .container { justify-content: center; }
  .topbar-info { gap: .9rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .card { clip-path: none; border-radius: var(--r-md); }
}

/* ---------- 23. MOTION PREFERENCES ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-layer, .hero-mist { transform: none !important; }
  .marquee-track { animation: none; }
  .chip { animation: none; }
  .review { animation: none; opacity: 1; }
}

/* ---------- 24. PRINT ---------- */
@media print {
  .site-top, .mobile-bar, .modal, .marquee, .hero-mist { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3 { color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ==========================================================================
   25. WORK GALLERY + LIGHTBOX  (real job photos from the Google profile)
   ========================================================================== */
.gallery {
  display: grid;
  gap: clamp(.6rem, 1.4vw, 1rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-brd-soft);
  background: var(--ninja-ink);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base) ease;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 620ms var(--ease-out);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 11, 13, .8));
  opacity: 0;
  transition: opacity var(--t-base) ease;
}
.gallery-item:hover, .gallery-item:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(215, 19, 24, .45);
  box-shadow: var(--sh-red);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.07); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }

.gallery-cap {
  position: absolute;
  left: .85rem; right: .85rem; bottom: .7rem;
  z-index: 1;
  font-size: .8rem;
  font-weight: 600;
  color: var(--bone);
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-base) ease, transform var(--t-base) var(--ease-out);
}
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 5, 6, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease-out), visibility var(--t-base);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 82vh;
  width: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--sh-2);
}
.lightbox-cap {
  margin-top: 1rem;
  text-align: center;
  font-size: .9rem;
  color: var(--ash);
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  color: var(--bone);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background var(--t-fast) ease, transform var(--t-fast) ease;
}
.lightbox-btn:hover { background: rgba(215, 19, 24, .35); }
.lightbox-prev { left: clamp(.5rem, 2vw, 2rem); }
.lightbox-next { right: clamp(.5rem, 2vw, 2rem); }
.lightbox-close { top: clamp(.75rem, 2vw, 1.5rem); right: clamp(.75rem, 2vw, 1.5rem); transform: none; }
.lightbox-btn svg { width: 24px; height: 24px; }

/* Portrait before/after pairs */
.compare--portrait {
  aspect-ratio: 3 / 4;
  max-width: 540px;
  margin-inline: auto;
  cursor: ew-resize;
}
.compare-hint {
  margin-top: .9rem;
  text-align: center;
  font-size: .84rem;
  color: var(--ash-dim);
}

.figure-cap {
  margin-top: .8rem;
  font-size: .85rem;
  color: var(--ash-dim);
}

@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .gallery, .gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px)  { .gallery, .gallery--3 { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .gallery-item img { transition: none; }
  .gallery-cap { opacity: 1; transform: none; }
}
