/* ── LOADING SCREEN ──────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0;
  background: #03030a;
  z-index: 100;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  transition: opacity 0.8s ease;
}
#loader.hidden { opacity: 0; pointer-events: none; }
.loader-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
}
.loader-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(196,30,14,0.8);
  animation: blink 1s infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  cursor: none;
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
#hero, #s2, #s3, #s-work, #s-pricing, #s-faq, #s4 {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

:root {
  --bg: #03030a;
  --crimson: #C41E0E;
  --subtitle: #6E6E73;
  --mono: 'JetBrains Mono', monospace;
  --title: 'Space Grotesk', sans-serif;
}

html {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: #fff;
  font-family: var(--title);
  overflow-x: hidden;
  min-height: auto;
}


/* ── HERO ────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}

/* ── CANVAS — fixed, always visible ─────────────────────────────── */
#canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 0 !important;
  pointer-events: none !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* ── SAFARI GLASSMORPHISM GPU LAYER ─────────────────────────────── */
.hybrid-wrap, .portfolio-grid, .faq-wrap,
.slide-inner, .cta-card, .case-card,
.pricing-card, .sc {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ── DYNAMIC HEADLINE ────────────────────────────────────────────── */
#dynamic-headline {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  text-align: center;
  width: 90%;
  max-width: 700px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease 2s;
}
#dynamic-headline.visible {
  opacity: 1;
}
.headline-static {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.82rem, 4.16vw, 3.12rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  display: block;
  line-height: 1.2;
  margin-bottom: 0.15em;
  background: linear-gradient(135deg, #e8d4ff, #ffffff, #d4b8f8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.headline-dynamic {
  display: block;
  height: clamp(2.6rem, 5.2vw, 3.9rem);
  position: relative;
  overflow: hidden;
}
.headline-dynamic .word {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.82rem, 4.16vw, 3.12rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #C41E0E !important;
  color: #C41E0E !important;
  text-shadow: 0 0 20px rgba(196,30,14,0.4);
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), opacity 0.5s ease;
  white-space: nowrap;
}
.headline-dynamic .word.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.headline-dynamic .word.exit {
  transform: translateX(-50%) translateY(-100%);
  opacity: 0;
}

/* ── HERO SUBTITLE ───────────────────────────────────────────────── */
#hero-sub {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  text-align: center;
  width: 80%;
  max-width: 520px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  font-weight: 300;
  color: #6e6e73;
  letter-spacing: 0.04em;
  line-height: 1.7;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease 2.5s;
}
#hero-sub.visible {
  opacity: 1;
}

/* ── DESKTOP HEADLINE ────────────────────────────────────────────── */
#dynamic-headline-desktop {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  text-align: center;
  width: 80%;
  max-width: 720px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease 2s;
}
#dynamic-headline-desktop.visible {
  opacity: 1;
}
.dh-static {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  color: rgba(255,255,255,0.96);
  letter-spacing: -0.025em;
  display: block;
  line-height: 1.15;
  margin-bottom: 0.1em;
  text-shadow:
    0 0 40px rgba(180,100,255,0.35),
    0 2px 20px rgba(3,3,10,0.9);
}
.dh-dynamic {
  display: block;
  height: clamp(2.2rem, 3.5vw, 3.2rem);
  position: relative;
  overflow: hidden;
}
.dh-word {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg,
    #ffffff 0%,
    #e0c8ff 25%,
    #f8e8ff 45%,
    #ffffff 55%,
    #ffd0f8 70%,
    #c8a0f0 85%,
    #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: dhChrome 4s ease infinite alternate;
  filter: drop-shadow(0 0 16px rgba(196,30,14,0.5))
          drop-shadow(0 0 32px rgba(180,100,255,0.3));
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(110%);
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.16,1,0.3,1),
              opacity 0.5s ease;
  white-space: nowrap;
}
.dh-word.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.dh-word.exit {
  transform: translateX(-50%) translateY(-110%);
  opacity: 0;
}
@keyframes dhChrome {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 100%; }
}

/* Desktop: hide old mobile headline + sub; show new desktop one */
@media (min-width: 769px) {
  #dynamic-headline { display: none !important; }
  #hero-sub { display: none !important; }
  #mobile-title { display: none !important; }
}

/* Mobile: hide desktop headline */
@media (max-width: 768px) {
  #dynamic-headline-desktop { display: none !important; }
}

/* ── MOBILE TITLE (hidden on desktop) ───────────────────────────── */
#mobile-title {
  display: none;
}

/* ── OVERLAY ─────────────────────────────────────────────────────── */
#overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

/* Mobile HUD ticker */
#mobile-hud-ticker { display: none; }

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SCROLL HINT ──────────────────────────────────────────────────── */
#scroll-hint-mobile {
  display: none;
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: scrollHintFade 2s ease 3s forwards;
  pointer-events: none;
}
@keyframes scrollHintFade {
  0%   { opacity: 0; transform: translateX(-50%) translateY(4px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.scroll-hint-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(110,110,115,0.6);
  text-transform: uppercase;
}
.scroll-hint-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(196,30,14,0.6), transparent);
  animation: scrollLine 1.5s ease-in-out 3s infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}
@media (max-width: 768px) {
  #scroll-hint-mobile { display: flex !important; }
}

/* ── STICKY CTA ───────────────────────────────────────────────────── */
#sticky-cta {
  display: none;
  position: fixed;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99990;
  opacity: 0;
  transition: opacity 0.4s ease;
}
#sticky-cta.visible { opacity: 1; }
@media (max-width: 768px) {
  #sticky-cta { display: block; }
}
#sticky-cta-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: #C41E0E !important;
  border: none !important;
  border-radius: 3px;
  padding: 1.1rem 2.5rem;
  text-decoration: none;
  min-width: 280px;
  box-shadow: 0 0 30px rgba(196,30,14,0.5), 0 4px 24px rgba(0,0,0,0.6);
}
#sticky-cta-btn:active {
  background: rgba(180,15,5,1) !important;
  transform: scale(0.98);
}
.sticky-cta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #ffffff;
  font-weight: 400;
}
.sticky-cta-arrow {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}

/* Mobile HUD cards (legacy, kept for compat) */
.mobile-hud-card { display: none; }
.hl {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  color: var(--crimson);
  letter-spacing: 0.15em;
  margin-bottom: 3px;
}
.hv {
  font-family: var(--title);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2px;
}
.hs {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 300;
  color: rgba(110,110,115,0.75);
}

/* Edge telemetry (kept for CSS compat, hidden via display:none if needed) */
.edge {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(110, 110, 115, 0.6);
  opacity: 0;
  text-transform: uppercase;
}
.edge em { color: var(--crimson); font-style: normal; }

/* Scroll progress bar */
#scroll-bar {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}
#scroll-bar span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(110, 110, 115, 0.5);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}
#scroll-fill {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--crimson), transparent);
  transform-origin: top;
  transform: scaleY(0);
}

/* ── CURSOR ──────────────────────────────────────────────────────── */
#cur {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #C41E0E;
  background: transparent;
  position: fixed;
  z-index: 2147483647;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: left, top;
}
#curt {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0.5px solid rgba(196,30,14,0.22);
  background: transparent;
  position: fixed;
  z-index: 2147483646;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: left 0.09s linear, top 0.09s linear;
}

/* ── CONTENT SECTIONS ────────────────────────────────────────────── */
#content {
  position: relative;
  z-index: 100;
}

.content-section {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #03030a;
}

#s2, #s3, #s-work, #s-verify, #s-pricing, #s-faq, #s4 {
  position: relative;
  z-index: 10;
  isolation: isolate;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 5rem 3rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.hybrid-wrap, .portfolio-grid, .faq-wrap, .sc,
.pricing-swiper, .work-grid, .verify-wrap,
.portfolio-wrap, .cta-card {
  position: relative;
  z-index: 10;
}

#s2 h2, #s4 h2 {
  color: rgba(255, 255, 255, 0.93);
  font-family: var(--title);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-tag {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--crimson);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.content-section h2 {
  font-family: var(--title);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.93);
}

.content-section p {
  font-family: var(--title);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--subtitle);
  max-width: 660px;
}

/* ── HYBRID SECTION ──────────────────────────────────────────────── */
.hybrid-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.hybrid-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.hybrid-sub {
  font-family: var(--title);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 1rem auto 0;
  line-height: 1.7;
}
.hybrid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 0.5px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hybrid-col {
  padding: 2.5rem 2rem;
  border-right: 0.5px solid rgba(255,255,255,0.07);
}
.hybrid-col:last-child {
  border-right: none;
}
.hybrid-col-center {
  border-left: 0.5px solid rgba(255,255,255,0.07);
}
.hybrid-word {
  font-family: var(--title);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, #e8d4ff 25%, #fff 40%, #d4b8f8 55%, #ffe0f8 70%, #c8a0f0 85%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.hybrid-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--crimson);
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.hybrid-desc {
  font-family: var(--title);
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

/* ── PHILOSOPHY SENTENCE ─────────────────────────────────────────── */
.philosophy-sentence {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* ── METRICS ─────────────────────────────────────────────────────── */
.metrics-grid {
  position: relative !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: transparent !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 0.5px solid rgba(255,255,255,0.05) !important;
}
.metrics-grid::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(180,120,255,0.2) 30%, rgba(196,30,14,0.15) 50%, rgba(180,120,255,0.2) 70%, transparent);
  pointer-events: none;
}
.metric-cell {
  padding: 56px 40px;
  background: rgba(255, 255, 255, 0.02) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 0.5px solid rgba(255, 255, 255, 0.06) !important;
}
.metric-value {
  font-family: var(--title);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 12px;
  text-shadow: 0 0 40px rgba(180,100,255,0.5), 0 0 80px rgba(180,100,255,0.25);
}
.metric-label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--subtitle);
}

/* ── PORTFOLIO SHOWCASE ──────────────────────────────────────────── */
#s-work {
  background: transparent !important;
  padding: 4rem 2rem;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}
.portfolio-wrap {
  position: relative;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
#leader-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
  overflow: visible;
}
@keyframes leaderDraw {
  to { stroke-dashoffset: 0; }
}
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 100%;
  background: rgba(3,3,10,0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  overflow: hidden;
}
.portfolio-left {
  padding: 2.5rem 2rem;
  border-right: 0.5px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.portfolio-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.portfolio-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(110,110,115,0.6);
  margin-top: 0.5rem;
}
.case-nodes {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  justify-content: space-around;
}
.case-node {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.4rem 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.04);
  cursor: pointer;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  z-index: 11;
}
.case-node:last-child { border-bottom: none; }
.case-node.dimmed { opacity: 0.3; }
.case-node.active { opacity: 1; }
button.case-node {
  all: unset;
  display: flex;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  text-align: left;
}
.node-crimson {
  width: 2px;
  height: 0;
  background: #C41E0E;
  margin-right: 1.2rem;
  transition: height 0.4s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(196,30,14,0.6);
}
.case-node.active .node-crimson { height: 48px; }
.node-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.node-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(110,110,115,0.4);
  flex-shrink: 0;
}
.node-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  display: block;
  letter-spacing: -0.01em;
}
.node-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(110,110,115,0.65);
  display: block;
  margin-top: 2px;
}
.node-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: rgba(196,30,14,0.6);
  display: block;
  margin-top: 4px;
}
.portfolio-right {
  position: relative;
  min-height: 420px;
  perspective: 1000px;
  pointer-events: auto !important;
  cursor: none;
}
.preview-dock {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: auto !important;
  cursor: none;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}
.iframe-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.iframe-container iframe {
  width: 200%;
  height: 200%;
  transform: scale(0.5);
  transform-origin: top left;
  border: none;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.iframe-container iframe.loaded {
  opacity: 1;
}
.preview-hud-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(3,3,10,0.3) 0%,
      transparent 30%,
      transparent 70%,
      rgba(3,3,10,0.5) 100%);
  z-index: 1;
  pointer-events: none;
}
.preview-hud-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120,80,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,80,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.8rem 1.8rem;
  padding-top: 3rem;
  background: linear-gradient(to top,
    rgba(3,3,10,0.95) 0%,
    rgba(3,3,10,0.7) 50%,
    transparent 100%);
}
.preview-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #C41E0E;
  display: block;
  margin-bottom: 0.4rem;
}
.preview-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  display: block;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.preview-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(110,110,115,0.8);
  display: block;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.preview-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.preview-link:hover {
  color: #fff;
  border-color: #C41E0E;
  gap: 10px;
}
.node-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.node-link:hover { color: rgba(196,30,14,0.8); }

/* ── VERIFICATION SECTION ────────────────────────────────────────── */
#s-verify {
  background: transparent !important;
  padding: 0 2rem 4rem;
  display: flex;
  justify-content: center;
}
.verify-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  width: 100%;
  background: rgba(5,5,8,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-top: 0.5px solid rgba(255,255,255,0.04);
  border-radius: 0 0 4px 4px;
  overflow: hidden;
}
.verify-left {
  padding: 2.5rem 2rem;
  border-right: 0.5px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
}
.verify-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.95);
  line-height: 1.1;
  background: linear-gradient(135deg,
    #fff 0%, #e8d4ff 22%, #fff 38%,
    #d4b8f8 54%, #ffe0f8 68%, #c8a0f0 84%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.verify-context {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 340px;
}
.verify-specs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
  color: #6E6E73;
  line-height: 1.8;
  padding-top: 0.8rem;
  border-top: 0.5px solid rgba(255,255,255,0.05);
}
.vspec-sep {
  color: rgba(196,30,14,0.5);
  padding: 0 2px;
}
.verify-right {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.verify-right > .stag {
  margin-bottom: 1.5rem;
}
.qa-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.qa-block {
  padding: 1.2rem 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.04);
}
.qa-block:last-child {
  border-bottom: none;
}
.qa-q {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 0.5rem;
}
.qa-q::before {
  content: 'Q: ';
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--crimson);
  margin-right: 2px;
}
.qa-a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  line-height: 1.7;
  opacity: 0.2;
  will-change: opacity;
}
.qa-a::before {
  content: 'A: ';
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(110,110,115,0.5);
  margin-right: 2px;
}

@media (max-width: 768px) {
  .verify-wrap {
    grid-template-columns: 1fr;
    border-radius: 0 0 4px 4px;
  }
  .verify-left {
    border-right: none;
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
  }
}

/* ── PRICING ─────────────────────────────────────────────────────── */
.pricing-outer {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 2.5rem;
}
.pricing-card {
  position: relative;
  background: rgba(5,5,8,0.20) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  padding: 2.2rem 1.8rem 2rem;
  overflow: hidden;
  will-change: transform, opacity;
  transition: border-color 0.35s ease;
}
.pricing-card:hover {
  border-color: rgba(255,255,255,0.1) !important;
}
.pricing-featured {
  border-color: rgba(196,30,14,0.18) !important;
}
.pricing-featured:hover {
  border-color: rgba(196,30,14,0.4) !important;
}
/* Canvas spotlight layer */
.p-spotlight {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
/* Content layer above canvas */
.p-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.p-top {
  margin-bottom: 1.4rem;
}
.price-badge {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.25em;
  color: var(--crimson);
  display: block;
  margin-bottom: 0.6rem;
}
.price-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(196,30,14,0.8);
  display: block;
  margin-bottom: 0.5rem;
}
.p-sublabel {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #6E6E73;
  display: block;
  margin-bottom: 1rem;
}
.price-amount {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: rgba(255,255,255,0.96);
  letter-spacing: -0.03em;
  display: block;
}
.p-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: #E4E4E7;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.5rem;
  text-align: left;
}
.p-footer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #6E6E73;
  display: block;
  padding-top: 1rem;
  border-top: 0.5px solid rgba(255,255,255,0.05);
  text-align: left;
}
.retainer-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(110,110,115,0.5);
  text-align: center;
  margin-top: 2rem;
}

/* ── PRICING SWIPER ──────────────────────────────────────────────── */
.pricing-swiper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  margin: 2.5rem auto 0;
  touch-action: pan-y;
}
.pricing-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}
.pricing-slide {
  min-width: 100%;
  padding: 0 4px;
  box-sizing: border-box;
}
.slide-inner {
  background: rgba(3,3,10,0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 2rem 1.8rem;
  position: relative;
  min-height: 320px;
  text-align: left;
}
.slide-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right,
    transparent,
    rgba(180,120,255,0.2),
    rgba(196,30,14,0.15),
    rgba(180,120,255,0.2),
    transparent);
}
.pricing-slide.featured .slide-inner {
  border-color: rgba(196,30,14,0.3);
}
.pricing-slide.featured .slide-inner::before {
  background: linear-gradient(to right,
    transparent,
    rgba(196,30,14,0.4),
    rgba(196,30,14,0.6),
    rgba(196,30,14,0.4),
    transparent);
}
.price-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #6E6E73;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  display: block;
}
.price-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: #E4E4E7;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.price-list {
  list-style: none;
  padding: 0; margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.price-list li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  padding-left: 1.1rem;
  position: relative;
}
.price-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(196,30,14,0.6);
}
.price-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(110,110,115,0.6);
  display: block;
  padding-top: 1rem;
  border-top: 0.5px solid rgba(255,255,255,0.05);
}
.swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.swipe-hint.hidden { opacity: 0; pointer-events: none; }
.swipe-arrow {
  font-size: 1rem;
  color: rgba(196,30,14,0.7);
  animation: swipeAnim 1.5s ease-in-out infinite;
}
@keyframes swipeAnim {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(6px); opacity: 1; }
}
.swipe-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(110,110,115,0.5);
  text-transform: uppercase;
}
.pricing-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 0.8rem;
}
.pdot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}
.pdot.active {
  background: #C41E0E;
  transform: scale(1.3);
}

/* Desktop: 3-up layout */
@media (min-width: 769px) {
  .pricing-swiper {
    max-width: 960px;
    overflow: visible;
  }
  .pricing-track {
    transform: none !important;
    gap: 1px;
  }
  .pricing-slide {
    min-width: 0;
    flex: 1;
    padding: 0;
  }
  .swipe-hint { display: none; }
  .pricing-dots { display: none; }
}

/* ── CTA SECTION ─────────────────────────────────────────────────── */
#s4 {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}
.cta-card {
  position: relative;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(3,3,10,0.04) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 0.5px solid rgba(255,255,255,0.07) !important;
  border-radius: 4px;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    rgba(196,30,14,0.35) 35%,
    rgba(180,120,255,0.25) 60%,
    transparent);
  pointer-events: none;
  border-radius: 4px 4px 0 0;
}
.cta-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.96);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-align: center;
}
.cta-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  color: rgba(110,110,115,0.9);
  max-width: 500px;
  text-align: center;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.cta-magnetic {
  position: relative;
  display: inline-block;
}
.cta-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 44px;
  font-family: var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  min-width: 220px;
  gap: 4px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.cta-btn-primary {
  border: 1px solid #C41E0E;
  background: rgba(196,30,14,0.04);
}
.cta-btn-primary:hover {
  background: rgba(196,30,14,0.09);
  box-shadow: 0 0 40px rgba(196,30,14,0.18), inset 0 0 20px rgba(196,30,14,0.04);
}
.cta-btn-secondary {
  border: 1px solid #1A1A1E;
  background: rgba(3,3,10,0.3);
}
.cta-btn-secondary:hover {
  border-color: rgba(180,120,255,0.28);
  box-shadow: 0 0 30px rgba(180,120,255,0.1), 0 0 60px rgba(255,255,255,0.03);
}
/* Corner crosshairs on primary */
.cta-btn-primary .cn {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(196,30,14,0.9);
  border-style: solid;
}
.cta-btn-primary .cn.tl { top: -0.5px; left: -0.5px; border-width: 0.5px 0 0 0.5px; }
.cta-btn-primary .cn.tr { top: -0.5px; right: -0.5px; border-width: 0.5px 0.5px 0 0; }
.cta-btn-primary .cn.bl { bottom: -0.5px; left: -0.5px; border-width: 0 0 0.5px 0.5px; }
.cta-btn-primary .cn.br { bottom: -0.5px; right: -0.5px; border-width: 0 0.5px 0.5px 0; }
/* Laser trace */
.laser-trace {
  position: absolute;
  top: -1px; left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}
.cta-btn-primary:hover .laser-trace { opacity: 1; }
.laser-rect {
  fill: none;
  stroke: #C41E0E;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 3px #C41E0E) drop-shadow(0 0 7px rgba(196,30,14,0.6));
}
/* Terminal readout */
.cta-readout {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #6E6E73;
  text-align: center;
  line-height: 1.8;
  margin-top: 0;
}

/* ── TEXT READABILITY SHADOWS ────────────────────────────────────── */
.sh {
  text-shadow: 0 2px 16px rgba(3,3,10,0.95), 0 0 32px rgba(3,3,10,0.7) !important;
}
.sb, .stag, .case-title, .case-result,
.price-amount, .price-desc, .work-sub,
.retainer-note, .availability-note {
  text-shadow: 0 1px 8px rgba(3,3,10,0.8) !important;
}

/* Shared layout wrapper */
.sc {
  position: relative !important;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 2rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(3,3,10,0.52) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 0.5px solid rgba(255,255,255,0.06) !important;
  border-radius: 4px !important;
}
.sc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(180,120,255,0.2) 30%, rgba(196,30,14,0.15) 50%, rgba(180,120,255,0.2) 70%, transparent);
  pointer-events: none;
  border-radius: 4px 4px 0 0;
}

/* Shared label/heading/body in new sections */
.stag {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--crimson);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.sh {
  font-family: var(--title);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.93);
  text-align: center;
}
.sb {
  font-family: var(--title);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--subtitle);
  max-width: 560px;
  text-align: center;
}

/* CTA buttons */
.ctabox {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 44px;
  font-family: var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  border: 0.5px solid rgba(196,30,14,0.4);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: all;
  min-width: 220px;
  gap: 4px;
  background: rgba(3,3,10,0.35) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
.ctl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.55);
}
.ctv {
  font-family: var(--title);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
}
.ctaprimary {
  background: #C41E0E !important;
  border: none !important;
  padding: 1.1rem 2.8rem;
  box-shadow: 0 0 30px rgba(196,30,14,0.4);
}
.ctaprimary:hover {
  background: rgba(180,15,5,1) !important;
  box-shadow: 0 0 50px rgba(196,30,14,0.6);
}
.ctasecondary {
  border-color: rgba(255,255,255,0.08);
  background: transparent;
}
.ctasecondary:hover {
  border-color: rgba(255,255,255,0.2);
}

/* Corner accents on primary CTA */
.cn {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: rgba(196, 30, 14, 0.6);
  border-style: solid;
}
.cn.tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.cn.tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.cn.bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.cn.br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.availability-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(110,110,115,0.5);
  margin-top: 1.5rem;
  text-align: center;
}

/* Legacy CTA button (kept for safety) */
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 48px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  text-transform: uppercase;
  border: 0.5px solid var(--crimson);
  transition: box-shadow 0.3s ease, color 0.3s ease;
  pointer-events: all;
}
.cta-btn:hover {
  box-shadow: 0 0 30px rgba(196, 30, 14, 0.2), 0 0 60px rgba(196, 30, 14, 0.08);
  color: #fff;
}
.bracket { position: absolute; width: 8px; height: 8px; border-color: rgba(196, 30, 14, 0.6); border-style: solid; }
.bracket.tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.bracket.tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.bracket.bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.bracket.br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
footer {
  height: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(110, 110, 115, 0.3);
  background: #03030a;
  position: relative;
  z-index: 10;
}

@keyframes mobileChrome {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hide mobile-only elements on desktop */
.mobile-swiper-hub { display: none; }
.mobile-footer-marquee { display: none; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* ── SECTION TRANSPARENCY — WebGL shows through ──────────────────── */
  #s2, #s3, #s-work, #s-verify, #s-pricing, #s-faq, #s4 {
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .hybrid-wrap, .verify-wrap, .portfolio-wrap,
  .slide-inner, .cta-card, .sc, .faq-wrap {
    background: rgba(3,3,10,0.45) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
    border: 0.5px solid rgba(255,255,255,0.07) !important;
  }
  .case-card, .mcell {
    background: rgba(3,3,10,0.35) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
  }

  /* ── HERO: centered vertical stack ──────────────────────────────── */
  #hero { overflow: hidden; }
  #scroll-bar { display: none; }

  /* Neon glow on MIZAR // CORE SVG title */
  #mobile-brand-svg {
    filter: drop-shadow(0 0 12px rgba(200,160,255,0.9))
            drop-shadow(0 0 30px rgba(180,100,255,0.6))
            drop-shadow(0 0 60px rgba(160,80,255,0.3)) !important;
  }

  /* Hero subtitle — hidden on mobile */
  #hero-sub {
    display: none !important;
    position: absolute !important;
    bottom: 22% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: clamp(0.9rem, 3.5vw, 1.1rem) !important;
    color: rgba(255,255,255,0.88) !important;
    font-weight: 400 !important;
    text-align: center !important;
    padding: 0 1.5rem !important;
    text-shadow: 0 0 20px rgba(3,3,10,0.9) !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: unset !important;
    transition: none !important;
  }

  #mobile-title {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: auto !important;
    top: 8% !important;
    left: 50%;
    right: auto;
    transform: translateX(-50%) !important;
    padding: 0 1.5rem;
    text-align: center;
    z-index: 6;
    width: 100%;
  }
  .mobile-h1 { display: none; }
  .mobile-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(110,110,115,0.9);
    letter-spacing: 0.04em;
    margin-top: 0.3rem;
  }

  /* Dynamic rotating headline */
  #dynamic-headline {
    bottom: 8% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1rem !important;
    opacity: 1;
    transition: none;
    position: absolute;
  }
  #dynamic-headline::before {
    content: '';
    position: absolute;
    inset: -30px -20px;
    background: radial-gradient(ellipse at center,
      rgba(180,100,255,0.08) 0%,
      transparent 70%);
    pointer-events: none;
    z-index: -1;
  }
  #dynamic-headline .headline-static {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem) !important;
    color: rgba(255,255,255,0.98) !important;
    text-shadow: 0 0 40px rgba(180,100,255,0.5), 0 0 80px rgba(180,100,255,0.2) !important;
  }
  .headline-dynamic {
    height: clamp(2.2rem, 7vw, 3rem) !important;
  }
  .headline-dynamic .word {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem) !important;
    filter: drop-shadow(0 0 16px rgba(196,30,14,0.6)) drop-shadow(0 0 32px rgba(196,30,14,0.3)) !important;
  }

  /* HUD ticker */
  #h1c, #h2c, #h3c, #h4c { display: none !important; visibility: hidden !important; }
  #mobile-hud-ticker { display: none !important; }
  .ticker-inner {
    display: flex;
    animation: tickerScroll 18s linear infinite;
    will-change: transform;
  }
  .ticker-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
    padding: 6px 12px;
    border: 0.5px solid rgba(255,255,255,0.08);
    background: rgba(8,6,20,0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    margin-right: 8px;
    flex-shrink: 0;
  }
  .ticker-item em {
    color: #C41E0E;
    font-style: normal;
    margin-right: 6px;
  }

  /* ── #s2 HYBRID MANIFESTO: vertical stream ───────────────────────── */
  #s2, #s4, #s-work, #s-pricing, #s-verify {
    padding: 3rem 1.2rem !important;
  }
  .hybrid-header { margin-bottom: 1.8rem; }
  .hybrid-grid {
    grid-template-columns: 1fr;
    background: transparent;
    border: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hybrid-col {
    border-right: none;
    border-left: none;
    border-bottom: 1px solid #C41E0E;
    padding: 2rem 0.5rem;
  }
  .hybrid-col:last-child { border-bottom: none; }
  .hybrid-col-center { border-left: none; }
  .hybrid-word {
    font-size: clamp(2.2rem, 10vw, 3rem);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16,1,0.3,1);
  }
  .hybrid-word.mob-in {
    opacity: 1;
    transform: translateY(0);
  }
  .hybrid-label {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
  }
  .hybrid-label.mob-in {
    opacity: 1;
    transform: translateY(0);
  }
  .hybrid-desc {
    opacity: 0.18;
    transition: opacity 0.45s ease 0.18s;
  }
  .hybrid-desc.mob-in { opacity: 1; }

  /* ── #s-work: SHOW SWIPER, HIDE DESKTOP LAYOUT ───────────────────── */
  .portfolio-wrap { display: none !important; }
  .mobile-swiper-hub {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  .swiper-header {
    padding: 0 0 1.5rem;
  }
  .swiper-track {
    display: flex;
    gap: 12px;
    width: 100%;
    transition: transform 0.42s cubic-bezier(0.16,1,0.3,1);
    will-change: transform;
    touch-action: pan-y;
  }
  .swiper-slide-m {
    min-width: 85vw;
    width: 85vw;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
  }
  .slide-visual {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: rgba(8,6,20,0.95);
    border: 0.5px solid rgba(180,120,255,0.18);
    border-bottom: none;
  }
  .slide-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(180,120,255,0.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(180,120,255,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 1;
    pointer-events: none;
  }
  .slide-iframe-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
  }
  .slide-iframe-wrap iframe {
    width: 200%;
    height: 200%;
    transform: scale(0.5);
    transform-origin: top left;
    border: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
  }
  .slide-iframe-wrap iframe.loaded { opacity: 1; }
  .slide-data {
    padding: 1.2rem 1rem 1.5rem;
    background: rgba(3,3,10,0.97);
    border: 0.5px solid rgba(180,120,255,0.12);
    border-top: 1px solid rgba(196,30,14,0.2);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  .slide-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14em;
    color: #C41E0E;
    text-transform: uppercase;
  }
  .slide-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #E4E4E7;
    letter-spacing: -0.02em;
  }
  .slide-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.38);
  }
  .slide-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    margin-top: 0.2rem;
    display: inline-block;
  }
  .swiper-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .swiper-dot {
    color: rgba(255,255,255,0.22);
    cursor: pointer;
    transition: color 0.25s ease;
    padding: 6px 4px;
    -webkit-tap-highlight-color: transparent;
  }
  .swiper-dot.active { color: rgba(255,255,255,0.92); }
  .swiper-dot-sep { color: rgba(196,30,14,0.5); }

  /* ── PRICING: compact, high-contrast ────────────────────────────── */
  .metrics-grid { grid-template-columns: 1fr; }
  .sc, .metrics-grid { padding: 1.5rem 1rem !important; }
  .content-section { padding: 3rem 1.2rem !important; }
  .pricing-grid { grid-template-columns: 1fr; gap: 8px; }
  .pricing-card {
    padding: 1.53rem 1.27rem;
    background: rgba(5,5,8,0.92) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    backdrop-filter: blur(28px) !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .pricing-featured {
    border: 1px solid #C41E0E !important;
    box-shadow: 0 0 20px rgba(196,30,14,0.18), inset 0 0 40px rgba(196,30,14,0.04) !important;
  }
  /* Tighter slide-inner padding on mobile */
  .slide-inner {
    padding: 1.7rem 1.53rem !important;
  }
  .pricing-slide.featured .slide-inner {
    border: 1px solid #C41E0E !important;
  }

  /* ── VERIFICATION: touch-focus FAQ ──────────────────────────────── */
  .verify-wrap {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .qa-block {
    cursor: pointer;
    padding: 1rem 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
    transition: opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .qa-block:last-child { border-bottom: none; }
  .qa-block.mob-dimmed { opacity: 0.22; }
  .qa-a { transition: opacity 0.35s ease; }

  /* ── CTA: thumb-optimized ────────────────────────────────────────── */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  .cta-card { padding: 2.5rem 1.5rem; }
  .cta-btn-primary {
    min-height: 54px;
    font-size: 13px;
    letter-spacing: 0.08em;
    -webkit-tap-highlight-color: transparent;
  }
  .cta-btn-secondary {
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
  }
  .cta-magnetic { width: 100%; max-width: 320px; }
  .ctabox, .cta-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
  .cta-readout {
    font-size: 8px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ── TYPOGRAPHY CONTRAST IN GLASS CARDS ─────────────────────────── */
  .price-desc, .p-body, .hybrid-desc, .verify-context, .sb {
    color: #F4F4F5 !important;
    font-weight: 400 !important;
  }
  .price-list li {
    color: #F4F4F5 !important;
    font-weight: 400 !important;
  }

  /* ── SECTION PADDING — never clip to screen edge ────────────────── */
  #s2, #s3, #s-work, #s-pricing, #s-verify, #s-faq, #s4 {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .hybrid-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .ticker-item {
    border-left-width: 0.5px;
    border-right-width: 0.5px;
  }

  /* ── TECH FOOTER MARQUEE ─────────────────────────────────────────── */
  .mobile-footer-marquee {
    display: block;
    overflow: hidden;
    width: 100%;
    background: rgba(3,3,10,0.98);
    border-top: 0.5px solid rgba(255,255,255,0.05);
    padding: 5px 0;
    position: relative;
    z-index: 10;
  }
  .mobile-footer-marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: footerMarquee 22s linear infinite;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.28);
  }
  .mobile-footer-marquee-inner span { padding: 0 1.5rem; }
  .mobile-footer-marquee-inner em { color: rgba(196,30,14,0.8); font-style: normal; }
}

/* ── STRICT PADDING < 480px ──────────────────────────────────────────── */
@media (max-width: 480px) {
  #s2, #s3, #s-work, #s-pricing, #s-verify, #s-faq, #s4 {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .slide-inner, .hybrid-wrap, .verify-wrap, .cta-card, .sc {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .swiper-slide-m {
    min-width: 82vw;
    width: 82vw;
  }
}

@keyframes footerMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SAFARI iOS: gradient text fallback ──────────────────────────── */
@supports (-webkit-touch-callout: none) {
  #mobile-brand-svg text {
    fill: url(#chromeGrad);
  }
  .hybrid-word {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* ── SAFARI DESKTOP CURSOR ───────────────────────────────────────── */
@media not all and (hover: none) {
  #cur, #curt {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 768px) {
  #h1c, #h2c, #h3c, #h4c,
  .hud, [id^="h1"], [id^="h2"],
  [id^="h3"], [id^="h4"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (hover: hover) {
  #cur, #curt {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (pointer: fine) {
  html { cursor: none; }
  body { cursor: none; }
  a, button, [role="button"],
  .ctabox, .hud,
  .faq-item, .pricing-card {
    cursor: none !important;
  }
}

/* ── FROZEN GLASS PORTFOLIO ─────────────────────────────────────── */
.preview-placeholder {
  position: absolute;
  inset: 0;
  background: rgba(8,6,20,0.95);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: opacity 0.4s ease;
  z-index: 2;
}
.preview-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180,120,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,120,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.preview-hud-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  pointer-events: none;
}
.preview-hud-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(147,51,234,0.7);
  text-transform: uppercase;
}
.preview-hud-activate {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  border: 0.5px solid rgba(147,51,234,0.4);
  padding: 0.4rem 0.8rem;
  animation: hudPulse 2s ease-in-out infinite;
}
@keyframes hudPulse {
  0%, 100% { opacity: 0.6; border-color: rgba(147,51,234,0.4); }
  50% { opacity: 1; border-color: rgba(147,51,234,0.8); }
}
.preview-placeholder-content {
  position: relative;
  z-index: 3;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(3,3,10,0.98) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.preview-big-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.02em;
}
.preview-iframe-hidden {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease;
}
.preview-iframe-hidden.active {
  opacity: 1;
  z-index: 3;
}
.preview-placeholder.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ── DESKTOP STICKY CTA ─────────────────────────────────────────── */
#sticky-cta-desktop {
  position: fixed;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 99990;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
#sticky-cta-desktop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#sticky-cta-desktop-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(196,30,14,0.92);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 0.75rem 1.4rem;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(196,30,14,0.35), 0 4px 20px rgba(0,0,0,0.5);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.95);
  transition: box-shadow 0.3s ease;
}
#sticky-cta-desktop-btn:hover {
  box-shadow: 0 0 40px rgba(196,30,14,0.55), 0 4px 24px rgba(0,0,0,0.6);
}
@media (max-width: 768px) {
  #sticky-cta-desktop { display: none !important; }
}

@media (max-width: 768px) {
  .slide-inner {
    background: rgba(3,3,10,0.45) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
    border: 0.5px solid rgba(255,255,255,0.08) !important;
  }
  .hybrid-col {
    background: rgba(3,3,10,0.35) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
  }
  .sc {
    background: rgba(3,3,10,0.40) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    backdrop-filter: blur(14px) !important;
  }
  .cta-card {
    background: rgba(3,3,10,0.42) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
  }
  .faq-wrap, .verify-wrap {
    background: rgba(3,3,10,0.38) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    backdrop-filter: blur(14px) !important;
  }
  #s2, #s3, #s-work, #s-verify,
  #s-pricing, #s-faq, #s4 {
    background: transparent !important;
  }
  .content-section {
    background: transparent !important;
  }
}

@media (max-width: 768px) {
  html, body {
    background: transparent !important;
  }
  section,
  .content-section,
  #s2, #s3, #s-work, #s-verify,
  #s-pricing, #s-faq, #s4,
  .section-inner, .pricing-outer,
  .hybrid-outer, .work-outer {
    background: transparent !important;
    background-color: transparent !important;
  }
  .slide-inner,
  .hybrid-col,
  .sc,
  .cta-card,
  .faq-wrap,
  .verify-wrap {
    background: rgba(8,6,18,0.55) !important;
    background-color: rgba(8,6,18,0.55) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
    border: 0.5px solid rgba(255,255,255,0.08) !important;
  }
}



/* ── MOBILE DARK FALLBACK BG ─────────────────────────────────────── */
html, body {
  background: #03030a !important;
  background-color: #03030a !important;
}
#hero {
  background: #03030a !important;
}
