/* Beast Mode Remodeling — design system.
   Brand carried forward: black + gold beast badge, bold condensed identity.
   Display face: Archivo Black (Google Fonts) — heavy grotesque for h1/h2/
   display; font change only, no color change, so all contrast ratios below
   are unchanged. Contrast (computed): gold #FFC107 on ink #141414 ≈ 10.3:1;
   ink on gold ≈ 12.7:1 (review-hero: ink text on gold bg — AA/AAA at any
   size); bronze #7A5C00 on white ≈ 6.6:1 (link-safe); white on ink ≈ 17:1. */

:root {
  --gold: #FFC107;          /* brand accent — dark surfaces + button fills */
  --gold-soft: #FFD34D;
  --bronze: #7A5C00;        /* gold's text-safe form on white */
  --ink: #141414;           /* primary dark */
  --ink-2: #1E1E1E;         /* cards on dark */
  --paper: #FFFFFF;
  --mist: #F6F5F2;          /* warm light section */
  --line: #E7E4DC;
  --ink-soft: #4A4A46;      /* 7.6:1 on white */
  --radius: 12px;
  --radius-pill: 3px;       /* squared "pills" — hard-edged brand */
  --font-display: 'Archivo Black', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);  /* reserved: hero form card */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08); /* everyday cards */
  --max: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* overflow-x: clip (never hidden — hidden kills sticky positioning) */
html, body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--bronze); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }
.display { font-weight: 400; letter-spacing: .01em; text-transform: uppercase; }
/* Archivo Black ships one weight (400); explicit 400 avoids faux-bolding */
h1, h2, .display, .brand-word { font-family: var(--font-display); font-weight: 400; }

/* ---------- header / nav — one dark bar, hours live in the footer ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--ink); border-bottom: 3px solid var(--gold); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding-top: .35rem; padding-bottom: .35rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; }
.brand img { height: 60px; width: auto; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1.02; }
.brand-word { font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; color: #fff; text-transform: uppercase; }
.brand-under { font-size: .6rem; letter-spacing: .3em; color: var(--gold); font-weight: 700; text-transform: uppercase; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; list-style: none; }
.nav-links a { text-decoration: none; color: #fff; font-weight: 700; font-size: .93rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a.header-phone { color: var(--gold); font-weight: 800; }
.nav-cta { background: var(--gold); color: var(--ink) !important; padding: .55rem 1.1rem; border-radius: var(--radius-pill); }
.nav-cta:hover { background: var(--gold-soft); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; padding: .5rem .6rem; cursor: pointer; min-height: 40px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; }
@media (max-width: 1180px) { .header-phone { display: none; } }

/* ---------- hero (photo full-opacity behind a directional scrim) ---------- */
.hero { position: relative; color: #fff; background: var(--ink); isolation: isolate; }
.hero .wrap { max-width: 1200px; position: relative; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: 1; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(20,20,20,.95) 0%, rgba(20,20,20,.85) 45%, rgba(20,20,20,.5) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; padding: 3.2rem 0 3rem; }
.hero-grid > * { min-width: 0; }
.hero-inner { position: relative; }
.eyebrow { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.12; margin: .6rem 0 1rem; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
.hero p.lede { font-size: 1.1rem; max-width: 58ch; color: #EDEDED; }
.hero-points { list-style: none; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.hero-points li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.hero-points svg { color: var(--gold); flex: none; }
.hero__actions { display: flex; gap: .8rem; margin-top: 1.5rem; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; font-weight: 800; padding: .8rem 1.5rem; border-radius: var(--radius-pill); font-size: 1rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-line { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.btn-line:hover { background: rgba(255, 193, 7, .15); }
.hero-form { color: var(--ink); }
.hero-form h2 { margin: 0 0 .2rem; font-size: 1.3rem; }
.form-sub { color: var(--ink-soft); font-size: .95rem; margin-bottom: .9rem; }
.form-call { margin-top: .9rem; font-weight: 600; font-size: .95rem; }
.proofbar { position: relative; background: rgba(255,255,255,.07); border-top: 1px solid rgba(255,193,7,.35); }
.proofbar .wrap { display: flex; gap: 1.6rem; flex-wrap: wrap; padding: .8rem clamp(20px, 4vw, 44px); font-size: .9rem; color: #EDEDED; }
.proofbar strong { color: var(--gold); }
.proof-item { display: inline-flex; align-items: center; gap: .45rem; }
.proof-item::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex: none; }

/* MainStreet embed hardening: the async form must never widen the page */
#mainstreet-form { max-width: 100%; }
#mainstreet-form * { max-width: 100%; box-sizing: border-box; }

/* ---------- sections ---------- */
section { padding: 3.6rem 0; }
.section-alt { background: var(--mist); }
.section-dark { background: var(--ink); color: #EDEDED; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: var(--gold); }
.kicker { color: var(--bronze); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.22; margin: .4rem 0 1rem; font-weight: 400; }
h3 { font-size: 1.12rem; margin: 1.3rem 0 .4rem; }
.measure { max-width: 68ch; }
.measure p, .measure ul, .measure ol { margin-bottom: .9rem; }
.measure li { margin-left: 1.2rem; margin-bottom: .35rem; }
.note { color: var(--ink-soft); font-size: .92rem; }
.section-dark .note { color: #C9C9C4; }

.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.card h3 { margin-top: 0; }
.card a.more { font-weight: 800; text-decoration: none; }
.card img.card-photo { border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: .8rem; }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.photo-grid img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* reviews */
.review-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); }
.review-card p { font-size: .96rem; }
.review-card footer { margin-top: .7rem; font-weight: 800; font-size: .9rem; color: var(--ink); }
.review-card footer span { color: var(--ink-soft); font-weight: 500; }
.stars { color: var(--gold); letter-spacing: .1em; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: .7rem; }
details summary { cursor: pointer; font-weight: 700; }
details[open] summary { color: var(--bronze); }
details p { margin-top: .6rem; }

/* form / contact — the big shadow is reserved for the hero form card */
.form-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.hero-grid .form-card { box-shadow: var(--shadow); }
.ms-form__loading { color: var(--ink-soft); }
.consent { font-size: .8rem; color: var(--ink-soft); margin-top: .8rem; }
.fallback-call { font-size: 1.05rem; font-weight: 800; color: var(--ink); }

/* breadcrumbs */
.crumbs { font-size: .85rem; padding: .8rem 0 0; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); display: inline-block; padding: .4rem 0; }

/* ---------- inner-page hero band ---------- */
.page-hero { background: linear-gradient(180deg, var(--ink-2), var(--ink)); color: #EDEDED; padding: 1.2rem 0 2.6rem; margin-bottom: 2.4rem; }
.page-hero .crumbs { color: #C9C9C4; padding: 0 0 1rem; }
.page-hero .crumbs a { color: #C9C9C4; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.14; margin: .5rem 0 .8rem; }
.page-hero .lede { font-size: 1.08rem; max-width: 62ch; color: #EDEDED; margin: 0; }
.page-hero .hero__actions { display: flex; gap: .8rem; margin-top: 1.4rem; flex-wrap: wrap; }

/* areas chips */
.chip-grid { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { background: var(--ink); color: #fff; border-radius: var(--radius-pill); padding: .45rem 1rem; font-weight: 700; font-size: .88rem; }

/* team */
.team-card { display: grid; grid-template-columns: 1fr 2fr; gap: 1.4rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.team-card img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #D9D9D4; margin-top: 2rem; border-top: 4px solid var(--gold); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem; padding: 2.8rem clamp(20px, 4vw, 44px) 2rem; }
/* accent diet: quiet links, gold reserved for hover + the phone (.gold-link) */
.site-footer a { color: #D9D9D4; text-decoration: none; display: inline-block; padding: .18rem 0; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer a.gold-link { color: var(--gold); font-weight: 700; }
.footer-heading { font-weight: 800; color: #fff; margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.footer-logo { width: 150px; height: auto; border-radius: 10px; }
.legal { border-top: 1px solid rgba(255,255,255,.15); }
.legal .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem clamp(20px, 4vw, 44px); font-size: .8rem; flex-wrap: wrap; }

/* ---------- mobile call bar ---------- */
.callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--ink); height: 58px; border-top: 2px solid var(--gold); transition: opacity .25s ease, transform .25s ease; }
.callbar a { flex: 1; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-weight: 800; font-size: .95rem; height: 100%; }
.callbar a + a { border-left: 1px solid rgba(255,255,255,.25); background: var(--gold); color: var(--ink); }
.callbar--hero-visible { opacity: 0; transform: translateY(8px); pointer-events: none; }

/* reveal — scroll-fade is PHOTOS ONLY, and visible by DEFAULT: JS adds the
   .pending (hidden) class, so no-JS and print get the photos */
.photo-grid.reveal, .ba-pair.reveal { transition: opacity .5s ease, transform .5s ease; }
.photo-grid.reveal.pending, .ba-pair.reveal.pending { opacity: 0; transform: translateY(14px); }
@media (prefers-reduced-motion: reduce) { .photo-grid.reveal, .ba-pair.reveal, .photo-grid.reveal.pending, .ba-pair.reveal.pending { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; padding: 2.4rem 0 2.4rem; }
}
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 1rem; }
  .feature-row--flip img { order: 0; }
  .review-hero { padding: 1.4rem 1.2rem; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .callbar { display: flex; }
  body { padding-bottom: 58px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--ink-2); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 4.6rem 1.4rem 1.4rem; border-left: 1px solid rgba(255,255,255,.15);
    transform: translateX(100%); transition: transform .25s ease; z-index: 55;
    height: 100vh; height: 100dvh; overflow-y: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { display: inline-block; padding: .55rem 0; font-size: 1.05rem; }
  .nav-cta { margin-top: .8rem; padding: .7rem 1.2rem; }
  .site-footer a, .crumbs a { padding: .4rem 0; }
}
@media (max-width: 520px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 1.4rem; }
  .brand img { height: 48px; }
  .brand-word { font-size: 1.05rem; }
}

/* pass-2 fix: white review cards inside dark sections must not inherit the
   section's light text color */
.section-dark .review-card { color: var(--ink); }
.section-dark .review-card p { color: var(--ink); }

/* homepage feature rows (Kitchens / Baths / Whole-Home) */
.feature-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; margin-top: 1.8rem; }
.feature-row img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.feature-row--flip img { order: 2; }
.feature-row h3 { margin-top: 0; font-size: 1.35rem; }
.feature-row p { max-width: 52ch; margin: .4rem 0 .7rem; }

/* compact service list under the feature rows */
.svc-list { list-style: none; margin-top: 2.2rem; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); margin: 0; }
.svc-list a { display: block; padding: .95rem 0; text-decoration: none; color: var(--ink); }
.svc-list strong { display: block; font-size: 1.02rem; }
.svc-list span { color: var(--ink-soft); font-size: .92rem; }
.svc-list a:hover strong { color: var(--bronze); }

/* oversized review blockquote — ink on gold (12.7:1, see header) */
.review-hero { background: var(--gold); color: var(--ink); border-radius: var(--radius); padding: 2rem 2.2rem; margin: 1.4rem 0 .4rem; }
.review-hero .stars { color: var(--ink); }
.review-hero__quote { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 3.4vw, 2.2rem); line-height: 1.22; margin: .4rem 0 0; }
.review-hero footer { margin-top: 1rem; font-weight: 800; font-size: .9rem; }
.review-hero footer span { font-weight: 500; }
.review-grid .review-card p { font-size: .9rem; }

/* page closers (replaced the universal closing CTA pair) */
.closer img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: .9rem; }
.closer p { font-size: 1.05rem; font-weight: 600; }

/* Before & After pairs */
.ba-pair { margin: 1.4rem 0; }
.ba-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.ba-cell { position: relative; }
.ba-cell img { width: 100%; height: 260px; object-fit: cover; border-radius: 10px; display: block; }
.ba-chip { position: absolute; top: .55rem; left: .55rem; z-index: 1; background: var(--ink); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .25rem .55rem; border-radius: var(--radius-pill); }
.ba-chip-after { background: var(--gold); color: var(--ink); }
.ba-pair figcaption { font-size: .85rem; color: var(--ink-soft, #555); margin-top: .45rem; }
@media (max-width: 640px) { .ba-cell img { height: 170px; } }
