:root {
  --navy: #18324a;
  --teal: #2f7475;
  --copper: #c86f4a;
  --ivory: #f7f5f0;
  --mist: #edf1f2;
  --charcoal: #263238;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(24, 50, 74, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 18px;
}

.site-header {
  background: rgba(247, 245, 240, 0.98);
  border-bottom: 1px solid rgba(24, 50, 74, 0.1);
  left: 0;
  padding: 0 clamp(24px, 5.6vw, 96px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1480px;
  min-height: 104px;
}

.brand {
  color: var(--navy);
  font: 800 clamp(2rem, 2.75vw, 2.85rem) Manrope, sans-serif;
  letter-spacing: 0.11em;
  text-decoration: none;
}

.brand span {
  border-bottom: 5px solid var(--copper);
  padding-bottom: 6px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2.25vw, 34px);
}

.site-nav a {
  color: var(--navy);
  font: 700 1rem Manrope, Inter, sans-serif;
  padding: 8px 0;
  position: relative;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: transparent;
  color: var(--copper);
}

.site-nav a.active::after {
  background: var(--copper);
  bottom: -8px;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  width: 100%;
}

.site-nav .header-cta {
  align-items: center;
  background: var(--copper);
  border-radius: 7px;
  color: var(--white);
  display: inline-flex;
  gap: 16px;
  justify-content: center;
  min-height: 54px;
  min-width: 178px;
  padding: 0 22px;
}

.site-nav .header-cta:hover,
.site-nav .header-cta.active {
  background: #b96241;
  color: var(--white);
}

.site-nav .header-cta::after {
  display: none;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  background: var(--navy);
  display: block;
  height: 2px;
  width: 26px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 4.5vw, 68px);
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  margin: 0 auto;
  max-width: 1240px;
  min-height: min(720px, calc(100vh - 72px));
  padding: clamp(38px, 5vw, 72px) clamp(18px, 4vw, 42px) clamp(44px, 5.5vw, 76px);
  position: relative;
}

.hero-copy {
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.hero-copy > p:not(.eyebrow) {
  font-size: clamp(1.02rem, 1.15vw, 1.16rem);
  line-height: 1.72;
  max-width: 535px;
}

.hero-media {
  aspect-ratio: 1.12 / 0.93;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(24, 50, 74, 0.14);
  overflow: hidden;
  position: relative;
}

.hero-media::before {
  background: var(--ivory);
  border-radius: 0 0 72px 0;
  content: "";
  height: 46%;
  left: -1px;
  position: absolute;
  top: -1px;
  width: 58px;
  z-index: 1;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  width: 100%;
}

.eyebrow {
  color: var(--teal);
  font: 800 0.78rem Manrope, sans-serif;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  background: var(--copper);
  border: 1px solid var(--copper);
  border-radius: 7px;
  color: var(--white);
  display: inline-flex;
  gap: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease;
}

.btn:hover {
  background: #af5f3f;
  transform: translateY(-2px);
}

.btn.secondary {
  background: var(--white);
  color: var(--copper);
}

.btn.secondary-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.section {
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.quick-highlights {
  padding-top: clamp(26px, 4vw, 46px);
}

.quick-highlights .section-title {
  display: none;
}

body[data-page="home"] .hero {
  gap: 0;
  grid-template-columns: minmax(420px, 43.3%) minmax(0, 56.7%);
  max-width: none;
  min-height: clamp(500px, 37vw, 625px);
  padding: 0;
}

body[data-page="home"] .hero-copy {
  align-self: center;
  max-width: 600px;
  padding: 34px 28px 34px clamp(48px, 5.7vw, 96px);
}

body[data-page="home"] .hero h1 {
  font-size: clamp(3.75rem, 4.55vw, 4.85rem);
  line-height: 1.02;
  margin-bottom: 18px;
}

body[data-page="home"] .hero-copy > p:not(.eyebrow) {
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  line-height: 1.55;
  max-width: 560px;
}

body[data-page="home"] .hero .eyebrow {
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

body[data-page="home"] .hero .actions {
  gap: 12px;
  margin-top: 20px;
}

body[data-page="home"] .hero .btn {
  align-items: center;
  min-height: 54px;
  min-width: 178px;
  padding: 0 26px;
  text-transform: none;
  font: 800 1rem Manrope, Inter, sans-serif;
  letter-spacing: 0;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body[data-page="home"] .hero .btn.secondary {
  border-color: var(--copper);
  min-width: 188px;
}

body[data-page="home"] .hero .btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(24, 50, 74, 0.18);
}

body[data-page="home"] .hero .btn.secondary:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--white);
}

body[data-page="home"] .hero-media {
  align-self: stretch;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  min-height: clamp(500px, 37vw, 625px);
}

body[data-page="home"] .hero-media::before {
  background: var(--ivory);
  border-radius: 0 52% 52% 0;
  height: 106%;
  left: -108px;
  top: -3%;
  width: 232px;
}

body[data-page="home"] .hero-media img {
  object-position: center center;
}

body[data-page="home"] .quick-highlights {
  background: linear-gradient(180deg, var(--mist), #f4f7f7);
  padding: 18px clamp(24px, 3vw, 48px) 24px;
}

body[data-page="home"] .quick-highlights .highlight-grid {
  gap: 16px;
  max-width: 1576px;
}

body[data-page="home"] .quick-highlights .highlight {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 66px minmax(0, 1fr);
  min-height: 118px;
  padding: 18px 20px;
}

body[data-page="home"] .quick-highlights h3 {
  font-size: 1rem;
  line-height: 1.18;
  margin-bottom: 8px;
}

body[data-page="home"] .quick-highlights p {
  color: #536177;
  font-size: 0.95rem;
  line-height: 1.42;
  margin: 0;
}

.alt {
  background: var(--mist);
}

.section-title {
  margin: 0 auto 34px;
  max-width: 820px;
  text-align: center;
}

.section-title p:not(.eyebrow) {
  font-size: 1.1rem;
}

.highlight-grid,
.service-grid,
.team-grid,
.why-grid {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 1200px;
}

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

.highlight,
.service-card,
.team-card,
.why-grid article,
.steps article,
.mission,
.form {
  background: var(--white);
  border: 1px solid rgba(24, 50, 74, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(24, 50, 74, 0.06);
}

.highlight {
  padding: 24px 22px;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.highlight:hover {
  box-shadow: 0 16px 34px rgba(24, 50, 74, 0.1);
  transform: translateY(-3px);
}

.highlight span,
.why-grid span,
.steps span {
  color: var(--copper);
  display: inline-block;
  font: 800 0.95rem Manrope, sans-serif;
  margin-bottom: 12px;
}

body[data-page="home"] .highlight .icon-circle,
.highlight .icon-circle {
  align-items: center;
  background: rgba(47, 116, 117, 0.09);
  border-radius: 50%;
  color: var(--teal);
  display: inline-flex;
  flex: 0 0 auto;
  height: 66px;
  justify-content: center;
  margin: 0;
  width: 66px;
}

body[data-page="home"] .highlight .icon-circle svg,
.highlight .icon-circle svg {
  fill: none;
  height: 34px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 34px;
}

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

.service-card {
  overflow: hidden;
}

.service-card img {
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  width: 100%;
}

.service-card div,
.team-card {
  padding: 24px;
}

.service-card a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

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

.why-grid article {
  padding: 28px;
}

.cta {
  align-items: center;
  background: var(--navy);
  color: var(--white);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 72px);
}

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

.split {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.mission {
  padding: 34px;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1100px;
}

.value-list span {
  background: var(--white);
  border: 1px solid rgba(47, 116, 117, 0.24);
  border-radius: 7px;
  color: var(--navy);
  font-weight: 800;
  padding: 12px 16px;
}

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

.team-card img {
  aspect-ratio: 1 / 0.78;
  border-radius: 6px;
  object-fit: cover;
  width: 100%;
}

.process .steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1200px;
}

.steps.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps article {
  padding: 24px;
  position: relative;
}

.form-section .form {
  margin: 0 auto;
  max-width: 980px;
}

.form {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(22px, 4vw, 36px);
}

.form label {
  color: var(--navy);
  font-weight: 800;
}

.form input,
.form textarea {
  border: 1px solid rgba(24, 50, 74, 0.22);
  border-radius: 7px;
  display: block;
  font: inherit;
  margin-top: 8px;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.form textarea {
  min-height: 132px;
  resize: vertical;
}

.form .wide,
.form button,
.form-status {
  grid-column: 1 / -1;
}

.form small,
.form-status {
  color: var(--copper);
  display: block;
  font-weight: 700;
  margin-top: 6px;
}

[aria-invalid="true"] {
  border-color: var(--copper) !important;
}

.contact-list {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
}

.map-wrap {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: 0.9fr 1.1fr;
  margin: 0 auto;
  max-width: 1100px;
}

.bc-map {
  background: linear-gradient(145deg, var(--teal), var(--navy));
  border-radius: 8px;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.bc-map::before {
  background: var(--ivory);
  clip-path: polygon(42% 5%, 74% 18%, 84% 42%, 70% 56%, 76% 82%, 47% 94%, 29% 72%, 20% 44%);
  content: "";
  inset: 28px;
  opacity: 0.92;
  position: absolute;
}

.bc-map span {
  background: var(--copper);
  border: 5px solid var(--white);
  border-radius: 50%;
  height: 20px;
  position: absolute;
  width: 20px;
  z-index: 1;
}

.bc-map span:nth-child(1) {
  bottom: 78px;
  left: 42%;
}

.bc-map span:nth-child(2) {
  left: 56%;
  top: 42%;
}

.bc-map span:nth-child(3) {
  right: 26%;
  top: 22%;
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 54px clamp(18px, 5vw, 72px) 24px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1200px;
}

.footer h2,
.footer h3 {
  color: var(--white);
}

.footer a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin: 34px auto 0;
  max-width: 1200px;
  padding-top: 18px;
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

.reveal {
  animation: fadeUp 520ms ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1024px) {
  .header-inner {
    min-height: 88px;
  }

  .brand {
    font-size: 2rem;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav .header-cta {
    min-height: 50px;
    min-width: 152px;
    padding: 0 16px;
  }

  .hero,
  .split,
  .map-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    max-width: 820px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-media {
    aspect-ratio: 1.55 / 1;
  }

  body[data-page="home"] .hero {
    grid-template-columns: 1fr;
    max-width: none;
    min-height: 0;
    padding: 0;
  }

  body[data-page="home"] .hero-copy {
    max-width: 760px;
    padding: 38px clamp(24px, 6vw, 56px) 30px;
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(3.25rem, 7.4vw, 4.35rem);
  }

  body[data-page="home"] .hero-media {
    aspect-ratio: 1.75 / 1;
    min-height: 0;
  }

  body[data-page="home"] .quick-highlights {
    padding-inline: clamp(18px, 5vw, 42px);
  }

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

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

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

@media (max-width: 720px) {
  .header-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 1.75rem;
    letter-spacing: 0.09em;
  }

  .brand span {
    border-bottom-width: 4px;
    padding-bottom: 4px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    background: var(--ivory);
    border-bottom: 1px solid rgba(24, 50, 74, 0.12);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 12px clamp(18px, 4vw, 42px) 20px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .site-nav a.active::after {
    bottom: 2px;
    width: 44px;
  }

  .site-nav .header-cta {
    min-height: 48px;
    width: 100%;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-media {
    aspect-ratio: 1.18 / 0.86;
  }

  .hero-media::before {
    height: 34%;
    width: 34px;
  }

  .hero-media img {
    object-position: 55% center;
  }

  body[data-page="home"] .hero-copy {
    padding: 30px 20px 24px;
  }

  body[data-page="home"] .hero .eyebrow {
    font-size: 0.78rem;
    margin-bottom: 14px;
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(2.65rem, 11.4vw, 3.55rem);
    line-height: 1.02;
  }

  body[data-page="home"] .hero-copy > p:not(.eyebrow) {
    font-size: 1.05rem;
    line-height: 1.62;
  }

  body[data-page="home"] .hero .btn {
    min-height: 50px;
    min-width: 0;
    padding: 0 18px;
  }

  body[data-page="home"] .hero-media {
    aspect-ratio: 1.16 / 0.78;
  }

  body[data-page="home"] .hero-media::before {
    display: none;
  }

  body[data-page="home"] .quick-highlights {
    padding-top: 18px;
  }

  body[data-page="home"] .quick-highlights .highlight {
    grid-template-columns: 60px minmax(0, 1fr);
    min-height: 110px;
  }

  body[data-page="home"] .highlight .icon-circle,
  .highlight .icon-circle {
    height: 60px;
    width: 60px;
  }

  body[data-page="home"] .highlight .icon-circle svg,
  .highlight .icon-circle svg {
    height: 30px;
    width: 30px;
  }

  .actions,
  .cta {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .highlight-grid,
  .service-grid,
  .why-grid,
  .team-grid,
  .process .steps,
  .steps.compact,
  .form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 16px;
  }

  .section-title {
    text-align: left;
  }

  .value-list {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: clamp(2.45rem, 12vw, 3.15rem);
  }

  .hero {
    gap: 26px;
    padding-bottom: 38px;
  }

  .actions {
    gap: 10px;
  }

  .highlight {
    padding: 22px 20px;
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(2.45rem, 11.2vw, 3.05rem);
  }

  body[data-page="home"] .quick-highlights .highlight {
    gap: 14px;
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 16px;
  }

  body[data-page="home"] .highlight .icon-circle,
  .highlight .icon-circle {
    height: 56px;
    width: 56px;
  }
}
