/* Lonko Digital — Public Company Site (static, no external dependencies) */

:root,
[data-theme="light"] {
  color-scheme: light;
  --brand-red: #e10600;
  --brand-red-hover: #c00500;
  --brand-black: #0b0b0f;
  --bg: #f7f8fa;
  --bg-elevated: #ffffff;
  --text: #1a1d24;
  --text-muted: #5c6370;
  --border: #dfe3ea;
  --focus: #2563eb;
  --hero-gradient: linear-gradient(165deg, #ffffff 0%, #f5f6f8 48%, #eef1f5 100%);
  --status-dev: #0f766e;
  --status-roadmap: #6b7280;
  --status-active: #1d4ed8;
  --status-private: #1d4ed8;
  --status-moderate: #b45309;
  --shadow: 0 8px 24px rgba(11, 11, 15, 0.05);
  --shadow-soft: 0 1px 0 rgba(11, 11, 15, 0.04);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0f;
  --bg-elevated: #141820;
  --text: #f3f4f6;
  --text-muted: #a1a8b3;
  --border: #2a3140;
  --hero-gradient: linear-gradient(165deg, #0b0b0f 0%, #10151d 48%, #151b26 100%);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* K5: Source Serif 4 — H1/H2 headline accent only (self-hosted, Latin subset, 600/700) */
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1,
h2 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}

img {
  max-width: 100%;
  height: auto;
}

/* K1: inline links are neutral; red reserved for CTA / active nav / rare emphasis */
a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: color-mix(in srgb, var(--text-muted) 75%, transparent);
}

a:hover {
  color: var(--text);
  text-decoration-thickness: 2px;
  text-decoration-color: var(--text);
}

a:focus-visible {
  text-decoration-thickness: 2px;
  text-decoration-color: var(--text);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-black);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.container.narrow {
  width: min(720px, calc(100% - 2rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  background: var(--brand-red);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}

.brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.4rem;
  object-fit: cover;
  flex-shrink: 0;
  background: #000;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 0.5rem;
  padding: 0;
  min-width: 2.75rem;
  min-height: 2.75rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 0.875rem;
}

.nav-toggle-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.nav-toggle-line:nth-child(1) {
  top: 0;
}

.nav-toggle-line:nth-child(2) {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle-line:nth-child(3) {
  bottom: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  top: 50%;
  margin-top: -1px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  top: 50%;
  bottom: auto;
  margin-top: -1px;
  transform: rotate(-45deg);
}

.site-nav ul {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--text-muted);
}

.site-nav a[aria-current="page"] {
  color: var(--brand-red);
  text-decoration: none;
}

.site-nav a[aria-current="page"]:hover {
  color: var(--brand-red);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  min-height: 2.5rem;
  cursor: pointer;
  font-size: 0.875rem;
}

/* —— Hero —— */
.hero {
  background: var(--hero-gradient);
  border-bottom: 0;
  padding: 5rem 0 3.35rem;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.brand-signal {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.022em;
  margin: 0 0 1.15rem;
  max-width: 12.75em;
  font-weight: 700;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.65vw, 1.15rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 1.65rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  padding: 0.8rem 1.2rem;
  min-height: 2.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-red-hover);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  color: var(--text);
}

/* —— Identity anchor —— */
.identity-anchor {
  padding: 1.35rem 0 1.85rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.identity-primary {
  margin: 0 0 0.75rem;
  max-width: 48rem;
  font-size: 1.02rem;
  color: var(--text);
  font-weight: 500;
}

.identity-status {
  margin: 0;
  max-width: 48rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* —— Sections —— */
.section {
  padding: 4rem 0;
}

.section-editorial {
  padding: 3.5rem 0;
}

.section-editorial h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-editorial p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.section-editorial p:last-child {
  margin-bottom: 0;
}

.question-list {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--text);
}

.question-list li {
  margin-bottom: 0.35rem;
}

.emphasis-word {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text) !important;
  letter-spacing: -0.02em;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-header h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
  max-width: 44rem;
}

.section-header p:last-child {
  margin-bottom: 0;
}

/* —— Philosophy bridge —— */
.philosophy-bridge {
  padding: 3.25rem 0;
  border-block: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elevated) 70%, var(--bg));
}

.philosophy-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.philosophy-lines li {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text);
  padding-left: 0.9rem;
  border-left: 2px solid var(--border);
}

/* —— Illustrative intelligence card —— */
.intel-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: var(--shadow);
}

.synth-label {
  margin: 0 0 0.85rem;
}

.synth-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: color-mix(in srgb, var(--status-moderate) 14%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--status-moderate) 45%, var(--border));
  border-radius: 0.4rem;
  padding: 0.35rem 0.65rem;
}

.synth-disclaimer {
  margin-top: 0;
}

.intel-question {
  margin: 1.35rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--bg-elevated) 80%, var(--bg));
  border: 1px solid var(--border);
}

.intel-question h3,
.intel-block h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.intel-question p,
.intel-block p {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
}

.intel-question p:last-child,
.intel-block p:last-child {
  margin-bottom: 0;
}

.intel-block {
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
}

.intel-close {
  margin: 1.25rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
}

/* —— Five-question framework —— */
.section-framework {
  background: color-mix(in srgb, var(--bg-elevated) 55%, var(--bg));
  border-block: 1px solid var(--border);
}

.framework-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: framework;
  display: grid;
  gap: 0.85rem;
}

.framework-list li {
  counter-increment: framework;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 1.15rem 0.25rem 1.15rem 3.25rem;
  position: relative;
  box-shadow: none;
}

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

.framework-list li::before {
  content: counter(framework);
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

.framework-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.framework-list p {
  margin: 0;
  color: var(--text-muted);
}

.framework-close {
  margin: 1.5rem 0 0;
  max-width: 40rem;
  font-weight: 600;
  color: var(--text);
}

/* —— Capabilities —— */
.capability-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capability-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 1.1rem 1.15rem;
  box-shadow: none;
}

.capability-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}

.capability-card p {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
}

.capability-card p:last-child {
  margin-bottom: 0;
}

.status-statement {
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* —— Platform status marks (K2) —— */
.status-row {
  margin: 0 0 0.55rem;
}

.capability-card .status-row,
.capability-card .status-mark {
  cursor: default;
}

.status-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--text-muted);
}

.status-tick {
  display: block;
  width: 0.5rem;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.85;
}

.status-mark--private {
  color: var(--text);
  font-weight: 650;
}

.status-mark--private .status-tick {
  opacity: 1;
  height: 2px;
  width: 0.55rem;
}

.status-mark--validated {
  color: var(--text);
  font-weight: 650;
}

.status-mark--validated .status-tick {
  opacity: 1;
  height: 2px;
  width: 0.55rem;
}

.status-mark--progress {
  color: var(--status-moderate);
  font-weight: 650;
}

.status-mark--progress .status-tick {
  opacity: 1;
  height: 2px;
  width: 0.55rem;
}

.status-mark--dev {
  color: var(--text-muted);
}

.status-mark--roadmap {
  color: color-mix(in srgb, var(--text-muted) 90%, var(--bg));
}

.status-mark--roadmap .status-tick {
  opacity: 0.65;
}

/* Illustrative confidence label — NOT platform status (keep separate from K2 marks) */
.status-pill.status-moderate,
.illustrative-confidence {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.01em;
  text-transform: none;
  border-radius: 0;
  padding: 0.15rem 0 0.15rem 0.55rem;
  margin-bottom: 0.35rem;
  background: transparent;
  color: var(--text-muted);
  border: 0;
  border-left: 2px solid color-mix(in srgb, var(--status-moderate) 55%, var(--border));
}

@media (max-width: 768px) {
  .status-mark {
    font-size: 0.78rem;
    letter-spacing: 0.025em;
  }
}

/* —— Trust —— */
.principle-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.principle {
  padding: 1.15rem 0 0.25rem;
  border-top: 2px solid var(--border);
}

.principle h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.principle p {
  margin: 0 0 0.55rem;
  color: var(--text-muted);
}

.principle p:last-child {
  margin-bottom: 0;
}

.trust-close {
  margin: 2rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* —— North Star —— */
.north-star {
  padding: 5rem 0;
  background: var(--hero-gradient);
  border-block: 1px solid var(--border);
}

.visually-quiet {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.north-star-quote {
  margin: 0 0 1.75rem;
  padding: 0.15rem 0 0.15rem 1.1rem;
  border: 0;
  border-left: 3px solid var(--brand-red);
}

.north-star-quote p {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--text);
}

.north-star p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.north-star p:last-child {
  margin-bottom: 0;
}

/* —— Closing —— */
.section-closing {
  padding-bottom: 4.5rem;
}

.section-closing h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.section-closing p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.section-closing .hero-actions {
  margin-top: 1.5rem;
}

/* —— Shared legacy / legal —— */
.grid-2,
.grid-3 {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.pattern-list {
  margin: 0;
  padding-left: 1.2rem;
}

.pattern-list li {
  margin-bottom: 0.35rem;
}

.legal-page main,
main.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  margin-top: 0;
}

.legal-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.legal-meta {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
}

.notice {
  border-left: 3px solid color-mix(in srgb, var(--status-moderate) 55%, var(--border));
  background: color-mix(in srgb, var(--status-moderate) 8%, var(--bg-elevated));
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  margin: 1.25rem 0;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.925rem;
}

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

.footer-name {
  margin: 0 0 0.35rem;
  color: var(--text);
  font-weight: 700;
}

.footer-tag {
  margin: 0 0 0.75rem;
  max-width: 22rem;
}

.footer-copy {
  margin: 0;
}

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 0.2rem;
  color: var(--text-muted);
  text-decoration: none;
  box-sizing: border-box;
}

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

@media (max-width: 900px) {
  .capability-list,
  .principle-grid {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1rem 1.1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .site-nav a {
    display: inline-block;
    padding: 0.25rem 0;
    min-height: 2.5rem;
    line-height: 2;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.75rem 0 2.15rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.7rem, 6.8vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .hero-lead {
    max-width: 36rem;
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
  }

  .hero-actions {
    gap: 0.7rem;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .section,
  .section-editorial,
  .north-star {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .philosophy-bridge {
    padding: 2.5rem 0;
  }

  .intel-card {
    padding: 1.2rem 1rem 1.35rem;
  }

  .framework-list li {
    padding-left: 3.25rem;
  }
}

/* —— About page (Step 62C.5E) —— */
.about-hero {
  padding: 4.5rem 0 2.85rem;
}

.about-hero h1 {
  max-width: 14.5em;
  font-size: clamp(1.75rem, 3.3vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-hero .hero-lead {
  margin-bottom: 0;
  max-width: 38rem;
  line-height: 1.55;
}

.section-believe {
  background: color-mix(in srgb, var(--bg-elevated) 55%, var(--bg));
  border-block: 1px solid var(--border);
}

.section-believe h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.section-believe > .container > p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about-north-star {
  margin: 2rem 0 1.75rem;
  padding: 0.35rem 0 0.35rem 1.1rem;
  border: 0;
  border-left: 3px solid var(--brand-red);
  max-width: 38rem;
}

.about-north-star p {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: var(--text);
}

.believe-close {
  margin: 0 !important;
  font-weight: 700;
  color: var(--text) !important;
  letter-spacing: -0.01em;
}

.approach-support {
  margin-top: 1.5rem;
  max-width: 44rem;
}

.approach-support p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}

.approach-support p:last-child {
  margin-bottom: 0;
}

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

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

.section-founder {
  border-top: 1px solid var(--border);
  padding-top: 3.25rem;
}

.section-founder h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.section-founder p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.framework-list--questions li {
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}

.framework-list--questions li h3 {
  margin: 0;
}

@media (max-width: 900px) {
  .about-status-list,
  .section-principles .about-principles {
    grid-template-columns: 1fr;
  }
}

/* —— Contact page (Step 62C.5G) —— */
.contact-hero {
  padding-bottom: 2.5rem;
}

.contact-hero .hero-lead {
  margin-bottom: 0;
  max-width: 36rem;
}

.contact-reach {
  padding-top: 2.5rem;
}

.contact-reach h2,
.contact-security h2,
.contact-expect h2,
.contact-explore h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
}

.contact-reach p,
.contact-security p,
.contact-explore p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}

.contact-reach p:last-child,
.contact-security p:last-child,
.contact-explore p:last-child {
  margin-bottom: 0;
}

.contact-email-block {
  display: block;
  margin: 1rem 0 1.25rem !important;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--bg-elevated);
  color: var(--text) !important;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.1rem);
  word-break: break-word;
  box-shadow: var(--shadow-soft);
}

.contact-security {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  background: color-mix(in srgb, var(--bg-elevated) 60%, var(--bg));
  border-block: 1px solid var(--border);
}

.contact-principle {
  margin: 0 0 0.9rem !important;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text) !important;
}

.contact-expect {
  padding-top: 2.75rem;
}

.contact-explore {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}

.contact-explore a {
  font-weight: 600;
  text-underline-offset: 0.18em;
}

/* —— K1 Section rhythm + semantic red foundation —— */

.section--open,
.section--belief {
  padding: 4.75rem 0;
}

.section--sequential {
  padding: 4.25rem 0;
}

.section--status {
  padding: 3.25rem 0;
  background: color-mix(in srgb, var(--bg-elevated) 35%, var(--bg));
  border-block: 1px solid var(--border);
}

.section--status .capability-card {
  background: var(--bg);
}

.section--illustrative {
  padding: 3.75rem 0 4.25rem;
}

.section--contact {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section--reading {
  /* legal pages use main.legal-page */
}

.section--belief.section-editorial,
.section--open.section-editorial {
  padding: 4.5rem 0;
}

.philosophy-bridge.section--belief {
  padding: 3.75rem 0;
  background: transparent;
  border-block: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-framework.section--sequential {
  background: transparent;
  border-block: 0;
  border-top: 1px solid var(--border);
}

.section-trust.section--belief {
  padding: 4.75rem 0;
}

.north-star.section--belief {
  padding: 5.5rem 0;
}

.section-closing.section--open {
  padding-top: 3.5rem;
  padding-bottom: 4.75rem;
}

.section-believe.section--belief {
  background: transparent;
  border-block: 0;
  border-top: 1px solid var(--border);
  padding: 4.75rem 0;
}

.section-principles.section--belief .principle {
  border-top-color: var(--border);
  border-top-width: 1px;
  padding-top: 1.35rem;
}

.section-founder.section--open {
  border-top: 0;
  padding: 3.5rem 0 2.5rem;
}

.contact-reach.section--contact,
.contact-expect.section--contact,
.contact-explore.section--contact {
  padding-top: 2rem;
  padding-bottom: 1.75rem;
}

.contact-security.section--contact {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.contact-explore.section--contact {
  padding-bottom: 3.5rem;
}

.contact-email-block a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.1rem;
  font-weight: 700;
  font-size: inherit;
  line-height: inherit;
  text-decoration-thickness: 1.5px;
  box-sizing: border-box;
}

main.legal-page.section--reading {
  padding: 3.25rem 0 4.5rem;
}

main.legal-page.section--reading .container.narrow {
  width: min(40rem, calc(100% - 2rem));
}

main.legal-page.section--reading h2 {
  margin-top: 2.35rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

/* —— Insights (long-form reading) —— */
.insights-intro {
  margin: 0 0 0.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.insights-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.insights-list > li {
  padding: 1.35rem 0;
  border-top: 1px solid var(--border);
}

.insights-list > li:last-child {
  border-bottom: 1px solid var(--border);
}

.insights-list h2 {
  margin: 0 0 0.45rem;
  font-size: 1.28rem;
  line-height: 1.3;
}

.insights-list h2 a {
  color: var(--text);
  text-decoration: none;
}

.insights-list h2 a:hover,
.insights-list h2 a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--text-muted);
}

.insights-list .excerpt {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.article-pillar {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.article-disclaimer {
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
}

.article-back {
  margin: 2rem 0 0;
}

.article-back a {
  font-weight: 500;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .site-nav ul {
    gap: 0.7rem;
  }

  .site-nav a {
    font-size: 0.875rem;
  }
}

.btn {
  text-decoration: none;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--text-muted);
}

@media (max-width: 768px) {
  .section--open,
  .section--belief,
  .section--belief.section-editorial,
  .section--open.section-editorial,
  .section-trust.section--belief,
  .section-believe.section--belief {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .section--status,
  .section--sequential,
  .section--illustrative {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .north-star.section--belief {
    padding: 3.5rem 0;
  }

  .philosophy-bridge.section--belief {
    padding: 2.75rem 0;
  }
}

/* —— K3 Static convergence motif (Evidence → Intelligence → Decision) —— */

.section-convergence {
  border-top: 1px solid var(--border);
}

.section-convergence .section-header {
  margin: 0 auto 2rem;
  max-width: 40rem;
  text-align: center;
}

.section-convergence .section-header h2 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.convergence-stages {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  align-items: start;
  justify-items: center;
}

.convergence-stage {
  margin: 0;
  padding: 0;
  min-width: 0;
  width: 100%;
  text-align: center;
}

.convergence-label {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* Quiet secondary labels — same muted gray for all three stages (dark: #a1a8b3) */
  color: var(--text-muted);
  line-height: 1.35;
}

.convergence-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
}

.convergence-svg {
  display: block;
  width: min(100%, 11rem);
  height: auto;
  margin-inline: auto;
  color: var(--text-muted);
  overflow: visible;
}

.convergence-ticks--fragmented {
  opacity: 0.9;
}

.convergence-ticks--organizing {
  opacity: 0.95;
  color: var(--text);
}

.convergence-ticks--resolved {
  color: var(--brand-red);
}

.convergence-resolve-line {
  stroke: var(--brand-red);
}

@media (max-width: 900px) {
  .section-convergence {
    /* Extra top air so the motif reads as its own visual moment after the prior section */
    padding-top: 3.85rem;
    padding-bottom: 2.15rem;
  }

  .section-convergence .section-header {
    margin-bottom: 1.45rem;
  }

  .convergence-stages {
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 22rem;
    margin-top: 50px;
    margin-inline: auto;
  }

  .convergence-stage {
    display: flex;
    flex-direction: column;
    padding: 5px;
    box-sizing: border-box;
  }

  .convergence-label {
    margin-bottom: 5px;
    flex-shrink: 0;
  }

  .convergence-visual {
    flex: 1 1 auto;
    /* Match Evidence/Intelligence canvas (19rem × 72/160). 100% here is height, not width. */
    height: calc(19rem * 72 / 160);
    min-height: calc(19rem * 72 / 160);
    justify-content: center;
    align-items: flex-start;
  }

  .convergence-stage--decision .convergence-visual {
    height: calc(19rem * 72 / 160);
    min-height: calc(19rem * 72 / 160);
    align-items: flex-start;
  }

  .convergence-svg {
    /* Was 12rem — enlarge so the motif is the section’s visual centerpiece, not a small inset */
    width: min(100%, 19rem);
    margin-inline: auto;
  }

  .section-convergence + .section--illustrative {
    padding-top: 2.15rem;
  }
}

@media (min-width: 901px) {
  .convergence-stage--decision .convergence-visual {
    /* Resolve stroke sits near the top of a short canvas — don't vertically center it in the stage min-height */
    align-items: flex-start;
    min-height: 0;
  }
}

/* —— K6 Hero & first-impression finalization —— */

@media (min-width: 769px) and (max-width: 1100px) {
  .hero {
    padding: 3.85rem 0 2.85rem;
  }

  .hero h1 {
    max-width: 13em;
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  }

  .about-hero {
    padding: 3.5rem 0 2.5rem;
  }

  .about-hero h1 {
    max-width: 15em;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 2.5rem 0 2rem;
  }

  .about-hero h1 {
    max-width: none;
    font-size: clamp(1.65rem, 6.2vw, 2.05rem);
    line-height: 1.22;
  }

  .identity-anchor {
    padding: 1.15rem 0 1.5rem;
  }
}


