:root {
  --navy: #1f2a44;
  --navy-light: #2a3857;
  --navy-dark: #151c2e;
  --teal: #0e6099;
  --green: #38d200;
  --green-dark: #2db800;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-600: #475569;
}

.max-w-6xl {
  max-width: 90rem !important;
}

.btn-green {
  background: var(--green);
  color: #fff;
  transition: all 0.3s ease;
}

.btn-green:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 24px rgba(56, 210, 0, 0.25);
  transform: translateY(-2px);
}

.closing-teal {
  background-color: var(--teal);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--navy);
  font-family: "Rethink Sans", sans-serif;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 0.5rem;
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1rem;
  font-weight: 700;
  transition: transform 160ms ease;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(56, 210, 0, 0.55);
  outline-offset: 3px;
}

.nav-dropdown {
  pointer-events: none;
}

.group:hover .nav-dropdown,
.group:focus-within .nav-dropdown {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.group:focus-within .nav-caret {
  transform: rotate(180deg);
}

.mobile-menu-button {
  border-radius: 0.5rem;
}

.mobile-menu-button:hover {
  background: var(--gray-50);
}

.hero-copy {
  max-width: 56rem;
}

.hero-copy h1 {
  letter-spacing: -0.035em;
}

.eyebrow-line {
  flex: 0 0 auto;
}

.intro-photo,
.detail-photo-landscape,
.detail-photo-square {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1),
    0 4px 6px -4px rgba(15, 23, 42, 0.1);
  object-fit: cover;
}

.intro-photo,
.detail-photo-landscape {
  aspect-ratio: 3 / 2;
}

.detail-photo-square {
  aspect-ratio: 1 / 1;
}

.service-card {
  min-width: 0;
  transition: all 0.3s ease;
}

.service-card:hover,
.offering-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(56, 210, 0, 0.08);
}

.service-card h3 a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 160ms ease;
}

.service-card h3 a:hover {
  color: var(--teal);
}

.service-card h3 a svg {
  flex: 0 0 auto;
  transition: transform 160ms ease;
}

.service-card h3 a:hover svg {
  transform: translateX(0.2rem);
}

.offering-card .offering-icon {
  flex: 0 0 auto;
}

.offering-card {
  transition: all 0.3s ease;
}

.cross-offering {
  border-left: 2px solid var(--green);
}

.cross-offering a {
  color: var(--teal);
  font-weight: 700;
}

.cross-offering a:hover {
  color: var(--green-dark);
}

/* Review screenshots can opt in to a clear marker without affecting the live pages. */
.review-mode [data-new-content] {
  position: relative;
  outline: 4px solid var(--green);
  outline-offset: 7px;
  box-shadow: 0 0 0 11px rgba(56, 210, 0, 0.16),
    0 18px 42px rgba(31, 42, 68, 0.16);
}

.review-mode [data-new-content]::after {
  content: "NEW ADDITION";
  position: absolute;
  top: -20px;
  right: 18px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--green);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-social {
  transition: color 160ms ease, background-color 160ms ease;
}

.footer-social[aria-disabled="true"] {
  cursor: default;
}

@media (max-width: 1023px) {
  .hero-copy h1 {
    letter-spacing: -0.025em;
  }
}

@media (max-width: 767px) {
  .hero-copy h1 {
    font-size: 2.35rem;
    line-height: 1.06;
  }

  .detail-intro-copy {
    order: 1;
  }

  .detail-intro-image {
    order: 2;
  }

  .service-card {
    padding: 1.5rem;
  }

  .offering-card {
    padding: 1.5rem;
  }
}

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

