:root {
  --ink: #14211f;
  --muted: #56645f;
  --paper: #f3f0e9;
  --panel: #faf8f3;
  --line: #cbd3ce;
  --accent: #176858;
  --accent-dark: #0e4b41;
  --signal: #b96f36;
  --max: 76rem;
  --prose: 45rem;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }

html {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body { margin: 0; }

a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 240, 233, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav {
  max-width: var(--max);
  min-height: 4.5rem;
  margin: auto;
  padding: .75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  color: var(--ink);
  font-size: .94rem;
  font-weight: 720;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .35rem 1.25rem;
  font-size: .84rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .35rem;
  text-decoration-thickness: 1px;
}

main { overflow: hidden; }

.hero,
.page-hero,
.section {
  max-width: var(--max);
  margin: auto;
  padding: 6rem 2rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 2rem;
  min-height: 38rem;
}

.hero-copy {
  grid-column: 1 / span 6;
  padding-right: 2rem;
}

.hero-visual {
  grid-column: 7 / -1;
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: -.025em;
}

h1 {
  max-width: 14ch;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 4.25rem);
  line-height: 1;
  font-weight: 500;
}

.page-hero {
  padding-top: 5.5rem;
  padding-bottom: 5rem;
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(3rem, 5vw, 3.9rem);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 500;
}

h3 { font-size: 1.12rem; }

.lead {
  max-width: var(--prose);
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

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

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: .65rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 680;
  text-decoration: none;
  transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.button.primary {
  background: var(--ink);
  color: var(--panel);
}

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

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

.band .section { padding-block: 5rem; }
.band .eyebrow { color: #8dd5c3; }
.band .lead { color: #c7d4cf; }
.band .evidence-panel { border-color: #6d8179; }
.band .evidence-panel p,
.band .evidence-list li { color: #c7d4cf; }
.band .evidence-list,
.band .evidence-list li { border-color: #50625c; }
.band .button.primary {
  background: var(--panel);
  border-color: var(--panel);
  color: var(--ink);
}
.band .button.primary:hover {
  background: #fff;
  border-color: #fff;
}

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

.card {
  min-height: 12rem;
  padding: 2rem;
  background: var(--panel);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card:nth-child(2n) { border-right: 0; }
.card:nth-last-child(-n + 2) { border-bottom: 0; }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
  border: 1px solid var(--line);
}

.capability-grid .card {
  border-bottom: 0;
}

.capability-grid .card:last-child { border-right: 0; }

.card p, .prose p, .prose li { color: var(--muted); }
.card a { font-weight: 700; text-decoration-thickness: 1px; }

.prose {
  max-width: var(--prose);
  font-size: 1rem;
}

.prose h2 { margin-top: 3.5rem; }
.prose h3 { margin-top: 2.25rem; }
.prose ul { padding-left: 1.25rem; }

.principle {
  margin: 2rem 0;
  padding: 1.4rem 0 1.4rem 1.5rem;
  border-left: 3px solid var(--signal);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.editorial-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.editorial-intro > :first-child { grid-column: 1 / span 4; }
.editorial-intro > :last-child { grid-column: 5 / span 7; }

.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.split > :first-child { grid-column: 1 / span 7; }
.split > :last-child { grid-column: 9 / -1; }

.evidence-panel {
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.evidence-panel h3 { margin-bottom: .7rem; }
.evidence-panel p { margin: 0; color: var(--muted); }

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

.evidence-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.evidence-list li::before {
  content: "—";
  color: var(--signal);
}

.label {
  display: block;
  margin-bottom: .65rem;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cta-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.cta-band .section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  padding-block: 4.5rem;
}

.cta-band .actions { margin-top: 0; }

.compact { padding-block: 4.5rem; }

.contact-address {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-decoration-thickness: 1px;
  text-underline-offset: .4rem;
}

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

.footer-inner {
  max-width: var(--max);
  margin: auto;
  padding: 2.5rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .78rem;
}

@media (max-width: 980px) {
  .nav, .hero, .page-hero, .section, .footer-inner { padding-left: 1.35rem; padding-right: 1.35rem; }
  .hero { min-height: 34rem; }
  .hero-copy { grid-column: 1 / span 6; padding-right: 0; }
  .hero-visual { grid-column: 7 / -1; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-grid .card:last-child { border-bottom: 0; }
  .editorial-intro > :first-child { grid-column: 1 / span 5; }
  .editorial-intro > :last-child { grid-column: 6 / -1; }
}

@media (max-width: 760px) {
  html { font-size: 17px; }
  .nav, .hero, .page-hero, .section, .footer-inner { padding-left: 1rem; padding-right: 1rem; }
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; gap: .45rem 1rem; font-size: .82rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .hero-copy, .hero-visual { grid-column: 1; }
  .hero-copy { padding-right: 0; }
  .hero-visual { width: 100%; }
  h1 { font-size: clamp(2.25rem, 11vw, 2.6rem); }
  .page-hero h1 { font-size: clamp(2.25rem, 10vw, 2.8rem); }
  .grid { grid-template-columns: 1fr; }
  .card, .card:nth-child(2n), .card:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .card:last-child { border-bottom: 0; }
  .hero, .page-hero, .section { padding-block: 3.25rem; }
  .editorial-intro, .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .editorial-intro > :first-child, .editorial-intro > :last-child,
  .split > :first-child, .split > :last-child { grid-column: 1; }
  .cta-band .section { grid-template-columns: 1fr; align-items: start; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
