:root {
  --ink: #141821;
  --navy: #24256f;
  --navy-dark: #111342;
  --muted: #5f6673;
  --line: #d9dee6;
  --paper: #f4f5f7;
  --white: #ffffff;
  --gold: #c89a3d;
  --steel: #707988;
  --shadow: 0 16px 42px rgba(20, 24, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 86px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(20, 24, 33, 0.08);
  backdrop-filter: blur(12px);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: var(--navy);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(335px, 42vw);
  min-width: 0;
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 3px;
  background: var(--gold);
  transition: right 160ms ease;
}

.site-nav a:hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(18px, 5vw, 70px) 86px;
  color: var(--white);
  background: #d7e6f0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/sunny-plans-frame-1.png");
  background-position: 58% center;
  background-size: cover;
  filter: saturate(1.03) contrast(1.02) brightness(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 17, 28, 0.78) 0%, rgba(12, 17, 28, 0.52) 42%, rgba(12, 17, 28, 0.08) 100%),
    linear-gradient(180deg, rgba(20, 24, 33, 0.02), rgba(20, 24, 33, 0.28));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  min-width: 0;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 70px);
  bottom: 32px;
  display: grid;
  gap: 10px;
  justify-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.74);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 21px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--navy);
}

.button.primary:hover {
  background: var(--navy-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.intro-band {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  background: var(--white);
  box-shadow: var(--shadow);
}

.intro-item {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item span,
.service-card span,
.project-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.28rem;
  line-height: 1.16;
}

.intro-item p {
  margin: 0;
  color: var(--muted);
}

.section,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(74px, 9vw, 118px) 0;
  scroll-margin-top: 110px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: start;
}

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

#approach {
  scroll-margin-top: -24px;
}

#contact {
  scroll-margin-top: -26px;
}

.section-heading.wide {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 620px;
  margin-bottom: 34px;
}

.section-heading h2,
.proof-copy h2,
.work-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.proof-copy p,
.work-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.market-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.market-list article {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.market-list h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  line-height: 1.18;
}

.market-list p {
  margin: 0;
  color: var(--muted);
}

.services-section {
  padding-top: 0;
}

.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card,
.project-card {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
}

.service-card h3,
.project-card h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  line-height: 1.18;
}

.service-card p,
.project-card p {
  margin: 0;
  color: var(--muted);
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding: clamp(72px, 9vw, 106px) clamp(18px, 5vw, 70px);
  color: var(--white);
  background: var(--navy-dark);
  scroll-margin-top: 110px;
}

.proof-copy {
  max-width: 720px;
}

.proof-copy .eyebrow {
  color: #ddb052;
}

.proof-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.metrics {
  display: grid;
  gap: 0;
  margin: 0;
}

.metrics div {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.metrics div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.metrics dt {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.metrics dd {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.work-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  min-height: 340px;
  background: var(--white);
  scroll-margin-top: 110px;
}

.work-image {
  min-height: 340px;
  background-image: url("assets/genesis-prime-hero.png");
  background-position: center;
  background-size: cover;
}

.work-copy {
  display: grid;
  align-content: center;
  padding: clamp(34px, 5vw, 60px);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 900;
  border-bottom: 3px solid var(--gold);
}

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

.page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 170px 0 70px;
}

.service-hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 70px) 86px;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-dark);
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/coral-reef-subacute-care-center.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(1.02) contrast(1.05);
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 17, 28, 0.88) 0%, rgba(12, 17, 28, 0.64) 48%, rgba(12, 17, 28, 0.22) 100%),
    linear-gradient(180deg, rgba(20, 24, 33, 0), rgba(20, 24, 33, 0.36));
}

.service-hero > div {
  position: relative;
  z-index: 1;
  width: min(850px, 100%);
}

.service-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.95;
}

.service-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.dark-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.featured-service-card {
  border-top: 5px solid var(--gold);
}

.featured-service-card .text-link {
  margin-top: 16px;
}

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

.service-contact {
  padding-top: 0;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.projects-page-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(90px, 10vw, 130px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-card {
  min-width: 0;
}

.gallery-image {
  aspect-ratio: 4 / 3;
  background-position: center;
  background-size: cover;
}

.placeholder-image {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(36, 37, 111, 0.9), rgba(20, 24, 33, 0.58)),
    url("assets/sunny-plans-frame-1.png");
  background-position: center;
  background-size: cover;
}

.placeholder-image::after {
  content: "Project Photo";
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coral-reef-image {
  background-image: url("assets/coral-reef-subacute-care-center.jpg");
  background-position: center;
}

.residential-plaza-image {
  background-image: url("assets/residential-plaza-fire-pump-control-replacement.jpg");
  background-position: center;
}

.boulevard-hotel-image {
  background-image: url("assets/boulevard-hotel.jpg");
  background-position: center;
}

.biltmore-hotel-image {
  background-image: url("assets/biltmore-hotel-fuel-tanks-installation.jpg");
  background-position: center;
}

.new-residential-pool-image {
  background-image: url("assets/new-residential-pool.jpg");
  background-position: center;
}

.trinity-townhomes-image {
  background-image: url("assets/trinity-townhomes.jpg");
  background-position: center;
}

.cetoutes-residence-image {
  background-image: url("assets/cetoutes-residence.jpg");
  background-position: center;
}

.gallery-card h2 {
  margin: 16px 0 4px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.gallery-card p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
  margin-bottom: clamp(170px, 16vw, 230px);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: var(--navy);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-top: 5px solid var(--navy);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #c7ced8;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(36, 37, 111, 0.14);
  border-color: var(--navy);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 58px);
  color: var(--white);
  background: var(--ink);
}

.site-footer a {
  font-weight: 900;
}

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

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

  .work-section {
    grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
    padding: 12px 18px;
  }

  .brand {
    width: min(250px, 62vw);
  }

  .brand img {
    max-height: 48px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 18px 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 28px rgba(20, 24, 33, 0.12);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    align-items: end;
    padding: 112px 18px 86px;
  }

  .hero-bg {
    background-position: 70% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 17, 28, 0.74) 0%, rgba(12, 17, 28, 0.42) 62%, rgba(12, 17, 28, 0.1) 100%),
      linear-gradient(180deg, rgba(20, 24, 33, 0.04), rgba(20, 24, 33, 0.28));
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.15rem);
  }

  .scroll-cue {
    left: 18px;
    right: auto;
    bottom: 24px;
    justify-items: start;
  }

  .scroll-cue::after {
    height: 30px;
  }

  .intro-band,
  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .intro-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-item:last-child {
    border-bottom: 0;
  }

  .service-card,
  .project-card {
    min-height: auto;
  }

  .proof-band {
    padding: 64px 18px;
  }

  .work-image {
    min-height: 260px;
  }

  .page-hero {
    padding: 138px 0 54px;
  }

  .service-hero {
    min-height: 82vh;
    padding: 128px 18px 66px;
  }

  .service-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

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

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
