:root {
  --ink: #153128;
  --forest: #076b43;
  --forest-dark: #03492e;
  --leaf: #b8d96b;
  --sun: #f1a64a;
  --cream: #f6f2e8;
  --paper: #fffdf8;
  --muted: #66756e;
  --line: rgba(21, 49, 40, 0.14);
  --shadow: 0 24px 80px rgba(5, 58, 37, 0.12);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--forest-dark);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
}

h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.5rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

p {
  margin: 0 0 1.1em;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

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

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 73, 46, 0.94);
  color: #fff;
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 146px;
  filter: brightness(0) invert(1);
}

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

.nav-links > a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links > a[aria-current="page"],
.nav-links > a:hover {
  color: #fff;
}

.nav-links .nav-cta {
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--forest-dark);
}

.menu-button {
  display: none;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2, 48, 30, 0.94) 0%, rgba(2, 48, 30, 0.72) 48%, rgba(2, 48, 30, 0.25) 100%),
    url("/assets/media/hero.jpg") center / cover;
}

.hero::after {
  position: absolute;
  right: -12vw;
  bottom: -30vw;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(255, 255, 255, 0.03), 0 0 0 14vw rgba(255, 255, 255, 0.02);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100svh - 78px);
  max-width: 890px;
  align-content: center;
  padding-block: 88px;
}

.hero h1 span {
  color: var(--leaf);
  font-style: italic;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--forest-dark);
  color: #fff;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

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

.button-leaf {
  background: var(--leaf);
  color: var(--forest-dark);
}

.section {
  padding-block: clamp(76px, 9vw, 128px);
}

.section-cream {
  background: var(--cream);
}

.section-dark {
  background: var(--forest-dark);
  color: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.55fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 50px;
}

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

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.pillar-grid,
.service-grid,
.team-grid,
.post-grid,
.process-grid {
  display: grid;
  gap: 20px;
}

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

.pillar {
  min-height: 300px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.pillar-number {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 60px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--forest);
  font-weight: 900;
}

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

.service-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.service-content {
  display: grid;
  flex: 1;
  padding: 26px;
}

.service-content p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-link {
  align-self: end;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 8vw, 100px);
}

.split-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.quote {
  position: relative;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.quote::before {
  display: block;
  margin-bottom: 18px;
  color: var(--leaf);
  content: "“";
  font: 700 5rem/0.6 Georgia, serif;
}

.quote p {
  color: rgba(255, 255, 255, 0.86);
}

.quote cite {
  display: block;
  margin-top: 22px;
  color: var(--leaf);
  font-style: normal;
  font-weight: 800;
}

.page-hero {
  padding-block: clamp(72px, 10vw, 140px);
  background:
    radial-gradient(circle at 85% 20%, rgba(184, 217, 107, 0.35), transparent 28%),
    var(--forest-dark);
  color: #fff;
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(3rem, 6vw, 6rem);
}

.page-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.18rem;
}

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

.person-card {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.person-card:hover {
  transform: translateY(-4px);
  border-color: var(--leaf);
  box-shadow: 0 16px 38px rgba(19, 55, 42, 0.12);
}

.person-card:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 4px;
}

.person-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.person-card div,
.person-card span {
  display: block;
  padding: 20px;
}

.person-card h3,
.person-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.person-card p,
.person-card small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.team-instruction {
  margin: -18px 0 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.team-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(720px, calc(100vh - 32px));
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(5, 31, 22, 0.34);
}

.team-dialog::backdrop {
  background: rgba(5, 31, 22, 0.78);
  backdrop-filter: blur(5px);
}

.team-dialog-layout {
  padding: clamp(30px, 5vw, 52px);
}

.team-dialog-header {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding-right: 48px;
}

.team-dialog-header > img {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background: var(--cream);
  object-fit: cover;
  object-position: center 24%;
}

.team-dialog-copy {
  padding-top: 28px;
}

.team-dialog-identity h2 {
  margin: 6px 0 2px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.02;
}

.team-dialog-role {
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.team-dialog-copy > p {
  margin: 0;
}

.team-dialog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.team-dialog-links .button-secondary {
  border-color: var(--forest);
  background: transparent;
  color: var(--forest);
}

.team-dialog-links [hidden] {
  display: none;
}

.team-dialog-close {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--forest-dark);
  color: #fff;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.team-dialog-close:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 36px;
  padding-block: 50px;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: 0;
}

.service-detail img {
  width: 100%;
  max-height: 330px;
  border-radius: 18px;
  object-fit: cover;
}

.service-detail ul {
  columns: 2;
  padding-left: 1.2em;
}

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

.post-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: 180ms ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card-content {
  display: grid;
  flex: 1;
  padding: 25px;
}

.post-card h3 {
  font-size: 1.42rem;
}

.post-meta {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article {
  padding-block: clamp(65px, 8vw, 110px);
}

.article-header {
  margin-bottom: 50px;
}

.article-header h1 {
  font-size: clamp(2.7rem, 5.2vw, 5rem);
}

.article-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.article-body > p:first-of-type {
  font-size: 1.25rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 1.7em;
}

.article-body img {
  height: auto;
  margin: 36px auto;
  border-radius: 16px;
}

.article-body figure {
  margin: 36px 0;
}

.article-body figcaption {
  color: var(--muted);
  font: 0.82rem/1.5 Inter, sans-serif;
  text-align: center;
}

.article-body iframe {
  width: 100%;
  min-height: 460px;
  border: 0;
}

.article-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-body td,
.article-body th {
  padding: 10px 12px;
  border: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--cream);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 15px;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.process-step {
  padding: 28px;
  border-top: 3px solid var(--leaf);
  background: rgba(255, 255, 255, 0.05);
}

.process-step small {
  color: var(--leaf);
  font-weight: 900;
}

.site-footer {
  padding-block: 68px 26px;
  background: #022f1e;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr;
  gap: 70px;
}

.footer-grid img {
  width: 180px;
  margin-bottom: 22px;
  filter: brightness(0) invert(1);
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

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

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    height: calc(100svh - 78px);
    overflow-y: auto;
    padding: 18px max(20px, calc((100vw - var(--max)) / 2)) 34px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--forest-dark);
  }

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

  .nav-links > a {
    padding: 13px 6px;
    font-size: 1rem;
  }

  .nav-links .nav-cta {
    margin-top: 14px;
    padding: 13px 18px;
    text-align: center;
  }

  .menu-button {
    display: inline-flex;
    cursor: pointer;
  }

  .section-heading,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .service-detail {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

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

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.55rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    min-height: 68px;
    gap: 16px;
  }

  .brand img {
    width: 118px;
  }

  .menu-button {
    width: 44px;
    height: 42px;
  }

  .nav-links {
    height: calc(100svh - 68px);
    padding: 14px 14px 28px;
  }

  .hero {
    min-height: calc(100svh - 68px);
    background-position: 60% center;
  }

  .hero-inner {
    min-height: calc(100svh - 68px);
    padding-block: 58px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button-row {
    gap: 10px;
    margin-top: 24px;
  }

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

  .button {
    min-height: 48px;
    padding-inline: 18px;
  }

  .section {
    padding-block: 58px;
  }

  .section-heading {
    gap: 10px;
    margin-bottom: 30px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.72rem;
  }

  .pillar-grid,
  .service-grid,
  .team-grid,
  .post-grid,
  .process-grid,
  .service-detail,
  .field-row {
    grid-template-columns: 1fr;
  }

  .pillar {
    min-height: 0;
    padding: 24px;
  }

  .pillar-number {
    margin-bottom: 30px;
  }

  .service-card {
    min-height: 0;
  }

  .service-image {
    height: 180px;
  }

  .service-content {
    padding: 22px;
  }

  .split {
    gap: 28px;
  }

  .split-image img {
    min-height: 300px;
  }

  .quote {
    padding: 28px 24px;
  }

  .page-hero {
    padding-block: 62px;
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.35rem);
  }

  .page-hero p {
    font-size: 1rem;
  }

  .service-detail ul {
    columns: 1;
  }

  .service-detail {
    gap: 20px;
    padding-block: 34px;
  }

  .service-detail img {
    max-height: 250px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .person-card div,
  .person-card span {
    padding: 14px;
  }

  .person-card h3,
  .person-card strong {
    font-size: 1rem;
  }

  .person-card p,
  .person-card small {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .team-instruction {
    margin-top: -10px;
  }

  .team-dialog {
    width: calc(100% - 16px);
    max-height: calc(100svh - 16px);
    border-radius: 18px;
  }

  .team-dialog-layout {
    padding: 24px 18px 30px;
  }

  .team-dialog-header {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding-right: 42px;
  }

  .team-dialog-header > img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  .team-dialog-identity h2 {
    font-size: 1.65rem;
  }

  .team-dialog-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .post-card img {
    height: 190px;
  }

  .post-card-content {
    padding: 21px;
  }

  .article {
    padding-block: 50px;
  }

  .article-header {
    margin-bottom: 30px;
  }

  .article-header h1 {
    font-size: clamp(2.3rem, 11vw, 3rem);
  }

  .article-body {
    font-size: 1.03rem;
  }

  .article-body > p:first-of-type {
    font-size: 1.12rem;
  }

  .article-body figure,
  .article-body img {
    margin-block: 24px;
  }

  .article-body iframe {
    min-height: 240px;
  }

  .contact-grid {
    gap: 38px;
  }

  .contact-card {
    padding: 18px;
    overflow-wrap: anywhere;
  }

  .contact-form {
    gap: 14px;
    padding: 22px 18px;
  }

  input,
  textarea {
    font-size: 16px;
  }

  .process-step {
    padding: 24px;
  }

  .site-footer {
    padding-block: 52px 24px;
  }

  .footer-grid {
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    margin-top: 38px;
  }
}

@media (max-width: 400px) {
  .container,
  .narrow {
    width: min(calc(100% - 24px), var(--max));
  }

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

  .person-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
  }

  .person-card img {
    width: 88px;
    height: 88px;
    aspect-ratio: auto;
  }

  .team-dialog-header {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding-right: 38px;
  }

  .team-dialog-header > img {
    width: 64px;
    height: 64px;
  }

  .team-dialog-identity h2 {
    font-size: 1.45rem;
  }

  .team-dialog-role {
    font-size: 0.88rem;
  }
}

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