:root {
  --navy: #0b1f3a;
  --navy-2: #132b4e;
  --blue: #1e4778;
  --red: #e1282f;
  --red-dark: #ba1b22;
  --cream: #f4f1ea;
  --paper: #fff;
  --ink: #14243a;
  --muted: #5b6878;
  --line: #d9dddF;
  --max: 1180px;
  --shadow: 0 20px 50px rgba(7, 25, 49, .11);
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 15px; background: white; color: var(--navy); font-weight: 800; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #ffbd38; outline-offset: 3px; }

.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(11,31,58,.12); }
.nav-shell { min-height: 82px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--navy); border-bottom: 5px solid var(--red); color: white; font-family: Georgia, serif; font-size: 22px; font-weight: 800; }
.brand-copy { display: grid; gap: 4px; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 21px; letter-spacing: -.25px; }
.brand-copy span { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.primary-nav a { position: relative; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-button { display: none; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 21px; border: 2px solid var(--red); border-radius: 2px; background: var(--red); color: white; font-weight: 800; text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.button:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 9px 16px; font-size: 14px; }
.button-outline-light { background: transparent; border-color: rgba(255,255,255,.7); }
.button-outline-light:hover { background: white; border-color: white; color: var(--navy); }
.button-light { background: white; border-color: white; color: var(--navy); }
.button-light:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.button-full { width: 100%; }
.button:disabled { opacity: .55; cursor: wait; transform: none; }

.eyebrow { margin: 0 0 14px; color: #ff9a9f; font-size: 12px; font-weight: 900; letter-spacing: 2px; line-height: 1.3; text-transform: uppercase; }
.eyebrow-dark { color: var(--red); }
.hero { position: relative; overflow: hidden; background: var(--navy); color: white; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to right, transparent, black); }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -280px; border: 110px solid rgba(225,40,47,.2); border-radius: 50%; }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr); align-items: center; gap: 80px; min-height: 650px; padding-block: 90px; }
.hero h1, .page-hero h1 { max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(47px, 6.5vw, 82px); font-weight: 700; letter-spacing: -3px; line-height: .98; }
.hero h1 span, .page-hero h1 span { color: #ff7076; }
.hero-lede { max-width: 680px; margin: 26px 0 32px; color: #d8e1ed; font-size: 19px; line-height: 1.65; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-panel { padding: 28px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.2); border-top: 5px solid var(--red); backdrop-filter: blur(4px); }
.panel-kicker { margin: 0 0 19px; color: #b7c7da; font-size: 13px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.service-line { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.15); }
.service-line span { color: #ff7b80; font-size: 12px; font-weight: 800; }
.service-line strong { font-family: Georgia, serif; font-size: 23px; }
.panel-note { margin: 20px 0 0; color: #c7d2e0; font-size: 14px; }

.trust-strip { background: var(--red); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 16px; min-height: 104px; padding: 20px 30px; border-right: 1px solid rgba(255,255,255,.25); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { font-family: Georgia, serif; font-size: 42px; line-height: 1; }
.trust-grid span { max-width: 140px; font-size: 13px; font-weight: 800; line-height: 1.35; text-transform: uppercase; letter-spacing: .6px; }

.section { padding: 100px 0; }
.companies-section { background: var(--cream); }
.section-heading { margin-bottom: 44px; }
.section-heading h2, .promise-title h2, .direct-contact h2, .form-panel h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(36px, 4vw, 54px); line-height: 1.05; letter-spacing: -1.4px; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
.split-heading > p { max-width: 480px; margin: 0 0 5px; color: var(--muted); }
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.company-card { display: flex; min-height: 470px; flex-direction: column; padding: 28px; background: white; border-top: 5px solid var(--blue); box-shadow: 0 7px 24px rgba(15,35,60,.05); transition: transform .25s ease, box-shadow .25s ease; }
.company-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.hvac-card { border-top-color: var(--red); }
.foundation-card { border-top-color: #3f6e9e; }
.company-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; }
.company-number { color: var(--red); }
.logo-wrap { display: flex; height: 155px; align-items: center; margin: 20px 0 12px; }
.logo-wrap img { max-height: 108px; width: auto; object-fit: contain; }
.logo-placeholder { display: inline-flex; align-items: flex-start; justify-content: center; flex-direction: column; border-left: 6px solid var(--red); padding-left: 18px; }
.logo-placeholder span { color: var(--navy); font-family: Georgia, serif; font-size: 33px; font-weight: 800; line-height: 1; }
.logo-placeholder strong { margin-top: 8px; color: var(--red); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.company-card > p { flex: 1; margin: 0; color: var(--muted); }
.company-actions { display: grid; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.text-link { width: fit-content; color: var(--red); font-size: 14px; font-weight: 900; text-underline-offset: 4px; }
.phone-link { width: fit-content; color: var(--navy); font-family: Georgia, serif; font-size: 23px; font-weight: 800; text-decoration: none; }

.promise-section { background: white; }
.promise-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.promise-title { position: sticky; top: 130px; align-self: start; }
.promise-list article { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.promise-list article:last-child { border-bottom: 1px solid var(--line); }
.promise-list article > span, .principle-grid article > span { color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: 1px; }
.promise-list h3, .principle-grid h3 { margin: 0 0 7px; color: var(--navy); font-family: Georgia, serif; font-size: 24px; }
.promise-list p, .principle-grid p { margin: 0; color: var(--muted); }
.cta-section { padding: 0 0 100px; background: white; }
.cta-card { position: relative; overflow: hidden; display: flex; min-height: 260px; align-items: center; justify-content: space-between; gap: 30px; padding: 54px 62px; background: var(--red); color: white; }
.cta-card::after { content: "W"; position: absolute; right: 140px; top: -70px; color: rgba(255,255,255,.08); font-family: Georgia, serif; font-size: 310px; font-weight: 900; line-height: 1; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { margin: 0 0 7px; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 50px); line-height: 1; }
.cta-card p:last-child { margin: 0; color: #ffe3e4; }

.page-hero { position: relative; overflow: hidden; background: var(--navy); color: white; }
.page-hero::after { content: ""; position: absolute; inset: 0 0 0 50%; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); background-size: 64px 64px; }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 90px; min-height: 430px; padding-block: 80px; }
.page-hero h1 { font-size: clamp(45px, 6vw, 72px); }
.page-hero-grid > p { margin: 0 0 4px; color: #d8e1ed; font-size: 18px; }
.story-section { background: white; }
.story-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; }
.story-lead { max-width: 700px; }
.story-lead p { color: var(--muted); }
.story-lead .large-copy { margin-top: 0; color: var(--navy); font-family: Georgia, serif; font-size: 30px; line-height: 1.4; }
.fact-card { padding: 32px; background: var(--cream); border-top: 5px solid var(--red); }
.fact-card dl { margin: 0; }
.fact-card dl div { padding: 16px 0; border-top: 1px solid #d7d1c5; }
.fact-card dt { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; }
.fact-card dd { margin: 4px 0 0; color: var(--navy); font-weight: 800; }
.principles-section { background: var(--cream); }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #d8d3c9; border: 1px solid #d8d3c9; }
.principle-grid article { min-height: 270px; padding: 27px; background: white; }
.principle-grid h3 { margin-top: 28px; }

.contact-section { background: var(--cream); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 32px; }
.contact-cards article { padding: 21px 22px; background: white; border-left: 4px solid var(--red); box-shadow: 0 4px 18px rgba(15,35,60,.04); }
.contact-cards article div { display: flex; justify-content: space-between; gap: 15px; }
.contact-cards span { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.contact-cards h3 { margin: 2px 0 8px; color: var(--navy); font-size: 16px; }
.contact-cards a { color: var(--navy); font-family: Georgia, serif; font-size: 27px; font-weight: 800; text-decoration: none; }
.address-block { margin-top: 48px; padding-top: 30px; border-top: 1px solid #d5d0c6; }
.address-block h3 { margin: 0 0 12px; color: var(--navy); font-family: Georgia, serif; font-size: 24px; font-style: normal; line-height: 1.4; }
.form-panel { padding: 38px; background: white; border-top: 6px solid var(--navy); box-shadow: var(--shadow); }
.form-panel h2 { font-size: 40px; }
.form-intro { margin: 12px 0 26px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; color: var(--navy); font-size: 13px; font-weight: 800; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #bbc3cd; border-radius: 2px; background: white; color: var(--ink); }
.field textarea { resize: vertical; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,71,120,.13); outline: none; }
.form-status { min-height: 24px; margin: 14px 0 0; font-size: 14px; font-weight: 700; }
.form-status.is-success { color: #166534; }
.form-status.is-error { color: #a51d24; }

.site-footer { padding: 70px 0 24px; background: #07172b; color: #b8c4d3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 80px; }
.footer-grid > div:first-child p { max-width: 350px; }
.footer-brand { margin-bottom: 18px; color: white; }
.footer-brand .brand-mark { background: white; color: var(--navy); }
.site-footer h2 { margin: 0 0 16px; color: white; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.site-footer a:not(.brand) { display: block; width: fit-content; margin-bottom: 8px; color: #d9e1eb; text-underline-offset: 3px; }
.site-footer address { margin-bottom: 12px; font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px; border-top: 1px solid #26374d; color: #8696aa; font-size: 13px; }

@media (max-width: 960px) {
  .nav-shell { min-height: 72px; }
  .nav-cta { display: none; }
  .menu-button { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; margin-left: auto; padding: 0; border: 0; background: transparent; }
  .menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 20px 20px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(10,30,55,.08); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 760px; }
  .hero-panel { max-width: 600px; }
  .company-grid { grid-template-columns: 1fr; }
  .company-card { min-height: auto; }
  .logo-wrap { height: 130px; }
  .promise-layout, .story-layout, .contact-layout { grid-template-columns: 1fr; gap: 55px; }
  .promise-title { position: static; }
  .principle-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .brand-copy strong { font-size: 18px; }
  .brand-copy span { font-size: 9px; letter-spacing: 1.4px; }
  .hero-layout { min-height: auto; padding-block: 74px 65px; }
  .hero h1, .page-hero h1 { font-size: clamp(42px, 13vw, 58px); letter-spacing: -2px; }
  .hero-lede { font-size: 17px; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; padding-block: 10px; }
  .trust-grid > div, .trust-grid > div:first-child { min-height: 76px; padding: 14px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .trust-grid strong { width: 70px; font-size: 35px; }
  .section { padding: 72px 0; }
  .split-heading, .page-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero-grid { min-height: 420px; padding-block: 70px; }
  .page-hero-grid > p { font-size: 16px; }
  .company-card { padding: 24px; }
  .cta-section { padding-bottom: 72px; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 38px 28px; }
  .cta-card .button { width: 100%; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: auto; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-panel { padding: 27px 22px; }
  .form-panel h2 { font-size: 36px; }
  .contact-cards article div { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
