:root {
  --paper: #fbfaf6;
  --surface: #ffffff;
  --surface-soft: #f2f4ef;
  --ink: #1d2926;
  --muted: #52605b;
  --line: #d9ded8;
  --blue: #115d9b;
  --blue-deep: #0b4678;
  --teal: #097875;
  --green: #147542;
  --orange: #b96500;
  --gold: #a89022;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

.prose a,
.contact-actions .button {
  overflow-wrap: anywhere;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #c76f00;
  outline-offset: 4px;
  border-radius: 0.2rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.75rem;
  font-size: clamp(2.8rem, 6.4vw, 6rem);
  letter-spacing: -0.045em;
}

h1 span {
  color: var(--blue-deep);
}

h2 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.15rem, 4vw, 4rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.02em;
}

strong {
  font-weight: 700;
}

.shell {
  width: min(100% - 3rem, 74rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(217 222 216 / 0.82);
  background: rgb(251 250 246 / 0.95);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  width: min(100% - 3rem, 82rem);
  min-height: 5.25rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.15;
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.primary-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem 1.25rem;
  list-style: none;
}

.primary-nav a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--blue-deep);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 0.15rem;
  text-underline-offset: 0.4rem;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.32rem;
  background: linear-gradient(90deg, #df840f, #a89022 28%, #148b44 53%, #097875 74%, #115d9b);
  content: "";
}

.hero-grid {
  display: grid;
  min-height: calc(100vh - 5.25rem);
  min-height: calc(100svh - 5.25rem);
  padding-block: clamp(3.5rem, 6vw, 6rem);
  align-items: center;
  grid-template-columns: minmax(0, 46rem) minmax(8rem, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.eyebrow,
.section-label {
  margin-bottom: 1.2rem;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.lead {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  padding: 0.72rem 1.15rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-deep);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.button-primary,
.button-primary:hover {
  background: var(--blue-deep);
  color: #fff;
}

.button-primary:hover {
  background: #07365e;
}

.button-secondary {
  background: transparent;
  color: var(--blue-deep);
}

.button-secondary:hover {
  background: #eaf1f6;
  color: #07365e;
}

.section {
  padding-block: clamp(5rem, 9vw, 9rem);
  scroll-margin-top: 6.5rem;
}

.section-tint {
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 8vw, 8rem);
}

.prose {
  max-width: 44rem;
  color: var(--muted);
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose-large {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.section-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading-wide {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr);
  gap: 2rem 5rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-intro {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(3rem, 8vw, 8rem);
}

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

.principles li {
  position: relative;
  padding: 1rem 0 1rem 1.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 650;
}

.principles li::before {
  position: absolute;
  top: 1.5rem;
  left: 0.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

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

.experience-card {
  display: flex;
  min-width: 0;
  min-height: 23rem;
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--surface);
  box-shadow: 0 12px 35px rgb(29 41 38 / 0.04);
}

.experience-card::before {
  width: 3rem;
  height: 0.22rem;
  margin-bottom: 1.8rem;
  background: var(--teal);
  content: "";
}

.experience-card:nth-child(2)::before,
.experience-card:nth-child(4)::before {
  background: var(--blue);
}

.experience-card p:not(.state, .coming-soon) {
  color: var(--muted);
}

.state {
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.26rem 0.65rem;
  border: 1px solid #a8cbb8;
  border-radius: 999px;
  background: #ecf6ef;
  color: #0b5e31;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.state-soon {
  border-color: #d5c997;
  background: #f8f3df;
  color: #665000;
}

.text-link,
.coming-soon {
  margin-top: auto;
  padding-top: 1.5rem;
  font-weight: 800;
}

.coming-soon {
  margin-bottom: 0;
  color: #665000;
}

.community-panel {
  display: grid;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 0.32rem solid transparent;
  border-image: linear-gradient(90deg, #df840f, #148b44, #115d9b) 1;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 8vw, 8rem);
}

.community-name {
  margin-bottom: 1.5rem;
}

.community-name h3 {
  margin-bottom: 0.8rem;
}

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

.person {
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  border-top: 1px solid var(--line);
  background: rgb(255 255 255 / 0.55);
}

.person p:not(.role) {
  color: var(--muted);
}

.role {
  margin-bottom: 1.5rem;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact {
  background: var(--surface);
}

.contact-panel {
  display: grid;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--line);
  border-left: 0.4rem solid var(--blue);
  border-radius: 0.85rem;
  background: var(--paper);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.contact-intro {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.2rem;
}

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

.contact-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  padding-block: 3.5rem;
  border-top: 1px solid var(--line);
  background: #e9ede7;
  color: #46534e;
  font-size: 0.86rem;
}

.footer-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer p {
  margin-bottom: 0.2rem;
}

.footer-name {
  color: var(--ink);
  font-weight: 750;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.site-footer a {
  color: var(--ink);
  font-weight: 700;
}

.legal-page {
  min-height: 62vh;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.legal-shell {
  max-width: 52rem;
}

.legal-page h1,
.not-found h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.legal-page .prose {
  max-width: 48rem;
}

.not-found {
  min-height: 68vh;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.not-found-copy {
  max-width: 52rem;
}

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

@media (max-width: 900px) {
  html {
    scroll-padding-top: 10rem;
  }

  .header-inner {
    padding-block: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .primary-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }

  .primary-nav ul {
    width: max-content;
    justify-content: flex-start;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: minmax(0, 1.3fr) minmax(8rem, 0.7fr);
    gap: 2.5rem;
  }

  .two-column,
  .approach-grid,
  .community-panel,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .shell,
  .header-inner {
    width: min(100% - 2rem, 74rem);
  }

  .site-header {
    position: relative;
  }

  html {
    scroll-padding-top: 1rem;
  }

  .primary-nav {
    overflow: visible;
  }

  .primary-nav ul {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
  }

  .primary-nav a {
    display: inline-block;
    padding-block: 0.35rem;
  }

  .hero-grid {
    padding-block: 4rem 5rem;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
  }

  .section-heading-wide,
  .experience-grid,
  .people-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-wide {
    align-items: start;
    gap: 0.5rem;
  }

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

  .text-link,
  .coming-soon {
    margin-top: 0;
  }

  .contact-panel {
    padding: 1.5rem;
  }

  .contact-actions .button {
    justify-content: flex-start;
    border-radius: 0.6rem;
    text-align: left;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

}

@media (max-width: 380px) {
  .brand {
    font-size: 0.98rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .actions .button {
    width: 100%;
  }
}

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