
:root {
  --navy: #0f2638;
  --blue: #0c6291;
  --sky: #e7f6fd;
  --teal: #0f766e;
  --orange: #f28c22;
  --ink: #172333;
  --muted: #5b6a78;
  --line: #d9e4ea;
  --paper: #ffffff;
  --soft: #f5f9fb;
  --radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 30;
  padding: 10px 14px;
  background: #fff;
  color: #000;
}

.skip-link:focus {
  left: 12px;
}

.topbar {
  background: var(--navy);
  color: #dbeafe;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  gap: 26px;
  align-items: center;
  min-height: 40px;
}

.topbar a {
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 38, 56, 0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  min-width: 185px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.05;
}

.brand small {
  display: block;
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.05;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav a {
  padding: 12px 13px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
}

.primary-nav a:hover,
.primary-nav a.active {
  background: var(--sky);
  color: var(--blue);
}

.primary-nav .nav-quote {
  margin-left: 12px;
  background: var(--orange);
  color: #111827;
}

.primary-nav .nav-quote:hover {
  background: #ffac4d;
  color: #111827;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background: linear-gradient(90deg, rgba(15, 38, 56, 0.92), rgba(15, 38, 56, 0.66) 46%, rgba(15, 38, 56, 0.12));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 0;
  color: #fff;
  max-width: 1160px;
}

.hero-content h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  width: min(650px, 100%);
  margin: 24px 0 32px;
  color: #e5eef5;
  font-size: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.eyebrow.light {
  color: #ffc978;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 21px;
  border-radius: var(--radius);
  border: 0;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  background: var(--orange);
  color: #111827;
}

.btn.light {
  background: #fff;
  color: var(--navy);
}

.section {
  padding: 78px 0;
}

.section.compact {
  padding-bottom: 28px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 58px;
}

.split-section.flip .split-copy {
  order: 2;
}

.split h2,
.section-head h2,
.narrow h2,
.cta-inner h2,
.contact-grid h2,
.article-wrap h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.split p,
.narrow p,
.section-head p,
.contact-list,
.article-wrap p {
  color: var(--muted);
  font-size: 17px;
}

.split-image img,
.service-card img,
.post-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 42px rgba(15, 38, 56, 0.14);
}

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

.tick-list li {
  position: relative;
  padding-left: 32px;
  color: var(--navy);
  font-weight: 700;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
}

.service-band,
.section:nth-of-type(odd) {
  background: var(--soft);
}

.section-head {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

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

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card div,
.post-card div {
  padding: 24px;
}

.service-card h3,
.feature-card h3,
.post-card h2 {
  margin: 0 0 10px;
  color: var(--navy);
  line-height: 1.2;
}

.service-card p,
.feature-card p,
.post-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.service-card a,
.post-card span {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.stats-band {
  background: var(--navy);
  color: #fff;
  padding: 42px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stats-grid div {
  border-left: 3px solid var(--orange);
  padding-left: 18px;
}

.stats-grid strong {
  display: block;
  font-size: 40px;
  line-height: 1;
}

.stats-grid span {
  color: #cbd5e1;
  font-weight: 700;
}

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

.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
}

.feature-card span {
  display: block;
  width: 42px;
  height: 5px;
  background: var(--orange);
  margin-bottom: 20px;
}

.cta-band {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  padding: 54px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta-inner h2 {
  color: #fff;
}

.cta-inner p {
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

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

.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.post-card a {
  display: block;
  text-decoration: none;
}

.post-card img {
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 16 / 10;
}

.post-card time {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.post-card h2 {
  font-size: 21px;
}

.article-section {
  background: #fff;
}

.article-wrap {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
}

.article-wrap p {
  font-size: 19px;
}

.article-note {
  margin-top: 42px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  gap: 56px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.contact-list a,
.contact-list p {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-list strong {
  color: var(--navy);
}

.map-panel {
  min-height: 260px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.84), rgba(255,255,255,0.45)),
    repeating-linear-gradient(0deg, #dbeafe 0 2px, transparent 2px 62px),
    repeating-linear-gradient(90deg, #c7d2fe 0 2px, transparent 2px 76px),
    #eff6ff;
  border: 1px solid var(--line);
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--navy);
}

.map-panel span {
  font-weight: 800;
  font-size: 24px;
}

.estimate-form {
  background: var(--navy);
  color: #fff;
  padding: 30px;
  border-radius: var(--radius);
}

.estimate-form h2 {
  margin-top: 0;
  color: #fff;
}

.estimate-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  font-weight: 700;
}

.estimate-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px;
  font: inherit;
}

.estimate-form textarea {
  resize: vertical;
}

.form-note {
  margin: 14px 0 0;
  color: #cbd5e1;
  font-size: 13px;
}

.site-footer {
  background: #071622;
  color: #dbeafe;
  padding: 56px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 44px;
}

.site-footer h2 {
  font-size: 16px;
  color: #fff;
  margin: 0 0 16px;
}

.site-footer a,
.site-footer p {
  display: block;
  color: #cbd5e1;
  margin: 0 0 10px;
  text-decoration: none;
}

.footer-brand {
  color: #fff;
  margin-bottom: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 30px;
  padding-top: 20px;
  color: #8da0b5;
  font-size: 14px;
}

@media (max-width: 920px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 8px 0;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 44px rgba(15, 38, 56, 0.16);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav .nav-quote {
    margin-left: 0;
  }

  .hero {
    min-height: 520px;
  }

  .hero-overlay {
    background: rgba(15, 38, 56, 0.78);
  }

  .split,
  .service-grid,
  .feature-grid,
  .blog-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-section.flip .split-copy {
    order: 0;
  }

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

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .wrap,
  .article-wrap {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    min-width: auto;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    font-size: 14px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 17px;
  }

  .section {
    padding: 54px 0;
  }

  .split {
    gap: 30px;
  }

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

  .contact-list a,
  .contact-list p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .estimate-form {
    padding: 22px;
  }
}

/* Wayback-aligned static rebuild overrides */
:root {
  --archive-teal: #166179;
  --archive-teal-dark: #0f5467;
  --archive-pale: #e9f3f5;
  --archive-coral: #ff4934;
  --archive-black: #050505;
  --archive-muted: #3d3d3d;
  --radius: 8px;
  font-family: "Sofia Pro", "Trebuchet MS", Arial, Helvetica, sans-serif;
}

body {
  color: var(--archive-black);
  font-family: "Sofia Pro", "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 18px;
}

.wrap {
  width: min(1668px, calc(100% - 120px));
}

.site-header {
  position: relative;
  box-shadow: none;
  border-bottom: 1px solid #f2f2f2;
}

.nav-row {
  min-height: 145px;
  gap: 50px;
}

.brand {
  min-width: 340px;
}

.brand-logo {
  width: min(390px, 30vw);
  height: auto;
}

.primary-nav {
  gap: 24px;
}

.primary-nav a {
  padding: 8px 0;
  color: #0b0b0b;
  background: transparent;
  border-radius: 0;
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--archive-teal);
  background: transparent;
}

.hero {
  min-height: 85vh;
  align-items: center;
}

.hero-overlay {
  display: none;
}

.home-page .hero-content {
  width: min(670px, calc(100% - 40px));
  max-width: none;
  margin-left: max(40px, 6vw);
  margin-right: auto;
  padding: 42px 50px;
  color: #fff;
  background: rgba(22, 97, 121, 0.88);
  border-radius: 8px;
}

.home-page .hero-content h1 {
  width: 100%;
  font-size: clamp(40px, 4.2vw, 62px);
  line-height: 1.18;
  font-weight: 700;
}

.home-page .hero-content p:not(.eyebrow) {
  width: 100%;
  color: #fff;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 600;
}

.eyebrow {
  color: var(--archive-teal);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.22em;
}

.home-page .eyebrow {
  color: #fff;
  font-size: 28px;
  letter-spacing: 0.16em;
}

.btn {
  min-height: 61px;
  padding: 16px 35px;
  border-radius: 7px;
  font-size: 22px;
  font-weight: 700;
}

.btn.primary,
.primary-nav .nav-quote {
  background: var(--archive-coral);
  color: #fff;
}

.btn.primary:hover {
  background: #e93825;
}

.page-title {
  background: var(--archive-pale);
  padding: 28px 0;
}

.page-title h1 {
  margin: 0;
  color: #050505;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
}

.inner-page .hero {
  width: min(1668px, calc(100% - 120px));
  min-height: 0;
  margin: 0 auto;
  padding: 110px 0 72px;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
  gap: 95px;
  overflow: visible;
}

.inner-page .hero-media {
  position: relative;
  inset: auto;
  min-height: 0;
}

.inner-page .hero-media img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 0.78;
  border-radius: 8px;
  object-fit: cover;
}

.inner-page .hero-content {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 55px 0 0;
  color: #000;
}

.inner-page .hero-content h1 {
  width: 100%;
  color: #000;
  font-size: clamp(46px, 4vw, 64px);
  line-height: 1.1;
  font-weight: 700;
}

.inner-page .hero-content p:not(.eyebrow) {
  width: 100%;
  margin: 24px 0 32px;
  color: #050505;
  font-size: 26px;
  line-height: 1.55;
}

.section {
  padding: 92px 0;
}

.split {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  gap: 84px;
}

.split h2,
.section-head h2,
.narrow h2,
.contact-grid h2,
.article-wrap h2 {
  color: #000;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.12;
}

.split p,
.narrow p,
.section-head p,
.article-wrap p {
  color: #111;
  font-size: 23px;
  line-height: 1.58;
}

.split-image img,
.service-card img,
.post-card img {
  border-radius: 8px;
  box-shadow: none;
}

.service-band,
.section:nth-of-type(odd) {
  background: #fff;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  border: 0;
  border-radius: 8px;
  background: #000;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  opacity: 0.75;
}

.service-card div {
  position: relative;
  z-index: 1;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
  color: #fff;
  background: linear-gradient(180deg, transparent 10%, rgba(0,0,0,0.68));
}

.service-card h3 {
  color: #fff;
  font-size: 36px;
}

.service-card p {
  color: #fff;
  font-size: 20px;
}

.service-card a,
.post-card span {
  color: #fff;
  font-weight: 700;
}

.stats-band,
.cta-band {
  background: var(--archive-teal);
}

.feature-card {
  border: 0;
  background: var(--archive-pale);
}

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

.post-card {
  border: 0;
  background: #fff;
}

.post-card time,
.post-card span {
  color: var(--archive-teal);
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 720px);
  gap: 80px;
}

.contact-list a,
.contact-list p {
  grid-template-columns: 110px 1fr;
  align-items: center;
  border: 0;
}

.contact-list strong {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: var(--archive-pale);
  color: var(--archive-teal);
  font-size: 16px;
  line-height: 1.1;
  text-align: center;
}

.contact-list span {
  color: #000;
  font-size: 28px;
  font-weight: 700;
}

.estimate-form {
  background: var(--archive-pale);
  color: #000;
  padding: 50px 75px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 30px;
}

.estimate-form h2 {
  grid-column: 1 / -1;
  color: #000;
  text-align: center;
  font-size: 40px;
}

.estimate-form label {
  margin-bottom: 0;
}

.estimate-form label:nth-of-type(n + 3),
.estimate-form button,
.estimate-form .form-note {
  grid-column: 1 / -1;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  min-height: 60px;
  border: 0;
  border-radius: 4px;
  padding: 16px 22px;
  font-size: 20px;
}

.site-footer {
  background: var(--archive-teal-dark);
  color: #fff;
}

.footer-grid {
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
}

.footer-logo {
  width: 310px;
  max-width: 100%;
  height: auto;
}

.site-footer h2 {
  font-size: 22px;
  text-transform: none;
}

.site-footer a,
.site-footer p {
  color: #fff;
}

@media (max-width: 1180px) {
  .wrap,
  .inner-page .hero {
    width: min(100% - 48px, 1160px);
  }

  .brand {
    min-width: 310px;
  }

  .brand-logo {
    width: 310px;
  }

  .primary-nav {
    gap: 18px;
  }

  .primary-nav a {
    font-size: 18px;
  }
}

@media (max-width: 920px) {
  .nav-row {
    min-height: 88px;
  }

  .brand {
    min-width: 250px;
  }

  .brand-logo {
    width: 250px;
  }

  .primary-nav {
    top: 88px;
    gap: 0;
  }

  .primary-nav a {
    padding: 16px;
  }

  .home-page .hero-content {
    margin: 0 auto;
    padding: 38px 30px;
  }

  .inner-page .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 58px 0;
  }

  .inner-page .hero-content {
    padding: 0;
  }

  .service-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wrap,
  .inner-page .hero,
  .article-wrap {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    min-width: 205px;
  }

  .brand-logo {
    width: 205px;
  }

  .home-page .hero-content h1,
  .inner-page .hero-content h1 {
    font-size: 38px;
  }

  .home-page .hero-content p:not(.eyebrow),
  .inner-page .hero-content p:not(.eyebrow),
  .split p,
  .narrow p,
  .section-head p,
  .article-wrap p {
    font-size: 18px;
  }

  .eyebrow {
    font-size: 18px;
  }

  .contact-grid {
    gap: 36px;
  }

  .estimate-form {
    padding: 26px 20px;
    grid-template-columns: 1fr;
  }
}
