:root {
  --logo-background: #f6f3ee;
  --ink: #063f4b;
  --teal: #0d5964;
  --sea: #2f7f86;
  --coral: #c86f4a;
  --gold: #d4a650;
  --paper: #fffaf2;
  --white: #ffffff;
  --muted: rgba(6, 63, 75, 0.72);
  --line: rgba(6, 63, 75, 0.14);
  --shadow: 0 24px 70px rgba(6, 63, 75, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--logo-background);
  color: var(--ink);
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

.site-shell {
  overflow: hidden;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 243, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar .container {
  width: calc(100% - clamp(40px, 5vw, 84px));
  max-width: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 94px;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-mark {
  position: relative;
  display: block;
  width: 152px;
  height: 84px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo-mark img {
  position: absolute;
  top: 0;
  left: 0;
  width: 152px;
  max-width: none;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.1vw, 1.75rem);
  color: rgba(6, 63, 75, 0.82);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--coral);
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.menu-icon {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: currentColor;
}

.mobile-menu-panel {
  display: grid;
  gap: 0.4rem;
}

.mobile-menu-panel a {
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.05rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--coral);
  border-color: var(--coral);
  transform: translateY(-1px);
}

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

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.service-hero {
  position: relative;
  min-height: clamp(520px, 68vh, 720px);
  display: grid;
  align-items: end;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #062f38;
  overflow: hidden;
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(246, 243, 238, 0.95) 0%, rgba(246, 243, 238, 0.84) 42%, rgba(246, 243, 238, 0.25) 72%, rgba(6, 63, 75, 0.12) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.service-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 48rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 6.2vw, 5.25rem);
  line-height: 0.98;
  overflow-wrap: break-word;
}

h2 {
  max-width: 16ch;
  color: rgba(6, 63, 75, 0.84);
  font-family: "Cormorant Garamond", "Newsreader", Georgia, serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-style: italic;
  font-weight: 600;
  line-height: 0.95;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.lead {
  max-width: 43rem;
  margin: 1.1rem 0 0;
  color: rgba(6, 63, 75, 0.84);
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  font-weight: 500;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.55rem;
}

.section {
  padding: clamp(3rem, 8vw, 6.5rem) 0;
}

.section.alt {
  background: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.6fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section-head > *,
.content-grid > *,
.cta-grid > * {
  min-width: 0;
}

.section-head p,
.content-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.content-copy p + p {
  margin-top: 1rem;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 0.75rem;
  color: rgba(6, 63, 75, 0.84);
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.48rem;
  background: var(--coral);
}

.panel {
  padding: clamp(1.2rem, 2.3vw, 1.6rem);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.panel p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

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

.card,
.faq-card,
.service-link {
  min-height: 100%;
  padding: clamp(1.2rem, 2.3vw, 1.6rem);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-top: 4px solid var(--sea);
  text-decoration: none;
}

.card:nth-child(2),
.faq-card:nth-child(3n + 2),
.service-link:nth-child(2) {
  border-top-color: var(--gold);
}

.card:nth-child(3),
.faq-card:nth-child(3n),
.service-link:nth-child(3) {
  border-top-color: var(--coral);
}

.card strong,
.faq-card strong,
.service-link strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 1rem;
}

.card p,
.faq-card p,
.service-link p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.service-link:hover,
.service-link:focus-visible {
  border-color: rgba(200, 111, 74, 0.48);
  transform: translateY(-1px);
}

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

.cta {
  background: var(--ink);
  color: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.cta h2,
.cta p {
  color: var(--white);
}

.cta p {
  max-width: 44rem;
  margin: 1rem 0 0;
  opacity: 0.8;
}

.cta .button {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.footer {
  padding: 2rem 0;
  background: #042f38;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.social-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

@media (max-width: 920px) {
  .section-head,
  .content-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .faq-grid,
  .service-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar .container {
    width: calc(100% - 28px);
  }

  .nav {
    position: relative;
    align-items: center;
    flex-direction: row;
    padding: 0.75rem 0;
    min-height: auto;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
    flex: 0 0 auto;
  }

  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    left: 0;
    z-index: 20;
    padding: 0.75rem;
    border: 1px solid var(--line);
    background: rgba(246, 243, 238, 0.98);
    box-shadow: var(--shadow);
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
    max-width: 1120px;
  }

  .service-hero {
    min-height: 650px;
  }

  .service-hero::before {
    background-image:
      linear-gradient(180deg, rgba(246, 243, 238, 0.96) 0%, rgba(246, 243, 238, 0.88) 50%, rgba(246, 243, 238, 0.42) 100%),
      var(--hero-image);
  }

  .brand-logo-mark {
    width: 112px;
    height: 62px;
  }

  .brand-logo-mark img {
    width: 112px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 10.5vw, 2.85rem);
  }

  h2 {
    font-size: clamp(2.5rem, 12vw, 3.2rem);
  }

  .eyebrow {
    max-width: 18rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .eyebrow::before {
    width: 28px;
  }

  .card-grid,
  .faq-grid,
  .service-link-grid {
    grid-template-columns: 1fr;
  }

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