:root {
  --navy: #0c1b2e;
  --navy-2: #15263d;
  --ink: #1d2226;
  --paper: #f5f2ea;
  --white: #ffffff;
  --muted: #68707a;
  --line: rgba(12, 27, 46, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin-top: 0; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 4.5vw;
  z-index: 999;
  color: var(--white);
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(12,27,46,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
  padding-top: 15px;
  padding-bottom: 15px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
}
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
}
.brand-main, .brand-sub { display: block; }
.brand-main {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.brand-sub {
  font-size: .64rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .76;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: .92rem;
}
.nav-links a { opacity: .95; }
.nav-links a:hover { opacity: .7; }
.nav-cta {
  border: 1px solid rgba(255,255,255,.62);
  padding: 11px 16px;
}

.hero, .page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero {
  min-height: 100vh;
  padding: 0 7vw 11vh;
  background: url('../images/hero.jpg') center 58%/cover no-repeat;
}
.page-hero {
  min-height: 78vh;
  padding: 0 7vw 9vh;
}
.page-hero-services {
  background: url('../images/services-hero.jpg') center 62%/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,18,31,.74), rgba(8,18,31,.18) 66%),
    linear-gradient(180deg, rgba(8,18,31,.06), rgba(8,18,31,.32));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 930px;
}
.eyebrow {
  font-size: .74rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.eyebrow.dark { color: var(--navy); }
h1 {
  font-size: clamp(3.3rem, 8vw, 7.6rem);
  line-height: .96;
  letter-spacing: -.055em;
  margin-bottom: 22px;
}
.hero-copy {
  max-width: 690px;
  font-size: 1.08rem;
  line-height: 1.78;
  color: rgba(255,255,255,.87);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-scroll {
  position: absolute;
  right: 3.8vw;
  bottom: 8vh;
  z-index: 2;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .68rem;
  opacity: .72;
  transform: rotate(90deg);
  transform-origin: right center;
}

.button {
  display: inline-block;
  padding: 15px 20px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .88rem;
  text-transform: uppercase;
}
.button-light { background: var(--white); color: var(--navy); }
.button-dark { background: var(--navy); color: var(--white); }
.button-ghost { border: 1px solid rgba(255,255,255,.64); color: var(--white); }

.section { padding: 105px 7vw; }
.section-heading { max-width: 820px; margin-bottom: 52px; }
.split {
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
  gap: 8vw;
  align-items: start;
}
h2 {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.05em;
  margin-bottom: 0;
}
p { line-height: 1.82; }
.split p,
.detail-copy li,
.contact-copy p { color: var(--muted); font-size: 1.03rem; }
.mini-note { font-size: .92rem !important; margin-top: 18px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
}
.service-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(12,27,46,.08);
}
.service-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .55s ease;
}
.service-card:hover .service-image { transform: scale(1.03); }
.service-body { padding: 26px; }
.service-body span {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-body h3 { font-size: 1.65rem; margin-bottom: 10px; }
.service-body p { color: var(--muted); }

.dark-section { background: var(--navy); color: var(--white); }
.feature-banner {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.feature-banner img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}
.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.58));
}
.feature-caption {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  z-index: 2;
}
.feature-caption span {
  display: block;
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  opacity: .84;
  margin-bottom: 10px;
}
.feature-caption h3 {
  max-width: 760px;
  font-size: clamp(2rem,4vw,4rem);
  line-height: 1.03;
  margin-bottom: 0;
}
.work-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.work-tile {
  position: relative;
  overflow: hidden;
}
.work-tile img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.work-tile span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  background: rgba(12,27,46,.78);
  padding: 8px 10px;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.gallery-item {
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.018); }

.contact-section {
  background: var(--navy-2);
  color: var(--white);
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 7vw;
}
.contact-copy h2 { margin-bottom: 22px; }
.contact-copy p { color: rgba(255,255,255,.72); }
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
}
.contact-details p,
.contact-details strong,
.contact-details a { color: var(--white); }

.estimate-form {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px 22px;
  align-content: start;
}
.estimate-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.estimate-form input,
.estimate-form textarea,
.estimate-form select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.35);
  border-radius: 0;
  padding: 14px 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  outline: none;
}
.estimate-form input::placeholder,
.estimate-form textarea::placeholder { color: rgba(255,255,255,.55); }
.estimate-form textarea { resize: vertical; min-height: 150px; }
.estimate-form .full { grid-column: 1/-1; }
.select-wrap { position: relative; display: block; }
.select-wrap::after {
  content: '⌄';
  position: absolute;
  right: 2px;
  top: 9px;
  color: rgba(255,255,255,.75);
  pointer-events: none;
}
.estimate-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 26px;
}
.estimate-form select option { color: #111; background: #fff; }
.submit-button { width: fit-content; margin-top: 4px; }
.form-note {
  color: rgba(255,255,255,.54);
  font-size: .78rem;
  letter-spacing: .02em;
  margin: 0;
}
.honeypot { display: none !important; }

.site-footer {
  padding: 26px 7vw 92px;
  background: #0a1422;
  color: rgba(255,255,255,.75);
}
.site-footer strong { color: var(--white); }
.mobile-cta { display: none; }

/* Services page */
.inner-main { padding-top: 0; }
.service-detail {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 4vw;
  align-items: center;
}
.service-detail.alt { background: rgba(255,255,255,.55); }
.detail-image img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
}
.detail-copy h2 { margin-bottom: 28px; }
.detail-copy ul { padding-left: 18px; margin-bottom: 0; }
.detail-copy li { margin-bottom: 12px; }
.service-cta { text-align: center; }
.service-cta h2 { max-width: 780px; margin: 0 auto 30px; }

/* Thank-you page */
.thank-you-page {
  min-height: 100vh;
  background: var(--paper);
  display: grid;
  place-items: center;
  padding: 30px;
}
.thank-you-card {
  max-width: 720px;
  text-align: center;
  padding: 60px 30px;
}
.thank-you-card img { width: 110px; margin: 0 auto 28px; }
.thank-you-card h1 {
  color: var(--navy);
  font-size: clamp(3rem,8vw,6rem);
  margin-bottom: 18px;
}
.thank-you-card p { color: var(--muted); margin-bottom: 30px; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s ease, transform .85s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .brand { min-width: 0; }
  .brand-logo { width: 50px; height: 50px; }
  .brand-text { display: none; }
  .nav-links a:not(.nav-cta) { display: none; }
  .site-header { padding: 18px 5vw; }
  .hero, .page-hero { padding: 0 6vw 12vh; }
  .hero { background-position: 54% center; }
  .page-hero-services { background-position: center 58%; }
  .section { padding: 80px 6vw; }
  .split,
  .contact-section,
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .service-grid,
  .gallery-grid,
  .work-pair,
  .estimate-form { grid-template-columns: 1fr; }
  .estimate-form .full { grid-column: auto; }
  .feature-banner,
  .feature-banner img { min-height: 380px; }
  .feature-caption { left: 22px; right: 22px; bottom: 22px; }
  .mobile-cta {
    display: grid;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    grid-template-columns: 1fr 1fr;
    z-index: 1001;
    background: #0a1422;
  }
  .mobile-cta a {
    color: var(--white);
    text-align: center;
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .mobile-cta a + a { border-left: 1px solid rgba(255,255,255,.12); }
}
