:root {
  --paper: #fcfcfa;
  --panel: #f0f2ee;
  --ink: #111311;
  --slate: #575d57;
  --annotation: #6e756f;
  --line: #c9cec7;
  --green: #1e5748;
  --green-deep: #14392f;
  --error: #a33b32;
  --white: #ffffff;
  --black: #0a0a0a;
  --display: "Source Serif 4", Georgia, serif;
  --body: "Source Serif 4", Georgia, serif;
  --ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

::selection {
  background: #d9e6df;
  color: var(--green-deep);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  font-family: var(--ui);
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(252, 252, 250, 0.96);
}

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

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.brand-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 560;
  white-space: nowrap;
}

.brand-role {
  color: var(--annotation);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  font-size: 14px;
  font-weight: 560;
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease;
}

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

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 150ms ease, opacity 150ms ease;
}

.menu-button[aria-expanded="true"] span {
  opacity: 0;
}

.menu-button[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

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

.section {
  padding: var(--section) 0;
}

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

.panel-band {
  background: var(--panel);
}

.eyebrow,
.mono-label,
.annotation-label {
  margin: 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.display,
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 470;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  font-size: clamp(56px, 7.2vw, 104px);
}

h2 {
  font-size: clamp(38px, 5vw, 68px);
}

h3 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

p {
  margin: 0;
}

.lede {
  max-width: 760px;
  color: var(--slate);
  font-family: var(--body);
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.45;
}

.body-large {
  color: var(--slate);
  font-family: var(--body);
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.55;
}

.body-copy {
  color: var(--slate);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--green-deep);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 150ms var(--ease);
}

.text-link.external::after {
  content: "↗";
}

.text-link:hover::after {
  transform: translateX(3px);
}

.text-link:hover {
  color: var(--green);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.button:hover {
  border-color: var(--green-deep);
  background: var(--green-deep);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--panel);
}

.button.green {
  border-color: var(--green-deep);
  background: var(--green-deep);
}

.button.green:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.button[disabled] {
  opacity: 0.55;
  cursor: progress;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.hero {
  min-height: calc(100svh - 77px);
  display: flex;
  align-items: center;
  padding: clamp(56px, 8vw, 104px) 0 48px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
  justify-content: space-between;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 24px;
}

.hero-title {
  position: relative;
  padding-bottom: 28px;
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 0;
  width: min(72%, 470px);
  height: 1px;
  background: var(--green);
  transform-origin: left;
  animation: line-in 400ms var(--ease) both;
}

.hero-annotation {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-deep);
  font-family: var(--mono);
  font-size: 12px;
}

.hero-annotation::before {
  content: "01";
  min-width: 32px;
  padding: 4px 0;
  border-top: 1px solid var(--green);
  color: var(--green);
}

.portrait-figure {
  width: 100%;
  max-width: 330px;
  justify-self: end;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.portrait-figure img {
  width: calc(100% - 24px);
  height: auto;
  margin: 0 auto;
  filter: none;
}

.portrait-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  color: var(--annotation);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.credential-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.credential {
  min-height: 112px;
  padding: 22px 24px;
}

.credential + .credential {
  border-left: 1px solid var(--line);
}

.credential strong {
  display: block;
  margin-top: 9px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 480;
  line-height: 1.2;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-heading .lede,
.section-heading .body-large {
  padding-top: 8px;
}

.provenance-line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reference-no {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
}

.provenance-line p {
  font-family: var(--body);
  font-size: clamp(19px, 2vw, 26px);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 4fr) minmax(0, 6fr);
  gap: 24px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.step h3 {
  font-size: clamp(25px, 3vw, 38px);
}

.step p {
  max-width: 620px;
  color: var(--slate);
  font-family: var(--body);
}

.practice-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.practice-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.practice-card.primary {
  background: var(--green-deep);
  color: var(--paper);
}

.practice-card p {
  color: inherit;
  font-family: var(--body);
  opacity: 0.8;
}

.practice-card .mono-label {
  color: inherit;
  opacity: 0.72;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.split-panel {
  min-height: 300px;
  padding: clamp(28px, 4vw, 52px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-panel h3 {
  margin: 20px 0;
}

.split-panel p {
  color: var(--slate);
  font-family: var(--body);
}

.boundary {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.boundary p {
  max-width: 900px;
  color: var(--slate);
  font-family: var(--body);
}

.page-hero {
  padding: clamp(72px, 10vw, 132px) 0 clamp(64px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(220px, 3fr);
  gap: 64px;
  align-items: end;
}

.page-hero-copy {
  display: grid;
  gap: 26px;
}

.page-hero .page-index {
  align-self: start;
  padding-top: 8px;
  border-top: 1px solid var(--green);
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 104px);
}

.content-stack {
  display: grid;
  gap: 28px;
}

.definition-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.definition-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 2.2fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.definition-row dt {
  font-weight: 650;
}

.definition-row dd {
  margin: 0;
  color: var(--slate);
  font-family: var(--body);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-button {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-button span:first-child {
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.25;
}

.faq-icon {
  font-family: var(--mono);
  font-size: 20px;
  text-align: center;
  transition: transform 150ms ease;
}

.faq-button[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  max-width: 760px;
  padding: 0 0 28px;
  color: var(--slate);
  font-family: var(--body);
}

.cta-band {
  padding: clamp(56px, 7vw, 88px) 0;
  background: var(--green-deep);
  color: var(--paper);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) auto;
  gap: 48px;
  align-items: center;
}

.cta-grid h2 {
  max-width: 830px;
  font-size: clamp(38px, 5vw, 64px);
}

.cta-grid .button {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.cta-grid .button:hover {
  background: transparent;
  color: var(--paper);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(140px, 1.5fr));
  gap: 40px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--annotation);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--green-deep);
}

.page-updated {
  color: var(--annotation);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic-grid,
.insight-grid,
.decision-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.topic-card,
.insight-card,
.decision-card,
.related-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(26px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.topic-card h3,
.insight-card h3,
.decision-card h3,
.related-card h3 {
  margin: 16px 0 18px;
  font-size: clamp(25px, 2.6vw, 34px);
}

.topic-card p,
.insight-card p,
.decision-card p,
.related-card p {
  color: var(--slate);
  font-family: var(--body);
}

.topic-card.primary,
.decision-card.primary {
  background: var(--green-deep);
  color: var(--paper);
}

.topic-card.primary p,
.topic-card.primary .mono-label,
.decision-card.primary p,
.decision-card.primary .mono-label {
  color: inherit;
  opacity: 0.82;
}

.insight-card .text-link,
.related-card .text-link {
  align-self: flex-start;
}

.article-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 7vw, 92px);
}

.article-hero .lede {
  max-width: 850px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 760px);
  gap: clamp(48px, 8vw, 112px);
  justify-content: center;
  align-items: start;
}

.article-rail {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 24px;
  padding-top: 8px;
}

.article-rail nav {
  display: grid;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.article-rail nav a {
  color: var(--slate);
  font-size: 13px;
  line-height: 1.4;
}

.article-main {
  min-width: 0;
}

.article-main > * + * {
  margin-top: 26px;
}

.article-main > h2 {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: clamp(34px, 4.5vw, 52px);
  scroll-margin-top: 24px;
}

.article-main > h3 {
  margin-top: 42px;
  font-size: clamp(25px, 3vw, 33px);
  scroll-margin-top: 24px;
}

.article-main p,
.article-main li {
  color: var(--slate);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.78;
}

.article-main strong {
  color: var(--ink);
  font-family: var(--ui);
  font-size: 0.94em;
}

.article-main ul,
.article-main ol {
  margin: 0;
  padding-left: 1.3em;
}

.article-main li + li {
  margin-top: 10px;
}

.article-lead {
  padding-left: 24px;
  border-left: 2px solid var(--green);
  color: var(--ink) !important;
  font-size: clamp(21px, 2.5vw, 28px) !important;
  line-height: 1.55 !important;
}

.article-callout {
  margin-top: 42px !important;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.article-callout .mono-label {
  margin-bottom: 12px;
}

.inline-source {
  color: var(--green-deep);
  font-family: var(--ui);
  font-size: 0.84em;
  font-weight: 600;
  white-space: nowrap;
}

.source-block {
  margin-top: 64px !important;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.source-block h2 {
  font-size: 30px;
}

.source-list {
  list-style: none;
  margin: 20px 0 0 !important;
  padding: 0 !important;
}

.source-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-family: var(--ui);
  font-size: 14px;
  line-height: 1.5;
}

.source-list a {
  color: var(--green-deep);
  font-weight: 600;
}

.related-band {
  padding-top: 0;
}

.context-note {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.context-note p:last-child {
  color: var(--slate);
  font-family: var(--body);
}

.footer-title {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 28px;
}

.footer-copy {
  max-width: 470px;
  color: var(--slate);
  font-family: var(--body);
  font-size: 15px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--slate);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--annotation);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(250px, 4fr) minmax(0, 7fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.routing-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.route-choice {
  position: relative;
}

.route-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.route-choice label {
  min-height: 76px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.route-choice label::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 1px solid var(--slate);
}

.route-choice input:checked + label {
  border-color: var(--green);
  background: #f4f8f5;
}

.route-choice input:checked + label::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 4px #f4f8f5;
}

.route-choice input:focus-visible + label {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.route-choice strong {
  display: block;
  font-size: 15px;
}

.route-choice small {
  display: block;
  margin-top: 2px;
  color: var(--slate);
  font-family: var(--body);
  font-size: 14px;
}

.contact-form,
.monitoring-exit {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-form[hidden],
.monitoring-exit[hidden] {
  display: none;
}

.form-heading {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.form-intro {
  margin-bottom: 28px;
  color: var(--slate);
  font-family: var(--body);
}

.intake-warning {
  margin-bottom: 32px;
  padding: 18px 20px;
  border-left: 2px solid var(--green);
  background: var(--panel);
  color: var(--green-deep);
  font-size: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--slate);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.field [aria-invalid="true"] {
  border-color: var(--error);
  outline-color: var(--error);
}

.field-help,
.field-error,
.char-count {
  display: block;
  margin-top: 7px;
  color: var(--annotation);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}

.field-error {
  color: var(--error);
}

.char-count {
  text-align: right;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.form-status {
  min-height: 24px;
  color: var(--slate);
  font-size: 14px;
}

.form-status.error {
  color: var(--error);
}

.form-status.success {
  color: var(--green);
}

.monitoring-exit {
  background: var(--black);
  color: var(--white);
}

.monitoring-exit .mono-label,
.monitoring-exit p {
  color: #c9cec7;
}

.monitoring-exit h2 {
  margin: 18px 0;
  font-size: clamp(34px, 5vw, 56px);
}

.monitoring-exit .button {
  margin-top: 28px;
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.monitoring-exit .button:hover {
  background: transparent;
  color: var(--white);
}

.copycatch-hero {
  background: var(--black);
  color: var(--white);
}

.copycatch-hero .lede,
.copycatch-hero .page-index {
  color: #c9cec7;
}

.copycatch-hero .eyebrow {
  color: #b8c8c1;
}

.not-found {
  min-height: calc(100svh - 77px);
  display: grid;
  place-items: center;
  padding: 64px 0;
}

.not-found-grid {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.not-found-code {
  padding-top: 10px;
  border-top: 1px solid var(--green);
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
}

.not-found h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: clamp(52px, 8vw, 96px);
}

.not-found .lede {
  margin-bottom: 32px;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 350ms var(--ease), transform 350ms var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes line-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 77px 0 auto 0;
    min-height: calc(100svh - 77px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px var(--pad) 48px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

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

  .nav-links a {
    min-height: 58px;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 28px;
    font-weight: 480;
  }

  .menu-button {
    display: block;
  }

  .brand-role {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .page-hero-grid,
  .section-heading,
  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-copy {
    order: 1;
  }

  .portrait-figure {
    order: 2;
    max-width: 320px;
    justify-self: center;
  }

  .page-hero .page-index {
    display: none;
  }

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

  .practice-card.primary {
    grid-column: 1 / -1;
  }

  .step {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .step p {
    grid-column: 2;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

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

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-rail {
    position: static;
    grid-template-columns: 1fr;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }

  .article-rail nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav-shell {
    min-height: 68px;
  }

  .nav-links {
    inset: 69px 0 auto 0;
    min-height: calc(100svh - 69px);
  }

  .brand-name {
    font-size: clamp(15px, 4.3vw, 18px);
  }

  .hero {
    min-height: calc(100svh - 69px);
    padding-top: 44px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-copy {
    gap: 18px;
  }

  .hero-title {
    padding-bottom: 0;
  }

  .hero-title::after,
  .hero-annotation::before {
    display: none;
  }

  .hero-annotation {
    gap: 0;
  }

  .hero-title h1,
  h1 {
    font-size: clamp(52px, 17vw, 72px);
  }

  .hero .lede {
    font-size: 20px;
  }

  .portrait-figure {
    width: min(78vw, 280px);
    padding: 10px;
  }

  .portrait-figure img {
    width: calc(100% - 16px);
  }

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

  .credential {
    min-height: 88px;
    padding: 18px 0;
  }

  .credential + .credential {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .provenance-line {
    grid-template-columns: 38px 1fr;
  }

  .provenance-line .text-link {
    grid-column: 2;
  }

  .step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 26px 0;
  }

  .practice-grid,
  .split,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .practice-card.primary,
  .field.full {
    grid-column: auto;
  }

  .practice-card {
    min-height: 270px;
  }

  .definition-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-grid .button {
    width: 100%;
  }

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

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .topic-grid,
  .insight-grid,
  .decision-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .topic-card,
  .insight-card,
  .decision-card,
  .related-card {
    min-height: 250px;
  }

  .article-hero h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .article-main p,
  .article-main li {
    font-size: 17px;
  }

  .article-lead {
    padding-left: 18px;
  }

  .context-note {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .not-found-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .button-row .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

@media print {
  .site-header,
  .menu-button,
  .cta-band {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    padding: 32px 0;
  }
}
