/* Prime Painting — site-specific styles (loaded after base.css) */

h1, h2, h3, .brand { font-stretch: 87.5%; }
h1, h2 { font-weight: 800; letter-spacing: -.02em; }
h3 { font-weight: 800; }
.site-footer .brand { font-weight: 800; font-size: var(--fs-xl); }

:root { --header-h: 80px; }
.site-header .brand img { height: 66px; width: auto; }
.btn { border-radius: var(--radius); }
.head-call { display: none; }
@media (max-width: 860px) {
  .head-call { display: inline-flex; min-height: 44px; padding: .55em .9em; margin-left: auto; }
  .opening-photo img { aspect-ratio: 16 / 9; }
  .opening-panel .lede { margin-bottom: var(--s-5); }
  .opening-panel { padding-top: var(--s-5); }
}
.btn-primary { box-shadow: none; }

/* ---- Opening: job photo with a white panel patched over its lower edge ---- */
.opening { position: relative; padding-bottom: var(--section); }
.opening-photo img {
  width: 100%; height: clamp(240px, 64vh, 660px);
  object-fit: cover; object-position: 50% 45%;
}
.opening-panel {
  position: relative; background: var(--bg);
  padding: var(--s-6) 0 0;
  max-width: 660px;
}
.opening-panel h1 { font-size: clamp(2.3rem, 1.6rem + 3.4vw, 4.4rem); line-height: 1; margin-bottom: var(--s-5); }
.opening-panel .lede { color: var(--ink-2); margin-bottom: var(--s-6); }
.badges { margin-top: var(--s-5); color: var(--ink-3); font-size: var(--fs-sm); font-weight: 600; }
.opening-facts { margin: var(--s-7) 0 0; display: grid; grid-template-columns: auto 1fr; gap: var(--s-3) var(--s-5); border-top: 2px solid var(--ink); padding-top: var(--s-5); font-size: var(--fs-sm); }
.opening-facts dt { font-weight: 600; color: var(--ink-3); }
.opening-facts dd { margin: 0; }
@media (min-width: 880px) {
  .opening .container { display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 1fr); gap: var(--s-8); align-items: end; }
  .opening-panel {
    margin-top: -190px;
    padding: var(--s-7) var(--s-7) 0;
    margin-left: calc(-1 * var(--s-7));
    border-top: 6px solid var(--brand);
    max-width: none;
  }
  .opening-facts { margin: 0; }
}
@media (max-width: 879px) {
  .opening-photo img { height: auto; aspect-ratio: 16 / 9; }
  .opening-panel h1 { font-size: clamp(2.1rem, 1.4rem + 4vw, 2.8rem); }
  .opening .btn-lg { font-size: var(--fs-md); padding: .9em 1.2em; }
}

/* ---- Reviews: one big quote, then the job book ---- */
.ledger-section { background: var(--bg-alt); }
.lead-quote { margin: 0 0 var(--s-8); max-width: 980px; }
.lead-quote blockquote { margin: 0; }
.lead-quote p {
  font-family: var(--font-display); font-stretch: 87.5%; font-weight: 800;
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.1rem); line-height: 1.1; letter-spacing: -.02em;
  max-width: none; margin: 0;
}
.lead-quote figcaption { margin-top: var(--s-4); color: var(--ink-3); font-size: var(--fs-sm); font-weight: 600; }
.lead-quote figcaption::before { content: ""; display: inline-block; width: 2.2rem; height: 3px; background: var(--brand); vertical-align: middle; margin-right: .7rem; }

.ledger-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-2) var(--s-6); margin-bottom: var(--s-5); }
.ledger-head h2 { font-size: var(--fs-xl); margin: 0; }
.ledger-head p { margin: 0; font-size: var(--fs-sm); }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ledger li {
  display: grid; grid-template-columns: 13rem 1fr; gap: var(--s-2) var(--s-6);
  padding: var(--s-4) 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.ledger .who { font-weight: 600; }
.ledger .who small { display: block; color: var(--ink-3); font-weight: 400; font-size: var(--fs-xs); }
.ledger .what { font-size: var(--fs-lg); line-height: 1.4; }
@media (max-width: 640px) {
  .ledger li { grid-template-columns: 1fr; }
  .ledger .who small { display: inline; margin-left: .5em; }
  .ledger .what { font-size: var(--fs-md); }
}
.ledger-foot { margin-top: var(--s-5); font-weight: 600; }

/* ---- Services: photo + text, no boxes ---- */
.services { display: grid; gap: var(--s-7) var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.service { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s-5); align-items: start; }
.service img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.service h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.service p { color: var(--ink-2); margin: 0; }
@media (max-width: 420px) { .service { grid-template-columns: 6.5rem 1fr; gap: var(--s-4); } }

/* ---- Recent work ---- */
.work { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, 1fr); }
.work > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.work-feature { grid-column: 1 / -1; margin: 0; display: grid; gap: var(--s-6); grid-template-columns: 1.6fr 1fr; align-items: end; }
.work-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.work-feature h3 { font-size: var(--fs-xl); }
.work-feature p { color: var(--ink-2); }
@media (max-width: 760px) {
  .work { grid-template-columns: 1fr 1fr; }
  .work-feature { grid-template-columns: 1fr; gap: var(--s-4); }
  .work > img:last-child { grid-column: 1 / -1; }
}

/* ---- Quote ---- */
.quote-grid { display: grid; gap: var(--s-7); grid-template-columns: 1fr; }
@media (min-width: 880px) { .quote-grid { grid-template-columns: 1.5fr 1fr; } }
.steps { list-style: none; padding: 0; margin: var(--s-6) 0 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps .step::before { color: var(--brand); font-stretch: 87.5%; }
.steps h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.steps p { color: var(--ink-2); }
.facts { border-left: 2px solid var(--line); padding-left: var(--s-6); }
.facts h3 { font-size: var(--fs-md); margin: var(--s-5) 0 var(--s-2); }
.facts h3:first-child { margin-top: 0; }
.facts .hours { font-size: var(--fs-md); }
@media (max-width: 879px) { .facts { border-left: 0; padding-left: 0; border-top: 2px solid var(--line); padding-top: var(--s-6); } }
