:root {
  --ink: #10100f;
  --ink-soft: #252522;
  --paper: #f5f2eb;
  --white: #fff;
  --orange: #ee6337;
  --gold: #d8bd55;
  --line: rgba(16, 16, 15, 0.16);
  --muted: #66655f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 235, 0.94);
  backdrop-filter: blur(18px);
}

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

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 66px;
  height: 58px;
  object-fit: contain;
}

.brand-copy { line-height: 1.05; }
.brand-copy strong { display: block; font-size: 0.98rem; letter-spacing: 0.04em; }
.brand-copy span { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }

.site-nav {
  display: flex;
  margin-left: 0;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 11px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] { background: rgba(16, 16, 15, 0.08); }

.nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible { transform: translateY(-2px); background: var(--orange); }

.button-light { border-color: var(--white); color: var(--ink); background: var(--white); }
.button-outline { color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--white); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 92px));
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.22) 100%), url('/images/hero.avif') center/cover;
  transform: scale(1.01);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  padding-block: clamp(76px, 10vw, 140px);
}

.hero-copy { max-width: 790px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before { width: 34px; height: 2px; content: ""; background: currentColor; }

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 { max-width: 17ch; font-size: clamp(2.7rem, 7.2vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4.8vw, 4.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }

.hero h1 span { color: var(--orange); }
.hero .eyebrow { margin: 0 0 20px; }
.hero-copy > p:not(.eyebrow) { max-width: 60ch; margin: 24px 0 34px; color: rgba(255,255,255,.86); font-size: clamp(1.02rem, 2vw, 1.24rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.trust-strip { color: var(--white); background: var(--ink); border-top: 1px solid rgba(255,255,255,.18); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-width: 0; padding: 25px 24px; border-left: 1px solid rgba(255,255,255,.18); font-size: 0.88rem; font-weight: 750; text-align: center; }
.trust-item:last-child { border-right: 1px solid rgba(255,255,255,.18); }
.trust-item span { display: block; color: var(--gold); font-size: 1.28rem; }

.section { padding-block: clamp(74px, 10vw, 132px); }
.section-white { background: var(--white); }
.section-dark { color: var(--white); background: var(--ink); }
.section-accent { background: #e7dfcf; }
.section-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, .45fr); align-items: end; gap: 48px; margin-bottom: clamp(42px, 6vw, 76px); }
.section-head h2 { margin-bottom: 0; }
.section-head > p { max-width: 58ch; margin: 0 0 6px; color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.68); }

.local-summary {
  max-width: 920px;
  margin: 0 0 clamp(42px, 6vw, 72px);
  padding: clamp(24px, 4vw, 38px);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(231, 223, 207, 0.55);
}

.local-summary h2 { margin-bottom: 18px; font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
.local-summary p { max-width: 78ch; margin: 0 0 16px; color: var(--muted); }
.local-summary p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; gap: clamp(40px, 7vw, 92px); }
.split-media { position: relative; }
.split-media::after { position: absolute; right: -18px; bottom: -18px; width: 45%; height: 35%; content: ""; border: 3px solid var(--orange); z-index: 0; }
.split-media img { position: relative; z-index: 1; width: 100%; max-height: 680px; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.split-copy > p:not(.eyebrow) { margin: 0 0 20px; color: var(--muted); }
.split-copy > .lead { margin-bottom: 24px; }
.split-copy > .button { margin-top: 8px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
}
.card .number { color: var(--orange); font-size: 0.76rem; font-weight: 900; letter-spacing: .12em; }
.card h3 { margin: 18px 0 12px; }
.card p { margin: 0 0 22px; color: var(--muted); }
.card a { margin-top: auto; font-weight: 850; text-underline-offset: 5px; }

.project-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 16px; }
.project-card { position: relative; height: clamp(420px, 44vw, 560px); min-height: 0; overflow: hidden; border-radius: var(--radius); background: #333; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.04); }
.project-card span { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 12px 14px; border-radius: 14px; color: var(--white); background: rgba(0,0,0,.7); font-weight: 800; backdrop-filter: blur(10px); }

.location-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.location-grid a { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.5); font-weight: 800; text-align: center; text-decoration: none; }
.location-grid a:hover { color: var(--white); background: var(--ink); }

.related-links {
  margin-top: clamp(42px, 7vw, 78px);
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--white), #eee8dc);
}
.related-links h2 { max-width: 20ch; margin-bottom: 24px; font-size: clamp(1.8rem, 4vw, 3rem); }
.related-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related-link-grid a { display: grid; align-content: start; gap: 7px; min-height: 142px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.78); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.related-link-grid a:hover { border-color: var(--orange); box-shadow: 0 12px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.related-link-grid strong { font-size: 1.02rem; line-height: 1.35; }
.related-link-grid span { color: var(--muted); font-size: .88rem; line-height: 1.55; }

.source-panel { margin-top: clamp(42px, 7vw, 78px); padding: clamp(24px, 5vw, 42px); border-radius: var(--radius); color: var(--white); background: var(--ink); }
.source-panel h2 { max-width: 22ch; font-size: clamp(1.8rem, 4vw, 3rem); }
.source-panel ul { display: grid; gap: 10px; margin: 24px 0; padding-left: 22px; }
.source-panel a { color: var(--gold); font-weight: 800; text-underline-offset: 4px; }
.source-panel p:last-child { max-width: 75ch; margin-bottom: 0; color: rgba(255,255,255,.7); }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.faq summary { padding: 20px 56px 20px 22px; cursor: pointer; font-weight: 850; }
.faq details p { max-width: 80ch; margin: 0; padding: 0 22px 22px; color: var(--muted); }

.page-hero { padding-block: clamp(80px, 10vw, 140px); color: var(--white); background: var(--ink); }
.page-hero h1 { max-width: 21ch; font-size: clamp(2.6rem, 6vw, 5.7rem); }
.page-hero p:not(.eyebrow) { max-width: 65ch; margin: 20px 0 0; color: rgba(255,255,255,.72); font-size: 1.1rem; }
.breadcrumbs { margin-bottom: 24px; color: rgba(255,255,255,.58); font-size: .82rem; }
.breadcrumbs a { text-underline-offset: 4px; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: clamp(40px, 7vw, 90px); }
.prose { min-width: 0; }
.prose h2 { margin-top: 1.65em; margin-bottom: .55em; font-size: clamp(1.8rem, 4vw, 3.2rem); }
.prose h3 { margin-top: 1.6em; }
.prose p { margin: 0 0 1.35em; }
.prose p, .prose li { color: #4d4c48; }
.prose a { font-weight: 750; text-underline-offset: 4px; }
.prose img { width: 100%; max-height: 560px; margin-block: 34px; border-radius: var(--radius); object-fit: cover; }
.prose .lead { color: var(--ink); font-size: clamp(1.16rem, 2vw, 1.38rem); }
.sidebar { position: sticky; top: 118px; padding: 26px; border-radius: var(--radius); color: var(--white); background: var(--ink); }
.sidebar h2 { font-size: 1.6rem; }
.sidebar p { margin: 0 0 20px; color: rgba(255,255,255,.7); }
.sidebar .eyebrow { color: var(--orange); }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(30px, 6vw, 80px); }
.contact-grid h2 { margin-bottom: 24px; }
.contact-list { display: grid; gap: 14px; }
.contact-list a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-weight: 760; text-decoration: none; overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .82rem; }

.calculator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr); gap: 34px; }
.calculator-panel { padding: clamp(24px, 5vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.estimate { display: grid; min-height: 100%; place-content: center; color: var(--white); background: var(--ink); text-align: center; }
.estimate-output { color: var(--gold); font-size: clamp(2.3rem, 6vw, 4.5rem); font-weight: 900; line-height: 1; }

.site-footer { color: var(--white); background: #080807; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; padding-block: 70px; }
.footer-grid h2 { font-size: 1.5rem; }
.footer-grid p { margin: 0 0 20px; }
.footer-grid p, .footer-grid li { color: rgba(255,255,255,.65); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid a { text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.55); font-size: .82rem; }
.mobile-call { display: none; }

@media (max-width: 1120px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .site-nav[data-open="true"] { display: grid; }
  .site-nav a { padding: 14px; }
  .nav-cta { display: none; }
}

@media (max-width: 1020px) {
  .section-head, .split, .content-layout, .contact-grid, .calculator { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .header-inner, .container, .hero-inner { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 76px; }
  .brand img { width: 53px; height: 48px; }
  .brand-copy { display: none; }
  .hero { min-height: 650px; }
  .hero::before { background-position: 62% center; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .trust-grid, .card-grid, .location-grid, .project-grid, .related-link-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:last-child { border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
  .project-card, .project-card:first-child { grid-column: auto; height: 390px; min-height: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-bottom { flex-direction: column; padding-bottom: 88px; }
  .mobile-call { position: fixed; z-index: 90; right: 12px; bottom: 12px; left: 12px; display: flex; min-height: 54px; align-items: center; justify-content: center; border-radius: 999px; color: var(--white); background: var(--orange); box-shadow: 0 10px 32px rgba(0,0,0,.3); font-weight: 900; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
