:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-2: #f0f4f8;
  --ink: #14181f;
  --text: #344055;
  --muted: #697586;
  --line: #dbe3ea;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --accent: #c2410c;
  --gold: #b7791f;
  --sky: #0f5e9c;
  --shadow: 0 20px 55px rgba(28, 39, 55, .1);
  --max: 1160px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

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

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: .65rem 1rem;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 227, 234, .9);
  background: rgba(246, 247, 244, .93);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: .9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: .85rem;
  letter-spacing: .02em;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text span:first-child {
  font-size: 1rem;
}

.brand-text span:last-child {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text);
  border-radius: 6px;
  padding: .5rem .7rem;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(15, 118, 110, .09);
  color: var(--brand-dark);
}

.section {
  padding: clamp(3rem, 7vw, 5.75rem) 1.25rem;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.shell {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: .65rem;
  color: var(--brand-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.1rem;
  padding: .34rem .75rem;
  border: 1px solid rgba(15, 118, 110, .2);
  border-radius: 999px;
  background: rgba(15, 118, 110, .08);
  color: var(--brand-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--brand);
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
}

h1 {
  margin-bottom: 1rem;
  max-width: 780px;
  font-size: clamp(2.45rem, 7vw, 5.5rem);
  font-weight: 950;
}

h2 {
  margin-bottom: .9rem;
  max-width: 760px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 930;
}

h3 {
  margin-bottom: .5rem;
  font-size: 1.04rem;
  font-weight: 900;
}

.lead {
  max-width: 690px;
  margin-bottom: 1.7rem;
  color: var(--text);
  font-size: clamp(1.03rem, 2vw, 1.18rem);
}

.sublead {
  max-width: 680px;
  margin-bottom: 2rem;
  color: var(--text);
  font-size: 1.02rem;
}

.hero {
  min-height: clamp(560px, 82vh, 780px);
  padding: clamp(3.5rem, 8vw, 6.5rem) 1.25rem clamp(2.5rem, 5vw, 4rem);
  display: grid;
  align-items: end;
  background-image:
    linear-gradient(90deg, rgba(20, 24, 31, .9), rgba(20, 24, 31, .68) 52%, rgba(20, 24, 31, .18)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero h1,
.hero .lead {
  color: #fff;
}

.hero h1 span {
  color: #8fe3d8;
}

.hero .lead {
  max-width: 760px;
}

.hero .kicker {
  border-color: rgba(143, 227, 216, .35);
  background: rgba(15, 118, 110, .22);
  color: #d7fffa;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.panel-body {
  padding: 1.1rem;
}

.panel-body p {
  margin-bottom: .35rem;
  color: var(--text);
  font-size: .92rem;
}

.panel-body strong {
  color: var(--ink);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.35rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: .92rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(28, 39, 55, .12);
}

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

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

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(15, 118, 110, .3);
  background: rgba(15, 118, 110, .08);
  color: var(--brand-dark);
}

.button-dark {
  background: #fff;
  color: var(--ink);
}

.button-dark:hover {
  color: var(--brand-dark);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 2rem;
}

.metric {
  min-height: 96px;
  padding: .9rem;
  border: 1px solid rgba(20, 24, 31, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .68);
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.35rem, 4vw, 2.1rem);
  line-height: 1;
  font-weight: 950;
}

.metric span {
  display: block;
  margin-top: .4rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.page-hero {
  padding: clamp(3.25rem, 7vw, 5.5rem) 1.25rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, .12), transparent 40%),
    linear-gradient(315deg, rgba(15, 94, 156, .09), transparent 32%),
    var(--bg);
}

.page-hero-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.portrait-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.1rem 0 1.4rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .32rem .72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: .78rem;
  font-weight: 850;
}

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

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

.card {
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: .94rem;
}

.card .mini {
  margin-bottom: .55rem;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature-band {
  padding: clamp(2.25rem, 5vw, 3.5rem);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.feature-band h2,
.feature-band h3 {
  color: #fff;
}

.feature-band p {
  color: #d5dde8;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: .85rem .95rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  color: #eef3f8;
  font-size: .9rem;
  font-weight: 760;
}

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 1rem;
  padding: .72rem 0;
  border-bottom: 1px solid var(--line);
}

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

.facts strong {
  color: var(--ink);
  font-size: .86rem;
}

.facts span {
  color: var(--text);
  font-size: .91rem;
}

.story-list {
  display: grid;
  gap: 0;
  margin-top: 1.2rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--line);
}

.story-item {
  position: relative;
  padding: 0 0 1.55rem;
}

.story-item:last-child {
  padding-bottom: 0;
}

.story-item::before {
  content: "";
  position: absolute;
  top: .3rem;
  left: -1.82rem;
  width: .78rem;
  height: .78rem;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--brand);
}

.story-item p {
  margin-bottom: 0;
  color: var(--text);
  font-size: .94rem;
}

.contact-band {
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem;
  background: var(--ink);
  color: #fff;
}

.contact-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-band .eyebrow {
  color: #68d4c9;
}

.contact-band h2 {
  color: #fff;
}

.contact-band p {
  color: #d5dde8;
}

.contact-list {
  display: grid;
  gap: .75rem;
}

.contact-list > a,
.contact-list > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: .9rem;
  font-weight: 820;
  text-decoration: none;
}

.contact-list a:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

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

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.profile-links a {
  padding: .55rem .85rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
}

.profile-links a:hover {
  border-color: rgba(15, 118, 110, .35);
  color: var(--brand-dark);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .86rem;
}

.footer-links {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

@media (max-width: 900px) {
  .hero-grid,
  .page-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .portrait-card {
    max-width: 420px;
  }

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

  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav a {
    padding-left: 0;
  }

  h1 {
    font-size: clamp(2.2rem, 14vw, 3.3rem);
  }

  .grid-2,
  .grid-3,
  .faq-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .facts li {
    grid-template-columns: 1fr;
    gap: .15rem;
  }

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

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

  .button:hover {
    transform: none;
  }
}
