
:root {
  --navy: #082f5b;
  --navy-deep: #041f3f;
  --red: #c51f32;
  --white: #ffffff;
  --paper: #f4f4f1;
  --ink: #102236;
  --muted: #657384;
  --line: rgba(8, 47, 91, .18);
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.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 {
  min-height: 118px;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 42px;
  padding: 18px clamp(28px, 4vw, 76px);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}
.brand img { width: 245px; height: 82px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; justify-content: center; gap: clamp(18px, 2.2vw, 42px); }
.site-nav a, .phone-link {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.site-nav a { position: relative; padding: 16px 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 8px; width: 0; height: 2px;
  background: var(--red); transition: width .25s ease;
}
.site-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.phone-link { color: var(--red); font-size: 17px; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--navy); margin: 6px 0; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 28px;
  border: 1px solid transparent;
  font-weight: 900; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 50px; padding: 0 21px; }
.button-red { background: var(--red); color: var(--white); }
.button-red:hover { background: #a41627; }
.button-white { background: var(--white); color: var(--navy-deep); }

.hero {
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: minmax(560px, .86fr) minmax(620px, 1.14fr);
  background: var(--navy-deep);
  color: var(--white);
}
.hero-copy {
  padding: clamp(72px, 8vw, 145px) clamp(48px, 7vw, 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-copy::before, .hero-copy::after {
  content: ""; position: absolute; left: 0; right: 0; height: 13px;
  background: repeating-linear-gradient(90deg, transparent 0 54px, rgba(255,255,255,.08) 54px 67px);
}
.hero-copy::before { top: 0; }
.hero-copy::after { bottom: 0; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
}
.hero h1, h2 {
  margin: 0;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: .015em;
  text-transform: uppercase;
  line-height: .94;
}
.hero h1 { font-size: clamp(64px, 6.8vw, 116px); max-width: 790px; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-lead {
  max-width: 660px; margin: 34px 0 38px; color: rgba(255,255,255,.78);
  font-size: clamp(18px, 1.45vw, 24px); line-height: 1.55;
}
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.text-link {
  display: inline-flex; gap: 12px; align-items: center;
  color: var(--white); font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
  font-size: 13px;
}
.text-link span { color: var(--red); font-size: 22px; }
.hero-proof {
  margin-top: clamp(55px, 8vh, 105px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-proof div { padding: 22px 24px 0 0; border-right: 1px solid rgba(255,255,255,.16); }
.hero-proof div:last-child { border-right: 0; padding-left: 24px; }
.hero-proof div:nth-child(2) { padding-left: 24px; }
.hero-proof strong { display: block; font-size: 30px; color: var(--white); }
.hero-proof span { display: block; max-width: 135px; color: rgba(255,255,255,.62); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; line-height: 1.45; }

.hero-image {
  position: relative;
  background:
    linear-gradient(90deg, rgba(4,31,63,.38), transparent 25%),
    url("assets/hero-gate.jpg") center / cover no-repeat;
  min-height: 700px;
}
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.image-label {
  position: absolute; right: 24px; bottom: 22px; z-index: 2;
  background: rgba(4,31,63,.82); color: rgba(255,255,255,.78);
  padding: 9px 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em;
}

.section { max-width: var(--max); margin: 0 auto; padding: 145px clamp(28px, 5vw, 80px); }
.services {
  display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(70px, 9vw, 155px);
}
.section-intro { position: sticky; top: 180px; align-self: start; }
.section h2 { font-size: clamp(52px, 5vw, 82px); color: var(--navy-deep); }
.section-intro > p:last-child {
  max-width: 500px; margin-top: 30px; color: var(--muted); font-size: 17px;
}
.service-list { border-top: 1px solid var(--line); }
.service-row {
  min-height: 142px;
  display: grid;
  grid-template-columns: 70px minmax(190px, .72fr) minmax(260px, 1fr) 40px;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  transition: color .25s ease, padding .25s ease, background .25s ease;
}
.service-row:hover {
  color: var(--red);
  padding-left: 18px;
  background: rgba(255,255,255,.58);
}
.service-number { font-size: 12px; color: var(--red); font-weight: 900; letter-spacing: .12em; }
.service-name {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(27px, 2.3vw, 42px);
  text-transform: uppercase; line-height: 1;
}
.service-description { color: var(--muted); font-size: 15px; }
.service-arrow { font-size: 27px; justify-self: end; }

.work-section {
  min-height: 900px;
  display: grid;
  grid-template-columns: 1.1fr .82fr .58fr;
  background: var(--navy);
  color: var(--white);
}
.work-image { min-height: 700px; position: relative; background-size: cover; background-position: center; }
.work-image-main { background-image: url("assets/gate-detail.jpg"); }
.work-image-detail { background-image: url("assets/stone-gate-detail.jpg"); }
.work-image span {
  position: absolute; bottom: 28px; left: 30px;
  background: var(--red); padding: 10px 14px;
  font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
}
.work-copy {
  padding: clamp(70px, 7vw, 120px) clamp(44px, 5vw, 88px);
  display: flex; flex-direction: column; justify-content: center;
}
.work-copy h2 { font-size: clamp(52px, 4.8vw, 82px); }
.work-copy > p:not(.eyebrow) { margin: 34px 0; color: rgba(255,255,255,.7); font-size: 18px; max-width: 520px; }
.text-link-dark { color: var(--white); }

.about {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(70px, 11vw, 170px);
  align-items: start;
}
.large-copy { margin: 4px 0 52px; font-size: clamp(24px, 2.2vw, 37px); line-height: 1.35; color: var(--navy-deep); }
.credential-lines { border-top: 1px solid var(--line); }
.credential-lines span {
  display: block; padding: 19px 0; border-bottom: 1px solid var(--line);
  color: var(--muted); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
}

.estimate {
  min-height: 410px;
  padding: 90px clamp(32px, 6vw, 105px);
  background: var(--red);
  color: var(--white);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 60px;
}
.estimate .eyebrow { color: var(--white); opacity: .7; }
.estimate h2 { max-width: 1000px; font-size: clamp(55px, 6vw, 100px); }
.estimate-actions { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }

footer {
  min-height: 175px;
  padding: 32px clamp(28px, 4vw, 76px);
  display: grid; grid-template-columns: 230px 1fr auto;
  align-items: center; gap: 45px;
  background: var(--white); border-top: 1px solid var(--line);
}
footer img { width: 210px; }
footer p { margin: 0; color: var(--muted); font-size: 12px; max-width: 650px; }
footer a { font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.mobile-contact { display: none; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 230px 1fr auto; gap: 22px; padding-inline: 28px; }
  .brand img { width: 215px; }
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 11px; }
  .phone-link { display: none; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-inline: 52px; }
  .services { grid-template-columns: 1fr; }
  .section-intro { position: static; max-width: 850px; }
  .work-section { grid-template-columns: 1fr 1fr; }
  .work-image-detail { display: none; }
}

@media (max-width: 860px) {
  body { padding-bottom: 64px; }
  .site-header {
    min-height: 86px;
    grid-template-columns: 1fr auto;
    padding: 8px 20px;
  }
  .brand img { width: 205px; height: 68px; }
  .menu-toggle { display: block; grid-column: 2; grid-row: 1; }
  .header-actions { display: none; }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0 22px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 13px; width: 100%; border-bottom: 1px solid var(--line); }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 72px 24px 64px; order: 1; }
  .hero-image { min-height: 58vh; order: 2; }
  .hero h1 { font-size: clamp(51px, 13.2vw, 65px); line-height: .96; }
  .hero h1 span:nth-child(2) { font-size: .84em; }
  .hero-proof { grid-template-columns: 1fr 1fr 1fr; }
  .hero-proof div { padding-inline: 9px !important; }
  .section { padding: 95px 24px; }
  .service-row {
    grid-template-columns: 44px 1fr 28px;
    padding: 26px 0;
  }
  .service-description { grid-column: 2 / 4; padding-bottom: 8px; }
  .work-section { min-height: 0; grid-template-columns: 1fr; }
  .work-image-main { min-height: 65vh; }
  .work-copy { padding: 85px 25px; }
  .about { grid-template-columns: 1fr; }
  .estimate { grid-template-columns: 1fr; align-items: start; padding: 78px 24px; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-bottom: 45px; }
  .mobile-contact {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.15);
  }
  .mobile-contact a {
    min-height: 64px; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .08em;
  }
  .mobile-contact a:last-child { background: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
