@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #3029f4;
  --blue: #3029f4;
  --red: #ff0000;
  --red-dark: #ff0000;
  --ink: #15233b;
  --muted: #4a5970;
  --line: #dce2eb;
  --paper: #f1f6fc;
  --white: #fff;
  color: var(--ink);
  font: 16px/1.55 Inter, system-ui, sans-serif;
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #3029f4; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.utility { background: var(--blue); color: var(--white); font-size: .82rem; font-weight: 600; }
.utility .wrap { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.site-head { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.55rem/.9 'Barlow Condensed', Impact, sans-serif; text-transform: uppercase; }
.brand img { object-fit: contain; }
.brand small { display: block; margin-top: .35rem; color: var(--red); font: 800 .65rem/1 Inter, sans-serif; letter-spacing: .22em; }
nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 36px); align-items: center; font-size: .93rem; font-weight: 700; }
nav a:hover, nav a[aria-current] { color: var(--red); }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .82rem 1.15rem; background: var(--red); border: 2px solid var(--red); color: var(--white); font-weight: 750; border-radius: 4px; }
.button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button.outline { background: transparent; border-color: currentColor; }
.button.outline:hover { background: var(--white); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
h1, h2, h3 { font-family: 'Barlow Condensed', Impact, sans-serif; line-height: 1.02; font-weight: 800; }
h1 { font-size: clamp(3.3rem, 8vw, 7rem); letter-spacing: -.015em; }
h2 { font-size: clamp(2.45rem, 5vw, 4rem); }
h3 { font-size: 1.7rem; }
.home-hero {
  background: linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.61) 43%, transparent 78%),
    url('assets/images/eagle-armor-garage-floors-eac-005-15d91f99.webp') center 57% / cover;
  color: var(--white);
}
.hero-inner { min-height: min(620px, 86vh); padding-block: 90px; display: grid; align-items: center; }
.hero-inner > div { max-width: 650px; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .17em; font-weight: 800; padding-left: 12px; border-left: 4px solid #ff0000; margin-bottom: 17px; }
.hero-inner h1 + p { max-width: 540px; margin-block: 20px 28px; color: #e6ebf4; font-size: 1.1rem; }
.page-banner { background: linear-gradient(105deg, var(--blue), var(--navy)); color: var(--white); border-bottom: 5px solid var(--red); padding-block: clamp(42px, 7vw, 86px); }
.page-banner h1 { font-size: clamp(3rem, 7vw, 5.7rem); }
.page-banner p { margin-top: 12px; color: #e5ebf7; font-weight: 500; }
.section { padding-block: clamp(40px, 7vw, 90px); }
.section-intro, .quote-inner, .footer-inner { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px; }
.section-intro { margin-bottom: 28px; }
.section-intro p { margin-top: 8px; color: var(--muted); }
.text-link { color: var(--red-dark); font-weight: 750; }
.text-link:hover { text-decoration: underline; }
.space-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.space-card { position: relative; min-height: 220px; grid-column: span 2; display: grid; align-items: end; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--white); }
.space-card:nth-child(n+4) { grid-column: span 3; }
.space-card img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; }
.space-card span { background: var(--blue); }
.space-card-empty { background: var(--paper); border: 1px solid var(--line); }
.space-card img { transition: transform .25s ease; }
.space-card:hover img { transform: scale(1.045); }
.space-card span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px; font: 800 1.7rem/1 'Barlow Condensed', Impact, sans-serif; }
.color-preview, .gallery-section { background: var(--paper); }
.swatch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.swatch-grid figure { background: var(--white); border: 1px solid var(--line); }
.swatch-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.swatch-grid figcaption { padding: 11px 14px; font-weight: 750; }
.color-note { margin-top: 24px; color: var(--muted); }
.process-track { overflow-x: auto; padding: 4px 0 14px; }
.process-grid {
  position: relative;
  isolation: isolate;
  counter-reset: stage;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  min-width: 960px;
  list-style: none;
  padding: 0 26px 0 0;
  margin: 0;
}
.process-grid::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 44px;
  background: var(--red);
  clip-path: polygon(0 16%, calc(100% - 23px) 16%, calc(100% - 23px) 0, 100% 50%, calc(100% - 23px) 100%, calc(100% - 23px) 84%, 0 84%);
  z-index: -1;
}
.process-grid li { counter-increment: stage; padding-inline: 6px; }
.process-grid li::before {
  content: counter(stage);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}
.process-grid h3 { min-height: 2.05em; font-size: 1.42rem; text-align: center; }
.process-grid p { color: var(--muted); margin-top: 8px; }
.quote-band { background: var(--blue); color: var(--white); padding-block: 42px; }
.quote-band p { margin-top: 8px; color: #e5ebf7; }
footer { background: var(--navy); color: var(--white); padding-block: 30px; }
footer p { color: #d2dbea; font-size: .9rem; }
footer a:hover { text-decoration: underline; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.gallery-filters button { background: var(--white); color: var(--navy); border: 1px solid #aab7cb; border-radius: 4px; padding: 8px 14px; font-weight: 700; }
.gallery-filters button:hover { border-color: var(--red); color: var(--red-dark); }
.gallery-filters button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
.project-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; border-radius: 6px; }
.project-view { display: grid; aspect-ratio: 16 / 9; }
.project-view.is-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.project-photo { border: 0; padding: 0; position: relative; display: block; width: 100%; height: 100%; min-height: 0; background: var(--paper); overflow: hidden; cursor: zoom-in; }
.project-photo:focus-visible { outline-offset: -4px; z-index: 1; }
.project-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-photo span { position: absolute; bottom: 10px; left: 10px; background: var(--white); color: #000; padding: 3px 8px; border-radius: 3px; font-size: .73rem; font-weight: 700; }
.angle-controls { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px; font-size: .8rem; color: var(--muted); }
.dialog-close { background: var(--navy); color: var(--white); border: 0; border-radius: 4px; width: 36px; height: 36px; font-size: 1.4rem; line-height: 1; }
.dialog-close:hover { background: var(--red); }
.photo-dialog { width: max-content; max-width: 94vw; max-height: 92vh; background: var(--navy); color: var(--white); padding: 10px; border: 0; border-radius: 6px; }
.photo-dialog::backdrop { background: rgb(5 13 27 / .88); }
.photo-dialog form { display: flex; justify-content: end; margin-bottom: 8px; }
.photo-dialog img { max-height: 77vh; object-fit: contain; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; padding-block: 12px; gap: 14px; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; }
  .header-quote { font-size: .82rem; padding: .62rem .73rem; }
  .hero-inner { min-height: 460px; padding-block: 70px; }
  .space-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .space-card, .space-card:nth-child(n+4) { grid-column: auto; min-height: 160px; }
  .space-card span { padding: 12px; font-size: 1.4rem; }
  .swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: 1fr; }
}
@media (max-width: 375px) {
  .brand { font-size: 1.25rem; }
  .brand img { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .space-card img { transition: none; }
}

.process-photo { margin: 14px 0; }
.process-photo label {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px dashed #8d9db5;
  border-radius: 4px;
  background: var(--paper);
  cursor: pointer;
}
.process-photo label:focus-within { outline: 3px solid #3029f4; outline-offset: 3px; }
.process-photo input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.process-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process-photo-label { z-index: 1; padding: 5px 10px; border-radius: 4px; background: var(--white); color: var(--navy); font-size: .85rem; font-weight: 750; }
.process-photo img:not([hidden]) ~ .process-photo-label { place-self: end center; margin: 8px; }
.process-photo button { margin-top: 6px; border: 0; padding: 2px 0; background: transparent; color: var(--red-dark); font-size: .82rem; text-decoration: underline; }
.process-photo [role="status"] { display: block; font-size: .82rem; color: var(--muted); }

@media (min-width: 1050px) {
  .process-section > .wrap { width: min(1560px, calc(100% - 48px)); }
  .process-photo label { aspect-ratio: 4 / 3; }
}

@media (max-width: 1023px) {
  .process-track { overflow-x: visible; }
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    min-width: 0;
    padding: 0 0 22px;
  }
  .process-grid::before {
    inset: 0 auto 0 17px;
    width: 10px;
    height: auto;
    clip-path: polygon(20% 0, 80% 0, 80% calc(100% - 10px), 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px), 20% calc(100% - 10px));
  }
  .process-grid li { position: relative; padding: 8px 0 0 58px; }
  .process-grid li::before { position: absolute; top: 0; left: 0; margin: 0; }
  .process-grid h3 { min-height: 0; text-align: left; }
}

.service-hero { position: relative; isolation: isolate; color: var(--white); background: var(--blue); }
.service-hero-photo, .service-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.service-hero-photo { object-fit: cover; object-position: center 66%; }
.service-hero::after { content: ''; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.62) 45%, transparent 80%); }
.service-hero-empty::after { content: none; }
.service-hero-empty .service-hero-inner { min-height: 0; }
.service-hero-inner { min-height: 480px; padding-block: clamp(60px, 10vw, 130px); }
.service-hero h1 { max-width: 850px; font-size: clamp(3.1rem, 7vw, 6.5rem); }
.service-hero h1 + p { max-width: 620px; margin: 18px 0 24px; font-size: 1.12rem; }
.service-summary { max-width: 780px; color: var(--muted); margin-top: 14px; font-size: 1.08rem; }
.service-subheading { margin: 38px 0 16px; font-size: clamp(2rem, 4vw, 3rem); }
.service-process { background: var(--blue); color: var(--white); }
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.service-cards li { background: var(--paper); color: var(--ink); border-top: 3px solid var(--red); padding: 20px; }
.service-cards p { color: var(--muted); margin-top: 8px; }
.service-steps { counter-reset: service-step; margin-top: 24px; }
.service-steps li { counter-increment: service-step; }
.service-steps li::before { content: counter(service-step, decimal-leading-zero); display: block; color: var(--red-dark); font-weight: 800; margin-bottom: 8px; }
@media (max-width: 760px) {
  .service-hero-inner { min-height: 0; }
  .service-hero::after { background: linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.55)); }
  .service-cards { grid-template-columns: 1fr; }
}

.experience-note { display: inline-block; margin-top: 22px; padding-left: 12px; border-left: 4px solid var(--red); font-weight: 800; }
.review-section { background: var(--paper); }
.review-controls { display: flex; gap: 8px; }
.review-controls button { border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); padding: 7px 12px; }
.review-track { position: relative; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.review-card { flex: 0 0 min(100%, 720px); scroll-snap-align: start; padding: clamp(20px, 4vw, 42px); border: 1px solid var(--line); border-top: 4px solid var(--red); background: var(--white); }
.review-track::after { content: ''; flex: 0 0 max(0px, calc(100% - 736px)); }
.review-stars { color: #a45d00; letter-spacing: .17em; }
.review-card p + p { margin: 12px 0 18px; }
.review-source { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer { background: var(--navy); padding-top: 48px; }
.footer-columns { display: grid; grid-template-columns: 1.4fr 1fr .85fr 1.4fr; gap: 28px; }
.footer-columns h2 { font: 800 1.05rem/1.2 Inter, sans-serif; margin-bottom: 10px; }
.footer-columns ul { margin: 0; padding: 0; list-style: none; }
.footer-columns li + li { margin-top: 5px; }
.footer-columns a { overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid #ffffff44; padding-top: 15px; margin-top: 28px; }
@media (max-width: 850px) { .footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 430px) { .footer-columns { grid-template-columns: 1fr; } }

.review-person { display: flex; align-items: center; gap: 14px; }
.review-avatar { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 800; }
.review-text { margin-top: 16px; color: var(--muted); }

.contact-section { background: var(--red); color: var(--white); transition: background-color .36s ease; }
.contact-section.is-phone-step { background: var(--blue); }
.contact-layout { display: grid; grid-template-columns: 1fr minmax(0, 440px); align-items: center; gap: clamp(24px, 8vw, 110px); max-width: 1100px; }
.contact-step { margin-bottom: 16px; font-size: .88rem; font-weight: 800; letter-spacing: .14em; }
.contact-intro h2 { max-width: 10ch; font-size: clamp(2.9rem, 6vw, 5.5rem); }
.contact-intro h2:focus { outline: none; }
.service-contact-form { border-radius: 16px; padding: clamp(18px, 3vw, 32px); background: var(--white); color: var(--ink); box-shadow: 0 16px 45px #0003; }
.contact-options { display: grid; gap: 7px; }
.contact-options[hidden], .contact-phone[hidden] { display: none; }
.contact-options button { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 15px; background: var(--white); color: var(--ink); font-weight: 700; text-align: left; transition: background-color .18s, border-color .18s; }
.contact-options button span { color: var(--red-dark); }
.contact-options button:hover { border-color: var(--red); background: #fff2f2; }
.contact-back { border: 0; padding: 0; background: transparent; color: var(--blue); font-weight: 750; }
.contact-selection { margin: 12px 0 20px; color: var(--muted); }
.contact-phone label { display: block; font-weight: 750; margin-bottom: 6px; }
.contact-phone input { width: 100%; border: 1px solid #8d9db5; border-radius: 8px; padding: 12px 14px; font: inherit; }
.contact-submit { display: flex; justify-content: space-between; width: 100%; margin-top: 12px; border: 0; border-radius: 8px; padding: 12px 14px; background: var(--blue); color: var(--white); font-weight: 750; }
.contact-status { margin-top: 12px; color: var(--muted); font-size: .83rem; }
@media (max-width: 720px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-intro h2 { max-width: 16ch; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-section, .contact-options button { transition: none; }
}

@media (min-width: 900px) {
  .review-controls { display: none; }
  .review-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .review-track::after { content: none; }
  .review-card { aspect-ratio: 1; padding: clamp(20px, 3vw, 34px); }
}

.contact-section, .contact-section.is-phone-step { background: var(--paper); color: var(--white); }
.contact-layout { display: block; max-width: 680px; }
.service-contact-form { background: var(--red); color: var(--white); padding: clamp(20px, 5vw, 40px); transition: background-color .36s ease; }
.is-phone-step .service-contact-form { background: var(--blue); }
.contact-intro { margin-bottom: 22px; }
.contact-intro h2 { max-width: none; font-size: clamp(2.1rem, 5vw, 3.3rem); }
.contact-step { margin-bottom: 8px; }
.contact-back, .contact-selection, .contact-status { color: var(--white); }
.contact-phone input { background: var(--white); color: var(--ink); }
.contact-submit { background: var(--white); color: var(--blue); }
.service-contact-form :focus-visible { outline: 3px solid white; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .service-contact-form { transition: none; } }

.review-section {
  background: linear-gradient(155deg, #e5effc, #f9fbff 55%, #fff0f0);
}
.review-section #review-heading { color: var(--navy); }
.review-section .section-intro p {
  display: inline-flex;
  margin-top: 12px;
  padding: 5px 12px;
  border: 1px solid #c9d9ed;
  border-radius: 100px;
  background: var(--white);
  color: var(--blue);
  font-weight: 750;
}
.review-card {
  --review-accent: var(--blue);
  --review-wash: #eaf2ff;
  position: relative;
  border: 1px solid #cbd9eb;
  border-top: 4px solid var(--review-accent);
  border-radius: 14px;
  background: linear-gradient(155deg, var(--white) 55%, var(--review-wash));
}
.review-card:nth-child(3n + 2) { --review-accent: var(--red); --review-wash: #fff0f0; }
.review-card:nth-child(3n + 3) { --review-accent: var(--navy); --review-wash: #f1effa; }
.review-avatar {
  background: var(--review-accent);
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--review-wash);
}
.review-person strong { color: var(--ink); }
.review-text { position: relative; margin-top: 22px; padding-left: 13px; border-left: 3px solid var(--review-accent); color: var(--ink); }

.space-card { border: 1px solid var(--blue); border-radius: 16px; }
.space-card span { min-height: 54px; }
.space-card-empty { background: var(--paper); }
.service-contact-form:not(.is-phone-step .service-contact-form) .contact-intro { color: #151515; }
.text-link { color: var(--blue); }
.button:hover { filter: brightness(.92); }
.contact-options button:focus-visible { outline-color: var(--ink); }
@media (max-width: 760px) {
  .space-grid { grid-template-columns: 1fr; gap: 14px; }
  .space-card, .space-card:nth-child(n+4) { min-height: 210px; }
  .space-card img { object-position: center 65%; }
  .space-card span { padding: 14px 16px; }
}

@media (max-width: 760px) {
  .header-inner nav { justify-content: space-between; flex-wrap: nowrap; gap: 5px; font-size: clamp(.65rem, 2.95vw, .84rem); }
  .header-inner nav a { white-space: nowrap; }
}

.angle-controls button { background: transparent; color: #000; border: 0; width: 36px; height: 36px; font-size: 1.65rem; line-height: 1; }
.angle-controls button:hover { background: #eee; border-radius: 4px; }
.project-photo:focus-visible, .angle-controls button:focus-visible { outline-color: #000; }

.gallery-heading { background: var(--white); padding-block: clamp(28px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.gallery-heading h1 { color: var(--ink); font-size: clamp(2.7rem, 6vw, 4.8rem); }
@media (max-width: 760px) {
  .gallery-filters { flex-wrap: nowrap; overflow-x: auto; padding: 4px 4px 8px; gap: 5px; }
  .gallery-filters button { flex: 0 0 auto; white-space: nowrap; padding: 6px; font-size: .72rem; }
}

.contact-section-heading { color: #000; text-align: center; margin-bottom: 22px; }
.contact-intro #contact-question {
  color: #fff;
  -webkit-text-stroke: 1px #c0c0c0;
  paint-order: stroke fill;
  text-shadow: 0 1px 1px #0008;
}
.is-phone-step .contact-intro #contact-question { -webkit-text-stroke: 2px #000; }

html { scroll-padding-top: 96px; }
.site-head { position: sticky; top: 0; z-index: 20; }
@media (max-width: 760px) {
  html { scroll-padding-top: 116px; }
}
