:root {
  color-scheme: light;
  --ink: #13201d;
  --muted: #62706b;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --green: #17342f;
  --green-soft: #dfe9e3;
  --sage: #5b8567;
  --brass: #d6a84f;
  --clay: #b16b58;
  --blue: #dce9ee;
  --line: #d9ddd6;
  --shadow: 0 22px 60px rgba(19, 32, 29, 0.12);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-140%);
  background: var(--green);
  color: white;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img,
.footer-brand img {
  flex: 0 0 auto;
  border-radius: var(--radius);
}

.brand span,
.footer-brand span {
  display: grid;
  line-height: 1.2;
}

.brand strong,
.footer-brand span {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
}

.nav-toggle-line {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px 0;
  background: currentColor;
}

.hero {
  width: min(var(--max), calc(100% - 2rem));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.75rem, 12vw, 8rem);
  font-weight: 700;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(2.75rem, 7vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.lede,
.page-hero p {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: white;
  padding: 0.72rem 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #25564d;
}

.hero-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--green-soft);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.intro-band {
  background: var(--green);
  color: white;
}

.intro-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.intro-grid h2 {
  max-width: 750px;
}

.intro-grid p {
  max-width: 720px;
  color: #dce9e4;
}

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

.focus-list span {
  min-height: 46px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f3ea;
  font-weight: 700;
}

.article {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.article-meta {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.article p,
.prose p,
.side-panel p {
  margin: 1.15rem 0 0;
}

.article p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.7;
}

.article-figure {
  margin: 2.5rem 0;
}

.article-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-main {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.page-hero {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.page-hero p {
  max-width: 760px;
}

.content-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.prose,
.side-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 14px 36px rgba(19, 32, 29, 0.07);
}

.prose h2,
.side-panel h2 {
  margin-top: 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.prose h2:not(:first-child) {
  margin-top: 2rem;
}

.side-panel {
  background: var(--blue);
}

.side-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.side-panel li + li {
  margin-top: 0.7rem;
}

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

.field-group {
  display: grid;
  gap: 0.35rem;
}

label {
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #c8d1cb;
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
  padding: 0.75rem 0.8rem;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(214, 168, 79, 0.4);
  border-color: var(--green);
}

.form-note {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
}

.site-footer p {
  max-width: 560px;
  margin: 0.65rem 0 0;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  font-weight: 800;
}

.not-found {
  min-height: 100svh;
  display: grid;
  align-content: center;
}

.standalone-brand {
  margin-bottom: 2rem;
}

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

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 68px;
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    padding: 0.6rem;
    box-shadow: var(--shadow);
  }

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

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

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

  .hero {
    min-height: auto;
  }

  .hero-image {
    order: -1;
  }

  .site-footer {
    display: grid;
  }
}

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

  .nav-shell,
  .hero,
  .intro-grid,
  .article,
  .page-main,
  .site-footer {
    width: min(100% - 1rem, var(--max));
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

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