:root {
  --bg: #f3f1eb;
  --surface: #fbfaf7;
  --surface-strong: #f7f5ef;
  --surface-line: #d8d2c7;
  --text: #171a1c;
  --text-muted: #586068;
  --accent: #1f6b63;
  --accent-strong: #154f49;
  --warm: #b46a3c;
  --cool: #6d7c97;
  --shadow-soft: 0 18px 50px rgba(23, 26, 28, 0.08);
  --shadow-card: 0 10px 24px rgba(23, 26, 28, 0.06);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(109, 124, 151, 0.14), transparent 26%),
    radial-gradient(circle at top left, rgba(31, 107, 99, 0.1), transparent 24%),
    linear-gradient(180deg, #f8f6f1 0%, var(--bg) 18%, #f5f3ed 100%);
  font-family: "IBM Plex Sans", "Inter", "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell > main {
  flex: 1;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(109, 124, 151, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 124, 151, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 88%);
  opacity: 0.35;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  backdrop-filter: blur(16px);
  background: rgba(243, 241, 235, 0.78);
  border-bottom: 1px solid rgba(216, 210, 199, 0.7);
}

.header-inner,
.footer-inner,
.section-header-row,
.card-topline,
.panel-header,
.button-row,
.chip-row,
.hero-actions,
.eyebrow-row,
.hero-meta,
.contact-links,
.form-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-inner,
.footer-inner,
.section-header-row,
.form-actions {
  justify-content: space-between;
}

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

.brand-mark {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, #8ecbc3 0%, #4f938b 36%, var(--accent) 72%, var(--accent-strong) 100%);
  box-shadow: 0 0 0 6px rgba(31, 107, 99, 0.1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: "Manrope", "Avenir Next", sans-serif;
}

.brand-text span:last-child {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--text-muted);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--surface-line);
  background: var(--surface);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.hero {
  padding: 4.75rem 0 2.25rem;
}

.hero-grid,
.split-layout,
.contact-grid,
.dual-grid,
.ui-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
}

.hero-copy h1,
.section-heading h2,
.signal-card h2 {
  margin: 0;
  font-family: "Manrope", "Avenir Next", sans-serif;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  margin-top: 1rem;
  font-size: clamp(2.8rem, 6.4vw, 4.9rem);
  line-height: 1.02;
  max-width: 8.8ch;
}

.hero-lead,
.section-heading p,
.product-card p,
.summary-card p,
.capability-card p,
.article-card p,
.principle-card p,
.panel p,
.founder-body p {
  color: var(--text-muted);
}

.hero-lead {
  max-width: 58ch;
  margin: 1.2rem 0 0;
  font-size: 1.08rem;
}

.hero-meta {
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}

.hero-meta li,
.mono-label,
.chip,
.status {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  letter-spacing: 0.01em;
}

.hero-meta li {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.8);
  border: 1px solid rgba(216, 210, 199, 0.9);
  color: var(--text-muted);
  font-size: 0.82rem;
}

.signal-panel,
.summary-card,
.founder-card,
.product-card,
.capability-card,
.panel,
.principle-card,
.article-card,
.metric-card,
.contact-form,
.alert,
.quote-card,
.code-card {
  border: 1px solid rgba(216, 210, 199, 0.92);
  background: rgba(251, 250, 247, 0.9);
  box-shadow: var(--shadow-card);
}

.signal-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.75rem;
  background:
    linear-gradient(160deg, rgba(251, 250, 247, 0.96) 0%, rgba(245, 243, 237, 0.84) 100%);
}

.signal-grid,
.portrait-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(109, 124, 151, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 124, 151, 0.09) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.34;
}

/* ── Hero signal graphic ── */
.sv-hub {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.sv-hub-core {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #8ecbc3 0%, #4f938b 36%, var(--accent) 72%, var(--accent-strong) 100%);
  box-shadow: 0 0 0 10px rgba(31, 107, 99, 0.1);
  z-index: 1;
}

.sv-hub-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  border: 1.5px solid rgba(31, 107, 99, 0.38);
  opacity: 0;
  animation: sv-ping 3.8s cubic-bezier(0.15, 0, 0.55, 1) infinite;
}

.sv-ring-inner {
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
}

.sv-ring-outer {
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  animation-delay: 1.6s;
}

@keyframes sv-ping {
  0%   { opacity: 0.75; transform: scale(0.72); }
  100% { opacity: 0;    transform: scale(1.06); }
}

.sv-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.sv-node-a {
  top: 16%;
  left: 18%;
  background: var(--warm);
  box-shadow: 0 0 0 8px rgba(180, 106, 60, 0.1);
  animation: sv-glow-warm 4.2s ease-in-out infinite;
}

.sv-node-b {
  top: 12%;
  right: 17%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(31, 107, 99, 0.1);
  animation: sv-glow-accent 4.2s ease-in-out infinite 1.4s;
}

.sv-node-c {
  top: 48%;
  right: 19%;
  background: var(--cool);
  box-shadow: 0 0 0 8px rgba(109, 124, 151, 0.1);
  animation: sv-glow-cool 4.2s ease-in-out infinite 2.8s;
}

@keyframes sv-glow-accent {
  0%, 100% { box-shadow: 0 0 0 8px rgba(31, 107, 99, 0.10); }
  50%       { box-shadow: 0 0 0 16px rgba(31, 107, 99, 0.18); }
}

@keyframes sv-glow-warm {
  0%, 100% { box-shadow: 0 0 0 8px rgba(180, 106, 60, 0.10); }
  50%       { box-shadow: 0 0 0 16px rgba(180, 106, 60, 0.18); }
}

@keyframes sv-glow-cool {
  0%, 100% { box-shadow: 0 0 0 8px rgba(109, 124, 151, 0.10); }
  50%       { box-shadow: 0 0 0 16px rgba(109, 124, 151, 0.18); }
}

.sv-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.signal-card {
  position: relative;
  padding: 1.3rem;
  border-radius: 24px;
  border: 1px solid rgba(216, 210, 199, 0.95);
  backdrop-filter: blur(8px);
  background: rgba(251, 250, 247, 0.84);
  z-index: 1;
}

.card-message {
  z-index: 1;
}

.signal-headline {
  margin: 0.35rem 0 0;
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.4;
  color: var(--text);
  max-width: 34ch;
}

.card-stats {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  z-index: 2;
}

.stat-value {
  display: block;
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.stat-label,
.mono-label {
  color: var(--text-muted);
  font-size: 0.77rem;
}

.section {
  padding: 2.5rem 0 5rem;
}

.section-tinted {
  background: linear-gradient(180deg, rgba(251, 250, 247, 0.5), rgba(247, 245, 239, 0.8));
}

.summary-strip {
  padding: 2rem 0 2rem;
}

.summary-grid,
.product-grid,
.capability-grid,
.principle-grid,
.article-grid,
.metric-row {
  display: grid;
  gap: 1rem;
}

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

.summary-card,
.capability-card,
.principle-card,
.article-card,
.metric-card {
  padding: 1.4rem;
  border-radius: 24px;
}

.summary-card h3,
.product-card h3,
.capability-card h3,
.principle-card h3,
.article-card h3,
.panel h3 {
  margin: 0.25rem 0 0.6rem;
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: 1.15rem;
}

.split-layout {
  grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-kicker {
  margin: 0 0 0.6rem;
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  max-width: 18ch;
}

.page-hero {
  padding-top: 4rem;
}

.page-title {
  margin: 0;
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 13ch;
}

.section-heading p {
  max-width: 58ch;
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.64fr) minmax(0, 1fr);
  padding: 1rem;
  border-radius: 28px;
  gap: 1rem;
}

.portrait-panel {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31, 107, 99, 0.18), rgba(109, 124, 151, 0.18)),
    linear-gradient(180deg, rgba(23, 26, 28, 0.02), rgba(23, 26, 28, 0.08));
}

.portrait-glow {
  position: absolute;
  inset: 15% 18%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(180, 106, 60, 0.28), rgba(31, 107, 99, 0.08) 52%, transparent 72%);
}

.founder-body {
  padding: 0.75rem 0.45rem 0.4rem;
}

.metric-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.1rem;
}

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

.product-card {
  border-radius: 28px;
  padding: 1.4rem;
}

.product-card.featured {
  background: linear-gradient(145deg, rgba(251, 250, 247, 0.96), rgba(239, 247, 245, 0.96));
}

.product-value {
  margin: 0.25rem 0 0.5rem;
  color: var(--text);
  font-weight: 600;
}

.section-stack {
  display: grid;
  gap: 1.5rem;
}

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

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

.panel {
  padding: 1.35rem;
  border-radius: 28px;
}

.repo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.repo-list li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(216, 210, 199, 0.8);
}

.repo-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.repo-list span {
  color: var(--text-muted);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(216, 210, 199, 0.92);
  background: rgba(251, 250, 247, 0.88);
  box-shadow: var(--shadow-card);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 0.8rem;
  width: 6px;
  height: calc(100% - 2.7rem);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(31, 107, 99, 0.65), rgba(109, 124, 151, 0.28));
}

.timeline-item h3 {
  margin: 0.2rem 0 0.5rem;
  font-family: "Manrope", "Avenir Next", sans-serif;
}

.principle-stack {
  display: grid;
  gap: 0.95rem;
}

.principle-stack p {
  margin: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.9rem 0.85rem;
  border-bottom: 1px solid rgba(216, 210, 199, 0.84);
}

.data-table th {
  color: var(--text-muted);
  font-size: 0.83rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

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

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

.ui-stack {
  display: grid;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 20px rgba(31, 107, 99, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary,
.button-ghost,
.nav-cta {
  background: rgba(251, 250, 247, 0.86);
  border-color: rgba(216, 210, 199, 0.95);
}

.button-ghost {
  background: transparent;
}

.chip-row,
.button-row {
  flex-wrap: wrap;
}

.chip,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 210, 199, 0.95);
  color: var(--text-muted);
  background: rgba(251, 250, 247, 0.86);
  font-size: 0.76rem;
}

.chip-accent {
  color: var(--accent-strong);
  background: rgba(31, 107, 99, 0.11);
  border-color: rgba(31, 107, 99, 0.22);
}

.status-live {
  color: var(--accent-strong);
  background: rgba(31, 107, 99, 0.1);
  border-color: rgba(31, 107, 99, 0.2);
}

.status-beta {
  color: var(--cool);
  background: rgba(109, 124, 151, 0.1);
  border-color: rgba(109, 124, 151, 0.18);
}

.status-build {
  color: var(--warm);
  background: rgba(180, 106, 60, 0.11);
  border-color: rgba(180, 106, 60, 0.18);
}

.status-prelaunch {
  color: var(--accent-strong);
  background: rgba(31, 107, 99, 0.08);
  border-color: rgba(31, 107, 99, 0.16);
}

.alert {
  padding: 0.95rem 1rem;
  border-radius: 18px;
}

.alert.success {
  background: rgba(31, 107, 99, 0.08);
  border-color: rgba(31, 107, 99, 0.16);
}

.alert.info {
  background: rgba(109, 124, 151, 0.08);
  border-color: rgba(109, 124, 151, 0.16);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.contact-form,
.demo-form {
  display: grid;
  gap: 1rem;
  padding: 1.45rem;
  border-radius: 28px;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(216, 210, 199, 0.95);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  padding: 0.9rem 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(31, 107, 99, 0.46);
  box-shadow: 0 0 0 4px rgba(31, 107, 99, 0.08);
}

.checkbox-row {
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-muted);
  font-weight: 400 !important;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  padding: 0;
}

.quote-card,
.code-card {
  padding: 1.2rem;
  border-radius: 22px;
}

.quote-card {
  margin: 0 0 1rem;
}

.quote-card p {
  margin: 0;
  font-size: 1.05rem;
}

.quote-card footer {
  margin-top: 0.75rem;
  color: var(--text-muted);
}

.code-card {
  overflow: auto;
  background: #f0eee7;
}

.code-card code {
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent-strong);
}

.faq-panel details {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(216, 210, 199, 0.88);
}

.faq-panel details:last-child {
  border-bottom: 0;
}

.faq-panel summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-panel details p {
  margin-bottom: 0;
}

.site-footer {
  padding: 1.4rem 0 3rem;
}

.footer-note {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
}

.text-link {
  color: var(--accent-strong);
}

/* ── Writing article ── */
.writing-article {
  padding: 4rem 0 6rem;
}

.writing-header {
  max-width: 760px;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--surface-line);
  margin-bottom: 2.5rem;
}

.writing-title {
  margin: 0.4rem 0 0.75rem;
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.writing-date {
  margin: 0;
}

.writing-back {
  max-width: 760px;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-line);
}

/* ── Prose body ── */
.prose {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose p {
  margin: 0 0 1.4em;
  color: var(--text);
}

.prose h2 {
  margin: 2.2em 0 0.6em;
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.prose h3 {
  margin: 1.8em 0 0.5em;
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

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

.prose em {
  font-style: italic;
}

.prose a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--accent);
}

.prose ul,
.prose ol {
  margin: 0 0 1.4em;
  padding-left: 1.5em;
}

.prose li {
  margin-bottom: 0.4em;
  color: var(--text);
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: rgba(31, 107, 99, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: italic;
}

.prose blockquote p {
  margin: 0;
  color: inherit;
}

.prose code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88em;
  background: rgba(216, 210, 199, 0.45);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--accent-strong);
}

.prose pre {
  margin: 1.6em 0;
  padding: 1.25rem;
  background: #f0eee7;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-sm);
  overflow-x: auto;
}

.prose pre code {
  background: none;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text);
}

.prose hr {
  margin: 2.5em 0;
  border: none;
  border-top: 1px solid var(--surface-line);
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .contact-grid,
  .product-grid,
  .capability-grid,
  .article-grid,
  .principle-grid,
  .dual-grid,
  .ui-grid,
  .summary-grid,
  .founder-card {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .section-heading h2 {
    max-width: none;
  }

  .signal-panel {
    min-height: 360px;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .metric-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid rgba(216, 210, 199, 0.95);
    border-radius: 20px;
    background: rgba(251, 250, 247, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.3rem 0;
  }
}

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

  .page-hero {
    padding-top: 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .signal-panel {
    min-height: 280px;
    padding: 1rem;
  }

  .sv-hub,
  .sv-node,
  .sv-line {
    display: none;
  }

  .signal-card,
  .summary-card,
  .product-card,
  .panel,
  .principle-card,
  .article-card,
  .founder-card,
  .contact-form {
    border-radius: 22px;
  }

  .card-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2rem 0 4rem;
  }

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

  .data-table {
    font-size: 0.88rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.7rem 0.5rem;
  }

  .eyebrow-row {
    flex-wrap: wrap;
  }

  .hero-meta {
    gap: 0.5rem;
  }

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

@media (min-width: 1440px) {
  :root {
    --container: 1320px;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .summary-grid {
    gap: 1.25rem;
  }
}
