/* ============================================================
   PXLsuite Showcase, page styles (v2, editorial)
   Imports canonical PXLmentor tokens, then layers a richer
   editorial layout on top: hero with browser-framed feature,
   product-style tool cards, pipeline diagram, in-action gallery.
   ============================================================ */

@import url("_shared/brand/PXLmentor/pxlmentor.css");

/* Smooth scroll for in-page anchor jumps; sticky header offset so
   anchor targets don't slide under the header. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --- Showcase-local tokens --------------------------------- */
:root {
  --color-text-readable: #9A9A9A;
  --color-pxl-teal:   #00C4CC;
  --color-pxl-pink:   #D7005A;
  --color-pxl-amber:  #FFA500;

  --color-surface-1:  #141414;
  --color-surface-2:  #181818;
  --color-surface-3:  #1f1f22;
  --color-border:     #2a2a2a;
  --color-border-soft:#1f1f1f;

  --max-width:        1280px;

  --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reveal-on-scroll base ---------------------------------
   The full animation rules live further down in the "REVEAL animations"
   section (BlackMamba3D-aligned). The scroll.js script adds the .js
   class on <html> so the opacity:0 base only applies when JS is alive. */

/* --- Layout primitives ------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Header (sticky, BlackMamba3D-aligned structure) ------- */
/* PXLsuite is part of the BlackMamba3D family. Matches the consultancy
   site's top-bar layout exactly (sticky, full-width inner row, brand left,
   nav right, mobile burger). Colors swap gold for the PXLsuite magenta
   (--color-pxl-pink). */
.top-bar {
  border-bottom: 2px solid var(--color-pxl-pink);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.top-bar-inner {
  width: 100%;
  padding: 0 clamp(1.5rem, 4.5vw, 4.5rem);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  line-height: 1;
  text-decoration: none;
}
.nav-brand-logo {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 18px rgba(215, 0, 90, 0.10));
}
.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-body-light);
  text-transform: uppercase;
}
.nav-brand-sep {
  color: #6b6672;
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.55;
}
.nav-brand-tag {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--color-pxl-pink);
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  gap: 0.2rem;
  align-items: center;
}
.nav-menu a {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.5rem 0.8rem;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-menu a:hover { color: var(--color-pxl-pink); }

/* Burger button, mobile only */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-body-light);
  transition: background 0.2s, transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--color-pxl-pink); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--color-pxl-pink); }

@media (max-width: 880px) {
  .nav-menu { gap: 0; }
  .nav-menu a { padding: 0.4rem 0.5rem; font-size: 0.6rem; letter-spacing: 0.14em; }
  .nav-brand-tag { display: none; }
  .nav-brand-sep { display: none; }
}
@media (max-width: 700px) {
  .nav-burger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.96);
    backdrop-filter: blur(10px);
    flex-direction: column;
    border-bottom: 2px solid var(--color-pxl-pink);
    padding: 0.4rem 0;
    gap: 0;
    z-index: 99;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    padding: 0.95rem clamp(1.5rem, 4.5vw, 4.5rem);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
  }
  .nav-menu a:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .top-bar-inner { gap: 0.7rem; height: 52px; }
  .nav-brand-logo { height: 44px; }
  .nav-brand-name { font-size: 0.95rem; }
}

/* --- Site-wide aura + magenta cursor ring (desktop only) --- */
/* Same mouse-light spotlight + custom ring as BlackMamba3D, recolored
   in PXLsuite magenta. Disabled on coarse pointers via media queries. */
.aura {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.45s ease;
  mix-blend-mode: screen;
  background: radial-gradient(circle 345px at var(--mx, 50%) var(--my, 50%),
                              rgba(215, 0, 90, 0.14),
                              rgba(215, 0, 90, 0.045) 38%,
                              transparent 70%);
}
.aura.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .aura { display: none; }
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 24px; height: 24px;
  margin: -12px 0 0 -12px;
  border: 1.5px solid var(--color-pxl-pink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: width 0.22s ease, height 0.22s ease, margin 0.22s ease,
              opacity 0.3s ease, background 0.22s ease, border-color 0.22s ease;
}
.cursor-ring.is-on { opacity: 0.95; }
.cursor-ring.is-hover {
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  background: rgba(215, 0, 90, 0.18);
  border-color: rgba(215, 0, 90, 0.75);
}
@media (hover: hover) and (pointer: fine) {
  html.cursor-replaced,
  html.cursor-replaced * {
    cursor: none !important;
  }
}
@media (hover: none), (pointer: coarse) {
  .cursor-ring { display: none; }
}

/* --- Reusable: buttons override (sharper, denser) ---------- */
.btn-ghost {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-body-light);
  padding: 14px 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.btn-ghost:hover { color: var(--color-accent); }
.btn-ghost .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn-ghost:hover .arrow { transform: translate(2px, -2px); }

/* --- Eyebrow with rail ------------------------------------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-readable);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}
.eyebrow-rail {
  display: inline-block;
  width: 28px;
  height: 2px;
  background-color: var(--color-primary);
}

/* --- Display headings -------------------------------------- */
.display-1 {
  font-family: var(--font-heading);
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.95;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* Hero brand-mark variant: the wordmark SVG replaces text. */
.hero-logo-h1 {
  display: block;
  margin: 0 0 24px 0;
  line-height: 0;
  /* Reset text styles since content is now an image */
  font-size: 0;
  letter-spacing: normal;
}
.hero-logo-h1 img {
  display: block;
  width: clamp(280px, 38vw, 460px);
  height: auto;
}

.display-2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--color-secondary);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  max-width: 720px;
}
.display-2 em {
  font-style: normal;
  color: var(--color-text-readable);
}

/* --- Section block + header ------------------------------- */
/* Each section is a "chapter" — bigger spacing, prominent
   numbered marker, gradient accent rule at the top so the
   chapter break reads from across the page. */
.section-block {
  padding: 140px 0 120px;
  position: relative;
}

/* Top-of-section gradient accent rule */
.section-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-border) 12%,
    var(--color-border) 88%,
    transparent 100%
  );
}

/* The accent dot on the rule, coloured per section */
.section-block::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 7px;
  background-color: var(--section-color, var(--color-primary));
  border-radius: 999px;
  box-shadow: 0 0 24px var(--section-color-glow, rgba(215, 0, 90, 0.5));
}

/* Per-section colour tokens applied via [data-section-color] on the header */
.section-block:has([data-section-color="amber"]) {
  --section-color: var(--color-pxl-amber);
  --section-color-glow: rgba(255, 165, 0, 0.45);
}
.section-block:has([data-section-color="teal"]) {
  --section-color: var(--color-pxl-teal);
  --section-color-glow: rgba(0, 196, 204, 0.45);
}
.section-block:has([data-section-color="pink"]) {
  --section-color: var(--color-pxl-pink);
  --section-color-glow: rgba(215, 0, 90, 0.5);
}

.section-header {
  max-width: 880px;
  margin-bottom: 72px;
}

/* Numbered chapter marker (e.g. "01 / Phase 1 members") */
.section-marker {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
}
.section-number {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
  line-height: 0.85;
  color: var(--section-color, var(--color-primary));
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.section-eyebrow-text {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-readable);
}

.section-header h3 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  color: var(--color-secondary);
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
  text-transform: none;
}
.section-header h3 em {
  font-style: normal;
  color: var(--section-color, var(--color-primary));
}

.section-lead {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--color-body-light);
  max-width: 680px;
}

/* Loose variant — section header lives in a proper card with
   substantial internal padding. Real breathing room between text
   and the card edge, no more "everything attached to the border."
   Heading can stretch wide inside the card; lead stays readable. */
.section-header.section-header-loose {
  max-width: none;
  margin-bottom: 112px;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 64px 72px;
  position: relative;
  overflow: hidden;
}
/* Section accent bar across the top of the card */
.section-header.section-header-loose::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--section-color, var(--color-primary));
  opacity: 0.85;
}

.section-header.section-header-loose .section-marker {
  margin-bottom: 48px;
  padding-bottom: 32px;
}
.section-header.section-header-loose h3 {
  margin-bottom: 32px;
  max-width: 1080px;
}
.section-header.section-header-loose .section-lead {
  max-width: 720px;
  font-size: 20px;
  line-height: 1.65;
}


/* --- Per-tool section H3: logo SVG + tagline ------------- */
/* Replaces plain text on the per-tool deep-dive section
   headings with the official PXLbid / PXLflow / PXLtools
   logo SVGs from _shared/brand/. */
.tool-section-h3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin: 0 0 40px 0;
  /* keep .section-header h3 typography tokens for the tagline span */
}

.tool-section-logo {
  display: block;
  width: clamp(280px, 32vw, 420px);
  height: auto;
}

.tool-section-tagline {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-secondary);
  letter-spacing: -0.02em;
}
.tool-section-tagline em {
  font-style: normal;
  color: var(--section-color, var(--color-primary));
}

/* Bare marker — same row as the eyebrow but no big number.
   Used for un-numbered sections (Why this exists / Same voice / About). */
.section-marker.section-marker-bare {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
}
.section-marker.section-marker-bare::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background-color: var(--section-color, var(--color-primary));
}


/* ============================================================
   WHY PXLSUITE EXISTS  —  un-numbered sub-intro
   ============================================================ */
.why-section { --section-color: var(--color-pxl-pink); --section-color-glow: rgba(215, 0, 90, 0.45); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.why-card {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    border-color 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}
.why-card:hover {
  border-color: var(--color-pxl-pink);
  transform: translateY(-4px);
}

.why-card-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-pxl-pink);
  margin: 0;
}

.why-card p:not(.why-card-eyebrow) {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-body-light);
  margin: 0;
}


/* ============================================================
   PER-TOOL DEEP-DIVE SECTIONS  (01 PXLbid, 02 PXLflow)
   Hero shot + 4-column detail + screenshot gallery.
   ============================================================ */
.tool-section .container {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.tool-section-hero {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background-color: #0a0a0a;
  border: 1px solid var(--color-border);
  box-shadow:
    0 24px 60px -30px rgba(0, 0, 0, 0.6),
    0 6px 24px -8px rgba(0, 0, 0, 0.5);
}
.tool-section-hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover;
  object-position: top center;
}

/* Mid-section pivot title (e.g. "PXLbid is simple as 1-2-3") */
.tool-section-pivot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 8px 0;
}
.tool-section-pivot .pivot-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-readable);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.tool-section-pivot .pivot-eyebrow::before,
.tool-section-pivot .pivot-eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background-color: var(--color-border);
}
.tool-section-pivot .pivot-h {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-secondary);
  margin: 0;
  letter-spacing: -0.015em;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.tool-section-pivot .pivot-h em {
  font-style: normal;
  color: var(--section-color, var(--color-primary));
  font-feature-settings: "tnum" 1;
}
.tool-section-pivot .pivot-logo {
  display: inline-block;
  height: clamp(76px, 8.8vw, 112px);
  width: auto;
  /* Crop only the empty trailing area of the PXLbid_logo.svg viewBox
     (360x96). Real content ends around x=300, so we trim ~17% from
     the right and pull the next element in with a matching negative
     margin so the whole pivot reads as one tight phrase. */
  clip-path: inset(0 17% 0 0);
  margin-right: clamp(-72px, -6.2vw, -44px);
}
.tool-section-pivot .pivot-text {
  display: inline-block;
}

.tool-section-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 56px;
}

.tool-detail-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 20px;
  border-left: 2px solid var(--color-border);
}
.tool-section[id="pxlbid"]    .tool-detail-col { border-left-color: var(--color-pxl-amber); }
.tool-section[id="pxlflow"] .tool-detail-col { border-left-color: var(--color-pxl-pink); }

.tool-detail-h {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-secondary);
  margin: 0;
  letter-spacing: -0.005em;
  text-transform: none;
}

.tool-detail-col p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-body-light);
  margin: 0;
}

/* Tool-section gallery */
.tool-section-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.tool-section-gallery .tool-gallery-tile {
  position: relative;
  grid-column: span 2;
  margin: 0;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.tool-section-gallery .tool-gallery-tile-wide {
  grid-column: span 3;
}
.tool-section-gallery .tool-gallery-tile:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
}
.tool-section-gallery .tool-gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out);
}
.tool-section-gallery .tool-gallery-tile:hover img {
  transform: scale(1.04);
}
.tool-section-gallery .tool-gallery-tile figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
}
.tool-section-gallery.tool-section-gallery-3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tool-section-gallery.tool-section-gallery-3col .tool-gallery-tile { grid-column: span 1; }


/* ============================================================
   CLOSING SECTION  —  "Same voice, screen to screen"
   Three pillar cards, no chapter number.
   ============================================================ */
.closing-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.closing-pillar {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.closing-pillar:hover {
  transform: translateY(-3px);
}
.closing-pillars .closing-pillar:nth-child(1) { border-top: 3px solid var(--color-pxl-amber); }
.closing-pillars .closing-pillar:nth-child(2) { border-top: 3px solid var(--color-pxl-pink); }
.closing-pillars .closing-pillar:nth-child(3) { border-top: 3px solid var(--color-pxl-teal); }

.pillar-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-readable);
  margin: 0;
}
.pillar-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-secondary);
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}
.pillar-name code {
  font-family: var(--font-ui);
  font-size: 22px;
  background-color: var(--color-surface-3);
  padding: 1px 8px;
  border-radius: 4px;
  color: var(--color-accent);
}
.pillar-detail {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-body-light);
  margin: 0;
}


/* About section: bigger paragraph rhythm + emphasised consultant CTA */
.about-copy p strong {
  color: var(--color-secondary);
  font-weight: 600;
}
.about-copy p a {
  color: var(--color-pxl-pink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.about-copy p a:hover { color: var(--color-pxl-amber); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: hidden;
  /* Fill the viewport (minus the sticky header) so the next
     section is OFF-SCREEN until the visitor actually scrolls. */
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
}
.hero > .container { width: 100%; }

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(215, 0, 90, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 30%, rgba(0, 196, 204, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 60% 100%, rgba(255, 165, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 80px;
  align-items: center;
}

.hero-text { min-width: 0; }

.hero-lead {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--color-body-light);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 480px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-readable);
}

/* --- Hero visual (now houses the pipeline flow) ----------- */
.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(215, 0, 90, 0.15) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

/* --- Hero scroll cue (1:1 BlackMamba3D .scroll-hint pattern) -
   Anchored bottom-center of the hero section. Mono micro-label
   above a Unicode down arrow with the same bounce keyframes as
   BlackMamba3D. Magenta on hover. Hidden on phones. */
.hero { position: relative; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6b6672;
  text-decoration: none;
  transition: color 0.2s ease;
  z-index: 5;
}
.scroll-hint:hover { color: var(--color-pxl-pink); }
.scroll-hint .arrow {
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50%      { transform: translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint .arrow { animation: none; }
}
/* Phones (and touch tablets): hide entirely. */
@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .scroll-hint { display: none !important; }
}

/* --- Hero pipeline (vertical flow) ------------------------ */
.hero-pipeline {
  position: relative;
  z-index: 1;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 22px 20px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.7),
    0 10px 30px -10px rgba(215, 0, 90, 0.15);
}

.hero-pipeline-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-readable);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}
.hero-pipeline-eyebrow .eyebrow-rail {
  display: inline-block;
  width: 28px;
  height: 2px;
  background-color: var(--color-primary);
}

.pipeline-flow.pipeline-flow-vertical {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 0;
  margin: 0;
  max-width: none;
}
.pipeline-flow.pipeline-flow-vertical .pipeline-node {
  width: 100%;
  padding: 14px 16px 12px;
  gap: 2px;
  flex-direction: row;
  text-align: left;
  align-items: center;
  justify-content: flex-start;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  column-gap: 12px;
  row-gap: 0;
  /* clickable anchor variant — explicit cursor + smooth hover lift */
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out);
}
.pipeline-flow.pipeline-flow-vertical a.pipeline-node {
  /* Solid click target — no transform on hover that shifts the target,
     just background tint + border highlight. Prevents missed clicks. */
  position: relative;
  z-index: 2;
}
.pipeline-flow.pipeline-flow-vertical a.pipeline-node:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--color-text-readable);
}
.pipeline-flow.pipeline-flow-vertical a.pipeline-node[data-tool="pxlbid"]:hover    { border-color: var(--color-pxl-amber); }
.pipeline-flow.pipeline-flow-vertical a.pipeline-node[data-tool="pxlflow"]:hover { border-color: var(--color-pxl-pink); }
.pipeline-flow.pipeline-flow-vertical a.pipeline-node[data-tool="pxltools"]:hover  { border-color: var(--color-pxl-teal); }
.pipeline-flow.pipeline-flow-vertical a.pipeline-node:focus-visible {
  outline: 2px solid var(--section-color, var(--color-pxl-pink));
  outline-offset: 2px;
}
.pipeline-flow.pipeline-flow-vertical a.pipeline-node:active {
  background-color: rgba(255, 255, 255, 0.08);
}
.pipeline-flow.pipeline-flow-vertical .pipeline-pictogram {
  width: 40px;
  height: 40px;
  margin: 0;
  grid-row: 1 / span 2;
}
.pipeline-flow.pipeline-flow-vertical .pipeline-name {
  font-size: 15px;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}
.pipeline-flow.pipeline-flow-vertical .pipeline-action {
  font-size: 11px;
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: var(--color-text-readable);
}
.pipeline-flow.pipeline-flow-vertical .pipeline-out {
  font-size: 8px;
  margin: 0;
  padding: 3px 7px;
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  letter-spacing: 0.12em;
}

.pipeline-arrow-down {
  color: var(--color-text-readable);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 18px;
}
.pipeline-arrow-down svg {
  width: 16px;
  height: 18px;
}

.hero-pipeline-contract {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-readable);
  margin: 0;
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}
.hero-pipeline-contract code {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  background-color: var(--color-surface-3);
  padding: 1px 6px;
  border-radius: 3px;
}

.browser-frame {
  position: relative;
  background-color: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.8),
    0 10px 30px -10px rgba(215, 0, 90, 0.18);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.browser-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    0 12px 40px -10px rgba(215, 0, 90, 0.28);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background-color: #0e0e0e;
  border-bottom: 1px solid var(--color-border);
}

.browser-dots {
  display: inline-flex;
  gap: 7px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red    { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green  { background-color: #27c93f; }

.browser-url {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-readable);
  font-weight: 500;
}

.browser-content {
  background-color: #0d0d0d;
  position: relative;
}
.browser-content img {
  display: block;
  width: 100%;
  height: auto;
  /* Hide the small clipped top of the source screenshot */
  margin-top: -2%;
}


/* ============================================================
   TOOLS SECTION
   ============================================================ */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tool-card {
  position: relative;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition:
    border-color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow:
    0 24px 48px -20px rgba(0, 0, 0, 0.6),
    0 8px 32px -8px rgba(215, 0, 90, 0.18);
}

.tool-card[data-tool="pxltools"]  { border-top: 3px solid var(--color-pxl-teal); }
.tool-card[data-tool="pxlflow"] { border-top: 3px solid var(--color-pxl-pink); }
.tool-card[data-tool="pxlbid"]    { border-top: 3px solid var(--color-pxl-amber); }

/* --- Tool-card visual area --------------------------------- */
.tool-card-visual {
  position: relative;
  background-color: #0e0e0e;
  border-bottom: 1px solid var(--color-border);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-card-visual .screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out);
}
.tool-card:hover .tool-card-visual .screenshot {
  transform: scale(1.04);
}

/* --- Tool-card body ---------------------------------------- */
.tool-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-pictogram {
  display: block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.card-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.card-title h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-secondary);
  margin: 0;
  text-transform: none;
  letter-spacing: -0.005em;
}

.card-tag {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-readable);
}

.tagline {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-body-light);
  margin: 0;
}

.tool-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tool-card ul li {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-body-light);
  padding-left: 16px;
  position: relative;
}

.tool-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

.tool-card[data-tool="pxltools"]  ul li::before { background-color: var(--color-pxl-teal); }
.tool-card[data-tool="pxlflow"] ul li::before { background-color: var(--color-pxl-pink); }
.tool-card[data-tool="pxlbid"]    ul li::before { background-color: var(--color-pxl-amber); }

.tool-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
}

.badge {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 0;
}

.chip {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 5px 9px;
  background-color: var(--color-surface-3);
  color: var(--color-body-light);
}


/* ============================================================
   MAYA MOCK (PXLtools placeholder)
   ============================================================ */
.maya-mock {
  position: absolute;
  inset: 12px;
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-ui);
}

.maya-mock-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background-color: #0e0e0e;
  border-bottom: 1px solid #2a2a2a;
  font-size: 10px;
  color: #888;
  letter-spacing: 0.04em;
}

.maya-mock-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background-color: #232325;
  border-bottom: 1px solid #2a2a2a;
  overflow-x: hidden;
  flex-wrap: wrap;
  justify-content: center;
}

.maya-mock-toolbar img {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 4px;
  transition: transform 0.3s var(--ease-out), filter 0.3s var(--ease-out);
  filter: saturate(0.95);
}
.tool-card:hover .maya-mock-toolbar img {
  filter: saturate(1.1);
}
.maya-mock-toolbar img:hover {
  transform: translateY(-2px) scale(1.08);
  filter: saturate(1.3) drop-shadow(0 4px 8px rgba(255, 165, 0, 0.3));
}

.maya-mock-viewport {
  flex: 1;
  position: relative;
  background:
    radial-gradient(ellipse at center, #2a2a2e 0%, #1a1a1d 80%);
  overflow: hidden;
}

.maya-mock-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center center;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.maya-mock-axis {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-ui);
}
.axis-x { color: #ff5f56; }
.axis-y { color: #27c93f; }
.axis-z { color: #4a9eff; }

.maya-mock-caption {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 10px;
  color: var(--color-text-readable);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* ============================================================
   REVIEW MOCK (PXLflow placeholder)
   ============================================================ */
.review-mock {
  position: absolute;
  inset: 12px;
  background-color: #131316;
  border: 1px solid #26262b;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-body);
}

.review-mock-header {
  display: flex;
  gap: 4px;
  padding: 8px 8px 0 8px;
  background-color: #0e0e10;
  border-bottom: 1px solid #1f1f22;
}
.review-mock-tab {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  color: var(--color-text-readable);
  border-bottom: 2px solid transparent;
}
.review-mock-tab-active {
  color: var(--color-pxl-pink);
  border-bottom-color: var(--color-pxl-pink);
}

.review-mock-card {
  margin: 14px;
  padding: 14px;
  background-color: #1a1a1d;
  border: 1px solid #26262b;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
  flex: 1;
}

.review-mock-thumbnail {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  background:
    linear-gradient(135deg, #2a2a2f 0%, #1e1e22 100%);
  position: relative;
  overflow: hidden;
}
.review-mock-thumbnail::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 35% 40%, rgba(215, 0, 90, 0.6) 0%, transparent 30%),
    radial-gradient(circle at 70% 65%, rgba(255, 165, 0, 0.4) 0%, transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(0, 196, 204, 0.3) 0%, transparent 40%);
  filter: blur(8px);
}
.review-mock-marker {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--color-pxl-pink);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(215, 0, 90, 0.25);
  z-index: 1;
}
.review-mock-frame-num {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 4px;
  border-radius: 2px;
  z-index: 1;
}

.review-mock-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  grid-column: 2;
  min-width: 0;
}
.review-asset-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}
.review-asset-tag {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-pxl-amber);
}

.review-mock-tasks {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #26262b;
}
.review-task {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 8px;
  align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-body-light);
}
.dot-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-approved { background-color: #22c55e; box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2); }
.status-progress { background-color: var(--color-pxl-amber); box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.2); }
.status-pending  { background-color: #6b6672; }
.task-name { letter-spacing: 0.02em; }
.task-ver {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-readable);
}

.review-mock-caption {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-readable);
  text-align: right;
  padding: 0 14px 12px;
}


/* ============================================================
   INSIDE PXLTOOLS SECTION  (v2 — image-dominant editorial grid)
   Portfolio-grid pattern: visuals first, minimal text, the work
   speaks. Two-tier hierarchy — Tier 1 featured tiles span 2 cols
   and use the wider DCC view. Tier 2 standard tiles span 1 col
   and use a taller portrait aspect to honor vertical UI screenshots.
   DCC identity is communicated by a small icon chip overlaid on
   the image, not by text labels.
   ============================================================ */
.inside-section .eyebrow-rail {
  background-color: var(--color-pxl-teal);
}

/* --- DCC filter tabs --------------------------------------- */
.inside-dcc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.inside-dcc-tab {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-body-light);
  cursor: pointer;
  border-radius: 999px;
  transition:
    border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    background-color 0.25s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.inside-dcc-tab:hover {
  border-color: var(--color-pxl-teal);
  color: var(--color-pxl-teal);
}
.inside-dcc-tab:focus-visible {
  outline: 2px solid var(--color-pxl-teal);
  outline-offset: 2px;
}
.inside-dcc-tab.is-active {
  background-color: var(--color-pxl-teal);
  border-color: var(--color-pxl-teal);
  color: #0d0d0d;
}
.inside-dcc-tab .count {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-text-readable);
}
.inside-dcc-tab.is-active .count {
  background-color: rgba(0, 0, 0, 0.18);
  color: rgba(13, 13, 13, 0.78);
}

/* --- Grid -------------------------------------------------- */
.inside-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* Filter behavior: hide tiles whose data-dcc doesn't match the active filter */
.inside-grid[data-active-filter="maya"] .inside-tile[data-dcc="nuke"],
.inside-grid[data-active-filter="nuke"] .inside-tile[data-dcc="maya"] {
  display: none;
}

/* --- Tile (base) ------------------------------------------ */
.inside-tile {
  position: relative;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.inside-tile:hover {
  transform: translateY(-6px);
  border-color: var(--color-pxl-teal);
  box-shadow:
    0 24px 48px -24px rgba(0, 0, 0, 0.55),
    0 6px 18px -8px rgba(0, 196, 204, 0.18);
}

/* Featured tile (Tier 1) spans 2 columns and uses wider 16:10 aspect */
.inside-tile.is-featured {
  grid-column: span 2;
}

/* --- Visual area ------------------------------------------ */
/* Tier 2 default: portrait 4:5 — shows more of the vertical interface */
.inside-tile-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: #0a0a0a;
  overflow: hidden;
}
/* Tier 1 featured: landscape 16:10 — DCC views are wide */
.inside-tile.is-featured .inside-tile-visual {
  aspect-ratio: 16 / 10;
}

.inside-tile-visual .screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
}
.inside-tile:hover .inside-tile-visual .screenshot {
  transform: scale(1.05);
}

/* Subtle gradient at the bottom of the image for chip legibility */
.inside-tile-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  opacity: 0.4;
  transition: opacity 0.4s var(--ease-out);
}
.inside-tile:hover .inside-tile-visual::after { opacity: 0.55; }

/* --- DCC identity chip (top-RIGHT of image) --------------
   Sits on the right so it doesn't overlap the tool's own
   title-bar icon, which lives in the top-left of every UI
   screenshot. Translucent blurred pill keeps the brand
   colour readable against any screenshot. */
.dcc-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  height: 36px;
  width: auto;
  max-width: 96px;
  padding: 6px 10px;
  display: block;
  object-fit: contain;
  background: rgba(15, 15, 15, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
  transition: transform 0.4s var(--ease-out);
}
.inside-tile:hover .dcc-chip { transform: scale(1.05); }

/* --- Status chip (right-side, below the DCC chip) -------- */
/* Stacked under the DCC pill so left side stays clear for
   the tool's own title-bar icon. */
.status-chip {
  position: absolute;
  top: 60px;
  right: 12px;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}
.status-chip.status-prototype { color: var(--color-pxl-pink); }
.status-chip.status-beta      { color: var(--color-pxl-amber); }

/* --- Tile body (compact, image-supporting) ---------------- */
.inside-tile-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tile-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-secondary);
  margin: 0;
  letter-spacing: -0.005em;
  text-transform: none;
}
.inside-tile.is-featured .tile-title {
  font-size: 19px;
}

.tile-tagline {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-text-readable);
  margin: 0;
}
.inside-tile.is-featured .tile-tagline {
  font-size: 14px;
  color: var(--color-body-light);
}

/* --- Expandable "Read more" -------------------------------- */
.tile-expand {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 6px 0;
  margin-top: 4px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-pxl-teal);
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.tile-expand:hover { gap: 10px; }
.tile-expand:focus-visible {
  outline: 2px solid var(--color-pxl-teal);
  outline-offset: 4px;
  border-radius: 2px;
}
.tile-expand .expand-arrow {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s var(--ease-out);
}
.tile-expand[aria-expanded="true"] .expand-arrow {
  transform: rotate(45deg);
}

.tile-deep {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  margin-top: 2px;
}
.tile-deep[hidden] { display: none; }
.tile-deep p {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-body-light);
  margin: 0;
}
.tile-deep p strong {
  color: var(--color-secondary);
  font-weight: 600;
}
.tile-deep code {
  font-family: var(--font-ui);
  font-size: 12px;
  background-color: var(--color-surface-3);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--color-accent);
}


/* ============================================================
   TB3DTT FLAGSHIP BLOCK
   Multi-DCC hero card above the inside-pxltools grid.
   Two-up image strip on the left, body + Gumroad CTA on the right.
   ============================================================ */
.tb3dtt-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 56px;
  position: relative;
}
.tb3dtt-feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1AAFD0 0%, #1AAFD0 50%, #F2A900 50%, #F2A900 100%);
  z-index: 1;
}

/* Left visual side: two stacked DCC views */
.tb3dtt-visual {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background-color: var(--color-border);
}
.tb3dtt-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background-color: #0a0a0a;
}
.tb3dtt-shot img:not(.dcc-chip) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease-out);
}
.tb3dtt-shot:hover img:not(.dcc-chip) {
  transform: scale(1.04);
}
.tb3dtt-shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}
.tb3dtt-shot figcaption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}
.tb3dtt-shot .dcc-chip {
  top: 14px;
  right: 14px;
}

/* Right body side */
.tb3dtt-body {
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tb3dtt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  flex-wrap: wrap;
}
.tb3dtt-flag-logo {
  display: inline-block;
  height: 36px;
  width: 36px;
  object-fit: cover;
  border-radius: 6px;
  vertical-align: middle;
}
.tb3dtt-meta {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-readable);
}

.tb3dtt-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-secondary);
  margin: 0;
  letter-spacing: -0.01em;
  text-transform: none;
}

.tb3dtt-lead {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-body-light);
  margin: 0;
}

.tb3dtt-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0 6px;
  border-top: 1px solid var(--color-border);
}
.tb3dtt-detail p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-body-light);
  margin: 0;
}
.tb3dtt-detail p strong {
  color: var(--color-pxl-teal);
  font-weight: 600;
}
.tb3dtt-detail p:nth-of-type(2) strong { color: var(--color-pxl-amber); }

.tb3dtt-cta {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.tb3dtt-btn-gumroad {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tb3dtt-btn-gumroad .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.tb3dtt-btn-gumroad:hover .arrow {
  transform: translate(2px, -2px);
}

/* Filter state: TB3DTT shows for "all" and either DCC */
.inside-grid[data-active-filter="maya"] ~ .tb3dtt-feature,
.inside-grid[data-active-filter="nuke"] ~ .tb3dtt-feature {
  /* keep visible since it's multi-DCC */
}


/* ============================================================
   PIPELINE SECTION
   ============================================================ */
.pipeline-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 0;
}

.pipeline-node {
  position: relative;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.pipeline-node:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.pipeline-node[data-tool="pxlbid"]    { border-top: 3px solid var(--color-pxl-amber); }
.pipeline-node[data-tool="pxlflow"] { border-top: 3px solid var(--color-pxl-pink); }
.pipeline-node[data-tool="pxltools"]  { border-top: 3px solid var(--color-pxl-teal); }

.pipeline-pictogram {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
}
.pipeline-pictogram img {
  display: block;
  width: 100%;
  height: 100%;
}

.pipeline-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-secondary);
  letter-spacing: -0.005em;
}

.pipeline-action {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-body-light);
  margin-top: 4px;
}

.pipeline-out {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-readable);
  margin-top: 8px;
  padding: 4px 8px;
  background-color: var(--color-surface-3);
  border-radius: 0;
}

.pipeline-arrow {
  color: var(--color-text-readable);
  display: flex;
  align-items: center;
}
.pipeline-arrow svg {
  width: 80px;
  height: 16px;
  display: block;
}

.pipeline-contract {
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-readable);
  margin-top: 32px;
}
.pipeline-contract code {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  background-color: var(--color-surface-1);
  padding: 2px 6px;
  border-radius: 3px;
}


/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.gallery-tile {
  position: relative;
  grid-column: span 2;
  margin: 0;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  cursor: zoom-in;
}

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

.gallery-tile:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out);
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-tile figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-copy p {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--color-body-light);
  margin-bottom: 20px;
}
.about-copy p:last-child { margin-bottom: 0; }

.conventions-card {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px;
}

.conventions-card .card-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  line-height: 1;
}

.conventions-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.conventions-card ul li {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-body-light);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.conventions-card ul li:last-child { border-bottom: 0; padding-bottom: 0; }
.conventions-card ul li:first-child { padding-top: 0; }

.conventions-card ul li strong {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-ui);
}


/* ============================================================
   FOOTER (BlackMamba3D-aligned, magenta palette)
   ============================================================ */
footer {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--color-border);
  background: #0d0d0d;
}
.footer-inner {
  width: 100%;
  padding: 0 clamp(1.5rem, 4.5vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: end;
}
.footer-block .footer-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b6672;
  margin-bottom: 0.7rem;
}
.footer-block .footer-val {
  font-size: 0.95rem;
  color: var(--color-body-light);
  line-height: 1.7;
}
.footer-block .footer-val a {
  transition: color 0.2s ease;
  color: var(--color-body-light);
}
.footer-block .footer-val a:hover { color: var(--color-pxl-pink); }
.footer-name {
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 1.2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-body-light);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.footer-tag {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-pxl-pink);
}
.footer-contact {
  text-align: right;
}
.footer-contact .footer-label { text-align: right; }
.footer-bottom {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6672;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
  .footer-contact .footer-label { text-align: left; }
}

/* ============================================================
   REVEAL animations (BlackMamba3D-aligned, family signal)
   Two systems run in parallel for backwards-compatibility:
     - html.js [data-reveal].is-visible   (legacy attribute-based, used across PXLsuite)
     - .reveal.visible / .stagger-children.visible (new, matches BlackMamba3D)
   Both use the same cubic-bezier ease and dramatic translateY+scale.
   ============================================================ */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(64px) scale(0.96);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal {
  opacity: 0;
  transform: translateY(64px) scale(0.96);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

.stagger-children > * {
  opacity: 0;
  transform: translateY(56px) scale(0.93);
}
.stagger-children.visible > * {
  animation: stagger-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes stagger-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.stagger-children.visible > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { animation-delay: 0.15s; }
.stagger-children.visible > *:nth-child(3) { animation-delay: 0.25s; }
.stagger-children.visible > *:nth-child(4) { animation-delay: 0.35s; }
.stagger-children.visible > *:nth-child(5) { animation-delay: 0.45s; }
.stagger-children.visible > *:nth-child(6) { animation-delay: 0.55s; }
.stagger-children.visible > *:nth-child(7) { animation-delay: 0.65s; }
.stagger-children.visible > *:nth-child(8) { animation-delay: 0.75s; }
.stagger-children.visible > *:nth-child(9) { animation-delay: 0.85s; }
.reveal.stagger-children {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], .reveal, .stagger-children > * {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }

  .hero { padding: 64px 0 48px; }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-stats { max-width: 100%; }

  .section-block { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }

  .tool-grid { grid-template-columns: 1fr; gap: 20px; max-width: 720px; margin: 0 auto; }
  .tool-card { flex-direction: row; }
  .tool-card-visual {
    aspect-ratio: auto;
    width: 280px;
    flex-shrink: 0;
    border-bottom: 0;
    border-right: 1px solid var(--color-border);
  }
  .tool-card-body { flex: 1; }
  .tool-card[data-tool="pxltools"]  { border-top-color: var(--color-border); border-left: 3px solid var(--color-pxl-teal);  border-top: 1px solid var(--color-border); }
  .tool-card[data-tool="pxlflow"] { border-top-color: var(--color-border); border-left: 3px solid var(--color-pxl-pink);  border-top: 1px solid var(--color-border); }
  .tool-card[data-tool="pxlbid"]    { border-top-color: var(--color-border); border-left: 3px solid var(--color-pxl-amber); border-top: 1px solid var(--color-border); }

  .pipeline-flow {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
  }
  .pipeline-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }

  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-tile { grid-column: span 2; }
  .gallery-tile-wide { grid-column: span 4; }

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

  /* Inside PXLtools - 2-col on tablet, featured tiles still span 2 (full row) */
  .inside-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inside-tile.is-featured { grid-column: span 2; }

  /* TB3DTT block - stack visual on top, body below on tablet */
  .tb3dtt-feature { grid-template-columns: 1fr; }
  .tb3dtt-visual { grid-template-rows: auto auto; }
  .tb3dtt-shot { aspect-ratio: 16 / 10; }
  .tb3dtt-body { padding: 32px 32px 28px; }

  /* Section header card - reduce padding on tablet */
  .section-header.section-header-loose { padding: 48px 40px; margin-bottom: 64px; }

  /* Why grid - stack as 1 col on tablet */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Tool deep-dive detail - 1 col on tablet */
  .tool-section-detail { grid-template-columns: 1fr; gap: 28px; }
  .tool-section-gallery { grid-template-columns: repeat(4, 1fr); }
  .tool-section-gallery .tool-gallery-tile { grid-column: span 2; }
  .tool-section-gallery .tool-gallery-tile-wide { grid-column: span 4; }
  .tool-section-gallery.tool-section-gallery-3col { grid-template-columns: repeat(2, 1fr); }
  .tool-section-gallery.tool-section-gallery-3col .tool-gallery-tile { grid-column: span 1; }

  /* Closing pillars - stack on tablet */
  .closing-pillars { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .site-header .container { padding-top: 12px; padding-bottom: 12px; }
  .brand-mark img { height: 40px; }
  .site-nav a { padding: 8px 6px; font-size: 12px; }
  .site-nav .btn-outline {
    padding: 7px 12px;
    font-size: 11px;
    margin-left: 4px;
  }
  /* Hide secondary nav anchors on mobile — sections are reachable via scroll */
  .site-nav a[href="#inside-pxltools"],
  .site-nav a[href="#about"] { display: none; }

  .hero { padding: 48px 0 32px; }
  .hero-container { gap: 40px; }
  .hero-lead { font-size: 15px; margin-bottom: 28px; }
  .hero-ctas { margin-bottom: 40px; gap: 8px; }
  .hero-ctas .btn-primary {
    padding: 12px 20px;
    font-size: 13px;
  }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 16px; padding-top: 24px; }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 10px; }

  .section-block { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }

  .tool-card { flex-direction: column; }
  .tool-card-visual {
    aspect-ratio: 16 / 10;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }
  .tool-card-body { padding: 22px; }

  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-tile, .gallery-tile-wide { grid-column: span 1; }

  .footer-brand img { height: 40px; }
  .footer-cols { flex-direction: column; }
  .footer-right { text-align: left; }

  /* Maya/Review mocks: shrink toolbar icons on small screens */
  .maya-mock-toolbar img { width: 24px; height: 24px; }
  .maya-mock-toolbar { gap: 4px; padding: 6px 8px; }

  /* Inside PXLtools - 1-col on mobile */
  .inside-grid { grid-template-columns: 1fr; gap: 14px; }
  .inside-tile.is-featured { grid-column: span 1; }
  /* Mobile: standard tiles use 16:10 (image-dominant strip) since column is full-width */
  .inside-tile-visual { aspect-ratio: 16 / 10; }
  .inside-tile.is-featured .inside-tile-visual { aspect-ratio: 16 / 10; }

  /* Tabs scroll horizontally if too wide for the viewport */
  .inside-dcc-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    margin-bottom: 28px;
  }
  .inside-dcc-tab { white-space: nowrap; flex-shrink: 0; }

  .inside-tile-body { padding: 16px 18px 18px; }
  .tile-title { font-size: 17px; }
  .inside-tile.is-featured .tile-title { font-size: 19px; }

  /* TB3DTT block - tighter on mobile */
  .tb3dtt-feature { gap: 0; margin-bottom: 36px; }
  .tb3dtt-body { padding: 24px 22px 26px; gap: 14px; }
  .tb3dtt-title { font-size: 22px; }
  .tb3dtt-lead { font-size: 14px; }
  .tb3dtt-detail p { font-size: 13px; }

  /* Hero brand-mark scales down */
  .hero-logo-h1 img { width: clamp(220px, 70vw, 320px); }

  /* Section header card - tighter padding on mobile, still breathing room */
  .section-header.section-header-loose {
    margin-bottom: 56px;
    padding: 32px 24px;
    border-radius: 14px;
  }
  .section-header.section-header-loose .section-marker { margin-bottom: 24px; padding-bottom: 18px; }

  /* Why cards - mobile padding */
  .why-card { padding: 26px 22px; }

  /* Tool deep-dive - 1 col gallery on mobile */
  .tool-section .container { gap: 36px; }
  .tool-section-gallery,
  .tool-section-gallery.tool-section-gallery-3col { grid-template-columns: 1fr; }
  .tool-section-gallery .tool-gallery-tile,
  .tool-section-gallery .tool-gallery-tile-wide { grid-column: span 1; }

  /* Closing pillars - mobile padding */
  .closing-pillar { padding: 26px 22px; }
  .pillar-name { font-size: 20px; }
}
