/* ============================================================
   ASCENDANCE STUDIOS — Style System
   Black & White Minimalist, Editorial, Bold
   ============================================================ */

/* ── Base Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background: #080808;
}

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  background: #080808;
  min-height: 100dvh;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
ul { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }

::selection { background: #fff; color: #080808; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: #333; }
::-webkit-scrollbar-thumb:hover { background: #555; }

:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Colors */
  --bg: #080808;
  --bg-alt: #0f0f0f;
  --bg-inv: #ffffff;
  --fg: #ffffff;
  --fg-inv: #080808;
  --fg-muted: rgba(255,255,255,0.55);
  --fg-faint: rgba(255,255,255,0.28);
  --border: rgba(255,255,255,0.10);
  --border-soft: rgba(255,255,255,0.06);
  --accent: #6f86ff;

  /* Spacing */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --nav-h: clamp(4rem, 6vw, 5.5rem);

  /* Sections */
  --section-pad: clamp(5rem, 10vw, 9rem);

  /* Radius */
  --r: 1rem;
  --r-sm: 0.625rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --t: 180ms var(--ease-out);
}

/* ── Layout Utils ────────────────────────────────────────── */
.container {
  width: min(calc(100% - (var(--gutter) * 2)), 84rem);
  margin-inline: auto;
}

.container-narrow {
  width: min(calc(100% - (var(--gutter) * 2)), 52rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
}

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-inner {
  width: min(calc(100% - (var(--gutter) * 2)), 84rem);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  opacity: 0.9;
  transition: opacity var(--t);
}
.nav-logo:hover { opacity: 1; }

.nav-logo-img {
  width: clamp(18px, 2vw, 24px);
  height: auto;
}

.nav-logo-text {
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 0.8vw, 0.8rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  transition: color var(--t);
}
.nav-logo:hover .nav-logo-text { color: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color var(--t);
}
.nav-link:hover { color: var(--fg); }

@media (max-width: 540px) {
  .nav-links { display: none; }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background layers */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }

.hero-bg-base {
  position: absolute; inset: 0;
  background: var(--bg);
}

/* ── Video background ── */
.hero-video-wrap {
  position: absolute; inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: grayscale(1) brightness(0.85) contrast(1.1);
  animation: vid-breathe 6s ease-in-out infinite;
  will-change: opacity;
}

@keyframes vid-breathe {
  0%, 100% { opacity: 0.22; }
  50%       { opacity: 0.32; }
}

/* Rare glitch flash overlay */
.hero-video-glitch {
  position: absolute; inset: 0;
  pointer-events: none;
  animation: vid-glitch 14s steps(1, end) infinite;
  opacity: 0;
}

@keyframes vid-glitch {
  /* idle most of the time */
  0%    { opacity: 0; clip-path: none; }
  /* glitch burst 1 */
  72%   { opacity: 0; clip-path: none; }
  72.3% { opacity: 0.07; clip-path: inset(18% 0 60% 0); }
  72.6% { opacity: 0;    clip-path: none; }
  72.9% { opacity: 0.05; clip-path: inset(62% 0 12% 0); }
  73.2% { opacity: 0;    clip-path: none; }
  /* glitch burst 2 */
  88%   { opacity: 0; clip-path: none; }
  88.2% { opacity: 0.06; clip-path: inset(40% 0 35% 0); }
  88.5% { opacity: 0;    clip-path: none; }
  100%  { opacity: 0; }
}

.hero-bg-grid {
  position: absolute; inset: 0;
  opacity: 0.022;
  background-image:
    linear-gradient(to right, #fff 1px, transparent 1px),
    linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 100px 100px;
}

.hero-bg-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 9999px;
}

.hero-orb-1 {
  width: clamp(22rem, 40vw, 34rem);
  height: clamp(22rem, 40vw, 34rem);
  background: radial-gradient(circle, rgba(111,134,255,0.14) 0%, transparent 72%);
  animation: orb1 5s ease-in-out infinite;
}

.hero-orb-2 {
  width: clamp(16rem, 30vw, 25rem);
  height: clamp(16rem, 30vw, 25rem);
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 66%);
  animation: orb2 4.5s ease-in-out infinite 0.5s;
}

@keyframes orb1 {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50%       { transform: scale(1.08); opacity: 0.55; }
}
@keyframes orb2 {
  0%, 100% { transform: scale(1.02); opacity: 0.22; }
  50%       { transform: scale(0.98); opacity: 0.38; }
}

.hero-figure {
  position: relative;
  width: clamp(24rem, 42vw, 38rem);
  height: clamp(24rem, 42vw, 38rem);
  /* 12s cycle, first flash delayed 7s */
  animation: figure 12s ease-in-out infinite 7s;
  opacity: 0; /* hidden until first delay fires */
  /* Circular vignette mask — dissolves edges into background */
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at center, black 28%, transparent 72%);
  mask-image: radial-gradient(ellipse 62% 62% at center, black 28%, transparent 72%);
}

/* 0.8s visible window inside a 12s cycle
   In: 0–1.5% (~0.18s fade in)
   Hold: 1.5–5% (~0.8s at peak)
   Out: 5–8% (~0.36s fade out)
   Dark: 8–100% (~11s invisible) */
@keyframes figure {
  0%    { opacity: 0;    transform: scale(0.98); }
  1.5%  { opacity: 0.24; transform: scale(1);    }
  5%    { opacity: 0.24; transform: scale(1.01); }
  8%    { opacity: 0;    transform: scale(1.02); }
  100%  { opacity: 0;    transform: scale(0.98); }
}

.hero-figure-img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: invert(1) brightness(1.08) contrast(1.02);
}

/* Vignettes */
.hero-vignette-radial {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at center, transparent 20%, rgba(0,0,0,0.15) 42%, rgba(0,0,0,0.45) 65%, rgba(8,8,8,0.82) 84%, rgba(8,8,8,0.95) 100%);
}
.hero-vignette-ellipse {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 90% 78% at center, transparent 35%, rgba(8,8,8,0.5) 72%, rgba(8,8,8,0.92) 100%);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: var(--nav-h);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.hero-inner {
  width: min(calc(100% - (var(--gutter) * 2)), 84rem);
  margin-inline: auto;
  padding-top: clamp(3rem, 6vw, 6rem);
}

/* Entry animations */
[data-animate] { opacity: 0; }

[data-animate="fade-down"] {
  transform: translateY(-20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-animate="fade-up"] {
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

.hero-logo-mark {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.hero-logo-mark-img {
  width: clamp(42px, 4.5vw, 64px);
  height: auto;
}

.hero-heading {
  font-size: clamp(3.5rem, 12vw, 8.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-heading-muted { color: rgba(255,255,255,0.28); }

.hero-descriptor { max-width: 42rem; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1vw, 1rem);
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  align-items: baseline;
}

.hero-eyebrow-bracket { color: rgba(255,255,255,0.55); }
.hero-eyebrow-is { color: rgba(255,255,255,0.75); }
.hero-eyebrow-label { color: #fff; font-weight: 600; }

.hero-lead {
  font-size: clamp(1rem, 1.2vw, 1.35rem);
  line-height: 1.62;
  color: rgba(255,255,255,0.5);
}

/* ── MARQUEE ─────────────────────────────────────────────── */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 1.25rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-run {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  padding-inline: 1rem;
}

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

/* ── SECTION HEADERS (bracket style) ────────────────────── */
.section-header {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}

.section-header-inv { color: var(--fg); }

/* ── Bracket animation ───────────────────────────────────── */
/*
  Structure after JS transform:
  <h2 class="section-header bk-header">
    <span class="bk-open">[</span>
    <span class="bk-text">vision</span>
    <span class="bk-close">]</span>
  </h2>

  Before .bk-animate:
    [ and ] are translated inward (collapsed together)
    bk-text is invisible

  After .bk-animate:
    brackets slide apart to final positions
    text fades in
*/

.bk-header {
  display: inline-flex;
  align-items: baseline;
  overflow: visible;
}

/* Inline bracket elements (nav, footer, tagline) — preserve parent font/size */
.bk-inline.bk-header {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
  vertical-align: baseline;
}

.bk-open,
.bk-close {
  display: inline-block;
  /* Start collapsed — brackets nearly touching center */
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bk-text {
  display: inline-block;
  opacity: 0;
  /* Slight clip from center */
  clip-path: inset(0 8% 0 8%);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.22s,
    clip-path 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

/* Pre-animation state: brackets collapsed inward */
.bk-header:not(.bk-animate) .bk-open {
  transform: translateX(0.52em);
  opacity: 0.3;
}
.bk-header:not(.bk-animate) .bk-close {
  transform: translateX(-0.52em);
  opacity: 0.3;
}
.bk-header:not(.bk-animate) .bk-text {
  opacity: 0;
  clip-path: inset(0 8% 0 8%);
}

/* Animated state: brackets slide apart, text reveals */
.bk-header.bk-animate .bk-open {
  transform: translateX(0);
  opacity: 1;
}
.bk-header.bk-animate .bk-close {
  transform: translateX(0);
  opacity: 1;
}
.bk-header.bk-animate .bk-text {
  opacity: 1;
  clip-path: inset(0 0% 0 0%);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bk-open, .bk-close, .bk-text {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    clip-path: none !important;
  }
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.fade-in {
  opacity: 1; /* fallback */
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  @keyframes reveal-fade {
    to { opacity: 1; }
  }
}

/* Stagger hint for JS fallback */
.fade-in[data-delay-group] { transition-delay: calc(var(--i, 0) * 80ms); }

/* ── VISION SECTION ──────────────────────────────────────── */
.section-vision {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.vision-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.vision-left {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.vision-rule {
  width: 2rem;
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin-top: 1.5rem;
}

.vision-body {}

.vision-para {
  font-size: clamp(1.05rem, 1.1vw, 1.2rem);
  line-height: 1.78;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.5rem;
}

.vision-para strong em,
.vision-para em strong {
  color: #fff;
  font-style: italic;
  font-weight: 600;
}
.vision-para:last-of-type { margin-bottom: 0; }

.vision-tagline {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.42);
  margin-top: 2rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .vision-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .vision-left { position: static; }
}

/* ── STUDIO SECTION ──────────────────────────────────────── */
.section-studio {
  background: var(--fg);
  color: var(--fg-inv);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.section-studio .section-header-inv { color: var(--fg-inv); }

.studio-head { margin-bottom: clamp(3rem, 6vw, 5rem); }

.studio-lead {
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.65;
  color: rgba(8,8,8,0.6);
  max-width: 48rem;
  margin-top: 1.5rem;
}

.studio-select {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: rgba(8,8,8,0.38);
  margin-top: 1.75rem;
  font-style: italic;
}

/* Services grid — editorial asymmetric */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.service-card {
  grid-column: span 6;
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  background: #fff;
  border-right: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background var(--t);
}
.service-card:hover { background: #f8f8f8; }

/* Last card full-width */
.service-card:last-child {
  grid-column: span 12;
  border-right: none;
  border-bottom: none;
}

/* 4th card no right border at breakpoint */
.service-card:nth-child(2n) { border-right: none; }

.service-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: rgba(8,8,8,0.3);
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: clamp(1.25rem, 1.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg-inv);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(8,8,8,0.58);
}

@media (max-width: 640px) {
  .service-card { grid-column: span 12 !important; border-right: none; }
}

/* Trust bar */
.studio-trust {
  padding-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid rgba(0,0,0,0.1);
}

.studio-trust-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(8,8,8,0.32);
  margin-bottom: 1.25rem;
}

.studio-trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  opacity: 0.42;
}

.trust-pill {
  height: 2rem;
  width: 6rem;
  border-radius: 9999px;
  background: rgba(8,8,8,0.12);
}
.trust-pill-sm  { width: 5rem; }
.trust-pill-md  { width: 7rem; }
.trust-pill-lg  { width: 8rem; }
.trust-pill-xl  { width: 9rem; }

/* ── VENTURES SECTION ────────────────────────────────────── */
.section-ventures {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.ventures-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ventures-lead {
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 48rem;
  margin-top: 1.5rem;
}

.section-ventures .section-header {
  margin-bottom: 0;
}

/* Featured venture */
.venture-featured {
  display: block;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 1rem;
  padding: clamp(2.5rem, 4vw, 4rem);
  transition: border-color var(--t);
  cursor: pointer;
}
.venture-featured:hover { border-color: rgba(255,255,255,0.25); }

.venture-featured-inner { position: relative; z-index: 2; }

/* Featured card — text left, logo right */
.venture-featured-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.venture-featured-text {
  flex: 1 1 auto;
  min-width: 0;
}

.venture-featured-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.venture-featured-logo-img {
  width: clamp(9rem, 14vw, 16rem);
  height: auto;
  object-fit: contain;
  /* White mark PNG on transparent bg — screen blend makes it glow white */
  mix-blend-mode: screen;
  opacity: 0.88;
}

.venture-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 1.25rem;
}

.venture-featured-name {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.25rem;
}

.venture-featured-desc {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 38rem;
  margin-bottom: 2rem;
}

/* Accent glow top-right */
.venture-featured-accent {
  position: absolute;
  top: -6rem; right: -6rem;
  width: 22rem; height: 22rem;
  background: radial-gradient(circle, rgba(111,134,255,0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  transition: opacity var(--t);
}
.venture-featured:hover .venture-featured-accent { opacity: 1.4; }

/* Venture CTA */
.venture-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--t), gap var(--t);
}
a:hover .venture-cta { color: #fff; gap: 0.75rem; }

/* Ventures grid — 2×2 */
.ventures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .ventures-grid { grid-template-columns: 1fr; }
  .venture-featured-body { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .venture-featured-logo { width: 100%; justify-content: flex-start; }
  .venture-featured-logo-img { width: clamp(7rem, 40vw, 10rem); }
}

/* Stealth cards */
.venture-card-stealth {
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Scanline texture overlay */
.venture-card-stealth::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255,255,255,0.018) 3px,
    rgba(255,255,255,0.018) 4px
  );
  pointer-events: none;
  z-index: 0;
}

.venture-card-stealth .venture-card-inner {
  position: relative;
  z-index: 1;
}

.stealth-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1rem;
}

.stealth-name {
  /* Blurred/redacted feel */
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.28) !important;
}

.stealth-desc {
  color: rgba(255,255,255,0.22) !important;
  font-style: italic;
}

.venture-card-status {
  /* Already styled — stealth overrides nothing extra */
}

.stealth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding: 0.3rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  width: fit-content;
}

.stealth-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  animation: stealth-pulse 2.4s ease-in-out infinite;
}

@keyframes stealth-pulse {
  0%, 100% { opacity: 0.22; }
  50%       { opacity: 0.7; }
}

.venture-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  min-height: 16rem;
  transition: border-color var(--t);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.venture-card:hover { border-color: rgba(255,255,255,0.22); }

.venture-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.venture-card-logo {
  margin-bottom: 1.25rem;
  height: 2rem;
  display: flex;
  align-items: center;
}

.venture-logo-img {
  height: 100%;
  width: auto;
  max-width: 7rem;
  object-fit: contain;
  opacity: 0.72;
  filter: brightness(0) invert(1);
}

/* The Way — transparent PNG, colored mark, display directly */
.venture-logo-img.logo-png {
  filter: none;
  opacity: 0.88;
  max-width: 5.5rem;
  height: 3rem;
  object-fit: contain;
}

.venture-card-name {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.875rem;
}

.venture-card-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--fg-muted);
  flex: 1;
  margin-bottom: 0.875rem;
}

.venture-card-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--fg-faint);
  margin-bottom: 1.25rem;
}

/* ── GARDEN SECTION ──────────────────────────────────────── */
.section-garden {
  background: var(--fg);
  color: var(--fg-inv);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.section-garden .section-header-inv {
  color: var(--fg-inv);
}

.garden-head {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.garden-lead {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: rgba(8,8,8,0.55);
  margin-top: 1.25rem;
}

/* Garden cards grid */
.garden-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .garden-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .garden-grid { grid-template-columns: 1fr; }
}

.garden-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.garden-card:hover {
  border-color: rgba(0,0,0,0.22);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.garden-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}

.garden-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.garden-card:hover .garden-card-image img { transform: scale(1.04); }

.garden-card-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.28) 40%, transparent 80%);
}

.garden-card-image-empty { background: #0a0a0a; }

.garden-card-empty-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(111,134,255,0.18) 0%, transparent 65%),
              linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
}

.garden-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

.garden-card-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(8,8,8,0.38);
  margin-bottom: 0.875rem;
}

.garden-card-title {
  font-size: clamp(1.25rem, 1.5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--fg-inv);
  margin-bottom: 0.75rem;
}

.garden-card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(8,8,8,0.58);
  flex: 1;
}

.garden-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border: 1px solid rgba(8,8,8,0.15);
  border-radius: 9999px;
  color: rgba(8,8,8,0.72);
  margin-top: 1.25rem;
  transition: border-color var(--t), color var(--t);
}
.garden-card:hover .garden-card-arrow {
  border-color: rgba(8,8,8,0.35);
  color: var(--fg-inv);
}

/* ── STATEMENT SECTION ───────────────────────────────────── */
.section-statement {
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
  padding-block: clamp(6rem, 12vw, 12rem);
}

.statement {}

.statement-top {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: rgba(255,255,255,0.22);
  margin-bottom: 0.1em;
}

.statement-bottom {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--fg);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-icon { width: 16px; height: auto; opacity: 0.7; }

.footer-brand-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.52);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28);
}

.footer-pplx {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.28);
  transition: color var(--t);
}
.footer-pplx:hover { color: rgba(255,255,255,0.7); }

/* ── GARDEN PAGE (garden.html) ────────────────────────────── */
.garden-page-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.garden-page-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 32rem; height: 32rem;
  background: radial-gradient(circle, rgba(111,134,255,0.14) 0%, transparent 65%);
  filter: blur(48px);
  pointer-events: none;
}

.garden-page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.garden-page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 3rem;
  transition: color var(--t);
}
.garden-page-back:hover { color: var(--fg); }

.garden-page-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.garden-page-h1 {
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 1.5rem;
}

.garden-page-sub {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: italic;
  color: var(--fg-muted);
  max-width: 38rem;
  margin-inline: auto;
}

.garden-page-line {
  width: 1px;
  height: 5rem;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 3rem auto 0;
}

.garden-page-body {
  padding-block: var(--section-pad);
}

.garden-page-prose-lead {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.55;
  color: var(--fg);
  margin-bottom: 2rem;
}

.garden-page-accent { color: var(--accent); }

.garden-page-prose-body {
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.72;
  color: rgba(255,255,255,0.62);
  margin-bottom: 1.5rem;
}

.garden-anatomy-section {
  padding-block: var(--section-pad);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.anatomy-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-faint);
  text-align: center;
  margin-bottom: 3.5rem;
}

.anatomy-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 36rem;
  margin-inline: auto;
}

.anatomy-node {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  padding: 2rem 2.25rem;
  text-align: center;
}

.anatomy-node-accent {
  border-color: rgba(111,134,255,0.35);
}

.anatomy-connector {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(111,134,255,0.5), rgba(255,255,255,0.1));
}

.anatomy-connector-plain {
  background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
}

.anatomy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.anatomy-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--fg-faint);
  margin-bottom: 0.75rem;
}
.anatomy-node-accent .anatomy-code { color: var(--accent); }

.anatomy-code-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem; height: 4.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  margin-inline: auto;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}
.anatomy-node-accent .anatomy-code-circle { border-color: rgba(111,134,255,0.4); }

.anatomy-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}

.anatomy-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

.garden-scale-section {
  padding-block: var(--section-pad);
}

.garden-scale-h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.garden-scale-body {
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.72;
  color: rgba(255,255,255,0.62);
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.garden-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

@media (max-width: 680px) {
  .garden-examples-grid { grid-template-columns: 1fr; }
}

.garden-example-card {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: border-color var(--t), background var(--t);
}
.garden-example-card:hover {
  border-color: rgba(111,134,255,0.28);
  background: rgba(111,134,255,0.04);
}

.garden-example-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.garden-example-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.625rem;
}

.garden-example-desc {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

.garden-closing {
  padding-block: clamp(5rem, 10vw, 9rem);
  text-align: center;
  border-top: 1px solid var(--border);
}

.garden-closing-h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.garden-closing-h2-accent { color: var(--accent); }

.garden-closing-sub {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-style: italic;
  color: var(--fg-muted);
  max-width: 36rem;
  margin-inline: auto;
}

@media (max-width: 480px) {
  .anatomy-row { grid-template-columns: 1fr; }
}
