:root {
  --bg: #f2efe8;
  --bg-alt: #ebe7dd;
  --paper: #ffffff;
  --ink: #141412;
  --ink-soft: #4a463e;
  --ink-faint: #8a8578;
  --hairline: #dcd6c7;
  --hairline-strong: #c0b9a5;
  --warm: #ded6c3;
  --accent: #141412;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1320px;
  --reading: 680px;
  --gutter: clamp(1.25rem, 3vw, 2rem);

  --radius: 14px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Layout ---------- */

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

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

section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

#what-we-do {
  padding-top: clamp(1.2rem, 2vw, 1.8rem);
  padding-bottom: clamp(0.9rem, 1.5vw, 1.4rem);
}

#services {
  padding-top: clamp(0.8rem, 1.5vw, 1.2rem);
  padding-bottom: clamp(0.8rem, 1.5vw, 1.2rem);
}

#stack {
  padding-top: clamp(0.8rem, 1.5vw, 1.2rem);
  padding-bottom: clamp(1.8rem, 3vw, 2.6rem);
}

#work {
  padding-top: clamp(1.5rem, 2.5vw, 2.2rem);
}

#how {
  padding-top: clamp(0.8rem, 1.5vw, 1.2rem);
  padding-bottom: clamp(0.8rem, 1.5vw, 1.2rem);
}

#how + section {
  padding-top: clamp(1.75rem, 3vw, 2.4rem);
}

/* ---------- Typography utility ---------- */

.mono {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.mono-sm {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.02;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  transition: border-color 0.25s ease, background 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  border-bottom-color: var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
  flex: 0 0 auto;
}

.brand-word {
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-left: 0.55rem;
  border-left: 1px solid var(--hairline-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-product-menu {
  position: relative;
}

.nav-product-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -0.8rem;
  right: -0.8rem;
  height: 0.85rem;
}

.nav-product-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-product-trigger::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.72;
}

.product-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  width: 280px;
  display: grid;
  gap: 0.22rem;
  padding: 0.45rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: 0 24px 52px -32px rgba(20, 20, 18, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.product-dropdown a {
  display: grid;
  gap: 0.12rem;
  padding: 0.66rem 0.72rem;
  border-radius: 6px;
  color: var(--ink-soft);
  white-space: normal;
}

.product-dropdown-name {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.15;
}

.product-dropdown-meta {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.product-dropdown-all {
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 0.15rem;
}

.product-dropdown a:hover,
.product-dropdown a:focus-visible {
  background: var(--bg-alt);
  color: var(--ink);
}

.nav-product-menu:hover .product-dropdown,
.nav-product-menu:focus-within .product-dropdown,
.nav-product-menu.is-open .product-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-cta {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--bg);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 5vw, 3.5rem);
}

.hero-line {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-line::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ea14f;
}

h1.display {
  font-size: clamp(2.6rem, 7.5vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--ink);
  max-width: 12ch;
}

h1.display .muted {
  color: var(--ink-faint);
}

.hero-support {
  max-width: 54ch;
  margin-top: 1.8rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.5;
}

.hero-support strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-meta {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-meta span {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

/* ---------- Hero mosaic ---------- */

.hero-mosaic {
  max-width: 760px;
  margin: clamp(3rem, 6vw, 5.5rem) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: center;
  padding-inline: 6px;
}

.hero-mosaic .tile {
  position: relative;
  aspect-ratio: 9 / 19.5;
  background: #0a0a0a;
  border-radius: 32px;
  overflow: hidden;
  transition: transform 0.5s ease;
  box-shadow:
    0 28px 44px -20px rgba(20, 20, 18, 0.3),
    0 8px 16px -10px rgba(20, 20, 18, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Quiet composition: center phone sits a touch higher, side phones settle */
.hero-mosaic .tile:nth-child(2) {
  transform: translateY(-14px);
  z-index: 2;
  box-shadow:
    0 34px 52px -20px rgba(20, 20, 18, 0.34),
    0 10px 18px -10px rgba(20, 20, 18, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-mosaic .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-mosaic .tile-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: var(--mono);
  font-size: 0.58rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(20, 20, 18, 0.78);
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
}

/* ---------- Section head ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.8rem, 3.5vw, 3rem);
  flex-wrap: wrap;
}

.section-head .eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.8rem;
}

h2.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 18ch;
}

h2.section-title .muted {
  color: var(--ink-faint);
}

.section-lede {
  max-width: 44ch;
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.section-lede a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ---------- Prose ---------- */

.prose > * + * {
  margin-top: 1.1rem;
}

.prose p {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.prose p strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Background arc (career trajectory) ---------- */

.arc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.arc-step {
  padding: 1.4rem 1.2rem 1.5rem;
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
  transition: background 0.3s ease;
}

.arc-step:last-child {
  border-right: none;
}

.arc-step:hover {
  background: rgba(20, 20, 18, 0.02);
}

.arc-era {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.arc-company {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.05;
}

.arc-step.is-now .arc-era::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ea14f;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(46, 161, 79, 0.18);
}

/* ---------- Orchestration grid (the working system) ---------- */

.orch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.orch-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.orch-card:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-strong);
  box-shadow: 0 20px 36px -22px rgba(20, 20, 18, 0.18);
}

.orch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.orch-kind {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.orch-badge {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--bg-alt);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
}

.orch-badge--oss {
  color: var(--ink);
  background: color-mix(in srgb, #2ea14f 12%, transparent);
  border-color: color-mix(in srgb, #2ea14f 30%, transparent);
}

.orch-badge--live {
  color: var(--ink);
  background: transparent;
  border-color: var(--hairline-strong);
  position: relative;
  padding-left: 1.1rem;
}

.orch-badge--live::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ea14f;
  transform: translateY(-50%);
}

.orch-title {
  font-size: clamp(1.75rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
}

.orch-lede {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 44ch;
}

.orch-lede strong {
  color: var(--ink);
  font-weight: 600;
}

.orch-bullets {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
}

.orch-bullets li {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.orch-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 1px;
  background: var(--ink-soft);
}

/* ---------- Tools stack strip ---------- */

.tools {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.tools li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.4rem 0.8rem 1.5rem;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  transition: background 0.3s ease;
}

.tools li:nth-child(5n) {
  border-right: none;
}

.tools li:nth-last-child(-n+5) {
  border-bottom: none;
}

.tools.tools-agents {
  margin-top: 0.85rem;
  border-top: none;
}

.tools.tools-agents li:last-child {
  border-right: none;
}

.tools li:hover {
  background: rgba(20, 20, 18, 0.02);
}

.tools li img {
  width: 34px;
  height: 34px;
  opacity: 1;
  object-fit: contain;
  filter: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tools li:hover img {
  opacity: 1;
  transform: scale(1.06);
}

.tools li span {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-align: center;
  line-height: 1.1;
}

/* ---------- Tabbed depth ---------- */

.depth {
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.6vw, 1.5rem);
  box-shadow: 0 22px 40px -32px rgba(20, 20, 18, 0.18);
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tab-btn {
  border: 1px solid var(--hairline);
  background: var(--bg);
  color: var(--ink-soft);
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--hairline-strong);
  color: var(--ink);
}

.tab-btn.is-active,
.tab-btn[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.tab-panels {
  margin-top: 1.35rem;
}

.depth-grid,
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mini-card,
.compare-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem;
  display: grid;
  gap: 0.65rem;
}

.mini-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.mini-card h3,
.compare-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.mini-card p,
.compare-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mini-card a,
.compare-card a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.compare-card ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-top: 0.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--hairline);
}

.compare-card li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.5;
}

.compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--ink-soft);
}

.compare-summary {
  margin-top: 1rem;
}

/* ---------- Work cards (big product blocks) ---------- */

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.work-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--hairline), 0 30px 60px -40px rgba(20, 20, 18, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 var(--hairline-strong), 0 40px 80px -40px rgba(20, 20, 18, 0.25);
}

.work-card.reverse {
  grid-template-columns: 1fr 1.15fr;
}

.work-card.reverse .work-media {
  order: 2;
}

.work-media {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-media.media-mac {
  padding: 2.2rem;
}

.work-media.media-phone {
  padding: 1rem;
  background: var(--paper);
}

.work-media.media-product-logo {
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--paper);
}

.work-media.media-android {
  padding: 2rem;
}

.work-media img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 40px -20px rgba(20, 20, 18, 0.3);
}

.work-media.media-mac img {
  border-radius: 10px;
}

.work-media.media-phone img,
.work-media.media-android img {
  border-radius: 0;
  max-height: 560px;
  box-shadow: none;
}

.work-media.media-product-logo img {
  width: min(64%, 260px);
  max-height: 260px;
  border-radius: 0;
  box-shadow: none;
}

/* ---------- Roller deck (evolution-of-screens carousel) ---------- */

.roller {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 19.5;
  margin-inline: auto;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.roller-track {
  display: flex;
  width: 500%;
  height: 100%;
  transform: translateX(-60%);
}

.roller-frame {
  position: relative;
  width: 20%;
  height: 100%;
  flex-shrink: 0;
}

.roller-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  display: block;
  /* override inherited .work-media img rules */
  max-height: none;
  border-radius: 0;
  box-shadow: none;
}

.coming-soon {
  justify-self: start;
  text-align: center;
  margin: 0 0 0 clamp(2rem, 8vw, 8rem);
}

#how .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr);
  align-items: center;
}

.work-body {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.work-meta span {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-alt);
}

.work-meta span.live {
  background: #2ea14f;
  color: #fff;
}

.work-body h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.work-body p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.work-body .proof {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-top: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
}

.work-body .proof em {
  color: var(--ink-faint);
  font-style: normal;
  margin-right: 0.5rem;
}

/* ---------- Games section ---------- */

.games {
  background: transparent;
  color: var(--ink);
  padding: 0;
  margin: 0;
}

.games-caption {
  max-width: 44ch;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.games-caption .eyebrow {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.9rem;
}

.games-caption h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 auto 1.2rem;
  max-width: 20ch;
}

.games-caption h2 .muted {
  color: var(--ink-faint);
}

.games-caption .lede {
  max-width: 38ch;
  margin: 0 auto 1.6rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.games-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: opacity 0.2s ease;
}

.games-link:hover {
  opacity: 0.6;
}

.games-link svg {
  width: 12px;
  height: 12px;
}

/* ---------- CRT TV marquee (real Panasonic chassis image) ---------- */

.tv {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  text-decoration: none;
  position: relative;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 50px 80px rgba(0, 0, 0, 0.6));
}

.tv:hover {
  transform: translateY(-3px);
}

.tv-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.tv-chassis-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  user-select: none;
}

.tv-screen {
  position: absolute;
  top: 17%;
  right: 14.3%;
  bottom: 30.3%;
  left: 14.55%;
  background: #0a0d0b;
  overflow: hidden;
  z-index: 1;
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.85),
    inset 0 0 60px rgba(0, 0, 0, 0.9);
}

.tv-phosphor {
  display: none;
}

.tv-marquee {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  padding: 28px;
  width: 100%;
  z-index: 1;
}

.tv-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.tv-icon {
  width: 100%;
  height: min(260px, 34vw);
  border-radius: 8px;
  object-fit: cover;
  background: #18181a;
  box-shadow:
    0 22px 44px -14px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(255, 180, 80, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.tv-icon--poster {
  border-radius: 14px;
}

.tv-icon--gameplay {
  object-position: top;
}

.tv-slide-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: rgba(230, 255, 240, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  max-width: 100%;
  line-height: 1.25;
  text-shadow:
    0 0 10px rgba(120, 240, 200, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.7);
}

.tv-scanlines {
  display: none;
}

.tv-sweep {
  display: none;
}

.tv-glare {
  display: none;
}

.tv-note {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}

.tv-note a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
}

.tv-note a:hover {
  border-bottom-color: #fff;
}

/* ---------- Evolution timeline ---------- */

.evolution {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
}

.evo-row {
  display: grid;
  grid-template-columns: 100px 84px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.75rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--hairline);
  align-items: center;
  transition: padding-left 0.3s ease;
}

.evo-row:hover {
  padding-left: 0.8rem;
}

.evo-date {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

/* App logos sit flush — no container box, just the icon with a gentle iOS-style mask so edges feel seamless. */
.evo-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 22%;
  box-shadow:
    0 8px 18px -10px rgba(20, 20, 18, 0.22),
    0 1px 2px rgba(20, 20, 18, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.evo-row:hover .evo-logo {
  transform: scale(1.04);
  box-shadow:
    0 12px 24px -10px rgba(20, 20, 18, 0.28),
    0 1px 2px rgba(20, 20, 18, 0.08);
}

/* For icons already designed to sit on the native background (transparent PNG, no tile, no shadow). */
.evo-logo.is-bare {
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.evo-row:hover .evo-logo.is-bare {
  box-shadow: none;
}

.evo-logo.evo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(15, 21, 33, 0.98), rgba(23, 31, 47, 0.98));
  color: #62e4cf;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.evo-logo.evo-mark span {
  transform: translateY(1px);
}

.evo-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.evo-title a {
  color: inherit;
}

.evo-title a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.evo-note {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* ---------- Principles (How I work) ---------- */

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.principles.principles--six {
  grid-template-columns: repeat(3, 1fr);
}

.principle {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
}

.principle .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}

.principle h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--ink);
  line-height: 1.2;
}

.principle p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ---------- Lanes (writing) ---------- */

.lanes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
}

.lanes li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 1.6rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
  transition: padding-left 0.25s ease;
}

.lanes li:hover {
  padding-left: 0.6rem;
}

.lanes .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}

.lanes h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.lanes p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 54ch;
}

/* ---------- Fit ---------- */

.fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.fit-col {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  padding: 1.6rem 1.5rem 1.8rem;
}

.fit-col .label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
  display: block;
}

.fit-col ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.fit-col li {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.fit-col.not li {
  color: var(--ink-faint);
  font-weight: 400;
  text-decoration: line-through;
  text-decoration-color: var(--hairline-strong);
}

/* ---------- CTA ---------- */

.cta {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--hairline);
}

.cta h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
  max-width: 16ch;
  margin-bottom: 2rem;
}

.cta h2 .muted {
  color: var(--ink-faint);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 2rem 2.5rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cta-row a.primary {
  color: var(--bg);
  background: var(--ink);
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  transition: opacity 0.2s ease;
}

.cta-row a.primary:hover {
  opacity: 0.82;
}

.cta-row a.secondary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.8rem 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}

.cta-row .muted {
  color: var(--ink-faint);
}

/* ---------- Form ---------- */

.form {
  display: grid;
  gap: 1.4rem;
  max-width: 580px;
  margin-top: 2rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.field input,
.field textarea,
.field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline-strong);
  padding: 0.7rem 0;
  font-family: var(--sans);
  font-size: 1.02rem;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  justify-self: start;
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 0.95rem 1.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: opacity 0.2s ease;
  border-radius: 999px;
  margin-top: 0.5rem;
}

.form-submit:hover {
  opacity: 0.82;
}

.form-notice {
  max-width: 580px;
  margin-top: 2rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
}

.form-notice strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.form-notice p {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- Faida paid intake ---------- */

.faida-flow {
  padding-block: clamp(2.2rem, 4vw, 3.4rem);
}

.faida-steps {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.faida-intake-shell,
.faida-result-shell {
  padding-top: 0;
}

.form.faida-intake-form {
  max-width: none;
  margin-top: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.faida-intake-form fieldset {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

.faida-intake-form legend {
  padding: 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.faida-fast-lane {
  border-color: color-mix(in srgb, var(--ink) 20%, var(--hairline)) !important;
  background: color-mix(in srgb, var(--paper) 86%, white);
}

.faida-intake-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.faida-intake-form input,
.faida-intake-form select,
.faida-intake-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 0.72rem 0.78rem;
}

.faida-intake-form textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}

.faida-upload-field {
  min-height: 134px;
  justify-content: center;
  padding: 1rem;
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 72%, white);
}

.faida-upload-field span {
  color: var(--ink);
  font-size: 1rem;
}

.faida-upload-field input[type="file"] {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.faida-upload-field small,
.faida-result-meta {
  color: var(--ink-faint);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
}

.faida-upload-field small.is-error {
  color: #8f3d2f;
}

.faida-intake-form input:focus,
.faida-intake-form select:focus,
.faida-intake-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--ink) 22%, transparent);
  outline-offset: 2px;
  border-color: var(--ink);
}

.faida-field-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faida-checkbox {
  display: flex !important;
  align-items: center;
  gap: 0.6rem !important;
  color: var(--ink-soft);
  font-size: 0.92rem !important;
  font-weight: 500 !important;
}

.faida-checkbox input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--ink);
}

.faida-advanced-details {
  display: block;
  padding: 1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 88%, white);
}

.faida-advanced-details summary {
  cursor: pointer;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faida-advanced-details > p {
  max-width: 70ch;
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faida-advanced-details fieldset {
  margin-top: 1rem;
}

.hidden-field {
  display: none;
}

.faida-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.faida-form-actions .primary,
.faida-form-actions .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.82rem 1.2rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.faida-form-actions .primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.faida-form-actions .primary:disabled {
  opacity: 0.62;
  cursor: wait;
}

.faida-form-actions .secondary {
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
}

.faida-intake-notice {
  max-width: none;
  margin-top: 0;
}

.faida-intake-notice.is-error {
  border-color: #8f3d2f;
}

.faida-result-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.faida-result-card h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.faida-result-block {
  display: grid;
  gap: 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
}

.faida-result-block h3 {
  font-size: 1rem;
}

.faida-result-block pre {
  max-width: 100%;
  overflow: auto;
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.faida-result-block ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.faida-result-empty {
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

@media (max-width: 760px) {
  .faida-flow.product-detail {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(var(--container), calc(100vw - (var(--gutter) * 2))) !important;
    overflow: hidden;
  }

  .faida-flow .product-detail-main,
  .faida-flow .product-side,
  .faida-intake-form,
  .faida-result-card,
  .faida-result-empty {
    min-width: 0;
  }

  .faida-flow .product-side {
    border-left: 0;
    border-top: 1px solid var(--hairline);
    padding-left: 0;
    padding-top: 1rem;
  }

  .product-hero .hero-support,
  .faida-flow h2,
  .faida-flow p,
  .faida-result-card pre {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .product-hero .hero-support {
    max-width: 31ch;
  }

  .faida-flow h2 {
    max-width: 17ch;
    font-size: 1.55rem;
    line-height: 1.05;
  }

  .faida-flow p {
    max-width: 31ch;
  }

  .faida-field-grid {
    grid-template-columns: 1fr;
  }

  .faida-intake-form fieldset {
    padding: 0.85rem;
  }
}

/* ---------- Faida free rate tool ---------- */

.page-faida-tool {
  --page-accent: #f48120;
}

.page-faida-tool h1.display,
.page-faida-tool h2,
.page-faida-tool h3 {
  letter-spacing: 0;
}

.faida-tool-hero {
  padding-top: clamp(6.5rem, 10vw, 8.5rem);
}

.faida-tool-kicker,
.faida-tool-section-head span,
.faida-proof-head span,
.faida-result-top span,
.faida-metric-grid span,
.faida-example-grid article span,
.faida-ad-slot span {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--page-accent) 76%, var(--ink));
}

.faida-tool-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: end;
  margin-top: 1.1rem;
}

.faida-tool-hero .display {
  max-width: 12ch;
}

.faida-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.faida-tool-actions a,
.faida-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 0.72rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(246, 241, 222, 0.05);
}

.faida-tool-actions .primary {
  background: var(--ink);
  color: #050706;
}

.faida-tool-actions .secondary:hover,
.faida-copy-button:hover {
  border-color: var(--hairline-strong);
}

.faida-tool-proof,
.faida-tool-panel,
.faida-result-panel,
.faida-tool-note,
.faida-example-grid article {
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(11, 16, 14, 0.88), rgba(6, 9, 8, 0.96));
  box-shadow: var(--shadow-soft);
}

.faida-tool-proof {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.faida-proof-head {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.faida-proof-head img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(246, 241, 222, 0.08);
}

.faida-proof-head strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 1.05rem;
}

.faida-tool-proof dl,
.faida-metric-grid {
  display: grid;
  gap: 0.65rem;
}

.faida-tool-proof dl div,
.faida-metric-grid div {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0;
  border-top: 1px solid var(--hairline);
}

.faida-tool-proof dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.faida-tool-proof dd,
.faida-metric-grid strong {
  color: var(--ink);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1;
}

.faida-tool-proof p,
.faida-tool-section-head p,
.faida-tool-note p,
.faida-example-grid article p,
.faida-tool-cta p {
  color: var(--ink-soft);
  line-height: 1.62;
}

.faida-tool-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 1rem;
  align-items: start;
  padding-top: clamp(1.4rem, 4vw, 2.4rem);
}

.faida-tool-panel,
.faida-result-panel {
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.faida-result-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 1rem;
}

.faida-tool-section-head {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.faida-tool-section-head h2,
.faida-tool-note h2,
.faida-tool-cta h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1;
}

.faida-rate-form {
  display: grid;
  gap: 1rem;
}

.faida-rate-form label {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.faida-rate-form input,
.faida-rate-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 0.76rem 0.82rem;
  background: rgba(246, 241, 222, 0.06);
  color: var(--ink);
  font: inherit;
}

.faida-rate-form input:focus,
.faida-rate-form select:focus,
.faida-copy-button:focus-visible,
.faida-tool-actions a:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--page-accent) 52%, transparent);
  outline-offset: 2px;
}

.faida-result-top {
  display: grid;
  gap: 0.45rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}

.faida-result-top strong {
  font-size: clamp(1.45rem, 3.4vw, 2.45rem);
  line-height: 1;
}

.faida-result-top p {
  color: var(--ink-soft);
  line-height: 1.55;
}

.faida-metric-grid {
  grid-template-columns: 1fr;
}

.faida-metric-grid div {
  grid-template-columns: minmax(130px, 0.6fr) minmax(0, 1fr);
}

.faida-result-block {
  padding-top: 0.4rem;
}

.faida-result-block h3 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.faida-result-block ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.05rem;
  color: var(--ink-soft);
}

.faida-copy-button {
  width: 100%;
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.faida-tool-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 0;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.faida-ad-slot {
  display: grid;
  align-content: center;
  gap: 0.45rem;
  min-height: 150px;
  border: 1px dashed var(--hairline-strong);
  border-radius: 8px;
  padding: 1rem;
  color: var(--ink-soft);
  background: rgba(246, 241, 222, 0.035);
}

.faida-ad-slot p {
  font-size: 0.9rem;
}

.faida-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.faida-example-grid .faida-tool-section-head {
  grid-column: 1 / -1;
  max-width: 760px;
}

.faida-example-grid article {
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem;
}

.faida-example-grid h3 {
  font-size: 1.15rem;
  line-height: 1.08;
}

.faida-tool-cta {
  display: grid;
  gap: 0.9rem;
}

.faida-tool-cta p {
  max-width: 760px;
  margin-top: -0.2rem;
}

@media (max-width: 980px) {
  .faida-tool-hero-grid,
  .faida-tool-shell,
  .faida-tool-note,
  .faida-example-grid {
    grid-template-columns: 1fr;
  }

  .faida-result-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .faida-tool-hero {
    padding-top: 5.8rem;
  }

  .faida-tool-hero .display {
    max-width: 10ch;
    font-size: clamp(2.75rem, 15vw, 4.1rem);
    line-height: 0.98;
  }

  .faida-tool-actions,
  .faida-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .faida-tool-actions a,
  .faida-form-actions .primary,
  .faida-form-actions .secondary {
    width: 100%;
  }

  .faida-tool-proof dl div,
  .faida-metric-grid div {
    grid-template-columns: 1fr;
    gap: 0.28rem;
  }

  .faida-tool-note,
  .faida-example-grid {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  }
}

/* ---------- Essay ---------- */

.essay-head {
  padding-block: clamp(3rem, 6vw, 4.8rem) clamp(1rem, 2vw, 1.5rem);
}

.essay-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.essay-head h1 {
  margin-top: 1rem;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 11ch;
}

.essay-head .muted {
  color: var(--ink-faint);
}

.essay-deck {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.5vw, 1.18rem);
  line-height: 1.6;
}

.essay-meta {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.essay-meta span {
  padding: 0.34rem 0.76rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.essay {
  padding-top: 0;
}

.essay .prose h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.essay .prose h3 {
  margin-top: 1rem;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.essay .prose ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.65rem;
  color: var(--ink-soft);
}

.essay .prose li {
  line-height: 1.6;
}

.essay .prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.essay-callout {
  margin: 1.8rem 0;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
}

.essay-callout strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.essay-callout p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.essay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem 0;
}

.essay-links {
  list-style: none;
  padding-left: 0;
}

.essay-links li {
  position: relative;
  padding-left: 1rem;
}

.essay-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 1px;
  background: var(--ink-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: 3rem 2rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--hairline);
}

.footer-top h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-big {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
  text-transform: none;
  max-width: 14ch;
}

.footer-big .muted {
  color: var(--ink-faint);
}

.footer-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-list a {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.005em;
  transition: opacity 0.2s ease;
}

.footer-list a:hover {
  opacity: 0.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-fine {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
}

/* ---------- Insights listing ---------- */

.post-list {
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.post-list li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
  transition: padding-left 0.25s ease;
}

.post-list li:hover {
  padding-left: 0.6rem;
}

.post-list .date {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-list h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.post-list h3 a {
  color: inherit;
  transition: opacity 0.2s ease;
}

.post-list h3 a:hover {
  opacity: 0.65;
}

.post-list .entry-copy {
  display: grid;
  gap: 0.45rem;
}

.post-list p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.post-list .lane {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.announcement-strip {
  padding-top: clamp(1.8rem, 3vw, 2.6rem);
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
}

.announcement-strip .section-head {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.announcement-feed {
  background: color-mix(in srgb, var(--paper) 62%, transparent);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding-inline: clamp(1rem, 2vw, 1.4rem);
}

.announcement-feed li:last-child {
  border-bottom: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-top .footer-col.meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem var(--gutter) 1.6rem;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-product-menu,
  .product-dropdown {
    width: 100%;
  }

  .nav-product-menu::after {
    display: none;
  }

  .product-dropdown {
    position: static;
    margin-top: 0.5rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.46);
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .brand-sub {
    display: none;
  }

  .hero-mosaic {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .hero-mosaic .tile {
    aspect-ratio: 9 / 19.5;
  }

  .hero-mosaic .tile-label {
    font-size: 0.56rem;
    padding: 0.25rem 0.5rem;
    left: 8px;
    bottom: 8px;
  }

  .orch {
    grid-template-columns: 1fr;
  }

  .tools {
    grid-template-columns: repeat(3, 1fr);
  }

  .tools li {
    border-right: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
  }

  .tools li:nth-child(5n) {
    border-right: 1px solid var(--hairline);
  }

  .tools li:nth-child(3n) {
    border-right: none;
  }

  .tools li:nth-last-child(-n+5) {
    border-bottom: 1px solid var(--hairline);
  }

  .tools li:nth-last-child(-n+3) {
    border-bottom: none;
  }

  .tools.tools-primary li:nth-child(18) {
    border-bottom: 1px solid var(--hairline);
  }

  .tools.tools-primary li:nth-child(19),
  .tools.tools-primary li:nth-child(20) {
    border-bottom: none;
  }

  .tools.tools-agents li:nth-child(11),
  .tools.tools-agents li:nth-child(12) {
    border-bottom: 1px solid var(--hairline);
  }

  .tools.tools-agents li:nth-child(13) {
    border-bottom: none;
  }

  .tools.tools-agents li:last-child {
    border-right: none;
  }

  .arc {
    grid-template-columns: 1fr 1fr;
  }

  .arc-step {
    border-right: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
  }

  .arc-step:nth-child(2n) {
    border-right: none;
  }

  .arc-step:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .arc-company {
    font-size: 1.2rem;
  }

  .depth {
    padding: 1rem;
  }

  #how .section-head {
    grid-template-columns: 1fr;
  }

  .coming-soon {
    justify-self: start;
  }

  .tab-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .tab-list::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex: 0 0 auto;
  }

  .depth-grid,
  .compare-grid,
  .essay-grid {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card.reverse {
    grid-template-columns: 1fr;
  }

  .work-card.reverse .work-media {
    order: 0;
  }

  .work-media {
    min-height: 280px;
  }

  .tv-icon {
    width: 110px;
    height: 110px;
    border-radius: 24px;
  }

  .tv-icon--poster {
    border-radius: 10px;
  }

  .tv-marquee {
    gap: 48px;
    padding: 0 28px;
  }

  .tv-slide-label {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .principles,
  .fit {
    grid-template-columns: 1fr;
  }

  .evo-row {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

  .evo-row .evo-date {
    grid-column: 1 / -1;
  }

  .evo-row .evo-logo {
    width: 56px;
    height: 56px;
  }

  .evo-row .evo-note {
    grid-column: 2;
  }

  .lanes li,
  .post-list li {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 1rem;
  }

  .lanes li p,
  .post-list li .lane {
    grid-column: 2;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding-bottom: 2rem;
  }
}


/* ---------- Product registry ---------- */
.product-hero { padding-top: 7rem; }
.product-registry-list { padding-top: 7rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.product-card, .registry-note, .product-detail { border: 1px solid var(--hairline); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.product-card { padding: 1.15rem; min-height: 260px; display: flex; flex-direction: column; gap: 1rem; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.product-card:hover { transform: translateY(-3px); border-color: rgba(16,22,29,.22); background: rgba(255,255,255,.72); }
.product-card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: var(--ink-faint); font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.product-status { color: var(--ink); border: 1px solid var(--hairline); border-radius: 999px; padding: .3rem .55rem; background: rgba(255,255,255,.58); }
.status-live { color: #1f6f43; border-color: rgba(31,111,67,.28); background: rgba(54,151,91,.12); }
.status-review { color: #8a6400; border-color: rgba(181,131,0,.28); background: rgba(245,190,66,.18); }
.status-beta { color: #5e4a9a; border-color: rgba(94,74,154,.26); background: rgba(118,95,190,.13); }
.status-archive { color: #8a332d; border-color: rgba(138,51,45,.24); background: rgba(191,75,64,.11); }
.product-card h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1; letter-spacing: -.04em; }
.product-card h3 a { color: inherit; }
.product-card p { color: var(--ink-soft); line-height: 1.55; }
.product-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .55rem; }
.product-actions a, .registry-links a { display: inline-flex; align-items: center; min-height: 36px; border: 1px solid var(--hairline); border-radius: 999px; padding: .55rem .75rem; color: var(--ink); background: rgba(255,255,255,.48); font-size: .84rem; font-weight: 600; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.product-actions a:hover, .registry-links a:hover { transform: translateY(-1px); background: var(--ink); color: var(--paper); }
.product-actions.vertical { flex-direction: column; align-items: stretch; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 1.2rem; padding: 1.25rem; margin-bottom: 1rem; }
.product-detail h2, .registry-note h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.04em; line-height: 1; margin-bottom: .75rem; }
.product-detail p, .registry-note p { color: var(--ink-soft); line-height: 1.65; }
.product-facts { display: grid; gap: .65rem; margin-top: 1rem; }
.product-facts div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: .75rem; border-top: 1px solid var(--hairline); padding-top: .65rem; }
.product-facts dt { font-family: var(--mono); color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.product-facts dd { color: var(--ink); }
.product-side { border-left: 1px solid var(--hairline); padding-left: 1.2rem; }
.product-side h3 { margin-bottom: .75rem; }
.registry-note { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.7fr); gap: 1rem; padding: 1.25rem; margin-top: 1.3rem; }
.registry-links { display: flex; flex-direction: column; gap: .55rem; align-self: center; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .product-card:hover, .product-actions a:hover, .registry-links a:hover { transform: none; } }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .product-detail, .registry-note { grid-template-columns: 1fr; } .product-side { border-left: 0; border-top: 1px solid var(--hairline); padding-left: 0; padding-top: 1rem; } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } .product-hero, .product-registry-list { padding-top: 5.5rem; } .product-facts div { grid-template-columns: 1fr; gap: .25rem; } }

/* ---------- Shared night shell ---------- */

:root {
  --bg: #030504;
  --bg-alt: #08100d;
  --paper: rgba(9, 13, 11, 0.82);
  --ink: #f6f1de;
  --ink-soft: rgba(246, 241, 222, 0.74);
  --ink-faint: rgba(246, 241, 222, 0.52);
  --hairline: rgba(246, 241, 222, 0.12);
  --hairline-strong: rgba(216, 192, 110, 0.34);
  --warm: rgba(171, 201, 180, 0.12);
  --accent: #d8c06e;
  --shadow-soft: 0 28px 80px rgba(0, 0, 0, 0.42);
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(171, 201, 180, 0.1), transparent 24%),
    radial-gradient(circle at 82% 0%, rgba(216, 192, 110, 0.08), transparent 20%),
    linear-gradient(180deg, #030504 0%, #050807 44%, #030504 100%);
  color: var(--ink);
}

.site-nav {
  background: rgba(3, 5, 4, 0.72);
  border-bottom-color: transparent;
  backdrop-filter: blur(18px);
}

.site-nav.is-scrolled {
  border-bottom-color: var(--hairline);
}

.brand-logo {
  background: rgba(246, 241, 222, 0.06);
  box-shadow: 0 0 0 1px rgba(246, 241, 222, 0.12), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.brand-sub {
  color: var(--ink-faint);
  border-left-color: var(--hairline);
}

.nav-links a,
.nav-product-trigger,
.menu-btn {
  color: var(--ink-soft);
}

.nav-links a:hover,
.nav-links a.is-active,
.nav-product-menu.is-open .nav-product-trigger,
.product-dropdown a:hover,
.product-dropdown a:focus-visible {
  color: var(--ink);
}

.product-dropdown {
  background: rgba(9, 13, 11, 0.96);
  border-color: var(--hairline);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.34);
}

.product-dropdown-all {
  border-bottom-color: var(--hairline);
}

.product-dropdown a:hover,
.product-dropdown a:focus-visible {
  background: rgba(246, 241, 222, 0.06);
}

.nav-cta {
  color: var(--ink);
  border-color: var(--hairline-strong);
  background: rgba(246, 241, 222, 0.04);
}

.nav-cta:hover {
  background: var(--ink);
  color: #050706;
}

.hero {
  padding-block: clamp(4rem, 8vw, 6.4rem) clamp(2.2rem, 5vw, 3.2rem);
}

.hero-line,
.hero-meta,
.section-head .eyebrow,
.games-caption .eyebrow,
.essay-kicker {
  color: var(--ink-faint);
}

.hero-line::before,
.arc-step.is-now .arc-era::before {
  background: var(--page-accent, var(--accent));
}

h1.display,
h2.section-title,
.games-caption h2,
.cta h2,
.essay-head h1 {
  color: var(--ink);
}

h1.display {
  max-width: 11ch;
  letter-spacing: -0.05em;
}

.hero-support,
.section-lede,
.prose p,
.games-caption .lede,
.lanes p,
.essay-deck,
.essay .prose p,
.essay .prose ul,
.footer-list a,
.footer-fine {
  color: var(--ink-soft);
}

.hero-meta span,
.work-meta span,
.essay-meta span {
  background: rgba(246, 241, 222, 0.05);
  border-color: var(--hairline);
  color: var(--ink-soft);
}

.hero-meta span,
.cta-row a.primary,
.form-submit,
.nav-cta,
.product-actions a,
.registry-links a {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.mini-card,
.compare-card,
.orch-card,
.work-card,
.principle,
.fit-col,
.product-card,
.registry-note,
.product-detail,
.form-notice,
.essay-callout {
  background: linear-gradient(180deg, rgba(11, 16, 14, 0.88), rgba(6, 9, 8, 0.94));
  border-color: var(--hairline);
  box-shadow: var(--shadow-soft);
}

.orch-card:hover,
.work-card:hover,
.product-card:hover {
  border-color: var(--hairline-strong);
}

.mini-card,
.compare-card,
.fit-col,
.principle,
.work-card,
.product-card,
.registry-note,
.product-detail,
.essay-callout,
.form-notice {
  backdrop-filter: blur(18px);
}

.mini-card h3,
.compare-card h3,
.orch-card h3,
.work-body h3,
.principle h3,
.product-card h3,
.product-detail h2,
.registry-note h2,
.essay .prose h2,
.essay .prose h3,
.footer-big {
  color: var(--ink);
}

.mini-card p,
.compare-card p,
.work-body p,
.principle p,
.product-card p,
.product-detail p,
.registry-note p,
.essay-callout p,
.form-notice p {
  color: var(--ink-soft);
}

.work-media,
.work-media.media-phone,
.work-media.media-product-logo,
.work-media.media-android,
.mini-card,
.compare-card {
  background: rgba(4, 8, 6, 0.84);
}

.work-media img,
.hero-mosaic .tile,
.evo-logo {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.work-body .proof,
.product-facts div,
.site-footer,
.footer-top,
.cta,
.compare-card ul,
.arc,
.lanes,
.evolution {
  border-color: var(--hairline);
}

.fit-col.not li {
  text-decoration-color: rgba(246, 241, 222, 0.18);
}

.field label {
  color: var(--ink-faint);
}

.field input,
.field textarea,
.field select {
  color: var(--ink);
  border-bottom-color: var(--hairline);
  background: rgba(246, 241, 222, 0.02);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--page-accent, var(--accent));
}

.field textarea {
  padding-inline: 0.15rem;
}

.form-submit,
.cta-row a.primary {
  background: var(--ink);
  color: #050706;
}

.form-submit:hover,
.cta-row a.primary:hover {
  opacity: 0.9;
}

.cta-row a.secondary,
.games-link,
.essay .prose a,
.section-lede a,
.footer-list a:hover {
  color: var(--ink);
  border-bottom-color: currentColor;
}

.site-footer {
  color: var(--ink-faint);
}

.footer-list a {
  color: var(--ink-soft);
}

.product-card-top {
  align-items: flex-start;
  flex-wrap: wrap;
  color: var(--ink-faint);
}

.product-status {
  color: var(--ink);
  background: rgba(246, 241, 222, 0.05);
  border-color: var(--hairline);
}

.status-live {
  color: #d8f4df;
  border-color: rgba(171, 201, 180, 0.28);
  background: rgba(171, 201, 180, 0.14);
}

.status-review {
  color: #f2ddb0;
  border-color: rgba(216, 192, 110, 0.3);
  background: rgba(216, 192, 110, 0.14);
}

.status-beta {
  color: #d7c7ff;
  border-color: rgba(172, 143, 255, 0.28);
  background: rgba(172, 143, 255, 0.14);
}

.status-archive {
  color: #ffb8ae;
  border-color: rgba(255, 120, 96, 0.24);
  background: rgba(255, 120, 96, 0.12);
}

.product-actions a,
.registry-links a,
.cta-row a.secondary {
  background: rgba(246, 241, 222, 0.05);
  border-color: var(--hairline);
  color: var(--ink);
}

.product-actions a:hover,
.registry-links a:hover,
.cta-row a.secondary:hover {
  background: var(--ink);
  color: #050706;
}

.page-product-index .product-grid {
  gap: 1.2rem;
}

.page-product-index .product-card {
  min-height: 320px;
}

.product-card-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.product-card-logo,
.product-stage-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(246, 241, 222, 0.04);
  border: 1px solid rgba(246, 241, 222, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.product-card-logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  padding: 10px;
  flex: 0 0 auto;
}

.product-card-logo img,
.product-stage-logo img,
.product-neighbor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-logo.is-cover,
.product-stage-logo.is-cover,
.product-neighbor.is-cover img,
.product-stage-media.is-cover img {
  padding: 0;
}

.product-card-logo.is-cover img,
.product-stage-logo.is-cover img,
.product-neighbor.is-cover img,
.product-stage-media.is-cover img {
  object-fit: cover;
}

.product-card-signal {
  display: grid;
  gap: 0.2rem;
}

.product-card-signal .mono {
  color: var(--ink-faint);
}

.product-card-signal strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-product-detail .hero {
  padding-bottom: 1.2rem;
}

.product-stage {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1rem;
}

.product-stage-media,
.product-stage-side {
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(11, 16, 14, 0.88), rgba(6, 9, 8, 0.94));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.product-stage-media {
  min-height: 360px;
  padding: 1rem;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.product-stage-shell {
  width: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid rgba(246, 241, 222, 0.08);
  border-radius: 22px;
  background: rgba(246, 241, 222, 0.02);
}

.product-stage-media img {
  width: 100%;
  height: auto;
  max-height: 460px;
  border-radius: 20px;
  object-fit: contain;
  background: rgba(3, 5, 4, 0.78);
}

.product-stage-side {
  padding: 1.1rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.product-stage-mark {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.product-stage-logo {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  padding: 12px;
  flex: 0 0 auto;
}

.product-stage-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.3rem;
}

.product-stage-title {
  color: var(--ink);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.product-stage-summary,
.product-stage-truth {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

.product-stage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product-stage-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(246, 241, 222, 0.05);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-stage-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-stage-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.82rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(246, 241, 222, 0.05);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
}

.product-stage-links a:hover {
  background: var(--ink);
  color: #050706;
}

.product-stage-neighbors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.product-neighbor {
  display: grid;
  gap: 0.5rem;
  padding: 0.72rem;
  border-radius: 18px;
  border: 1px solid var(--hairline);
  background: rgba(246, 241, 222, 0.04);
  color: var(--ink-soft);
  text-decoration: none;
}

.product-neighbor img {
  aspect-ratio: 1;
  border-radius: 14px;
  background: rgba(3, 5, 4, 0.8);
  padding: 0.55rem;
}

.product-neighbor strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.product-neighbor span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.product-neighbor:hover {
  border-color: var(--hairline-strong);
  background: rgba(246, 241, 222, 0.07);
}

.page-product-detail .product-side {
  border-left-color: var(--hairline);
}

@media (max-width: 980px) {
  .product-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-block: 5.2rem 2.2rem;
  }

  .product-stage-neighbors {
    grid-template-columns: 1fr;
  }

  .product-stage-media {
    min-height: 280px;
  }
}


/* ---------- Ni Biashara proof-rail unification pass: May 2026 ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,SOFT,WONK,wght@9..144,0..100,0..1,650;9..144,0..100,0..1,800&family=Manrope:wght@400;500;650;750;800&family=IBM+Plex+Mono:wght@500;600;700&display=swap');

:root {
  --bg: #eef3f6;
  --bg-alt: #dfe8ec;
  --paper: #fbfdff;
  --ink: #071018;
  --ink-soft: #1c2a34;
  --ink-faint: #64717a;
  --hairline: rgba(7, 16, 24, 0.14);
  --hairline-strong: rgba(7, 16, 24, 0.34);
  --warm: #f4fbff;
  --accent: #0f6b57;
  --sans: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: Fraunces, Georgia, serif;
  --radius: 18px;
  --radius-lg: 28px;
}

body {
  background: linear-gradient(180deg, var(--bg) 0%, #f7fbfd 54%, #f7fbfd 100%);
  color: var(--ink);
  font-family: var(--sans);
}

.site-nav {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(16px);
}

.nav-inner {
  min-height: 70px;
}

.brand {
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--hairline-strong);
}

.brand-sub {
  color: var(--ink-faint);
  border-left-color: var(--hairline-strong);
}

.nav-links {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.nav-cta,
.cta-row a,
.product-actions a,
.form-submit,
button.form-submit {
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-cta,
.cta-row .primary,
.product-actions a:first-child,
.form-submit,
button.form-submit {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--warm);
}

.nav-cta:hover,
.cta-row .primary:hover,
.product-actions a:first-child:hover,
.form-submit:hover,
button.form-submit:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.hero {
  padding-block: clamp(4.2rem, 8vw, 7rem) clamp(2.2rem, 5vw, 4rem);
}

.hero-line,
.eyebrow,
.product-card-top,
.label,
.num,
.footer-fine,
.mono,
.mono-sm {
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.display,
.hero h1,
.product-hero h1,
.section-title,
.cta h2,
.footer-big {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.065em;
}

.display,
.hero h1,
.product-hero h1 {
  font-size: clamp(3.6rem, 8vw, 8.8rem);
  line-height: 0.84;
  max-width: 10ch;
}

.hero-support,
.section-lede,
.product-card p,
.product-detail p,
.prose p,
.principle p,
.fit li {
  color: var(--ink-faint);
}

.product-card,
.principle,
.fit-col,
.panel,
.product-side,
.product-detail,
.registry-note,
.form,
.prose,
.announcement-card,
.insight-card {
  border: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--paper) 92%, white 8%);
  box-shadow: 0 18px 44px rgba(7, 24, 36, 0.08);
}

.product-grid,
.principles,
.fit,
.registry-links,
.insight-grid,
.announcement-grid {
  gap: 12px;
}

.product-status,
.status-live,
.status-beta,
.status-review {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  color: var(--accent);
}

.product-dropdown {
  border-color: var(--hairline);
  background: rgba(251, 253, 255, 0.96);
  box-shadow: 0 24px 70px rgba(7, 24, 36, 0.14);
}

.site-footer {
  border-top: 1px solid var(--hairline);
}

@media (max-width: 760px) {
  .display,
  .hero h1,
  .product-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5.6rem);
  }
}

/* ---------- Color energy pass: May 2026 ---------- */

/* Brand gradient palette for light theme */
:root {
  --grad-green: #059669;
  --grad-cyan: #0891b2;
  --grad-purple: #7c3aed;
  --brand-gradient: linear-gradient(135deg, var(--grad-green), var(--grad-cyan), var(--grad-purple));
}

/* Hero-line dot gets brand green */
.hero-line::before {
  background: var(--grad-green);
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.4);
}

/* Eyebrow labels get accent color */
.section-head .eyebrow,
.games-caption .eyebrow,
.essay-kicker {
  color: var(--accent);
}

/* Gradient text utility — applied via inline or class */
.gradient-text,
.display em,
.hero h1 em,
.product-hero h1 em,
.section-title em,
.cta h2 em {
  font-style: normal;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section dividers become gradient lines */
.cta {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 5%, rgba(5,150,105,.25) 30%, rgba(8,145,178,.2) 50%, rgba(124,58,237,.15) 70%, transparent 95%) 1;
}

.site-footer {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 5%, rgba(5,150,105,.18) 30%, rgba(8,145,178,.15) 50%, rgba(124,58,237,.12) 70%, transparent 95%) 1;
}

/* Aurora radial glow on hero sections */
.hero,
.product-hero {
  position: relative;
}

.hero::before,
.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 25% 20%, rgba(5,150,105,.05), transparent 70%),
    radial-gradient(ellipse 40% 35% at 75% 30%, rgba(124,58,237,.04), transparent 65%);
  z-index: 0;
}

.hero > *,
.product-hero > * {
  position: relative;
  z-index: 1;
}

/* Card hover glow */
.product-card:hover,
.principle:hover,
.orch-card:hover,
.work-card:hover {
  border-color: rgba(5, 150, 105, .28);
  box-shadow:
    0 18px 44px rgba(7, 24, 36, .08),
    0 0 0 1px rgba(5, 150, 105, .08);
}

/* Status badges with more color pop */
.status-live {
  color: #047857;
  border-color: rgba(5, 150, 105, .3);
  background: rgba(5, 150, 105, .1);
}

.status-beta {
  color: #6d28d9;
  border-color: rgba(124, 58, 237, .28);
  background: rgba(124, 58, 237, .08);
}

.status-review {
  color: #b45309;
  border-color: rgba(217, 119, 6, .28);
  background: rgba(217, 119, 6, .1);
}

/* Primary CTA buttons with brand color */
.nav-cta:hover,
.cta-row .primary:hover,
.product-actions a:first-child:hover,
.form-submit:hover,
button.form-submit:hover {
  background: var(--grad-green);
  border-color: var(--grad-green);
  color: #fff;
  box-shadow: 0 8px 24px rgba(5, 150, 105, .22);
}

/* Product card brand logo gets subtle glow on hover */
.product-card:hover .product-card-logo {
  box-shadow: 0 12px 28px rgba(5, 150, 105, .12);
}

/* Registry note divider */
.registry-note {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--grad-green), var(--grad-cyan), var(--grad-purple)) 1;
  border-image-slice: 1 0 0 0;
}

/* Evolution row hover accent */
.evo-row:hover .evo-title {
  color: var(--accent);
}

/* Post list hover accent */
.post-list li:hover h3 {
  color: var(--accent);
}

/* Footer link hover gets brand green */
.footer-list a:hover {
  color: var(--accent);
  opacity: 1;
}

/* Announcement feed border accent */
.announcement-feed {
  border-top: 2px solid var(--grad-green);
}

/* Form focus states with brand color */
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--grad-green);
}

/* Scroll reveal — choreographed entrance */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 3D tilt smoothing on cards */
.product-card, .principle, .orch-card, .work-card,
.announcement-card, .insight-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
  will-change: transform;
}

/* Cursor-dot expand zone */
body.has-cursor a, body.has-cursor button { cursor: none; }
body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: auto; }

/* Mouse-reactive radial glow on cards */
.product-card,
.principle,
.orch-card,
.work-card,
.fit-col,
.product-stage-side,
.product-stage-media {
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  overflow: hidden;
}

.product-card.has-glow::after,
.principle.has-glow::after,
.orch-card.has-glow::after,
.work-card.has-glow::after,
.fit-col.has-glow::after,
.product-stage-side.has-glow::after,
.product-stage-media.has-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    320px circle at var(--glow-x) var(--glow-y),
    rgba(5, 150, 105, .08),
    rgba(8, 145, 178, .04) 40%,
    transparent 70%
  );
  z-index: 0;
}

/* Ensure card content stays above the glow */
.product-card > *,
.principle > *,
.orch-card > *,
.work-card > *,
.fit-col > *,
.product-stage-side > *,
.product-stage-media > * {
  position: relative;
  z-index: 1;
}

/* Star canvas z-index helper — content sits above */
main, .site-nav, .site-footer {
  position: relative;
  z-index: 1;
}

/* ===== VIVID DARK ENERGY — looks bright, feels dark ===== */

:root {
  --bg: #070a10;
  --bg-alt: #0e1320;
  --paper: #111827;
  --ink: #e2ddd4;
  --ink-soft: #9ca8b8;
  --ink-faint: #586878;
  --hairline: rgba(255, 255, 255, 0.07);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --warm: #1a1520;
  --accent: #ff6b35;

  --vivid-orange: #ff6b35;
  --vivid-coral: #ff3d5a;
  --vivid-teal: #00d4aa;
  --vivid-lime: #a8e600;
  --vivid-gold: #ffb800;
  --vivid-hot: #ff1493;

  --brand-gradient: linear-gradient(135deg, var(--vivid-orange), var(--vivid-coral), var(--vivid-hot));
  --grad-green: var(--vivid-teal);
  --grad-cyan: var(--vivid-orange);
  --grad-purple: var(--vivid-hot);
}

body {
  background:
    radial-gradient(ellipse 60% 40% at 15% 5%, rgba(255, 107, 53, 0.04), transparent),
    radial-gradient(ellipse 50% 35% at 85% 15%, rgba(255, 61, 90, 0.03), transparent),
    radial-gradient(ellipse 40% 50% at 50% 90%, rgba(0, 212, 170, 0.02), transparent),
    linear-gradient(180deg, #070a10 0%, #0a0e16 50%, #070a10 100%);
  color: var(--ink);
}

/* Nav — dark glass */
.site-nav {
  background: rgba(7, 10, 16, 0.82) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(20px) saturate(1.4);
}
.site-nav.is-scrolled {
  border-bottom-color: rgba(255, 107, 53, 0.1) !important;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.is-active { color: var(--vivid-orange); }
.brand-word { color: var(--ink); }

/* Nav CTA — neon */
.nav-cta {
  background: var(--vivid-orange) !important;
  color: #070a10 !important;
  border-color: var(--vivid-orange) !important;
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.25), 0 0 60px rgba(255, 107, 53, 0.06);
}
.nav-cta:hover {
  background: var(--vivid-coral) !important;
  border-color: var(--vivid-coral) !important;
  box-shadow: 0 0 30px rgba(255, 61, 90, 0.4), 0 0 80px rgba(255, 61, 90, 0.1) !important;
}

/* Hero — dramatic depth */
.hero::before, .product-hero::before {
  background:
    radial-gradient(ellipse 45% 35% at 20% 25%, rgba(255, 107, 53, 0.06), transparent 70%),
    radial-gradient(ellipse 35% 30% at 80% 30%, rgba(255, 61, 90, 0.04), transparent 65%),
    radial-gradient(ellipse 30% 25% at 50% 60%, rgba(0, 212, 170, 0.03), transparent 60%) !important;
}

.display, .hero h1, .product-hero h1 {
  text-shadow: 0 0 40px rgba(255, 107, 53, 0.12), 0 0 100px rgba(255, 61, 90, 0.05);
}

.hero, .product-hero {
  border-bottom: 2px solid transparent !important;
  border-image: linear-gradient(90deg, transparent, var(--vivid-orange) 20%, var(--vivid-coral) 40%, var(--vivid-hot) 60%, var(--vivid-teal) 80%, transparent) 1 !important;
  border-image-slice: 0 0 1 0 !important;
}

/* Gradient text — vivid */
.gradient-text, .display em, .hero h1 em, .product-hero h1 em,
.section-title em, .cta h2 em {
  background: var(--brand-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Cards — dark glass */
.product-card, .principle, .orch-card, .work-card,
.fit-col, .panel, .product-side, .product-detail,
.registry-note, .form, .prose, .announcement-card, .insight-card {
  background: rgba(14, 19, 28, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

.product-card:hover, .principle:hover, .orch-card:hover, .work-card:hover {
  border-color: rgba(255, 107, 53, 0.2) !important;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 107, 53, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* Card glow — vivid orange/coral */
.product-card.has-glow::after, .principle.has-glow::after,
.orch-card.has-glow::after, .work-card.has-glow::after,
.fit-col.has-glow::after, .product-stage-side.has-glow::after,
.product-stage-media.has-glow::after {
  background: radial-gradient(
    320px circle at var(--glow-x) var(--glow-y),
    rgba(255, 107, 53, .12),
    rgba(255, 61, 90, .06) 40%,
    transparent 70%
  ) !important;
}

/* Chromatic aberration on card heading hover */
.product-card:hover h3 a, .product-card:hover h3 {
  text-shadow: -1px 0 rgba(255, 61, 90, 0.4), 1px 0 rgba(0, 212, 170, 0.4);
}

/* Status badges — neon */
.status-live {
  color: #00e68a !important;
  border-color: rgba(0, 230, 138, 0.3) !important;
  background: rgba(0, 230, 138, 0.08) !important;
  box-shadow: 0 0 10px rgba(0, 230, 138, 0.15);
}
.status-beta {
  color: var(--vivid-gold) !important;
  border-color: rgba(255, 184, 0, 0.3) !important;
  background: rgba(255, 184, 0, 0.08) !important;
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.15);
}
.status-review {
  color: #00d4ff !important;
  border-color: rgba(0, 212, 255, 0.3) !important;
  background: rgba(0, 212, 255, 0.08) !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.15);
}

/* CTA buttons — neon */
.cta-row .primary, .product-actions a:first-child,
.form-submit, button.form-submit {
  background: var(--vivid-orange) !important;
  color: #070a10 !important;
  border-color: var(--vivid-orange) !important;
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.2);
}
.cta-row .primary:hover, .product-actions a:first-child:hover,
.form-submit:hover, button.form-submit:hover {
  background: var(--vivid-coral) !important;
  border-color: var(--vivid-coral) !important;
  box-shadow: 0 0 30px rgba(255, 61, 90, 0.35) !important;
}
.cta-row .secondary {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--ink-soft);
}
.cta-row .secondary:hover {
  border-color: var(--vivid-orange);
  color: var(--vivid-orange);
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.12);
}

/* Product actions */
.product-actions a {
  color: var(--ink-soft);
  border-color: rgba(255, 255, 255, 0.08);
}
.product-actions a:hover {
  background: var(--vivid-orange) !important;
  color: #070a10 !important;
  border-color: var(--vivid-orange) !important;
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.25) !important;
}

/* Section dividers — vivid gradient */
.cta {
  border-image: linear-gradient(90deg, transparent 5%, rgba(255,107,53,.2) 30%, rgba(255,61,90,.15) 50%, rgba(0,212,170,.1) 70%, transparent 95%) 1 !important;
}

/* Footer — dark */
.site-footer {
  border-image: linear-gradient(90deg, transparent 5%, rgba(255,107,53,.1) 30%, rgba(255,61,90,.07) 50%, rgba(0,212,170,.05) 70%, transparent 95%) 1 !important;
}
.footer-fine { color: var(--ink-faint); }
.footer-fine a { color: var(--ink-soft); }
.footer-fine a:hover { color: var(--vivid-orange); }

/* Hero support + eyebrows */
.hero-line { color: var(--ink-faint); }
.hero-line::before {
  background: var(--vivid-orange) !important;
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.5) !important;
}
.hero-support { color: var(--ink-soft); }
.eyebrow { color: var(--vivid-orange); }

/* Registry */
.registry-note {
  border-image: linear-gradient(90deg, var(--vivid-orange), var(--vivid-coral), var(--vivid-teal)) 1 !important;
}
.registry-links a { color: var(--ink-soft); border-color: rgba(255,255,255,.08); }
.registry-links a:hover { color: var(--vivid-orange); border-color: var(--vivid-orange); }

/* Product dropdown — dark glass */
.product-dropdown {
  background: rgba(14, 19, 28, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5) !important;
}
.product-dropdown a { color: var(--ink-soft); }
.product-dropdown a:hover {
  color: var(--vivid-orange);
  background: rgba(255, 107, 53, 0.06);
}

/* Mobile menu */
@media (max-width: 760px) {
  .nav-links {
    background: rgba(7, 10, 16, 0.97) !important;
    backdrop-filter: blur(24px);
  }
}

/* Film grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  mix-blend-mode: overlay;
}

/* Scanline on hero */
.hero::after, .product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0, 0, 0, 0.015) 2px, rgba(0, 0, 0, 0.015) 4px
  );
}

/* Selection */
::selection {
  background: rgba(255, 107, 53, 0.3);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #070a10; }
::-webkit-scrollbar-thumb { background: rgba(255, 107, 53, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 107, 53, 0.5); }

/* Focus — neon ring */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--vivid-orange);
  outline-offset: 3px;
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.2);
}

/* Post/insight cards text */
.product-card p, .product-card-top span { color: var(--ink-faint); }
.product-card h3 a, .product-card h3 { color: var(--ink); }
.announcement-card h3, .insight-card h3 { color: var(--ink); }
.announcement-card p, .insight-card p { color: var(--ink-faint); }

/* Menu button */
.menu-btn { color: var(--ink-soft); }
.menu-btn:hover { color: var(--vivid-orange); }

/* Evo row */
.evo-row:hover .evo-title { color: var(--vivid-orange) !important; }
.post-list li:hover h3 { color: var(--vivid-orange) !important; }

/* Brand logo dark ring */
.brand-logo {
  background: var(--paper) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) !important;
}

/* Product index reset — keep the public products page aligned with the Ni Biashara site,
   not the heavier Faida/product-detail art direction. */
body.product-index-clean {
  background:
    radial-gradient(circle at 18% 0%, rgba(171, 201, 180, 0.08), transparent 24%),
    radial-gradient(circle at 82% 0%, rgba(216, 192, 110, 0.06), transparent 20%),
    linear-gradient(180deg, #030504 0%, #050807 44%, #030504 100%);
}

body.product-index-clean .product-hero {
  padding-top: clamp(2.7rem, 5vw, 4rem) !important;
  padding-bottom: clamp(1.35rem, 3vw, 2rem) !important;
  border-bottom: 1px solid var(--hairline) !important;
  border-image: none !important;
}

body.product-index-clean .product-hero::before {
  background:
    radial-gradient(ellipse 42% 34% at 22% 22%, rgba(171, 201, 180, 0.08), transparent 70%),
    radial-gradient(ellipse 34% 26% at 78% 28%, rgba(216, 192, 110, 0.06), transparent 68%) !important;
}

body.product-index-clean .product-hero .display {
  max-width: 20ch;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-shadow: none !important;
}

body.product-index-clean .product-hero .display em {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--ink) !important;
  font-style: normal;
}

body.product-index-clean .product-hero .hero-support {
  margin-top: 1.25rem;
  max-width: 60ch;
  color: rgba(246, 241, 222, 0.78) !important;
}

body.product-index-clean .product-index-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

body.product-index-clean .product-index-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(216, 192, 110, 0.22);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: rgba(246, 241, 222, 0.8);
  background: rgba(246, 241, 222, 0.04);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.product-index-clean .product-index-list {
  padding-top: clamp(1rem, 2.5vw, 1.6rem);
}

body.product-index-clean .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.product-index-clean .product-card,
body.product-index-clean .registry-note,
body.product-index-clean .cta {
  background: linear-gradient(180deg, rgba(11, 16, 14, 0.88), rgba(6, 9, 8, 0.94)) !important;
  border: 1px solid rgba(246, 241, 222, 0.12) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34) !important;
}

body.product-index-clean .product-card {
  min-height: 285px;
}

body.product-index-clean .product-card:hover {
  border-color: rgba(216, 192, 110, 0.34) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42) !important;
}

body.product-index-clean .product-card:hover h3,
body.product-index-clean .product-card:hover h3 a {
  text-shadow: none !important;
}

body.product-index-clean .status-live {
  color: #d8f4df !important;
  border-color: rgba(171, 201, 180, 0.28) !important;
  background: rgba(171, 201, 180, 0.14) !important;
  box-shadow: none !important;
}

body.product-index-clean .status-review {
  color: #f2ddb0 !important;
  border-color: rgba(216, 192, 110, 0.3) !important;
  background: rgba(216, 192, 110, 0.14) !important;
  box-shadow: none !important;
}

body.product-index-clean .product-actions a:first-child,
body.product-index-clean .product-actions a,
body.product-index-clean .registry-links a,
body.product-index-clean .cta-row a.primary,
body.product-index-clean .cta-row a.secondary {
  background: rgba(246, 241, 222, 0.05) !important;
  border-color: rgba(246, 241, 222, 0.12) !important;
  color: rgba(246, 241, 222, 0.88) !important;
  box-shadow: none !important;
}

body.product-index-clean .product-actions a:hover,
body.product-index-clean .registry-links a:hover,
body.product-index-clean .cta-row a:hover {
  background: #f6f1de !important;
  color: #050706 !important;
  border-color: #f6f1de !important;
}

@media (max-width: 1040px) {
  body.product-index-clean .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body.product-index-clean .product-hero { padding-top: 4.8rem !important; }
  body.product-index-clean .product-grid { grid-template-columns: 1fr; }
  body.product-index-clean .product-hero .display { font-size: clamp(2.7rem, 15vw, 4.5rem); }
}
