/* Paint Bro'z Inc. - accessible rebuild (dark-cohesive v2)
   Dark, calm, photo-forward. Lime is a small accent only.
   Color/contrast (all text/bg pairs computed >= AA):
   --bg #161616 (base charcoal)
   --bg-2 #1f1f1f (subtle tonal variation for alt sections)
   --ink-on-dark #f1f1f1 (body text on dark ~ 15:1)
   --muted-on-dark #c9c9c9 (secondary text on dark ~ 9:1)
   --lime #dae122 (brand accent) on #161616 ~ 12:1
   --teal-link is replaced by lime/lighter accents on dark */

:root {
  --bg: #161616;
  --bg-2: #1f1f1f;
  --bg-card: #202020;
  --ink: #f1f1f1;
  --muted: #c9c9c9;
  --faint: #9b9b9b;
  --lime: #dae122;
  --lime-dark: #c3ca0f;
  --charcoal: #161616;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --focus: #dae122;
  --maxw: 1120px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

img, svg { max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Focus: visible everywhere ---------- */
a, button, input, select, textarea, [tabindex] {
  outline-offset: 2px;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--lime);
  color: #161616;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 1000;
  text-decoration: none;
  font-weight: 700;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Links ---------- */
a { color: var(--lime); }
a:hover { text-decoration: underline; }

/* ---------- Buttons (>=44px touch targets) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.2;
}
/* Primary = the one lime moment per view */
.btn-primary {
  background: var(--lime);
  color: #161616;
  border-color: var(--lime);
}
.btn-primary:hover { background: var(--lime-dark); border-color: var(--lime-dark); text-decoration: none; }
/* Outline = quiet ghost on dark */
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.35); text-decoration: none; }
.btn-block { width: 100%; }
.btn-call {
  background: var(--lime);
  color: #161616;
  border-color: var(--lime);
  white-space: nowrap;
}
.btn-call:hover { background: var(--lime-dark); border-color: var(--lime-dark); text-decoration: none; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--charcoal);
}
.brand-inc { color: var(--lime); }

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.07);
  text-decoration: underline;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--bg);
  color: #ffffff;
  padding: 72px 0 80px;
}
.eyebrow {
  color: var(--lime);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .82rem;
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 18px;
  max-width: 18ch;
  letter-spacing: -0.01em;
}
.hero-lead {
  font-size: 1.18rem;
  max-width: 60ch;
  color: var(--muted);
  margin: 0 0 18px;
}
/* offer note: quiet inline accent, no lime block */
.offer-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
  padding: 0 0 0 14px;
  border-left: 3px solid var(--lime);
  margin: 4px 0 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-actions .btn-outline {
  color: #ffffff;
  border-color: var(--line-strong);
}
.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
/* subtle tonal variation instead of white/lime fights */
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--bg); color: var(--ink); }
.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.section-intro {
  max-width: 64ch;
  color: var(--muted);
  margin: 0 0 36px;
  font-size: 1.08rem;
}
.section-intro-dark { color: var(--muted); }

/* ---------- Services: clean text list, minimal borders ---------- */
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.service-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 2px;
}
.service-icon { display: none; }
.service-card h3 { margin: 0; font-size: 1.15rem; font-weight: 600; }
.service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card h3 a:hover { color: var(--lime); text-decoration: none; }
.service-card p { margin: 6px 0 0; color: var(--muted); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.about-copy p { margin: 0 0 16px; }
.about-card {
  background: var(--bg-2);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.about-card h3 { margin: 0 0 16px; color: var(--lime); font-size: 1.3rem; }
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--lime);
  border-bottom: 3px solid var(--lime);
  transform: rotate(-45deg);
}

/* ---------- Service area: clean list, no chips ---------- */
.area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.area-list li {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 2px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contact-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.contact-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--faint);
  font-weight: 700;
}
.contact-value { font-size: 1.1rem; color: var(--ink); }
a.contact-value { color: var(--lime); }

/* ---------- Form ---------- */
.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-form h3 { margin: 0 0 8px; font-size: 1.35rem; }
.form-hint { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.req { color: #ff8a8a; font-weight: 700; }
fieldset { border: 0; padding: 0; margin: 0 0 8px; }
legend {
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 0 6px;
}
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.field label {
  font-weight: 600;
  margin-bottom: 6px;
}
input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: #161616;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
textarea { min-height: 110px; resize: vertical; }
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--focus);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  color: var(--muted);
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-inner p { margin: 0 0 6px; }
.footer-brand {
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 12px !important;
}
.site-footer a { color: var(--lime); }
.footer-copy { color: var(--faint); font-size: .9rem; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (min-width: 620px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .area-list { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
}
@media (min-width: 900px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
  .about-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .header-call { margin-left: 8px; }
}

/* ---------- Brand logo image ---------- */
.brand-logo { height: 40px; width: auto; display: block; }

/* ---------- Nav dropdown (Services) ---------- */
.site-nav { position: relative; }
.has-dropdown { position: relative; }
.dropdown-toggle {
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.dropdown-toggle:hover { background: rgba(255, 255, 255, 0.07); text-decoration: underline; }
.dropdown-toggle .caret {
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(-135deg); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 250px;
  background: #1f1f1f;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 8px;
  margin: 0;
  list-style: none;
  z-index: 200;
  box-shadow: 0 12px 32px rgba(0,0,0,.55);
}
.dropdown-menu.open { display: block; }
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: block;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible { background: rgba(255, 255, 255, 0.08); text-decoration: underline; }
.site-nav a[aria-current="page"],
.dropdown-menu a[aria-current="page"] {
  background: var(--lime);
  color: #161616;
}
.dropdown-toggle[aria-current="true"] { color: var(--lime); }

/* ---------- Hamburger toggle (mobile) ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid var(--line-strong);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Mobile nav (default collapsed behind hamburger) ---------- */
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    flex-basis: 100%;
    width: 100%;
    order: 99;
  }
  .site-nav.is-open { display: block; }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .site-nav > ul > li { width: 100%; }
  .site-nav a,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .has-dropdown { position: static; }
  .dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border-radius: 8px;
    margin: 2px 0 4px;
    background: #232323;
  }
}

/* ---------- Social icons ---------- */
.socials {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}
.socials a:hover,
.socials a:focus-visible { background: rgba(255, 255, 255, 0.08); color: var(--lime); }
.socials svg { width: 22px; height: 22px; fill: currentColor; }
.site-footer .socials { margin-top: 8px; }
.site-footer .socials a { color: var(--muted); }
.site-footer .socials a:hover,
.site-footer .socials a:focus-visible { background: rgba(255, 255, 255, 0.08); color: var(--lime); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--bg);
  color: #ffffff;
  padding: 56px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  line-height: 1.12;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.page-hero p { color: var(--muted); max-width: 60ch; margin: 0; font-size: 1.1rem; }
.breadcrumb { font-size: .9rem; margin: 0 0 16px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb a { color: var(--lime); }
.breadcrumb [aria-current="page"] { color: var(--faint); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #6a6a6a; }

/* ---------- Prose / service content ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 40px 0 12px; }
.prose h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.prose p { margin: 0 0 16px; color: var(--ink); }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.media-figure { margin: 0 0 24px; }
.media-figure img { border-radius: var(--radius); border: 0; width: 100%; display: block; }
.media-figure figcaption { color: var(--faint); font-size: .9rem; margin-top: 10px; }

.content-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }

/* ---------- Image gallery (photo-forward) ---------- */
.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.gallery img {
  width: 100%; height: 260px; object-fit: cover;
  border-radius: var(--radius); border: 0; display: block;
}

/* ---------- CTA strip: dark, not a lime band ---------- */
.cta-strip {
  background: var(--bg-2);
  color: var(--ink);
  text-align: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.cta-strip h2 { margin: 0 0 10px; max-width: 26ch; margin-left: auto; margin-right: auto; }
.cta-strip p { margin: 0 0 22px; font-size: 1.1rem; color: var(--muted); }
.cta-strip .btn-primary { background: var(--lime); color: #161616; border-color: var(--lime); }
.cta-strip .btn-primary:hover { background: var(--lime-dark); border-color: var(--lime-dark); }

/* ---------- Video embed (clean, no lime border) ---------- */
.video-frame {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0; margin: 0; border: 0;
  cursor: pointer; background: #000;
  display: block;
}
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 60px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s ease;
  pointer-events: none;
}
.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.06); }
.video-play svg { width: 100%; height: 100%; }

/* ---------- Owner cards ---------- */
.owners-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.owner-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.owner-card h3 { margin: 0 0 10px; }

/* ---------- Hours / info table ---------- */
.hours-list { list-style: none; margin: 0 0 18px; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); max-width: 360px; }

@media (min-width: 760px) {
  .content-grid { grid-template-columns: 1.7fr 1fr; }
  .owners-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 480px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skip-link { transition: none; }
  .dropdown-toggle .caret { transition: none; }
}
