/* =========================================================
   DonaLabs — "The Observatory"  ·  multi-page system
   Dark, restrained, premium. Glow only where it's atmosphere.
   Display: Schibsted Grotesk · Body: Archivo · Labels: IBM Plex Mono
   ========================================================= */

:root {
  --bg: #0b0c0f;
  --bg-2: #0f1216;
  --surface: #13171c;
  --surface-2: #191e24;
  --ink: #f1ece3;
  --muted: #a7ada5;
  --faint: #6c726c;
  --line: rgba(241, 236, 227, 0.1);
  --line-soft: rgba(241, 236, 227, 0.05);

  /* muted-luminous jewel ventures */
  --health: #3ec795;
  --work: #7298ee;
  --learn: #e6a83f;
  --community: #f07e5b;

  /* deepened tones for light surfaces */
  --health-d: #0f7d5b;
  --work-d: #2f49c0;
  --learn-d: #9a6708;
  --community-d: #c2492a;

  --active: var(--health);
  --ring: color-mix(in srgb, var(--active) 75%, transparent);

  --font-display: "Schibsted Grotesk", "Archivo", sans-serif;
  --font-sans: "Archivo", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.68, 0.15, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  background-color: #08090b;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.002em;
  background: transparent;
  overflow-x: hidden;
}

/* observatory glow field — multi-colour by default */
body::after {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40rem 40rem at 84% -6%, color-mix(in srgb, var(--health) 13%, transparent) 0, transparent 58%),
    radial-gradient(34rem 34rem at 92% 52%, color-mix(in srgb, var(--work) 11%, transparent) 0, transparent 56%),
    radial-gradient(38rem 38rem at 12% 88%, color-mix(in srgb, var(--community) 10%, transparent) 0, transparent 58%),
    radial-gradient(30rem 30rem at 6% 14%, color-mix(in srgb, var(--learn) 8%, transparent) 0, transparent 55%);
  filter: blur(8px);
  animation: auroraDrift 44s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes auroraDrift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1.04) rotate(0deg);
  }
  50% {
    transform: translate3d(2%, 2%, 0) scale(1.1) rotate(2deg);
  }
  100% {
    transform: translate3d(1%, -2%, 0) scale(1.06) rotate(-2deg);
  }
}

/* film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
em {
  font-style: italic;
}
::selection {
  background: var(--active);
  color: #07080a;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 5px;
}
a:focus-visible,
.btn:focus-visible {
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip-link:focus {
  transform: translateY(0);
}

/* ---------- layout ---------- */
.container {
  width: min(var(--maxw), 90vw);
  margin: 0 auto;
}
.section {
  padding: clamp(3.5rem, 9vw, 8rem) 0;
  position: relative;
}
.section--tight {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--active);
  opacity: 0.85;
}

.section-lead {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.58;
}

/* section head with running index — used across inner pages */
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head h2 {
  max-width: 15ch;
}
.index-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.index-tag b {
  color: var(--active);
  font-weight: 500;
}

/* ---------- brand mark ---------- */
.mark {
  width: 1.45em;
  height: 1.45em;
  flex: none;
  display: block;
}
.mark circle {
  transform-box: fill-box;
  transform-origin: center;
}
.mark circle:nth-child(1) {
  fill: var(--health);
}
.mark circle:nth-child(2) {
  fill: var(--work);
}
.mark circle:nth-child(3) {
  fill: var(--learn);
}
.mark circle:nth-child(4) {
  fill: var(--community);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}
.brand .brand-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  align-self: center;
  padding-left: 0.7rem;
  margin-left: 0.2rem;
  border-left: 1px solid var(--line);
}
.site-nav {
  display: flex;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.site-nav a {
  color: var(--muted);
  position: relative;
  padding: 0.2rem 0;
  transition: color 0.25s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;
  background: var(--active);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* mobile menu toggle (hamburger) */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s var(--ease);
}
.menu-toggle:hover {
  border-color: color-mix(in srgb, var(--active) 55%, var(--line));
}
.menu-toggle .bar {
  width: 1.15rem;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.site-header.nav-open .menu-toggle .bar:nth-child(1) {
  transform: translateY(5.6px) rotate(45deg);
}
.site-header.nav-open .menu-toggle .bar:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .menu-toggle .bar:nth-child(3) {
  transform: translateY(-5.6px) rotate(-45deg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  min-height: 3rem;
  padding: 0 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--ink);
  color: #0a0b0d;
}
.btn-primary:hover {
  background: var(--active);
  color: #07080a;
  box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-secondary:hover {
  border-color: color-mix(in srgb, var(--active) 55%, var(--line));
  background: color-mix(in srgb, var(--active) 6%, transparent);
  transform: translateY(-2px);
}
.btn-nav {
  min-height: 2.6rem;
  padding: 0 1.3rem;
  background: var(--ink);
  color: #0a0b0d;
  font-size: 0.88rem;
}
.btn-nav:hover {
  background: var(--active);
  color: #07080a;
}
.btn .arrow {
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--active);
  width: fit-content;
  padding-bottom: 2px;
  border-bottom: 1.5px solid color-mix(in srgb, var(--active) 38%, transparent);
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow:hover {
  border-color: var(--active);
  gap: 0.85rem;
}

/* =========================================================
   HERO (home)
   ========================================================= */
.hero {
  padding-top: clamp(2.5rem, 7vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.hero-copy {
  min-width: 0;
}
.hero-visual {
  position: relative;
  min-height: clamp(360px, 42vw, 580px);
  opacity: 0;
  animation: riseIn 1.4s var(--ease) 0.4s forwards;
}
.constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.hero-title .thin {
  font-weight: 500;
  color: var(--muted);
}

.rotator {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}
.rot-sizer {
  visibility: hidden;
}
.rot-word {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  font-weight: 700;
  color: var(--v);
  text-shadow: 0 0 14px color-mix(in srgb, var(--v) 20%, transparent);
  opacity: 0;
  transform: translateY(0.4em) rotateX(-55deg);
  transform-origin: center bottom;
  animation: rotateWord 13s var(--ease) infinite;
  animation-delay: calc(var(--i) * 3.25s);
}
@keyframes rotateWord {
  0% {
    opacity: 0;
    transform: translateY(0.42em) rotateX(-55deg);
  }
  4%,
  21% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
  25%,
  100% {
    opacity: 0;
    transform: translateY(-0.42em) rotateX(55deg);
  }
}

.hero-lead {
  max-width: 44ch;
  margin-top: 2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  color: var(--muted);
  line-height: 1.58;
}
.hero-lead strong {
  color: var(--ink);
  font-weight: 600;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

/* principles ticker */
.principles {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-2) 55%, transparent);
}
.principles-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.principles-track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.principles-track b {
  color: var(--ink);
  font-weight: 700;
}
.principles-track .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c, var(--health));
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   HOME — routing cards + venture strip
   ========================================================= */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.nav-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  min-height: 15rem;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.nav-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--active) 40%, var(--line));
  background: var(--surface-2);
}
.nav-card .nc-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--active);
}
.nav-card h3 {
  font-size: 1.7rem;
  letter-spacing: -0.025em;
  margin-top: auto;
}
.nav-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.nav-card .nc-go {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: inline-flex;
  gap: 0.5rem;
  transition: gap 0.25s var(--ease);
}
.nav-card:hover .nc-go {
  gap: 0.9rem;
}

/* compact venture strip (home preview) */
.venture-strip {
  display: grid;
  border-top: 1px solid var(--line);
}
.vs-row {
  --v: var(--health);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2.6vw, 1.7rem) 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.vs-row:hover {
  background: color-mix(in srgb, var(--v) 6%, transparent);
  padding-left: 1.2rem;
}
.vs-row .vs-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--faint);
}
.vs-row .vs-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  letter-spacing: -0.025em;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.vs-row .vs-name::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 3px;
  background: var(--v);
  flex: none;
}
.vs-row .vs-focus {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v);
  text-align: right;
}
.vs-row .vs-go {
  color: var(--muted);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.vs-row:hover .vs-go {
  color: var(--v);
  transform: translateX(4px);
}

/* =========================================================
   PAGE HERO (inner pages) — asymmetric editorial
   ========================================================= */
.page-hero {
  padding-top: clamp(2.8rem, 7vw, 5.5rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
}
.page-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.page-index b {
  color: var(--active);
  font-weight: 500;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.02;
  max-width: 16ch;
  margin: 1.1rem 0 0;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--active);
  text-shadow: 0 0 16px color-mix(in srgb, var(--active) 20%, transparent);
}
.page-hero .lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
  line-height: 1.56;
  max-width: 46ch;
}
.page-hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.meta-row .m {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.meta-row .m dt {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.meta-row .m dd {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink);
}

/* =========================================================
   VENTURES (full list page)
   ========================================================= */
.ventures-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.ventures-head h2 {
  max-width: 14ch;
}

.venture-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.venture {
  --v: var(--health);
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.6fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 4.5vw, 3.4rem) clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease);
  overflow: hidden;
}
.venture::before {
  content: attr(data-index);
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9.5rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.3px color-mix(in srgb, var(--v) 38%, transparent);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.5s var(--ease), transform 0.6s var(--ease);
  z-index: 0;
}
.venture:hover {
  background: color-mix(in srgb, var(--v) 6%, transparent);
}
.venture:hover::before {
  -webkit-text-stroke-color: color-mix(in srgb, var(--v) 75%, transparent);
  transform: translateY(-6px);
}
.venture > * {
  position: relative;
  z-index: 1;
}
.venture::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--v);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.9s var(--ease) 0.12s;
  z-index: 2;
}
.venture.in::after {
  transform: scaleY(1);
}

.venture-aside {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.venture-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.venture-tag::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 3px;
  background: var(--v);
}
.venture-name {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.028em;
}
.venture-flag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
}
.venture-flag .pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--v) 50%, transparent);
  animation: pulse 2.8s var(--ease) infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--v) 45%, transparent);
  }
  70% {
    box-shadow: 0 0 0 7px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.venture-body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.venture-mission {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--ink);
  max-width: 34ch;
}
.venture-does {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.venture-does li {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.01em;
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.venture:hover .venture-does li {
  border-color: color-mix(in srgb, var(--v) 25%, var(--line));
}
.venture-does li:hover {
  color: var(--v);
  border-color: var(--v);
  background: color-mix(in srgb, var(--v) 10%, transparent);
}
.venture-vision {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--line);
}
.venture-vision b {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v);
  font-weight: 500;
  display: block;
  margin-bottom: 0.35rem;
}
.venture-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--v);
  padding-bottom: 2px;
  border-bottom: 1.5px solid color-mix(in srgb, var(--v) 38%, transparent);
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.venture-link:hover {
  border-color: var(--v);
  gap: 0.85rem;
}

/* =========================================================
   IN INCUBATION — future ventures
   ========================================================= */
.incubation {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background: color-mix(in srgb, var(--surface) 50%, transparent);
}
.incubation-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.incubation-top h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.022em;
}
.incubation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.inc-cell {
  background: var(--bg-2);
  padding: clamp(1.2rem, 2.4vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.inc-cell .inc-status {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.inc-cell .inc-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--faint);
  animation: pulse 3s var(--ease) infinite;
  --v: var(--muted);
}
.inc-cell h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.inc-cell p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* =========================================================
   RESEARCH
   ========================================================= */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.focus {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.focus:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--active) 40%, var(--line));
}
.focus .f-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--active);
}
.focus h3 {
  font-size: 1.3rem;
  letter-spacing: -0.022em;
}
.focus p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

/* methodology pipeline */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.flow-step {
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.2rem, 2.5vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
}
.flow-step .fs-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--active);
}
.flow-step h3 {
  font-size: 1.22rem;
  letter-spacing: -0.022em;
}
.flow-step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -0.7em;
  top: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--active);
  font-family: var(--font-mono);
  z-index: 3;
  background: var(--bg);
  padding: 0 0.15em;
}

/* big two-column statement block */
.statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.statement .big {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.022em;
}
.statement .body p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.statement .body p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   APPROACH STEPS / THESIS / STUDIO
   ========================================================= */
.approach-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.steps li {
  background: var(--surface);
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.2rem, 2.5vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.35s var(--ease);
}
.steps li:hover {
  background: var(--surface-2);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  color: var(--active);
}
.steps h3 {
  font-size: 1.28rem;
  letter-spacing: -0.022em;
}
.steps p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.thesis {
  --paper: #f4efe6;
  background: var(--paper);
  color: #15130f;
  border-radius: clamp(20px, 3vw, 30px);
  margin: 0 auto;
  width: min(var(--maxw), 92vw);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 110px -55px rgba(0, 0, 0, 0.85);
}
.thesis::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(28rem 28rem at 92% -10%, color-mix(in srgb, var(--health-d) 14%, transparent) 0, transparent 55%),
    radial-gradient(26rem 26rem at -5% 110%, color-mix(in srgb, var(--community-d) 12%, transparent) 0, transparent 55%);
  pointer-events: none;
}
.thesis > * {
  position: relative;
  z-index: 1;
}
.thesis .eyebrow {
  color: rgba(21, 19, 15, 0.5);
}
.thesis .eyebrow::before {
  background: var(--health-d);
}
.thesis h2 {
  color: #15130f;
  max-width: 18ch;
  margin: 1rem 0 2.5rem;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(21, 19, 15, 0.13);
  border: 1px solid rgba(21, 19, 15, 0.13);
  border-radius: var(--radius);
  overflow: hidden;
}
.thesis-cell {
  background: var(--paper);
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background 0.4s var(--ease);
}
.thesis-cell:hover {
  background: color-mix(in srgb, var(--c) 10%, var(--paper));
}
.thesis-cell .swatch {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 5px;
  background: var(--c);
}
.thesis-cell h3 {
  font-size: 1.2rem;
  color: #15130f;
  letter-spacing: -0.02em;
}
.thesis-cell .focus-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c);
  font-weight: 600;
}
.thesis-cell p {
  color: rgba(21, 19, 15, 0.62);
  font-size: 0.92rem;
  line-height: 1.45;
}
.thesis-cell em {
  color: #15130f;
  font-weight: 600;
}
.thesis-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.022em;
  max-width: 24ch;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  color: #15130f;
}
.thesis-quote .hl {
  background: linear-gradient(100deg, var(--health-d), var(--learn-d) 48%, var(--community-d));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* readable prose column (studio/about) */
.prose {
  max-width: 60ch;
}
.prose p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.prose p strong {
  color: var(--ink);
  font-weight: 600;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.value {
  background: var(--surface);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.value .v-k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--active);
}
.value h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.value p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-options {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-option {
  background: var(--surface);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-option .co-k {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--active);
}
.contact-option h3 {
  font-size: 1.3rem;
  letter-spacing: -0.022em;
}
.contact-option p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}
.contact-option a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  width: fit-content;
  transition: border-color 0.25s var(--ease);
}
.contact-option a:hover {
  border-color: var(--active);
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  text-align: center;
}
.final-cta .inner {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: clamp(20px, 3vw, 30px);
  padding: clamp(2.8rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.final-cta .inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(26rem 18rem at 50% -10%, color-mix(in srgb, var(--active) 16%, transparent), transparent 70%);
  pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  max-width: 18ch;
  margin: 0 auto 1.2rem;
  position: relative;
}
.final-cta p {
  max-width: 52ch;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.06rem;
  position: relative;
}
.final-cta .cta-row {
  justify-content: center;
  position: relative;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32ch;
}
.footer-brand .brand {
  font-size: 1.5rem;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
}
.colophon {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0.4rem;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.footer-col a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

/* =========================================================
   VENTURE-DETAIL PAGES (themeable via body.theme-*)
   ========================================================= */
body.theme-health {
  --active: var(--health);
}
body.theme-work {
  --active: var(--work);
}
body.theme-learn {
  --active: var(--learn);
}
body.theme-community {
  --active: var(--community);
}
body[class*="theme-"]::after {
  background:
    radial-gradient(40rem 40rem at 84% -6%, color-mix(in srgb, var(--active) 16%, transparent) 0, transparent 58%),
    radial-gradient(30rem 30rem at 10% 22%, color-mix(in srgb, var(--active) 9%, transparent) 0, transparent 56%),
    radial-gradient(32rem 32rem at 72% 90%, color-mix(in srgb, var(--active) 7%, transparent) 0, transparent 58%);
}

.ph-hero {
  padding-top: clamp(3.5rem, 9vw, 7rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.ph-hero .eyebrow {
  color: var(--active);
}
.ph-hero .eyebrow::before {
  background: var(--active);
}
.ph-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 1.4rem 0 1.6rem;
}
.ph-hero h1 em {
  font-style: normal;
  color: var(--active);
  text-shadow: 0 0 16px color-mix(in srgb, var(--active) 22%, transparent);
}
.ph-hero .hero-lead {
  max-width: 50ch;
  margin-top: 0;
}

.ph-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.ph-stat {
  background: var(--surface);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.ph-stat .n {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--active);
  line-height: 1;
}
.ph-stat .l {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: clamp(2rem, 5vw, 3rem);
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--active) 40%, var(--line));
  box-shadow: 0 24px 48px -30px rgba(0, 0, 0, 0.85);
}
.feature .ico {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--active) 14%, transparent);
  color: var(--active);
  margin-bottom: 0.3rem;
}
.feature .ico svg {
  width: 1.4rem;
  height: 1.4rem;
}
.feature h3 {
  font-size: 1.26rem;
  letter-spacing: -0.022em;
}
.feature p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.5;
}

.ph-audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: clamp(2rem, 5vw, 3rem);
}
.aud-card {
  background: linear-gradient(165deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  position: relative;
  overflow: hidden;
}
.aud-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(20rem 20rem at 100% 0%, color-mix(in srgb, var(--active) 18%, transparent), transparent 60%);
  pointer-events: none;
}
.aud-card > * {
  position: relative;
}
.aud-card .eyebrow {
  color: var(--active);
}
.aud-card .eyebrow::before {
  background: var(--active);
}
.aud-card h3 {
  font-size: 1.55rem;
  margin: 0.8rem 0 0.6rem;
  letter-spacing: -0.022em;
}
.aud-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.vision-band {
  text-align: center;
}
.vision-band .eyebrow {
  color: var(--active);
  justify-content: center;
}
.vision-band .eyebrow::before {
  background: var(--active);
}
.vision-band p {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.028em;
  max-width: 20ch;
  margin: 1.5rem auto 0;
}
.vision-band p .hl {
  color: var(--active);
  text-shadow: 0 0 18px color-mix(in srgb, var(--active) 20%, transparent);
}

/* =========================================================
   CREATIVE FX
   ========================================================= */
.fx-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 30rem;
  height: 30rem;
  margin: -15rem 0 0 -15rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, color-mix(in srgb, var(--active) 11%, transparent) 0, transparent 60%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  will-change: transform;
}
.fx-cursor.on {
  opacity: 1;
}
.fx-spine {
  position: fixed;
  top: 0;
  left: max(0.85rem, 1.8vw);
  width: 2px;
  height: 100vh;
  z-index: 40;
  background: var(--line);
  pointer-events: none;
}
.fx-spine-fill {
  position: absolute;
  inset: 0 0 auto 0;
  height: 0;
  background: linear-gradient(var(--active), color-mix(in srgb, var(--active) 20%, transparent));
  box-shadow: 0 0 8px color-mix(in srgb, var(--active) 35%, transparent);
  transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.fx-spine-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--active);
  box-shadow: 0 0 7px color-mix(in srgb, var(--active) 40%, transparent);
  transition: background 0.6s var(--ease);
}
@media (hover: none), (pointer: coarse) {
  .fx-cursor,
  .fx-spine {
    display: none;
  }
}

/* =========================================================
   REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.hero-load > * {
  opacity: 0;
  animation: riseIn 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
    margin-left: auto;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem max(0.9rem, 5vw) 1.3rem;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .site-header.nav-open .site-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .site-nav a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-nav a::after {
    display: none;
  }
  .hero-inner,
  .approach-head,
  .page-hero-grid,
  .statement,
  .contact-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero-visual {
    min-height: 320px;
    order: 2;
  }
  .venture {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .nav-cards,
  .focus-grid,
  .incubation-grid {
    grid-template-columns: 1fr 1fr;
  }
  .thesis-grid,
  .flow,
  .steps,
  .values {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-step:not(:last-child)::after {
    display: none;
  }
  .feature-grid,
  .ph-stats {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .vs-row {
    grid-template-columns: auto 1fr auto;
  }
  .vs-row .vs-focus {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand .brand-sub {
    display: none;
  }
  .nav-cards,
  .thesis-grid,
  .steps,
  .flow,
  .values,
  .focus-grid,
  .incubation-grid,
  .feature-grid,
  .ph-stats,
  .ph-audience {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-row .btn {
    flex: 1 1 auto;
  }
  .hero-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
  .ph-hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 3.1rem);
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rot-sizer {
    display: none;
  }
  .rot-word {
    position: static;
    opacity: 0;
    transform: none;
  }
  .rot-word:first-of-type {
    opacity: 1;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-load > *,
  .hero-visual {
    opacity: 1;
    animation: none;
  }
  body::after {
    animation: none;
  }
  .fx-cursor {
    display: none;
  }
}

/* Content and navigation remain usable when JavaScript is unavailable. */
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (max-width: 900px) {
  html:not(.js) .site-nav { display: flex; position: static; flex-wrap: wrap; width: 100%; padding: 1rem 0; }
  html:not(.js) .nav-wrap { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .rot-word { display: none; }
  .rot-word:first-of-type { display: inline; }
}
