/* Huntington Construction. Charcoal, cedar, and warm plaster. */
[hidden] { display:none !important; }
@font-face { font-family: "Vollkorn"; src: url("fonts/Vollkorn.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/SourceSans3.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --dark:#2C2A28; --paper:#F8F2E7; --sand:#E3D8C8; --accent:#A0582A; --accent-hover:#814419; --accent-line:#D08A55;
  --ink:#2C2A28; --soft:#5A554F; --on-dark:#EFE8DC;
  --gutter:clamp(16px,4vw,56px); --max:1320px;
  --section:clamp(64px,8vw,112px);
  --nav:69px;
  --ease:cubic-bezier(.16,1,.3,1);
}

* { box-sizing:border-box; }
html { scroll-padding-top:90px; scroll-behavior:smooth; }
body { margin:0; background:var(--paper) url("assets/plaster.webp"); color:var(--ink); font:400 1.1875rem/1.55 "Source Sans 3",system-ui,sans-serif; -webkit-font-smoothing:antialiased; }
img { display:block; width:100%; height:100%; object-fit:cover; }
h1,h2,h3 { font-family:"Vollkorn",Georgia,serif; font-weight:600; margin:0; text-wrap:balance; }
p, figure, blockquote { margin:0; }
a { color:inherit; }
:focus-visible { outline:3px solid var(--accent-line); outline-offset:3px; }
.inner { max-width:var(--max); margin:0 auto; }

.dark { background-color:var(--dark); color:var(--on-dark); }

/* Glass: only ever placed over a photo or scrolling content */
.glass { background:rgba(30,28,26,.58); -webkit-backdrop-filter:blur(14px) saturate(140%); backdrop-filter:blur(14px) saturate(140%); border:1px solid rgba(255,255,255,.24); color:#fff; }
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) { .glass { background:rgba(30,28,26,.86); } }

.btn { display:inline-flex; align-items:center; justify-content:center; min-height:56px; padding:0 1.75rem; background:var(--accent); color:#fff; font-weight:600; text-decoration:none; border-radius:2px; transition:background-color .2s ease, transform .2s var(--ease), box-shadow .2s ease; }
.btn:hover { background:var(--accent-hover); transform:translateY(-2px); box-shadow:0 8px 20px rgba(44,42,40,.26); }
.btn:active { transform:translateY(0); box-shadow:none; }
.btn-small { min-height:44px; padding:0 1.1rem; font-size:1.0625rem; white-space:nowrap; }

/* Navigation: dark glass at all times, with the page visible behind it */
.top { position:sticky; top:0; z-index:20; padding:0 var(--gutter); background:rgba(30,28,26,.85); -webkit-backdrop-filter:blur(18px) saturate(160%); backdrop-filter:blur(18px) saturate(160%); border-bottom:1px solid rgba(255,255,255,.14); box-shadow:0 8px 24px rgba(30,28,26,.2); color:var(--on-dark); }
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) { .top { background:var(--dark); } }
.top-row { display:flex; align-items:center; justify-content:space-between; gap:.75rem; min-height:68px; }
.brand { text-decoration:none; display:flex; align-items:center; gap:.65rem; min-width:0; }
.brand-logo { width:54px; height:54px; flex:none; object-fit:contain; }
.brand-name { display:block; font-family:"Vollkorn",Georgia,serif; font-weight:600; font-size:1.1875rem; line-height:1.05; color:#fff; width:min-content; }
.links { display:none; gap:clamp(1.25rem,2.4vw,2.25rem); list-style:none; margin:0; padding:0; font-weight:500; }
.links a { position:relative; display:block; padding:.6rem 0; text-decoration:none; white-space:nowrap; }
.links a::after { content:""; position:absolute; left:0; right:0; bottom:.3rem; height:2px; background:var(--accent-line); transform:scaleX(0); transform-origin:left; transition:transform .25s var(--ease); }
.links a:hover::after { transform:scaleX(1); }
.right { display:flex; align-items:center; gap:.5rem; flex:none; }
.tel { display:none; align-items:center; gap:.45rem; font-weight:600; text-decoration:none; white-space:nowrap; margin-right:.9rem; }
.tel:hover { text-decoration:underline; text-underline-offset:.2em; }
.tel svg { width:18px; height:18px; color:var(--accent-line); }
.estimate-top { display:none; }
.call-mini { display:inline-flex; align-items:center; justify-content:center; gap:.4rem; width:44px; height:44px; background:var(--accent); color:#fff; border-radius:50%; font-weight:600; text-decoration:none; transition:background-color .15s ease, transform .15s ease; }
.call-mini:hover { background:var(--accent-hover); }
.call-mini:active { transform:scale(.94); }
.call-mini svg { width:20px; height:20px; }
.call-label { display:none; }
.menu-btn { position:relative; width:44px; height:44px; margin-right:-6px; background:none; border:0; color:#fff; cursor:pointer; }
.menu-btn span { position:absolute; right:9px; width:26px; height:2px; background:currentColor; border-radius:2px; transition:transform .22s ease, opacity .15s ease, width .22s ease; }
.menu-btn span:nth-child(1) { top:14px; }
.menu-btn span:nth-child(2) { top:21px; width:20px; }
.menu-btn span:nth-child(3) { top:28px; width:14px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { width:26px; transform:translateY(-7px) rotate(-45deg); }
.panel { display:none; padding:0 0 1.25rem; }
.panel.open { display:block; }
.panel a:not(.btn) { display:block; padding:.8rem 0; border-top:1px solid rgba(255,255,255,.16); font-family:"Vollkorn",Georgia,serif; font-weight:500; font-size:1.375rem; color:#fff; text-decoration:none; }
.panel .btn { display:flex; margin-top:.75rem; }

/* Hero */
.hero { position:relative; z-index:2; display:grid; margin-top:calc(-1 * var(--nav)); }
.hero-copy { padding:calc(var(--nav) + clamp(28px,5vw,56px)) var(--gutter) 2rem; }
h1 { font-size:clamp(2.875rem,1.9rem + 4.2vw,5.5rem); line-height:1.03; letter-spacing:-.012em; }
.ln { display:inline-block; }
.lede { margin:1.25rem 0 1.75rem; font-size:1.3125rem; line-height:1.45; color:var(--soft); max-width:27em; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.5rem; }
.actions .call { font-weight:600; text-underline-offset:.2em; }
.hero-photo { position:relative; aspect-ratio:4/3; margin-bottom:-40px; overflow:hidden; }
.hero-photo img { object-position:32% 50%; }

.trust { position:absolute; left:10px; right:10px; bottom:10px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-radius:10px; padding:.55rem .35rem; }
.trust div { padding:0 .55rem; border-left:1px solid rgba(255,255,255,.26); }
.trust div:first-child { border-left:0; }
.trust strong { display:block; font-family:"Vollkorn",Georgia,serif; font-weight:600; font-size:1rem; line-height:1.15; }
.trust span { display:none; font-size:1rem; line-height:1.25; color:#F1EAE0; }

/* Randy's words */
.words { padding:calc(40px + clamp(44px,6vw,72px)) var(--gutter) clamp(52px,7vw,88px); }
.big { font-family:"Vollkorn",Georgia,serif; font-weight:500; font-size:clamp(2rem,1.45rem + 2.4vw,3.75rem); line-height:1.14; color:#fff; max-width:20em; }
.who { margin-top:1rem; }

/* Services */
.services { padding:var(--section) var(--gutter); }
.title { font-size:clamp(2.125rem,1.65rem + 1.9vw,3.25rem); line-height:1.08; }
.service-list { display:grid; gap:1.75rem; margin-top:2rem; }
.service-list h3 { position:relative; font-size:1.75rem; line-height:1.15; padding-top:.8rem; margin-bottom:.4rem; }
.service-list h3::before { content:""; position:absolute; left:0; right:0; top:0; height:3px; background:var(--accent); transform-origin:left; }
.service-list p { color:var(--soft); }

/* Before and after */
.ba { background:var(--sand) url("assets/plaster.webp"); padding:var(--section) var(--gutter); }
.ba .title { margin-bottom:1.75rem; }
.pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.pair figure, .mosaic figure { position:relative; aspect-ratio:4/3; overflow:hidden; }
.tag, .mosaic figcaption { position:absolute; left:8px; bottom:8px; padding:.1rem .7rem; font-size:1rem; border-radius:999px; }
.cap { margin-top:.6rem; font-weight:600; }
.small-pairs { display:grid; gap:1.75rem 24px; margin-top:2rem; }

/* Reviews */
.reviews { padding:var(--section) var(--gutter) clamp(32px,4vw,56px); }
.reviews-grid { display:grid; gap:1.75rem; margin-top:2rem; }
.review { border-top:3px solid var(--accent); padding-top:.9rem; display:flex; flex-direction:column; }
.review p:first-child { font-family:"Vollkorn",Georgia,serif; font-weight:500; font-size:1.375rem; line-height:1.34; }
.who-ink { margin-top:.8rem; color:var(--soft); }

/* More work */
.work { padding:clamp(40px,5vw,64px) var(--gutter) var(--section); }
.mosaic { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin-top:1.75rem; }
.mosaic .feature { grid-column:span 2; }
.mosaic img { transition:transform .7s var(--ease); }
@media (hover:hover) { .mosaic figure:hover img { transform:scale(1.05); } }
.see-all { display:inline-block; margin-top:1.5rem; font-weight:600; text-underline-offset:.2em; }

/* Estimate request */
.end { padding:clamp(56px,7vw,96px) var(--gutter) 2rem; }
.est-grid { display:grid; gap:2rem; align-items:start; }
.end h2 { color:#fff; font-size:clamp(2.125rem,1.65rem + 1.9vw,3.25rem); line-height:1.08; margin-bottom:1rem; }
.est-lede { font-size:1.3125rem; line-height:1.45; max-width:26em; margin-bottom:1.25rem; }
.est-phone { font-weight:600; }
.est-phone a { white-space:nowrap; text-underline-offset:.2em; }

.est-card { background:var(--paper); color:var(--ink); border-radius:6px; padding:clamp(20px,3vw,36px); }
.progress { display:flex; align-items:center; gap:.4rem; margin-bottom:1.25rem; }
.progress i { flex:1; height:4px; border-radius:2px; background:var(--sand); transition:background-color .35s ease; }
.progress i.on { background:var(--accent); }
.progress span { margin-left:.5rem; font-size:1rem; color:var(--soft); white-space:nowrap; }
.step h3 { font-size:clamp(1.625rem,1.4rem + .9vw,2.125rem); line-height:1.12; margin-bottom:1.1rem; }
.step h3:focus { outline:none; }
.step fieldset { border:0; margin:0; padding:0; }
.step legend { padding:0; }
.tiles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.tile { position:relative; cursor:pointer; }
.tile:last-child:nth-child(odd) { grid-column:span 2; }
.tile input { position:absolute; opacity:0; inset:0; margin:0; }
.tile span { display:flex; align-items:center; min-height:72px; padding:.6rem .9rem; line-height:1.2; font-weight:600; background:#fff; border:2px solid var(--sand); border-radius:4px; transition:border-color .15s ease, background-color .15s ease, color .15s ease; }
.tile:hover span { border-color:var(--accent); }
.tile input:checked + span { background:var(--accent); border-color:var(--accent); color:#fff; }
.tile input:focus-visible + span { outline:3px solid var(--accent-line); outline-offset:2px; }
.tile span { position:relative; padding-right:2.1rem; }
.tile input:checked + span::after { content:""; position:absolute; right:.9rem; top:50%; width:7px; height:14px; margin-top:-9px; border:solid #fff; border-width:0 2.5px 2.5px 0; transform:rotate(45deg); }
.hint { margin:-.6rem 0 1rem; color:var(--soft); }
.tile-error { margin:.75rem 0 0; color:#A92C1B; font-weight:600; }
.field { display:grid; gap:.3rem; margin-bottom:1rem; min-width:0; }
.field label { font-weight:600; }
.optional { font-weight:400; color:var(--soft); }
.field input, .field textarea { width:100%; min-height:52px; padding:.7rem .8rem; font:inherit; color:inherit; background:#fff; border:2px solid #A79C8C; border-radius:4px; }
.field textarea { resize:vertical; line-height:1.4; }
.field input:focus, .field textarea:focus { outline:none; border-color:var(--accent); }
.est-nav { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:1.25rem; }
.est-nav .btn { margin-left:auto; border:0; font:inherit; font-weight:600; cursor:pointer; }
.est-back { min-height:44px; padding:0 .25rem; background:none; border:0; font:inherit; font-weight:600; color:var(--soft); cursor:pointer; text-decoration:underline; text-underline-offset:.2em; }
.est-done h3 { font-size:clamp(1.625rem,1.4rem + .9vw,2.125rem); line-height:1.12; margin-bottom:.75rem; }
.est-done h3:focus { outline:none; }
.js .step:not(.active) { display:none; }
html:not(.js) .progress, html:not(.js) .est-next, html:not(.js) .est-back { display:none; }
.foot { margin-top:clamp(48px,6vw,80px); padding-top:1rem; border-top:1px solid rgba(255,255,255,.2); font-size:1rem; }

/* Motion. Text and photos are only hidden when scripts run and motion is allowed. */
@media (prefers-reduced-motion:no-preference) {
  @keyframes rise { from { opacity:0; transform:translateY(.45em); } to { opacity:1; transform:none; } }
  @keyframes settle { from { transform:scale(1.06); } to { transform:none; } }
  @keyframes card-in { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }

  .js .ln { animation:rise 1.4s var(--ease) both; }
  .js .ln:nth-child(1) { animation-delay:.1s; }
  .js .ln:nth-child(2) { animation-delay:.28s; }
  .js .ln:nth-child(3) { animation-delay:.46s; }
  .js .lede { animation:rise 1.4s .7s var(--ease) both; }
  .js .actions { animation:rise 1.4s .88s var(--ease) both; }
  .js .hero-photo img { animation:settle 3s var(--ease) both; }
  .js .trust { animation:card-in 1.2s 1.7s var(--ease) both; }
  .step.active { animation:card-in .55s var(--ease) both; }

  /* Photos fade in only after they have fully loaded. The "after" follows its "before". */
  .js .pair figure, .js .mosaic figure { opacity:0; transition:opacity 1.2s ease; }
  .js .pair figure.in, .js .mosaic figure.in { opacity:1; }
  .js .pair img { transition:transform 1.7s var(--ease); }
  .js .pair figure:not(.in) img, .js .mosaic figure:not(.in) img { transform:scale(1.03); }
  .js .pair figure:nth-child(2) { transition-delay:.35s; }
  .js .pair figure:nth-child(2) img { transition-delay:.35s; }
  .js .mosaic figure:nth-child(2) { transition-delay:.14s; }
  .js .mosaic figure:nth-child(3) { transition-delay:.28s; }
  .js .mosaic figure:nth-child(4) { transition-delay:.21s; }
  .js .mosaic figure:nth-child(5) { transition-delay:.35s; }
  .js figure:not(.in) .glass { opacity:0; }
  .js figure .glass { transition:opacity .45s ease .9s; }

  .js .big .w { opacity:0; transition:opacity .85s ease; transition-delay:calc(var(--i, 0) * 95ms); }
  .js .big.in .w { opacity:1; }

  .js .service-list h3::before { transform:scaleX(0); transition:transform 1.5s var(--ease); }
  .js .service-list.in h3::before { transform:scaleX(1); }
  .js .service-list.in div:nth-child(2) h3::before { transition-delay:.2s; }
  .js .service-list.in div:nth-child(3) h3::before { transition-delay:.4s; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

@media (max-width:370px) {
  .trust { padding:.5rem .1rem; }
  .trust div { padding:0 .35rem; }
  .trust strong { font-size:.875rem; }
}
@media (min-width:560px) {
  .brand-name { width:auto; white-space:nowrap; font-size:clamp(1.375rem,1.25rem + .4vw,1.5rem); }
  .call-mini { width:auto; padding:0 1.1rem; border-radius:999px; }
  .call-mini svg { width:18px; height:18px; }
  .call-label { display:inline; }
  .trust { left:14px; right:14px; bottom:14px; padding:.75rem .5rem; }
  .trust div { padding:0 .85rem; }
  .trust strong { font-size:1.1875rem; }
  .trust span { display:block; }
}
@media (min-width:640px) {
  .small-pairs { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .service-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; }
}
@media (min-width:900px) {
  h1 { font-size:clamp(3rem,5.4vw,4.75rem); }
  .ln { display:block; }
  .nb { white-space:nowrap; }
  .hero { grid-template-columns:minmax(0,5fr) minmax(0,6fr); align-items:stretch; }
  .hero-copy { align-self:center; padding:calc(var(--nav) + clamp(40px,5vw,72px)) clamp(32px,4vw,64px) clamp(56px,6vw,88px) max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .hero-photo { aspect-ratio:auto; min-height:calc(var(--nav) + clamp(520px,44vw,680px)); margin-bottom:-56px; }
  .trust { left:20px; right:20px; bottom:20px; }
  .words { padding-top:calc(56px + clamp(48px,6vw,72px)); }
  .service-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,3vw,48px); }
  .reviews-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,3vw,48px); }
  .est-grid { grid-template-columns:minmax(0,5fr) minmax(0,6fr); column-gap:clamp(40px,6vw,96px); }
  .mosaic { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .mosaic .feature { grid-column:span 2; grid-row:span 2; aspect-ratio:auto; }
}
@media (min-width:1240px) {
  .links { display:flex; }
  .tel { display:inline-flex; }
  .estimate-top { display:inline-flex; }
  .call-mini, .menu-btn, .panel, .panel.open { display:none; }
}

/* ---------- Page basics ---------- */
.skip-link { position:absolute; left:1rem; top:-5rem; z-index:100; padding:.75rem 1rem; background:var(--accent); color:#fff; border-radius:2px; }
.skip-link:focus { top:1rem; }
.visually-hidden { position:absolute !important; width:1px; height:1px; margin:-1px; padding:0; border:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.honeypot { position:absolute; left:-9999px; margin:0; }
.btn-quiet { background:transparent; border:2px solid var(--ink); color:var(--ink); }
.btn-quiet:hover { background:var(--ink); color:#fff; }
.foot a { display:inline-block; padding:.2rem 0; }

/* ---------- Project photos page ---------- */
.catalog-head { padding:clamp(32px,5vw,72px) var(--gutter) clamp(8px,2vw,24px); }
.catalog-head h1 { font-size:clamp(2.5rem,1.9rem + 2.8vw,4.25rem); }
.catalog-head .lede { margin-bottom:0; }
.catalog-group { padding:clamp(28px,4vw,52px) var(--gutter); }
.catalog-group h2 { font-size:clamp(1.75rem,1.5rem + 1.2vw,2.5rem); }
.work-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem 6px; margin-top:1.25rem; }
.project { min-width:0; }
.project-pair { grid-column:span 2; }
.project-photos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.photo { position:relative; overflow:hidden; }
.photo img { height:auto; aspect-ratio:4/3; background:var(--sand); }
.photo-whole img { object-fit:contain; }
.project figcaption { margin-top:.5rem; font-weight:600; line-height:1.3; }
.catalog-cta { background:var(--sand) url("assets/plaster.webp"); margin-top:clamp(28px,4vw,52px); padding:clamp(48px,7vw,88px) var(--gutter); }
.catalog-cta h2 { font-size:clamp(2.125rem,1.65rem + 1.9vw,3.25rem); margin-bottom:1.5rem; }
@media (min-width:900px) { .work-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }

/* ---------- Simple pages ---------- */
.wrap { width:100%; max-width:var(--max); margin:0 auto; padding:0 var(--gutter); }
.prose { max-width:42em; padding-top:var(--section); padding-bottom:var(--section); }
.prose h1 { font-size:clamp(2.25rem,1.8rem + 2vw,3.5rem); line-height:1.08; margin-bottom:1rem; }
.prose h2 { font-size:1.75rem; margin:2rem 0 .5rem; }
.prose p { margin-bottom:1em; }
.updated { color:var(--soft); font-size:1rem; }
.page-actions { display:flex; flex-wrap:wrap; gap:.75rem; }
.site-footer { background:var(--dark); color:var(--on-dark); padding:1.5rem 0; font-size:1rem; }
.site-footer p { margin:0; }


@media (max-width:430px) {
  .top-row > .btn-small { padding:0 .7rem; font-size:.9375rem; }
}

/* ---------- Service links, service area, service pages ---------- */
.more { display:inline-block; margin-top:.4rem; padding:.3rem 0; font-weight:600; color:var(--accent-hover); text-underline-offset:.2em; }
.area { padding:var(--section) var(--gutter); background:var(--sand) url("assets/plaster.webp"); }
.area-grid { display:grid; gap:1.5rem; }
.area-lede { margin:.75rem 0 1.25rem; font-size:1.25rem; line-height:1.45; max-width:32em; }
.towns { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem 1rem; font-weight:600; }
.foot-links { display:flex; flex-wrap:wrap; gap:.25rem 1.5rem; }
.foot-links a { display:inline-block; padding:.45rem 0; color:#fff; font-weight:500; text-underline-offset:.2em; }
.foot-links-top { margin-top:clamp(40px,5vw,64px); }
.foot-links-top + .foot { margin-top:.75rem; }
.site-footer .foot-links { margin-bottom:.5rem; }
.crumbs { margin-bottom:1rem; font-size:1rem; color:var(--soft); }
.crumbs a { display:inline-block; padding:.3rem 0; text-underline-offset:.2em; }
.catalog-head .actions { margin-top:1.5rem; }
.service-detail { display:grid; gap:2rem; }
.service-items { list-style:none; margin:1rem 0 0; padding:0; display:grid; gap:.1rem; font-size:1.25rem; font-weight:500; }
.service-items li { padding:.45rem 0; border-bottom:1px solid var(--sand); }
.service-note > p { font-size:1.25rem; line-height:1.5; margin-bottom:1.5rem; }
@media (min-width:640px) { .towns { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (min-width:900px) {
  .area-grid { grid-template-columns:minmax(0,5fr) minmax(0,6fr); column-gap:clamp(40px,6vw,96px); align-items:start; }
  .service-detail { grid-template-columns:minmax(0,5fr) minmax(0,6fr); column-gap:clamp(40px,6vw,96px); }
}

/* ---------- Polish: flow, footer, reviews, typography, and motion ---------- */
p { text-wrap:pretty; }
.trust strong, .who strong { font-variant-numeric:lining-nums; }
.big { text-indent:-.42em; }
.review > p:first-of-type { text-indent:-.38em; }
.who { display:grid; gap:.2rem; margin-top:1.25rem; }
.who strong { font-family:"Vollkorn",Georgia,serif; font-weight:600; font-size:1.375rem; color:#fff; }
.who span { opacity:.85; }


/* Reviews */
.stars { display:block; width:96px; height:16px; margin-bottom:.75rem; background:url("assets/stars.svg") no-repeat 0 0 / contain; }
.review-source { margin-top:1.75rem; color:var(--soft); }
.review-source a { font-weight:600; text-underline-offset:.2em; }

/* Estimate request, centered in the middle of the page */
.est-center { padding-top:clamp(64px,8vw,112px); padding-bottom:clamp(64px,8vw,112px); }
.est-center .est-grid { grid-template-columns:minmax(0,1fr); max-width:44rem; margin:0 auto; gap:2rem; }
.est-head { text-align:center; }
.est-center .est-lede { margin:1rem auto 1rem; }
.est-meta { display:flex; flex-wrap:wrap; justify-content:center; gap:.35rem 1.5rem; margin:0; }
.est-meta a { font-weight:600; text-underline-offset:.2em; white-space:nowrap; }
.est-center .est-card { box-shadow:0 28px 70px rgba(0,0,0,.35); }
.check { width:56px; height:56px; margin-bottom:.75rem; }

/* Footer: the closing call to action */
.site-foot { padding:clamp(48px,6vw,80px) var(--gutter) 1.25rem; border-top:1px solid rgba(255,255,255,.08); }
.foot-grid { display:grid; gap:2.25rem; }
.foot-brand img { width:64px; height:64px; }
.foot-brand p { max-width:24em; }
.foot-name { margin:.6rem 0 .35rem; font-family:"Vollkorn",Georgia,serif; font-weight:600; font-size:1.5rem; color:#fff; }
.foot-h { margin-bottom:.6rem; font-family:"Source Sans 3",system-ui,sans-serif; font-size:1.0625rem; font-weight:600; color:#fff; }
.foot-phone { display:inline-block; padding:.2rem 0; font-size:1.25rem; font-weight:600; color:#fff; text-decoration:none; }
.foot-phone:hover { text-decoration:underline; text-underline-offset:.2em; }
.foot-cta { margin-top:1rem; }
.foot-list { list-style:none; margin:0; padding:0; }
.foot-list a { display:inline-block; padding:.35rem 0; color:var(--on-dark); text-underline-offset:.2em; }
.foot-list a:hover { color:#fff; }
.foot-base { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.5rem 1.5rem; margin-top:2.5rem; padding-top:1rem; border-top:1px solid rgba(255,255,255,.14); font-size:.9375rem; }
.foot-base p { margin:0; }
.foot-base a { display:inline-block; padding:.2rem 0; color:var(--on-dark); }
@media (min-width:900px) { .foot-grid { grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); column-gap:clamp(32px,5vw,80px); } }

/* Floating estimate button on phones and tablets */
.float-cta { position:fixed; z-index:15; left:50%; bottom:calc(14px + env(safe-area-inset-bottom)); display:inline-flex; align-items:center; min-height:52px; padding:0 1.5rem; border-radius:999px; background:var(--accent); color:#fff; font-weight:600; text-decoration:none; white-space:nowrap; box-shadow:0 12px 30px rgba(30,28,26,.38); transform:translate(-50%,170%); visibility:hidden; transition:transform .45s var(--ease), visibility 0s .45s; }
.float-cta.show { transform:translate(-50%,0); visibility:visible; transition:transform .45s var(--ease), visibility 0s; }
.float-cta:active { background:var(--accent-hover); }
@media (min-width:1240px) { .float-cta { display:none; } }

@media (prefers-reduced-motion:no-preference) {
  /* A light sweep across buttons on hover */
  .btn { position:relative; overflow:hidden; isolation:isolate; }
  .btn::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.26) 50%,transparent 70%); transform:translateX(-130%); transition:transform .75s var(--ease); pointer-events:none; }
  .btn:hover::after { transform:translateX(130%); }
  /* Project type tiles pop when chosen */
  @keyframes pop { 40% { transform:scale(1.045); } }
  .tile input:checked + span { animation:pop .34s var(--ease); }
  /* The confirmation check draws itself */
  @keyframes draw { to { stroke-dashoffset:0; } }
  .check circle { stroke-dasharray:151; stroke-dashoffset:151; animation:draw .75s .1s var(--ease) forwards; }
  .check path { stroke-dasharray:36; stroke-dashoffset:36; animation:draw .45s .7s var(--ease) forwards; }
  /* Towns arrive one after another */
  .js .towns li { opacity:0; transform:translateY(10px); transition:opacity .7s ease, transform .7s var(--ease); transition-delay:calc(var(--i, 0) * 55ms); }
  .js .towns.in li { opacity:1; transform:none; }
  /* Scroll-linked touches, in browsers that support them */
  @supports (animation-timeline: view()) {
    @keyframes lift { from { opacity:0; transform:translateY(32px); } to { opacity:1; transform:none; } }
    .review { animation:lift linear both; animation-timeline:view(); animation-range:entry 0% cover 28%; }
    .est-center .est-card { animation:lift linear both; animation-timeline:view(); animation-range:entry 0% cover 25%; }
  }
}
.foot-list a, .foot-base a { text-decoration:none; }
.foot-list a:hover, .foot-base a:hover { text-decoration:underline; }

/* ---------- Service pages ---------- */
.svc-h2 { font-size:clamp(2rem,1.6rem + 1.6vw,3rem); line-height:1.08; margin-bottom:1.75rem; }
.svc-hero { display:grid; }
.svc-hero-copy { padding:clamp(28px,5vw,64px) var(--gutter) 2rem; }
.svc-hero-copy h1 { font-size:clamp(2.5rem,1.8rem + 3vw,4.25rem); line-height:1.05; letter-spacing:-.01em; }
.svc-hero-copy .lede { margin:1.1rem 0 1.5rem; }
.svc-hero-photo { aspect-ratio:4/3; overflow:hidden; }
.svc-hero-photo img { width:100%; height:100%; object-fit:cover; }

.svc-facts { background:var(--sand) url("assets/plaster.webp"); padding:1.5rem var(--gutter); }
.svc-facts-list { list-style:none; margin:0 auto; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem 1.5rem; }
.svc-facts-list li { border-left:3px solid var(--accent); padding-left:.85rem; }
.svc-facts-list strong { display:block; font-family:"Vollkorn",Georgia,serif; font-weight:600; font-size:1.1875rem; line-height:1.2; font-variant-numeric:lining-nums; }
.svc-facts-list span { color:var(--soft); font-size:1rem; }

.svc-list-wrap, .svc-photos, .svc-steps, .svc-faq { padding:var(--section) var(--gutter); }
.svc-photos { padding-top:0; }
.svc-list { list-style:none; margin:0; padding:0; display:grid; gap:1.5rem 2rem; }
.svc-list li { border-top:3px solid var(--accent); padding-top:.85rem; }
.svc-list h3 { font-size:1.5rem; line-height:1.15; margin-bottom:.35rem; }
.svc-list p { margin:0; color:var(--soft); }
.svc-note { margin:1.75rem 0 0; font-size:1.125rem; }

.svc-steps { background:var(--sand) url("assets/plaster.webp"); }
.steps { list-style:none; margin:0; padding:0; display:grid; gap:2rem; counter-reset:step; }
.steps li { counter-increment:step; }
.steps li::before { content:counter(step); display:block; margin-bottom:.5rem; font-family:"Vollkorn",Georgia,serif; font-weight:600; font-size:2.75rem; line-height:1; color:var(--accent); font-variant-numeric:lining-nums; }
.steps h3 { font-size:1.5rem; margin-bottom:.4rem; }
.steps p { margin:0; color:var(--soft); }
.steps a { font-weight:600; color:var(--ink); white-space:nowrap; text-underline-offset:.2em; }

.svc-faq-grid { display:grid; gap:1rem; }
.faq details { border-top:1px solid #CFC4B3; }
.faq details:last-child { border-bottom:1px solid #CFC4B3; }
.faq summary { position:relative; display:block; padding:1.1rem 2.5rem 1.1rem 0; cursor:pointer; list-style:none; font-family:"Vollkorn",Georgia,serif; font-weight:600; font-size:1.3125rem; line-height:1.25; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::before, .faq summary::after { content:""; position:absolute; right:.4rem; top:50%; width:16px; height:2px; margin-top:-1px; background:var(--accent); transition:transform .25s var(--ease); }
.faq summary::after { transform:rotate(90deg); }
.faq details[open] summary::after { transform:rotate(0deg); }
.faq summary:hover { color:var(--accent-hover); }
.faq details p { margin:0 0 1.25rem; max-width:40em; color:var(--soft); }
.faq details a { color:var(--ink); font-weight:600; text-underline-offset:.2em; }

.svc-cta { padding:clamp(56px,7vw,96px) var(--gutter); text-align:center; }
.svc-cta h2 { color:#fff; font-size:clamp(2rem,1.6rem + 1.6vw,3rem); line-height:1.1; margin-bottom:1.5rem; }
.svc-cta .actions { justify-content:center; }
.svc-cta .call { color:var(--on-dark); }

@media (min-width:640px) {
  .svc-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:900px) {
  .svc-hero { grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:stretch; }
  .svc-hero-copy { align-self:center; padding:clamp(48px,6vw,88px) clamp(32px,4vw,64px) clamp(48px,6vw,88px) max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .svc-hero-photo { aspect-ratio:auto; min-height:clamp(420px,38vw,560px); }
  .svc-facts-list { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .svc-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:2rem clamp(24px,3vw,48px); }
  .steps { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,3vw,48px); }
  .svc-faq-grid { grid-template-columns:minmax(0,4fr) minmax(0,7fr); column-gap:clamp(40px,6vw,96px); align-items:start; }
}
@media (prefers-reduced-motion:no-preference) {
  .js .svc-hero-copy > * { animation:rise 1.2s var(--ease) both; }
  .js .svc-hero-copy > :nth-child(2) { animation-delay:.1s; }
  .js .svc-hero-copy > :nth-child(3) { animation-delay:.22s; }
  .js .svc-hero-copy > :nth-child(4) { animation-delay:.34s; }
  .js .svc-hero-photo img { animation:settle 2.6s var(--ease) both; }
  @supports (animation-timeline: view()) {
    .svc-list li, .steps li { animation:lift linear both; animation-timeline:view(); animation-range:entry 0% cover 25%; }
  }
}

/* ---------- Two-button calls to action and footer ---------- */
.btn-call { gap:.55rem; background:transparent; color:var(--ink); border:2px solid currentColor; }
.btn-call svg { width:20px; height:20px; flex:none; }
.btn-call:hover { background:var(--ink); color:#fff; border-color:var(--ink); }
.dark .btn-call { color:#fff; }
.dark .btn-call:hover { background:#fff; color:var(--ink); border-color:#fff; }
.actions { gap:.75rem; }
@media (max-width:559px) { .actions .btn { flex:1 1 100%; } }

.est-call { display:flex; flex-direction:column; align-items:center; gap:.6rem; }
.est-or { font-weight:600; }
.est-hours { color:var(--on-dark); opacity:.85; }
@media (max-width:559px) { .est-call .btn { width:100%; } }

.site-foot { padding-top:clamp(40px,5vw,64px); }
.foot-cta-band { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1.25rem 2rem; padding-bottom:clamp(32px,4vw,48px); margin-bottom:clamp(32px,4vw,48px); border-bottom:1px solid rgba(255,255,255,.14); }
.foot-cta-title { margin:0; font-family:"Vollkorn",Georgia,serif; font-weight:600; font-size:clamp(1.75rem,1.4rem + 1.4vw,2.5rem); line-height:1.1; color:#fff; }
.foot-contact { list-style:none; margin:0; padding:0; display:grid; gap:.85rem; }
.foot-contact li { display:flex; align-items:flex-start; gap:.7rem; line-height:1.4; }
.foot-contact svg { width:20px; height:20px; flex:none; margin-top:.1rem; color:var(--accent-line); }
.foot-contact a { color:#fff; font-weight:600; font-size:1.125rem; text-decoration:none; }
.foot-contact a:hover { text-decoration:underline; text-underline-offset:.2em; }
.foot-h { margin-bottom:.9rem; }
.foot-list { display:grid; gap:.1rem; }
@media (max-width:559px) { .foot-cta-band .actions { width:100%; } }

/* ---------- Estimate form on Cloudflare: photo, spam check, and notes ---------- */
.field input[type="file"] { padding:.6rem; font-size:1rem; }
.turnstile { display:grid; gap:8px; min-height:65px; margin-bottom:.25rem; }
.form-note { margin:1rem 0 0; font-size:1rem; color:var(--soft); }
.form-note a { text-underline-offset:.2em; }
.prose .check { display:block; }

/* ---------- Photo viewer: tap a project photo to see it larger ---------- */
.zoom { display:block; width:100%; height:100%; padding:0; border:0; background:none; cursor:zoom-in; }
.photo .zoom { height:auto; }
.lightbox { width:100vw; max-width:none; height:100vh; height:100dvh; max-height:none; margin:0; padding:0; border:0; background:rgba(24,22,20,.95); color:#fff; overflow:hidden; }
.lightbox[open] { display:grid; place-items:center; }
.lightbox::backdrop { background:transparent; }
.lightbox figure { display:grid; gap:12px; justify-items:center; margin:0; padding:64px 16px 88px; max-height:100%; }
.lightbox img { width:auto; height:auto; max-width:min(100%,1000px); max-height:calc(100vh - 190px); max-height:calc(100dvh - 190px); object-fit:contain; aspect-ratio:auto; }
.lightbox figcaption { text-align:center; font-size:1.0625rem; font-weight:600; }
.lb-count { display:block; margin-top:.15rem; font-size:.9375rem; font-weight:400; opacity:.75; }
.lb-btn { position:absolute; display:grid; place-items:center; width:48px; height:48px; padding:0; border:1.5px solid rgba(255,255,255,.5); border-radius:50%; background:rgba(30,28,26,.7); color:#fff; cursor:pointer; }
.lb-btn:hover { background:#fff; color:var(--ink); }
.lb-btn svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.lb-close { top:12px; right:12px; }
.lb-prev { left:12px; bottom:20px; }
.lb-next { right:12px; bottom:20px; }
.lightbox :focus-visible { outline-color:#fff; }

/* ---------- Premium pass: service cards, about note, towns ---------- */
h1, h2, .title { letter-spacing:-.012em; }
::selection { background:var(--accent); color:#fff; }
.svc-cards { display:grid; gap:2.25rem; margin-top:2rem; }
.svc-card { position:relative; display:flex; flex-direction:column; }
.svc-card-photo { aspect-ratio:4/3; overflow:hidden; background:var(--sand); }
.svc-card-photo img { transition:transform .9s var(--ease); }
.svc-card h3 { margin:1.1rem 0 .4rem; padding-top:.85rem; border-top:3px solid var(--accent); font-size:1.75rem; line-height:1.15; }
.svc-card h3 a { color:inherit; text-decoration:none; }
.svc-card h3 a::after { content:""; position:absolute; inset:0; }
.svc-card h3 a:focus-visible { outline:none; }
.svc-card:has(a:focus-visible) { outline:3px solid var(--accent-line); outline-offset:6px; }
.svc-card p { color:var(--soft); }
.svc-card .more { margin-top:.6rem; text-decoration:underline; text-underline-offset:.2em; }
@media (hover:hover) {
  .svc-card:hover .svc-card-photo img { transform:scale(1.05); }
  .svc-card:hover .more { color:var(--accent); }
}
.words-grid { display:grid; gap:2.25rem; }
.about-note { align-self:end; padding-top:1.25rem; border-top:2px solid var(--accent-line); }
.about-note p { margin-bottom:.9rem; font-size:1.1875rem; line-height:1.5; }
.about-link { display:inline-block; padding:.3rem 0; color:#fff; font-weight:600; text-underline-offset:.2em; }
.towns li { padding:.6rem 0; border-bottom:1px solid rgba(44,42,40,.2); }
.towns { gap:0 1.5rem; }
@media (min-width:640px) { .svc-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:2.25rem 2rem; } }
@media (min-width:900px) {
  .svc-cards { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,3vw,48px); }
  .words-grid { grid-template-columns:minmax(0,7fr) minmax(0,4fr); column-gap:clamp(40px,6vw,96px); }
}

/* ---------- Hero headline as a full statement ---------- */
.hero h1 { font-size:clamp(2.25rem,9.4vw,3rem); line-height:1.08; }
.hero h1 .ln { display:inline; }
@media (min-width:900px) {
  .hero h1 { font-size:clamp(1.875rem,3.55vw,3.25rem); line-height:1.1; }
  .hero h1 .ln { display:block; white-space:nowrap; }
}

/* ---------- Simplified estimate section: the form comes first ---------- */
.est-center { padding-top:clamp(24px,6vw,96px); padding-bottom:clamp(40px,6vw,96px); }
.est-center .est-grid { gap:1.25rem; max-width:40rem; }
.est-card .est-title { color:var(--ink); font-size:clamp(1.75rem,1.5rem + 1.2vw,2.25rem); line-height:1.1; margin-bottom:1rem; }
.est-card .step h3 { font-size:1.375rem; margin-bottom:.35rem; }
.est-card .step:not(:first-of-type) h3 { margin-bottom:1rem; }
.est-card .hint { margin:0 0 .9rem; font-size:1rem; }
.est-card .progress { margin-bottom:1rem; }
.tile:last-child:nth-child(odd) { grid-column:auto; }
.est-alt { margin:0; text-align:center; color:var(--on-dark); }
.est-alt a { color:#fff; font-weight:600; white-space:nowrap; text-underline-offset:.2em; }

/* ---------- Equal project tiles, and the photo note ---------- */
.tiles { grid-auto-rows:1fr; }
.tile { display:flex; min-width:0; }
.tile span { flex:1; min-width:0; min-height:72px; }
.photo-note { margin:0; min-height:1.5em; font-size:1rem; color:var(--soft); }

/* ---------- Chosen photos: thumbnails with remove buttons ---------- */
.photo-list { list-style:none; margin:.5rem 0 0; padding:0; display:grid; gap:.4rem; }
.photo-list:empty { display:none; }
.photo-list li { display:flex; align-items:center; gap:.75rem; padding:.35rem .5rem .35rem .35rem; background:#fff; border:1px solid var(--sand); border-radius:4px; }
.photo-list canvas { width:48px; height:48px; flex:none; border-radius:3px; }
.photo-name { flex:1; min-width:0; font-weight:600; }
.text-btn { min-height:44px; padding:0 .5rem; background:none; border:0; font:inherit; font-weight:600; color:var(--accent-hover); text-decoration:underline; text-underline-offset:.2em; cursor:pointer; }
.text-btn:hover { color:var(--ink); }
[data-photo-clear] { justify-self:start; margin-left:-.5rem; }

/* ---------- Call line under the form ---------- */
.est-alt { display:flex; flex-direction:column; align-items:center; gap:.15rem; margin-top:.75rem; text-align:center; color:var(--on-dark); }
.est-alt p { margin:0; }
.est-alt-q { opacity:.85; }
.est-alt-tel { display:inline-flex; align-items:center; gap:.5rem; min-height:44px; color:#fff; font-family:"Vollkorn",Georgia,serif; font-weight:600; font-size:1.5rem; text-decoration:none; white-space:nowrap; font-variant-numeric:lining-nums; }
.est-alt-tel:hover { text-decoration:underline; text-underline-offset:.2em; }
.est-alt-tel svg { width:20px; height:20px; color:var(--accent-line); }
.est-alt-hours { font-size:1rem; opacity:.75; }

/* ---------- More of our work: captions sit under the photos ---------- */
.mosaic { gap:1.1rem 6px; }
.mosaic figure { aspect-ratio:auto; overflow:visible; display:flex; flex-direction:column; }
.mosaic figure > img, .mosaic figure > .zoom { width:100%; height:auto; aspect-ratio:4/3; overflow:hidden; }
.mosaic .zoom img { height:100%; }
.mosaic figcaption.glass { position:static; margin-top:.45rem; padding:0; background:none; border:0; border-radius:0; -webkit-backdrop-filter:none; backdrop-filter:none; color:var(--ink); font-size:1rem; font-weight:600; line-height:1.3; }
@media (min-width:900px) {
  .mosaic .feature > img, .mosaic .feature > .zoom { aspect-ratio:auto; height:0; flex:1 1 0; min-height:0; }
}
