@import url("https://fonts.googleapis.com/css2?family=Literata:opsz,wght@7..72,500;7..72,700&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --ink: #1b1b1b;
  --green: #2f5d50;
  --green-deep: #23463c;
  --paper: #f7f7f4;
  --panel: #ffffff;
  --muted: #5c635e;
  --line: #d5d8d2;
  --spine: #1b1b1b;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--spine);
  z-index: 50;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
.brand__name {
  font-family: Literata, Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.site-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.nav-wrap,
.section,
.footer__grid,
.page-shell {
  width: min(1080px, calc(100% - 56px));
  margin-left: auto;
  margin-right: auto;
  padding-left: 8px;
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: 40px;
  height: 40px;
}

.brand__name {
  font-size: 1.05rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
  font: inherit;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink);
  border-bottom-color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--green);
}

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

.btn--ghost,
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--link {
  background: none;
  border: none;
  color: var(--green);
  padding: 0.7rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.hero {
  padding: 3.5rem 0 0;
}

.hero__band {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 2.75rem 0 2.25rem;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.hero__lead {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.catalog-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.catalog-strip__item {
  padding: 1.25rem 1rem 1.25rem 0;
  border-right: 1px solid var(--line);
}

.catalog-strip__item:last-child {
  border-right: none;
}

.catalog-strip__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}

.catalog-strip__value {
  font-family: Literata, Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.catalog-strip__value a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section {
  padding: 4rem 0;
}

.section--compact {
  padding: 2.5rem 0;
}

.section__head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section__head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

.grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.panel h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.2rem;
}

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

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.image-frame {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef1ee;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}

.process__step {
  padding: 1.5rem 1rem 1.5rem 0;
  border-right: 1px solid var(--line);
}

.process__step:last-child {
  border-right: none;
}

.process__step h3 {
  margin: 0.4rem 0 0.5rem;
}

.note {
  border-left: 3px solid var(--green);
  padding: 1rem 0 1rem 1.25rem;
  background: transparent;
}

.footer {
  border-top: 1px solid var(--ink);
  background: #efefeb;
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer h3,
.footer h4 {
  margin: 0 0 0.75rem;
}

.footer p,
.footer a {
  display: block;
  color: var(--muted);
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

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

.legal-line {
  width: min(1080px, calc(100% - 56px));
  margin: 0 auto;
  padding: 1rem 0 0 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.page-hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
}

.content-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
}

.toc {
  position: sticky;
  top: 1rem;
  align-self: start;
  border-left: 2px solid var(--line);
  padding-left: 1rem;
}

.toc a {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.toc a:hover {
  color: var(--green);
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.45rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.card h3 {
  margin: 0.35rem 0 0.5rem;
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

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

@media (max-width: 900px) {
  body::before {
    width: 6px;
  }

  .catalog-strip,
  .grid--four,
  .process,
  .footer__grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .content-layout,
  .grid--two {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

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

  .main-nav {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: flex-start;
    width: min(280px, calc(100vw - 48px));
    padding: 1rem;
    background: var(--panel);
    border: 1px solid var(--ink);
    border-radius: var(--radius);
  }

  .main-nav.is-open {
    display: flex;
  }

  .catalog-strip,
  .grid--four,
  .process,
  .footer__grid,
  .contact-grid,
  .grid--two {
    grid-template-columns: 1fr;
  }

  .catalog-strip__item,
  .process__step {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
  }

  .nav-wrap,
  .section,
  .footer__grid,
  .page-shell,
  .legal-line {
    width: min(1080px, calc(100% - 36px));
  }
}
