/* DJ Painting Services LLC — styles
   v3 red: Ink #151719 · Brick red #C0262D · Deep red #8E1A1F · Coral #E5574F · Light red #FF8A80 · Warm chalk #F6F3EB · Steel #626A70 */

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #151719;
  --red: #C0262D;
  --red-hi: #D63A40;
  --red-mid: #E5574F;
  --red-deep: #8E1A1F;
  --red-light: #FF8A80;
  --red-tint: #F8E4E1;
  --chalk: #F6F3EB;
  --steel: #626A70;
  --white: #FFFFFF;
  --ink-soft: #2a2e31;
  --chalk-dim: rgba(246, 243, 235, 0.78);
  --line: rgba(21, 23, 25, 0.16);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 68px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--steel) var(--chalk);
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--chalk); }
::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 6px; border: 2px solid var(--chalk); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--red); color: #fff; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
.site-header :focus-visible,
.process :focus-visible,
.site-footer :focus-visible,
.lightbox :focus-visible { outline-color: var(--red-light); }
.estimate :focus-visible { outline-color: #fff; }

.wrap { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--red); color: #fff; padding: 0.75rem 1rem; font-weight: 700; border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 1rem; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
use { pointer-events: none; }

/* Type */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(3.5rem, 9.2vw, 6rem); }
h2 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); }
h3 { font-size: 1.625rem; line-height: 1; }
p { max-width: 62ch; text-wrap: pretty; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0.9rem 1.6rem; font-size: 1.0625rem; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hi); box-shadow: 0 6px 16px -6px rgba(21, 23, 25, 0.45); transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--chalk); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-soft); box-shadow: 0 6px 16px -6px rgba(21, 23, 25, 0.5); transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-soft); box-shadow: 0 8px 18px -8px rgba(21, 23, 25, 0.6); transform: translateY(-1px); }
.btn-outline-ink { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: transparent; }
.btn-outline-ink:hover { background: #fff; color: var(--red-deep); border-color: #fff; }

/* 1. Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--white);
  border-bottom: 3px solid var(--red);
}
.header-inner { display: flex; align-items: center; gap: 0.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; padding: 0.4rem 0; }
.brand-emblem { height: 56px; width: auto; aspect-ratio: 200 / 183; }
.brand-name {
  white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 1.5rem; line-height: 0.92; letter-spacing: 0.01em;
}
.brand-name span { display: block; font-size: 0.95rem; color: var(--white); letter-spacing: 0.08em; }

.nav ul { display: flex; gap: 0.25rem; }
.nav a:not(.btn) {
  display: inline-block; padding: 0.7rem 0.75rem; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  color: var(--chalk-dim); border-radius: var(--radius); transition: color 0.2s;
}
.nav a:not(.btn):hover { color: var(--red-light); }
.nav { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.95rem; white-space: nowrap; }

.header-call, .menu-btn {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 2px solid rgba(246, 243, 235, 0.35); border-radius: var(--radius); background: transparent; color: var(--white); text-decoration: none;
}
.header-call { background: var(--red); border-color: var(--red); color: #fff; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 1199px) {
  .header-inner { gap: 0.6rem; }
  .header-call, .menu-btn { display: inline-flex; }
  .brand-emblem { height: 48px; }
  .brand-name { font-size: 1.25rem; }
  .brand-name span { font-size: 0.8rem; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0.5rem;
    padding: 0.75rem var(--gutter) 1.25rem;
    background: var(--ink); border-bottom: 3px solid var(--red);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { display: block; padding: 0.95rem 0.25rem; font-size: 1.05rem; border-bottom: 1px solid rgba(246, 243, 235, 0.14); border-radius: 0; }
  .nav-cta { min-height: 52px; margin-top: 0.5rem; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 1.1rem; }
  .brand-name span { letter-spacing: 0.04em; }
}


/* Language switch */
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  height: 48px; min-width: 48px; padding: 0 0.85rem; margin-left: 0.25rem;
  background: transparent; color: var(--white); border: 2px solid rgba(246, 243, 235, 0.35); border-radius: var(--radius);
  font-weight: 700; font-size: 0.9rem; transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.lang-btn:hover { border-color: var(--red-light); color: var(--red-light); }
.lang-btn .lang-short { display: none; }
@media (max-width: 1199px) {
  .lang-btn { padding: 0; width: 48px; margin-left: 0; }
  .lang-btn .ico, .lang-btn .lang-long { display: none; }
  .lang-btn .lang-short { display: inline; }
}

/* 2. Hero */
.hero { background: var(--chalk); overflow: clip; }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.25rem;
  padding-block: clamp(2rem, 5vw, 4rem) 0;
}
.hero-copy { align-self: center; padding-bottom: 0.5rem; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.swipe {
  background: linear-gradient(var(--red-mid), var(--red-mid)) no-repeat 0 90% / 100% 0.44em;
  padding-inline: 0.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: swipe 0.9s var(--ease) 0.25s both;
}
@keyframes swipe { from { background-size: 0% 0.44em; } to { background-size: 100% 0.44em; } }

.lead { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 600; line-height: 1.35; margin-bottom: 1.75rem; max-width: 24ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-facts { display: grid; gap: 0.2rem; font-weight: 600; color: var(--steel); }
.hero-facts li { padding-left: 1.1rem; position: relative; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5rem; height: 0.5rem; background: var(--red); border: 1.5px solid var(--ink); border-radius: 50%; }

.hero-media { position: relative; margin-inline: calc(var(--gutter) * -1); }
.hero-photo { position: relative; z-index: 1; aspect-ratio: 4 / 3; background: var(--steel); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-media::before { content: none; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 3rem; padding-block: 0; min-height: min(80vh, 720px); }
  .hero-copy { padding-block: 3.5rem; }
  .hero-media { margin-inline: 0 calc(50% - 50vw); margin-block: 0; align-self: stretch; }
  .hero-photo, .hero-media::before {
    clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero-photo { height: 100%; aspect-ratio: auto; }
  .hero-media::before {
    content: ""; position: absolute; inset: 0; background: var(--red); transform: translateX(-18px);
  }
  .hero-photo { animation: reveal 1.1s var(--ease) both; }
  @keyframes reveal { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%); } }
}

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }

/* 3. Services */
.services { background: var(--white); }
.services-grid { display: grid; gap: 2.5rem; }
.services-intro h2 { margin-bottom: 1.25rem; }
.services-intro p { color: var(--steel); font-size: 1.125rem; }
.service-list { border-bottom: 2px solid var(--ink); }
.service {
  display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; align-items: center;
  padding: 1.5rem 0.25rem; text-decoration: none; border-top: 2px solid var(--ink);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), padding 0.25s var(--ease);
}
.service-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1; grid-column: 1; }
.service-text { grid-column: 1; color: var(--steel); max-width: 44ch; transition: color 0.25s; }
.service-arrow { grid-column: 2; grid-row: 1 / span 2; width: 2rem; height: 2rem; transition: transform 0.25s var(--ease); }
.service:hover { background: var(--ink); color: var(--white); padding-inline: 1.25rem; }
.service:hover .service-name { color: var(--red-light); }
.service:hover .service-text { color: var(--chalk-dim); }
.service:hover .service-arrow { transform: translateX(6px); color: var(--red-light); }
.service:focus-visible { outline-offset: -3px; }

@media (min-width: 960px) {
  .services-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
  .services-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* 4. About */
.about { background: var(--chalk); }
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-media::after {
  content: ""; position: absolute; top: -14px; left: 1.5rem; width: 7.5rem; height: 2rem;
  background: var(--red-mid); transform: rotate(-3deg); border-radius: 2px;
  box-shadow: 0 3px 8px -3px rgba(21, 23, 25, 0.4);
}
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p { margin-bottom: 1rem; font-size: 1.125rem; }
.about-copy p + p { color: var(--steel); }
.facts { margin: 1.5rem 0 2rem; display: grid; gap: 0.6rem; font-weight: 600; }
.facts li { display: flex; gap: 0.7rem; align-items: flex-start; }
.facts .ico { margin-top: 0.15em; padding: 3px; color: #fff; background: var(--red); border-radius: 50%; width: 1.4em; height: 1.4em; stroke-width: 3; }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; }
}

/* 5. Projects */
.projects { background: var(--white); }
.projects-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 2.25rem; }
.tabs { display: inline-flex; padding: 4px; background: var(--chalk); border: 2px solid var(--ink); border-radius: var(--radius); }
.tab {
  min-height: 44px; padding: 0.5rem 1.15rem; border: 0; background: transparent; font-weight: 700; font-size: 0.95rem; border-radius: 3px;
  transition: background-color 0.2s, color 0.2s;
}
.tab:hover { background: rgba(21, 23, 25, 0.08); }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; }

.gallery { columns: 2; column-gap: 0.75rem; }
.gallery li { break-inside: avoid; margin-bottom: 0.75rem; }
.gallery li[hidden] { display: none; }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--steel); overflow: hidden; border-radius: var(--radius); text-align: left; }
.shot img { width: 100%; transition: transform 0.6s var(--ease); }
.shot-cap {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 0.9rem 0.7rem; font-weight: 700; font-size: 0.85rem; color: var(--white);
  background: linear-gradient(to top, rgba(21, 23, 25, 0.78), rgba(21, 23, 25, 0));
  opacity: 0; transform: translateY(6px); transition: opacity 0.25s, transform 0.25s var(--ease);
}
.shot:hover img { transform: scale(1.035); }
.shot:hover .shot-cap, .shot:focus-visible .shot-cap { opacity: 1; transform: none; }
@media (hover: none) { .shot-cap { opacity: 1; transform: none; } }
@media (min-width: 720px) { .gallery { columns: 3; column-gap: 1rem; } .gallery li { margin-bottom: 1rem; } }


/* 5b. Prep to finish */
.finish { background: var(--chalk); }
.finish h2 { margin-bottom: 3rem; }
.pair { display: grid; gap: 1.25rem 4rem; align-items: center; }
.pair + .pair { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 2px solid var(--ink); }
.pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.pair-imgs figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--steel); }
.pair-imgs img { width: 100%; height: 100%; object-fit: cover; }
.pair-land { grid-template-columns: 1fr; }
.pair-land figure { aspect-ratio: 4 / 3; }
.pair-land img { object-position: 50% 60%; }
.pair-port figure { aspect-ratio: 3 / 4; }
.chip { position: absolute; left: 0.6rem; bottom: 0.6rem; padding: 0.3rem 0.7rem; background: var(--ink); color: var(--white); font-weight: 700; font-size: 0.85rem; border-radius: 4px; }
.chip-yellow { background: var(--red); color: #fff; }
.pair-copy h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 0.6rem; }
.pair-copy p { color: var(--steel); font-size: 1.0625rem; }
@media (min-width: 720px) { .pair-land { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .pair { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}

/* 6. Process */
.process { background: var(--ink); color: var(--white); position: relative; }
.process::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: repeating-linear-gradient(135deg, #FFD21C 0 18px, var(--ink) 18px 36px); }
.process-head { display: grid; gap: 1.25rem; margin-bottom: 3rem; }
.process-head p { color: var(--chalk-dim); font-size: 1.125rem; }
.steps { counter-reset: step; display: grid; gap: 0; margin-bottom: 3rem; border-top: 1px solid rgba(246, 243, 235, 0.22); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.25rem 1fr; gap: 0 0.5rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(246, 243, 235, 0.22); }
.steps li::before { content: counter(step); grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 700; font-size: 2.75rem; line-height: 0.9; color: var(--red-light); font-variant-numeric: tabular-nums; }
.steps h3 { color: var(--white); margin-bottom: 0.35rem; }
.steps p { color: var(--chalk-dim); grid-column: 2; }

.media-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.media-strip figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-soft); aspect-ratio: 3 / 4; }
.media-strip img, .media-strip video { width: 100%; height: 100%; object-fit: cover; }
.media-strip figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 0.85rem 0.7rem; font-size: 0.85rem; font-weight: 600;
  background: linear-gradient(to top, rgba(21, 23, 25, 0.85), rgba(21, 23, 25, 0)); pointer-events: none;
}
.vid-toggle {
  position: absolute; top: 0.6rem; right: 0.6rem; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--red); color: #fff; border: 0; border-radius: 50%;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.45); transition: transform 0.2s var(--ease);
}
.vid-toggle:hover { transform: scale(1.08); }
.vid-toggle .ico { fill: currentColor; stroke-width: 2.5; width: 1.1rem; height: 1.1rem; }
.vid-toggle[data-state="playing"] .ico { fill: none; }
.media-title { font-size: 1.5rem; color: var(--red-light); margin-bottom: 1rem; }
@media (min-width: 720px) {
  .process-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; }
  .media-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 960px) {
  .process-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4.5rem; align-items: start; }
  .steps { margin-bottom: 0; }
  .steps li { padding: 1.5rem 0; }
  .media-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-strip figure { aspect-ratio: 4 / 5; }
}

/* 7. Estimate */
.estimate { background: var(--red-deep); color: #fff; padding-block: clamp(3.5rem, 8vw, 6rem); }
.estimate-grid { display: grid; gap: 2rem; align-items: center; }
.estimate-copy h2 { font-size: clamp(2.75rem, 7vw, 5.25rem); margin-bottom: 1.25rem; }
.estimate-copy p { font-size: 1.1875rem; font-weight: 600; }
.estimate-actions { display: grid; gap: 0.75rem; }
.channel-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.channel-row .btn { padding-inline: 0.6rem; }
.visit-btn { width: 100%; }
.fineprint { font-size: 0.9rem; font-weight: 600; }
@media (max-width: 480px) { .channel-row { grid-template-columns: 1fr 1fr; } .channel-row .btn:last-child { grid-column: 1 / -1; } }
@media (min-width: 960px) { .estimate-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 5rem; } }

/* 7b. Service areas */
.areas { background: var(--chalk); border-top: 1px solid var(--line); }
.areas-grid { display: grid; gap: 2.5rem; }
.areas-intro h2 { margin-bottom: 1.25rem; }
.areas-intro p { color: var(--steel); font-size: 1.125rem; margin-bottom: 1.75rem; }
.areas-lists { display: grid; gap: 2rem; }
.areas-lists h3 { margin-bottom: 0.9rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--ink); }
.city-list { columns: 2; column-gap: 1.5rem; }
.city-list li { break-inside: avoid; padding: 0.35rem 0 0.35rem 1.1rem; position: relative; font-weight: 600; }
.city-list li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 0.45rem; height: 0.45rem; background: var(--red); border-radius: 50%; }
.areas-more { grid-column: 1 / -1; font-weight: 700; font-size: 1.0625rem; padding-top: 0.25rem; }
@media (min-width: 720px) { .areas-lists { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .areas-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; } }

/* 8. Contact */
.contact { background: var(--white); }
.contact-grid { display: grid; gap: 3rem; align-items: center; }
.contact-main h2 { margin-bottom: 2rem; }
.contact-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.contact-list > div { display: grid; gap: 0.15rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 700; font-size: 0.9rem; color: var(--steel); }
.contact-list dd { font-size: 1.1875rem; font-weight: 600; }
.big-link { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.875rem, 4.4vw, 2.75rem); line-height: 1.05; text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 100% 0.12em; transition: background-size 0.25s var(--ease); font-weight: 700; }
.big-link:hover { background-size: 100% 100%; }
.big-link.email { text-transform: none; font-size: clamp(1.625rem, 3.6vw, 2.25rem); letter-spacing: 0.01em; }
.hours { display: flex; align-items: center; gap: 0.6rem; }
.hours small { display: block; margin-top: 0.15rem; font-size: 0.92rem; font-weight: 500; color: var(--steel); }
.hours .ico { color: var(--steel); }

.iowa { width: 100%; }
.map { position: relative; height: clamp(340px, 44vw, 500px); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--chalk); display: grid; place-items: center; padding: 1rem; z-index: 0; }
.map.is-live { padding: 0; display: block; }
.map .leaflet-container { height: 100%; width: 100%; font-family: var(--font-body); background: var(--chalk); }
.map .leaflet-tooltip.dm-label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--ink); background: var(--red); border: 2px solid var(--ink); border-radius: 4px; padding: 2px 8px; box-shadow: none; }
.map .leaflet-tooltip.dm-label::before { display: none; }
.map .leaflet-bar a { color: var(--ink); }
.map .leaflet-control-attribution { font-size: 0.65rem; }
.iowa svg { width: 100%; height: auto; overflow: visible; }
.iowa-shape { fill: var(--chalk); stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.iowa-dot { fill: var(--red); stroke: var(--ink); stroke-width: 3; }
.iowa-dot-ring { fill: none; stroke: var(--ink); stroke-width: 2; opacity: 0.5; transform-origin: 229px 196px; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(0.6); opacity: 0.7; } to { transform: scale(1.9); opacity: 0; } }
.iowa figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; margin-top: 1rem; font-weight: 600; }
.iowa figcaption strong { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.iowa figcaption span { color: var(--steel); align-self: end; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 6rem; } }

/* 9. Footer */
.site-footer { background: var(--ink); color: var(--chalk-dim); padding-top: 4rem; border-top: 3px solid var(--red); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 160px; }
.footer-tag { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.75rem; line-height: 1; color: var(--white); margin-bottom: 0.75rem; }
.footer-col ul { display: grid; gap: 0.15rem; }
.footer-col a { display: inline-block; padding: 0.4rem 0; text-decoration: none; }
.footer-col a:hover { color: var(--red-light); text-decoration: underline; }
.footer-hours { margin-top: 0.75rem; font-size: 0.95rem; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1.5rem 6rem; border-top: 1px solid rgba(246, 243, 235, 0.16); font-size: 0.9rem; }
.footer-base a { color: var(--white); }
.footer-base a:hover { color: var(--red-light); }
@media (min-width: 720px) { .footer-base { padding-right: 5rem; } }
.to-top {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 72px); z-index: 59;
  display: grid; place-items: center; width: 48px; height: 48px; margin-right: 6px;
  background: var(--ink); color: var(--white); border: 2px solid var(--chalk); border-radius: 50%;
  box-shadow: 0 8px 20px -8px rgba(21, 23, 25, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s, background-color 0.2s, color 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); border-color: var(--chalk); color: #fff; transform: translateY(-3px); }
.to-top:focus-visible { outline-color: var(--red-light); outline-offset: 3px; }
.to-top .ico { width: 1.4rem; height: 1.4rem; }
@media (max-width: 480px) { .to-top { bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 76px); margin-right: 6px; } }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: auto 1.4fr 1fr 1.2fr; gap: 3rem; align-items: start; }
}

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 56px; padding: 0 1.25rem 0 1rem;
  background: var(--red); color: #fff; font-weight: 800; text-decoration: none; border-radius: 999px;
  border: 2px solid var(--ink); box-shadow: 0 10px 24px -8px rgba(21, 23, 25, 0.55);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.wa-float .ico { width: 1.6rem; height: 1.6rem; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -8px rgba(21, 23, 25, 0.6); }
.wa-float:focus-visible { outline-color: var(--ink); outline-offset: 4px; }
@media (max-width: 480px) { .wa-float { width: 60px; height: 60px; padding: 0; justify-content: center; } .wa-float span { display: none; } .wa-float .ico { width: 1.9rem; height: 1.9rem; } }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(21, 23, 25, 0.96); color: var(--white); }
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: grid; place-items: center; animation: fade 0.25s var(--ease); }
.lightbox::backdrop { background: rgba(21, 23, 25, 0.96); }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { display: grid; justify-items: center; gap: 0.75rem; padding: 4.5rem 1rem 1.5rem; max-width: 100%; }
.lightbox img { max-width: min(100%, 1200px); max-height: calc(100dvh - 10rem); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { font-weight: 700; }
.lb-btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; background: var(--red); color: #fff; border: 0; border-radius: 50%; }
.lb-btn:hover { background: var(--red-hi); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } .lightbox img { max-height: calc(100dvh - 12rem); } }

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

/* Leaflet needs the global img/svg resets undone */
.leaflet-container svg, .leaflet-container img { max-width: none !important; max-height: none !important; }
.leaflet-container .leaflet-tile { height: 256px; width: 256px; }

/* 7a. Quote form */
.quote-form {
  margin-top: clamp(2.5rem, 6vw, 4rem); padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius);
}
.quote-head { margin-bottom: 1.5rem; }
.quote-head h3 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-bottom: 0.5rem; }
.quote-head p { font-weight: 600; color: var(--steel); }
.quote-fields { display: grid; gap: 1rem 1.25rem; }
.field { display: grid; gap: 0.35rem; align-content: start; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .req { color: #B42318; }
.field .opt { font-weight: 600; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.75rem 0.9rem;
  font: 600 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 2px solid rgba(21, 23, 25, 0.35); border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--red-tint); }
.field [aria-invalid="true"] { border-color: #B42318; }
.field-error { font-size: 0.875rem; font-weight: 700; color: #B42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.quote-foot .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { font-weight: 700; flex: 1 1 18rem; }
.form-status.is-error { color: #B42318; }
@media (min-width: 720px) {
  .quote-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
}

/* Quote form beside the estimate copy: compact */
.quote-form { margin-top: 0; padding: clamp(1.25rem, 3vw, 2rem); }
.quote-head { margin-bottom: 1.1rem; }
.quote-head h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 0.3rem; }
.quote-head p { font-size: 0.95rem; }
.quote-fields { gap: 0.8rem 1rem; }
.field { gap: 0.25rem; }
.field label { font-size: 0.875rem; }
.field input, .field select, .field textarea { min-height: 46px; padding: 0.6rem 0.8rem; }
.field textarea { min-height: 92px; }
.quote-foot { margin-top: 1.1rem; gap: 0.75rem 1.25rem; }
.quote-foot .btn { min-height: 50px; }
@media (min-width: 520px) { .quote-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field-wide { grid-column: 1 / -1; } }
.estimate-side { display: grid; gap: 2rem; align-content: start; }
@media (min-width: 960px) {
  .estimate-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
  .estimate-copy h2 { font-size: clamp(2.75rem, 5vw, 4.5rem); }
}

.channel-row .btn { white-space: nowrap; }
.quote-fields { align-items: end; }

/* Video clips inside the project gallery */
.gallery-video { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--steel); margin: 0; }
.gallery-video video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.gallery-video .shot-cap { opacity: 1; transform: none; pointer-events: none; }

/* Even gallery grid: same-size tiles, first 8 shown */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.gallery li { margin: 0; aspect-ratio: 4 / 5; }
.gallery .shot, .gallery-video { height: 100%; }
.gallery .shot img { height: 100%; object-fit: cover; }
.gallery-video video { height: 100%; aspect-ratio: auto; }
.gallery-more { display: flex; justify-content: center; margin-top: 2rem; }
.gallery-more[hidden] { display: none; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }

/* Specialties under the service cards */
.specialties { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2.5rem; border-top: 1px solid var(--line); }
.specialties h3 { margin-bottom: 1.25rem; }
.spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.75rem 1.5rem; font-weight: 600; }
.spec-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.spec-list .ico { flex: none; margin-top: 0.15em; padding: 3px; color: #fff; background: var(--red); border-radius: 50%; width: 1.4em; height: 1.4em; stroke-width: 3; }
.about-tagline { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.01em; }
.about-copy .about-tagline { color: var(--ink); font-size: 1.5rem; }

/* Red palette for the quote form */
.estimate .quote-form :focus-visible { outline-color: var(--ink); }
.quote-form .btn-ink { background: var(--red); color: var(--white); }
.quote-form .btn-ink:hover { background: var(--red-deep); }
.cf-turnstile:not(:empty) { margin-top: 1rem; }

/* Privacy policy page and form consent line */
.form-legal { margin-top: 0.9rem; font-size: 0.85rem; color: var(--steel); }
.form-legal a { color: var(--ink); font-weight: 700; }
.legal { background: var(--chalk); }
.legal-wrap { max-width: 760px; }
.legal-back { display: inline-block; margin-bottom: 1.5rem; font-weight: 700; color: var(--red); }
.legal h1 { font-size: clamp(2.75rem, 7vw, 4.5rem); margin-bottom: 0.5rem; }
.legal-updated { color: var(--steel); font-weight: 600; margin-bottom: 2rem; }
.legal h2 { font-size: clamp(1.6rem, 3.4vw, 2rem); margin: 2.5rem 0 0.75rem; }
.legal p, .legal li { font-size: 1.0625rem; line-height: 1.65; }
.legal p { margin-bottom: 1rem; max-width: none; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; display: grid; gap: 0.5rem; }
.legal .legal-contact { list-style: none; padding-left: 0; font-weight: 600; }
.legal a { color: var(--red); }
