:root {
  --ink: #17202a;
  --muted: #5f6c7b;
  --line: #dfe7e4;
  --surface: #ffffff;
  --soft: #f4f8f6;
  --teal: #087c75;
  --teal-dark: #075d58;
  --coral: #cf5b4f;
  --gold: #d99a28;
  --shadow: 0 20px 54px rgba(23, 32, 42, 0.12);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    linear-gradient(135deg, rgba(8, 124, 117, 0.08), transparent 28rem) top right / 100% 620px no-repeat,
    #fbfcfb;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px max(22px, calc((100vw - var(--container)) / 2));
  background: rgba(251, 252, 251, 0.9);
  border-bottom: 1px solid rgba(223, 231, 228, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 74px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: #314150;
  font-size: 0.95rem;
  font-weight: 700;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero,
.section,
.contact-section,
.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding-right: 22px;
  padding-left: 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: 54px;
  padding-bottom: 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 680px;
  margin: 0 0 22px;
  font-size: clamp(2.65rem, 6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero-copy > p:not(.eyebrow),
.section p,
.service-list p,
.contact-section p,
address {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 850;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(8, 124, 117, 0.22);
}

.button.secondary {
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid rgba(8, 124, 117, 0.28);
}

.hero-image {
  position: relative;
  margin: 0;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-preview-trigger {
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
  border: 0;
}

.image-preview-trigger:focus-visible {
  outline: 3px solid rgba(8, 124, 117, 0.42);
  outline-offset: 4px;
}

.image-preview-trigger img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

.hero-image figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 9px 12px;
  color: #fff;
  background: rgba(23, 32, 42, 0.74);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
}

.section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.split-section p {
  max-width: 680px;
  margin: 22px 0 18px;
}

.text-link {
  display: inline-flex;
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.profile {
  margin: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.08);
}

.profile img {
  width: 100%;
  aspect-ratio: 0.72 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

.profile div {
  display: grid;
  gap: 5px;
  padding: 16px 2px 2px;
}

.profile strong {
  font-size: 1.15rem;
}

.profile a {
  color: var(--teal);
  font-weight: 800;
}

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

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-list article {
  min-height: 250px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 900;
}

.service-list article:nth-child(2) span {
  background: var(--teal);
}

.service-list article:nth-child(3) span {
  background: var(--gold);
}

.service-list p {
  margin: 14px 0 0;
}

.location-section {
  border-top: 1px solid var(--line);
}

address {
  display: grid;
  gap: 5px;
  margin: 18px 0 0;
  font-style: normal;
}

address a {
  color: var(--teal-dark);
  font-weight: 800;
}

.office-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, minmax(180px, 260px));
  gap: 14px;
  margin-bottom: 14px;
}

.office-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
}

.office-gallery img:first-child {
  grid-row: 1 / 3;
}

.map-wrap {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 22px;
  margin-bottom: 26px;
  padding-top: 46px;
  padding-bottom: 46px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}

.contact-section .section-kicker,
.contact-section p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section h2 {
  max-width: 620px;
}

.contact-section .button.secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 38px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(10, 16, 22, 0.9);
}

.image-modal[hidden] {
  display: none;
}

.image-modal img {
  max-width: min(100%, 1280px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.image-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  font-size: 2rem;
  line-height: 1;
}

.image-modal-close:hover,
.image-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 44px rgba(23, 32, 42, 0.12);
  }

  .primary-nav a {
    padding: 14px;
  }

  .menu-open .primary-nav {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .profile {
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .contact-section {
    display: block;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
  }

  .brand img {
    height: 60px;
  }

  .hero,
  .section,
  .contact-section,
  .site-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 50px;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 3.5rem);
  }

  .button {
    width: 100%;
  }

  .hero-image figcaption {
    position: static;
    display: block;
    margin-top: 10px;
    color: var(--ink);
    background: transparent;
    padding: 0;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .office-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .office-gallery img,
  .office-gallery img:first-child {
    grid-row: auto;
    aspect-ratio: 1.35 / 1;
  }

  .map-wrap iframe {
    height: 340px;
  }

  .site-footer {
    display: grid;
  }

  .image-modal {
    padding: 16px;
  }
}
