/* Mike's Painting Co. — site styles
   Tokens from copy/brand-kit.md. One bold idea: real before/after photos with
   masking-tape labels, revealed with a paint-roller wipe. Everything else stays quiet. */

:root {
  --limewash: #FAF6EF;
  --plaster: #F1E9DD;
  --white: #FFFFFF;
  --ink: #1F1B18;
  --driftwood: #62594F;
  --brick: #A3361F;
  --brick-dark: #7F2816;
  --eucalyptus: #2D5B5D;
  --eucalyptus-dark: #224647;
  --sand: #E0D5C5;
  --tape: #EADDBF;

  --font-head: "Archivo", "Archivo Fallback", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Atkinson Fallback", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* Fallback faces sized to match the web fonts, so text doesn't jump when the fonts finish loading.
   Ratios measured against Arial: Atkinson 400 = 98.6%, Archivo 650/108% = 105%, Archivo 800/118% = 120%. */
@font-face { font-family: "Atkinson Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 98.6%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); size-adjust: 108%; }
@font-face { font-family: "Archivo Wide Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); size-adjust: 120%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--limewash);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--brick); text-underline-offset: 3px; }
a:hover { color: var(--brick-dark); }
:focus-visible { outline: 3px solid var(--eucalyptus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-stretch: 118%;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 750; }
h1, h2 { font-family: "Archivo", "Archivo Wide Fallback", Arial, sans-serif; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 650; font-stretch: 108%; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 66ch; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

.text-link { font-weight: 700; display: inline-block; padding: 6px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--font-head); font-stretch: 110%; font-weight: 700; font-size: 1.05rem; line-height: 1.1;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brick); color: var(--white); }
.btn-primary:hover { background: var(--brick-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--limewash); }
.btn-light { background: var(--white); color: var(--eucalyptus); }
.btn-light:hover { background: var(--limewash); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn-ghost:hover { background: var(--white); color: var(--eucalyptus); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  /* Solid, no backdrop-filter: a filter here would trap the fixed mobile menu inside the header box. */
  background: var(--limewash);
  border-bottom: 1px solid var(--sand);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; padding: 6px 0; }
.brand img { height: 58px; width: auto; }
.nav { display: none; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--brick); border-bottom-color: var(--brick); }
.nav .chev { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.has-menu { position: relative; }
.submenu {
  position: absolute; top: 100%; left: -20px; min-width: 300px;
  list-style: none; margin: 0; padding: 10px;
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(31, 27, 24, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.has-menu:hover .submenu, .has-menu:focus-within .submenu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.has-menu:hover .chev, .has-menu:focus-within .chev { transform: rotate(180deg); }
.submenu a { display: block; padding: 9px 12px; border: 0; border-radius: 4px; font-weight: 400; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--plaster); color: var(--brick-dark); }
.submenu-all { border-top: 1px solid var(--sand); margin-top: 6px; padding-top: 6px; }
.submenu-all a { font-weight: 700; }

.header-cta { display: none; align-items: center; gap: 20px; }
.header-phone { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--brick); }
.header-cta .btn { min-height: 46px; padding: 0 20px; font-size: 1rem; }

.menu-toggle {
  display: inline-flex; align-items: center;
  min-height: 46px; padding: 0 14px;
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius);
  font: 700 1rem var(--font-body); cursor: pointer;
}
.menu-toggle span { display: inline-flex; align-items: center; gap: 8px; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .when-open { display: none; }
.menu-toggle[aria-expanded="true"] .when-open { display: inline-flex; }
.menu-toggle[aria-expanded="true"] .when-closed { display: none; }

.mobile-menu {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
  background: var(--limewash); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px 0 40px;
  opacity: 0; transform: translateY(-12px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-group { margin: 16px 0 4px; color: var(--driftwood); font-size: 0.95rem; }
.mobile-services a { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--sand); }
.mobile-main { margin-top: 20px !important; }
.mobile-main a {
  display: block; padding: 14px 0; font-family: var(--font-head); font-stretch: 115%; font-size: 1.5rem; font-weight: 750;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--sand);
}
.mobile-menu a[aria-current="page"] { color: var(--brick); }
.mobile-cta { display: grid; gap: 12px; margin-top: 28px; }

@media (min-width: 1000px) {
  .brand img { height: 66px; }
  .nav, .header-cta { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.95rem; color: var(--driftwood); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--sand); }
.crumbs a { color: var(--driftwood); display: inline-block; padding: 8px 0; }
.crumbs ol { align-items: center; }
.crumbs a:hover { color: var(--brick); }

/* ---------- Home hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 var(--section); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.lede { font-size: 1.2rem; max-width: 46ch; }
.hero-home .lede { max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; padding: 6px 0; }
.hero-rating .stars { color: var(--brick); letter-spacing: 2px; }
.hero-rating .count { color: var(--driftwood); font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.hero-rating:hover .count { color: var(--brick); }

.diptych { position: relative; margin: 0; display: grid; grid-template-columns: 0.82fr 1fr; gap: 14px; align-items: end; }
.diptych .shot { position: relative; margin: 0; }
.diptych .shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.diptych .shot-before { margin-bottom: 48px; }
.diptych .caption { grid-column: 1 / -1; margin-top: 6px; font-size: 0.95rem; color: var(--driftwood); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 0.95fr 1.2fr; gap: 56px; } }

/* Masking tape labels */
.tape {
  position: absolute; top: -12px; left: 18px; z-index: 2;
  padding: 7px 18px 6px;
  background: var(--tape); color: var(--ink);
  font-family: var(--font-head); font-stretch: 112%; font-weight: 700; font-size: 1rem; line-height: 1.2;
  transform: rotate(-3deg);
  box-shadow: 0 1px 2px rgba(31, 27, 24, 0.18);
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 2%, 88% 0, 92% 9%, 96% 1%, 100% 7%,
                     100% 92%, 96% 100%, 92% 91%, 88% 100%, 12% 98%, 8% 90%, 4% 100%, 0 93%);
  pointer-events: none;
}
.shot-after .tape { left: auto; right: 18px; transform: rotate(2.5deg); }

/* Page-load moment (home hero only): photos settle in, then the tape presses on. */
@media (prefers-reduced-motion: no-preference) {
  .diptych .shot { animation: settle .8s var(--ease) both; }
  .diptych .shot-after { animation-delay: .12s; }
  .diptych .tape { animation: tape-on .45s var(--ease) both; animation-delay: .7s; }
  .diptych .shot-after .tape { animation-name: tape-on-r; animation-delay: .85s; }
  .hero-home .hero-copy > * { animation: rise .7s var(--ease) both; }
  .hero-home .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-home .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-home .hero-copy > :nth-child(4) { animation-delay: .24s; }
}
/* Movement only, no fade: content is visible (and counts as painted) from the first frame. */
@keyframes settle { from { transform: translateY(18px) scale(.985); } to { transform: none; } }
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
@keyframes tape-on { from { opacity: 0; transform: rotate(-9deg) scale(1.25); } to { opacity: 1; transform: rotate(-3deg) scale(1); } }
@keyframes tape-on-r { from { opacity: 0; transform: rotate(9deg) scale(1.25); } to { opacity: 1; transform: rotate(2.5deg) scale(1); } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); }
.page-hero .lede { max-width: 60ch; }
.page-hero.center { text-align: center; padding: clamp(64px, 10vw, 140px) 0; }
.page-hero.center .lede { margin-inline: auto; }
.page-hero.center .hero-actions { justify-content: center; }
.page-hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-sub { font-family: var(--font-head); font-stretch: 112%; font-weight: 650; font-size: 1.3rem; color: var(--brick-dark); margin-top: -0.2em; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); max-height: 640px; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: settle .8s var(--ease) both; }
}

/* ---------- Credentials strip ---------- */
.credentials { background: var(--white); border-block: 1px solid var(--sand); }
.credentials ul { list-style: none; margin: 0 auto; padding: 22px var(--gutter); display: grid; grid-template-columns: 1fr; gap: 14px; }
.credentials li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.credentials li a { color: var(--ink); display: inline-block; padding: 6px 0; }
.credentials svg { width: 26px; height: 26px; color: var(--eucalyptus); flex: none; }
.credentials small { display: block; font-weight: 400; color: var(--driftwood); font-size: 0.9rem; }
@media (min-width: 700px) { .credentials ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .credentials ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-alt { background: var(--plaster); }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-flush-top { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--driftwood); }
.more-link { margin: 48px 0 0; }
.note { color: var(--driftwood); margin-top: 24px; }

.intro { display: grid; gap: 24px; }
.intro p { font-size: 1.1rem; }
.pull { font-family: var(--font-head); font-stretch: 112%; font-weight: 700; font-size: 1.35rem !important; line-height: 1.3; color: var(--brick-dark); }
@media (min-width: 900px) { .intro { grid-template-columns: 1fr 1.3fr; gap: 64px; } }

.story-copy { max-width: 760px; }
.story-copy p { font-size: 1.1rem; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: 4px 0; }

/* ---------- Services list ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; }
.service { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; padding: 22px 0; border-top: 1px solid var(--sand); }
.service img { width: 96px; height: 120px; object-fit: cover; border-radius: var(--radius); }
.service h3 { margin-bottom: 6px; }
.service h3 a { color: var(--ink); text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; }
.service { position: relative; }
.service:hover h3 a { color: var(--brick); text-decoration: underline; }
.service p { margin: 0; color: var(--driftwood); font-size: 1rem; }
@media (min-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .service { grid-template-columns: 120px 1fr; }
  .service img { width: 120px; height: 150px; }
}

.trade-band {
  margin-top: 48px; padding: 32px; background: var(--eucalyptus); color: var(--white);
  border-radius: var(--radius); display: grid; gap: 24px;
}
.trade-band h3 { color: var(--white); }
.trade-band p { color: #E4ECEA; margin-bottom: 0; }
.trade-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: start; }
@media (min-width: 900px) { .trade-band { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 40px 48px; } }

/* ---------- Included / checklists ---------- */
.included { display: grid; gap: 28px; }
.lead-in { font-weight: 700; }
.after-list { margin-top: 20px; font-weight: 700; }
.included-after { margin-top: 40px; display: grid; gap: 0 48px; }
@media (min-width: 900px) {
  .included { grid-template-columns: 1fr 1.2fr; gap: 64px; }
  .included-after { grid-template-columns: 1fr 1fr; }
}
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--sand); }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 22px; height: 22px; color: var(--brick); margin-top: 3px; }
.two-lists { display: grid; gap: 48px; }
@media (min-width: 900px) { .two-lists { grid-template-columns: 1fr 1fr; gap: 64px; } }
.cred-panel { border-left: 6px solid var(--brick); padding: 8px 0 8px 28px; max-width: 820px; }
.cred-panel p { font-size: 1.15rem; margin: 0; }

/* ---------- Process steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 28px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px; }
.steps li::before {
  content: counter(step);
  font-family: var(--font-head); font-stretch: 125%; font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--brick);
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--driftwood); }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 32px; }
  .steps li { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Before/after pairs ---------- */
.pairs { display: grid; gap: 48px; }
.pair, .single { margin: 0; }
.pair-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shot { position: relative; margin: 0; }
.pair-photos img, .single img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.pair.is-landscape .pair-photos img { aspect-ratio: 4 / 3; }
.pair .tape { font-size: 0.9rem; top: -10px; left: 12px; padding: 5px 14px 4px; }
.pair .shot-after .tape { left: auto; right: 12px; }
.pair figcaption, .single figcaption { margin-top: 12px; }
.pair figcaption strong { display: block; font-family: var(--font-head); font-stretch: 108%; font-size: 1.1rem; line-height: 1.3; }
.pair figcaption span, .single figcaption span { color: var(--driftwood); font-size: 0.98rem; }
@media (min-width: 900px) {
  .pairs { grid-template-columns: repeat(2, 1fr); column-gap: 48px; row-gap: 64px; }
  .pair.wide { grid-column: 1 / -1; }
  .pair.wide .pair-photos { max-width: 900px; }
}

/* Paint-roller wipe: the "after" photo is rolled on when the pair scrolls into view. */
@media (prefers-reduced-motion: no-preference) {
  .js .pair.reveal .shot-after img { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease) .15s; }
  .js .pair.reveal .shot-after .tape { opacity: 0; transition: opacity .3s ease 1s; }
  .js .pair.reveal.is-visible .shot-after img { clip-path: inset(0 0 0 0); }
  .js .pair.reveal.is-visible .shot-after .tape { opacity: 1; }
}

/* Galleries on service pages */
.gallery { display: grid; gap: 40px 24px; grid-template-columns: 1fr; }
.gallery .pair { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .pair { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery .pair { grid-column: span 2; }
  .gallery .single { grid-column: span 1; }
}

.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); }
.zoom img { transition: filter .2s ease; }
.zoom:hover img { filter: brightness(1.04) saturate(1.05); }

/* ---------- Portfolio ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
.filter {
  flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 700 0.98rem var(--font-body); cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.filter:hover { background: var(--plaster); }
.filter.is-active { background: var(--ink); color: var(--limewash); }
.filter-status { color: var(--driftwood); font-size: 0.95rem; margin: 8px 0 28px; min-height: 1.5em; }
.work-grid { display: grid; gap: 48px 24px; grid-template-columns: 1fr; }
.work-item:has(.pair) { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); }
  .work-item:has(.pair) { grid-column: span 2; }
}
.work-item { transition: opacity .25s var(--ease), transform .25s var(--ease); }
.work-item.is-hiding { opacity: 0; transform: scale(.98); }
.work-item[hidden] { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(20, 17, 15, 0.92);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; transition: opacity .2s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-inner { position: relative; width: 100%; max-width: 1100px; height: 100%; display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: var(--radius); }
.lightbox figcaption { color: #EDE6DA; text-align: center; max-width: 60ch; }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgba(250, 246, 239, 0.95); color: var(--ink);
}
.lightbox button svg { width: 22px; height: 22px; }
.lightbox-close { top: 0; right: 0; }
.lightbox-prev { left: 0; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0; top: 50%; transform: translateY(-50%); }
@media (prefers-reduced-motion: no-preference) {
  .lightbox img { animation: settle .3s var(--ease) both; }
}

/* ---------- Owner ---------- */
.owner { display: grid; gap: 32px; align-items: center; }
.owner img { border-radius: var(--radius); width: 100%; }
.owner blockquote { margin: 0 0 1em; font-family: var(--font-head); font-stretch: 108%; font-weight: 650; font-size: 1.3rem; line-height: 1.35; }
@media (min-width: 900px) { .owner { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

/* ---------- In-house crew (home) ---------- */
.section-crew { background: var(--eucalyptus); color: var(--white); }
.section-crew h2 { color: var(--white); }
.crew { display: grid; gap: 32px; align-items: center; }
.crew img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.crew-lede { font-size: 1.15rem; }
.crew-points { margin: 28px 0; }
.crew-points div { padding: 16px 0; border-top: 1px solid rgb(255 255 255 / 0.3); }
.crew-points dt { font-family: var(--font-head); font-stretch: 108%; font-weight: 700; font-size: 1.15rem; }
.crew-points dd { margin: 4px 0 0; }
.crew-tip { margin: 0; padding: 18px 20px; background: var(--limewash); color: var(--ink); border-radius: var(--radius); }
@media (min-width: 900px) {
  .crew { grid-template-columns: 1fr 1.25fr; gap: 64px; }
  .crew img { aspect-ratio: 4 / 5; }
}

/* ---------- Reviews ---------- */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.reviews-head .section-head { margin-bottom: 0; }
.reviews { columns: 1; column-gap: 28px; }
.review { break-inside: avoid; margin: 0 0 28px; padding: 26px 26px 22px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); }
.review blockquote { margin: 0 0 14px; }
.review blockquote p { margin: 0; max-width: none; }
.review figcaption { font-weight: 700; }
.review figcaption span { font-weight: 400; color: var(--driftwood); }
@media (min-width: 700px) { .reviews { columns: 2; } }
@media (min-width: 1050px) { .reviews { columns: 3; } }
.quote-feature { max-width: 760px; }
.quote-feature .review { margin: 0; border-left: 6px solid var(--brick); font-size: 1.15rem; }

/* ---------- FAQs ---------- */
.faq-wrap { max-width: 860px; }
.faqs { border-top: 1px solid var(--sand); }
.faq { border-bottom: 1px solid var(--sand); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-family: var(--font-head); font-stretch: 105%; font-weight: 650; font-size: 1.12rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brick); }
.faq-chev { width: 22px; height: 22px; flex: none; transition: transform .25s var(--ease); }
.faq[open] .faq-chev { transform: rotate(180deg); }
.faq-body p { margin: 0 0 20px; color: var(--ink); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
  .faq[open]::details-content { block-size: auto; }
}
.faq-layout { display: grid; gap: 40px; }
.faq-toc .toc-title { font-weight: 700; margin-bottom: 8px; }
.faq-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.faq-toc a { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--sand); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 0.95rem; background: var(--white); }
.faq-toc a:hover { border-color: var(--brick); color: var(--brick); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
@media (min-width: 1000px) {
  .faq-layout { grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
  .faq-toc { position: sticky; top: calc(var(--header-h) + 24px); }
  .faq-toc ul { display: grid; gap: 4px; }
  .faq-toc a { border: 0; background: none; padding: 6px 0; border-radius: 0; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--eucalyptus); color: var(--white); padding: clamp(48px, 7vw, 88px) 0; }
.cta-inner { display: grid; gap: 24px; align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #E4ECEA; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.3fr 1fr; } .cta-actions { justify-content: flex-end; } }

/* ---------- Service area ---------- */
.area { display: grid; gap: 32px; }
.area-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.area-list li { padding: 7px 0; border-bottom: 1px solid var(--sand); break-inside: avoid; }
@media (min-width: 700px) { .area > .area-list { columns: 3; } }
@media (min-width: 900px) { .area { grid-template-columns: 1fr 1.4fr; gap: 64px; } }
.area-cols { display: grid; gap: 32px; }
.area-cols h3 { margin-bottom: 8px; }
@media (min-width: 900px) { .area-cols { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; } .area-cols > div:first-child .area-list { columns: 3; } .area-cols .area-list { columns: 1; } }
.map { margin-top: 48px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sand); background: var(--plaster); }
.map iframe { display: block; width: 100%; height: clamp(300px, 45vw, 460px); border: 0; }

/* ---------- Contact cards ---------- */
.contact-cards { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-cards li { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; align-content: start; }
.contact-cards h2 { font-size: 1.05rem; font-stretch: 110%; margin: 0; color: var(--driftwood); }
.contact-cards p { margin: 0; }
.big-link { font-family: var(--font-head); font-stretch: 112%; font-weight: 750; font-size: 1.5rem; color: var(--ink); text-decoration: none; }
.big-link.small { font-size: 1.05rem; word-break: break-all; }
.contact-cards .btn { justify-self: start; min-height: 46px; margin-top: 6px; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Estimate form ---------- */
.estimate { display: grid; gap: 40px; }
.contact-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-points li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.contact-points svg { width: 22px; height: 22px; margin-top: 4px; color: var(--brick); }
.contact-points a { color: var(--ink); font-weight: 700; display: inline-block; padding: 2px 0; word-break: break-word; }
.contact-points span { color: var(--driftwood); }
.form { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; }
.req, .hint { font-weight: 400; color: var(--driftwood); font-size: 0.9rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--limewash); border: 1.5px solid var(--driftwood); border-radius: var(--radius);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--eucalyptus); outline-offset: 1px; border-color: var(--eucalyptus); }
.field input:user-invalid { border-color: var(--brick); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-top: 6px; }
.checks label { display: flex; align-items: center; gap: 10px; font-weight: 400; min-height: 44px; cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--brick); flex: none; }
.file-note { margin: 6px 0 0; font-size: 0.9rem; color: var(--driftwood); }
.field input[type="file"] { font: inherit; font-size: 0.95rem; width: 100%; min-width: 0; }
.checks label { min-width: 0; }
.form .btn { width: 100%; margin-top: 8px; }
.form .fine { font-size: 0.9rem; color: var(--driftwood); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field.full { grid-column: 1 / -1; }
}
@media (min-width: 900px) { .estimate { grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--eucalyptus-dark); color: #E4ECEA; padding: 64px 0 120px; }
.site-footer a { color: var(--white); text-underline-offset: 3px; display: inline-block; padding: 3px 0; }
.footer-grid { display: grid; gap: 36px; }
.footer-grid h2 { font-size: 1.15rem; color: var(--white); margin-bottom: 12px; }
.footer-grid .footer-sub { margin-top: 28px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-grid p { margin: 0 0 10px; }
.footer-logo { background: var(--limewash); border-radius: var(--radius); padding: 10px 14px !important; }
.footer-logo img { width: 96px; height: auto; }
.footer-promise { margin-top: 16px !important; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.1fr 1fr 1.1fr 1fr; } .site-footer { padding-bottom: 48px; } }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--limewash); border-top: 1px solid var(--sand);
  box-shadow: 0 -4px 16px rgba(31, 27, 24, 0.08);
  transition: transform .25s var(--ease);
}
.action-bar .btn { min-height: 50px; padding: 0 12px; }
body.menu-open .action-bar { transform: translateY(110%); }
@media (min-width: 1000px) { .action-bar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =====================================================================
   Round 2: conversion + storytelling components
   ===================================================================== */

.btn-big { min-height: 56px; padding: 0 30px; font-size: 1.1rem; }

/* ---------- Trust badges ---------- */
.trust-strip { background: var(--white); border-block: 1px solid var(--sand); padding: 20px 0; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.trust svg { width: 22px; height: 22px; color: var(--eucalyptus); flex: none; margin-top: 2px; }
.trust strong { display: block; font-size: 0.98rem; line-height: 1.25; }
.trust strong a { color: var(--ink); }
.trust small { display: block; color: var(--driftwood); font-size: 0.86rem; line-height: 1.35; }
@media (min-width: 1000px) { .trust-strip .trust { grid-template-columns: repeat(5, 1fr); } }
.trust-compact { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--sand); }

/* ---------- Home hero ---------- */
.hero-place { display: inline-flex; align-items: center; gap: 8px; color: var(--brick-dark); font-weight: 700; margin-bottom: 18px; }
.hero-place svg { width: 18px; height: 18px; }
.hero-visual { position: relative; min-width: 0; }
.hero-compare .compare-stage { aspect-ratio: 4 / 5; }
.drag-hint { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--driftwood); font-size: 0.92rem; }
.drag-hint svg { width: 18px; height: 18px; }
@media (min-width: 1000px) { .hero-home .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; } }

/* ---------- Compare slider ---------- */
.compare { margin: 0; }
.compare-stage {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 4; background: var(--plaster);
  touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none;
  box-shadow: 0 18px 40px -24px rgba(31, 27, 24, 0.45);
}
.compare-layer { position: absolute; inset: 0; }
.compare-layer picture, .compare-layer img { width: 100%; height: 100%; }
.compare-layer img { object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .tape { top: 14px; left: 14px; }
.compare .tape-r { left: auto; right: 14px; transform: rotate(2.5deg); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3; pointer-events: none;
}
.compare-handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--white);
  box-shadow: 0 0 0 1px rgba(31, 27, 24, 0.15);
}
.compare-handle span {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--brick);
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(31, 27, 24, 0.25);
  transition: transform .15s var(--ease);
}
.compare.dragging .compare-handle span { transform: translate(-50%, -50%) scale(1.08); }
.compare-handle svg { width: 24px; height: 24px; }
.compare-range {
  position: absolute; inset: auto 0 0 0; width: 100%; height: 1px; opacity: 0; margin: 0; pointer-events: none;
}
.compare-stage:has(.compare-range:focus-visible) { outline: 3px solid var(--eucalyptus); outline-offset: 3px; }
.compare figcaption { margin-top: 12px; }
.compare figcaption strong { display: block; font-family: var(--font-head); font-stretch: 108%; font-size: 1.1rem; line-height: 1.3; }
.compare figcaption span { color: var(--driftwood); font-size: 0.98rem; }
.compare.in-gallery .compare-stage { aspect-ratio: 4 / 5; }
.gallery .compare, .work-grid .compare { grid-column: 1 / -1; }
@media (min-width: 700px) { .gallery .compare { grid-column: span 2; } }
@media (min-width: 1000px) { .work-item:has(.compare) { grid-column: span 2; } }

/* ---------- Project stories ---------- */
.stories { display: grid; gap: clamp(56px, 8vw, 112px); }
.story { display: grid; gap: 28px; align-items: center; }
.story-text h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 750; font-stretch: 116%; line-height: 1.1; }
.story-text p { color: var(--driftwood); font-size: 1.1rem; }
.story-label { color: var(--brick-dark) !important; font-weight: 700; font-size: 0.98rem !important; margin-bottom: 6px; }
.story-visual .compare-stage { aspect-ratio: 4 / 3; }
.story-visual .pair-photos img { aspect-ratio: 3 / 4; }
.story-visual figcaption { display: none; }
@media (min-width: 1000px) {
  .story { grid-template-columns: 1.45fr 1fr; gap: 64px; }
  .story-flip { grid-template-columns: 1fr 1.45fr; }
  .story-flip .story-visual { order: 2; }
}

/* ---------- Service cards ---------- */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.svc-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; }
.svc-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-link:hover .svc-img img { transform: scale(1.04); }
.svc-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.svc-name { font-family: var(--font-head); font-stretch: 112%; font-weight: 750; font-size: 1.3rem; line-height: 1.15; }
.svc-desc { color: var(--driftwood); font-size: 0.98rem; flex: 1; }
.svc-more { color: var(--brick); font-weight: 700; margin-top: 6px; }
.svc-link:hover .svc-name { color: var(--brick-dark); }
.svc-link:focus-visible { outline: 3px solid var(--eucalyptus); outline-offset: 3px; }

/* ---------- Audiences ---------- */
.audiences { display: grid; gap: 16px; }
@media (min-width: 900px) { .audiences { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.aud { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); text-decoration: none;
  background: var(--eucalyptus); color: #E4ECEA; transition: background-color .2s var(--ease); }
.aud:nth-child(1) { background: var(--ink); }
.aud:nth-child(2) { background: var(--eucalyptus); }
.aud:nth-child(3) { background: var(--brick-dark); }
.aud:hover { filter: brightness(1.08); color: #fff; }
.aud-kicker { font-weight: 700; font-size: 0.95rem; color: rgba(255,255,255,.78); }
.aud-title { font-family: var(--font-head); font-stretch: 114%; font-weight: 750; font-size: 1.45rem; line-height: 1.15; color: var(--white); }
.aud-text { font-size: 1rem; }
.aud:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; }

/* ---------- Commercial "who we work with" ---------- */
.who-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--sand); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; }
.who-grid li { background: var(--limewash); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.who-grid h3 { margin: 0; }
.who-grid p { margin: 0; color: var(--driftwood); flex: 1; }
@media (min-width: 700px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }

.fact-row { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact-row li { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 18px; display: grid; gap: 2px; }
.fact-row strong { font-family: var(--font-head); font-stretch: 114%; font-size: 1.25rem; line-height: 1.15; color: var(--ink); }
.fact-row span { color: var(--driftwood); font-size: 0.92rem; }
@media (min-width: 900px) { .fact-row { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Mid-page nudge ---------- */
.nudge { background: var(--ink); color: #EDE6DA; padding: 28px 0; }
.nudge-inner { display: grid; gap: 16px; align-items: center; }
.nudge p { margin: 0; max-width: none; }
.nudge strong { color: var(--white); }
.nudge-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.nudge .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.7); }
.nudge .btn-secondary:hover { background: var(--white); color: var(--ink); }
@media (min-width: 900px) { .nudge-inner { grid-template-columns: 1fr auto; } }

/* ---------- Quote sections & forms ---------- */
.quote-section { background: var(--plaster); }
.quote-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .quote-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.promise { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--eucalyptus); }
.promise svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.promise.small { font-size: 0.98rem; margin-top: -6px; }
.quote-alt { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 4px; }
.quote-alt a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; padding: 8px 0; }
.quote-alt svg { width: 20px; height: 20px; color: var(--brick); }
.form { box-shadow: 0 24px 48px -32px rgba(31, 27, 24, 0.45); }
.form-title { font-family: var(--font-head); font-stretch: 114%; font-weight: 750; font-size: 1.4rem; margin: 0 0 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.form-title span { font-family: var(--font-body); font-weight: 400; font-size: 0.95rem; color: var(--driftwood); }
.field select {
  width: 100%; min-height: 50px; padding: 12px 40px 12px 14px; font: inherit; color: var(--ink);
  background: var(--limewash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2362594F' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1.5px solid var(--driftwood); border-radius: var(--radius); appearance: none; -webkit-appearance: none;
}
.field select:focus { outline: 3px solid var(--eucalyptus); outline-offset: 1px; border-color: var(--eucalyptus); }
.field input, .field select, .field textarea { font-size: 1rem; } /* 16px+ stops iOS zooming into fields */
.quick .form-grid { grid-template-columns: 1fr; }
@media (min-width: 520px) { .quick .form-grid { grid-template-columns: 1fr 1fr; } .quick .field.full { grid-column: 1 / -1; } }
.more-details { border: 1.5px dashed var(--sand); border-radius: var(--radius); padding: 14px 16px; }
.more-details summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.more-details summary::before { content: "+"; font-weight: 800; color: var(--brick); margin-right: 4px; }
.more-details[open] summary::before { content: "–"; }
.more-details summary::-webkit-details-marker { display: none; }
.more-grid { margin-top: 14px; }

/* ---------- About: facts ---------- */
.facts { display: grid; gap: 28px; }
@media (min-width: 900px) { .facts { grid-template-columns: 1fr 2fr; gap: 64px; } }
.fact-list { margin: 0; display: grid; border-top: 1px solid var(--sand); }
.fact-list > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--sand); }
.fact-list dt { font-weight: 700; }
.fact-list dd { margin: 0; color: var(--ink); }
@media (min-width: 640px) { .fact-list > div { grid-template-columns: 160px 1fr; gap: 16px; } }

/* ---------- Thank you ---------- */
.thanks-check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--eucalyptus); color: var(--white); margin: 0 auto 18px; }
.thanks-check svg { width: 34px; height: 34px; }
.center-block { text-align: center; max-width: 640px; margin: 0 auto; }
.center-block p { margin-inline: auto; }

/* ---------- Mobile action bar: three buttons ---------- */
.action-bar { grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; }
.action-bar .btn { padding: 0 8px; font-size: 1rem; gap: 6px; }
.footer-or { color: #BFD0CD; font-size: 0.92rem; }

/* Phone refinements */
@media (max-width: 999px) {
  .quote-copy .trust-compact { display: none; }   /* trust strip already sits near the top of the page */
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn-primary { grid-column: 1 / -1; }
  .hero-actions .btn:only-child { grid-column: 1 / -1; }
}

/* Form send status */
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius); background: #FBEAE6; color: var(--brick-dark); font-weight: 700; }
.form-status a { color: var(--brick-dark); }
button[disabled] { opacity: .7; cursor: progress; }
.packet-section { background: var(--limewash); border-top: 1px solid var(--sand); }

/* ---------- Cost guide ---------- */
.disclaimer { display: flex; gap: 10px; align-items: flex-start; max-width: 64ch; background: var(--white); border: 1px solid var(--sand); border-left: 6px solid var(--eucalyptus); border-radius: var(--radius); padding: 14px 16px; }
.disclaimer svg { width: 20px; height: 20px; color: var(--eucalyptus); flex: none; margin-top: 3px; }
.updated { color: var(--driftwood); font-size: 0.92rem; margin-top: 8px; }
.cost-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .cost-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; } }
.cost-side { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 26px; }
.cost-side h3 { margin-top: 18px; }
.cost-side h3:first-child { margin-top: 0; }
.cost-side p { font-size: 1rem; }
.table-wrap { overflow-x: auto; margin: 20px 0 8px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--sand); vertical-align: top; }
.price-table thead th { font-size: 0.92rem; color: var(--driftwood); background: var(--limewash); }
.price-table tbody th { font-family: var(--font-head); font-stretch: 110%; font-weight: 700; }
.price-table .price { font-family: var(--font-head); font-stretch: 114%; font-weight: 800; font-size: 1.3rem; color: var(--brick-dark); white-space: nowrap; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.compare-cols { display: grid; gap: 20px; }
@media (min-width: 800px) { .compare-cols { grid-template-columns: 1fr 1fr; } }
.col-card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 26px; }
.col-card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.col-premium { border: 2px solid var(--eucalyptus); }
.col-premium h3 { color: var(--eucalyptus); }

/* Header: keep nav on one line on mid-size screens */
.nav a { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1199px) {
  .nav > ul { gap: 18px; }
  .header-phone { display: none; }
  .header-inner { gap: 16px; }
}
/* Price table: keep labels intact */
.price-table tbody th { white-space: nowrap; }
.price-table td:not(.price) { color: var(--driftwood); font-size: 0.95rem; }
@media (max-width: 520px) { .price-table th, .price-table td { padding: 12px 10px; } .price-table .price { font-size: 1.1rem; } }
.cost-grid > * { min-width: 0; }
@media (max-width: 520px) {
  .price-table tbody th { white-space: normal; }
  .price-table thead th:nth-child(2), .price-table td:nth-child(2) { display: none; }
}
.size-sm { display: none; }
@media (max-width: 520px) { .size-sm { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.88rem; color: var(--driftwood); } }

/* Cost guide: jump links and stacked interior tables */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.jump a { padding: 10px 16px; border: 1.5px solid var(--sand); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.jump a:hover { border-color: var(--brick); color: var(--brick); }
.price-stack { display: grid; gap: 40px; max-width: 860px; }
.price-stack > * { min-width: 0; }
.price-stack .table-wrap { margin-top: 12px; }
.price-stack .note { margin-top: 8px; }
@media (max-width: 520px) { .price-table tbody th { font-size: 0.98rem; } .price-table .price { font-size: 1rem; } }

/* Price tables with long details: keep the detail under the label at every size */
.price-table.fold tbody th { white-space: normal; }
.price-table.fold thead th:nth-child(2), .price-table.fold td:nth-child(2) { display: none; }
.price-table.fold .size-sm { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.92rem; color: var(--driftwood); }
.form > .btn { margin-top: 20px; }
.is-thanks .hero-actions .btn { white-space: nowrap; }
@media (max-width: 639px) { .is-thanks .hero-actions .btn { grid-column: 1 / -1; width: 100%; } }

/* Stain guide */
@media (min-width: 900px) { .compare-cols.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.col-card p:last-child { margin-bottom: 0; }
.stain-factors { margin-top: 40px; }

/* Keep the phone number in the hero button on one line */
@media (max-width: 639px) {
  .hero-actions { grid-template-columns: 1.4fr 1fr; gap: 10px; }
  .hero-actions .btn { padding: 0 10px; gap: 7px; white-space: nowrap; }
  .hero-actions .btn-secondary { font-size: 0.97rem; }
  .hero-actions .btn svg { width: 18px; height: 18px; }
}
@media (max-width: 639px) { .hero-actions .btn-primary + .btn-secondary:last-child { grid-column: 1 / -1; } }
@media (max-width: 359px) { .hero-actions { grid-template-columns: 1fr; } }
/* Only while the site is on Netlify's Free plan: lift the phone button bar above the "Powered by Netlify" badge */
@media (max-width: 999px) {
  .has-badge .action-bar { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .has-badge { padding-bottom: 130px; }
}

/* Stucco repair: one job in three steps, and wide single photos in galleries */
.repair-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px 20px; }
@media (min-width: 700px) { .repair-steps { grid-template-columns: repeat(3, 1fr); } }
.repair-steps img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.repair-steps .tape { font-size: 0.9rem; top: -10px; left: 12px; padding: 5px 14px 4px; }
.repair-steps p { margin: 12px 0 0; }
@media (min-width: 640px) { .gallery .single.is-wide { grid-column: span 2; } }
.gallery .single.is-wide img { aspect-ratio: 3 / 2; }
@media (min-width: 1000px) { .gallery-tight .pair { grid-column: span 2; } }
