:root {
  --green-900: #123d2a;
  --green-700: #1b7a42;
  --green-100: #eaf6ee;
  --ink: #17211c;
  --muted: #5d6b64;
  --line: #dfe8e2;
  --paper: #f8faf6;
  --white: #ffffff;
  --amber: #d99a2b;
  --blue: #23648f;
  --shadow: 0 18px 50px rgba(18, 61, 42, 0.14);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1;
}

.site-header.is-scrolled .brand-mark,
.site-header.nav-active .brand-mark,
.brand-footer .brand-mark {
  color: var(--white);
  border-color: var(--green-700);
  background: var(--green-700);
}

.brand-copy {
  display: grid;
  gap: 1px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-copy span:first-child {
  font-size: 0.9rem;
}

.brand-copy span:last-child {
  font-size: 0.72rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 11px 4px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

.nav-toggle .icon-close {
  display: none;
}

.site-header.nav-active .nav-toggle .icon-menu {
  display: none;
}

.site-header.nav-active .nav-toggle .icon-close {
  display: block;
}

.nav-toggle svg,
.button svg,
.work-card svg,
.point svg,
.contact-row svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, 86vh);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 36, 28, 0.88) 0%, rgba(18, 36, 28, 0.62) 36%, rgba(18, 36, 28, 0.14) 72%),
    linear-gradient(0deg, rgba(18, 36, 28, 0.42), rgba(18, 36, 28, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: end;
  width: auto;
  max-width: 760px;
  margin: 0 clamp(18px, 6vw, 82px) clamp(44px, 8vw, 96px);
  padding-top: calc(var(--header-height) + 48px);
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.eyebrow span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--green-900);
  background: var(--white);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 36px));
  margin: -36px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-facts div {
  min-width: 0;
  padding: 22px clamp(16px, 3vw, 28px);
  border-right: 1px solid var(--line);
}

.quick-facts div:last-child {
  border-right: 0;
}

.quick-facts span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts strong {
  display: block;
  color: var(--green-900);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.15;
}

.section {
  padding: clamp(70px, 9vw, 118px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.split,
.registration-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  max-width: 680px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy p:not(.section-kicker),
.mission-text p,
.registry-list,
.governance-points,
.contact-panel {
  color: var(--muted);
  font-size: 1.02rem;
}

.mission-text {
  display: grid;
  gap: 16px;
}

.mission-text p {
  margin-bottom: 0;
}

.work-section,
.contact-section {
  background: var(--white);
}

.section-heading {
  display: grid;
  margin-bottom: 34px;
  gap: 2px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f5faf7);
}

.work-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 28px;
  color: var(--green-700);
}

.work-card h3 {
  margin-bottom: 10px;
  color: var(--green-900);
  font-size: 1.18rem;
  line-height: 1.18;
}

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

.registration-section {
  background: var(--green-100);
}

.registry-list {
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(27, 122, 66, 0.16);
  border-radius: var(--radius);
  background: var(--white);
}

.registry-list div {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.registry-list div:last-child {
  border-bottom: 0;
}

.registry-list dt {
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.registry-list dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.governance-points {
  display: grid;
  gap: 16px;
}

.point {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.point svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--blue);
  border: 1px solid rgba(35, 100, 143, 0.2);
  border-radius: var(--radius);
  background: #eef6fb;
}

.point p {
  margin: 0;
}

.contact-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

a.contact-row {
  transition: background-color 180ms ease;
}

a.contact-row:hover,
a.contact-row:focus-visible {
  background: var(--green-100);
}

.contact-row svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  color: var(--green-700);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-900);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.contact-note {
  padding: 18px 20px;
  color: var(--ink);
  background: #fff7e7;
  border-left: 4px solid var(--amber);
  font-weight: 700;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-900);
}

.footer-inner {
  display: flex;
  width: min(1180px, calc(100% - 36px));
  min-height: 148px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}

.brand-footer {
  color: var(--white);
}

.footer-inner p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .quick-facts,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-facts div:nth-child(2) {
    border-right: 0;
  }

  .quick-facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .split,
  .registration-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 11px 18px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-copy span:last-child {
    max-width: 150px;
    line-height: 1.05;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 12px;
    border-radius: var(--radius);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--green-100);
  }

  .hero {
    min-height: 84vh;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 36, 28, 0.92) 0%, rgba(18, 36, 28, 0.76) 58%, rgba(18, 36, 28, 0.28) 100%),
      linear-gradient(0deg, rgba(18, 36, 28, 0.52), rgba(18, 36, 28, 0.12));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 44px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .quick-facts {
    margin-top: 0;
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .section-inner {
    width: calc(100% - 36px);
  }

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

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

  .registry-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 34px 0;
  }
}

@media (max-width: 480px) {
  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-facts div:last-child {
    border-bottom: 0;
  }

  .eyebrow {
    gap: 6px;
  }

  .eyebrow span {
    font-size: 0.7rem;
  }

  .contact-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .contact-row svg {
    width: 38px;
    height: 38px;
    padding: 9px;
  }
}
