:root {
  --green-950: #092620;
  --green-900: #0f3d33;
  --green-800: #155246;
  --green-700: #1f6c5d;
  --teal-700: #127c7a;
  --teal-500: #23a6a0;
  --teal-100: #dff6f3;
  --sand-50: #fbf8f0;
  --sand-100: #f3ead8;
  --stone: #c6a46c;
  --charcoal: #22302d;
  --muted: #64706d;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(15, 61, 51, 0.14);
  --shadow-soft: 0 14px 40px rgba(15, 61, 51, 0.1);
  --radius: 8px;
  --radius-lg: 18px;
  --max-width: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

main {
  display: flex;
  flex-direction: column;
}

.hero {
  order: 1;
}

.projects {
  order: 2;
}

.process {
  order: 3;
}

.services {
  order: 4;
}

.about {
  order: 5;
}

.testimonials {
  order: 6;
}

.contact {
  order: 7;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(35, 166, 160, 0.55);
  outline-offset: 4px;
}

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

.section {
  padding: 104px 0;
}

.section-sm {
  padding: 74px 0;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-900);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.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: 100;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 61, 51, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(9, 38, 32, 0.08);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--green-950);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(18, 124, 122, 0.26);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 650;
  color: #32403d;
}

.nav-menu > a:not(.btn) {
  position: relative;
  padding: 8px 0;
}

.nav-menu > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-menu > a:hover::after,
.nav-menu > a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 61, 51, 0.12);
  border-radius: var(--radius);
  background: var(--white);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-900), var(--teal-700));
  box-shadow: 0 14px 28px rgba(18, 124, 122, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(18, 124, 122, 0.3);
}

.btn-secondary {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 61, 51, 0.16);
}

.btn-small {
  min-height: 42px;
  padding: 11px 16px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  padding-top: 78px;
  background:
    radial-gradient(circle at 8% 20%, rgba(35, 166, 160, 0.18), transparent 31%),
    linear-gradient(135deg, #f9fbf7 0%, var(--sand-50) 49%, #e9f7f4 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(35, 166, 160, 0.18);
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 540px;
  height: 540px;
  right: -190px;
  top: 70px;
}

.hero::after {
  width: 340px;
  height: 340px;
  right: -92px;
  top: 170px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.93fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  animation: heroCopyIn 760ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--green-950);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.hero-title {
  display: grid;
  gap: 0.02em;
}

.hero-title-line {
  display: block;
}

.rotating-word-wrap {
  display: block;
  width: min(100%, 14ch);
  height: 1.08em;
  margin: 0.03em 0;
  overflow: hidden;
  color: var(--teal-700);
}

.rotating-word {
  display: inline-flex;
  align-items: baseline;
  width: 100%;
  height: 1.08em;
  white-space: nowrap;
}

.rotating-word::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.82em;
  margin-left: 0.08em;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(0.08em);
  animation: cursorBlink 850ms steps(2, start) infinite;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.45rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
}

.hero-text {
  max-width: 660px;
  margin-top: 24px;
  color: #42514e;
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
}

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

.hero-media {
  position: relative;
  min-height: 520px;
}

.hero-visual-shell {
  position: relative;
  isolation: isolate;
  animation: heroFloat 7s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  inset: -38px -32px -24px -28px;
  z-index: -2;
  border-radius: 34px;
  background:
    radial-gradient(circle at 68% 28%, rgba(35, 166, 160, 0.32), transparent 36%),
    radial-gradient(circle at 26% 74%, rgba(198, 164, 108, 0.25), transparent 34%),
    linear-gradient(135deg, rgba(15, 61, 51, 0.1), rgba(255, 255, 255, 0.2));
  filter: blur(3px);
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 24px -18px -18px 24px;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(198, 164, 108, 0.38), rgba(35, 166, 160, 0.2));
}

.hero-accent {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.hero-accent-stone {
  width: 70px;
  height: 42px;
  left: -26px;
  top: 23%;
  border-radius: 50% 46% 52% 44%;
  background: linear-gradient(135deg, #d6c29b, #867762);
  box-shadow: 0 16px 32px rgba(9, 38, 32, 0.18);
}

.hero-accent-leaf {
  width: 82px;
  height: 36px;
  right: -18px;
  top: 17%;
  border-radius: 82px 0 82px 0;
  background: linear-gradient(135deg, #4b9064, var(--green-800));
  transform: rotate(-18deg);
  box-shadow: 0 14px 30px rgba(9, 38, 32, 0.16);
}

.hero-accent-shine {
  width: 96px;
  height: 96px;
  right: 12%;
  bottom: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38), rgba(189, 236, 232, 0.08) 46%, transparent 68%);
  animation: shinePulse 5.8s ease-in-out infinite;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.stat-card {
  padding: 22px 18px;
  border: 1px solid rgba(15, 61, 51, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(15, 61, 51, 0.09);
  text-align: center;
  backdrop-filter: blur(12px);
}

.stat-card strong {
  display: block;
  color: var(--green-950);
  font-size: clamp(1.72rem, 3vw, 2.55rem);
  line-height: 1;
}

.stat-card > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 780;
}

.star-rating {
  display: inline-flex;
  justify-content: center;
  gap: 4px;
  color: var(--stone);
  letter-spacing: 0;
}

.star-rating span {
  opacity: 0.22;
  transform: translateY(8px) scale(0.86);
  transition: opacity 260ms ease, transform 260ms ease;
}

.star-rating.is-visible span {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.location-strip {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  padding: clamp(14px, 1.8vw, 22px);
  overflow: hidden;
  border: 1px solid rgba(15, 61, 51, 0.1);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(251, 248, 240, 0.84)),
    var(--sand-50);
  box-shadow: var(--shadow-soft);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.location-grid > * {
  min-width: 0;
}

.location-copy {
  position: absolute;
  z-index: 2;
  top: clamp(18px, 2.4vw, 30px);
  left: clamp(18px, 2.4vw, 30px);
  max-width: min(330px, 36%);
  text-align: left;
  overflow-wrap: break-word;
}

.location-heading {
  margin-bottom: 8px;
}

.location-heading h2 {
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  line-height: 1.08;
}

.location-heading p,
.location-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.location-copy strong {
  color: var(--green-900);
  font-weight: 850;
}

.location-heading p {
  margin-top: 4px;
  color: var(--green-700);
  font-weight: 800;
}

.location-copy > p + p {
  margin-top: 6px;
}

.location-map-wrap {
  min-width: 0;
}

.location-map-card {
  position: relative;
  max-width: 1080px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(15, 61, 51, 0.12);
  border-radius: var(--radius-lg);
  background: var(--sand-50);
  box-shadow: 0 20px 48px rgba(15, 61, 51, 0.11);
}

.location-map-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
  width: 48%;
  height: 42%;
  background: radial-gradient(circle at 0 0, rgba(255, 253, 247, 0.98), rgba(255, 253, 247, 0.82) 46%, rgba(255, 253, 247, 0) 76%);
  pointer-events: none;
}

.service-map {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 6.6;
  height: auto;
}

.map-bg {
  fill: url(#mapBg);
}

.lake-fill {
  fill: url(#lake);
  opacity: 0.82;
}

.shoreline {
  fill: none;
  stroke: #ffffff;
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.82;
}

.shore-shadow {
  fill: none;
  stroke: var(--green-900);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.08;
}

.land-shape {
  fill: #f5efdf;
  opacity: 0.9;
}

.boundary {
  fill: none;
  stroke: var(--green-900);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.075;
}

.water-label {
  fill: #4d918c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0.36;
}

.service-line {
  fill: none;
  stroke: var(--teal-500);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}

.service-line-major {
  stroke-width: 2.1;
}

.service-map.is-active .service-line {
  animation: serviceReach 1200ms cubic-bezier(0.2, 0.72, 0.22, 1) forwards;
  animation-delay: calc(360ms + (var(--line-index) * 92ms));
}

.city-dot {
  fill: var(--teal-700);
  stroke: rgba(255, 253, 247, 0.96);
  stroke-width: 2.4;
}

.map-label {
  fill: var(--green-900);
  stroke: rgba(255, 253, 247, 0.92);
  stroke-width: 3.2;
  paint-order: stroke;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

.primary-label {
  font-size: 13px;
  font-weight: 850;
}

.secondary-label {
  fill: #315f55;
  font-size: 10.6px;
  font-weight: 760;
}

.home-ring {
  fill: rgba(35, 166, 160, 0.12);
  stroke: rgba(18, 124, 122, 0.44);
  stroke-width: 3;
}

.home-pin {
  fill: var(--green-900);
  stroke: #fffdf7;
  stroke-width: 3;
}

.home-core {
  fill: var(--teal-500);
}

.home-label {
  fill: var(--green-950);
  font-size: 15px;
  font-weight: 900;
  stroke-width: 3.6;
}

.map-border {
  fill: none;
  stroke: var(--green-900);
  stroke-opacity: 0.1;
  stroke-width: 2;
}

.prompt-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid rgba(18, 124, 122, 0.18);
  border-radius: 999px;
  color: var(--green-900);
  background: rgba(251, 248, 240, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 54px;
  align-items: start;
}

.lead,
.section-heading p,
.about p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 + p,
.about h2 + p,
.contact-copy h2 + p {
  margin-top: 18px;
}

.services,
.process {
  background: var(--sand-50);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(100%, 1040px);
  margin-top: 40px;
  margin-inline: auto;
}

.service-card,
.testimonial-card,
.why-card,
.process-step,
.project-card {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 118px;
  height: 118px;
  right: -42px;
  bottom: -42px;
  border: 1px solid rgba(35, 166, 160, 0.26);
  border-radius: 50%;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 124, 122, 0.28);
  box-shadow: 0 20px 44px rgba(15, 61, 51, 0.14);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--green-900);
  background: linear-gradient(135deg, var(--teal-100), var(--sand-100));
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card p {
  margin-top: 14px;
  color: var(--muted);
}

.service-card a {
  color: var(--teal-700);
  font-weight: 850;
}

.projects {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(35, 166, 160, 0.16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(198, 164, 108, 0.2), transparent 24%),
    linear-gradient(180deg, var(--white) 0%, #f4fbf8 48%, var(--sand-50) 100%);
}

.projects::before {
  content: "";
  position: absolute;
  inset: 70px auto auto -120px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(18, 124, 122, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.projects .container {
  position: relative;
  z-index: 1;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: min(100%, 1120px);
  margin-top: 48px;
  margin-inline: auto;
}

.project-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 22px 52px rgba(9, 38, 32, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

/* Decorative photo frame removed - photos sit flush. */
.project-card::before,
.project-card::after {
  display: none;
}

/* Decorative photo frame removed - photos sit flush. */
.gallery-photo::before,
.gallery-photo::after {
  display: none;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 62px rgba(9, 38, 32, 0.23);
}

.project-card img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand-100);
  border-radius: var(--radius);
  transition: transform 260ms ease;
}

.project-card:hover img {
  transform: scale(1.014);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.project-gallery-page {
  min-height: calc(100vh - var(--header-height));
  background:
    radial-gradient(circle at 10% 8%, rgba(35, 166, 160, 0.14), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(198, 164, 108, 0.18), transparent 24%),
    linear-gradient(180deg, var(--white) 0%, #f4fbf8 54%, var(--sand-50) 100%);
}

.project-gallery-page h1 {
  margin-inline: auto;
  font-size: clamp(2.45rem, 4.6vw, 4.7rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: min(100%, 1120px);
  margin-top: 48px;
  margin-inline: auto;
}

.gallery-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(15, 61, 51, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.project-card,
.gallery-photo {
  cursor: zoom-in;
}

.project-card:focus-visible,
.gallery-photo:focus-visible {
  outline: 3px solid rgba(35, 166, 160, 0.65);
  outline-offset: 5px;
}

.gallery-photo img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 260ms ease;
}

.gallery-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 61, 51, 0.14);
}

.gallery-photo:hover img {
  transform: scale(1.018);
}

body.lightbox-open {
  overflow: hidden;
}

body.lightbox-open > :not(.image-lightbox) {
  filter: blur(6px);
  transition: filter 180ms ease;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 28px;
  overflow: hidden;
  background: rgba(6, 24, 21, 0.58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: calc(100vw - 56px);
  max-height: calc(100vh - 56px);
  max-height: calc(100dvh - 56px);
  margin: auto;
  padding: 14px;
  border: 1px solid rgba(223, 246, 243, 0.35);
  border-radius: var(--radius);
  background:
    radial-gradient(52px 34px at 24px 24px, transparent 55%, rgba(223, 246, 243, 0.16) 58%, transparent 62%),
    radial-gradient(50px 32px at calc(100% - 24px) calc(100% - 24px), transparent 55%, rgba(223, 246, 243, 0.14) 58%, transparent 62%),
    linear-gradient(180deg, #16483e, #0f3d33);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  transform-origin: center;
  transform: translateY(18px) scale(0.94);
  opacity: 0;
  transition: transform 260ms ease, opacity 220ms ease;
}

.image-lightbox.is-open .lightbox-frame {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lightbox-frame img {
  display: block;
  max-width: min(1120px, calc(100vw - 84px));
  max-height: calc(100vh - 84px);
  max-height: calc(100dvh - 84px);
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
  border-radius: calc(var(--radius) - 3px);
  box-shadow: 0 0 0 1px rgba(223, 246, 243, 0.2);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(223, 246, 243, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(15, 61, 51, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
  cursor: pointer;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.lightbox-close:focus-visible {
  outline: 3px solid rgba(35, 166, 160, 0.75);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .image-lightbox,
  .lightbox-frame {
    transition: none;
  }
}

.process .container {
  position: relative;
}

.process-flow {
  position: relative;
  --process-progress: 0;
  margin-top: 44px;
  padding: 28px 0 10px;
}

.process-connector {
  position: absolute;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.process-connector-wide {
  top: -34px;
  left: -24px;
  width: calc(100% + 48px);
  height: 330px;
}

.process-connector-tablet,
.process-connector-mobile {
  display: none;
}

.process-connector-path,
.process-connector-shimmer {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-connector-path {
  stroke: var(--teal-700);
  stroke-width: 6;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.46;
  filter: drop-shadow(0 8px 18px rgba(35, 166, 160, 0.2));
  transition: stroke-dashoffset 780ms cubic-bezier(0.2, 0.78, 0.2, 1);
}

.process-connector-shimmer {
  stroke: #bdece8;
  stroke-width: 2.4;
  stroke-dasharray: 0.045 0.17;
  stroke-dashoffset: 1;
  opacity: 0;
}

.process-ripples circle {
  fill: none;
  stroke: rgba(35, 166, 160, 0.34);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.process-flow.is-drawn .process-connector-path {
  stroke-dashoffset: calc(1 - var(--process-progress));
}

.process-flow.is-complete .process-connector-shimmer {
  animation: processShimmer 1800ms ease 1 both;
}

.process-flow.is-complete .process-ripples circle {
  animation: processRipple 1450ms ease-out 1 both;
}

.process-flow.is-complete .process-ripples circle:nth-child(1) {
  animation-delay: 0ms;
}

.process-flow.is-complete .process-ripples circle:nth-child(2) {
  animation-delay: 180ms;
}

.process-flow.is-complete .process-ripples circle:nth-child(3) {
  animation-delay: 360ms;
}

.process-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-step {
  position: relative;
  min-height: 245px;
  padding: 28px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-900);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(15, 61, 51, 0.16);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.process-step p {
  margin-top: 12px;
  color: var(--muted);
}

.process-step.reveal.is-visible:hover,
.process-step.reveal.is-visible.is-active {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(18, 124, 122, 0.28);
  background: linear-gradient(180deg, var(--white) 0%, rgba(223, 246, 243, 0.5) 100%);
  box-shadow: 0 22px 52px rgba(15, 61, 51, 0.16);
}

.process-step.is-active span {
  background: var(--teal-700);
  box-shadow: 0 12px 28px rgba(18, 124, 122, 0.3);
  animation: processBadgePulse 1100ms ease 1;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 58px;
  align-items: start;
}

.about p + p {
  margin-top: 18px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(18, 124, 122, 0.18);
  border-radius: 999px;
  color: var(--green-900);
  background: rgba(223, 246, 243, 0.68);
  font-size: 0.9rem;
  font-weight: 850;
}

.owner-photo {
  margin: 0;
}

.owner-photo img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border: 1px solid rgba(15, 61, 51, 0.12);
  border-radius: var(--radius-lg);
  background: var(--sand-100);
  box-shadow: var(--shadow);
}

.owner-photo figcaption {
  margin-top: 13px;
  color: var(--green-900);
  font-size: 0.95rem;
  font-weight: 850;
  text-align: center;
}

.why-card {
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(223, 246, 243, 0.75), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--white) 0 26%, transparent 29%),
    var(--teal-700);
}

.testimonials {
  background:
    linear-gradient(rgba(9, 38, 32, 0.9), rgba(9, 38, 32, 0.92)),
    radial-gradient(circle at 20% 10%, rgba(35, 166, 160, 0.4), transparent 34%),
    var(--green-950);
}

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

.testimonials .eyebrow {
  color: #97ded9;
}

.testimonial-reel {
  position: relative;
  width: min(100vw, 1440px);
  margin: 42px 0 0;
  margin-left: calc(50% - min(50vw, 720px));
  overflow: hidden;
}

.testimonial-reel::before,
.testimonial-reel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(12vw, 130px);
  pointer-events: none;
}

.testimonial-reel::before {
  left: 0;
  background: linear-gradient(90deg, var(--green-950), rgba(9, 38, 32, 0));
}

.testimonial-reel::after {
  right: 0;
  background: linear-gradient(270deg, var(--green-950), rgba(9, 38, 32, 0));
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: testimonialRevolve 76s linear infinite;
  will-change: transform;
}

.testimonial-reel:hover .testimonial-track {
  animation-play-state: paused;
}

/* Pause looping animations while their section is scrolled off-screen (toggled by script.js) */
.hero.is-paused .hero-visual-shell,
.hero.is-paused .hero-accent-shine,
.hero.is-paused .rotating-word::after,
.testimonial-reel.is-paused .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  flex: 0 0 clamp(280px, 28vw, 390px);
  margin: 0;
  padding: 30px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.testimonial-track .reveal {
  opacity: 1;
  transform: none;
}

.testimonial-card blockquote {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.testimonial-card figcaption {
  margin-top: 22px;
  color: #bdece8;
  font-weight: 850;
}

.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 25%, rgba(35, 166, 160, 0.16), transparent 34%),
    linear-gradient(135deg, var(--white), var(--sand-50));
}

.contact-cta-card {
  position: relative;
  padding: 42px;
  border: 1px solid rgba(15, 61, 51, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 86% 22%, rgba(35, 166, 160, 0.22), transparent 32%),
    radial-gradient(circle at 12% 82%, rgba(198, 164, 108, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(223, 246, 243, 0.78));
  box-shadow: var(--shadow);
}

.contact-cta-card::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 26px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(18, 124, 122, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--green-900);
  font-weight: 800;
}

.text-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(15, 61, 51, 0.12);
  backdrop-filter: blur(14px);
}

.text-card-accent {
  position: absolute;
  right: -26px;
  top: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.8), transparent 16%),
    linear-gradient(135deg, rgba(35, 166, 160, 0.22), rgba(198, 164, 108, 0.22));
}

.text-card p {
  margin-top: 14px;
  color: var(--muted);
}

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

.contact-note {
  font-size: 0.96rem;
}

.prompt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.site-footer {
  padding: 68px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.9fr 0.95fr;
  gap: 38px;
}

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

.site-footer h2 {
  margin: 0 0 18px;
  font-size: 0.95rem;
}

.site-footer p {
  max-width: 360px;
  margin-top: 18px;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 10px;
}

.site-footer a:hover {
  color: #bdece8;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.social-links a {
  margin-top: 0;
  color: #bdece8;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes serviceReach {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  18% {
    opacity: 0.48;
  }

  72% {
    opacity: 0.32;
  }

  100% {
    opacity: 0.14;
    stroke-dashoffset: 0;
  }
}

@keyframes processShimmer {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  18%,
  72% {
    opacity: 0.62;
  }

  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes processRipple {
  0% {
    opacity: 0;
    transform: scale(0.45);
  }

  34% {
    opacity: 0.56;
  }

  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes processBadgePulse {
  0%,
  100% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.09);
  }
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes shinePulse {
  0%,
  100% {
    opacity: 0.36;
    transform: scale(1);
  }

  50% {
    opacity: 0.72;
    transform: scale(1.12);
  }
}

@keyframes testimonialRevolve {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes cursorBlink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .process-connector-path {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }

  .process-connector-shimmer,
  .process-ripples {
    display: none;
  }

  .service-line {
    animation: none !important;
    stroke-dashoffset: 0;
    opacity: 0.12;
  }

  .process-step.is-active span {
    animation: none;
  }

  .hero-visual-shell,
  .hero-accent-shine,
  .testimonial-track {
    animation: none !important;
  }

  .testimonial-reel {
    width: min(100% - 40px, var(--max-width));
    overflow: visible;
  }

  .testimonial-reel::before,
  .testimonial-reel::after {
    display: none;
  }

  .testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: auto;
  }
}

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

  .hero-media {
    min-height: auto;
  }

  .hero-media img {
    height: 520px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    width: min(100%, 720px);
  }

  .testimonial-track {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-connector-wide {
    display: none;
  }

  .process-connector-tablet {
    display: block;
    top: -28px;
    left: -16px;
    width: calc(100% + 32px);
    height: 580px;
  }

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

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

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

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-heading h2 {
    text-align: left;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .section {
    padding: 76px 0;
  }

  .section-sm {
    padding: 58px 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(15, 61, 51, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 14px 12px;
  }

  .nav-menu .btn {
    margin-top: 8px;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.8rem);
  }

  .rotating-word-wrap {
    width: 100%;
  }

  .location-strip {
    width: calc(100vw - 24px);
    padding: 12px;
  }

  .location-map-wrap,
  .location-map-card {
    width: 100%;
  }

  .location-map-wrap {
    max-width: none;
  }

  .location-map-card {
    max-width: none;
  }

  .location-heading p,
  .location-copy > p {
    font-size: 0.78rem;
  }

  .hero-media img {
    height: 420px;
  }

  .owner-photo img {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .hero-actions,
  .contact-actions,
  .section-actions,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .section-actions .btn {
    width: 100%;
  }

  .stats-grid,
  .service-grid,
  .gallery-grid,
  .process-list,
  .testimonial-track {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .location-copy {
    top: 12px;
    left: 12px;
    max-width: 52%;
  }

  .location-heading {
    margin-bottom: 5px;
  }

  .location-heading h2 {
    font-size: 0.95rem;
  }

  .location-heading p {
    margin-top: 2px;
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .location-copy > p {
    display: none;
  }

  .location-map-card::before {
    width: 62%;
    height: 34%;
  }

  .map-label {
    font-size: 14px;
    stroke-width: 4;
  }

  .primary-label {
    font-size: 16px;
  }

  .secondary-label {
    font-size: 12px;
  }

  .home-label {
    font-size: 18px;
    stroke-width: 4.4;
  }

  .image-lightbox {
    padding: 18px;
  }

  .lightbox-frame {
    padding: 10px;
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 36px);
    max-height: calc(100dvh - 36px);
  }

  .lightbox-frame img {
    max-width: calc(100vw - 56px);
    max-height: calc(100vh - 56px);
    max-height: calc(100dvh - 56px);
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
  }

  .process-flow {
    padding: 22px 0 4px;
  }

  .process-connector-tablet {
    display: none;
  }

  .process-connector-mobile {
    display: block;
    top: 0;
    left: 50%;
    width: min(320px, 100%);
    height: calc(100% + 34px);
    transform: translateX(-50%);
  }

  .hero-media img {
    height: 340px;
  }

  .hero-accent-stone {
    left: 4px;
    top: 12%;
  }

  .hero-accent-leaf {
    right: 4px;
    top: 8%;
  }

  .contact-cta-card,
  .text-card {
    padding: 24px;
  }

  .owner-photo img {
    min-height: 320px;
  }

}
