:root {
  color-scheme: light;
  --navy: #112541;
  --navy-dark: #0b1c33;
  --blue: #174bc1;
  --blue-dark: #103b9c;
  --light-blue: #dbe7ff;
  --ink-muted: #506077;
  --paper: #f4f3ed;
  --line: #dce2eb;
  --white: #fff;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--white); color: var(--navy); font: 16px/1.58 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #4c81f0; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 112px), 1296px); margin-inline: auto; }
.section-pad { padding-block: 92px; }
.sr-only, .skip:not(:focus) { clip: rect(0, 0, 0, 0); clip-path: inset(50%); position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 10px 16px; background: white; }

.site-header { position: sticky; top: 0; z-index: 3; background: var(--white); border-bottom: 1px solid #e7e9ed; }
.header-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; flex: none; }
.brand-mark { width: 49px; height: 49px; border-radius: 50%; object-fit: cover; flex: none; }
.brand-name { display: flex; flex-direction: column; text-transform: uppercase; line-height: 1.05; }
.brand-name strong { font-size: 24px; font-weight: 850; letter-spacing: .055em; }
.brand-name small { margin-top: 4px; font-size: 8.5px; font-weight: 800; letter-spacing: .1em; }
.header-inner nav { display: flex; gap: clamp(16px, 2.6vw, 36px); align-items: center; }
.header-inner nav a { color: #3b4a60; font-size: 14px; font-weight: 650; text-decoration: none; }
.header-inner nav a:hover, .text-link:hover, .service-card a:hover { color: var(--blue-dark); text-decoration: underline; }
.button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: 12px; padding: 11px 18px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 740; text-decoration: none; text-align: center; line-height: 1.35; }
.button span { font-size: 17px; line-height: 1; }
.arrow-diagonal { position: relative; display: inline-block; width: 11px; height: 11px; flex: 0 0 auto; }
.arrow-diagonal::before { position: absolute; inset: 1px 1px auto auto; width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; content: ''; }
.arrow-diagonal::after { position: absolute; top: 5px; left: 0; width: 10px; height: 1.5px; background: currentColor; transform: rotate(-45deg); content: ''; }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-dark); }
.button-outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.button-outline:hover { background: #edf3ff; }
.header-cta { min-height: 42px; padding: 9px 14px; }

.hero { background: var(--paper); padding-block: 31px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: 40px; align-items: stretch; }
.hero-copy { align-self: center; padding: 36px 0 39px; }
.kicker { display: flex; align-items: center; gap: 9px; color: var(--blue); font-size: 11px; font-weight: 780; letter-spacing: .15em; line-height: 1.45; text-transform: uppercase; }
.kicker > span { width: 20px; height: 2px; background: currentColor; }
.hero h1 { margin-block: 22px 20px; font-size: clamp(41px, 4.58vw, 75px); line-height: 1.01; letter-spacing: -.072em; font-weight: 770; }
.hero h1 em { color: var(--blue); font-family: var(--serif); font-size: 1.035em; font-weight: 400; letter-spacing: -.067em; }
.hero-description { max-width: 455px; color: #46566d; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.63; }
.hero-actions { display: flex; align-items: center; gap: 21px; flex-wrap: wrap; margin-top: 29px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; padding: 7px 0; border: 0; background: transparent; color: var(--blue); font-size: 14px; font-weight: 700; text-decoration: none; }
.hero-image { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 3px; min-height: 460px; height: clamp(460px, 39vw, 590px); border-radius: 7px; overflow: hidden; background: #decbb5; }
.hero-image img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; object-position: center; }
.hero-image figcaption { position: absolute; right: 15px; bottom: 15px; padding: 6px 9px; border-radius: 3px; background: #112541e8; color: white; font-size: 10px; letter-spacing: .045em; }

.trust-strip { background: var(--navy); color: var(--white); }
.trust-list { margin-block: 0; padding: 0; display: flex; list-style: none; align-items: center; justify-content: space-between; }
.trust-list li { display: flex; gap: 10px; align-items: center; justify-content: center; flex: 1; padding: 15px 8px; min-height: 67px; font-size: 14px; font-weight: 640; text-align: center; }
.trust-list li + li { border-left: 1px solid #344660; }
.trust-mark { font-size: 19px; line-height: 1; color: #a8c4ff; }

.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .38fr); gap: 32px; align-items: end; margin-block: 12px 30px; }
.section-intro h2, .warranty h2 { font-size: clamp(32px, 4vw, 55px); font-weight: 760; line-height: 1.06; letter-spacing: -.06em; }
.section-intro > p { color: var(--ink-muted); line-height: 1.58; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 216px; padding: 22px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfe; }
.service-card:hover { border-color: #a9bfed; }
.service-icon { position: relative; display: inline-grid; width: 39px; height: 39px; place-items: center; margin-bottom: 17px; border-radius: 5px; background: #eaf1ff; color: var(--blue); }
.service-icon i { display: block; width: 21px; height: 19px; }
.service-icon.paint i { border: 2px solid currentColor; border-radius: 2px; height: 8px; align-self: start; margin-top: 10px; width: 16px; }
.service-icon.paint::after { content: ''; position: absolute; width: 10px; height: 12px; top: 17px; left: 19px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(90deg); }
.service-icon.drywall i { border: 2px solid currentColor; border-radius: 2px; background: linear-gradient(90deg, transparent 46%, currentColor 46% 56%, transparent 56%); }
.service-icon.flooring i { border: 2px solid currentColor; border-radius: 2px; background: repeating-linear-gradient(138deg, transparent 0 4px, currentColor 4px 5.5px); }
.service-icon.trim i { width: 20px; height: 17px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.service-icon.trim::after { content: ''; position: absolute; border-left: 2px solid; border-bottom: 2px solid; top: 10px; left: 15px; width: 15px; height: 14px; }
.service-card h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.035em; }
.service-card p { color: var(--ink-muted); margin-block: 9px 16px; font-size: 14px; line-height: 1.52; }
.service-card a { display: inline-flex; gap: 6px; align-items: center; margin-top: auto; min-height: 38px; color: var(--blue); font-size: 13px; font-weight: 750; text-decoration: none; }

.projects { padding-top: 0; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfe; }
.project-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #e6e0d8; }
.project-card .painting-photo { object-position: center 55%; }
.project-card .drywall-photo { object-position: 22% center; }
.project-card .trim-photo { object-position: 23% center; }
.project-card figcaption { padding: 11px 13px; font-size: 14px; font-weight: 740; line-height: 1.3; }

.about { background: linear-gradient(135deg, #eef3fc, #f8fafc 78%); border-top: 1px solid #e4eaf3; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(260px, 1fr); align-items: stretch; gap: clamp(28px, 6vw, 96px); }
.about-story { align-self: center; }
.about-story h2 { margin-block: 12px 18px; font-size: clamp(32px, 4.1vw, 54px); line-height: 1.05; letter-spacing: -.058em; font-weight: 760; }
.about-story h2 em { color: var(--blue); font-family: var(--serif); font-weight: 400; }
.about-story > p:not(.kicker) { max-width: 580px; color: #46566d; }
.about-story > p + p:not(.kicker) { margin-top: 11px; }
.about-brand { display: grid; min-height: 300px; place-items: center; padding: 24px; border-radius: 8px; background: radial-gradient(ellipse at 85% 85%, #145eac, #173961 45%, #112541 77%); }
.about-brand img { width: min(100%, 265px); height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 12px 35px #0b1c3373; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 27px 0 0; }
.values > div { min-width: 0; padding-top: 12px; border-top: 2px solid #aec5ec; }
.values dt { font-size: 17px; font-weight: 760; }
.values dd { margin: 4px 0 0; color: #46566d; font-size: 14px; }

.warranty { padding-block: 36px; background: var(--navy); color: var(--white); }
.warranty-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(220px, .48fr); align-items: center; gap: 24px; }
.warranty-emblem { display: grid; place-items: center; width: 58px; height: 58px; background: #25436e; color: #c5d8ff; border: 1px solid #506993; border-radius: 50%; font-size: 24px; }
.warranty-emblem span { width: 16px; height: 10px; margin-top: -3px; border-left: 2px solid; border-bottom: 2px solid; transform: rotate(-45deg); }
.warranty .kicker { margin-bottom: 8px; color: #a8c4ff; }
.warranty h2 { font-size: clamp(24px, 3vw, 42px); letter-spacing: -.047em; }
.warranty-inner > p { color: #d8e3f6; }
.warranty-inner > p strong { color: white; font-weight: 690; }

.estimate { background: #f4f6fa; }
.estimate-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, .42fr); align-items: start; gap: 20px; }
.estimate-form, .summary { border-radius: 8px; }
.estimate-form { border: 1px solid var(--line); background: white; scroll-margin-top: 14px; }
.steps { display: flex; align-items: center; gap: 20px; padding: 15px 23px; margin: 0; list-style: none; border-bottom: 1px solid var(--line); }
.steps li { display: flex; gap: 8px; align-items: center; color: #526079; font-size: 13px; font-weight: 680; }
.steps li span { display: grid; place-items: center; width: 24px; height: 24px; background: #edf1f7; border-radius: 50%; color: #46566d; font-size: 11px; }
.steps li[aria-current] { color: var(--blue); }
.steps li[aria-current] span { color: white; background: var(--blue); }
.steps li[data-complete] span { background: #e3edff; color: var(--blue); }
.step-pane { padding: 23px; }
.service-picker { padding: 0; margin: 0 0 19px; border: 0; min-width: 0; }
.service-picker legend, .form-row label, .details-label { color: var(--navy); font-size: 14px; font-weight: 730; }
.service-picker legend { padding: 0; }
.field-hint { color: var(--ink-muted); font-size: 13px; font-weight: 400; }
.choices { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.choices label { display: inline-flex; min-height: 40px; gap: 7px; align-items: center; padding: 6px 10px; border: 1px solid #b9c4d5; border-radius: 5px; color: var(--navy); cursor: pointer; font-size: 13px; font-weight: 580; }
.choices label:hover { border-color: var(--blue); }
.choices label:has(input:checked) { border-color: var(--blue); background: #edf3ff; color: var(--blue-dark); }
.choices input { accent-color: var(--blue); margin: 0; width: 15px; height: 15px; }
.error-message { margin-top: 8px; color: #9b2430; font-size: 13px; font-weight: 650; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-row label, .details-label { display: block; min-width: 0; }
.details-label { margin-top: 14px; }
.optional { color: var(--ink-muted); font-weight: 400; }
.estimate-form input:not([type=checkbox]), .estimate-form select, .estimate-form textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #b9c4d5; border-radius: 4px; background: #fff; color: var(--navy); font-size: 16px; font-weight: 400; }
.estimate-form input:not([type=checkbox]), .estimate-form select { min-height: 44px; }
.estimate-form textarea { resize: vertical; }
.estimate-form textarea[readonly] { background: #f7f9fe; }
.form-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.review-heading { font-size: 23px; letter-spacing: -.035em; }
.review-hint { margin-block: 4px 15px; }
.action-status { margin-top: 7px; min-height: 20px; }
.back-button { margin-top: 3px; }
.summary { padding: 25px; background: var(--navy); color: white; }
.summary .kicker { color: #a8c4ff; }
.summary h3 { margin-block: 9px 14px; font-size: 25px; line-height: 1.13; letter-spacing: -.036em; }
.summary dl { margin: 0 0 13px; }
.summary dl div { display: flex; flex-direction: column; gap: 1px; padding-block: 8px; border-top: 1px solid #43536d; }
.summary dt { color: #b5c8ea; font-size: 12px; font-weight: 630; }
.summary dd { margin: 0; color: #f9fbff; font-size: 14px; overflow-wrap: anywhere; }
.privacy-note { color: #d4e0f5; font-size: 13px; line-height: 1.5; }
.form-unavailable { padding: 15px; border: 1px solid var(--line); background: white; }

.site-footer { padding-top: 37px; background: var(--navy-dark); color: white; }
.footer-main { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 28px; }
.footer-main p { margin-top: 10px; color: #c1cde0; font-size: 14px; }
.contact h2 { margin-bottom: 6px; font-size: 17px; }
.contact a { color: #eff5ff; font-size: 14px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.phones { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.phones a { text-decoration: none; }
.phones a:hover { text-decoration: underline; }
.phones span { margin-left: 3px; color: #b6c8e6; font-size: 11px; }
.footer-end { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-block: 12px; border-top: 1px solid #374961; color: #c1cde0; }
.footer-end a, .footer-end small { font-size: 12px; }
.footer-end a { text-decoration: none; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 72px); }
  .hero-grid { gap: 26px; }
  .hero h1 { font-size: clamp(39px, 4.65vw, 49px); }
  .hero-image { min-height: 411px; height: clamp(411px, 47vw, 500px); }
  .hero-actions { gap: 12px 16px; }
  .service-card { padding: 17px; }
}

@media (max-width: 880px) {
  .header-inner nav { display: none; }
}

@media (max-width: 850px) {
  .section-pad { padding-block: 66px; }
  .service-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { padding: 19px; }
  .service-card p { max-width: 300px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 62px; gap: 10px; }
  .brand { gap: 7px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-name strong { font-size: 20px; }
  .brand-name small { margin-top: 3px; font-size: 7px; }
  .header-cta { min-height: 40px; font-size: 12px; gap: 5px; padding: 7px 9px; }
  .header-cta span { font-size: 15px; }
  .hero { padding-block: 0 20px; }
  .hero-grid { display: block; }
  .hero-copy { padding: 39px 0 24px; }
  .hero h1 { margin-block: 16px 15px; font-size: clamp(40px, 8.5vw, 65px); }
  .hero-description { max-width: 435px; }
  .hero-actions { margin-top: 19px; }
  .hero-image { min-height: 0; height: auto; aspect-ratio: 1.23; }
  .trust-list { width: 100%; }
  .trust-list li { min-height: 55px; padding: 9px 7px; gap: 4px; font-size: 11px; line-height: 1.3; }
  .trust-mark { display: none; }
  .section-pad { padding-block: 51px; }
  .section-intro { grid-template-columns: 1fr; gap: 9px; margin-block: 8px 21px; }
  .section-intro h2 { max-width: 550px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .about-brand { min-height: 225px; padding: 16px; }
  .about-brand img { width: min(100%, 200px); }
  .values { gap: 13px; }
  .warranty { padding-block: 25px; }
  .warranty-inner { grid-template-columns: auto 1fr; gap: 10px 13px; }
  .warranty-emblem { width: 41px; height: 41px; }
  .warranty .kicker { margin-bottom: 5px; }
  .warranty-inner > p { grid-column: 2; font-size: 14px; }
  .estimate-layout { grid-template-columns: 1fr; gap: 12px; }
  .estimate-form { scroll-margin-top: 4px; }
  .summary { padding: 18px; }
}

@media (max-width: 475px) {
  .service-grid, .project-grid { gap: 8px; }
  .project-card figcaption { padding: 9px 8px; font-size: 12px; }
  .values { grid-template-columns: 1fr; }
  .service-card { padding: 12px; min-height: 0; }
  .service-icon { margin-bottom: 11px; }
  .service-card h3 { font-size: 17px; }
  .service-card p { font-size: 13px; margin-block: 6px 8px; }
  .service-card a { font-size: 12px; }
  .steps { padding: 11px 13px; gap: 12px; }
  .steps li { font-size: 12px; }
  .step-pane { padding: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 10px; }
  .footer-main { flex-direction: column; gap: 17px; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 28px); }
  .hero h1 { font-size: 35px; }
  .header-cta .arrow-diagonal { display: none; }
  .hero-actions { gap: 7px 12px; }
  .hero-actions .button { padding-inline: 11px; }
  .hero-actions .text-link { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
