:root {
  color-scheme: light;
  --ink: #172120;
  --muted: #5d6b67;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #dce4df;
  --teal: #0f6f68;
  --teal-dark: #0f3d3e;
  --lime: #b7d645;
  --coral: #d96c4f;
  --shadow: 0 22px 65px rgba(23, 33, 32, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 30;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: 0.4rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.91);
  border-bottom: 1px solid rgba(220, 228, 223, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell,
.site-footer,
.section,
.identity-strip {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.brand-icon {
  flex: 0 0 auto;
  border-radius: 0.55rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(23, 33, 32, 0.12);
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.05rem;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
}

.nav-links a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  text-decoration: none;
}

.nav-links svg,
.footer-links svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: clamp(560px, 78svh, 760px);
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero-media,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 60% center;
}

.hero-media {
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.89) 34%, rgba(251, 250, 247, 0.46) 66%, rgba(251, 250, 247, 0.2) 100%),
    linear-gradient(180deg, rgba(251, 250, 247, 0.08), rgba(251, 250, 247, 0.92));
}

.hero-content {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 8ch;
  margin-bottom: 1rem;
  font-size: clamp(4rem, 12vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 41rem;
  margin-bottom: 1.7rem;
  color: #2b3735;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  padding: 0.72rem 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 61, 62, 0.24);
  color: var(--teal-dark);
}

.identity-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: -2.8rem;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--line);
  box-shadow: var(--shadow);
}

.identity-strip > div {
  min-width: 0;
  background: var(--surface);
  padding: 1.15rem;
}

.identity-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.identity-strip strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-muted {
  width: 100%;
  max-width: none;
  background: #eef4ef;
}

.section-muted > * {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section-heading p,
.split-layout p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-item {
  min-height: 260px;
  background: var(--surface);
  padding: clamp(1.2rem, 3vw, 1.6rem);
}

.feature-icon {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.6rem;
  border-radius: 50%;
  background: #e8f7d0;
  color: #305400;
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-item:nth-child(2) .feature-icon {
  background: #d9f2ee;
  color: #0f544f;
}

.feature-item:nth-child(3) .feature-icon {
  background: #ffe6dd;
  color: #7c2c18;
}

.feature-item:nth-child(4) .feature-icon {
  background: #f2eddf;
  color: #5d4c17;
}

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

.organization-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.info-list {
  margin: 0;
  border-top: 1px solid #cfdad4;
}

.info-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #cfdad4;
}

.info-list dt {
  color: var(--muted);
  font-weight: 750;
}

.info-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 760;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  border-top: 2px solid var(--ink);
  padding-top: 1.4rem;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  margin-bottom: 0.7rem;
}

.site-footer p {
  max-width: 34rem;
  margin-bottom: 0;
}

.page-hero {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
  padding-block: clamp(4rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4rem);
}

.page-hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.page-hero p {
  max-width: 45rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.content-page {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.content-page section {
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}

.content-page h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
}

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

.content-page ul {
  padding-left: 1.2rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-methods article {
  background: var(--surface);
  padding: 1.2rem;
}

.contact-methods h2 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

@media (max-width: 860px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.85rem;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-block: 4.4rem 5.6rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 0.97), rgba(251, 250, 247, 0.88) 48%, rgba(251, 250, 247, 0.72)),
      linear-gradient(90deg, rgba(251, 250, 247, 0.92), rgba(251, 250, 247, 0.56));
  }

  .identity-strip,
  .feature-grid,
  .organization-layout,
  .split-layout,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .identity-strip {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .feature-item {
    min-height: 210px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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