/* Bold look (v2): for trades and home services.
   Loads after style.css. Patterns come from local-sites/design-playbook.md:
   photo hero, trust strip, photo service cards, 3 steps, work gallery, sticky call on phones.
   Client colors arrive as --brand / --brand-dark / --brand-ink (set in setup.json "brand"). */

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #d11a0d;          /* buttons: 5.4:1 with white text */
  --brand-dark: #a3140a;
  --brand-bright: #ff4a33;   /* accents on dark backgrounds only */
  --brand-ink: #141414;
  --b-paper: #ffffff;
  --b-soft: #f4f2ef;
  --b-line: #e3dfd9;
  --b-text: #1d1d1d;
  --b-text-soft: #5a5a5a;
  --b-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --b-radius: 14px;
  --b-max: 1180px;
}

.style-bold { background: var(--b-paper); color: var(--b-text); }
.style-bold .wrap { max-width: var(--b-max); }
.style-bold h1, .style-bold h2 {
  font-family: var(--b-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  color: var(--brand-ink);
}
.style-bold h3 { color: var(--brand-ink); }
.style-bold a { color: var(--brand); }
.style-bold :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.style-bold .btn { border-radius: 999px; padding: 14px 26px; font-weight: 700; }
.style-bold .btn-primary { background: var(--brand); color: #fff; border: 2px solid var(--brand); }
.style-bold .btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.style-bold .btn-ghost { background: transparent; color: var(--brand-ink); border: 2px solid var(--brand-ink); }
.style-bold .btn-ghost:hover { background: var(--brand-ink); color: #fff; }
.style-bold .btn-outline { border-radius: 999px; border: 2px solid var(--brand-ink); color: var(--brand-ink); background: transparent; }
.style-bold .btn-outline:hover { background: var(--brand-ink); color: #fff; }

/* ---------- Header ---------- */
.style-bold .site-header { background: #fff; border-bottom: 1px solid var(--b-line); }
.style-bold .logo { display: flex; align-items: center; gap: 12px; color: var(--brand-ink); text-decoration: none; }
.style-bold .logo img { height: 52px; width: auto; max-width: 220px; object-fit: contain; border-radius: 8px; }
.style-bold .logo .logo-name { color: var(--brand-ink); }
.style-bold .logo > span:not(.logo-name) { color: var(--brand); }
.style-bold .logo-name { font-family: var(--b-display); font-size: 1.45rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.style-bold .main-nav a { color: var(--brand-ink); font-weight: 600; }
.style-bold .main-nav a.active, .style-bold .main-nav a:hover { color: var(--brand); }
.style-bold .header-cta .btn { padding: 10px 18px; }

/* About block */
.b-about { background: var(--b-soft); }
.b-about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.b-about-grid > * { min-width: 0; }
.b-about p { color: var(--b-text-soft); margin: 0 0 10px; }
.b-about img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--b-radius); }
@media (max-width: 900px) { .b-about-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Hero ---------- */
.b-hero { background: var(--b-soft); padding: 56px 0 64px; }
.b-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.b-eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--b-line); color: var(--brand-ink);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.b-hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin: 0 0 18px; }
.b-hero .lede { font-size: 1.15rem; color: var(--b-text-soft); max-width: 34em; margin: 0 0 28px; }
.b-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.b-hero-grid > *, .b-trust-grid > *, .b-service-grid > *, .b-step-list > *, .b-gallery-grid > * { min-width: 0; }
.b-hero-photo { position: relative; margin: 0; }
.b-hero-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 200px 200px var(--b-radius) var(--b-radius);
  box-shadow: 0 24px 48px rgba(20, 20, 20, 0.18);
}
.b-badge {
  position: absolute; left: -18px; bottom: 28px; background: var(--brand-ink); color: #fff;
  padding: 14px 18px; border-radius: 12px; font-family: var(--b-display); font-size: 1.35rem;
  text-transform: uppercase; line-height: 1.05; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}


/* Hero photo shapes, so two samples in one town never share a silhouette.
   arch (default, above) · frame: square photo on an offset brand block · tall: portrait photo on the left */
.b-hero-photo.shape-frame { padding: 0 22px 22px 0; }
.b-hero-photo.shape-frame::before {
  content: ""; position: absolute; top: 22px; left: 22px; right: 0; bottom: 0;
  background: var(--brand); border-radius: 6px;
}
.b-hero-photo.shape-frame img { position: relative; aspect-ratio: 1 / 1; border-radius: 6px; box-shadow: none; }
.b-hero-grid.photo-left { grid-template-columns: 0.8fr 1.1fr; }
.b-hero-grid.photo-left .b-hero-photo { order: -1; }
.b-hero-photo.shape-tall img { aspect-ratio: 4 / 5; border-radius: var(--b-radius) 120px var(--b-radius) var(--b-radius); }
.b-hero-grid.photo-left .b-badge { left: auto; right: -18px; }
@media (max-width: 900px) {
  .b-hero-grid.photo-left { grid-template-columns: 1fr; }
  .b-hero-grid.photo-left .b-hero-photo { order: 0; }
  .b-hero-photo.shape-tall img { aspect-ratio: 4 / 3; }
  .b-hero-grid.photo-left .b-badge { right: auto; left: -8px; }
}
/* Hero variant: photo band with the words over it */
.b-hero-band { background: var(--brand-ink) center/cover no-repeat; color: #fff; padding: 96px 0 104px; }
.b-band-copy { max-width: 46rem; }
.b-hero-band h1 { color: #fff; font-size: clamp(2.8rem, 6vw, 5rem); margin: 0 0 16px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.b-hero-band .lede { color: #ececec; font-size: 1.15rem; margin: 0 0 26px; }
.b-hero-band .b-eyebrow { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
.b-hero-band .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.style-bold .btn-onphoto { background: rgba(255,255,255,.12); color: #fff; border: 2px solid #fff; backdrop-filter: blur(2px); }
.style-bold .btn-onphoto:hover { background: #fff; color: var(--brand-ink); }

/* Services variant: alternating photo and text rows */
.b-service-grid.b-service-rows { grid-template-columns: 1fr; gap: 14px; }
.b-service-grid.b-service-rows .b-service { display: grid; grid-template-columns: 300px 1fr; align-items: center; }
.b-service-grid.b-service-rows .b-service > * { min-width: 0; }
.b-service-grid.b-service-rows .b-service img { height: 100%; aspect-ratio: auto; min-height: 180px; }
.b-service-grid.b-service-rows .b-service:nth-child(even) { grid-template-columns: 1fr 300px; }
.b-service-grid.b-service-rows .b-service:nth-child(even) img { order: 2; }
.b-service-grid.b-service-rows .b-service-body { padding: 20px 24px; }
.b-service-grid.b-service-rows .b-service:not(:has(img)) { grid-template-columns: 1fr; }
.b-service:not(:has(img)) { border-top: 4px solid var(--brand); }
.b-service-grid.b-service-rows .b-service h3 { font-size: 1.35rem; }
@media (max-width: 760px) {
  .b-service-grid.b-service-rows .b-service, .b-service-grid.b-service-rows .b-service:nth-child(even) { grid-template-columns: 1fr; }
  .b-service-grid.b-service-rows .b-service:nth-child(even) img { order: 0; }
  .b-hero-band { padding: 56px 0 64px; }
}

/* ---------- Trust strip ---------- */
.b-trust { background: var(--brand-ink); color: #fff; padding: 26px 0; }
.b-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.b-trust-item { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 3px solid var(--brand-bright); }
.b-trust-item strong { font-family: var(--b-display); font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.b-trust-item span { color: #d6d6d6; font-size: 0.95rem; }

/* ---------- Sections ---------- */
.style-bold main section { padding: 72px 0; }
.style-bold main section.b-trust { padding: 26px 0; }
.b-head { margin-bottom: 32px; max-width: 46em; }
.b-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: 0 0 10px; }
.b-head p { color: var(--b-text-soft); margin: 0; font-size: 1.05rem; }
.b-more { margin: 28px 0 0; }

.b-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.b-service { background: #fff; border: 1px solid var(--b-line); border-radius: var(--b-radius); overflow: hidden; display: flex; flex-direction: column; }
.b-service img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.b-service-body { padding: 18px 20px 22px; }
.b-service h3 { margin: 0 0 6px; font-size: 1.15rem; }
.b-service p { margin: 0; color: var(--b-text-soft); }

.b-steps { background: var(--brand-ink); color: #fff; }
.b-steps .b-head h2 { color: #fff; }
.b-step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.b-step-list li { counter-increment: step; padding-top: 12px; border-top: 3px solid var(--brand-bright); }
.b-step-list li::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--b-display);
  font-size: 3rem; line-height: 1; color: var(--brand-bright); margin-bottom: 8px;
}
.b-step-list h3 { color: #fff; margin: 0 0 6px; font-size: 1.2rem; }
.b-step-list p { color: #d6d6d6; margin: 0; }

.b-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.b-gallery-grid img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--b-radius); }

.b-area { background: var(--b-soft); }
.b-towns { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.b-towns li { background: #fff; border: 1px solid var(--b-line); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--brand-ink); }

.b-faq .faq-item { border-bottom: 1px solid var(--b-line); padding: 18px 0; max-width: 52em; }
.b-faq .faq-item h3 { margin: 0 0 6px; font-size: 1.1rem; }
.b-faq .faq-item p { margin: 0; color: var(--b-text-soft); }

.b-cta { background: var(--brand); color: #fff; }
.style-bold main section.b-cta { padding: 56px 0; }
.b-cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.b-cta h2 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: 0 0 6px; }
.b-cta p { margin: 0; color: #fff; }
.b-cta .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.b-cta .btn-primary { background: #fff; color: var(--brand-ink); border-color: #fff; }
.b-cta .btn-primary:hover { background: var(--brand-ink); color: #fff; border-color: var(--brand-ink); }
.b-cta .btn-ghost { color: #fff; border-color: #fff; }
.b-cta .btn-ghost:hover { background: #fff; color: var(--brand-ink); }

/* Inner pages keep the base layout, just in this look's colors */
.style-bold .page-hero, .style-bold .hero { background: var(--brand-ink); }
.style-bold .page-hero h1, .style-bold .hero h1 { color: #fff; }

.style-bold .site-footer { background: var(--brand-ink); }

/* ---------- Sticky call button (phones only) ---------- */
.mobile-call { display: none; }

@media (max-width: 900px) {
  .b-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .b-hero { padding: 36px 0 44px; }
  .b-badge { left: 12px; bottom: 12px; font-size: 1.1rem; }
  .b-trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .b-service-grid { grid-template-columns: repeat(2, 1fr); }
  .b-step-list { grid-template-columns: 1fr; }
  .b-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .b-gallery-grid img { height: 180px; }
  .style-bold main section { padding: 52px 0; }
}

@media (max-width: 700px) {
  .style-bold .header-cta { display: none; }
  .style-bold .logo .logo-name { color: var(--brand-ink); }
.style-bold .logo-name { font-size: 1.2rem; }
  .b-service-grid { grid-template-columns: 1fr; }
  .b-service img { aspect-ratio: 16 / 9; }
  .b-hero h1 { font-size: 2.6rem; overflow-wrap: break-word; }
  .style-bold .mobile-call {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
    padding: 15px 18px; border-radius: 999px; background: var(--brand); color: #fff;
    font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  }
  .mobile-call svg { width: 1.1em; height: 1.1em; }
  .style-bold .site-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Secondary buttons sit on dark page heroes in this look */
.style-bold .btn-secondary { background: #fff; color: var(--brand-ink); border: 2px solid #fff; }
.style-bold .btn-secondary:hover { background: transparent; color: #fff; }

/* ---------- Hero variant: centered (layout.hero "centered") ----------
   A short headline centered on a solid brand band, then three work photos edge to edge.
   Contrast: white on the brand color is the same pairing the primary buttons already use. */
.style-bold main section.b-hero-center { background: var(--brand); color: #fff; padding: 76px 0 84px; text-align: center; }
.b-hero-center .wrap { display: flex; flex-direction: column; align-items: center; }
.b-hero-center .b-eyebrow { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.b-hero-center h1 { color: #fff; font-size: clamp(3rem, 6.8vw, 5.4rem); max-width: 18ch; margin: 6px 0 18px; }
.b-hero-center .lede { color: #fff; font-size: 1.15rem; max-width: 36em; margin: 0 0 30px; }
.b-hero-center .hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.style-bold .btn-light { background: #fff; color: var(--brand-ink); border: 2px solid #fff; display: inline-flex; align-items: center; gap: 8px; }
.style-bold .btn-light:hover { background: transparent; color: #fff; }
.style-bold .btn-light svg, .style-bold .btn-onphoto svg { width: 1.05em; height: 1.05em; }

.b-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--brand-ink); }
.b-strip img { width: 100%; height: clamp(180px, 25vw, 330px); object-fit: cover; display: block; }

/* ---------- Services variant: service board (layout.services "board") ----------
   One ruled row per service, like the board over a shop counter: name, what it covers, a short note. */
.b-board { list-style: none; margin: 0; padding: 0; background: #fff; border: 2px solid var(--brand-ink); border-radius: 6px; }
.b-board-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: 20px 28px; border-top: 1px solid var(--b-line);
}
.b-board-row:first-child { border-top: 0; }
.b-board-main { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 28px; align-items: baseline; }
.b-board-row h3 { margin: 0; font-family: var(--b-display); font-size: 1.7rem; font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; }
.b-board-row p { margin: 0; color: var(--b-text-soft); }
.b-board-tag {
  font-family: var(--b-display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--brand); border: 2px solid currentColor; border-radius: 4px; padding: 4px 10px; white-space: nowrap;
}

@media (max-width: 760px) {
  .style-bold main section.b-hero-center { padding: 48px 0 56px; }
  .b-hero-center h1 { font-size: 2.9rem; }
  .b-strip img { height: 130px; }
  .b-board-row { grid-template-columns: 1fr; gap: 10px; padding: 18px 18px; }
  .b-board-main { grid-template-columns: 1fr; gap: 6px; }
  .b-board-tag { justify-self: start; }
}
