/* Boh Services, www.boh.services. Brand: guide v2.2 via Lubalin's kit (BRAND-CANON.md). */
@font-face {
  font-family: "Glacial Indifference";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/GlacialIndifference-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Glacial Indifference";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/GlacialIndifference-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/jost-latin-var.woff2") format("woff2");
}

:root {
  --denim: #5176A8;   /* headings 18px+ bold, buttons, house */
  --mint: #7BF1DC;    /* the echo ONLY: never text, never fills */
  --ink: #0B0D10;     /* body text (UI ink) */
  --white: #FFFFFF;
  --line: #E3E7ED;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Glacial Indifference", "Jost", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--denim); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Type: two weights only (400 body, 700 headlines/labels). Display caps use 400, tracked wide. */
h1, h2, h3 { font-weight: 700; line-height: 1.2; letter-spacing: 0.005em; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 5vw, 52px); color: var(--denim); }
h2 { font-size: clamp(26px, 3.4vw, 34px); color: var(--denim); }
h3 { font-size: 22px; color: var(--ink); }
p { margin: 0 0 16px; }
.eyebrow {
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 14px; margin: 0 0 14px; color: var(--ink);
}
.lead { font-size: 21px; max-width: 40em; }
.small { font-size: 16px; }
.num { font-weight: 700; white-space: nowrap; }

/* Header. Horizontal lockup (B) at >= 140px art width; the PNG's transparent canvas
   is clipped by the frame, the file itself is placed unaltered. Art box in the 2304px
   canvas: x 130..2000, y 869..1480 (1870 x 611). */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.logo-b { display: block; padding: 16px 0; }  /* >= 1X clear space (X = 14.8px at 190px art) */
.logo-b .frame { display: block; --w: 190px; width: var(--w); height: calc(var(--w) * 611 / 1870); overflow: hidden; position: relative; }
.logo-b img {
  position: absolute; max-width: none;
  width: calc(var(--w) * 2304 / 1870);
  left: calc(var(--w) * -130 / 1870);
  top: calc(var(--w) * -869 / 1870);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 16px; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; }
.menu { display: none; }

/* Buttons: Denim fill, white bold 18px (large text). */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 18px;
  padding: 13px 22px; border-radius: 6px; border: 2px solid var(--denim);
  background: var(--denim); color: var(--white); line-height: 1.2;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn.ghost { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.nav .btn { color: var(--white); font-size: 18px; padding: 10px 16px; }
.nav .btn:hover { text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }

/* The Offset Echo (guide section 05): one per layout. Denim stroke, Mint copy offset
   -0.5 / +0.5 stroke width, behind, round caps. Used once, under the page headline. */
.echo { position: relative; width: 112px; height: 8px; margin: 6px 0 26px; isolation: isolate; }
.echo::before, .echo::after { content: ""; position: absolute; inset: 0; border-radius: 4px; }
.echo::after { background: var(--denim); }
.echo::before { background: var(--mint); transform: translate(-4px, 4px); z-index: -1; }

/* Sections */
.hero { padding: 64px 0 56px; }
.band { padding: 56px 0; border-top: 1px solid var(--line); }
.band.soft { background: var(--white); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.card h3 { margin-bottom: 10px; }
.list { margin: 0 0 18px; padding-left: 20px; }
.list li { margin: 4px 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.facts li { border-left: 3px solid var(--denim); padding-left: 14px; }
.facts strong { display: block; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.label { font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 16px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.site-footer p { margin: 0 0 6px; }
.logo-a { --w: 112px; width: var(--w); height: calc(var(--w) * 709 / 636); overflow: hidden; position: relative; margin: 0 0 18px; }
/* Primary lockup A >= 96px. Art box x 232..868, y 196..905 of 1092 (Lubalin-measured method). File placed unaltered. */
.logo-a img { position: absolute; max-width: none; width: calc(var(--w) * 1092 / 636); left: calc(var(--w) * -232 / 636); top: calc(var(--w) * -196 / 636); }
.url { letter-spacing: 0.08em; }
.copy { grid-column: 1 / -1; color: var(--ink); font-size: 14px; margin-top: 10px; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 16px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 6px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .menu-panel { display: flex; }
  .menu-panel { display: none; flex-direction: column; gap: 4px; position: absolute; right: 0; top: 52px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px; min-width: 220px; z-index: 5; box-shadow: 0 8px 24px rgba(11,13,16,0.12); }
  .menu-panel a { text-decoration: none; font-weight: 700; padding: 10px 8px; }
  .menu-panel .btn { text-align: center; color: var(--white); margin-top: 6px; }
  .logo-b .frame { --w: 150px; }
  .grid-2, .grid-3, .facts, .site-footer .wrap { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 40px; }
  .band { padding: 44px 0; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
}

/* Promo pop-up (copy of the Squarespace Promotional Pop-Up). Shown by /promo.js once per 24h. */
.promo { border: 0; padding: 0; border-radius: 12px; width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; color: var(--ink); background: var(--white); }
.promo::backdrop { background: rgba(11, 13, 16, 0.6); }
.promo[open] { display: grid; grid-template-columns: 1fr 1fr; }
.promo-media { background: var(--ink); }
.promo-media { display: flex; align-items: center; justify-content: center; }
.promo-media video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }  /* never crop: the video carries the house mark */
.promo-body { padding: 48px 36px 36px; align-self: center; }
.promo-body h2 { margin-bottom: 14px; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.promo-actions .btn { cursor: pointer; font-family: inherit; }
.promo-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 6px; background: var(--white); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; font-family: inherit; }
@media (max-width: 860px) {
  .promo[open] { grid-template-columns: 1fr; }
  .promo-media video { width: auto; max-width: 100%; height: 38vh; }
  .promo-body { padding: 24px 20px 22px; }
  .promo-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* v3: residential-first additions (research 2026-10-06) */
button:focus-visible, .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.nav a { padding: 10px 0; }
.nav .nav-phone { font-size: 18px; }
.site-footer a { display: inline-block; padding: 6px 0; }
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; }
.trust li { font-size: 16px; }
.trust strong { display: block; font-size: 18px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: step; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.steps li::before { content: counter(step); display: block; font-weight: 700; font-size: 28px; color: var(--denim); line-height: 1; margin-bottom: 10px; }
.steps strong { display: block; }
.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.faq p { margin: 0 0 16px; }
.trade p { max-width: 46em; }
.promo-call { margin: 16px 0 0; }
.promo-x { width: 44px; height: 44px; }
.callbar { display: none; }
@media (max-width: 860px) {
  .trust ul, .steps { grid-template-columns: 1fr 1fr; }
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; gap: 8px; z-index: 4;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
  .callbar .btn { flex: 1; text-align: center; padding: 12px 8px; }
  body { padding-bottom: 76px; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}
.plan .price { font-size: 18px; }
.plan .price strong { color: var(--denim); font-size: 22px; }
.faq h4 { margin: 14px 0 6px; font-size: 18px; }
.safety p { max-width: 46em; }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: 1fr; } }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.quote blockquote { margin: 0; }
.quote figcaption { font-weight: 700; font-size: 16px; }
@media (max-width: 1000px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .quotes { grid-template-columns: 1fr; } }
@media (max-width: 1040px) { .nav .nav-phone { display: none; } }  /* header fits 861-1040 (Lubalin); phone stays in hero + callbar */

/* v5 design pass (N: "bland"). Palette per guide: White ground, Denim, Ink field for premium moments,
   Royal #004AAD for one bold band (white text = AA). Mint only in the echo. */
h1 { font-size: clamp(36px, 5.6vw, 60px); }
h2.big { font-size: clamp(30px, 4.2vw, 44px); }
.hero.dark { background: var(--ink); color: var(--white); padding: 76px 0 72px; }
.hero.dark h1, .hero.dark .eyebrow, .hero.dark a:not(.btn) { color: var(--white); }
.hero.dark .lead { color: var(--white); }
.hero.dark .btn { border-color: var(--denim); }
.hero.dark .btn.ghost { background: transparent; color: var(--white); border-color: var(--white); }
.hero.dark .btn.ghost:hover, .hero.dark .btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero.dark .contact-list li { border-color: rgba(255,255,255,0.18); }
.hero.dark .label { color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.rating-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: var(--white); color: var(--ink) !important;
  text-decoration: none; border-radius: 14px; padding: 30px 32px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.rating-num { font-size: 72px; font-weight: 700; line-height: 1; color: var(--ink); }
.stars { color: var(--denim); letter-spacing: 0.08em; font-size: 26px; line-height: 1; }
.rating-count { font-weight: 700; font-size: 22px; }
.rating-src { font-size: 16px; }
.rating-card:hover { transform: translateY(-2px); }
.trust { background: var(--denim); border: 0; padding: 26px 0; }
.trust li, .trust a { color: var(--white); font-weight: 700; font-size: 18px; }
.trust strong { font-size: 20px; font-weight: 700; }
.card { border-top: 4px solid var(--denim); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,13,16,0.10); }
.steps li { border-top: 4px solid var(--denim); }
.steps li::before { font-size: 44px; }
.reviews { background: var(--white); }
.reviews h2.big .stars { font-size: 0.7em; vertical-align: middle; }
.quotes { gap: 22px; }
.quote { border-top: 4px solid var(--denim); box-shadow: 0 6px 18px rgba(11,13,16,0.06); }
.quote:first-child { grid-column: span 2; }
.quote:first-child blockquote { font-size: 22px; }
.quote .stars { font-size: 20px; }
.quote blockquote { font-size: 18px; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 56px; line-height: 0.6; color: var(--denim); font-weight: 700; margin: 6px 0 4px; }
.cta-band { background: var(--denim); color: var(--white); border: 0; padding: 64px 0; }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { font-weight: 700; font-size: 20px; }  /* white on Denim: 18px+ bold only (guide section 03) */
.cta-band .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.cta-band .btn.ghost { background: transparent; color: var(--white); border-color: var(--white); }
.cta-band .btn:hover, .cta-band .btn.ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.safety { background: var(--white); border-top: 1px solid var(--line); }
.safety .wrap { border-left: 6px solid var(--denim); padding-left: 24px; }
.safety h2 { color: var(--denim); }
@media (prefers-reduced-motion: reduce) { .card, .rating-card { transition: none; } .card:hover, .rating-card:hover { transform: none; } }
@media (max-width: 860px) {
  .hero.dark { padding: 48px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .rating-num { font-size: 56px; }
  .quote:first-child { grid-column: auto; }
}
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work figure { margin: 0; }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border-top: 4px solid var(--denim); }
.work figcaption { font-weight: 700; font-size: 16px; margin-top: 10px; }
@media (max-width: 600px) { .work { grid-template-columns: 1fr; } }
.work img.pos-top { object-position: center 15%; }
.cta-band .btn:hover, .cta-band .btn.ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.steps-band { background: var(--denim); border: 0; }
.steps-band h2 { color: var(--white); }
.steps-band .steps li { background: var(--white); border-top-color: var(--ink); }
@media (max-width: 900px) and (min-width: 601px) { .work { grid-template-columns: 1fr 1fr; } }
.work img.pos-bottom { object-position: center 85%; }

/* Promo on phones (N, 2026-10-06: "looks bad on phone"): compact card, no letterbox bars. */
@media (max-width: 860px) {
  .promo { width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border-radius: 16px; }
  .promo-media { background: var(--white); padding: 16px 16px 0; }
  .promo-media video { height: 30vh; width: auto; max-width: 100%; border-radius: 10px; background: var(--ink); }
  .promo-body { padding: 14px 18px 18px; text-align: center; }
  .promo-body h2 { font-size: 24px; margin-bottom: 8px; }
  .promo-body p { font-size: 16px; margin-bottom: 0; }
  .promo-actions { flex-wrap: nowrap; gap: 10px; margin-top: 14px; }
  .promo-actions .btn { flex: 1 1 0; padding: 12px 8px; font-size: 18px; }
  .promo-call { font-size: 15px; margin-top: 12px; }
  .promo-x { top: 8px; right: 8px; width: 44px; height: 44px; font-size: 22px; background: var(--white); }
}
.chips { list-style: none; margin: 4px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 2px solid rgba(255,255,255,0.85); color: var(--white); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 16px; }
@media (max-width: 860px) { .chips li { font-size: 15px; padding: 5px 12px; } }

/* v6 appeal pass (N: "still bland, esp. mobile"). Real Boh photo behind the home hero, darkened per guide section 08. */
.hero.dark.photo { background: linear-gradient(90deg, rgba(11,13,16,0.86) 0%, rgba(11,13,16,0.62) 60%, rgba(11,13,16,0.45) 100%), url("/assets/work/porch-chandelier.jpg") center 40% / cover no-repeat, var(--ink); }
@media (max-width: 860px) { .hero.dark.photo { background: linear-gradient(rgba(11,13,16,0.72), rgba(11,13,16,0.80)), url("/assets/work/porch-chandelier.jpg") center 35% / cover no-repeat, var(--ink); } }

/* Load motion: hero content rises in, echo draws across. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero > .wrap > div > *, .hero > .wrap > *:not(.hero-grid) { animation: rise .6s ease both; }
.hero .rating-card { animation: rise .7s .25s ease both; }
.hero .echo { transform-origin: left; animation: draw .7s .3s ease both; }
.chips li { animation: rise .5s ease both; }
.chips li:nth-child(2) { animation-delay: .05s; } .chips li:nth-child(3) { animation-delay: .1s; } .chips li:nth-child(4) { animation-delay: .15s; }
.chips li:nth-child(5) { animation-delay: .2s; } .chips li:nth-child(6) { animation-delay: .25s; } .chips li:nth-child(7) { animation-delay: .3s; } .chips li:nth-child(8) { animation-delay: .35s; }

/* Scroll reveal (only when site.js added .motion). */
.motion .card, .motion .quote, .motion .steps li, .motion .work figure, .motion .facts li, .motion .plan { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.motion .in { opacity: 1 !important; transform: none !important; }

/* Generac band on home */
.generac-band { background: var(--white); }
.gen-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.gen-photo { margin: 0; }
.gen-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; border-top: 6px solid var(--denim); }
.generac-band .facts { grid-template-columns: 1fr 1fr; }

/* Phones: swipeable carousels for photos and reviews, bigger type, tighter rhythm. */
@media (max-width: 600px) {
  h1 { font-size: 40px; }
  .gen-grid { grid-template-columns: 1fr; }
  .gen-photo { display: none; }
  .generac-band .facts { grid-template-columns: 1fr; }
  .work, .quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 4px 20px 14px; -webkit-overflow-scrolling: touch; }
  .work figure, .quote { flex: 0 0 82%; scroll-snap-align: start; }
  .quote:first-child { grid-column: auto; }
  .work::after, .quotes::after { content: ""; flex: 0 0 6px; }
  .swipe-hint { display: block; }
}
.swipe-hint { display: none; font-size: 14px; font-weight: 700; margin: 4px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .hero > .wrap > div > *, .hero > .wrap > *, .hero .rating-card, .hero .echo, .chips li { animation: none !important; }
}

/* v7 "less template" (N: "the site is giving claude"): the brand's own face (Glacial Indifference, guide first choice),
   squarer trade-like corners, no animation on the headline/lead (LCP). */
.card, .quote, .steps li, .plan, .rating-card, .work img, .gen-photo img, .promo, .btn, .menu summary, .menu-panel, .promo-x { border-radius: 4px !important; }
.chips li { border-radius: 2px; }
h1 { letter-spacing: -0.005em; line-height: 1.05; }
h2 { letter-spacing: 0; }
.hero h1, .hero .lead, .hero .eyebrow { animation: none !important; }
.btn { letter-spacing: 0.02em; }
.gen-stat { background: var(--denim); color: var(--white); padding: 40px 36px; border-radius: 4px; display: flex; flex-direction: column; gap: 16px; border-bottom: 6px solid var(--ink); }
.gen-big { font-size: clamp(54px, 7vw, 88px); font-weight: 700; line-height: 0.95; }
.gen-small { font-size: 20px; font-weight: 700; line-height: 1.4; }  /* white on Denim: 18px+ bold only */
@media (max-width: 600px) { .gen-stat { padding: 28px 22px; } .gen-small { font-size: 18px; } }
.gen-small strong, .facts strong, .rating-count, .label { font-weight: 700; }  /* never "bolder" -> 900 */
