/* Jimmy's Five Star Painting sample. Palette from Jimmy's badge: navy, a
   strong red and gold stars, on a warm eggshell like a fresh primer coat.
   Display type is Fraunces (soft, a little old-fashioned, like the names on
   paint chips); body is Inter. */
:root {
  --navy: #1d2f5e;
  --navy-2: #24407f;
  --navy-deep: #131f40;
  --ink: #18213a;
  --muted: #5a6274;
  --red: #c62a30;
  --red-hover: #ad2329;
  --gold: #f3b12a;
  --gold-ink: #9a6a00;
  --egg: #f8f4ec;
  --egg-2: #f1ebdf;
  --line: #e4ddcf;
  --white: #fff;
  --radius: 14px;
  --head: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.concept { background: #e9eefa; color: #1f2f5c; font-size: 13px; text-align: center; padding: 7px 16px; border-bottom: 1px solid #cdd7ef; }
.concept a { color: var(--navy-2); font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px/1 var(--body); text-decoration: none; padding: 13px 19px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 16px; padding: 16px 24px; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-hover); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-badge { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 800 24px/1 var(--head); letter-spacing: -.01em; }
.brand-sub { font: 800 10.5px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--red); margin-top: 5px; white-space: nowrap; }
.brand-stars { color: var(--gold); letter-spacing: .02em; margin-right: 3px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); opacity: .82; }
.nav a:hover { opacity: 1; color: var(--red); }
.header-call { padding: 11px 16px; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-left: auto; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Hero: the house gets painted (js/intro.js, drawn by tools/scene.js) */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #eef3f7 0%, var(--egg) 70%); }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 70%; background: radial-gradient(closest-side, rgba(243,177,42,.18), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; padding: 48px 0 18px; }
.lockup { display: inline-flex; flex-direction: column; align-items: flex-start; margin-bottom: 18px; }
.lk-stars { display: flex; gap: 3px; font-size: 22px; line-height: 1; color: var(--gold); text-shadow: 0 1px 0 #c98a10; }
.lk-stars i { font-style: normal; display: inline-block; }
.lk-name { font: 800 54px/0.95 var(--head); color: var(--navy); letter-spacing: -.02em; margin-top: 6px; }
.lk-banner { display: inline-block; background: var(--red); color: #fff; font: 800 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px 6px; margin-top: 8px; border-radius: 3px; box-shadow: 0 3px 0 #8f1c21; }
.lk-banner span { display: inline-block; }
.hero-eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 60px); color: var(--ink); }
.h1-a, .h1-b { display: inline-block; }
.h1-b { position: relative; color: var(--red); font-style: italic; }
.h1-stroke { position: absolute; left: -2%; bottom: -10px; width: 104%; height: 16px; overflow: visible; }
.h1-stroke path { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.lede { font-size: 18px; color: var(--muted); max-width: 34em; margin: 22px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scene-wrap { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(19,31,64,.45), 0 0 0 1px rgba(29,47,94,.08); background: #dfeaf2; }
.scene { width: 100%; height: auto; display: block; }
.hero-foot { position: relative; display: flex; justify-content: flex-end; min-height: 44px; padding-bottom: 14px; }
.replay { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0; color: var(--navy); font: 600 14px var(--body); cursor: pointer; padding: 8px 4px; opacity: .8; }
.replay:hover { opacity: 1; text-decoration: underline; }
.skip-intro { position: absolute; right: 12px; bottom: 12px; z-index: 3; background: rgba(19,31,64,.82); color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font: 600 13px var(--body); cursor: pointer; }
.skip-intro:hover { background: var(--navy-deep); }
/* boot.js adds .intro before first paint so nothing flashes finished first */
.intro .hero-copy, .intro .scene { visibility: hidden; }

/* Trust strip */
.trust { background: var(--navy); color: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust p { display: flex; flex-direction: column; padding: 20px 18px; border-left: 1px solid rgba(255,255,255,.14); }
.trust p:first-child { border-left: 0; padding-left: 0; }
.trust b { font: 700 22px/1.1 var(--head); color: var(--gold); }
.trust span { font-size: 14px; opacity: .85; margin-top: 3px; }

/* Sections */
.section { padding: 84px 0; }
.section-tint { background: var(--egg); }
.section-dark { background: var(--navy-deep); color: #fff; }
.eyebrow { font-weight: 800; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.section-dark .eyebrow { color: var(--gold); }
.h-section { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
.section-lede { color: var(--muted); font-size: 17px; max-width: 40em; margin-bottom: 34px; }

/* Services as paint chips */
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.chip { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 14px 30px -22px rgba(19,31,64,.45); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.chip:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 1px 0 var(--line), 0 22px 40px -24px rgba(19,31,64,.55); }
.chip-color { background: var(--c); color: var(--t); height: 118px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; }
.chip-white { border-bottom: 1px solid var(--line); }
.chip-no { font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.chip-name { font: italic 600 21px/1.1 var(--head); }
.chip-body { padding: 18px 18px 20px; }
.chip-body h3 { font-size: 21px; margin-bottom: 6px; color: var(--navy); }
.chip-body p { color: var(--muted); font-size: 15.5px; }

/* Work */
.pair { margin: 0 0 26px; }
#work .h-section { margin-bottom: 26px; }
.pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 780px; }
.pair-shot { position: relative; border-radius: 12px; overflow: hidden; }
.pair-shot img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); color: var(--navy); font: 800 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.tag-after { background: var(--red); color: #fff; }
.pair figcaption, .shot figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.pair figcaption b { font: 700 20px/1.2 var(--head); }
.pair figcaption span { opacity: .78; font-size: 15px; }
.pair-row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; margin-top: 18px; align-items: start; }
.pair-stack { display: grid; gap: 6px; border-radius: 12px; overflow: hidden; }
.pair-stack img { width: 100%; }
.gallery { display: grid; grid-template-columns: 1fr 1fr 0.62fr; gap: 18px; margin-top: 18px; align-items: start; }
.shot { margin: 0; }
.shot img { border-radius: 12px; width: 100%; }
.shot-tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.shot figcaption { font-weight: 600; font-size: 15px; opacity: .85; }
.gallery-note { margin-top: 26px; font-size: 14px; opacity: .7; }

/* Colors */
.colors { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.colors-copy > p { color: var(--muted); font-size: 17px; }
.combos { display: grid; gap: 10px; margin: 24px 0 18px; }
.combo { display: flex; align-items: center; gap: 10px; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 600 16px var(--body); color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.combo:hover { border-color: #c8bfae; }
.combo[aria-pressed="true"] { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(36,64,127,.14); }
.sw { width: 26px; height: 26px; border-radius: 6px; background: var(--a); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); flex: none; }
.sw-wood { background: linear-gradient(90deg, #8a5a30, #b07a45 50%, #93622f); }
.combo-name { margin-left: 4px; }
.colors-note { font-size: 15px !important; }
.cp-wrap { margin: 0; background: linear-gradient(180deg, #e6eef4, #f7f2e8); border-radius: 22px; padding: 26px 26px 18px; box-shadow: inset 0 0 0 1px var(--line); }
.cp { width: 100%; height: auto; display: block; }
.cp-body, .cp-trim, .cp-shut, .cp-door { transition: fill .6s ease; }
.cp-body { fill: var(--body-c); } .cp-trim { fill: var(--trim-c); } .cp-shut { fill: var(--accent-c); } .cp-door { fill: var(--door-c); }
.combo-navy { --body-c: #e7e3da; --trim-c: #ffffff; --accent-c: #1f2f55; --door-c: #1f2f55; }
.combo-sage { --body-c: #ece6d8; --trim-c: #f8f5ed; --accent-c: #93a77f; --door-c: url(#cp-wood); }
.combo-charcoal { --body-c: #c9cdd0; --trim-c: #f6f6f4; --accent-c: #34383d; --door-c: #34383d; }
.cp-cap { text-align: center; font: italic 600 18px var(--head); color: var(--navy); margin-top: 12px; }

/* Estimate */
.quote-sec { background: var(--egg); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.quote-lede { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.quote-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.quote-points li { position: relative; padding-left: 28px; font-weight: 600; }
.quote-points li::before { content: "★"; position: absolute; left: 0; top: -1px; color: var(--gold); font-size: 18px; }
.quote { background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 24px 50px -30px rgba(19,31,64,.45); border: 1px solid var(--line); display: grid; gap: 14px; }
.quote h2 { font-size: 26px; color: var(--navy); }
.quote-note { color: var(--muted); font-size: 14.5px; margin-top: -8px; }
.quote label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.quote input, .quote select, .quote textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 13px; border: 1.5px solid #d6cfc1; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: 0; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(36,64,127,.15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { font-weight: 400; color: var(--muted); }
.form-msg { background: #edf1fb; color: #1f2f5c; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; }
.form-msg a { color: var(--navy-2); font-weight: 700; }

/* About */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.about-badge { width: 240px; height: 240px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px #fff, 0 24px 50px -24px rgba(19,31,64,.5); object-fit: cover; }
.about p { color: var(--muted); font-size: 17px; max-width: 40em; }
.about blockquote { margin: 22px 0 26px; padding: 4px 0 4px 20px; border-left: 4px solid var(--red); font: italic 600 22px/1.35 var(--head); color: var(--navy); }
.about cite { display: block; margin-top: 6px; font: 600 14px var(--body); color: var(--muted); font-style: normal; }

/* Reviews */
.review-slot { max-width: 760px; margin: 0 auto; text-align: center; border: 2px dashed #d6cfc1; border-radius: 18px; padding: 34px 26px; background: var(--egg); }
.review-stars { color: var(--gold); font-size: 26px; letter-spacing: 4px; }
.review-slot-title { font: 700 26px/1.2 var(--head); color: var(--navy); margin: 8px 0 10px; }
.review-slot p:last-child { color: var(--muted); }

/* Areas */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.areas-lede { color: var(--muted); font-size: 17px; }
.towns { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; }
.towns .town-home { background: var(--navy); color: #fff; border-color: var(--navy); }

/* FAQ */
.faq-wrap { max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font: 700 19px/1.3 var(--head); color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 26px/1 var(--body); color: var(--red); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; font-size: 16.5px; }

/* CTA + footer */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 72px 0; }
.cta-inner { display: grid; justify-items: center; gap: 12px; }
.cta-stars { color: var(--gold); font-size: 24px; letter-spacing: 4px; }
.cta h2 { font-size: clamp(32px, 4vw, 48px); }
.cta p { opacity: .85; font-size: 18px; margin-bottom: 10px; }
.footer { background: var(--navy-deep); color: rgba(255,255,255,.82); padding: 36px 0 90px; font-size: 15px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-name { font: 700 20px var(--head); color: #fff; }
.footer a { color: #fff; }
.footer-credit { text-align: center; margin-top: 26px; font-size: 13px; opacity: .7; }
.call-fab { display: none; }

@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -20px rgba(0,0,0,.3); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
  .header-call { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 20px; gap: 24px; }
  .scene-wrap { order: -1; }
  .chips { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust p:nth-child(3) { border-left: 0; padding-left: 0; }
  .colors, .quote-grid, .areas { grid-template-columns: 1fr; gap: 30px; }
  .pair-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .shot-tall { grid-column: span 2; }
  .shot-tall img { aspect-ratio: 4 / 3; object-position: center 35%; }
  .about { grid-template-columns: 1fr; gap: 28px; justify-items: start; }
  .about-badge { width: 160px; height: 160px; }
  .call-fab { display: inline-flex; align-items: center; gap: 8px; position: fixed; right: 16px; bottom: 16px; z-index: 30; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 18px; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .brand-name { font-size: 21px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .1em; }
  .lockup { display: none; }
  .lede { font-size: 16.5px; }
  .chips { grid-template-columns: 1fr; }
  .chip-color { height: 92px; }
  .row2 { grid-template-columns: 1fr; }
  .trust b { font-size: 19px; }
  .trust p { padding: 16px 12px; }
  .quote { padding: 22px 18px; }
  .gallery { grid-template-columns: 1fr; }
  .shot-tall { grid-column: auto; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cp-wrap { padding: 16px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip, .btn, .cp-body, .cp-trim, .cp-shut, .cp-door { transition: none; }
}
