/* ═══════════════════════════════════════════════════════════════
   Crosscourt Design System — Kinetic Precision
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --surface: #E5E5E5;
  --surface-dim: #D8DAD5;
  --surface-low: #ECEEE9;
  --surface-mid: #E0E2DC;
  --surface-high: rgba(255, 255, 255, 0.60);
  --surface-recessed: #D5D8D1;

  --text: #1C2118;
  --text-muted: #4F5D4B;
  --text-faint: #7A8676;

  --primary: #15B500;
  --primary-deep: #2E6F21;
  --outline: #6A7A65;
  --outline-subtle: rgba(106, 122, 101, 0.15);

  --glow-green: rgba(46, 111, 33, 0.04);
  --gradient-cta: linear-gradient(135deg, #15B500, #2E6F21);

  --font-heading: 'Public Sans', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 300ms;

  --container: 72rem;
  --container-narrow: 52rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-gap: clamp(3.2rem, 6vw, 4.9rem);
  --radius-soft: 1.75rem;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--surface-low) 0%, var(--surface) 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.02;
}

h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(1.85rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
h4 { font-size: 0.85rem; letter-spacing: 0.12em; color: var(--primary-deep); }

p { max-width: 42rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 36rem;
}

/* ── Layout ── */
.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--narrow {
  width: min(100%, var(--container-narrow));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f4f6f0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--outline-subtle);
  transition:
    background var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out);
}

.nav--menu-open {
  background: #f4f6f0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.5),
    0 18px 40px rgba(28, 33, 24, 0.09);
}

.nav--scrolled {
  background: #f6f7f2;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(106, 122, 101, 0.18);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.56),
    0 18px 40px rgba(28, 33, 24, 0.09);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.nav__logo span {
  color: var(--primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease-out);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cta);
  border-radius: 1px;
  transition: width var(--duration) var(--ease-out);
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--text);
}

.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  width: 100%;
}

.nav__links a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--gradient-cta);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav__cta[aria-current="page"] {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.nav__toggle {
  display: none;
  width: 2rem;
  height: 2rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all var(--duration) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.btn--primary {
  padding: 0.875rem 2rem;
  background: var(--gradient-cta);
  color: #fff;
  border: none;
}

.btn--primary:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 2rem rgba(21, 181, 0, 0.2);
}

.btn--secondary {
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--outline-subtle);
}

.btn--secondary:hover {
  border-color: var(--primary-deep);
  color: var(--primary-deep);
}

.btn--tertiary {
  padding: 0.5rem 0;
  background: transparent;
  color: var(--primary-deep);
  border: none;
  border-radius: 0;
  position: relative;
}

.btn--tertiary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--primary-deep);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform var(--duration) var(--ease-out);
}

.btn--tertiary:hover::after {
  transform: scaleX(1);
}

.btn__arrow {
  transition: transform var(--duration) var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ── Hero ── */
.hero {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.25rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(21, 181, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__headline {
  margin-bottom: 1.25rem;
  max-width: 13ch;
}

.hero__sub {
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ── Page Header (inner pages) ── */
.page-header {
  padding-top: clamp(2.5rem, 6vw, 4.75rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(21, 181, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 1rem;
  max-width: 16ch;
}

.page-header .lede {
  max-width: 38rem;
}

/* ── Section Headings ── */
.section-intro {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-intro h2 {
  margin-bottom: 1rem;
}

/* ── Surface Cards ── */
.card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--outline-subtle);
  border-radius: 1.5rem;
  transition: border-color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}

.card:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(106, 122, 101, 0.22);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.8rem;
}

.product-card__meta {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.product-card__meta strong {
  color: var(--text);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill--live {
  background: rgba(21, 181, 0, 0.12);
  color: var(--primary-deep);
}

.status-pill--development {
  background: rgba(46, 111, 33, 0.12);
  color: var(--primary-deep);
}

.status-pill--exploring {
  background: rgba(28, 33, 24, 0.08);
  color: var(--text);
}

.status-pill--alpha {
  background: rgba(46, 111, 33, 0.12);
  color: var(--primary-deep);
}

.status-pill--prototype,
.status-pill--lab {
  background: rgba(28, 33, 24, 0.08);
  color: var(--text);
}

.status-pill--utility {
  background: rgba(21, 181, 0, 0.12);
  color: var(--primary-deep);
}

.status-pill--internal {
  background: rgba(79, 93, 75, 0.12);
  color: var(--text-muted);
}

.redirect-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.redirect-card {
  width: min(100%, 40rem);
  padding: clamp(2rem, 5vw, 2.75rem);
  border-radius: 2rem;
}

.work-entry__block h3 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--primary-deep);
  margin-bottom: 0.5rem;
}

.work-entry__block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Founders ── */
.founder {
  padding: clamp(1.35rem, 2.4vw, 2rem);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--outline-subtle);
  border-radius: 1.5rem;
  transition: border-color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}

.founder:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(106, 122, 101, 0.22);
}

.founder__avatar {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--gradient-cta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.founder h3 {
  margin-bottom: 0.25rem;
}

.founder__role {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.founder p:not(.founder__role) {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.founder__belief {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--outline-subtle);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem !important;
}

/* ── Tonal Section Shifts ── */
.section--tonal {
  background: var(--surface-mid);
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section--alt {
  position: relative;
}

.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(21, 181, 0, 0.02) 50%, transparent 100%);
  pointer-events: none;
}

/* ── CTA Section ── */
.cta-section {
  text-align: left;
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section .lede {
  margin-bottom: 2rem;
}

.section-note,
.quiet-note {
  color: var(--text-muted);
  max-width: 42rem;
}

.section-note {
  margin-top: 1.5rem;
}

.quiet-note {
  margin-top: 1.25rem;
}

/* ── Differentiators ── */
.diff-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.diff-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.diff-item__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: rgba(46, 111, 33, 0.08);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-item__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-deep);
}

.diff-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.diff-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.status-legend {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.status-legend__item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.status-legend__item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (min-width: 768px) {
  .status-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .diff-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
  }
}

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.contact-info__list {
  margin-top: 1.5rem;
}

.contact-info__list li {
  padding: 0.75rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--outline-subtle);
}

.contact-info__list li:last-child {
  border-bottom: none;
}

.contact-info__list li strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Footer ── */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--outline-subtle);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer__brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer__brand span {
  color: var(--primary);
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 20rem;
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
}

.footer__nav a {
  font-size: 0.85rem;
  color: var(--text);
  transition: color var(--duration) var(--ease-out);
}

.footer__nav a:hover {
  color: var(--primary-deep);
}

.footer__nav a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--outline-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 40ms; }
.reveal-delay-2 { transition-delay: 80ms; }
.reveal-delay-3 { transition-delay: 120ms; }

/* ── Mobile Navigation ── */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 4rem;
    left: 0;
    right: auto;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem var(--gutter);
    gap: 0;
    background: linear-gradient(180deg, var(--surface-low) 0%, var(--surface) 100%);
    border-top: 1px solid var(--outline-subtle);
    box-shadow: 0 1.25rem 2.5rem rgba(28, 33, 24, 0.08);
    overflow-y: auto;
    transform: translateY(-0.75rem);
    opacity: 0;
    transition:
      transform var(--duration) var(--ease-out),
      opacity var(--duration) var(--ease-out);
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--outline-subtle);
    width: 100%;
  }

  .nav__links a::after {
    display: none;
  }

  .nav__cta {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 1rem;
    font-size: 0.9rem;
  }

  .nav__toggle {
    display: flex;
  }
}

/* ── Responsive Adjustments ── */
@media (max-width: 640px) {
  .hero__headline {
    max-width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn--primary,
  .btn--secondary {
    width: 100%;
    justify-content: center;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

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

  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Utility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ═══════════════════════════════════════════════════════════════
   Second Pass — Editorial Court
   Preserves the Kinetic Precision system while reducing repetition.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --surface-glass: rgba(255, 255, 255, 0.54);
  --surface-panel: rgba(242, 244, 238, 0.92);
  --court-track: rgba(106, 122, 101, 0.06);
  --court-track-strong: rgba(46, 111, 33, 0.12);
  --shadow-ambient: 0 28px 72px rgba(46, 111, 33, 0.08);
  --shadow-soft: 0 18px 42px rgba(28, 33, 24, 0.06);
}

body {
  position: relative;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.74), transparent 24%),
    linear-gradient(135deg, #eff0eb 0%, #e5e5e5 54%, #dcded7 100%);
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(90deg, transparent 0 calc(100% - 7rem), rgba(46, 111, 33, 0.05) calc(100% - 7rem) calc(100% - 6.75rem), transparent calc(100% - 6.75rem) 100%),
    repeating-linear-gradient(90deg, transparent 0 18rem, var(--court-track) 18rem 18.06rem, transparent 18.06rem 36rem),
    linear-gradient(158deg, transparent 0 56%, rgba(21, 181, 0, 0.035) 56% 59%, transparent 59% 100%);
}

body::after {
  background:
    radial-gradient(circle at 84% 14%, rgba(21, 181, 0, 0.12), transparent 16%),
    radial-gradient(circle at 16% 84%, rgba(46, 111, 33, 0.08), transparent 20%);
}

h1,
h2 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h3,
h4 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

section {
  padding-top: clamp(3.3rem, 6.5vw, 5rem);
  padding-bottom: clamp(3.15rem, 6vw, 4.8rem);
}

.nav {
  background: #f4f6f0;
  border-bottom: none;
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.45),
    0 18px 36px rgba(28, 33, 24, 0.06);
}

.nav__inner {
  height: 4.5rem;
}

.nav__logo,
.footer__brand {
  letter-spacing: 0.12em;
}

.nav__links {
  gap: 2.25rem;
}

.nav__links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav__links a::after {
  height: 3px;
  border-radius: 999px;
}

.nav__cta {
  box-shadow: 0 0 48px rgba(46, 111, 33, 0.18);
}

.btn {
  letter-spacing: 0.12em;
}

.btn--primary {
  box-shadow: 0 20px 48px rgba(21, 181, 0, 0.18);
}

.btn--secondary {
  border: none;
  background: rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(106, 122, 101, 0.16);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(46, 111, 33, 0.22);
}

.btn--tertiary {
  letter-spacing: 0.14em;
}

.hero {
  padding-top: clamp(4.5rem, 10vw, 7rem);
}

.hero::before {
  top: -24%;
  right: -24%;
  width: 60rem;
  height: 60rem;
  background: radial-gradient(circle, rgba(21, 181, 0, 0.18) 0%, rgba(21, 181, 0, 0.03) 34%, transparent 68%);
}

.home-hero {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.hero__kicker {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}

.hero__headline {
  max-width: 9ch;
  line-height: 0.94;
}

.hero__sub {
  max-width: 35rem;
}

.page-header--split,
.section-split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.section-split--stacked {
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.page-header__copy,
.section-aside,
.hero__copy {
  min-width: 0;
}

.section-aside .lede {
  max-width: 22rem;
}

.section-split--stacked .section-aside h2 {
  max-width: 14ch;
}

.section-split--stacked .section-aside .lede,
.section-split--stacked .section-aside__note,
.section-split--stacked .quiet-note {
  max-width: 40rem;
}

.section-aside__note {
  margin-top: 1.5rem;
  max-width: 22rem;
  color: var(--text-faint);
  font-size: 0.9rem;
}

.section-aside__action {
  margin-top: 1.25rem;
}

.hero-rail,
.page-rail,
.surface-band,
.contact-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--surface-glass) 0%, var(--surface-panel) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 2rem;
  box-shadow: var(--shadow-ambient);
}

.hero-rail::before,
.page-rail::before,
.surface-band::before,
.contact-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), transparent 38%),
    linear-gradient(90deg, transparent 0 78%, rgba(46, 111, 33, 0.08) 78% 79%, transparent 79% 100%);
}

.hero-rail,
.page-rail {
  padding: clamp(1.5rem, 4vw, 2.15rem);
}

.surface-band,
.contact-shell {
  padding: clamp(1.35rem, 3.5vw, 2rem);
}

.surface-band {
  margin-left: calc(var(--gutter) * -0.25);
  margin-right: calc(var(--gutter) * -0.25);
}

.rail-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 0.85rem;
}

.rail-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.02;
}

.rail-note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.ledger {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.ledger li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(213, 216, 209, 0.48);
}

.ledger strong,
.ledger span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ledger span {
  color: var(--text-faint);
}

.vantage-bar {
  display: flex;
  gap: 0.45rem;
  align-items: flex-end;
  margin: 1.35rem 0;
}

.vantage-bar span {
  width: 0.4rem;
  border-radius: 999px;
  background: rgba(79, 93, 75, 0.18);
}

.vantage-bar span:nth-child(1) { height: 1rem; }
.vantage-bar span:nth-child(2) { height: 1.4rem; }
.vantage-bar span:nth-child(3) { height: 1.9rem; }
.vantage-bar span:nth-child(4) { height: 2.35rem; }
.vantage-bar span:nth-child(5) { height: 2.85rem; }

.vantage-bar .is-live {
  background: var(--gradient-cta);
  box-shadow: 0 0 28px rgba(21, 181, 0, 0.22);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.thesis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card,
.product-card,
.founder,
.thesis-card,
.platform-card,
.contact-panel,
.redirect-card {
  border: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64) 0%, rgba(240, 242, 236, 0.98) 100%);
  box-shadow: var(--shadow-soft);
}

.card,
.founder,
.thesis-card,
.platform-card,
.contact-panel {
  border-radius: var(--radius-soft);
}

.card:hover,
.founder:hover,
.platform-card:hover,
.thesis-card:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(242, 244, 238, 1) 100%);
  transform: translateY(-2px);
}

.thesis-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 100%;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border: 1px solid var(--outline-subtle);
  overflow: hidden;
}

.thesis-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.28rem;
  background: linear-gradient(90deg, rgba(21, 181, 0, 0.96), rgba(46, 111, 33, 0.38) 44%, transparent 88%);
}

.thesis-card::after {
  content: '';
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  width: 9rem;
  height: 9rem;
  background: radial-gradient(circle, rgba(21, 181, 0, 0.1), transparent 72%);
  pointer-events: none;
}

.thesis-card h3 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin-top: 0.2rem;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.08;
  letter-spacing: 0.05em;
}

.thesis-card p {
  position: relative;
  z-index: 1;
  max-width: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

.thesis-card__note {
  padding-top: 0.85rem;
  border-top: 1px solid var(--outline-subtle);
  color: var(--text-faint);
}

.product-card {
  position: relative;
  overflow: hidden;
  padding: 1.7rem 1.65rem 1.8rem;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.32rem;
  background: linear-gradient(90deg, rgba(21, 181, 0, 0.96), rgba(46, 111, 33, 0.42) 42%, transparent 88%);
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 4.5rem;
  height: 4.5rem;
  background: radial-gradient(circle, rgba(21, 181, 0, 0.12), transparent 70%);
  pointer-events: none;
}

.product-card h3 {
  max-width: 12ch;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-pill {
  background: rgba(213, 216, 209, 0.72);
  color: var(--text);
}

.status-pill--alpha,
.status-pill--utility,
.status-pill--live {
  background: rgba(21, 181, 0, 0.14);
  color: var(--primary-deep);
}

.status-pill--prototype,
.status-pill--lab {
  background: rgba(79, 93, 75, 0.12);
}

.status-pill--internal {
  background: rgba(124, 134, 118, 0.14);
}

.simple-list {
  gap: 1rem;
}

.simple-list li {
  padding: 1rem 1.1rem 1rem 1.35rem;
  background: rgba(213, 216, 209, 0.34);
  border-radius: 1rem;
}

.simple-list li::before {
  top: 1.28rem;
  left: 0.8rem;
}

.team-grid {
  display: grid;
  gap: 1.1rem;
}

.founder__avatar {
  border-radius: 1.15rem;
}

.founder__role {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section--alt::before {
  background:
    linear-gradient(180deg, transparent 0%, rgba(21, 181, 0, 0.028) 50%, transparent 100%);
}

.contact-grid {
  gap: 2rem;
}

.contact-info__list li {
  padding: 0.9rem 1rem;
  border-bottom: none;
  border-radius: 1rem;
  background: rgba(213, 216, 209, 0.34);
}

.contact-panel {
  padding: 1.6rem;
}

.contact-panel h3 {
  margin-bottom: 0.85rem;
}

.contact-panel .quiet-note {
  color: var(--text-muted);
}

.contact-shortcuts {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.contact-shortcut {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: rgba(213, 216, 209, 0.34);
  box-shadow: inset 0 0 0 1px rgba(106, 122, 101, 0.08);
  transition: transform var(--duration) var(--ease-out), background var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.contact-shortcut strong {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-shortcut span {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-shortcut:hover,
.contact-shortcut:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(46, 111, 33, 0.16);
  transform: translateY(-1px);
}

.contact-shortcut:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.contact-direct {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(106, 122, 101, 0.12);
}

.contact-direct__label {
  margin-bottom: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-deep);
}

.contact-direct__note {
  margin-top: 0.85rem;
  color: var(--text-faint);
  font-size: 0.88rem;
}

.footer {
  position: relative;
  padding: 2.75rem 0 1.8rem;
  border-top: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.34) 100%);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 111, 33, 0.18), transparent);
}

.footer__bottom {
  border-top: none;
}

.hero__actions--tight {
  margin-top: 1.5rem;
}

.hero__actions--spaced {
  margin-top: 2rem;
}

.page-header--roomy {
  padding-bottom: var(--section-gap);
}

.lede--spaced {
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thesis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thesis-grid .thesis-card:last-child {
    grid-column: 1 / -1;
  }

  .product-card--wide {
    grid-column: span 2;
  }
}

@media (min-width: 960px) {
  .home-hero {
    grid-template-columns: minmax(0, 1.14fr) minmax(19rem, 0.86fr);
  }

  .section-split {
    grid-template-columns: minmax(16rem, 21rem) minmax(0, 1fr);
    gap: 2.25rem;
    align-items: start;
  }

  .section-split--stacked {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-split--team {
    grid-template-columns: minmax(21rem, 24rem) minmax(0, 1fr);
    gap: 2.25rem;
  }

  .section-split--team.section-split--stacked {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(13.5rem, 1fr));
    gap: 1.25rem;
  }

  .thesis-card--wide {
    display: grid;
    grid-template-columns: minmax(11rem, 0.78fr) minmax(0, 1fr);
    gap: 0.95rem 1.35rem;
    align-items: start;
  }

  .thesis-card--wide h3 {
    grid-row: 1 / span 2;
    align-self: start;
    max-width: 9ch;
    margin-top: 0.1rem;
  }

  .thesis-card--wide .thesis-card__note {
    padding-top: 0.9rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2.25rem;
  }
}

@media (min-width: 1200px) {
  .page-header--split {
    grid-template-columns: minmax(0, 1.16fr) minmax(19rem, 0.84fr);
    gap: 2.25rem;
    align-items: end;
  }

  .page-header__copy h1 {
    max-width: 16ch;
  }
}

@media (max-width: 768px) {
  body::before {
    background:
      linear-gradient(160deg, transparent 0 52%, rgba(21, 181, 0, 0.03) 52% 56%, transparent 56% 100%);
  }

  .nav__links {
    border-top: none;
    box-shadow: 0 1.25rem 2.5rem rgba(28, 33, 24, 0.08);
    visibility: hidden;
    pointer-events: none;
  }

  .nav__links a {
    border-bottom: none;
    border-radius: 1rem;
    margin-bottom: 0.35rem;
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.56);
  }

  .nav__links .nav__cta {
    background: var(--gradient-cta);
    color: #fff !important;
    box-shadow: 0 16px 36px rgba(21, 181, 0, 0.18);
  }

  .nav__links.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .section-aside .lede,
  .section-aside__note,
  .hero__sub,
  .page-header .lede {
    max-width: none;
  }

  .hero__headline,
  .page-header h1,
  h2 {
    letter-spacing: 0.03em;
  }

  .surface-band,
  .contact-shell {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  h1,
  h2 {
    letter-spacing: 0.025em;
  }

  .hero__headline {
    font-size: clamp(2.3rem, 10.5vw, 3.25rem);
    line-height: 0.97;
  }

  .page-header h1 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 0.98;
  }

  .hero-rail,
  .page-rail,
  .surface-band,
  .contact-shell {
    border-radius: 1.5rem;
  }

  .product-card,
  .founder,
  .thesis-card,
  .platform-card,
  .contact-panel,
  .redirect-card {
    border-radius: 1.35rem;
  }
}
