:root {
  --ink: #07111d;
  --navy: #0b315a;
  --blue: #1b6ea7;
  --sky: #e8f3fb;
  --gold: #d6b269;
  --paper: #f8fafc;
  --muted: #5d6978;
  --line: rgba(7, 17, 29, 0.12);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 10px clamp(18px, 4vw, 64px);
  background: rgba(7, 17, 29, 0.94);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  width: 154px;
  flex: 0 0 auto;
}

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

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.header-call:hover {
  color: var(--gold);
}

.header-call {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

.header-call strong {
  font-size: 1rem;
  line-height: 1.05;
}

.header-call span {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.header-social {
  display: flex;
  gap: 8px;
}

.header-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
}

.header-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.header-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.95) 0%, rgba(7, 17, 29, 0.78) 42%, rgba(7, 17, 29, 0.18) 82%),
    linear-gradient(0deg, rgba(7, 17, 29, 0.55), rgba(7, 17, 29, 0.08));
}

.hero-content {
  position: relative;
  width: min(690px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 92px);
  padding: clamp(50px, 10vh, 100px) 0;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(3.3rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 780px;
}

.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;
}

.hero-wordmark {
  display: block;
  width: min(680px, 94vw);
  max-height: 360px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.42));
}

.hero-copy {
  max-width: 610px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.32rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
}

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

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

.trust-bar div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 112px;
  justify-content: center;
  padding: 24px clamp(18px, 3vw, 42px);
  background: var(--white);
  color: var(--muted);
  font-weight: 700;
}

.trust-bar strong {
  color: var(--navy);
  font-size: 1.45rem;
}

.section,
.split-section,
.contact-band,
.project-feature {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 74px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.section-heading h2,
.split-copy h2,
.contact-band h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.hours-panel,
.about-photo,
.review-row figure,
.service-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(7, 17, 29, 0.07);
}

.service-card {
  min-height: 260px;
  padding: 26px;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  font-size: 1.45rem;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.service-card p,
.split-copy p,
.contact-band p,
.hours-panel p,
.review-row blockquote {
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.split-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
}

.about-side {
  display: grid;
  gap: 16px;
}

.about-photo {
  position: relative;
  min-height: 290px;
  margin: 0;
  overflow: hidden;
  background: #0f2135;
  border-color: rgba(255, 255, 255, 0.16);
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.about-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.64);
}

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

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

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 5px var(--ink);
  border: 1px solid var(--gold);
}

.hours-panel {
  padding: 32px;
  background: #0f2135;
  border-color: rgba(255, 255, 255, 0.16);
}

.hours-panel span {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hours-panel strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1;
}

.hours-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.hours-panel a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 800;
}

.reviews {
  background: #edf5fb;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  background: var(--white);
}

.feature-copy {
  position: sticky;
  top: 118px;
}

.feature-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.feature-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.feature-grid .project-large {
  grid-row: span 2;
  min-height: 656px;
}

.feature-grid img,
.gallery-strip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feature-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 17, 29, 0.72), rgba(7, 17, 29, 0.02) 58%);
}

.feature-grid article > span,
.feature-grid article > div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  color: var(--white);
}

.feature-grid span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-grid strong {
  display: block;
  max-width: 420px;
  margin-top: 10px;
  font-size: clamp(1.55rem, 3vw, 2.75rem);
  line-height: 1.05;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(180px, 1fr));
  gap: 1px;
  overflow-x: auto;
  background: var(--ink);
  border-block: 1px solid var(--ink);
}

.gallery-strip img {
  width: 100%;
  min-width: 180px;
  aspect-ratio: 4 / 5;
}

.section-heading.compact {
  display: block;
}

.review-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-row figure {
  margin: 0;
  padding: 28px;
}

.review-row blockquote {
  margin: 0;
}

.review-row figcaption {
  margin-top: 18px;
  color: var(--navy);
  font-weight: 800;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 560px);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  background: var(--white);
}

.contact-band > div {
  position: sticky;
  top: 118px;
}

.service-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.service-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.service-form input,
.service-form select,
.service-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 13px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

.service-form textarea {
  resize: vertical;
}

.service-form button {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.form-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 4px;
}

.form-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
}

.form-social a:hover {
  background: var(--navy);
  color: var(--white);
}

.form-social svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 74px);
  background: #03070c;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer img {
  width: 116px;
  height: 58px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-phones {
  display: grid;
  gap: 6px;
  text-align: right;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.96), rgba(7, 17, 29, 0.84)),
    url("assets/custom-home-rough-in.jpg") center / cover;
  color: var(--white);
}

.thanks-wrap {
  width: min(620px, 100%);
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.thanks-wrap img {
  width: 140px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 28px;
}

.thanks-wrap h1 {
  margin: 0;
}

.thanks-wrap p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  line-height: 1.65;
}

.thanks-wrap a:not(.button) {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: 760px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 17, 29, 0.94) 0%, rgba(7, 17, 29, 0.78) 58%, rgba(7, 17, 29, 0.42) 100%),
      linear-gradient(0deg, rgba(7, 17, 29, 0.5), rgba(7, 17, 29, 0.06));
  }

  .trust-bar,
  .service-grid,
  .review-row,
  .project-feature {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading,
  .split-section,
  .contact-band,
  .project-feature {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .contact-band > div {
    position: static;
  }

  .feature-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: relative;
    min-height: auto;
  }

  .brand {
    width: 132px;
  }

  .header-call {
    font-size: 0.9rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    order: 2;
  }

  .nav-links {
    order: 3;
    gap: 16px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .hero-wordmark {
    width: min(100%, 460px);
    max-height: 260px;
  }

  .button {
    width: 100%;
  }

  .trust-bar,
  .service-grid,
  .review-row,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid .project-large,
  .feature-grid article {
    min-height: 360px;
  }

  .trust-bar div {
    min-height: 88px;
  }

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

  .footer-phones {
    text-align: left;
  }
}
