/* =====================================================================
   WireWolf homepage redesign (v3)
   Elegant, modern, all-dark. No section tints, no bordered boxes.
   Structure comes from typography, whitespace, and thin hairlines.
   Scoped under body.ww-v2; loaded after css/styles.css.
   ===================================================================== */

body.ww-v2 {
  --bg: #05080b;
  --text: #f6f9fa;
  --muted: rgba(233, 242, 246, 0.62);
  --muted-2: rgba(233, 242, 246, 0.4);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --lime: #aaff00;
  --container: 1120px;
  --container-wide: 1240px;
  --gutter: clamp(22px, 6vw, 48px);
  --section-y: clamp(72px, 9vw, 132px);
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  background: var(--bg);
  color: var(--text);
}

/* Strip the legacy decorative layers for a clean, flat dark canvas. */
.ww-v2::before,
.ww-v2::after,
.ww-v2 main::before,
.ww-v2 main::after,
.ww-v2 .next-sky-stage {
  display: none !important;
}

.ww-v2 main {
  background: var(--bg);
}

/* The legacy skip-link kept a lime drop-shadow that leaked a green glow into
   the top-left corner over the video. Drop the glow; the link still appears
   (without the glow) on keyboard focus. */
.ww-v2 .skip-link {
  box-shadow: none;
}

/* ---------- layout --------------------------------------------------- */
.ww-v2 .ww-container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.ww-v2 .ww-container.is-wide {
  width: min(var(--container-wide), 100% - (var(--gutter) * 2));
}

.ww-v2 .ww-section {
  position: relative;
  z-index: 1;
  padding-block: var(--section-y);
  background: var(--bg);
}

/* ww-tint is intentionally neutralized: the whole page is one dark field. */
.ww-v2 .ww-section.ww-tint {
  background: var(--bg);
  border: 0;
}

/* ---------- type ----------------------------------------------------- */
.ww-v2 .ww-eyebrow {
  display: inline-block;
  margin: 0 0 26px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.ww-v2 h2.ww-h2 {
  margin: 0;
  max-width: 18ch;
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.ww-v2 .ww-h2 span {
  color: var(--lime);
}

.ww-v2 .ww-lede {
  margin: 26px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.3vw, 1.24rem);
  line-height: 1.62;
  font-weight: 300;
}

.ww-v2 .ww-section-head {
  max-width: 760px;
}

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

.ww-v2 .ww-section-head.is-center .ww-h2 {
  margin-inline: auto;
}

.ww-v2 .ww-section-head.is-center .ww-lede {
  margin-inline: auto;
}

/* ---------- buttons -------------------------------------------------- */
.ww-v2 .button,
.ww-v2 .button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.ww-v2 .button {
  color: #0a1f05;
  background: var(--lime);
  box-shadow: none;
}

.ww-v2 .button:hover {
  transform: translateY(-1px);
  background: #c2ff4a;
}

.ww-v2 .button-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.ww-v2 .button-ghost:hover {
  border-color: rgba(170, 255, 0, 0.6);
  color: var(--lime);
}

/* ---------- nav ------------------------------------------------------ */
.ww-v2 .site-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, border-color 300ms ease;
}

/* Remove the base dark gradient scrim so the top is truly transparent and
   the video fills the screen behind the nav. */
.ww-v2 .site-nav-wrap::before {
  display: none;
}

/* Full-width dark bar once the page is scrolled (class set by inline script). */
.ww-v2 .site-nav-wrap.is-scrolled {
  background: rgba(5, 8, 11, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line-soft);
}

.ww-v2 .nav-shell {
  width: min(var(--container-wide), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.ww-v2 .site-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 92px;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: auto;
}

.ww-v2 .brand {
  display: flex;
  align-items: center;
  height: 100%;
}

.ww-v2 .brand-logo-full {
  height: 50px;
  width: auto;
}

.ww-v2 .brand-logo-mark {
  height: 46px;
  width: auto;
}

.ww-v2 .nav-links {
  display: flex;
  gap: 34px;
  margin-left: auto;
  margin-right: 10px;
}

.ww-v2 .nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 160ms ease;
}

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

/* Remove the theme's base underline/indicator on nav links; this design uses
   a color change on hover instead. */
.ww-v2 .nav-links a::after {
  display: none;
}

.ww-v2 .nav-actions {
  display: flex;
  align-items: center;
}

.ww-v2 .nav-actions .button {
  height: 46px;
  padding: 0 24px;
  font-size: 0.94rem;
}

.ww-v2 .nav-toggle {
  display: none;
}

/* In-menu CTA: hidden on desktop, shown inside the mobile dropdown. The
   selector is specific enough to beat the base `.wirewolf-next .nav-links a`. */
.ww-v2 .nav-links a.nav-menu-cta {
  display: none;
}

/* ---------- HERO ----------------------------------------------------- */
.ww-v2 .ww-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.ww-v2 .ww-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
}

.ww-v2 .ww-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ww-video-in 1200ms ease both;
}

@keyframes ww-video-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Static half-face still used in place of the video on phones. The image is
   attached as a background only inside the mobile media query, so desktop
   never downloads it. */
.ww-v2 .ww-hero-still {
  display: none;
  position: absolute;
  inset: 0;
}

.ww-v2 .ww-hero-fallback {
  display: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Readability scrim: dark on the left and bottom where the copy sits. */
.ww-v2 .ww-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.94) 0%, rgba(5, 8, 11, 0.6) 40%, rgba(5, 8, 11, 0.08) 78%, rgba(5, 8, 11, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 8, 11, 0.55) 0%, rgba(5, 8, 11, 0) 30%, rgba(5, 8, 11, 0.2) 68%, rgba(5, 8, 11, 0.9) 100%);
}

/* Bottom dissolve so the video melts into the page. */
.ww-v2 .ww-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 11, 0) 0%, rgba(5, 8, 11, 0.5) 64%, var(--bg) 100%);
}

.ww-v2 .ww-hero-content {
  position: relative;
  z-index: 3;
  width: min(var(--container-wide), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.ww-v2 .ww-hero-kicker {
  display: inline-block;
  margin: 0 0 26px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.ww-v2 .ww-hero-kicker b {
  color: var(--lime);
  font-weight: 600;
}

.ww-v2 .ww-hero h1 {
  margin: 0;
  max-width: 16ch;
  color: #ffffff;
  font-family: var(--font);
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.ww-v2 .ww-hero h1 span {
  color: var(--lime);
}

.ww-v2 .ww-hero-sub {
  margin: 28px 0 0;
  max-width: 50ch;
  color: rgba(240, 246, 248, 0.78);
  font-size: clamp(1.1rem, 1.45vw, 1.34rem);
  font-weight: 300;
  line-height: 1.55;
}

.ww-v2 .ww-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.ww-v2 .ww-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  transform: translateX(-50%);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* ---------- stat row ------------------------------------------------- */
.ww-v2 .ww-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 5vw, 72px);
}

.ww-v2 .ww-stat b {
  display: block;
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.ww-v2 .ww-stat span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
}

.ww-v2 .ww-stat em {
  display: block;
  margin-top: 12px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.06em;
}

.ww-v2 .ww-section-stats {
  padding-top: clamp(48px, 6vw, 92px);
}

/* ---------- editorial blocks (no boxes) ------------------------------ */
.ww-v2 .ww-grid {
  display: grid;
  gap: clamp(36px, 4vw, 56px);
  margin-top: clamp(44px, 5vw, 68px);
}

.ww-v2 .ww-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ww-v2 .ww-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.ww-v2 .ww-card {
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  transition: border-color 220ms ease;
}

.ww-v2 .ww-card:hover {
  transform: none;
  border-top-color: rgba(170, 255, 0, 0.55);
  background: none;
}

.ww-v2 .ww-card-num {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--lime);
}

.ww-v2 .ww-card h3 {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ww-v2 .ww-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.6;
}

/* ---------- collapse the stack: copy on the left, a tight stack of white
   isometric diamonds collapsing into the WireWolf mark on the right.
   Scroll progress --p (set in JS over .ww-scene-track) drives it. ------- */
.ww-v2 .ww-collapse-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

/* Left copy pins so it stays beside the collapsing stack. */
.ww-v2 .ww-collapse-copy {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ww-v2 .ww-collapse-funcs {
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 26px;
  max-width: 460px;
}

.ww-v2 .ww-collapse-funcs li {
  position: relative;
  padding-left: 20px;
  color: rgba(240, 246, 248, 0.74);
  font-size: 0.98rem;
}

.ww-v2 .ww-collapse-funcs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 7px;
  height: 7px;
  background: var(--lime);
  transform: rotate(45deg);
}

.ww-v2 .ww-collapse-stat {
  margin: clamp(22px, 3vw, 34px) 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.55;
}

/* Right: tall track sets the scrub distance; the scene pins inside it. */
.ww-v2 .ww-scene-track {
  position: relative;
}

/* JS adds .is-scrub once it can drive the pin. Without JS the track keeps its
   natural height and the diamonds simply show in place (no broken dead space). */
.ww-v2 .ww-scene-track.is-scrub {
  height: 280vh;
}

/* The pin is JS-driven (absolute -> fixed -> absolute), not CSS sticky, so it
   cannot be silently broken by an ancestor or the device emulator. JS sets
   position/left/width at runtime; these are the resting defaults. */
.ww-v2 .ww-collapse-scene-wrap {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ww-v2 .ww-collapse-scene {
  position: relative;
  width: 100%;
  height: min(84svh, 740px);
  display: grid;
  place-items: center;
}

.ww-v2 .ww-cstack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Each diamond collapses on a staggered window of --p, sliding to centre
   (--rest, measured in JS) and shrinking. Short rows = tight overlap. */
.ww-v2 .ww-clayer {
  --lp: clamp(0, calc((var(--p, 0) - var(--i) * 0.1) / 0.36), 1);
  height: clamp(36px, 4.6vw, 62px);
  display: grid;
  place-items: center;
  transform: translateY(calc(var(--rest, 0px) * var(--lp) * -1)) scale(calc(1 - 0.94 * var(--lp)));
  opacity: calc(1 - var(--lp));
  z-index: calc(6 - var(--i));
  will-change: transform, opacity;
}

.ww-v2 .ww-cdia {
  width: clamp(140px, 18vw, 240px);
  height: auto;
  color: rgba(255, 255, 255, 0.82);
}

/* Fill each diamond with the page colour so an upper layer occludes the lines
   of the layers stacked behind it (no see-through). */
.ww-v2 .ww-cdia polygon {
  fill: var(--bg);
}

/* Inner accent on every other diamond only. */
.ww-v2 .ww-clayer:nth-child(even) .ww-cdia polyline {
  display: none;
}

/* The mark only appears once the stack is almost gone (--p > 0.74). */
.ww-v2 .ww-clogo {
  position: absolute;
  left: 50%;
  top: 50%;
  --lp: clamp(0, calc((var(--p, 0) - 0.74) / 0.26), 1);
  width: clamp(150px, 21vw, 290px);
  height: auto;
  transform: translate(-50%, -50%) scale(calc(0.5 + 0.6 * var(--lp)));
  opacity: var(--lp);
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.55));
  z-index: 7;
  will-change: transform, opacity;
}

.ww-v2 .ww-clogo-name {
  position: absolute;
  left: 50%;
  top: calc(50% + clamp(96px, 15vh, 180px));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  z-index: 7;
  opacity: clamp(0, calc((var(--p, 0) - 0.85) / 0.15), 1);
}

.ww-v2 .ww-cap-name {
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ww-v2 .ww-cap-tag {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Mobile: single column. Copy scrolls in, then the scene pins and collapses
   (the scene-track still provides the scrub distance, so it does not scroll
   off before the user sees the collapse). */
@media (max-width: 860px) {
  .ww-v2 .ww-collapse-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ww-v2 .ww-collapse-copy {
    position: static;
    height: auto;
    padding: clamp(36px, 8vw, 70px) 0 clamp(8px, 3vw, 22px);
  }
  .ww-v2 .ww-collapse-funcs { max-width: none; }
  /* Shrink the pin container close to the content (not full screen) so the
     stack sits near the copy above AND the logo sits near the next section
     below: no big empty gap on either side. */
  .ww-v2 .ww-collapse-scene-wrap { height: min(52svh, 380px); }
  .ww-v2 .ww-collapse-scene { height: min(48svh, 348px); }
  .ww-v2 .ww-scene-track.is-scrub { height: 220vh; }
  .ww-v2 .ww-cdia { width: clamp(130px, 42vw, 215px); }
  .ww-v2 .ww-clogo { width: clamp(140px, 40vw, 200px); }
}

/* Reduced motion: drop the scrub, lay it out statically. */
@media (prefers-reduced-motion: reduce) {
  .ww-v2 .ww-collapse-copy { position: static; height: auto; }
  .ww-v2 .ww-scene-track { height: auto; }
  .ww-v2 .ww-collapse-scene-wrap { position: static; height: auto; overflow: visible; padding: clamp(24px, 5vw, 48px) 0; }
  .ww-v2 .ww-collapse-scene { height: auto; }
  .ww-v2 .ww-clayer { transform: none; opacity: 1; height: clamp(56px, 7vw, 92px); }
  .ww-v2 .ww-clogo { position: static; transform: none; opacity: 1; margin-top: clamp(20px, 4vw, 36px); }
  .ww-v2 .ww-clogo-name { position: static; transform: none; opacity: 1; margin-top: 12px; }
}

/* ---------- platform showcase: big faded wordmark + a tilted product shot
   (NitroOS-style). Desktop/tablet only; too small to read on phones. ---- */
.ww-v2 .ww-showcase {
  position: relative;
  overflow: hidden;
}

.ww-v2 .ww-showcase-head {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(200px, 24vw, 340px);
  margin-bottom: clamp(6px, 2vw, 22px);
}

.ww-v2 .ww-showcase-wordmark {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(6rem, 20vw, 19rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.02) 72%, rgba(255, 255, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

.ww-v2 .ww-showcase-intro {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ww-v2 .ww-showcase-title {
  margin: 0 auto 30px;
  max-width: 24ch;
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.022em;
}

.ww-v2 .ww-showcase-title span { color: var(--lime); }

.ww-v2 .ww-showcase-stage {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  perspective: 2200px;
  perspective-origin: 50% 28%;
}

.ww-v2 .ww-showcase-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(170, 255, 0, 0.06);
}

.ww-v2 .ww-shot-front {
  transform: rotateX(22deg) rotateZ(-8deg);
  transform-origin: 50% 50%;
  /* Fade the bottom edge into the page with a mask on the image itself, so the
     fade follows the tilt instead of cutting a flat bar across the shot. */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
}

@media (max-width: 860px) {
  .ww-v2 .ww-showcase { display: none; }
}

/* ---------- split (why) ---------------------------------------------- */
.ww-v2 .ww-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(48px, 8vw, 120px);
}

.ww-v2 .ww-checks {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.ww-v2 .ww-checks li {
  position: relative;
  padding: 18px 0 18px 32px;
  border-top: 1px solid var(--line-soft);
  color: rgba(240, 246, 248, 0.82);
  font-size: 1.06rem;
  font-weight: 300;
  line-height: 1.5;
}

.ww-v2 .ww-checks li:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.ww-v2 .ww-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
}

.ww-v2 .ww-split .ww-hero-actions {
  margin-top: 40px;
}

.ww-v2 .ww-split-media {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  min-height: 0;
  display: grid;
  gap: 0;
}

.ww-v2 .ww-mini-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: baseline;
  gap: 18px;
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
  background: none;
}

.ww-v2 .ww-mini-row:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.ww-v2 .ww-mini-row b {
  color: var(--text);
  font-family: var(--font);
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: 0;
  min-width: 0;
}

.ww-v2 .ww-mini-row span {
  color: var(--muted);
  font-size: 0.99rem;
  font-weight: 300;
  line-height: 1.5;
}

/* ---------- loop ----------------------------------------------------- */
.ww-v2 .ww-loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 44px);
  margin-top: clamp(56px, 7vw, 88px);
  text-align: left;
}

.ww-v2 .ww-loop-step {
  padding: 26px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
}

.ww-v2 .ww-loop-step b {
  display: block;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.ww-v2 .ww-loop-step h3 {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ww-v2 .ww-loop-step p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
}

.ww-v2 .ww-loop-note {
  margin: clamp(48px, 6vw, 76px) 0 0;
  color: var(--text);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  text-align: center;
}

.ww-v2 .ww-loop-note span {
  color: var(--text);
}

/* ---------- CTA ------------------------------------------------------ */
.ww-v2 .ww-cta {
  padding: clamp(72px, 9vw, 130px) 0 clamp(14px, 2.5vw, 34px);
  border: 0;
  border-radius: 0;
  background: none;
  text-align: center;
}

/* Pull the fog footer up close to the closing CTA (cut the stacked bottom
   padding); the footer's own height is left intact so the fog still blends. */
.ww-v2 #meeting {
  padding-bottom: clamp(6px, 1.5vw, 18px);
}

.ww-v2 .ww-cta h2 {
  margin: 0 auto;
  max-width: 18ch;
  color: var(--text);
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.ww-v2 .ww-cta h2 span {
  color: var(--lime);
}

.ww-v2 .ww-cta p {
  margin: 24px auto 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.16rem;
  font-weight: 300;
  line-height: 1.55;
}

.ww-v2 .ww-cta .ww-hero-actions {
  justify-content: center;
  margin-top: 42px;
}

/* ---------- footer --------------------------------------------------- */
/* Footer: the bottom-fog video blended onto the page so it reads as fog over
   our dark background, not a separate block of video. */
.ww-v2 .footer {
  position: relative;
  overflow: hidden;
  border-top: 0;
  /* Shorter so the fog rides up close to the closing CTA. The ::before
     gradient feathers the footer's top edge, so cropping further into the
     clip cannot create a seam. */
  min-height: clamp(150px, 17vw, 320px);
  display: flex;
  align-items: flex-end;
  background: var(--bg);
}

/* Page-coloured feather over the fog's top edge: hides any hard line where the
   shorter footer crops into the clip, blending fog smoothly out of the page. */
.ww-v2 .footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(90px, 13vw, 180px);
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 20%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.ww-v2 .footer-fog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
  /* Natural shape, anchored to the foggy bottom. Screen blend drops black;
     the contrast filter crushes the clip's dark-grey (non-fog) areas to true
     black so they vanish into our page with no seam at the footer's top edge.
     A gentle top feather removes any residual edge. */
  mix-blend-mode: screen;
  filter: brightness(0.92) contrast(1.55);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 26%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 26%);
}

.ww-v2 .footer .footer-shell {
  position: relative;
  z-index: 2;
}

.ww-v2 .footer .footer-bottom {
  border-top: 0;
  padding-bottom: clamp(18px, 2.5vw, 30px);
}

/* Light text with a strong dark halo so it reads over dark page or bright fog. */
.ww-v2 .footer .footer-meta,
.ww-v2 .footer .footer-note,
.ww-v2 .footer .footer-legal-links a {
  color: rgba(240, 246, 248, 0.9);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85), 0 0 3px rgba(0, 0, 0, 0.75);
}

.ww-v2 .footer .footer-legal-links a:hover {
  color: var(--lime);
}

/* Stack and center the footer lines on mobile. */
@media (max-width: 760px) {
  /* Tighter section rhythm on phones so sections do not sit far apart. */
  .ww-v2 { --section-y: clamp(36px, 8vw, 62px); }

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

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .ww-v2 .ww-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .ww-v2 .ww-loop { grid-template-columns: repeat(2, 1fr); }
  .ww-v2 .ww-split { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .ww-v2 .ww-grid.cols-3 { grid-template-columns: 1fr; }
  .ww-v2 .ww-stats { grid-template-columns: 1fr; gap: 34px; }

  .ww-v2 .site-nav { height: 76px; }
  .ww-v2 .brand-logo-full,
  .ww-v2 .brand-logo-mark { height: 42px; }

  /* Hamburger button */
  .ww-v2 .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    cursor: pointer;
    z-index: 90;
  }
  .ww-v2 .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin-inline: auto;
    background: var(--text);
    border-radius: 2px;
    transition: transform 240ms ease, opacity 180ms ease;
  }
  .ww-v2 .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .ww-v2 .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .ww-v2 .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Dropdown menu panel */
  .ww-v2 .nav-links {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 12px var(--gutter) 28px;
    background: rgba(5, 8, 11, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-soft);
  }
  .ww-v2 .nav-links.is-open {
    display: flex;
  }
  .ww-v2 .nav-links a:not(.button) {
    padding: 16px 2px;
    font-size: 1.12rem;
    color: var(--text);
    border-bottom: 1px solid var(--line-soft);
  }
  .ww-v2 .nav-links a.nav-menu-cta {
    display: inline-flex;
    align-self: stretch;
    justify-content: center;
    margin-top: 20px;
    height: 52px;
  }

  /* Solid bar while the menu is open. */
  .ww-v2 .site-nav-wrap:has(.nav-links.is-open) {
    background: rgba(5, 8, 11, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

/* ---------- MOBILE: clean dark hero, wolf + moon, single CTA --------- */
@media (max-width: 760px) {
  /* The CTA lives inside the hamburger menu, not the bar. */
  .ww-v2 .nav-actions { display: none; }

  /* Swap the video for the still half-face image on phones; anchor the wolf
     face to the left. */
  .ww-v2 .ww-hero-video { display: none !important; }
  .ww-v2 .ww-hero-still {
    display: block;
    background: url("../images/half%20face.png") 22% 40% / cover no-repeat;
  }

  .ww-v2 .ww-hero {
    min-height: 100svh;
    align-items: center;
  }

  /* Copy sits in the right portion, over the darkened side; face stays left. */
  .ww-v2 .ww-hero-content {
    width: min(68%, 360px);
    max-width: none;
    margin-left: auto;
    margin-right: var(--gutter);
    padding-block: 0;
    text-align: right;
  }

  .ww-v2 .ww-hero-scrim {
    background:
      linear-gradient(90deg, rgba(5, 8, 11, 0) 0%, rgba(5, 8, 11, 0.06) 26%, rgba(5, 8, 11, 0.72) 58%, rgba(5, 8, 11, 0.95) 100%),
      linear-gradient(180deg, rgba(5, 8, 11, 0.28) 0%, rgba(5, 8, 11, 0) 32%, rgba(5, 8, 11, 0.3) 100%);
  }

  .ww-v2 .ww-hero h1 {
    font-size: clamp(2.2rem, 9.6vw, 3.1rem);
    max-width: none;
  }

  .ww-v2 .ww-hero-sub {
    font-size: 1.02rem;
    max-width: none;
    margin-left: auto;
  }

  .ww-v2 .ww-hero-actions {
    justify-content: flex-end;
  }

  .ww-v2 .ww-hero-scroll { display: none; }

  .ww-v2 .ww-loop { grid-template-columns: 1fr; }
  .ww-v2 .ww-grid.cols-4 { grid-template-columns: 1fr; }
  .ww-v2 .ww-mini-row { grid-template-columns: 110px 1fr; }
}

/* Contain the night-stage to the hero (used on mobile). */
.ww-v2 .ww-hero-fallback .wwx-night-canvas,
.ww-v2 .ww-hero-fallback .wwx-night-stage {
  position: absolute;
}

@media (min-width: 761px) {
  .ww-v2 .ww-hero-fallback { display: none; }
}

/* =====================================================================
   v3.1 — metallic headlines, comparison table, faded wordmark, icon tiles
   (inspired by the Nexxa / XBOW reference designs)
   ===================================================================== */

/* Metallic silver headlines; lime accent spans preserved. Guarded by
   @supports so unsupported browsers keep their solid color. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ww-v2 .ww-hero h1,
  .ww-v2 .ww-h2,
  .ww-v2 .ww-cta h2,
  .ww-v2 .ww-stat b,
  .ww-v2 .ww-cap-name {
    background: linear-gradient(174deg, #ffffff 0%, #e9eff1 42%, #b4bfc3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .ww-v2 .ww-hero h1 span,
  .ww-v2 .ww-h2 span,
  .ww-v2 .ww-cta h2 span {
    -webkit-text-fill-color: var(--lime);
    color: var(--lime);
  }
}

/* Loop icon tiles (Nexxa-style icon list). */
.ww-v2 .ww-loop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.015));
  color: var(--lime);
}

.ww-v2 .ww-loop-icon svg {
  width: 24px;
  height: 24px;
}

.ww-v2 .ww-loop-step h3 {
  margin-top: 0;
}

/* Comparison: elevated glowing WireWolf lane on desktop, stacked cards on
   mobile (each attribute becomes its own card). */
.ww-v2 .ww-compare {
  margin-top: clamp(48px, 6vw, 84px);
}

.ww-v2 .ww-compare-scroll {
  padding: 40px 0;
}

.ww-v2 .ww-cmp {
  position: relative;
}

/* The lifted, glowing lane behind the WireWolf column. */
.ww-v2 .ww-cmp-wolf-bg {
  position: absolute;
  z-index: 0;
  top: -20px;
  bottom: -20px;
  right: 0;
  width: 28%;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(170, 255, 0, 0.18), rgba(170, 255, 0, 0.05) 52%, rgba(170, 255, 0, 0.12));
  border: 1px solid rgba(170, 255, 0, 0.5);
  box-shadow:
    0 28px 80px rgba(170, 255, 0, 0.16),
    inset 0 0 70px rgba(170, 255, 0, 0.05);
}

.ww-v2 .ww-cmp-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 26% 23% 23% 28%;
  border-bottom: 1px solid var(--line-soft);
}

.ww-v2 .ww-cmp-row:last-child {
  border-bottom: 0;
}

.ww-v2 .ww-cmp-row > span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 30px;
  font-family: var(--mono);
  font-size: 0.95rem;
}

.ww-v2 .ww-cmp-attr {
  justify-content: flex-start;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.ww-v2 .ww-cmp-val {
  color: var(--muted);
  text-align: center;
}

.ww-v2 .ww-cmp-val.is-wolf {
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 500;
}

.ww-v2 .ww-cmp-opt {
  padding-block: 30px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
}

.ww-v2 .ww-cmp-opt.is-wolf {
  flex-direction: column;
  gap: 12px;
  color: var(--lime);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.ww-v2 .ww-cmp-opt.is-wolf img {
  width: 34px;
  height: auto;
}

/* data-opt label only appears in the mobile stacked cards. */
.ww-v2 .ww-cmp-val::before {
  display: none;
}

@media (max-width: 760px) {
  .ww-v2 .ww-compare-scroll { padding: 0; }
  .ww-v2 .ww-cmp-wolf-bg { display: none; }
  .ww-v2 .ww-cmp .ww-cmp-head { display: none; }

  /* Each dimension is a self-contained card: the question, then what each
     option gives you (every line labelled), with WireWolf checked + lit up. */
  .ww-v2 .ww-cmp-row {
    display: block;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px 18px 18px;
    margin-bottom: 14px;
  }
  .ww-v2 .ww-cmp-row:last-child {
    margin-bottom: 0;
  }

  .ww-v2 .ww-cmp-row > span {
    display: block;
    padding: 0;
  }

  /* Dimension title. */
  .ww-v2 .ww-cmp-attr {
    display: block;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text);
    font-family: var(--font);
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  /* Each option stacks its label over its value, so any length fits cleanly. */
  .ww-v2 .ww-cmp-val {
    display: block;
    padding: 12px 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.98rem;
    line-height: 1.35;
  }
  .ww-v2 .ww-cmp-val::before {
    content: attr(data-opt);
    display: block;
    margin-bottom: 4px;
    color: var(--muted-2);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }
  .ww-v2 .ww-cmp-val[data-opt="A yearly pentest"] {
    border-top: 1px solid var(--line-soft);
  }

  /* WireWolf: highlighted and checked, label over value. */
  .ww-v2 .ww-cmp-val.is-wolf {
    margin-top: 14px;
    padding: 14px 15px;
    border-radius: 12px;
    background: rgba(170, 255, 0, 0.08);
    border: 1px solid rgba(170, 255, 0, 0.32);
    color: var(--lime);
    font-weight: 600;
    font-size: 1.1rem;
  }
  .ww-v2 .ww-cmp-val.is-wolf::before {
    content: "\2713  WireWolf";
    margin-bottom: 5px;
    color: var(--lime);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
  }
}

/* Faded brand wordmark behind the closing CTA. */
.ww-v2 .ww-cta {
  position: relative;
  overflow: hidden;
}

.ww-v2 .ww-cta::before {
  content: "WIREWOLF";
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.6rem, 13vw, 12rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  max-width: 100%;
  pointer-events: none;
  z-index: 0;
}

.ww-v2 .ww-cta > * {
  position: relative;
  z-index: 1;
}

/* Premium feature cards (Mid-Market Gap): glass icon tile + big index. */
.ww-v2 .ww-card-feature .ww-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.ww-v2 .ww-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.015));
  color: #9fc2d2;
  transition: border-color 260ms ease, color 260ms ease, transform 260ms ease;
}

.ww-v2 .ww-card-icon svg {
  width: 24px;
  height: 24px;
}

.ww-v2 .ww-card-feature:hover .ww-card-icon {
  border-color: rgba(170, 255, 0, 0.5);
  color: var(--lime);
  transform: translateY(-2px);
}

.ww-v2 .ww-card-index {
  font-family: var(--mono);
  font-size: clamp(2.3rem, 3.4vw, 3.3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.08);
  transition: color 260ms ease;
}

.ww-v2 .ww-card-feature:hover .ww-card-index {
  color: rgba(170, 255, 0, 0.22);
}

.ww-v2 .ww-card-feature h3 {
  margin-top: 0;
}
