/* Heath Kelly Construction — interim static copy of the Duda site (Nov 2026). */
:root {
  --navy: #012366;
  --navy-a: rgba(1, 35, 102, .84);
  --gold: #996300;        /* brand gold (backgrounds, large text) */
  --gold-text: #855600;   /* gold for body-size text on white: 6.1:1 */
  --ink: #222;
  --grey-text: #595959;
  --topbar: #d9d9d9;
  --footer: #d0d0d0;
  --tint: #f9f9f9;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Roboto", Arial, sans-serif;
  --wrap: 1360px;
  --hdr: 178px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.5 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #ffbf47; outline-offset: 2px;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--head); font-weight: 400; line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h5 { font-family: var(--body); font-size: 16px; font-weight: 500; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.c-gold { color: var(--gold-text); }
.c-navy { color: var(--navy); }
.c-grey { color: var(--grey-text); }
.c-white { color: inherit; }
.ta-left { text-align: left; } .ta-center { text-align: center; } .ta-right { text-align: right; }
.mobile-only { display: none !important; }

/* ---------- header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.logo {
  position: absolute; left: 0; top: 0; z-index: 3; width: 360px; height: 184px;
  background: url(/assets/img/logo-container.png) right top / auto 100% no-repeat;
  display: flex; align-items: center; padding-left: 47px;
}
.logo::before { content: ""; position: absolute; inset: 0 60px 0 0; background: #fff; z-index: -1; }
.logo img { width: 176px; }
.topbar { background: var(--topbar); height: 91px; display: flex; align-items: center; justify-content: center; gap: 13vw; padding-left: 360px; }
.call { text-align: center; font-family: var(--head); }
.call span { display: block; font: italic 17px var(--body); color: var(--ink); }
.call a { font-size: 24px; color: #6e4700; font-weight: 500; }
.social { display: flex; gap: 6px; }
.soc { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.soc svg { width: 26px; height: 26px; }
.soc.fb { background: #1877f2; }
.soc.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.mainnav { background: var(--navy-a); height: 87px; border-bottom: 1px solid rgba(255,255,255,.6); display: flex; align-items: center; justify-content: flex-end; padding: 0 140px 0 380px; }
.mainnav > ul { list-style: none; display: flex; margin: 0; padding: 0; align-items: center; }
.mainnav > ul > li { position: relative; display: flex; align-items: center; }
.mainnav > ul > li + li::before { content: "/"; color: rgba(255,255,255,.45); margin: 0 8px; }
.mainnav a { color: #fff; text-decoration: none; font-size: 16px; padding: 8px 2px; display: inline-block; }
.mainnav a:hover, .mainnav li.active > a { font-weight: 700; }
.mainnav a[aria-current="page"] { font-weight: 700; }
.sub-toggle { background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; display: inline-grid; }
.sub-toggle svg { width: 10px; height: 8px; }
.sub { list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--navy); display: none; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
.sub a { display: block; padding: 10px 18px; }
.menu-toggle { display: none; }

/* ---------- heroes ---------- */
.hero { position: relative; min-height: 537px; padding-top: var(--hdr); display: grid; place-items: center; background: #000 var(--bg) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.38); }
.hero-title { position: relative; margin: 0; color: #fff; font: 500 45px/1.1 var(--head); text-align: center; padding: 0 20px; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
body:not(:has(.hero, .home-hero)) main { padding-top: var(--hdr); }

.home-hero { position: relative; padding-top: calc(var(--hdr) + 130px); padding-bottom: 150px; overflow: hidden; background: #333; }
.slides, .slide { position: absolute; inset: 0; }
.slide { background-size: cover; background-position: center; }
.slides::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.22); }
.slide.s2 { animation: fade 12s infinite; opacity: 0; }
@keyframes fade { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .slide.s2 { animation: none; } }
.home-hero-inner { position: relative; text-align: center; }
.home-hero .hero-title { font-size: 35px; }
.hero-btns { margin: 20px 0 115px; display: flex; gap: 12px; justify-content: center; }
.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; text-transform: uppercase; font: 500 17px var(--body); padding: 16px 86px; border: 0; border-radius: 3px; cursor: pointer; }
.btn:hover { background: #0a3a96; }
.btn-gold { background: var(--gold); padding: 10px 54px; }
.btn-gold:hover { background: #7a4f00; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.card { background: #fff; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card h2 { margin: 0; padding: 14px 16px; font: 500 26px var(--head); text-transform: uppercase; text-align: center; }
.card h2 a { color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.card-gold h2 a { color: var(--gold-text); }
.card h2 img { width: 36px; height: 36px; }
.card-img { width: 100%; height: 145px; object-fit: cover; border-bottom: 6px solid var(--navy); }
.card-gold .card-img { border-color: var(--gold); }
.card p { margin: 0; padding: 18px 20px; font-size: 16px; }

.band { background: var(--gold); }
.band-inner { display: grid; grid-template-columns: 335px 500px; gap: 30px; align-items: center; height: 143px; }
.band-img { width: 335px; height: 222px; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,.35); align-self: start; margin-top: -30px; }
.band-cta { background: #6e4700; color: #fff; text-decoration: none; font-size: 22px; text-align: center; padding: 22px; }
.band-cta:hover { background: #5a3a00; }
.home-main .grid { align-items: start; }
.home-main { padding-top: 90px; }
.home-side { margin-top: -272px; position: relative; z-index: 2; }
.home-side .embed { margin-top: 18px; }
.parallax { height: 400px; background: var(--bg) center / cover no-repeat; }

/* ---------- content rows ---------- */
.row { padding: 48px 0; }
.row.tinted + .row.tinted { padding-top: 0; }
.page-letters-of-recommendation .row:not(.tinted) + .row:not(.tinted),
.page-residential-testimonials .row:not(.tinted) + .row:not(.tinted) { border-top: 1px solid #1f3f7f; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 40px; row-gap: 24px; align-items: center; }
.col { grid-column: span var(--span, 12); min-width: 0; }
.rt + .rt, .rt + figure, figure + .rt { margin-top: 16px; }
.rt p { margin: 0 0 1em; }
.rt ul { margin: 0; padding-left: 20px; }
.rt li { margin-bottom: 2px; }
div.rt h1, div.rt h2 { margin-bottom: .4em; }
figure.img { margin: 0 auto; }
figure.img img { width: 100%; }
.page-residential-testimonials h2.rt, .page-letters-of-recommendation h2.rt { font-size: 20px; color: var(--grey-text); }
.page-residential-testimonials h2.rt::before, .page-letters-of-recommendation h2.rt::before { content: "\201C"; display: block; font-size: 44px; line-height: .6; color: #8fc3d4; margin-bottom: 10px; }

.gallery { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }

.embed { position: relative; aspect-ratio: 16 / 9; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #000; width: 100%; }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.play-icon { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; background: rgba(1,35,102,.9); border-radius: 8px; }
.play-icon::after { content: ""; position: absolute; left: 29px; top: 14px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.video-play:hover .play-icon { background: var(--gold); }
.embed.map { aspect-ratio: auto; height: 400px; margin-bottom: 20px; }
.sitemap li { margin: 6px 0; }

/* ---------- form ---------- */
.contact-form { background: var(--navy); color: #fff; padding: 24px 25px 30px; border: 8px solid #fff; outline: 1px solid #ddd; display: grid; gap: 4px; }
.contact-form label { font-weight: 500; margin-top: 12px; }
.contact-form label:first-of-type { margin-top: 0; }
.contact-form input, .contact-form textarea { width: 100%; background: var(--navy); color: #fff; border: 2px solid #fff; border-radius: 3px; padding: 10px; font: inherit; }
.contact-form button { justify-self: end; margin-top: 18px; }
.contact-form .hp { display: none; }
.form-status { margin: 8px 0 0; min-height: 1em; }
.form-status:empty { display: none; }
.contact-form.light { background: none; color: var(--ink); border: 0; outline: 0; padding: 0; }
.contact-form.light input:not([type=checkbox]):not([type=radio]), .contact-form.light textarea { background: #fff; color: var(--ink); border: 1px solid #949494; }
.contact-form.light label { font-weight: 400; }
.contact-form fieldset { border: 0; padding: 0; margin: 14px 0 0; }
.contact-form legend { padding: 0; margin-bottom: 6px; }
.contact-form .opts { display: flex; flex-wrap: wrap; gap: 6px 40px; }
.contact-form label.opt { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.contact-form .opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.page-contact-us .contact-form { grid-template-columns: 1fr 1fr; column-gap: 30px; }
.page-contact-us .contact-form > * { grid-column: 1 / -1; }
.page-contact-us .contact-form > label[for$=email], .page-contact-us .contact-form > #f-contact-us-email { grid-column: 1; }
.page-contact-us .contact-form > label[for$=phone], .page-contact-us .contact-form > #f-contact-us-phone { grid-column: 2; }
.page-contact-us .contact-form > label[for$=email] { grid-row: 3; } .page-contact-us .contact-form > label[for$=phone] { grid-row: 3; }
.page-contact-us .contact-form > #f-contact-us-email { grid-row: 4; } .page-contact-us .contact-form > #f-contact-us-phone { grid-row: 4; }
.contact-form.light button { justify-self: end; padding: 10px 78px; }
.findus { display: block; text-align: center; margin: 0 calc(50% - 50vw); padding: 14px; border-radius: 0; }
.page-contact-us .row:last-of-type { padding-bottom: 0; }
.page-contact-us .embed.map { margin: 0 calc(50% - 50vw); }
.page-residential-testimonials h1.rt, .page-letters-of-recommendation h1.rt { text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer); padding: 40px 0 20px; text-align: center; }
.footer-grid { display: grid; grid-template-columns: 205px 300px 220px 170px; gap: 30px; justify-content: center; align-items: start; }
.site-footer h2 { font: 400 24px var(--body); text-transform: uppercase; margin: 0 0 10px; }
.site-footer p { margin: 0; }
.site-footer .social { justify-content: center; }
.legal { font-size: 12px; text-transform: uppercase; margin-top: 50px !important; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 90vw; max-height: 88vh; }
.lightbox button { position: fixed; background: rgba(0,0,0,.5); color: #fff; border: 0; font-size: 44px; line-height: 1; width: 56px; height: 56px; cursor: pointer; border-radius: 50%; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* ---------- responsive ---------- */
@media (max-width: 1250px) {
  .mainnav { padding-right: 24px; }
  .mainnav a { font-size: 15px; }
  .mainnav > ul > li + li::before { margin: 0 4px; }
  .topbar { gap: 6vw; }
}
@media (max-width: 1024px) {
  :root { --hdr: 150px; }
  .wrap { padding: 0 20px; }
  .logo { width: 230px; height: 118px; padding-left: 20px; }
  .logo::before { right: 40px; }
  .logo img { width: 120px; }
  .topbar { height: 80px; padding-left: 230px; gap: 20px; }
  .call a { font-size: 22px; }
  .mainnav { height: 70px; padding: 0 20px; justify-content: flex-end; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 2px solid #fff; color: #fff; font: 500 16px var(--body); padding: 8px 14px; border-radius: 3px; cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .mainnav > ul { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 8px 0 16px; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
  .mainnav.open > ul { display: flex; }
  .mainnav > ul > li { flex-wrap: wrap; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .mainnav > ul > li + li::before { display: none; }
  .mainnav a { font-size: 17px; padding: 12px 0; }
  .sub-toggle { padding: 12px; }
  .sub-toggle svg { width: 14px; height: 10px; }
  .sub { position: static; width: 100%; box-shadow: none; padding: 0 0 8px 16px; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .hero-btns { margin-bottom: 50px; }
  .home-hero { padding-top: calc(var(--hdr) + 60px); padding-bottom: 50px; }
  .band-inner { grid-template-columns: 1fr; height: auto; padding: 24px 20px; justify-items: center; }
  .band-img { margin: 0; width: 100%; max-width: 335px; height: auto; }
  .home-side { margin-top: 0; }
  .home-main { padding-top: 32px; }
  .grid { grid-template-columns: 1fr; }
  .col { grid-column: 1 / -1; }
  .col-empty { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flogo img { margin: 0 auto; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .parallax { background-attachment: scroll; height: 260px; }
}
@media (max-width: 640px) {
  :root { --hdr: 132px; }
  .logo { width: 150px; height: 62px; padding-left: 12px; }
  .logo::before { right: 24px; }
  .logo img { width: 80px; }
  .topbar { height: 62px; padding-left: 150px; justify-content: flex-end; padding-right: 12px; }
  .topbar .social { display: none; }
  .call span { font-size: 13px; }
  .call a { font-size: 20px; }
  .mainnav { height: 70px; }
  .hero { min-height: 340px; }
  .hero-title { font-size: 34px; }
  .home-hero .hero-title { font-size: 28px; }
  .mobile-only { display: inline-block !important; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { padding: 14px 40px; }
  .card h2 { font-size: 22px; }
  .row { padding: 32px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .page-contact-us .contact-form > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .lightbox button { width: 44px; height: 44px; font-size: 32px; }
}
