/* ── Si-Hive — AI-Driven Mixed-Signal Chip Design (light sky theme) ────── */

:root {
  /* ===== DARK — the "silicon" default (recommended for the deep-tech / AI-hardware market) ===== */
  --bg-deep: #070c14;         /* deep ink-navy ground */
  --bg-surface: #0a1220;      /* alternating sections */
  --bg-elevated: #101b2a;     /* inputs / small surfaces */
  --bg-card: #0e1826;         /* cards */
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.15);

  --text: #e9eef6;
  --text-muted: #9aacbe;
  --text-dim: #61748a;

  /* Brand — sampled from the Si-Hive mark, brightened for dark legibility */
  --accent: #1ab4ca;
  --accent-bright: #5cd9ec;
  --accent-cyan: #00ccf0;
  --accent-glow: rgba(0, 204, 240, 0.28);
  --accent-alt: #00ccf0;
  --accent-alt-glow: rgba(0, 204, 240, 0.20);
  --gradient: linear-gradient(135deg, #0fa6ba 0%, #00ccf0 100%);

  --featured-bg: linear-gradient(160deg, var(--bg-card), rgba(0, 204, 240, 0.06));
  --phase-now-bg: linear-gradient(160deg, var(--bg-card), rgba(0, 204, 240, 0.09));
  --ghost-bg: rgba(255, 255, 255, 0.02);
  --ghost-color: var(--text);
  --btn-primary-color: #04141c;
  --grid-line: rgba(0, 204, 240, 0.05);
  --header-bg: rgba(7, 12, 20, 0.72);
  --header-shadow: rgba(0, 0, 0, 0.4);

  /* chip bezel — near-flush on dark (the renders are already dark) */
  --bezel: #0a1017;
  --bezel-strip: #0c1420;
  --bezel-border: rgba(255, 255, 255, 0.09);
  --bezel-text: #90a2b4;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, 0.5);

  --radius: 12px;
  --radius-lg: 20px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
  --header-h: 72px;
  --container: 1140px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== LIGHT — sky-blue alternate (one-click toggle) ===== */
:root[data-theme="light"] {
  --bg-deep: #eaf1f8;
  --bg-surface: #dfe9f2;
  --bg-elevated: #f2f7fb;
  --bg-card: #ffffff;
  --border: #d3e0ec;
  --border-bright: #b6cadd;

  --text: #0c2b33;
  --text-muted: #47616e;
  --text-dim: #7690a0;

  --accent: #007884;
  --accent-bright: #0093a6;
  --accent-cyan: #00ccf0;
  --accent-glow: rgba(0, 150, 170, 0.22);
  --accent-alt: #00a7c4;
  --accent-alt-glow: rgba(0, 204, 240, 0.18);
  --gradient: linear-gradient(135deg, #007884 0%, #00a7cc 100%);

  --featured-bg: linear-gradient(160deg, #ffffff, #eef8fa);
  --phase-now-bg: linear-gradient(160deg, #ffffff, #ecf8fa);
  --ghost-bg: #ffffff;
  --ghost-color: var(--accent);
  --btn-primary-color: #ffffff;
  --grid-line: rgba(0, 120, 132, 0.05);
  --header-bg: rgba(238, 244, 250, 0.82);
  --header-shadow: rgba(12, 43, 51, 0.08);

  --bezel: #0b1622;
  --bezel-strip: #0f1f2c;
  --bezel-border: #1a2c3e;
  --bezel-text: #9fb4c5;

  --shadow-sm: 0 1px 2px rgba(12, 43, 51, 0.05), 0 6px 16px rgba(12, 43, 51, 0.05);
  --shadow-md: 0 10px 34px rgba(12, 43, 51, 0.10);
  --shadow-lg: 0 26px 60px rgba(12, 43, 51, 0.16);
}

html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background effects — faint teal grid + soft sky glows */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--1 {
  width: 620px;
  height: 620px;
  top: -220px;
  right: -120px;
  background: var(--accent-alt-glow);
  opacity: 0.7;
}

.bg-glow--2 {
  width: 520px;
  height: 520px;
  bottom: 15%;
  left: -160px;
  background: rgba(0, 120, 132, 0.10);
  opacity: 0.7;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.mono { font-family: var(--mono); font-size: 0.85em; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Header ─────────────────────────────────────────────────────────── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.scrolled { box-shadow: 0 4px 24px var(--header-shadow); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.logo-img { height: 34px; width: auto; display: block; }
.logo-text { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--accent); }

.nav-cta {
  padding: 0.5rem 1.1rem !important;
  background: var(--gradient) !important;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.nav-cta:hover { opacity: 0.92; color: #fff !important; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.theme-toggle:hover { color: var(--accent); border-color: var(--border-bright); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gradient);
  color: var(--btn-primary-color);
  box-shadow: 0 6px 22px var(--accent-glow);
}

.btn-primary:hover { box-shadow: 0 10px 30px var(--accent-glow); }

.btn-ghost {
  background: var(--ghost-bg);
  color: var(--ghost-color);
  border: 1px solid var(--border-bright);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }

.btn-full { width: 100%; }

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-alt-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; }

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.pipeline-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.pipeline-step--highlight {
  border-color: rgba(0, 120, 132, 0.35);
  background: rgba(0, 167, 196, 0.09);
  box-shadow: 0 0 24px var(--accent-glow);
}

.step-icon { font-size: 1.5rem; }

.pipeline-step strong { display: block; font-size: 0.95rem; }
.pipeline-step span { font-size: 0.8rem; color: var(--text-muted); }

.pipeline-arrow {
  display: flex;
  justify-content: center;
  color: var(--accent);
  opacity: 0.6;
}

.pipeline-arrow svg { width: 20px; height: 20px; }

/* ── Sections ───────────────────────────────────────────────────────── */

.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.section--alt {
  background: var(--bg-surface);
  border-block: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.read-more:hover { color: var(--accent-bright); }

/* Cards */
.cards-grid { display: grid; gap: 1.5rem; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card--featured {
  background: var(--featured-bg);
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 120, 132, 0.1);
  color: var(--accent);
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card-badge--alt {
  background: rgba(0, 204, 240, 0.14);
  color: #0284a0;
}

.card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.card p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 0.95rem; }

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.card-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.workflow-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.workflow-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.workflow-item .mono { color: var(--accent); margin-right: 0.35rem; }

/* IP Grid */
.ip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.ip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.ip-card:hover {
  border-color: rgba(0, 120, 132, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ip-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.ip-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.ip-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* PDKs */
.pdk-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pdk-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 200px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pdk-badge:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pdk-name {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.pdk-detail { font-size: 0.85rem; color: var(--text-muted); }

/* "Your PDK?" partner-invitation card — the open-door tile in the PDK row */
.pdk-badge--cta {
  border-style: dashed;
  border-color: var(--accent);
  background: var(--featured-bg);
  text-decoration: none;
  justify-content: center;
  padding: 2rem 1.75rem;
}

.pdk-badge--cta:hover { border-color: var(--accent-bright); background: rgba(0, 204, 240, 0.08); }

.pdk-badge--cta .pdk-detail {
  max-width: 12.5rem;
  text-align: center;
  line-height: 1.45;
}

.pdk-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  margin-bottom: 0.55rem;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
}

.pdk-badge--cta:hover .pdk-plus { color: var(--accent-bright); border-color: var(--accent-bright); transform: scale(1.08); }

.pdk-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ── Chip image frame (dark bezel on the light page) ────────────────── */
.chip-frame {
  margin: 0;
  border: 1px solid var(--bezel-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bezel);
  box-shadow: var(--shadow-lg);
}

.chip-frame img { display: block; width: 100%; height: auto; }

.chip-frame figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.82rem;
  color: var(--bezel-text);
  border-top: 1px solid var(--bezel-border);
  background: var(--bezel-strip);
}

.chip-frame--hero { width: 100%; max-width: 460px; }

/* the analog PLL (PLLTOP4_D40) render is portrait — cap its height so the Proof row stays balanced */
#proof .chip-frame { max-width: 430px; margin-inline: auto; }
#proof .chip-frame img { max-height: 660px; width: 100%; object-fit: contain; }

/* ── Proof / case study ─────────────────────────────────────────────── */
.proof-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.proof-body p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.98rem; }
.proof-body strong { color: var(--text); }
.proof-body em { color: var(--accent); font-style: normal; font-weight: 600; }

.proof-scope {
  color: var(--text) !important;
  font-size: 0.92rem !important;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: rgba(0, 167, 196, 0.08);
  border-radius: 0 8px 8px 0;
}

.capabilities { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }

.cap-chip {
  font-size: 0.78rem;
  font-family: var(--mono);
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.results {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.results-head { text-align: center; margin-bottom: 1.5rem; }
.results-head h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.results-head p { color: var(--text-muted); font-size: 0.9rem; }

.results-table-wrap { overflow-x: auto; }

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 460px;
  font-variant-numeric: tabular-nums;
}

.results-table th,
.results-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.results-table thead th {
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
}

.results-table thead th:last-child { color: var(--accent); }
.results-table tbody td { color: var(--text-muted); }
.results-table tbody td:first-child { color: var(--text); font-weight: 500; }
.results-table tbody td:last-child { font-family: var(--mono); color: var(--accent); font-weight: 500; }
.results-table tbody tr:last-child td { border-bottom: none; }

.results-note { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 1.25rem; }
.results-note strong { color: var(--accent); }

.proof-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.75rem; }

.opensource-note {
  margin-top: 1.75rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--featured-bg);
}

.opensource-note h4 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--text); }
.opensource-note p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; margin: 0; }
.opensource-note strong { color: var(--text); }
.opensource-note a { color: var(--accent); font-weight: 600; }

/* ── Roadmap ────────────────────────────────────────────────────────── */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.phase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.phase--now {
  border-color: rgba(0, 204, 240, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 204, 240, 0.15), var(--shadow-md);
  background: var(--phase-now-bg);
}

.phase-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.phase--done .phase-tag { color: var(--accent); border-color: rgba(0, 120, 132, 0.3); background: rgba(0, 120, 132, 0.07); }
.phase--now .phase-tag { color: #fff; border-color: transparent; background: var(--gradient); }
.phase--proj .phase-tag { color: #c98a2a; border-color: color-mix(in srgb, #c98a2a 32%, var(--border)); background: color-mix(in srgb, #c98a2a 8%, transparent); }
.phase--proj { opacity: 0.92; }

.phase h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.phase p { font-size: 0.9rem; color: var(--text-muted); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.about-content h2 { font-size: clamp(1.75rem, 3vw, 2.1rem); margin-bottom: 1.25rem; }
.about-content p { color: var(--text-muted); margin-bottom: 1rem; }
.about-content strong { color: var(--text); }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight {
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.highlight strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; }
.highlight span { font-size: 0.85rem; color: var(--text-muted); }

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.about-logo { height: 46px; width: auto; display: block; margin-bottom: 1rem; }
.about-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }

.about-card address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.company-meta { display: flex; flex-direction: column; gap: 0.6rem; }

.company-meta div {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
}

.company-meta dt { color: var(--text-dim); }
.company-meta dd { font-family: var(--mono); color: var(--text-muted); }

.about-github {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--mono);
  transition: color var(--transition);
}

.about-github:hover { color: var(--accent); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* contact with the form removed — single centered column */
.contact-grid--solo { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; text-align: center; }
.contact-grid--solo .contact-methods { text-align: left; margin-top: 2rem; }

.contact-info h2 { font-size: clamp(1.75rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-info strong { color: var(--text); }

.contact-methods { display: flex; flex-direction: column; gap: 1rem; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition);
}

.contact-link:hover { border-color: var(--accent); transform: translateY(-1px); }

.contact-icon { font-size: 1.4rem; color: var(--accent); display: inline-flex; }
.contact-link strong { display: block; font-size: 1rem; }
.contact-link small { font-size: 0.8rem; color: var(--text-muted); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-row { margin-bottom: 1.25rem; }

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-dim); }

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-row textarea { resize: vertical; min-height: 100px; }

.form-note { margin-top: 1rem; font-size: 0.8rem; color: var(--text-dim); text-align: center; }
.form-note a { color: var(--accent); }

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-bottom: 0.85rem;
}

.footer-mark { height: 40px; width: auto; display: block; }

.footer-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  font-size: 1.15rem;
}

.footer-wordmark small {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  font-weight: 600;
  margin-top: 2px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition);
}

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

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* focus-visible for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--header-h) + 2rem);
  }

  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }

  .cards-grid--2 { grid-template-columns: 1fr; }
  .ip-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .chip-frame--hero { max-width: 100%; }
}

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

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }

  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.85rem 1.5rem; }

  .nav-cta { margin: 0.5rem 1.5rem; text-align: center; }

  .nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .ip-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1.25rem; align-items: center; }
  .workflow-strip { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* ── Nav "Stories" dropdown ───────────────────────────────────────────── */
.nav-has-sub { position: relative; }
/* transparent hover-bridge across the gap so the submenu stays reachable with the mouse */
.nav-has-sub::after { content: ""; position: absolute; top: 100%; left: 0; width: 240px; height: 0.7rem; }
.nav-caret { font-size: 0.7em; opacity: 0.7; }
.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 232px;
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0.4rem;
  margin-top: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 60;
}
.nav-has-sub:hover .nav-sub,
.nav-has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub a { display: block; padding: 0.55rem 0.75rem; border-radius: 7px; white-space: nowrap; font-size: 0.9rem; }
.nav-sub a:hover { background: var(--featured-bg); color: var(--accent); }

/* ── Hero "latest milestone" pill ─────────────────────────────────────── */
.hero-latest {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), color var(--transition);
}
.hero-latest:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.hero-latest-tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: var(--gradient);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.hero-latest-arrow { color: var(--accent); transition: transform var(--transition); }
.hero-latest:hover .hero-latest-arrow { transform: translateX(3px); }

/* ── Proof story tiles (two milestones) ───────────────────────────────── */
.story-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 3.5rem; }
.story-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.story-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bezel); border-bottom: 1px solid var(--bezel-border); }
.story-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.story-card-body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.35rem 1.45rem 1.55rem; flex: 1; }
.story-badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.story-badge--real { color: #2f9e6a; border-color: color-mix(in srgb, #2f9e6a 40%, var(--border)); background: color-mix(in srgb, #2f9e6a 8%, transparent); }
.story-badge--pred { color: #c98a2a; border-color: color-mix(in srgb, #c98a2a 40%, var(--border)); background: color-mix(in srgb, #c98a2a 8%, transparent); }
.story-card h3 { font-size: 1.15rem; color: var(--text); margin: 0.1rem 0 0; }
.story-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.story-link { margin-top: auto; padding-top: 0.4rem; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.story-card:hover .story-link { text-decoration: underline; }
.proof-subhead { font-size: 1.35rem; margin: 0 0 1.5rem; letter-spacing: -0.01em; }

@media (max-width: 720px) {
  .story-tiles { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-caret { display: none; }
  .nav-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .nav-sub a { padding: 0.6rem 1.5rem 0.6rem 2.6rem; font-size: 0.85rem; color: var(--text-dim); }
  .roadmap { grid-template-columns: 1fr; }
}

/* ── ASAP7 "predictive" PDK badge — amber, distinct from silicon-real planar ── */
.pdk-badge--pred { border-color: color-mix(in srgb, #c98a2a 32%, var(--border)); }
.pdk-badge--pred .pdk-name { color: #c98a2a; }

/* ── About: recent AI milestones ──────────────────────────────────────── */
.milestones { margin: 1.75rem 0; }
.milestones-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 0.8rem; }
.milestone-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; padding: 0; margin: 0; }
.milestone-list li { position: relative; padding-left: 1.4rem; font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }
.milestone-list li::before { content: "▹"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.milestone-list li strong { color: var(--text); }

/* ── Landing "latest status" card (proof section) ─────────────────────── */
.status-card { display: block; margin: 0 0 3.5rem; padding: 1.5rem 1.75rem; background: var(--featured-bg); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-lg); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.status-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.status-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.status-badge { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.status-arrow { color: var(--accent); font-size: 1.15rem; transition: transform var(--transition); }
.status-card:hover .status-arrow { transform: translateX(4px); }
.status-card h3 { font-size: 1.2rem; color: var(--text); margin: 0 0 0.6rem; letter-spacing: -0.01em; }
.status-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
.status-link { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ── ★ Featured 7 nm milestone — flagship block in Proof ──────────────── */
.feature7 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 3.5rem;
  padding: 2rem 2.25rem;
  background: var(--featured-bg);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.feature7::before {
  content: "";
  position: absolute;
  top: -50%; left: -15%;
  width: 55%; height: 160%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 20%, transparent), transparent 68%);
  pointer-events: none;
}
@media (max-width: 860px) { .feature7 { grid-template-columns: 1fr; padding: 1.5rem; } }
.feature7-media { position: relative; z-index: 1; }
.feature7-media img { width: 100%; display: block; border-radius: var(--radius); border: 1px solid var(--bezel-border); background: var(--bezel); }
.feature7-body { position: relative; z-index: 1; }
.feature7-badge {
  display: inline-block; margin-bottom: 1rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  color: #fff; background: var(--gradient); padding: 0.32rem 0.75rem; border-radius: 999px;
}
.feature7-body h3 { font-size: clamp(1.5rem, 2.7vw, 2rem); line-height: 1.14; letter-spacing: -0.02em; text-wrap: balance; color: var(--text); margin-bottom: 0.9rem; }
.feature7-body > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.4rem; font-size: 1.02rem; }
.feature7-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin-bottom: 1.4rem; }
.f7s b { display: block; font-family: var(--mono); font-size: 1.4rem; font-weight: 600; color: var(--accent); line-height: 1.1; letter-spacing: -0.01em; }
.f7s span { font-size: 0.8rem; color: var(--text-dim); }
.feature7-honest { font-size: 0.84rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 1.5rem; padding-left: 0.85rem; border-left: 2px solid color-mix(in srgb, #c98a2a 55%, var(--border)); }
.feature7-honest strong { color: var(--text-muted); }
.feature7-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
