:root {
  --ink: #10231d;
  --muted: #5d7068;
  --paper: #f6fbf7;
  --paper-deep: #eaf4ee;
  --white: #ffffff;
  --moss: #287c63;
  --moss-dark: #174c3d;
  --teal: #287c63;
  --teal-dark: #1f654f;
  --teal-soft: #e6f4ed;
  --green: #287c63;
  --green-soft: #e8f5ee;
  --amber: #c79b25;
  --amber-soft: #fff6d8;
  --blue: #315b4a;
  --blue-soft: #eef6f1;
  --clay: #a56346;
  --ochre: #f3cf55;
  --line: rgba(20, 33, 42, 0.12);
  --line-strong: rgba(40, 124, 99, 0.24);
  --shadow: 0 14px 34px rgba(16, 35, 29, 0.08);
  --shadow-soft: 0 8px 18px rgba(16, 35, 29, 0.06);
  --radius: 8px;
  --header-height: 78px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

.layout {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid transparent;
  box-shadow: 0 8px 24px rgba(20, 33, 42, 0.04);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    height 180ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 86px;
  height: 38px;
  flex: 0 0 auto;
  padding: 0 0.72rem;
  color: var(--ochre);
  background: var(--moss);
  border: 3px solid var(--ochre);
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(16, 35, 29, 0.14);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
  margin-top: 0.12rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.nav-links a:hover {
  color: var(--moss-dark);
}

.nav-cta {
  color: var(--ink) !important;
  background: var(--ochre);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(199, 155, 37, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

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

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 56px) 0 52px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(246, 251, 247, 0.97) 0%,
      rgba(246, 251, 247, 0.86) 48%,
      rgba(246, 251, 247, 0.42) 82%
    ),
    linear-gradient(0deg, rgba(16, 35, 29, 0.2), rgba(16, 35, 29, 0.02) 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 300px);
  min-height: 92px;
  margin-bottom: 1.5rem;
  padding: 0.84rem 1.45rem;
  color: var(--ochre);
  background: var(--moss);
  border: 6px solid var(--ochre);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(16, 35, 29, 0.12);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 720px;
  font-size: 5.35rem;
  letter-spacing: 0;
}

h2 {
  font-size: 3.15rem;
}

h3 {
  font-size: 1.16rem;
}

.hero-copy {
  max-width: 620px;
  margin: 1.35rem 0 0;
  color: #314c43;
  font-size: 1.16rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: 0 9px 18px rgba(40, 124, 99, 0.18);
}

.button-primary:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.button-secondary:hover {
  border-color: var(--line-strong);
  color: var(--moss-dark);
  background: var(--amber-soft);
  transform: translateY(-1px);
}

.hero-trust-strip span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.3rem 0.62rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-trust-strip {
  margin-top: 3rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--moss);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  color: var(--moss-dark);
  text-decoration: underline;
}

.section {
  padding: 88px 0;
}

.offer-section {
  background: var(--white);
}

.offer-grid,
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.offer-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: #fffdf3;
  border: 1px solid var(--line);
  border-top: 4px solid var(--ochre);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.home-proof-section {
  background: var(--paper-deep);
}

.proof-grid {
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.proof-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  background: var(--white);
}

.proof-list strong {
  color: var(--ink);
}

.proof-list a {
  color: inherit;
  text-decoration: none;
}

.proof-list a:hover {
  color: var(--moss-dark);
  text-decoration: underline;
}

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

.intro-band {
  padding: 42px 0;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.intro-band .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.intro-grid,
.split,
.founder-layout,
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.intro-grid h2 {
  font-size: clamp(1.8rem, 3vw, 2.9rem);
}

.intro-grid p,
.section-heading p,
.founder-copy p,
.contact-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-grid > p {
  color: rgba(255, 253, 248, 0.82);
  margin: 0;
}

.intro-booking {
  display: grid;
  gap: 1.15rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.intro-booking p {
  color: var(--white);
  margin: 0;
  font-weight: 800;
  text-shadow: 0 1px 1px rgba(23, 33, 29, 0.28);
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.booking-actions .button {
  min-height: 42px;
  color: var(--ink);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 26px rgba(20, 33, 42, 0.12);
}

.booking-actions .button:hover {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.section-heading {
  max-width: 680px;
}

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

.panel {
  padding: clamp(1.35rem, 4vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel h3 {
  margin-bottom: 1rem;
}

.ai-section {
  background: linear-gradient(180deg, var(--white), #f5fbfc);
}

.home-ai-section {
  padding-top: 72px;
}

.home-ai-card {
  display: grid;
  gap: 1.25rem;
  max-width: 860px;
  padding: clamp(1.2rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-top: 6px solid var(--moss);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-ai-card .section-heading {
  max-width: 760px;
}

.home-ai-card .section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.ai-tool {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ai-tool label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.ai-tool input,
.ai-tool textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.ai-tool textarea {
  resize: vertical;
}

.ai-tool input:focus,
.ai-tool textarea:focus {
  outline: 3px solid rgba(40, 124, 99, 0.22);
  outline-offset: 2px;
  border-color: var(--teal);
}

.ai-tool .button {
  width: fit-content;
}

.ai-tool .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.ai-response {
  display: grid;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  color: var(--ink);
  background: #f9fcfd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ai-response p {
  margin: 0;
  color: var(--muted);
}

.ai-response strong {
  color: var(--ink);
}

.ai-source-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1rem;
}

.ai-source-list a {
  color: var(--teal-dark);
  font-weight: 800;
}

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

.search-chip-row,
[data-blog-search-prompt] {
  display: none !important;
}

.ai-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.ai-search-bar input {
  min-height: 44px;
  padding: 0 0.35rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: inherit;
}

.ai-search-bar input:focus {
  outline: 0;
}

.ai-search-bar .button {
  min-height: 44px;
  border-radius: 999px;
}

.ai-overview {
  gap: 1rem;
  padding: 1.1rem;
  border-top: 4px solid var(--teal);
  box-shadow: var(--shadow-soft);
}

.ai-overview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ai-overview-header span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 50%;
  font-weight: 900;
}

.ai-overview-header strong {
  margin-right: auto;
  font-size: 1.15rem;
}

.ai-citation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-citation-list li {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ai-citation-list a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.ai-citation-list a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.ai-citation-list span {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-citation-list p {
  font-size: 0.9rem;
}

.ai-empty-state {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  background: var(--amber-soft);
  border: 1px solid rgba(168, 103, 8, 0.24);
  border-radius: var(--radius);
}

.ai-empty-state strong {
  color: var(--amber);
}

.ai-empty-state p {
  color: var(--ink);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 0.62rem;
  height: 0.62rem;
  background: var(--teal);
  border-radius: 50%;
}

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

.link-list a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.link-list a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.card {
  min-height: 230px;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card-number {
  display: block;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 2.25rem;
}

.card p,
.timeline p,
.local-proof span,
.help-card p {
  color: var(--muted);
}

.who-section {
  background: linear-gradient(180deg, #f9fcfd, var(--white));
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.help-card {
  display: grid;
  gap: 0.9rem;
  min-height: 260px;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.help-card span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.vision-section {
  background:
    linear-gradient(180deg, rgba(227, 247, 250, 0.76), rgba(230, 240, 244, 0.92)), var(--paper-deep);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline article {
  min-height: 250px;
  padding: 1.5rem;
  background: var(--white);
}

.timeline span {
  display: inline-block;
  margin-bottom: 3rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.local-proof {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.local-proof div {
  display: grid;
  gap: 0.3rem;
  padding: 1.3rem;
  background: var(--white);
}

.local-proof strong {
  font-size: 1.1rem;
}

.founder-section {
  color: var(--white);
  background: linear-gradient(135deg, rgba(11, 101, 116, 0.96), rgba(20, 33, 42, 0.96)), #14212a;
}

.founder-section .eyebrow {
  color: #e8c682;
}

.founder-copy p {
  color: rgba(255, 253, 248, 0.78);
}

.founder-section .text-link {
  color: #d9f7f4;
}

.founder-section .text-link:hover {
  color: var(--white);
}

.founder-stack {
  display: grid;
  gap: 2rem;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 253, 248, 0.18);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.credential-grid article {
  min-height: 165px;
  padding: 1.1rem;
  background: rgba(255, 253, 248, 0.06);
}

.credential-grid span {
  display: block;
  color: #e8c682;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.credential-grid p {
  margin: 0.8rem 0 0;
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.95rem;
}

.blog-band {
  background: var(--paper);
}

.page-hero {
  padding: calc(var(--header-height) + 76px) 0 64px;
  background: var(--paper-deep);
}

.blog-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(243, 207, 85, 0.24), transparent 32%),
    linear-gradient(90deg, rgba(246, 251, 247, 0.98), rgba(234, 244, 238, 0.9)), var(--paper-deep);
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
  max-width: 960px;
}

.blog-hero-panel {
  display: grid;
  gap: 1.05rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(178, 205, 212, 0.72);
  border-top: 5px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.blog-hero-panel h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.blog-hero-panel p:not(.eyebrow, .form-status) {
  color: var(--muted);
}

.blog-hero-brand {
  display: flex;
  justify-content: flex-end;
}

.blog-hero-brand span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 178px);
  min-height: 62px;
  padding: 0.6rem 1rem;
  color: var(--ochre);
  background: var(--moss);
  border: 5px solid var(--ochre);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(16, 35, 29, 0.12);
  font-size: clamp(1.4rem, 4vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
}

.pillar-framework {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.35rem);
  background: #fffdf8;
  border: 1px solid rgba(40, 124, 99, 0.18);
  border-left: 5px solid var(--ochre);
  border-radius: var(--radius);
}

.pillar-framework-copy {
  display: grid;
  gap: 0.45rem;
}

.pillar-framework-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.06;
}

.pillar-framework-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
}

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

.pillar-framework-card {
  padding: 1rem;
  background: rgba(247, 250, 245, 0.92);
  border: 1px solid rgba(36, 104, 81, 0.14);
  border-radius: var(--radius);
}

.pillar-framework-card span {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pillar-framework-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.pillar-framework-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.civic-framework {
  margin-top: clamp(1.1rem, 2vw, 1.6rem);
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  background:
    linear-gradient(135deg, rgba(252, 210, 77, 0.12), rgba(40, 124, 99, 0.08)),
    rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(40, 124, 99, 0.18);
  border-left: 4px solid rgba(199, 155, 37, 0.72);
  border-radius: var(--radius);
}

.civic-framework h2 {
  margin: 0 0 0.75rem;
  color: var(--moss-dark);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.18;
}

.civic-framework p:not(.eyebrow) {
  max-width: 70ch;
  color: #294139;
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
  line-height: 1.78;
}

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

.blog-hero-search {
  margin-top: 0.1rem;
}

.blog-ai-search-panel {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.35rem;
  padding: clamp(1rem, 3vw, 1.25rem);
  background: rgba(247, 250, 245, 0.92);
  border: 1px solid rgba(36, 104, 81, 0.2);
  border-left: 5px solid var(--moss);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(16, 35, 29, 0.08);
}

.blog-ai-search-copy {
  display: grid;
  gap: 0.25rem;
}

.blog-ai-search-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.08;
}

.blog-ai-search-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.blog-snapshot-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.35rem);
  background: #fffdf8;
  border: 1px solid rgba(40, 124, 99, 0.18);
  border-radius: var(--radius);
}

.blog-snapshot-copy {
  display: grid;
  gap: 0.45rem;
}

.blog-snapshot-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.04;
}

.blog-snapshot-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
}

.blog-snapshot-copy a,
.blog-snapshot-sources a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration-color: rgba(40, 124, 99, 0.35);
  text-underline-offset: 0.18em;
}

.blog-snapshot-figure {
  margin: 0;
}

.blog-snapshot-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: white;
  border: 1px solid rgba(18, 23, 25, 0.1);
}

.expandable-figure-link {
  position: relative;
  display: block;
  cursor: zoom-in;
}

.expandable-figure-link::after {
  content: "Enlarge";
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.55rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(40, 124, 99, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: var(--shadow-soft);
}

.expandable-figure-link:hover::after {
  background: #fffdf8;
  border-color: rgba(40, 124, 99, 0.32);
}

.figure-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(18, 23, 25, 0.72);
}

.figure-lightbox[hidden] {
  display: none;
}

.figure-lightbox-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  background: #fbfaf7;
  border: 1px solid rgba(18, 23, 25, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.figure-lightbox-title {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
}

.figure-lightbox-actions {
  display: flex;
  flex: none;
  gap: 0.35rem;
  align-items: center;
}

.figure-lightbox-zoom,
.figure-lightbox-close {
  min-width: 2.25rem;
  min-height: 2.25rem;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(40, 124, 99, 0.22);
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.figure-lightbox-zoom {
  font-family: inherit;
  font-size: 1.15rem;
}

.figure-lightbox-zoom:hover,
.figure-lightbox-zoom:focus-visible,
.figure-lightbox-close:hover,
.figure-lightbox-close:focus-visible {
  background: #f2f7f4;
  border-color: rgba(40, 124, 99, 0.45);
}

.figure-lightbox-stage {
  overflow: auto;
  padding: 1rem;
  background: #fbfaf7;
  border: 1px solid rgba(18, 23, 25, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.figure-lightbox-stage img {
  display: block;
  width: min(1500px, 100%);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  background: #fbfaf7;
  cursor: zoom-in;
}

.figure-lightbox-stage img[data-figure-zoomed="true"] {
  cursor: zoom-out;
}

@media (max-width: 640px) {
  .figure-lightbox {
    gap: 0.5rem;
    padding: 0.45rem;
  }

  .figure-lightbox-header {
    padding: 0.6rem 0.7rem;
  }

  .figure-lightbox-title {
    font-size: 0.82rem;
  }

  .figure-lightbox-stage {
    padding: 0.65rem;
    -webkit-overflow-scrolling: touch;
  }

  .figure-lightbox-actions {
    gap: 0.25rem;
  }

  .figure-lightbox-zoom,
  .figure-lightbox-close {
    min-width: 2rem;
    min-height: 2rem;
  }
}

body.has-figure-lightbox {
  overflow: hidden;
}

.blog-snapshot-figure figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .blog-snapshot-figure {
    margin-inline: -1rem;
  }

  .blog-snapshot-figure figcaption {
    padding-inline: 1rem;
  }
}

.blog-snapshot-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.3;
}

.blog-snapshot-sources span {
  color: var(--ink);
  font-weight: 900;
}

.blog-snapshot-sources a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.55rem;
  background: rgba(40, 124, 99, 0.08);
  border: 1px solid rgba(40, 124, 99, 0.16);
  border-radius: 999px;
  text-decoration: none;
}

.blog-snapshot-sources a:hover {
  background: rgba(40, 124, 99, 0.13);
  color: var(--ink);
}

.blog-snapshot-panel .button {
  justify-self: start;
}

.bmi-calculator {
  display: grid;
  gap: 1rem;
  margin: 1.35rem 0 1.7rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  background: #fffdf8;
  border: 1px solid rgba(40, 124, 99, 0.2);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.bmi-calculator-copy {
  display: grid;
  gap: 0.35rem;
}

.bmi-calculator h2,
.bmi-calculator h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.bmi-calculator p {
  margin: 0;
}

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

.bmi-calculator label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.bmi-calculator input {
  width: 100%;
  min-height: 2.7rem;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(18, 23, 25, 0.18);
  border-radius: 8px;
  font: inherit;
}

.bmi-calculator input:focus {
  border-color: rgba(40, 124, 99, 0.62);
  outline: 3px solid rgba(40, 124, 99, 0.18);
}

.bmi-calculator-result {
  display: block;
  min-height: 3.2rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(18, 23, 25, 0.12);
  border-radius: 8px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
  line-height: 1.25;
}

.bmi-calculator-result[data-state="ready"] {
  border-color: rgba(40, 124, 99, 0.34);
}

.bmi-range-chart {
  display: grid;
  gap: 0.85rem;
  padding: 0.9rem;
  background: linear-gradient(90deg, rgba(40, 124, 99, 0.08), rgba(151, 111, 61, 0.08)), white;
  border: 1px solid rgba(18, 23, 25, 0.12);
  border-radius: 8px;
}

.bmi-range-chart-header {
  display: grid;
  gap: 0.25rem;
}

.bmi-range-chart h3,
.bmi-range-chart h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.bmi-range-chart p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.bmi-range-bars {
  display: grid;
  gap: 0.5rem;
}

.bmi-range-row {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.85fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0.7rem;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(18, 23, 25, 0.1);
  border-left: 5px solid rgba(151, 111, 61, 0.72);
  border-radius: 8px;
}

.bmi-range-row[data-current="true"] {
  background: rgba(40, 124, 99, 0.1);
  border-color: rgba(40, 124, 99, 0.34);
  border-left-color: var(--teal);
}

.bmi-range-label {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.2;
}

.bmi-range-value {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.bmi-calculator-note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.callout-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0 1.65rem;
}

.callout-list > div {
  padding: 0.95rem 1rem;
  background: #fffdf8;
  border: 1px solid rgba(40, 124, 99, 0.16);
  border-left: 4px solid rgba(151, 111, 61, 0.75);
  border-radius: 8px;
}

.callout-list strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.callout-list p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .bmi-calculator-grid {
    grid-template-columns: 1fr;
  }

  .bmi-range-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.article-hero {
  background:
    linear-gradient(
      135deg,
      rgba(246, 251, 247, 0.98),
      rgba(234, 244, 238, 0.84) 58%,
      rgba(255, 246, 216, 0.62)
    ),
    var(--paper-deep);
  border-bottom: 1px solid rgba(40, 124, 99, 0.14);
}

.page-hero h1 {
  max-width: 870px;
  font-size: clamp(2.45rem, 5.4vw, 4.9rem);
  letter-spacing: 0;
}

.page-hero .blog-hero-panel h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.article-hero .article-layout {
  max-width: 1040px;
}

.article-hero h1 {
  max-width: 980px;
  color: var(--ink);
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.98;
}

.article-hero .eyebrow {
  color: var(--teal-dark);
}

.article-hero .hero-copy {
  max-width: 720px;
  color: #3b564c;
  font-size: clamp(1.08rem, 1.5vw, 1.26rem);
  line-height: 1.62;
}

.founder-hero {
  background:
    linear-gradient(90deg, rgba(244, 249, 251, 0.98), rgba(230, 240, 244, 0.82)), var(--paper-deep);
}

.founder-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.founder-hero h1 {
  max-width: 980px;
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
}

.founder-proof-panel {
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.founder-proof-panel span,
.source-card span,
.experience-list span {
  display: block;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.founder-proof-panel ul {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.founder-detail-section {
  background: var(--paper);
}

.founder-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.founder-long-copy p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.proof-section {
  background: var(--paper-deep);
}

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

.source-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 1.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.source-card h3 {
  margin-top: 1rem;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.source-card p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.source-card .text-link {
  margin-top: auto;
  padding-top: 1.35rem;
}

.experience-section {
  background: var(--paper);
}

.experience-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.experience-list article {
  padding: 1.2rem;
  background: var(--white);
}

.experience-list p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

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

.pillar-filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.35rem;
}

.pillar-filter-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.pillar-filter-panel p:not(.eyebrow) {
  max-width: 680px;
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.pillar-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.pillar-filter-button {
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  color: var(--teal-dark);
  background: rgba(232, 247, 241, 0.78);
  border: 1px solid rgba(40, 124, 99, 0.25);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.pillar-filter-button:hover,
.pillar-filter-button:focus-visible,
.pillar-filter-button.is-active {
  color: var(--white);
  background: var(--teal-dark);
}

.post-card[hidden] {
  display: none;
}

.post-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 1.55rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white), #fbfdf9);
  border: 1px solid rgba(40, 124, 99, 0.16);
  border-radius: var(--radius);
  border-top: 5px solid var(--teal);
  box-shadow: var(--shadow-soft);
}

.post-card::after {
  content: "";
  position: absolute;
  inset: auto 1.55rem 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ochre), transparent);
}

.post-card .eyebrow {
  margin-bottom: 0.45rem;
}

.post-card .pillar-line {
  margin: 0 0 0.95rem;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.post-card h2 {
  font-size: clamp(1.32rem, 1.8vw, 1.72rem);
  line-height: 1.16;
}

.post-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--teal-dark);
}

.post-card p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.post-card .text-link {
  margin-top: auto;
  padding-top: 1.25rem;
}

.article-prose figure {
  margin: 2rem 0;
}

.article-prose .wide-figure {
  width: min(1040px, calc(100vw - 2rem));
  margin-left: 50%;
  transform: translateX(-50%);
}

.article-prose figure img {
  background: #fbfaf7;
  border: 0;
  border-bottom: 1px solid rgba(18, 23, 25, 0.1);
  border-top: 1px solid rgba(18, 23, 25, 0.1);
  display: block;
  height: auto;
  width: 100%;
}

.article-prose figcaption {
  border-left: 2px solid rgba(40, 124, 99, 0.28);
  line-height: 1.55;
  margin-top: 0.65rem;
  max-width: 88ch;
  padding-left: 0.8rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.snapshot-source-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  width: min(820px, 100%);
  margin: 1.5rem 0 2.5rem;
}

.snapshot-source-card {
  border-left: 3px solid rgba(40, 124, 99, 0.22);
  background: transparent;
  padding: 0.2rem 0 0.2rem 1rem;
  scroll-margin-top: 88px;
}

.snapshot-source-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.snapshot-source-card dl {
  display: grid;
  grid-template-columns: minmax(8rem, 0.34fr) 1fr;
  gap: 0.25rem 0.8rem;
  margin: 0;
}

.snapshot-source-card dt {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.snapshot-source-card dd {
  margin: 0 0 0.4rem;
  color: var(--article-copy);
  font-size: 0.95rem;
  line-height: 1.55;
}

.glossary-section dl {
  display: grid;
  grid-template-columns: minmax(6rem, 0.22fr) 1fr;
  gap: 0.55rem 1rem;
  margin: 0;
}

.glossary-section dt {
  color: var(--teal-dark);
  font-weight: 900;
}

.glossary-section dd {
  margin: 0;
  color: var(--article-copy);
}

.snapshot-essay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(1040px, calc(100vw - 2rem));
  margin: 1.5rem 0 2.5rem 50%;
  transform: translateX(-50%);
}

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

.snapshot-essay-card {
  border: 1px solid rgba(18, 23, 25, 0.12);
  background: rgba(255, 255, 255, 0.58);
  padding: 1rem;
  scroll-margin-top: 88px;
}

.snapshot-essay-card h3 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.2;
}

.snapshot-essay-card h3 span {
  color: var(--teal-dark);
}

.snapshot-essay-card p {
  margin: 0 0 0.72rem;
  color: var(--article-copy);
  font-size: 0.95rem;
  line-height: 1.55;
}

.snapshot-essay-card p:last-of-type {
  margin-bottom: 0.8rem;
}

.snapshot-essay-card a {
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 900;
}

.snapshot-research-section {
  width: min(860px, 100%);
  margin: 1.75rem auto 2rem;
  padding: 0 0 0 1rem;
  border-left: 3px solid rgba(40, 124, 99, 0.22);
}

.snapshot-research-section h3 {
  margin: 0 0 0.85rem;
  color: var(--teal-dark);
  font-size: 1.28rem;
  line-height: 1.22;
}

.snapshot-research-section p {
  margin: 0 0 1rem;
  color: var(--article-copy);
}

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

.snapshot-research-section em {
  color: var(--teal-dark);
  font-style: normal;
  font-weight: 900;
}

.article-prose > h2:has(+ .chapter-subtitle) {
  margin-top: 5.25rem;
}

.article-prose > h2:first-child:has(+ .chapter-subtitle) {
  margin-top: 0;
}

.article-prose > .chapter-subtitle {
  border-left: 3px solid rgba(40, 124, 99, 0.3);
  color: #40594f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  line-height: 1.62;
  margin: -0.25rem 0 2.25rem;
  max-width: 66ch;
  padding-left: 1rem;
}

.chapter-map {
  border-bottom: 1px solid rgba(40, 124, 99, 0.2);
  border-left: 0;
  border-top: 1px solid rgba(40, 124, 99, 0.2);
  margin: 1.75rem 0 3.5rem;
  padding: 1.35rem 0 1.1rem;
  width: 100%;
}

.chapter-map ol {
  column-gap: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style-position: outside;
  margin: 0;
  padding-left: 1.5rem;
}

.chapter-map li {
  border-top: 1px solid rgba(18, 23, 25, 0.1);
  min-width: 0;
  padding: 0.8rem 0.15rem 0.75rem;
}

.chapter-map a {
  display: grid;
  gap: 0.25rem;
  text-decoration: none;
}

.chapter-map a:hover .chapter-map-title,
.chapter-map a:focus-visible .chapter-map-title {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.chapter-map-title {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.3;
}

.chapter-map-summary {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 540;
  line-height: 1.48;
}

.table-scroll {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

.article-prose table {
  min-width: 720px;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.article-prose th,
.article-prose td {
  border-bottom: 1px solid rgba(18, 23, 25, 0.12);
  padding: 0.7rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.article-prose th {
  font-weight: 800;
  color: var(--ink);
}

.article-layout {
  max-width: 820px;
}

.article-section {
  --article-copy: #344c42;
  --article-measure: 70ch;

  padding-top: clamp(56px, 8vw, 88px);
  background:
    linear-gradient(90deg, rgba(40, 124, 99, 0.08), transparent 1px) 0 0 / 100% 100%,
    var(--paper);
}

.article-prose {
  max-width: var(--article-measure);
}

.article-section p,
.article-section li,
.article-section dd {
  color: var(--article-copy);
  font-size: clamp(1.05rem, 1.4vw, 1.14rem);
  line-height: 1.78;
}

.article-section p {
  margin: 0 0 1.35rem;
}

.article-section .article-lead,
.article-section .article-layout > p:first-of-type {
  max-width: 66ch;
  color: var(--ink);
  font-size: clamp(1.14rem, 1.6vw, 1.28rem);
  line-height: 1.74;
}

.article-section strong {
  color: var(--ink);
  font-weight: 850;
}

.article-section em {
  color: var(--moss-dark);
}

.article-section h2,
.article-section .chapter-title {
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 24px);
  margin: 3.2rem 0 1.05rem;
  padding-top: 1.2rem;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.6vw, 2.28rem);
  line-height: 1.14;
}

.article-section h2::before,
.article-section .chapter-title::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: min(180px, 42%);
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--ochre));
  border-radius: 999px;
}

.article-section h3,
.article-section .section-title {
  scroll-margin-top: calc(var(--header-height) + 24px);
  margin: 2.2rem 0 0.75rem;
  color: var(--teal-dark);
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  line-height: 1.2;
}

.article-section h4,
.article-section .subsection-title {
  scroll-margin-top: calc(var(--header-height) + 24px);
  margin: 1.65rem 0 0.55rem;
  color: #516c62;
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.article-section ul,
.article-section ol {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.7rem;
  padding-left: 1.25rem;
}

.article-section li::marker {
  color: var(--teal);
  font-weight: 900;
}

.article-section blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.35rem;
  color: #253e35;
  background: rgba(255, 255, 255, 0.74);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

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

.article-section dl {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 1.8rem;
}

.article-section dt {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.article-section dd {
  margin: -0.55rem 0 0;
}

.article-section a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration-color: rgba(199, 155, 37, 0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.article-section a:hover {
  color: var(--ink);
  text-decoration-color: var(--ochre);
}

.article-section .source-list {
  gap: 0.85rem;
  padding: 1.25rem 1.25rem 1.25rem 1.45rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(40, 124, 99, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.article-section .source-list li {
  padding-left: 0.15rem;
}

.further-reading-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0;
  list-style: none;
}

.further-reading-list li {
  min-width: 0;
}

.further-reading-list a {
  display: grid;
  gap: 0.35rem;
  height: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(40, 124, 99, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.further-reading-list strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.further-reading-list span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.bibliography-list {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem 1.25rem 1.2rem 2.2rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(40, 124, 99, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.bibliography-list li {
  padding-left: 0.2rem;
  color: #344a44;
  font-size: 0.95rem;
  line-height: 1.55;
}

.article-callout {
  margin: 3rem 0 0;
  padding: 1.35rem 1.45rem;
  background: #fffdf4;
  border: 1px solid rgba(199, 155, 37, 0.28);
  border-left: 5px solid var(--ochre);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.article-section .article-callout h2 {
  margin: 0 0 0.6rem;
  padding-top: 0;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.2;
}

.article-section .article-callout h2::before {
  content: none;
}

.article-callout p {
  margin-bottom: 0;
}

.essay-note,
.essay-return {
  max-width: 68ch;
  margin: clamp(2rem, 4vw, 3.25rem) 0;
  padding-left: clamp(1rem, 2vw, 1.35rem);
  border-left: 3px solid rgba(40, 124, 99, 0.42);
}

.essay-return {
  border-left-color: rgba(199, 155, 37, 0.68);
}

.article-section .essay-note h2,
.article-section .essay-return h2 {
  margin: 0 0 0.85rem;
  padding-top: 0;
  color: var(--moss-dark);
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.18;
}

.article-section .essay-note h2::before,
.article-section .essay-return h2::before {
  content: none;
}

.article-section .essay-note p,
.article-section .essay-return p {
  color: #294139;
  font-size: clamp(1.08rem, 1.5vw, 1.2rem);
  line-height: 1.82;
}

.article-section .essay-note p:last-child,
.article-section .essay-return p:last-child {
  margin-bottom: 0;
}

.depth-pass {
  max-width: 70ch;
  margin: clamp(1.45rem, 3vw, 2.2rem) 0;
  padding-top: 0;
  border-top: 0;
}

.depth-pass + .depth-pass {
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.article-section .depth-pass h2 {
  margin: 0 0 0.8rem;
  padding-top: 0;
  color: var(--ink);
  font-size: clamp(1.38rem, 2vw, 1.82rem);
  line-height: 1.2;
}

.article-section .depth-pass h2::before {
  content: none;
}

.article-section .depth-pass p {
  color: #294139;
  font-size: clamp(1.06rem, 1.4vw, 1.17rem);
  line-height: 1.82;
}

.article-section .depth-pass p:last-child {
  margin-bottom: 0;
}

.power-lens {
  padding-left: clamp(0.8rem, 1.7vw, 1.05rem);
  border-top: 0;
  border-left: 2px solid rgba(199, 155, 37, 0.46);
}

.civic-note {
  max-width: 72ch;
  margin: clamp(2.4rem, 4vw, 3.6rem) 0;
  padding: clamp(1.2rem, 2.5vw, 1.65rem);
  border: 1px solid rgba(40, 124, 99, 0.18);
  border-left: 4px solid rgba(199, 155, 37, 0.72);
  background:
    linear-gradient(135deg, rgba(252, 210, 77, 0.13), rgba(40, 124, 99, 0.08)),
    rgba(255, 255, 255, 0.68);
}

.article-section .civic-note h2 {
  margin: 0 0 0.85rem;
  padding-top: 0;
  color: var(--moss-dark);
  font-size: clamp(1.45rem, 2.15vw, 1.95rem);
  line-height: 1.18;
}

.article-section .civic-note h2::before {
  content: none;
}

.article-section .civic-note p,
.article-section .civic-question-list {
  color: #294139;
  font-size: clamp(1.04rem, 1.35vw, 1.16rem);
  line-height: 1.82;
}

.article-section .civic-note p:last-of-type {
  margin-bottom: 1rem;
}

.civic-question-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.civic-question-list li + li {
  margin-top: 0.45rem;
}

.source-note-card,
.study-deep-dive,
.weekly-actions,
.visual-note {
  margin: 2rem 0;
  padding: clamp(1.1rem, 3vw, 1.45rem);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(40, 124, 99, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.study-deep-dive {
  border-top: 0;
}

.source-note-card,
.study-deep-dive {
  max-width: 72ch;
  padding: clamp(0.95rem, 2vw, 1.2rem) 0 0 clamp(0.95rem, 2vw, 1.2rem);
  background: transparent;
  border: 0;
  border-left: 2px solid rgba(40, 124, 99, 0.24);
  border-radius: 0;
  box-shadow: none;
}

.weekly-actions {
  border-top: 4px solid var(--ochre);
  background:
    linear-gradient(135deg, rgba(255, 246, 216, 0.68), rgba(255, 255, 255, 0.84)), var(--white);
}

.weekly-actions.essay-close {
  max-width: 70ch;
  padding: clamp(1rem, 2vw, 1.25rem) 0 0 clamp(1rem, 2vw, 1.25rem);
  background: transparent;
  border: 0;
  border-left: 3px solid rgba(199, 155, 37, 0.7);
  border-radius: 0;
  box-shadow: none;
}

.weekly-actions.essay-close p {
  color: #294139;
  font-size: clamp(1.04rem, 1.35vw, 1.16rem);
  line-height: 1.82;
}

.weekly-actions.essay-close p:last-child {
  margin-bottom: 0;
}

.visual-note {
  background:
    linear-gradient(135deg, rgba(40, 124, 99, 0.08), rgba(255, 246, 216, 0.45)), var(--white);
}

.article-prose .visual-note {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.article-prose .visual-note > p {
  max-width: 62ch;
  color: #315b4a;
  font-style: italic;
}

.article-prose .visual-note .mini-visual {
  margin-top: 1rem;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  background:
    linear-gradient(135deg, rgba(255, 246, 216, 0.52), rgba(255, 255, 255, 0.86)), var(--white);
  border: 1px solid rgba(40, 124, 99, 0.18);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.source-note-card .note-kicker,
.study-deep-dive .note-kicker,
.weekly-actions .note-kicker,
.visual-note .note-kicker {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-prose .source-note-card .note-kicker,
.article-prose .study-deep-dive .note-kicker,
.article-prose .weekly-actions.essay-close .note-kicker {
  margin-bottom: 0.35rem;
  color: rgba(49, 91, 74, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: none;
}

.article-section .source-note-card h2,
.article-section .study-deep-dive h2,
.article-section .weekly-actions h2,
.article-section .visual-note h2 {
  margin: 0 0 0.8rem;
  padding-top: 0;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.article-section .source-note-card h2::before,
.article-section .study-deep-dive h2::before,
.article-section .weekly-actions h2::before,
.article-section .visual-note h2::before {
  content: none;
}

.essay-transition {
  max-width: 68ch;
  margin: clamp(1.4rem, 2.5vw, 2rem) 0 0.65rem;
  color: var(--moss-dark);
  font-size: clamp(1.08rem, 1.5vw, 1.2rem);
  font-weight: 800;
  line-height: 1.45;
}

.article-prose .essay-bridge {
  max-width: 70ch;
  margin: clamp(1.35rem, 2.5vw, 1.9rem) 0;
  padding-left: clamp(0.9rem, 1.8vw, 1.15rem);
  color: #294139;
  font-size: clamp(1.05rem, 1.4vw, 1.17rem);
  line-height: 1.82;
  border-left: 3px solid rgba(199, 155, 37, 0.56);
}

.source-note-card .essay-transition,
.study-deep-dive .essay-transition,
.weekly-actions .essay-transition,
.depth-pass .essay-transition,
.essay-return .essay-transition {
  margin-top: 0;
}

.evidence-grid,
.week-grid,
.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 0;
}

.evidence-grid > div,
.week-grid > div,
.visual-grid > div {
  min-width: 0;
  padding: 0.9rem;
  background: rgba(246, 251, 247, 0.86);
  border: 1px solid rgba(40, 124, 99, 0.12);
  border-radius: var(--radius);
}

.article-section .evidence-grid p,
.article-section .week-grid p,
.article-section .visual-grid p {
  margin: 0;
  color: #3b554a;
  font-size: 0.98rem;
  line-height: 1.55;
}

.evidence-grid strong,
.week-grid strong,
.visual-grid strong {
  display: block;
  margin-bottom: 0.2rem;
}

.mini-visual {
  display: grid;
  gap: 1rem;
  margin: 1.05rem 0 0;
}

.mini-bars {
  display: grid;
  gap: 0.78rem;
}

.mini-bar {
  display: grid;
  grid-template-columns: minmax(7.2rem, 0.34fr) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.mini-bar span {
  color: var(--ink);
  font-weight: 850;
  line-height: 1.25;
}

.mini-bar-track {
  position: relative;
  height: 0.72rem;
  min-height: 0.72rem;
  overflow: hidden;
  background: rgba(40, 124, 99, 0.13);
  border-radius: 999px;
}

.mini-bar-fill {
  display: block;
  width: var(--bar-value, 50%);
  min-width: 0.22rem;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--moss));
  border-radius: inherit;
}

.mini-bar-value {
  color: var(--teal-dark);
  font-weight: 900;
  white-space: nowrap;
}

.flow-map,
.timeline-map,
.ladder-map,
.compare-map,
.loop-map,
.model-equation {
  display: grid;
  gap: 0.7rem;
}

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

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

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

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

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

.model-equation {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
}

.flow-step,
.timeline-step,
.ladder-step,
.compare-step,
.loop-step,
.model-term {
  min-width: 0;
  padding: 0.85rem;
  background: rgba(246, 251, 247, 0.88);
  border: 1px solid rgba(40, 124, 99, 0.14);
  border-radius: var(--radius);
}

.loop-step {
  position: relative;
}

.loop-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -0.67rem;
  transform: translateY(-50%);
  color: rgba(40, 124, 99, 0.68);
  font-weight: 900;
}

.model-term[data-tone="subtract"] {
  background: rgba(255, 246, 216, 0.72);
  border-color: rgba(199, 155, 37, 0.26);
}

.model-operator {
  display: grid;
  place-items: center;
  min-width: 2.1rem;
  color: var(--teal-dark);
  font-size: 1.35rem;
  font-weight: 900;
}

.flow-step strong,
.timeline-step strong,
.ladder-step strong,
.compare-step strong,
.loop-step strong,
.model-term strong {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.2;
}

.flow-step span,
.timeline-step span,
.ladder-step span,
.compare-step span,
.loop-step span,
.model-term span {
  display: block;
  color: #3b554a;
  font-size: 0.92rem;
  line-height: 1.42;
}

.model-caption {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(40, 124, 99, 0.14);
  color: #315b4a;
  font-size: 0.94rem;
  line-height: 1.58;
}

.model-caption strong {
  color: var(--teal-dark);
}

.visual-caveat {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-section {
  background: var(--paper);
}

.contact-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

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

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

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-guidance {
  display: grid;
  gap: 0.45rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: #f9fcfd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-guidance h3 {
  margin: 0;
  font-size: 1rem;
}

.contact-guidance p,
.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.field-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(40, 124, 99, 0.22);
  outline-offset: 2px;
  border-color: var(--teal);
}

.contact-form input:user-invalid,
.contact-form select:user-invalid,
.contact-form textarea:user-invalid {
  border-color: rgba(156, 63, 47, 0.62);
}

.contact-form textarea {
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 800;
}

.checkbox-field input {
  width: auto;
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.form-status {
  min-height: 1.4em;
  margin: -0.2rem 0 0;
  padding: 0.72rem 0.85rem;
  color: var(--muted);
  background: #f9fcfd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.form-status[data-state="submitting"] {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: rgba(168, 103, 8, 0.24);
}

.form-status[data-state="success"] {
  color: var(--green);
  background: var(--green-soft);
  border-color: rgba(37, 132, 95, 0.24);
}

.form-status[data-state="error"] {
  color: #9c3f2f;
  background: #fff1eb;
  border-color: rgba(156, 63, 47, 0.34);
}

.contact-form .button {
  width: fit-content;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-fallback {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-fallback a {
  color: var(--teal-dark);
  font-weight: 800;
}

.site-footer {
  padding: 1.4rem 0;
  color: rgba(255, 253, 248, 0.72);
  background: var(--ink);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-layout p {
  margin: 0;
}

.simple-page {
  min-height: calc(100vh - var(--header-height));
  padding-top: var(--header-height);
}

.not-found {
  display: grid;
  place-items: center;
  padding-top: 0;
}

.text-page {
  max-width: 820px;
}

.text-page h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.text-page h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.text-page p {
  color: var(--muted);
  font-size: 1.08rem;
}

.text-page a:not(.button) {
  color: var(--moss);
  font-weight: 800;
}

@media (max-width: 820px) {
  .layout {
    width: min(100% - 28px, 680px);
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 12px auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.static-links {
    position: static;
    display: flex;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

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

  .nav-links a {
    padding: 0.95rem;
    border-radius: var(--radius);
  }

  .nav-cta {
    margin-top: 0.25rem;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 48px;
  }

  .hero-brand-mark {
    min-height: 76px;
    margin-bottom: 1.2rem;
    border-width: 5px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(244, 249, 251, 0.98), rgba(244, 249, 251, 0.82)),
      linear-gradient(0deg, rgba(20, 33, 42, 0.28), rgba(20, 33, 42, 0.04));
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .intro-grid,
  .split,
  .reverse,
  .offer-grid,
  .proof-grid,
  .founder-layout,
  .contact-card,
  .card-grid,
  .help-grid,
  .timeline,
  .credential-grid,
  .post-grid,
  .founder-hero-grid,
  .founder-detail-grid,
  .ai-layout,
  .blog-hero-grid,
  .pillar-framework-grid,
  .pillar-filter-panel,
  .source-grid,
  .snapshot-source-grid,
  .snapshot-essay-grid,
  .snapshot-essay-grid.compact,
  .chapter-map ol {
    grid-template-columns: 1fr;
  }

  .evidence-grid,
  .week-grid,
  .visual-grid,
  .flow-map,
  .timeline-map,
  .ladder-map,
  .compare-map,
  .loop-map,
  .model-equation {
    grid-template-columns: 1fr;
  }

  .loop-step:not(:last-child)::after {
    inset: auto auto -0.72rem 1rem;
    transform: rotate(90deg);
  }

  .model-operator {
    justify-content: start;
    min-width: 0;
    min-height: 1rem;
    font-size: 1rem;
  }

  .mini-bar {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .mini-bar-value {
    justify-self: start;
  }

  .blog-hero-panel {
    align-self: stretch;
  }

  .pillar-filter-buttons {
    justify-content: flex-start;
  }

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

  .ai-citation-list {
    grid-template-columns: 1fr;
  }

  .card,
  .timeline article {
    min-height: auto;
  }

  .timeline span,
  .card-number {
    margin-bottom: 1.2rem;
  }

  .post-card {
    min-height: auto;
  }

  .source-card {
    min-height: auto;
  }

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

@media (max-width: 520px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .article-layout {
    width: min(100% - 2rem, 680px);
  }

  .article-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
    line-height: 1.04;
  }

  .article-hero .hero-subtitle {
    font-size: 1rem;
  }

  .article-section h2,
  .article-section .chapter-title {
    font-size: clamp(1.65rem, 8vw, 2rem);
    line-height: 1.14;
  }

  .article-prose > h2:has(+ .chapter-subtitle) {
    margin-top: 4.25rem;
  }

  .article-prose > h2:first-child:has(+ .chapter-subtitle) {
    margin-top: 0;
  }

  .article-prose > .chapter-subtitle {
    font-size: 1rem;
    margin-bottom: 1.9rem;
    padding-left: 0.8rem;
  }

  .chapter-map {
    margin-bottom: 2.75rem;
    padding-top: 1.1rem;
  }

  .snapshot-research-section {
    padding-left: 0.85rem;
  }

  .article-prose p,
  .article-prose li,
  .snapshot-source-card dd,
  .snapshot-essay-card p {
    font-size: 0.98rem;
  }

  .snapshot-essay-grid {
    width: calc(100vw - 1.5rem);
    margin-top: 1rem;
    margin-bottom: 1.8rem;
  }

  .snapshot-essay-card {
    padding: 0.9rem;
  }

  .snapshot-source-grid {
    width: 100%;
  }

  .snapshot-source-card {
    padding: 0.1rem 0 0.1rem 0.8rem;
  }

  .snapshot-source-card dl,
  .glossary-section dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .section {
    padding: 64px 0;
  }

  .contact-card {
    padding: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .ai-search-bar {
    grid-template-columns: 1fr;
    border-radius: var(--radius);
  }

  .brand-mark {
    min-width: 76px;
    height: 34px;
    padding: 0 0.58rem;
    border-width: 3px;
    font-size: 0.88rem;
  }
}
