:root {
  --bg: #06040a;
  --surface: #120a1e;
  --surface-2: #1d1033;
  --border: rgba(167, 139, 250, 0.24);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --text: #f8f7fc;
  --muted: #c6bfd6;
  --text-secondary: #c6bfd6;
  --violet: #7c3aed;
  --violet-soft: #c4b5fd;
  --pink: #ff2a85;
  --paper: #f3f2f7;
  --paper-ink: #0d0914;
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Public Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a:focus-visible, button:focus-visible, [role="button"]:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #c084fc;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(196, 181, 253, 0.35);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Scroll-reactive Navbar + 2px Progress Line */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 4, 10, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.topbar.is-scrolled {
  background: rgba(10, 6, 18, 0.94);
  border-bottom-color: rgba(167, 139, 250, 0.38);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.topbar-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; transition: min-height 0.3s ease; }
.topbar.is-scrolled .topbar-inner { min-height: 62px; }
.topbar img { height: 34px; width: auto; display: block; filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.5)); }

.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  transform-origin: left center; transform: scaleX(0); pointer-events: none;
}

.scroll-progress-bar {
  position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  transform-origin: left center; transform: scaleX(0); pointer-events: none;
}

.menu-toggle {
  display: none; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; padding: 0.45rem 0.9rem;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; cursor: pointer;
}
.nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--text); }

@media (max-width: 840px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding: 1rem 0 1.25rem; border-top: 1px solid var(--border-subtle); gap: 0.9rem; }
  .nav.is-open { display: flex; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0 1.5rem; border-radius: 8px; font-weight: 700; font-size: 0.92rem;
  text-decoration: none; cursor: pointer; border: none; transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-neon {
  background: linear-gradient(135deg, #c4005c, #6d28d9);
  color: #ffffff; box-shadow: 0 8px 28px rgba(196, 0, 92, 0.35);
}
.btn-neon:hover { box-shadow: 0 12px 34px rgba(196, 0, 92, 0.55); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--violet-soft); color: #fff; }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  color: var(--violet-soft); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.9rem;
}

/* Video Hero */
.hero {
  position: relative; padding: 5rem 0 3.5rem; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.4; filter: contrast(1.08) saturate(1.12); z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.24), transparent 55%),
              linear-gradient(180deg, rgba(6,4,10,0.68) 0%, rgba(6,4,10,0.58) 55%, #06040a 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 0.97; letter-spacing: -0.025em;
  margin-bottom: 1.25rem; max-width: 14ch;
}
.hero h1 .word { display: inline-block; }
.hero h1 .accent-word {
  background: linear-gradient(90deg, #ffffff 0%, #f472b6 45%, #c4b5fd 85%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: text-shimmer 6s linear infinite;
}
@keyframes text-shimmer { to { background-position: 200% center; } }

.hero-sub { color: #e4dff0; font-size: 1.15rem; max-width: 56ch; margin-bottom: 1.9rem; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; margin-bottom: 2.5rem; }

.clarity-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.clarity-item,
.clarity-box {
  background: rgba(18, 10, 30, 0.8); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem 1.3rem;
  text-align: left;
}
.clarity-item span {
  display: block; font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--pink); margin-bottom: 0.3rem;
}
.clarity-item strong,
.clarity-box strong { display: block; font-size: 1rem; color: #fff; margin-bottom: 0.2rem; }
.clarity-item p,
.clarity-box span { display: block; font-size: 0.88rem; color: var(--muted); }

.motion-toggle {
  background: rgba(6,4,10,0.85); color: var(--text); border: 1px solid var(--border);
  border-radius: 6px; padding: 0.42rem 0.85rem; font-size: 0.78rem; font-weight: 600; cursor: pointer;
}

/* 1. Video Frame Expansion (#hero-feature) */
.hero-feature-section { padding: 3.5rem 0 4.5rem; border-bottom: 1px solid var(--border); background: #08050f; }
.hero-feature-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%; margin: 0 auto; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: #000; box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  cursor: pointer; will-change: width, border-radius, box-shadow;
}
.hero-feature-frame img, .hero-feature-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.hero-feature-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem; background: linear-gradient(180deg, transparent 35%, rgba(6, 4, 10, 0.88) 100%);
}
.hero-feature-overlay h2 {
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.3rem); margin-bottom: 0.4rem;
}
.hero-feature-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.65);
  background: rgba(124, 58, 237, 0.85); color: #fff; font-size: 1.75rem;
  display: grid; place-items: center; cursor: pointer; transition: transform 0.2s, background 0.2s;
}
.hero-feature-frame:hover .hero-feature-play { transform: translate(-50%, -50%) scale(1.08); background: var(--pink); border-color: #fff; }

/* 3. Scroll-Responsive Ticker */
.ticker-band {
  border-bottom: 1px solid var(--border); background: var(--surface);
  padding: 0.95rem 0; overflow: hidden; white-space: nowrap;
}
.ticker-track {
  display: inline-flex; font-family: var(--font-head); font-weight: 900; font-size: 0.95rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet-soft);
  will-change: transform;
}
.ticker-copy { display: inline-block; padding-right: 0.5rem; }

/* Sections & Mask-Wipe Headlines */
[id] { scroll-margin-top: 88px; }
section { padding: 5.25rem 0; overflow-x: clip; }
.section-head { margin-bottom: 2.75rem; max-width: 68ch; }
.section-head h2 {
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; margin-bottom: 0.65rem;
}
.section-head p { color: var(--muted); font-size: 1.04rem; }

.mask-line { display: block; overflow: hidden; }
.mask-inner { display: block; will-change: transform, clip-path; }

/* 4. Bento Card Motion + Pointer Spotlight (#who-how) */
.bento-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; overflow: hidden; }
@media (max-width: 860px) { .bento-2 { grid-template-columns: 1fr; } }
.bento-violet {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #1f1138, #110820);
  border: 1px solid var(--border); border-radius: 16px; padding: 2.6rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bento-violet::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(167, 139, 250, 0.22), transparent 65%);
}
@media (hover: hover) and (pointer: fine) {
  .bento-violet:hover::before { opacity: 1; }
}
.bento-violet > * { position: relative; z-index: 1; }
.bento-paper {
  background: var(--paper); color: var(--paper-ink);
  border-radius: 16px; padding: 2.6rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bento-violet h2, .bento-paper h2 {
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.7rem, 2.9vw, 2.35rem); line-height: 1.08; margin-bottom: 1rem;
}
.bento-violet p { color: var(--muted); font-size: 1.02rem; }
.bento-paper p { color: #342f42; font-size: 1.02rem; margin-bottom: 1rem; }

/* YouTube Grid */
.yt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.yt-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; cursor: pointer; transition: transform 0.25s, border-color 0.25s;
}
.yt-card:hover { transform: translateY(-4px); border-color: var(--pink); }
.yt-thumb-wrap,
.yt-thumb { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt-thumb-wrap img, .yt-thumb-wrap iframe,
.yt-thumb img, .yt-thumb iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.yt-play-btn,
.yt-play {
  position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.45); background: rgba(6,4,10,0.82); color: #fff;
  font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; transition: transform 0.2s, background 0.2s;
}
.yt-card:hover .yt-play-btn,
.yt-card:hover .yt-play { transform: scale(1.08); background: #c4005c; border-color: #fff; }
.yt-badge {
  position: absolute; top: 0.65rem; left: 0.65rem; font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 0.28rem 0.65rem; border-radius: 4px; background: rgba(6,4,10,0.85); color: var(--violet-soft);
}
.yt-cat {
  display: inline-block; font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--violet-soft); margin-bottom: 0.35rem;
}
.yt-meta { padding: 1.1rem 1.25rem; }
.yt-meta:has(.yt-index) { display: flex; gap: 0.75rem; align-items: center; }
.yt-index { font-family: var(--font-head); color: var(--pink); font-size: 0.9rem; font-weight: 900; }
.yt-meta h3 { font-size: 1.02rem; line-height: 1.3; }

/* 5. Assembling 2D Vector Grid + Case Study */
.case-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2.25rem; }
.case-meta-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.2rem; }
.case-meta-card strong { display: block; font-family: var(--font-head); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--violet-soft); margin-bottom: 0.35rem; }
.case-meta-card p { font-size: 0.9rem; color: var(--muted); }

.assemble-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.15rem; }
.assemble-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.vector-stage {
  aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 30%, rgba(124,58,237,0.22), #090611 75%);
  display: grid; place-items: center; padding: 1.5rem; border-bottom: 1px solid var(--border-subtle);
}
.vector-stage svg { width: 100%; max-width: 170px; height: auto; display: block; }
.assemble-item figcaption { padding: 1.1rem 1.2rem; font-size: 0.9rem; color: var(--muted); }
.assemble-item strong { display: block; color: var(--text); font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 0.25rem; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem; transition: border-color 0.25s, transform 0.25s;
}
.panel:hover { border-color: var(--pink); transform: translateY(-3px); }
.panel-num { font-family: var(--font-head); color: var(--pink); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 0.75rem; display: block; }
.panel h3 { font-family: var(--font-head); font-size: 1.35rem; margin-bottom: 0.65rem; }
.panel p { color: var(--muted); font-size: 0.95rem; }

/* Centered Stacked Contact Section */
.contact-centered { max-width: 680px; margin: 0 auto; text-align: center; }
.contact-centered h2 {
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.05; margin-bottom: 0.85rem;
}
.contact-details { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin: 1.25rem 0 2rem; font-size: 0.95rem; }
.contact-details a { color: var(--violet-soft); font-weight: 600; text-decoration: none; }
.contact-details a:hover { color: #fff; }
.form { display: grid; gap: 0.95rem; text-align: left; }
.form-row { display: grid; gap: 0.4rem; }
.form label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.95rem 1.05rem; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); font-family: inherit; font-size: 0.96rem;
}
.form textarea { min-height: 120px; }
.form-status { font-size: 0.88rem; color: var(--violet-soft); text-align: center; }

/* 6. Giant Bold Editorial Footer */
.mega-footer {
  border-top: 1px solid var(--border); background: #040207; padding: 4rem 0 2.5rem; overflow: hidden;
}
.mega-wordmark {
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.6rem, 15vw, 11.5rem); line-height: 0.88; letter-spacing: -0.03em;
  text-align: center; margin-bottom: 2.5rem; user-select: none;
  background: linear-gradient(180deg, #ffffff 30%, rgba(196, 181, 253, 0.4) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(124, 58, 237, 0.28));
  will-change: transform, opacity;
}
.foot-flex,
.footer-row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid var(--border-subtle); color: var(--muted); font-size: 0.86rem;
}
.foot-flex a,
.footer-row a { color: var(--muted); text-decoration: none; }
.foot-flex a:hover,
.footer-row a:hover { color: #fff; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }

.version-pill {
  position: fixed; bottom: 1rem; left: 1rem; z-index: 60;
  background: rgba(18, 10, 30, 0.94); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.4rem 0.75rem; display: flex; gap: 0.45rem; font-size: 0.78rem;
}
.version-pill a { color: var(--muted); text-decoration: none; padding: 0.2rem 0.5rem; border-radius: 999px; }
.version-pill a.active { background: var(--pink); color: #fff; }

.av-modal[hidden] { display: none; }
.av-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.5rem; }
.av-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.78); }
.av-modal-dialog {
  position: relative; max-width: 720px; width: 100%; max-height: 82vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem;
}
.av-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.av-modal-close { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; padding: 0.25rem 0.5rem; }
.av-modal-body h4 { margin: 1rem 0 0.35rem; color: var(--violet-soft); }
.av-modal-body p, .av-modal-body li { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.4rem; }
.av-modal-body ul { padding-left: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .accent-word { animation: none; }
  .scroll-progress-bar { display: none; }
}


/* === Preview B Upgrade: View Transitions, Controls, Portrait Depth & Portfolio === */
@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

.btn,
button,
summary {
  transition: transform 0.14s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #c084fc;
  outline-offset: 3px;
}
.btn:active,
button:active {
  transform: translateY(1px) scale(0.985);
}
.btn.is-loading {
  opacity: 0.72;
  pointer-events: none;
  cursor: wait;
}
.form-status.is-success {
  color: #86efac;
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(134, 239, 172, 0.35);
  padding: 10px 14px;
  border-radius: 10px;
}

.hero-media-toggle {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  background: rgba(10, 8, 18, 0.78);
  color: #f4f1ea;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.hero-media-toggle:hover {
  border-color: #a855f7;
  background: rgba(28, 16, 48, 0.9);
}

.ticker-band-wrap {
  position: relative;
}
.ticker-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(10, 8, 18, 0.85);
  color: #f4f1ea;
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.ticker-toggle:hover {
  background: #7c3aed;
  border-color: #c084fc;
}

.offer-routes {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.offer-route-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.offer-route-card--primary {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.2), rgba(16, 10, 28, 0.92));
  border-color: rgba(168, 85, 247, 0.55);
}
.offer-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8b4fe;
  margin-bottom: 6px;
}

.yt-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.yt-card:hover,
.yt-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.65);
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.18);
}
.yt-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.yt-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}
.yt-action-btn--play {
  background: #7c3aed;
  color: #fff;
  border: 1px solid #a855f7;
}
.yt-action-btn--case {
  background: rgba(255, 255, 255, 0.06);
  color: #f4f1ea;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.yt-action-btn--case:hover {
  border-color: #c084fc;
}

.founder-study {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
}
.founder-portrait-stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: #0d0816;
  aspect-ratio: 4 / 5;
  max-height: 440px;
  transform-style: preserve-3d;
}
.founder-layer-bg {
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle at 50% 32%, rgba(168, 85, 247, 0.36), rgba(10, 6, 18, 0.95) 70%);
  transform: translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -10px), 0);
  transition: transform 0.16s ease-out;
}
.founder-layer-fg {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04) translate3d(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 8px), 0);
  transition: transform 0.16s ease-out;
}
.founder-depth-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(10, 8, 18, 0.86);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #f4f1ea;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  transform: translate3d(calc(var(--px, 0) * 16px), calc(var(--py, 0) * 12px), 0);
  transition: transform 0.16s ease-out;
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .founder-layer-bg,
  .founder-layer-fg,
  .founder-depth-badge {
    transform: none !important;
  }
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 20px;
}
.faq-item[open] {
  border-color: rgba(168, 85, 247, 0.55);
  background: rgba(124, 58, 237, 0.08);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: #c084fc;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 12px 0 0;
  color: rgba(244, 241, 234, 0.85);
  line-height: 1.6;
}

.service-expand {
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}
.service-expand summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #d8b4fe;
}
.service-expand p {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: rgba(244, 241, 234, 0.82);
}

.case-hero-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.35);
  aspect-ratio: 16 / 9;
  background: #0d0816;
}
.case-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .offer-routes,
  .founder-study {
    grid-template-columns: 1fr;
  }
}


/* === Responsive Centering, 3-Route Offers, Mobile Nav & Landscape Tuning === */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}
.section-head .lead {
  margin-left: auto;
  margin-right: auto;
}
.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  justify-content: center;
}
.clarity-strip {
  width: 100%;
}
.offer-routes--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.faq-list {
  max-width: 780px;
  margin: 22px auto 0;
  text-align: left;
}
.faq-item p strong {
  color: #f4f1ea;
}

@media (max-width: 960px) {
  .offer-routes--three {
    grid-template-columns: 1fr;
  }
  .founder-study {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-portrait-stage {
    margin: 0 auto;
    max-width: 360px;
    width: 100%;
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    padding: 2.25rem 0 2rem;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 4.8vw, 2.8rem);
    margin-bottom: 0.75rem;
  }
  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  .clarity-strip {
    margin-top: 1.25rem;
  }
}

/* Subpage 2-column grid & cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  section {
    padding: 3.5rem 0;
  }
  .yt-grid,
  .cards,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .panel,
  .card,
  .offer-route-card,
  .bento-violet,
  .bento-paper {
    padding: 1.35rem;
  }
  .yt-meta {
    padding: 1rem;
  }
  .yt-action-btn {
    min-height: 40px;
    padding: 8px 14px;
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}
.card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Comprehensive reduced-motion support */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .topbar,
  .topbar-inner,
  .nav a,
  .btn,
  button,
  summary,
  .yt-card,
  .yt-play-btn,
  .yt-play,
  .panel,
  .hero-feature-play,
  .bento-violet::before,
  .founder-layer-bg,
  .founder-layer-fg,
  .founder-depth-badge {
    transition: none !important;
  }
  .btn:hover,
  .btn:active,
  button:active,
  .yt-card:hover,
  .yt-card:focus-within,
  .panel:hover,
  .hero-feature-frame:hover .hero-feature-play {
    transform: none !important;
  }
  .hero h1 .accent-word {
    animation: none !important;
  }
  .hero h1 .word,
  .mask-inner,
  .js-assemble-item {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
  }
  .scroll-progress,
  .scroll-progress-bar {
    display: none;
  }
  .share-trigger-btn,
  .share-action {
    transition: none !important;
  }
  .share-trigger-btn:hover,
  .share-action:hover {
    transform: none !important;
  }
}

/* One-Button Share / Repost Trigger & Dialog */
.share-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.45);
  background: rgba(109, 40, 217, 0.24);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.share-trigger-btn:hover {
  background: #6d28d9;
  border-color: #e9d5ff;
  transform: translateY(-1px);
}
.share-trigger-btn:focus-visible {
  outline: 2px solid #c084fc;
  outline-offset: 3px;
}

.share-modal[hidden] {
  display: none;
}
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.share-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 7, 0.82);
  backdrop-filter: blur(6px);
}
.share-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #120a1e;
  color: #f8f7fc;
  border: 1px solid rgba(167, 139, 250, 0.45);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}
.share-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.share-modal-header h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  line-height: 1.15;
  color: #ffffff;
}
.share-modal-close {
  min-width: 38px;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
}
.share-modal-close:hover {
  border-color: #c084fc;
  background: rgba(124, 58, 237, 0.35);
}
.share-modal-close:focus-visible {
  outline: 2px solid #c084fc;
  outline-offset: 2px;
}
.share-modal-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.15rem;
}
.share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.share-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: #1d1033;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.share-action:hover {
  transform: translateY(-1px);
  border-color: #e9d5ff;
  background: #2b164d;
}
.share-action:focus-visible {
  outline: 2px solid #c084fc;
  outline-offset: 2px;
}
.share-action--linkedin {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #c4005c, #6d28d9);
  border-color: rgba(255, 255, 255, 0.25);
}
.share-action--linkedin:hover {
  background: linear-gradient(135deg, #db0067, #7c3aed);
}
.share-feedback {
  margin-top: 0.85rem;
  min-height: 1.25em;
  font-size: 0.85rem;
  font-weight: 600;
  color: #86efac;
  text-align: center;
}
@media (max-width: 480px) {
  .share-grid {
    grid-template-columns: 1fr;
  }
  .share-modal-dialog {
    padding: 1.25rem;
  }
}

/* --- Phase 2-4 Additions: WebGL Hero, Spotlight Cards, Magnetic Cursor, Filters & Intake Wizard --- */
.hero-webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}
.hero-content { position: relative; z-index: 3; }
.hero-media-toggle { z-index: 4; }

.nav-util-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(167, 139, 250, 0.28);
  color: var(--anext-text, #f8f5f9);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.nav-util-btn:hover {
  border-color: var(--anext-accent, #a78bfa);
  background: rgba(167, 139, 250, 0.14);
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.filter-pill,
.wizard-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: var(--anext-text, #f8f5f9);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.filter-pill:hover,
.wizard-pill:hover {
  border-color: var(--anext-accent, #a78bfa);
  transform: translateY(-1px);
}
.filter-pill.is-active,
.wizard-pill.is-selected {
  background: var(--anext-primary, #5b21b6);
  border-color: var(--anext-accent, #a78bfa);
  color: #ffffff;
}

.spotlight-card {
  position: relative;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.22s;
  will-change: transform;
}
.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    260px circle at var(--mx, -200px) var(--my, -200px),
    rgba(167, 139, 250, 0.7),
    rgba(96, 165, 250, 0.25) 40%,
    transparent 70%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.spotlight-card:hover::before { opacity: 1; }

.yt-brief {
  font-size: 13px;
  line-height: 1.5;
  color: var(--anext-muted, #c7b8ca);
  margin: 6px 0 12px;
}

.av-mag-cursor {
  position: fixed;
  top: -38px;
  left: -38px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(91, 33, 182, 0.92);
  border: 1px solid rgba(167, 139, 250, 0.85);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease;
  box-shadow: 0 10px 30px rgba(91, 33, 182, 0.45);
}
.av-mag-cursor.is-active { opacity: 1; }

.wizard-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.wizard-dot {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--anext-muted, #c7b8ca);
}
.wizard-dot.is-active {
  border-color: var(--anext-accent, #a78bfa);
  color: #ffffff;
  background: rgba(91, 33, 182, 0.35);
}
.wizard-dot.is-done {
  border-color: rgba(96, 165, 250, 0.5);
  color: #93c5fd;
}
.wizard-label {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--anext-text, #f8f5f9);
}
.wizard-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wizard-nav {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: flex-end;
}
.wizard-summary {
  font-size: 12px;
  font-weight: 600;
  color: var(--anext-accent, #a78bfa);
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 0 0 14px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-webgl-canvas,
  .av-mag-cursor { display: none !important; }
  .spotlight-card { transform: none !important; }
}
