:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(2.75rem, 0.8rem + 6vw, 6.5rem);
  --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-6: 1.5rem; --space-8: 2rem;
  --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem; --space-24: 6rem;

  --blue: #1c4f9e;
  --blue-dk: #123566;
  --red: #b3202a;
  --red-dk: #8f1820;
  --navy: #0c1424;
  --ink: #15191f;
  --text: #22272e;
  --muted: #5b626b;
  --paper: #f7f6f3;
  --steel: #e9ebee;
  --line: #d5d9de;
  --white: #fff;

  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;
  --radius: 4px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: none; text-size-adjust: none; }
body { margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.eyebrow { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: var(--space-3); display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; }
.eyebrow--light { color: #ffd2d2; }
.h2 { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: var(--text-2xl); letter-spacing: -0.015em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); text-decoration: none; padding: .95rem 1.5rem; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s; letter-spacing: .02em; }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .6rem 1rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dk); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dk); }
.btn--ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--white { background: #fff; color: var(--blue-dk); }
.btn--white:hover { background: var(--paper); }

/* Top bar & header */
.topbar { background: var(--navy); color: #c9ced5; font-size: var(--text-xs); }
.topbar__in { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.header { position: sticky; top: 0; z-index: 50; background: #070a10; border-bottom: 3px solid var(--red); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { height: 72px; width: 72px; }
.brand__name { font-family: var(--font-display); font-weight: 900; font-stretch: 112%; text-transform: uppercase; color: #fff; font-size: 1.35rem; line-height: 1; display: flex; flex-direction: column; gap: .3rem; }
.brand__name small { font-family: var(--font-body); font-weight: 700; font-size: .68rem; letter-spacing: .12em; color: #ff8a8f; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a:not(.btn) { font-size: var(--text-sm); font-weight: 500; text-decoration: none; color: #e6e9ee; position: relative; padding-block: .3rem; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .2s; }
.nav a:not(.btn):hover::after { right: 0; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,16,24,.82) 0%, rgba(12,16,24,.55) 45%, rgba(12,16,24,.05) 80%), linear-gradient(0deg, rgba(12,16,24,.7) 0%, transparent 40%); }
.hero__in { position: relative; padding-block: clamp(4rem, 10vw, 7rem) clamp(2.5rem, 5vw, 4rem); }
.hero__title { font-family: var(--font-display); font-weight: 900; font-stretch: 115%; font-size: var(--text-hero); line-height: .95; letter-spacing: -0.02em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-6); }
.hero__lede { max-width: 36rem; font-size: var(--text-base); color: #e4e7eb; margin-bottom: var(--space-8); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__strip { position: relative; background: linear-gradient(90deg, var(--navy), var(--blue)); border-top: 4px solid var(--red); }
.hero__strip-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__strip-in > div { padding: 1.25rem 1rem; border-left: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; }
.hero__strip-in > div:first-child { border-left: 0; padding-left: 0; }
.hero__strip strong { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: var(--text-xl); line-height: 1; }
.hero__strip span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: #cfdcf1; margin-top: .35rem; }

/* Sections */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--steel { background: var(--steel); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.section__head--row .section__intro { max-width: 26rem; }
.section__intro { color: var(--muted); margin-top: var(--space-4); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(20,25,31,.45); }
.svc img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.svc__body { padding: 1.25rem 1.25rem 1.5rem; border-top: 4px solid var(--blue); }
.svc__num { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xs); color: var(--red); letter-spacing: .08em; }
.svc h3, .svc-list h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); margin: .2rem 0 .4rem; }
.svc p, .svc-list p { color: var(--muted); font-size: var(--text-sm); }
.svc-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--space-8); border-top: 2px solid var(--ink); }
.svc-list li { display: flex; gap: .9rem; padding: 1.5rem 1.25rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.svc-list li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.svc-list .svc__num { padding-top: .45rem; }

/* Builder band */
.builder { background: linear-gradient(120deg, var(--navy) 0%, var(--blue-dk) 60%, var(--blue) 100%); color: #dfe7f3; position: relative; overflow: hidden; }
.builder::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 2px, transparent 2px 28px); }
.builder__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.builder__in > div { max-width: 40rem; }
.builder .h2 { color: #fff; font-size: var(--text-xl); margin-bottom: var(--space-3); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: var(--space-3); }
.g { padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); position: relative; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g:hover img { transform: scale(1.04); }
.g::after { content: attr(data-cap); position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem; text-align: left; color: #fff; font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; background: linear-gradient(transparent, rgba(10,14,20,.75)); opacity: 0; transition: opacity .25s; }
.g:hover::after, .g:focus-visible::after { opacity: 1; }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }

/* Area */
.area__map img { width: 100%; max-width: 560px; border-radius: 8px; margin-bottom: 1.5rem; box-shadow: 0 20px 40px -24px rgba(12,20,36,.6); }
.area { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.area p:not(.eyebrow) { color: var(--muted); margin: var(--space-4) 0 var(--space-8); max-width: 30rem; }
.states { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.states li { padding: .95rem 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); display: flex; align-items: baseline; gap: .4rem; }
.states li::before { content: ""; width: 8px; height: 8px; background: var(--red); flex: none; transform: translateY(-1px); }
.states li:first-child::before { background: var(--blue); }
.states small { font-weight: 500; color: var(--muted); font-size: var(--text-xs); }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border-block: 1px solid var(--line); }
.about__img img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.about__text { padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 5rem); align-self: center; max-width: 40rem; }
.about__text > p:not(.eyebrow) { color: var(--muted); margin: var(--space-4) 0 var(--space-6); }
.checks li { padding: .55rem 0 .55rem 1.9rem; position: relative; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }

/* Contact */
.contact { background: var(--navy); color: #c9ced5; }
.contact__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact .h2 { color: #fff; font-size: var(--text-xl); }
.info { margin: var(--space-8) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; }
.info dt { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; color: #8a929c; margin-bottom: .35rem; font-weight: 700; }
.info dd { margin: 0; color: #fff; font-weight: 500; }
.info a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.info a:hover { border-color: #fff; }
.form { background: #fff; color: var(--text); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); border-top: 5px solid var(--red); display: grid; gap: 1rem; }
.form h3 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 700; }
.form__note { color: var(--muted); font-size: var(--text-sm); margin-top: -.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: var(--text-sm); font-weight: 700; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: var(--text-base); padding: .75rem .85rem; border: 1px solid #b9bfc6; border-radius: var(--radius); background: #fff; color: var(--text); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form [aria-invalid="true"] { border-color: var(--red); }
.form__error { color: var(--red); font-size: var(--text-sm); font-weight: 700; }
.form .btn { justify-self: start; }

/* Footer */
.footer { background: #070a10; color: #8a929c; padding-block: 2.5rem 6rem; font-size: var(--text-xs); }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer img { height: 88px; width: 88px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer nav a { color: #d4d8dd; text-decoration: none; font-size: var(--text-sm); }
.footer nav a:hover { color: #fff; }
.footer p { width: 100%; border-top: 1px solid #252a31; padding-top: 1.25rem; }
.footer p a { color: #d4d8dd; }

.callbar { display: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8,10,14,.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(1200px, 88vw); }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox figcaption { color: #dfe3e8; text-align: center; margin-top: .9rem; font-size: var(--text-sm); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc-list { grid-template-columns: repeat(2, 1fr); }
  .svc-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #070a10; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; border-bottom: 3px solid var(--red); box-shadow: 0 12px 24px -16px rgba(0,0,0,.5); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid #222a36; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .area, .about, .contact__in { grid-template-columns: 1fr; }
  .about__img img { min-height: 0; aspect-ratio: 16/10; }
  .builder__in { flex-direction: column; align-items: flex-start; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 0; }
}
@media (max-width: 600px) {
  .topbar__in > span:first-child { display: none; }
  .topbar__in { justify-content: center; }
  .header__in { height: 70px; }
  .brand img { height: 58px; width: 58px; }
  .brand__name { font-size: 1.05rem; }
  .brand__name small { font-size: .6rem; }
  .hero { min-height: 82vh; }
  .hero__shade { background: linear-gradient(0deg, rgba(12,16,24,.92) 0%, rgba(12,16,24,.6) 55%, rgba(12,16,24,.25) 100%); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__strip-in { grid-template-columns: repeat(2, 1fr); }
  .hero__strip-in > div { padding: 1rem 0 1rem 1rem; }
  .hero__strip-in > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero__strip-in > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .services, .svc-list { grid-template-columns: 1fr; }
  .svc-list li, .svc-list li + li { padding-left: 0; border-left: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: .5rem; }
  .states { grid-template-columns: repeat(2, 1fr); }
  .info, .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .callbar { display: block; position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 40; background: var(--red); color: #fff; text-align: center; font-weight: 700; text-decoration: none; padding: 1rem; border-radius: var(--radius); box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transform: translateY(160%); transition: transform .25s; }
  .callbar.show { transform: none; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1.25rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.about__text .h2 { font-size: var(--text-xl); }
