:root {
  --paper: #f3f0e8;
  --paper-deep: #e6dfd2;
  --white: #fbf9f4;
  --ink: #1a2420;
  --muted: #3e4c46;
  --pine: #0e5c50;
  --pine-deep: #102824;
  --clay: #c4623a;
  --clay-soft: #e7a06a;
  --line: rgba(26, 36, 32, 0.12);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 16px 40px rgba(16, 40, 36, 0.08);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

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

h1, h2, h3, p, ul, ol, blockquote, figure {
  margin: 0;
}

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

button,
input,
label {
  font: inherit;
}

::selection {
  background: var(--pine);
  color: #fff;
}

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

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

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

.container {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.section-label {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pine);
}

.section-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--clay);
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.15rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 240, 232, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 82px;
}

.logo-link {
  display: block;
  flex: 0 0 auto;
}

.logo-link img {
  display: block;
  width: 210px;
  height: auto;
  max-width: min(210px, 62vw);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 650;
  font-weight: 600;
}

.nav a:hover {
  color: var(--pine);
}

.nav a.nav-cta {
  color: #fff;
  background: var(--pine);
  padding: 10px 16px;
  border-radius: 999px;
}

.nav a.nav-cta:hover {
  color: #fff;
  background: #0a4a41;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
}

.nav-toggle .bar {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle .bar:nth-child(2) { top: 15px; }
.nav-toggle .bar:nth-child(3) { top: 21px; }
.nav-toggle .bar:nth-child(4) { top: 27px; }

.nav-check:checked + .nav-toggle .bar:nth-child(2) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-check:checked + .nav-toggle .bar:nth-child(3) {
  opacity: 0;
}

.nav-check:checked + .nav-toggle .bar:nth-child(4) {
  top: 21px;
  transform: rotate(-45deg);
}

.nav-check {
  position: absolute;
  width: 44px;
  height: 44px;
  margin: 0;
  opacity: 0;
  right: 0;
  top: 19px;
  z-index: 2;
  cursor: pointer;
}

.nav-check:focus {
  outline: none;
}

.nav-check:focus-visible + .nav-toggle {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.hero {
  padding: 48px 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pine);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--clay);
}

.hero h1 {
  font-size: clamp(2.7rem, 4.6vw, 4.35rem);
}

.hero h1 em {
  font-style: italic;
  font-weight: 450;
  color: var(--pine);
}

.hero-lead {
  margin-top: 22px;
  max-width: 38em;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--pine);
  color: #fff;
}

.btn-primary:hover {
  background: #0a4a41;
}

.btn-secondary {
  border: 1px solid rgba(26, 36, 32, 0.2);
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--pine);
  color: var(--pine);
}

.hero-frame {
  position: relative;
  border-radius: 22px;
  box-shadow: 16px 16px 0 var(--paper-deep);
}

.hero-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 22px;
}

.hero-card {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: min(250px, calc(100% - 32px));
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(251, 249, 244, 0.95);
  box-shadow: var(--shadow);
}

.hero-card p {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine);
}

.hero-card ol {
  list-style: none;
  padding: 0;
}

.hero-card li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 650;
  font-weight: 600;
}

.hero-card li:first-of-type {
  border-top: 0;
}

.hero-card span {
  font-family: var(--serif);
  color: var(--clay);
  font-size: 1rem;
}

.section {
  padding: 92px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.about-copy p {
  color: var(--muted);
}

.about-copy p + p,
.about-quote {
  margin-top: 22px;
}

.about-quote {
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--clay);
}

.about-quote p {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.28;
  color: var(--ink);
}

.about-figure {
  position: relative;
  margin: 0;
  border-radius: 22px;
  box-shadow: -16px 16px 0 var(--paper-deep);
}

.about-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 22px;
}

.about-figure figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(251, 249, 244, 0.94);
  font-size: 0.92rem;
  font-weight: 650;
  font-weight: 600;
  line-height: 1.45;
}

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

.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.service-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
}

.service-bento article:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.service-bento article:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.service-bento article:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.service-bento article:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.service-bento article:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.service-bento article:nth-child(6) {
  grid-column: 1 / -1;
  grid-row: 3;
}

.service-card {
  height: 100%;
  padding: 24px;
  border: 1px solid rgba(26, 36, 32, 0.1);
  border-radius: 18px;
  background: var(--white);
}

.service-index {
  display: block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--clay);
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

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

.service-lead {
  display: flex;
  flex-direction: column;
  color: #f4f0e8;
  background: var(--pine-deep);
  border-color: transparent;
}

.service-lead h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2vw, 2.1rem);
  font-weight: 500;
}

.service-lead p {
  max-width: 34em;
  color: rgba(244, 240, 232, 0.82);
}

.service-lead .service-index {
  color: var(--clay-soft);
}

.flow-diagram {
  display: block;
  width: 100%;
  max-width: 320px;
  margin-top: auto;
  padding-top: 36px;
}

.service-wide {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 12px 32px;
  align-items: center;
}

.service-wide .service-index {
  margin-bottom: 8px;
}

@media (hover: hover) {
  .service-card {
    transition: transform 0.2s ease, border-color 0.2s ease;
  }

  .service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(14, 92, 80, 0.35);
  }

  .service-lead:hover {
    border-color: transparent;
  }
}

.band-dark {
  background: var(--pine-deep);
  color: #f4f0e8;
}

.band-dark .section-label,
.objective .section-label {
  color: var(--clay-soft);
}

.band-dark .section-label::before,
.objective .section-label::before {
  background: var(--clay-soft);
}

.band-dark h2,
.objective h2 {
  color: #f4f0e8;
}

.support-board {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}

.support-board li:nth-child(-n + 4) {
  grid-column: span 3;
}

.support-board li:nth-child(n + 5) {
  grid-column: span 4;
}

.support-board li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 164px;
  padding: 20px;
  border: 1px solid rgba(244, 240, 232, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.support-board svg {
  width: 28px;
  height: 28px;
  color: var(--clay-soft);
}

.support-index {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--clay-soft);
}

.support-board p {
  font-size: 1.05rem;
  font-weight: 650;
  font-weight: 600;
  line-height: 1.4;
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: start;
}

.approach-copy p {
  margin-top: 18px;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 0 0 28px 64px;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: rgba(26, 36, 32, 0.16);
}

.steps li:last-child::before {
  display: none;
}

.step-num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-family: var(--serif);
  font-size: 1rem;
}

.steps h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.steps p {
  color: var(--muted);
}

.objective {
  background-image: radial-gradient(rgba(244, 240, 232, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
}

.objective-inner {
  max-width: 860px;
}

.objective-lead {
  margin-top: 22px;
  max-width: 18em;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 450;
  line-height: 1.32;
  color: rgba(244, 240, 232, 0.94);
}

.objective-lead em {
  font-style: italic;
  color: var(--clay-soft);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 36px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--clay);
  border-radius: 22px;
  background: var(--white);
}

.contact-panel p {
  margin-top: 16px;
  color: var(--muted);
}

.contact-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--pine-deep);
  color: #f4f0e8;
}

.contact-link span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-soft);
}

.contact-link strong {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
}

.contact-link:hover strong {
  color: var(--clay-soft);
}

.subfooter {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 36px 0;
}

.subfooter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 28px 40px;
  align-items: center;
}

.subfooter p {
  max-width: 52ch;
  margin-top: 12px;
  color: var(--muted);
}

.subfooter-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.subfooter-links a {
  font-weight: 650;
  font-weight: 600;
}

.subfooter-links a:hover,
.subfooter-links a[aria-current="page"] {
  color: var(--pine);
}

.site-footer {
  background: var(--pine-deep);
  color: rgba(244, 240, 232, 0.82);
  text-align: center;
  padding: 22px 0;
}

.site-footer p + p {
  margin-top: 4px;
}

.legal-wrap {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 88px;
}

.legal-wrap h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
}

.legal-updated {
  margin-top: 12px;
  color: var(--pine);
  font-weight: 700;
}

.legal-wrap h2 {
  margin-top: 2.2rem;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.legal-wrap p,
.legal-wrap li,
.legal-wrap address {
  margin-top: 0.85rem;
  color: var(--muted);
}

.legal-wrap address {
  font-style: normal;
}

.legal-wrap ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.legal-wrap a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.legal-table th {
  padding: 10px 12px;
  border-bottom: 2px solid var(--pine);
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine);
}

.legal-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--muted);
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

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

  .nav-check {
    display: block;
  }

  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding-bottom: 8px;
  }

  .nav-check:checked ~ .nav {
    display: flex;
  }

  .nav a {
    padding: 13px 0;
    border-top: 1px solid var(--line);
  }

  .nav a.nav-cta {
    margin: 8px 0 4px;
    text-align: center;
  }

  .header-bar {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .hero-grid,
  .about-layout,
  .approach-layout,
  .contact-panel,
  .subfooter-grid {
    grid-template-columns: 1fr;
  }

  .service-bento {
    grid-template-columns: 1fr 1fr;
  }

  .service-bento article:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .service-bento article.service-lead,
  .service-bento article.service-wide {
    grid-column: 1 / -1;
  }

  .support-board {
    grid-template-columns: 1fr 1fr;
  }

  .support-board li:nth-child(n) {
    grid-column: auto;
  }

  .subfooter-links {
    align-items: flex-start;
  }

  .contact-link {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-link strong {
    display: block;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
    letter-spacing: -0.03em;
    font-size: clamp(0.64rem, 3.15vw, 1.05rem);
  }

  .about-copy {
    order: -1;
  }
}

@media (min-width: 981px) {
  .nav-check,
  .nav-toggle {
    display: none;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 68px 0;
  }

  .service-bento,
  .support-board,
  .service-wide {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-frame,
  .about-figure {
    box-shadow: none;
  }

  .contact-panel {
    padding: 20px 14px;
  }

  .contact-link {
    padding: 16px 12px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-table thead {
    display: none;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table tr {
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
  }

  .legal-table td {
    border-bottom: 1px solid var(--line);
  }

  .legal-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pine);
  }
}

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

  .service-card,
  .nav-toggle .bar {
    transition: none;
  }
}
