/* ============================================================
   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);
}

@supports (content-visibility: auto) {
  .section {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
  }
}

/* ── 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); }

/* ── Hamburger button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
}
.nav-hamburger-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.85);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

@media (max-width: 680px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1rem;
    gap: 2rem;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .nav-links.is-open { display: flex; }

  .nav-link { font-size: 0.82rem; letter-spacing: 0.22em; }

  .nav.is-open .nav-hamburger-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.is-open .nav-hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav.is-open .nav-hamburger-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ── 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;
}

@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;
}

.marquee-wrap-invert {
  background: var(--fg);
  border-top-color: rgba(8,8,8,0.12);
  border-bottom-color: rgba(8,8,8,0.12);
}

.marquee-wrap-invert .marquee-run {
  color: rgba(8,8,8,0.72);
}

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

/* ── SECTION HEADERS (bracket style) ────────────────────── */
.section-header {
  font-family: var(--font-mono);
  font-size: clamp(2.25rem, 5.5vw, 5rem);
  font-weight: 500;
  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.1rem, 1.15vw, 1.28rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  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.58);
  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(1.05rem, 1.15vw, 1.28rem);
  line-height: 1.72;
  color: rgba(8,8,8,0.72);
  max-width: 48rem;
  margin-top: 1.5rem;
}

.studio-select {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: rgba(8,8,8,0.52);
  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.3rem, 1.55vw, 1.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg-inv);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(8,8,8,0.68);
}

@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(1.05rem, 1.15vw, 1.28rem);
  line-height: 1.72;
  color: rgba(255,255,255,0.68);
  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: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
  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(1.05rem, 1.2vw, 1.28rem);
  color: rgba(8,8,8,0.68);
  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-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  min-height: clamp(24rem, 38vw, 32rem);
  background: #080808;
  color: #fff;
  border-color: rgba(0,0,0,0.72);
}

.garden-card-featured:hover {
  border-color: rgba(0,0,0,0.9);
  box-shadow: 0 18px 48px rgba(0,0,0,0.16);
}

.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-featured-copy {
  order: 2;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  background: #080808;
}

.garden-card-featured-image {
  order: 1;
  aspect-ratio: auto;
  min-height: 100%;
  background: #080808;
}

.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-type {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.74);
  z-index: 1;
}

.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.3rem, 1.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--fg-inv);
  margin-bottom: 0.75rem;
}

.garden-card-featured .garden-card-title {
  font-size: clamp(3.2rem, 7vw, 7.25rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: #fff;
  max-width: 9ch;
  margin-bottom: 0;
}

.garden-card-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(8,8,8,0.68);
  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);
}

@media (max-width: 900px) {
  .garden-card-featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .garden-card-featured-copy {
    order: 1;
    padding: clamp(2rem, 8vw, 3rem);
  }

  .garden-card-featured .garden-card-title {
    font-size: clamp(3rem, 14vw, 5rem);
    max-width: 8.5ch;
  }

  .garden-card-featured-image {
    order: 2;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}
.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; }
}

/* ── STUDIO CTA ──────────────────────────────────────────── */
.studio-cta {
  margin-top: clamp(2.5rem, 4vw, 4rem);
  display: flex;
  justify-content: center;
}

.frame-button {
  --frame-line: rgba(255,255,255,0.85);
  --frame-outline: rgba(255,255,255,0.16);
  --frame-outline-hover: rgba(255,255,255,0.3);
  --frame-surface: rgba(255,255,255,0.04);
  --frame-fill-start: rgba(255,255,255,0.98);
  --frame-fill-end: #6f86ff;
  --frame-text: #ffffff;
  --frame-hover-text: #080808;
  --frame-shadow: 0 14px 34px rgba(0,0,0,0.16);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--frame-outline);
  border-radius: 0;
  background: var(--frame-surface);
  color: var(--frame-text);
  padding: 1rem 2.25rem;
  min-width: clamp(15rem, 30vw, 18rem);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  transition:
    color 220ms var(--ease-out),
    transform 180ms var(--ease-out),
    border-color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    background 220ms var(--ease-out);
}

.frame-button::before,
.frame-button::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.frame-button::before {
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--frame-line) 1.5px, transparent 1.5px),
    linear-gradient(to right, var(--frame-line) 1.5px, transparent 1.5px),
    linear-gradient(to left, var(--frame-line) 1.5px, transparent 1.5px),
    linear-gradient(to left, var(--frame-line) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, var(--frame-line) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, var(--frame-line) 1.5px, transparent 1.5px),
    linear-gradient(to top, var(--frame-line) 1.5px, transparent 1.5px),
    linear-gradient(to top, var(--frame-line) 1.5px, transparent 1.5px);
  background-position: 0 0, 0 100%, 100% 0, 100% 100%, 0 0, 100% 0, 0 100%, 100% 100%;
  background-size: 16px 16px;
  background-repeat: no-repeat;
  opacity: 0.95;
  transition: opacity 180ms var(--ease-out);
}

.frame-button::after {
  z-index: 0;
  background: linear-gradient(135deg, var(--frame-fill-start), var(--frame-fill-end));
  opacity: 0;
  transform: scale(0.96);
  transform-origin: center;
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}

.frame-button-label,
.frame-button-arrow,
.contact-submit-text,
.contact-submit-arrow {
  position: relative;
  z-index: 1;
}

.frame-button-arrow,
.contact-submit-arrow {
  transition: transform 220ms var(--ease-out);
}

.frame-button:hover,
.frame-button:focus-visible {
  border-color: var(--frame-outline-hover);
  color: var(--frame-hover-text);
  transform: translateY(-2px);
  box-shadow: var(--frame-shadow);
}

.frame-button:hover::before,
.frame-button:focus-visible::before {
  opacity: 0;
}

.frame-button:hover::after,
.frame-button:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.frame-button:hover .frame-button-arrow,
.frame-button:focus-visible .frame-button-arrow,
.contact-submit:not(:disabled):hover .contact-submit-arrow,
.contact-submit:focus-visible .contact-submit-arrow {
  transform: translateX(3px);
}

.frame-button:active {
  transform: scale(0.98);
}

.frame-button:disabled,
.frame-button[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.frame-button--dark {
  --frame-line: rgba(8,8,8,0.8);
  --frame-outline: rgba(8,8,8,0.14);
  --frame-outline-hover: rgba(8,8,8,0.22);
  --frame-surface: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,245,245,0.88));
  --frame-fill-start: #080808;
  --frame-fill-end: #4054df;
  --frame-text: #080808;
  --frame-hover-text: #ffffff;
  --frame-shadow: 0 16px 36px rgba(8,8,8,0.16);
}

.frame-button--light {
  --frame-line: rgba(255,255,255,0.88);
  --frame-outline: rgba(255,255,255,0.16);
  --frame-outline-hover: rgba(255,255,255,0.34);
  --frame-surface: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  --frame-fill-start: #f5f6fb;
  --frame-fill-end: #6f86ff;
  --frame-text: #ffffff;
  --frame-hover-text: #080808;
  --frame-shadow: 0 20px 48px rgba(62, 90, 255, 0.18);
}

.studio-cta-btn {
  min-width: clamp(15rem, 28vw, 18rem);
}

@media (max-width: 520px) {
  .frame-button {
    width: min(100%, 22rem);
    padding-inline: 1.4rem;
    letter-spacing: 0.14em;
  }
}

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

/* Never let scroll-driven animations hide the contact block (children keep their own opacity, e.g. disabled button) */
.section-contact .contact-lead,
.section-contact .contact-form {
  opacity: 1 !important;
  animation: none !important;
}

.contact-section-title {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

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

.contact-lead {
  font-size: clamp(1.05rem, 1.15vw, 1.28rem);
  line-height: 1.72;
  color: rgba(255,255,255,0.68);
  max-width: 44rem;
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
}

.section-contact .statement {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 0;
}

.contact-form {
  max-width: 44rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

.contact-input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--fg);
  width: 100%;
  transition: border-color var(--t), background var(--t);
  outline: none;
  -webkit-appearance: none;
}

.contact-input::placeholder { color: rgba(255,255,255,0.35); }

.contact-input:focus {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.14);
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-submit {
  min-width: clamp(15rem, 32vw, 18rem);
  cursor: pointer;
}

.contact-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.contact-submit-arrow {
  font-size: 1rem;
}

.contact-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-align: center;
}

.contact-status.success { color: rgba(100, 220, 140, 0.85); }
.contact-status.error   { color: rgba(255, 100, 100, 0.85); }

.contact-marquee {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

/* ── CUSTOM AGENT OS PAGE ────────────────────────────────── */
.agent-os-page {
  background:
    radial-gradient(circle at top, rgba(111,134,255,0.08), transparent 32%),
    var(--bg);
}

.agent-os-hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: clamp(4rem, 10vw, 8rem);
  overflow: hidden;
}

.agent-os-hero::before,
.agent-os-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.agent-os-hero::before {
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.18;
}

.agent-os-hero::after {
  top: 10%;
  right: -10rem;
  width: 28rem;
  height: 28rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(111,134,255,0.22), transparent 68%);
  filter: blur(10px);
}

.agent-os-hero-inner {
  width: min(calc(100% - (var(--gutter) * 2)), 84rem);
  margin-inline: auto;
  position: relative;
  z-index: 1;
  display: block;
}

.agent-os-hero-copy {
  max-width: 56rem;
}

.agent-os-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.agent-os-kicker::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: rgba(111,134,255,0.72);
}

.agent-os-title {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}

.agent-os-title-accent {
  color: var(--accent);
}

.agent-os-subtitle {
  max-width: 42rem;
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.72;
  color: rgba(255,255,255,0.66);
}

.agent-os-subtitle strong {
  color: var(--fg);
  font-weight: 600;
}

.agent-os-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.agent-os-hero .frame-button {
  min-width: 0;
  padding: 1rem 1.5rem;
  border-color: rgba(111,134,255,0.5);
  background: linear-gradient(135deg, rgba(111,134,255,0.95), rgba(86,111,255,0.9));
  color: #fff;
  box-shadow: 0 14px 34px rgba(62, 90, 255, 0.2);
}

.agent-os-hero .frame-button::before,
.agent-os-hero .frame-button::after {
  display: none;
}

.agent-os-hero .frame-button:hover,
.agent-os-hero .frame-button:focus-visible {
  border-color: rgba(111,134,255,0.7);
  background: linear-gradient(135deg, rgba(129,149,255,1), rgba(86,111,255,0.96));
  color: #fff;
  box-shadow: 0 18px 38px rgba(62, 90, 255, 0.28);
}

.agent-os-actions .garden-page-back {
  margin-bottom: 0;
  color: rgba(255,255,255,0.74);
}

.agent-os-actions .garden-page-back:hover {
  color: var(--fg);
}

.agent-os-meta {
  display: grid;
  gap: 1rem;
}

.agent-os-quote {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.agent-os-quote-text {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.45;
  color: rgba(255,255,255,0.9);
}

.agent-os-quote-text span {
  color: var(--accent);
}

.agent-os-quote-attrib {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
}

.agent-os-quote-attrib::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: rgba(111,134,255,0.72);
}

.agent-os-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.agent-os-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}

.agent-os-section {
  border-top: 1px solid var(--border);
}

.agent-os-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

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

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

.agent-os-body p,
.agent-os-problem-body p {
  font-size: clamp(1.05rem, 1.18vw, 1.22rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.35rem;
}

.agent-os-body p:last-child,
.agent-os-problem-body p:last-child {
  margin-bottom: 0;
}

.agent-os-body strong,
.agent-os-problem-body strong {
  color: var(--fg);
  font-weight: 600;
}

.agent-os-problem {
  background: var(--fg);
  color: var(--fg-inv);
  border-top-color: rgba(8,8,8,0.08);
}

.agent-os-problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.agent-os-problem-title {
  font-size: clamp(2.8rem, 6vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.agent-os-problem-title span {
  color: #4054df;
}

.agent-os-problem-body p {
  color: rgba(8,8,8,0.66);
}

.agent-os-problem-body strong {
  color: var(--fg-inv);
}

.agent-os-process-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.agent-os-process-note {
  max-width: 16rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.agent-os-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.agent-os-step {
  background: rgba(255,255,255,0.02);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  min-height: 100%;
  transition: background var(--t), border-color var(--t);
}

.agent-os-step:hover {
  background: rgba(111,134,255,0.06);
}

.agent-os-step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.26);
  margin-bottom: 1.25rem;
}

.agent-os-step-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(111,134,255,0.28);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.agent-os-step-title {
  font-size: clamp(1.4rem, 1.7vw, 1.9rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

.agent-os-step-body {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
}

.agent-os-capabilities {
  background: var(--fg);
  color: var(--fg-inv);
  border-top-color: rgba(8,8,8,0.08);
}

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

.agent-os-cap-head .section-header,
.agent-os-fit-head .section-header {
  color: var(--fg-inv);
}

.agent-os-cap-lead,
.agent-os-fit-lead,
.agent-os-contact-lead {
  max-width: 44rem;
  font-size: clamp(1.05rem, 1.15vw, 1.22rem);
  line-height: 1.72;
  margin-top: 1.25rem;
  color: rgba(8,8,8,0.66);
}

.agent-os-cap-grid,
.agent-os-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(8,8,8,0.08);
  border: 1px solid rgba(8,8,8,0.08);
  border-radius: var(--r);
  overflow: hidden;
}

.agent-os-cap-card,
.agent-os-fit-card {
  background: #fff;
  padding: clamp(1.5rem, 2.6vw, 2.15rem);
}

.agent-os-cap-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background var(--t);
}

.agent-os-cap-card:hover {
  background: #f7f8ff;
}

.agent-os-cap-icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8,8,8,0.1);
  color: #4054df;
}

.agent-os-cap-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agent-os-cap-title,
.agent-os-fit-title {
  font-size: clamp(1.25rem, 1.5vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-inv);
  margin-bottom: 0.6rem;
}

.agent-os-cap-body,
.agent-os-fit-list li {
  font-size: 0.98rem;
  line-height: 1.72;
  color: rgba(8,8,8,0.62);
}

.agent-os-fit {
  background: var(--fg);
  color: var(--fg-inv);
  border-top-color: rgba(8,8,8,0.08);
}

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

.agent-os-fit-card {
  min-height: 100%;
}

.agent-os-fit-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.agent-os-fit-card.is-yes .agent-os-fit-label {
  color: #4054df;
}

.agent-os-fit-card.is-no .agent-os-fit-label {
  color: rgba(8,8,8,0.42);
}

.agent-os-fit-list {
  display: grid;
  gap: 0.85rem;
}

.agent-os-fit-list li {
  position: relative;
  padding-left: 1.35rem;
}

.agent-os-fit-list li::before {
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.agent-os-fit-card.is-yes .agent-os-fit-list li::before {
  content: '+';
  color: #4054df;
}

.agent-os-fit-card.is-no .agent-os-fit-list li::before {
  content: 'x';
  color: rgba(8,8,8,0.26);
}

.agent-os-contact {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)), var(--bg);
}

.agent-os-contact-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.agent-os-contact-head .section-header {
  color: var(--fg);
}

.agent-os-contact-lead {
  color: rgba(255,255,255,0.68);
}

.agent-os-contact .contact-lead {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.agent-os-contact .contact-form {
  max-width: 46rem;
}

.agent-os-contact .contact-label {
  color: rgba(255,255,255,0.52);
}

.agent-os-contact .contact-input {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
}

.agent-os-contact .contact-input::placeholder {
  color: rgba(255,255,255,0.42);
}

.agent-os-contact .contact-input:focus {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.38);
}

.agent-os-closing {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--fg);
  border-top: 1px solid rgba(8,8,8,0.08);
  text-align: center;
}

.agent-os-closing-mark {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--fg-inv);
}

.agent-os-closing-mark span {
  color: rgba(8,8,8,0.32);
}

.agent-os-closing-copy {
  max-width: 36rem;
  margin: 1rem auto 0;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.75;
  color: rgba(8,8,8,0.62);
}

/* ── POD + ADVISORY SERVICE PAGES ─────────────────────────── */
.agent-os-pricing {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)), var(--bg-alt);
}

.agent-os-pricing-table {
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--border);
}

.agent-os-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(8rem, 0.5fr);
  gap: 1rem;
  align-items: center;
  background: var(--bg);
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
}

.agent-os-price-row.is-featured {
  background: linear-gradient(135deg, rgba(111,134,255,0.16), rgba(255,255,255,0.03));
}

.agent-os-price-name {
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.agent-os-price-note {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.54);
  line-height: 1.6;
}

.agent-os-price-rate {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: -0.04em;
  color: var(--fg);
  white-space: nowrap;
}

.agent-os-price-row.is-featured .agent-os-price-rate,
.agent-os-price-row.is-featured .agent-os-price-name {
  color: var(--accent);
}

.agent-os-note {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

.advisory-page .agent-os-title {
  font-family: 'Bebas Neue', var(--font-sans);
  font-size: clamp(5.25rem, 13vw, 11rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  max-width: 74rem;
}

.advisory-page .agent-os-title-accent {
  display: block;
}

.advisory-page .agent-os-subtitle {
  max-width: 48rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 1.8vw, 1.58rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

.advisory-page .agent-os-subtitle strong {
  font-family: var(--font-sans);
  font-size: 0.92em;
}

.advisory-section-title {
  font-family: 'Bebas Neue', var(--font-sans);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--fg);
}

.advisory-section-title::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: rgba(111,134,255,0.72);
  margin-bottom: 1.5rem;
}

.agent-os-capabilities .advisory-section-title,
.agent-os-fit .advisory-section-title {
  color: var(--fg-inv);
}

.agent-os-contact-head .advisory-section-title::before {
  margin-inline: auto;
}

.advisory-row-stack {
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--border);
}

.advisory-row {
  display: grid;
  grid-template-columns: minmax(4rem, 0.25fr) minmax(12rem, 0.7fr) minmax(0, 1.6fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
  background: rgba(255,255,255,0.02);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: background var(--t);
}

.advisory-row:hover {
  background: rgba(111,134,255,0.06);
}

.advisory-row-num,
.advisory-lineage-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.advisory-row-title {
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.advisory-row-body {
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.72;
  color: rgba(255,255,255,0.62);
}

.advisory-row-body strong {
  display: block;
  color: var(--fg);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.agent-os-capabilities .advisory-row-stack {
  border-color: rgba(8,8,8,0.08);
  background: rgba(8,8,8,0.08);
}

.agent-os-capabilities .advisory-row {
  background: #fff;
}

.agent-os-capabilities .advisory-row:hover {
  background: #f7f8ff;
}

.agent-os-capabilities .advisory-row-title {
  color: var(--fg-inv);
}

.agent-os-capabilities .advisory-row-body {
  color: rgba(8,8,8,0.62);
}

.agent-os-capabilities .advisory-row-body strong {
  color: var(--fg-inv);
}

.advisory-page .agent-os-fit {
  background: var(--bg);
  color: var(--fg);
  border-top-color: var(--border);
}

.advisory-page .agent-os-fit .advisory-section-title {
  color: var(--fg);
}

.advisory-page .agent-os-fit-lead {
  color: rgba(255,255,255,0.68);
}

.advisory-page .agent-os-fit-grid {
  border-color: var(--border);
  background: var(--border);
}

.advisory-page .agent-os-fit-card {
  background: rgba(255,255,255,0.02);
  transition: background var(--t);
}

.advisory-page .agent-os-fit-card:hover {
  background: rgba(111,134,255,0.06);
}

.advisory-page .agent-os-fit-title {
  color: var(--fg);
}

.advisory-page .agent-os-fit-list li {
  color: rgba(255,255,255,0.64);
}

.advisory-page .agent-os-fit-card.is-no .agent-os-fit-label {
  color: rgba(255,255,255,0.42);
}

.advisory-page .agent-os-fit-card.is-no .agent-os-fit-list li::before {
  color: rgba(255,255,255,0.28);
}

/* ── Advisory: fit section (meridian layout, not two-card grid) ── */
.advisory-page .advisory-fit {
  position: relative;
  overflow: hidden;
}

.advisory-page .advisory-fit > .container {
  position: relative;
  z-index: 1;
}

.advisory-page .advisory-fit::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 60% at 50% -10%, rgba(111,134,255,0.12), transparent 58%),
    radial-gradient(ellipse 50% 45% at 100% 50%, rgba(255,255,255,0.04), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.advisory-fit-meridian {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
}

.advisory-fit-spine {
  width: 1px;
  align-self: stretch;
  min-height: 12rem;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(111,134,255,0.55) 18%,
    rgba(111,134,255,0.55) 82%,
    transparent
  );
  opacity: 0.85;
}

.advisory-fit-pole {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: flex-start;
  min-width: 0;
}

.advisory-fit-pole-mark {
  flex: 0 0 auto;
  font-family: 'Bebas Neue', var(--font-sans);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.82;
  letter-spacing: 0.02em;
  user-select: none;
}

.advisory-fit-pole.is-yes .advisory-fit-pole-mark {
  color: rgba(111,134,255,0.22);
}

.advisory-fit-pole.is-no .advisory-fit-pole-mark {
  color: rgba(255,255,255,0.08);
}

.advisory-fit-pole-inner {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.35rem;
}

.advisory-fit-pole-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.advisory-fit-pole.is-yes .advisory-fit-pole-label {
  color: rgba(111,134,255,0.85);
}

.advisory-fit-pole-thesis {
  font-family: 'Bebas Neue', var(--font-sans);
  font-size: clamp(1.85rem, 2.8vw, 2.65rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 0.25rem;
}

.advisory-fit-lines {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.5rem;
}

.advisory-fit-line {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.advisory-fit-line:first-of-type {
  border-top-color: rgba(111,134,255,0.22);
}

.advisory-fit-line-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(111,134,255,0.75);
  padding-top: 0.15rem;
}

.advisory-fit-pole.is-no .advisory-fit-line-num {
  color: rgba(255,255,255,0.32);
}

.advisory-fit-line p {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.68);
}

.advisory-lineage {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)), var(--bg-alt);
}

.advisory-lineage-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.advisory-lineage-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin-top: 1rem;
}

.advisory-lineage-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.advisory-lineage-name {
  display: inline-flex;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
}

.advisory-lineage-name.is-accent {
  color: var(--accent);
  border-color: rgba(111,134,255,0.34);
}

@media (max-width: 900px) {
  .agent-os-grid,
  .agent-os-problem-grid {
    grid-template-columns: 1fr;
  }

  .agent-os-sticky {
    position: static;
  }

  .agent-os-process-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-os-steps,
  .agent-os-cap-grid,
  .agent-os-fit-grid,
  .advisory-row,
  .advisory-lineage-grid {
    grid-template-columns: 1fr;
  }

  .advisory-fit-meridian {
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 6vw, 3.5rem);
  }

  .advisory-fit-spine {
    display: none;
  }

  .advisory-fit-pole.is-no {
    padding-top: clamp(2rem, 5vw, 3rem);
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 680px) {
  .agent-os-hero {
    padding-top: calc(var(--nav-h) + 1rem);
  }

  .agent-os-title {
    font-size: clamp(3rem, 18vw, 4.75rem);
  }

  .agent-os-actions .frame-button {
    width: auto;
  }

  .agent-os-price-row {
    grid-template-columns: 1fr;
  }

  .agent-os-price-rate {
    justify-self: start;
  }
}
