/* Joshua's Painting Service — white on white, construction left visible. */

:root {
  --paper: #f6f4ef;      /* unprimed */
  --primer: #fbfaf7;
  --white: #ffffff;
  --ink: #141414;
  --graphite: #6d6a64;
  --rule: #dcd8cf;
  --tape: #e9dcb6;
  --tape-edge: #d8c799;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --hand: "Bradley Hand", "Segoe Print", "Comic Neue", cursive;
  --pad: clamp(20px, 4vw, 56px);
  --head: 66px;   /* sticky header height, for anchor-link offsets */
  --dock: 0px;    /* bottom call bar on phones */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 8px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.label {
  font: 11px/1.4 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0 0 14px;
}
.muted { color: var(--graphite); }

/* ───── contact bar ───── */
.utility {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 8px var(--pad);
  background: var(--ink); color: #d9d6cf;
  font: 12px/1.4 var(--mono); letter-spacing: .06em;
}
.utility a { color: var(--white); text-decoration: none; }
.utility a:hover { text-decoration: underline; }

/* ───── header ───── */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  background: rgba(246, 244, 239, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.mark {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.nav { display: flex; gap: 26px; align-items: center; font-size: 14px; }
.nav a { text-decoration: none; white-space: nowrap; }
.nav > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { border: 1px solid var(--ink); padding: 8px 14px; white-space: nowrap; }
.nav-cta:hover { background: var(--ink); color: var(--white); text-decoration: none !important; }

/* language switch — two garment-label sizes, the current one filled */
.lang { display: inline-flex; border: 1px solid var(--rule); font: 11px/1 var(--mono); letter-spacing: .12em; }
.lang[hidden] { display: none; }
.nav .lang a { padding: 7px 8px; text-decoration: none; color: var(--graphite); }
.nav .lang a + a { border-left: 1px solid var(--rule); }
.nav .lang a:hover { color: var(--ink); }
.nav .lang a[aria-current="true"] { background: var(--ink); color: var(--white); }
/* Spanish visitors: hold the first paint until the Spanish is in (i18n.js removes this) */
html.i18n-pending body { visibility: hidden; }

/* ───── buttons ───── */
.btn {
  display: inline-block; cursor: pointer;
  padding: 14px 22px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--white);
  font: 500 14px/1 var(--sans); letter-spacing: .04em;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--white); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn[disabled] { opacity: .5; cursor: wait; }

/* ───── hero: one full-width photo with the name over it ───── */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: calc(100svh - var(--head)); overflow: hidden;
  background: #2a2824; color: #fff;
}
.wall { position: absolute; inset: 0; overflow: hidden; }
.wall-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.wall::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,16,13,.82) 0%, rgba(18,16,13,.45) 42%, rgba(18,16,13,.08) 78%);
}
.hero-copy { position: relative; z-index: 1; width: 100%; max-width: 1100px; padding: clamp(32px, 6vw, 88px) var(--pad); }
.hero .label { color: rgba(255,255,255,.85); }
.hero h1 {
  font-weight: 400; letter-spacing: -.035em; color: #fff;
  font-size: clamp(46px, 7.4vw, 116px); line-height: .95; margin: 0 0 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.hero h1 em { font-style: normal; color: rgba(255,255,255,.72); }
.hero-short { font-size: clamp(18px, 1.8vw, 22px); color: rgba(255,255,255,.9); margin: 0 0 30px; max-width: 40ch; }
.hero .btn { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn:hover { background: transparent; color: #fff; }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); }
.hero .rating { display: inline-block; margin-top: 22px; color: #fff; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ───── promises ───── */
.promises {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-bottom: 1px solid var(--rule);
}
.promises li { padding: 28px var(--pad); display: flex; flex-direction: column; gap: 6px; }
.promises li + li { border-left: 1px solid var(--rule); }
.home-promises li { justify-content: center; text-align: center; }
.promises b { font-weight: 500; font-size: 16px; }
.promises span { font-size: 14px; color: var(--graphite); }

/* ───── sections ───── */
.block {
  padding: clamp(64px, 9vw, 128px) var(--pad);
  border-bottom: 1px solid var(--rule);
}
.block-head { max-width: 760px; margin-bottom: 48px; }
.block h2, .reel h2, .about h1, .block-head h1 {
  font-weight: 400; letter-spacing: -.025em;
  font-size: clamp(32px, 4vw, 54px); line-height: 1.02; margin: 0 0 12px;
}
.tag-code { font: 11px var(--mono); letter-spacing: .12em; color: var(--graphite); }
.tag-note { font: 17px var(--hand); color: var(--graphite); }

/* ───── services: a grid of cards, each one a finished job ───── */
.reel { border-bottom: 1px solid var(--rule); }
.reel-head { padding: clamp(64px, 9vw, 128px) var(--pad) 0; margin-bottom: 40px; }
.frames {
  list-style: none; margin: 0;
  padding: 0 var(--pad) clamp(64px, 9vw, 128px);
  display: grid; gap: 44px 28px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}
.frame { display: grid; gap: 18px; align-items: start; }
.frame-media {
  position: relative; margin: 0; overflow: hidden;
  background: #ebe6dc; border: 1px solid var(--rule); aspect-ratio: 4 / 3;
}
.frame-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame-copy h3 { font-weight: 400; letter-spacing: -.03em; line-height: 1; font-size: 30px; margin: 10px 0; }
.frame-copy > p { color: #46433d; margin: 0; font-size: 15px; }
.frame-copy .tag-note { display: block; width: fit-content; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--rule); }
.frame-job { display: flex; flex-direction: column; gap: 2px; margin: 16px 0 0; font-size: 14px; }
.frame-job span { font: 12px var(--mono); color: var(--graphite); letter-spacing: .04em; }

/* "see all services" link under the home grid */
.reel-more { padding: 0 var(--pad) clamp(64px, 9vw, 128px); margin-top: calc(-1 * clamp(24px, 4vw, 64px)); }

/* ───── /services/: the full list, one group per row ───── */
.svc-intro .block-head { margin-bottom: 32px; }
.svc-intro h1 {
  font-weight: 400; letter-spacing: -.035em;
  font-size: clamp(40px, 6vw, 84px); line-height: .98; margin: 0 0 16px;
}
.svc-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-jump a {
  padding: 8px 14px; border: 1px solid var(--rule); color: var(--ink);
  text-decoration: none; font-size: 15px; background: var(--white);
}
.svc-jump a:hover { border-color: var(--ink); }
.svc-group {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(48px, 7vw, 96px) var(--pad); border-bottom: 1px solid var(--rule);
}
.svc-group:nth-of-type(odd) .svc-media { order: 2; }
.svc-media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #ebe6dc; border: 1px solid var(--rule); }
.svc-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-copy h2 { font-weight: 400; letter-spacing: -.025em; font-size: clamp(32px, 4vw, 52px); line-height: 1.02; margin: 10px 0 12px; }
.svc-copy > p { color: #46433d; margin: 0 0 20px; max-width: 54ch; }
.svc-list {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  border-top: 1px solid var(--rule);
}
.svc-list li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--rule); position: relative; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--ink); }
.svc-end .hero-actions { margin-top: 0; }


/* ───── phone menu (☰), shown under 620px ───── */
.menu-btn {
  display: none; flex: none; width: 40px; height: 36px; padding: 0 9px;
  border: 1px solid var(--ink); background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 4px;
}
.menu-btn span { display: block; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.top.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.top.open .menu-btn span:nth-child(2) { opacity: 0; }
.top.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu {
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid; padding: 8px var(--pad) 20px;
  background: var(--paper); border-bottom: 1px solid var(--ink);
  box-shadow: 0 18px 30px rgba(0,0,0,.08);
}
.menu[hidden] { display: none; }
.menu { max-height: calc(100dvh - 72px - var(--dock, 0px)); overflow-y: auto; overscroll-behavior: contain; }
.menu a[aria-current="page"] { color: var(--ink) !important; font-weight: 600; }
.menu a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 19px; }
.menu .menu-call { font: 15px var(--mono); letter-spacing: .04em; }
.menu .btn { margin-top: 18px; text-align: center; padding: 16px; }

/* ───── stars ───── */
.stars { color: #c9a227; letter-spacing: .08em; }
.rating { display: inline-block; margin-top: 22px; font-size: 14px; text-decoration: none; }
.rating:hover span:last-child { text-decoration: underline; }

/* ───── our work: real job photos ───── */
.work-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.work-item { margin: 0; }
.work-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #ebe6dc; border: 1px solid var(--rule); }
.work-item figcaption { font: 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--graphite); padding-top: 8px; }
.work-more { margin: 28px 0 0; }

/* ───── reviews ───── */
.reviews { background: var(--primer); }
.reviews-card { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 56px); align-items: center; }
.reviews-score { margin: 0; font-size: 22px; white-space: nowrap; }
.reviews-score b { font-size: clamp(48px, 6vw, 80px); font-weight: 400; letter-spacing: -.03em; display: block; line-height: 1; }
.reviews-card h2 { margin-bottom: 8px; }
.reviews-card .muted { margin: 0; max-width: 52ch; }
.reviews .hero-actions { margin: 0; }

/* ───── about ───── */
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--rule); }
.about-photo figcaption { font: 17px var(--hand); color: var(--graphite); padding-top: 10px; }
.about p:not(.label) { max-width: 60ch; }
.stats { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.stats li { padding: 16px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.stats b { font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.03em; line-height: 1; }
.stats span { font-size: 13px; color: var(--graphite); }

/* quote form: optional details folded away */
.more { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.more summary { cursor: pointer; padding: 14px 0; font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.more summary:hover { color: var(--ink); }
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px; padding: 6px 0 20px; }


/* ───── Services ▾ dropdown (desktop) ───── */
.drop { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.drop-btn { border: 0; background: none; padding: 0; min-width: 28px; min-height: 28px; display: inline-flex; align-items: center; justify-content: center; margin-left: -2px; cursor: pointer; color: var(--ink); font-size: 12px; line-height: 1; }
.drop-menu {
  position: absolute; top: 100%; left: -18px; z-index: 30; min-width: 250px;
  display: none; padding: 8px 0; margin-top: 12px;
  background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 18px 30px rgba(0,0,0,.08);
}
.drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.drop:hover .drop-menu, .drop:focus-within .drop-menu, .drop.open .drop-menu { display: grid; }
.drop-menu a { padding: 10px 18px; text-decoration: none; }
.drop-menu a:hover, .drop-menu a[aria-current] { background: var(--primer); text-decoration: underline; text-underline-offset: 4px; }
.drop-menu .drop-all { border-top: 1px solid var(--rule); margin-top: 6px; padding-top: 14px; font: 12px var(--mono); letter-spacing: .06em; }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.menu-sub { display: grid; padding: 0 0 6px 16px; border-bottom: 1px solid var(--rule); }
.menu .menu-sub a { font-size: 16px; padding: 9px 0; border-bottom: 0; color: var(--graphite); }

/* ───── breadcrumbs ───── */
.crumbs { font: 12px var(--mono); letter-spacing: .04em; color: var(--graphite); margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: var(--ink); }
.crumbs a:hover { text-decoration: underline; }

/* ───── one service page ───── */
.svc-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
.svc-hero-copy { padding: clamp(36px, 6vw, 96px) var(--pad); background: var(--primer); }
.svc-hero h1 { font-weight: 400; letter-spacing: -.035em; font-size: clamp(42px, 6vw, 84px); line-height: .98; margin: 0 0 18px; }
.svc-hero .lede { font-size: 18px; color: #46433d; max-width: 56ch; margin: 0 0 26px; }
.svc-hero-photo { margin: 0; min-height: 420px; position: relative; background: #ebe6dc; }
.svc-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-hero-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(246,244,239,.92); padding: 6px 10px; font: 12px var(--mono); }
.svc-hero .hero-actions { margin-top: 0; }

/* ───── how it works ───── */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.steps-list li { padding: 22px 24px 0 0; }
.steps-list h3 { font-weight: 400; font-size: 26px; letter-spacing: -.02em; margin: 8px 0; }
.steps-list p { margin: 0; color: #46433d; max-width: 34ch; }
.step-n { font: 12px var(--mono); color: var(--graphite); letter-spacing: .1em; }

/* ───── services overview / "other services" cards ───── */
.frame-fig { margin: 0; height: 100%; }
.frame-copy h2 { font-weight: 400; letter-spacing: -.03em; line-height: 1; font-size: 30px; margin: 10px 0; }
.frame-copy h2 a, .frame-copy h3 a { text-decoration: none; }
.frame-copy h2 a:hover, .frame-copy h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
a.frame-media { display: block; }
.more-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 500; text-decoration: none; }
.more-link:hover span { text-decoration: underline; }

/* ───── /work/ filters ───── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.filters button { font: 14px var(--sans); padding: 8px 14px; border: 1px solid var(--rule); background: var(--white); cursor: pointer; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.work-item[hidden] { display: none; }

/* footer columns */
.foot-cols { display: flex; gap: clamp(28px, 6vw, 80px); align-items: flex-start; }
.foot-cols > div { display: grid; gap: 8px; }
.foot-cols .label { margin: 0 0 4px; }

/* ───── plain text pages: privacy, 404 ───── */
.prose { max-width: 760px; }
.prose h1 { font-weight: 400; letter-spacing: -.035em; font-size: clamp(40px, 5.5vw, 72px); line-height: 1; margin: 0 0 18px; }
.prose .lede { font-size: 19px; color: #46433d; margin: 0 0 32px; }
.prose h2 { font-size: 22px !important; letter-spacing: -.01em !important; margin: 32px 0 8px !important; }
.prose p { max-width: 64ch; }
.nf-links { columns: 2; padding-left: 18px; margin: 0 0 32px; }
.nf-links li { margin: 0 0 10px; }
.form-note { margin: 0; font-size: 13px; color: var(--graphite); }

/* method — four layers of a wall, offset like a cut-away */
.method { background: var(--primer); }
.layers { display: grid; grid-template-columns: repeat(4, 1fr); }
.layer {
  padding: 34px 28px 40px; min-height: 280px;
  border-top: 1px solid var(--ink);
}
.layer + .layer { border-left: 1px solid var(--rule); }
.l1 { background: #ebe6dc; margin-top: 0; }
.l2 { background: #f0ece4; margin-top: 28px; }
.l3 { background: #f7f5f0; margin-top: 56px; }
.l4 { background: var(--white); margin-top: 84px; }
.layer-n { font: 15px var(--mono); color: var(--graphite); }
.layer h3 { font-weight: 500; font-size: 24px; margin: 14px 0 10px; letter-spacing: -.015em; }
.layer p { margin: 0; color: #46433d; font-size: 15px; }

/* ───── instant estimate ───── */
.estimate { background: var(--white); }
.calc { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; max-width: 1180px; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.calc-fields .chips, .calc-fields .checks { grid-column: 1 / -1; }
.hint { color: var(--graphite); font-size: 13px; }
.checks { flex-direction: row !important; flex-wrap: wrap; gap: 10px 22px !important; }
.field.checks label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font: 15px var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.checks input { width: 16px; height: 16px; accent-color: var(--ink); }
.calc-result {
  position: sticky; top: calc(var(--head) + 24px);
  display: flex; flex-direction: column; gap: 10px;
  padding: 32px; border: 1px solid var(--ink); background: var(--primer);
}
.calc-result .label { margin: 0; }
.calc-range { font-size: clamp(36px, 4.4vw, 58px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-days { font: 19px var(--hand); color: var(--graphite); }
.calc-fine { font-size: 13px; color: var(--graphite); margin-bottom: 10px; }
.calc-result .btn { align-self: flex-start; }

/* ───── service area ───── */
.area-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.area-photo { margin: 0; max-width: 420px; justify-self: end; }
.area-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--rule); }
.area-photo figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; font-size: 14px; }
.area-photo figcaption span { font: 12px var(--mono); color: var(--graphite); }

/* ───── FAQ ───── */
.faq { background: var(--primer); }
.faq-list { max-width: 880px; border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-size: 20px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 22px/1 var(--mono); color: var(--graphite); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 64ch; color: #46433d; }

/* ───── quote ───── */
.quote { background: var(--white); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 80px); }
.contact { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.contact li { display: flex; flex-direction: column; }
.contact .label { margin: 0 0 2px; }
.contact a { font-size: 22px; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; border: 0; padding: 0; }
.field[hidden] { display: none; }
.field.wide, .wide { grid-column: 1 / -1; }
.field label, .field legend { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.field small { text-transform: none; letter-spacing: 0; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  font: 16px var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  padding: 10px 0; border-radius: 0;
}
.field textarea { border: 1px solid var(--ink) !important; padding: 12px !important; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--graphite); background: var(--primer); }
.field[aria-invalid="true"] input { border-color: #a33; }
.chips { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; margin-bottom: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--rule);
  font: 14px var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink);
}
.chips input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--graphite); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.form-msg { margin: 0; font-size: 15px; }
.form-msg.ok { font: 19px var(--hand); }
.form-msg.err { color: #a33; }

/* footer */
.foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap;
  padding: 40px var(--pad);
}
.foot p { margin: 8px 0 0; font-size: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-nav { display: flex; gap: 20px; font-size: 14px; }
.foot-code { font: 12px var(--mono); color: var(--graphite); }
.foot .foot-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font: 13px/1.4 var(--mono); letter-spacing: .04em; color: var(--graphite); }
.foot .foot-contact a { color: var(--ink); font-weight: 600; }

/* phones: call / quote dock */
.dock { display: none; }

/* ───── responsive ───── */
@media (max-width: 960px) {
  .promises { grid-template-columns: 1fr 1fr; }
  .promises li:nth-child(3) { border-left: 0; }
  .promises li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .layers { grid-template-columns: 1fr 1fr; }
  .layer { margin-top: 0 !important; }
  .calc, .quote-grid, .area-grid { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .area-photo { justify-self: start; }
  .utility-trust { display: none; }
  .svc-group { grid-template-columns: 1fr; }
  .nav-opt { display: none; }
  .svc-hero { grid-template-columns: 1fr; }
  .svc-hero-photo { min-height: 46vh; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li { padding-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 20px; }
  .reviews-card { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo img { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr 1fr; }
  .svc-group:nth-of-type(odd) .svc-media { order: 0; }

}
@media (max-width: 620px) {
  :root { --dock: 56px; }
  body { padding-bottom: var(--dock); }
  .nav > a:not(.nav-cta) { display: none; }
  .menu-btn { display: flex; }
  /* phones: long Spanish words wrap instead of pushing the page sideways */
  h1, h2 { overflow-wrap: anywhere; hyphens: auto; }
  /* bigger tap targets and easier-to-read small labels */
  .nav .lang a { padding: 12px 9px; }
  .foot-nav a, .foot-cols a { display: inline-block; padding: 8px 0; }
  .rating { padding: 8px 0; }
  .label, .tag-code, .crumbs, .work-item figcaption { font-size: 12.5px !important; }
  .crumbs a { display: inline-block; padding: 8px 0; }
  .nav > .drop { display: none; }
  .foot-cols { flex-direction: column; gap: 24px; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .work-item figcaption { font-size: 11px; }
  .nav .lang a { padding: 7px 6px; }
  /* phones: headline and quote button first, the photo after */
  .nav { gap: 12px; }
  .nav-cta { padding: 8px 10px; font-size: 0; }   /* full label stays for screen readers; */
  .nav-cta::after { content: attr(data-short); font-size: 14px; } /* the short one is drawn */
  .utility { justify-content: center; }
  .utility > span { display: none; }
  .promises li { padding: 20px var(--pad); }
  .layers, .form, .calc-fields, .more-grid { grid-template-columns: 1fr; }
  .layer + .layer { border-left: 0; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .faq summary { font-size: 17px; }
  .foot-nav { flex-wrap: wrap; }
  .dock {
    display: grid; grid-template-columns: 1fr 1.4fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: var(--dock);
    background: var(--paper); border-top: 1px solid var(--ink);
  }
  .dock a { display: grid; place-items: center; text-decoration: none; font-weight: 500; letter-spacing: .03em; }
  .dock-cta { background: var(--ink); color: var(--white); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ───── phones: finger-sized tap targets (last, so it wins) ───── */
@media (max-width: 620px) {
  .nav .lang a { padding: 12px 9px; }
  .more-link, .work-more a:not(.btn), .foot-contact a, .foot-code a, .nf-links a, .faq-group a {
    display: inline-block; padding: 10px 0; min-height: 40px;
  }
  .rating { display: inline-block; padding: 10px 0; }
  .nf-links { columns: 1; }
}
.faq-group { font-weight: 400; font-size: 24px; letter-spacing: -.02em; margin: 36px 0 10px; }
.faq-group a { text-decoration: none; }
.faq-group a:hover { text-decoration: underline; text-underline-offset: 4px; }

.foot .foot-social, .foot .foot-cred { margin-top: 10px; font-size: 14px; color: var(--graphite); }
.foot .foot-social a, .foot .foot-cred a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) { .foot-social a, .foot-cred a { display: inline-block; padding: 10px 4px; } }

/* ───── front page: one tile per page ───── */
.tiles { display: grid; gap: 28px 22px; grid-template-columns: repeat(3, 1fr); }
.tile { display: grid; gap: 6px; align-content: start; text-decoration: none; color: var(--ink); }
.tile-fig { margin: 0 0 8px; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--rule); background: #ebe6dc; }
.tile-fig img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile:hover .tile-fig img { transform: scale(1.03); }
.tile-title { font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.tile:hover .tile-title span { text-decoration: underline; text-underline-offset: 5px; }
.tile-line { color: var(--graphite); font-size: 15px; }
@media (max-width: 620px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tile-title { font-size: 19px; }
  .tile-line { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .tile-fig img { transition: none; } }

@media (max-width: 960px) and (min-width: 621px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.work-strip { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .work-strip { grid-template-columns: repeat(2, 1fr); } }
.rev-band { padding: 26px var(--pad); border-bottom: 1px solid var(--rule); background: var(--primer); }
.rev-band p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 16px; }
.rev-band .stars { font-size: 20px; }
.rev-band b { font-weight: 500; }
.rev-band a { font-weight: 500; text-decoration: none; }
.rev-band a:hover span { text-decoration: underline; }
.cta-area { margin: 10px 0 0; font-size: 14px; color: var(--graphite); }
.home-work .block-head, .home-services .block-head { margin-bottom: 32px; }
@media (max-width: 620px) { .rev-band a { display: inline-block; padding: 8px 0; } }

/* ───── scroll animations (public/js/reveal.js) ───── */
.rv-on .rv { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rv-delay, 0ms); }
.rv-on .rv-rise:not(.in) { opacity: 0; transform: translateY(26px); }
.rv-on .rv-pop:not(.in) { opacity: 0; transform: translateY(18px) scale(.94); }
/* the hero photo eases in on load */
@keyframes wall-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
/* front page: the story */
.story-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--rule); background: #ebe6dc; }
.story-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-text { font-size: 18px; color: #46433d; max-width: 56ch; }
.home-story .stats { grid-template-columns: repeat(3, 1fr); }
.story-more { margin: 28px 0 0; }
@media (max-width: 960px) { .story-grid { grid-template-columns: 1fr; } .story-photo { aspect-ratio: 4 / 3; } }
@media (max-width: 620px) { .home-story .stats { grid-template-columns: repeat(3, 1fr); } .home-story .stats b { font-size: 28px; } }
@media print { .rv-on .rv { opacity: 1 !important; transform: none !important; } }

/* front page: services as a clean clickable list */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 72px); border-top: 1px solid var(--rule); }
.svc-list a {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 12px;
  padding: 26px 4px; border-bottom: 1px solid var(--rule);
  color: var(--ink); text-decoration: none;
  font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.02em; line-height: 1.15;
}
.svc-n { font: 13px var(--mono); color: var(--graphite); letter-spacing: .06em; }
.svc-arrow { color: var(--graphite); transition: transform .25s; }
.svc-list a:hover .svc-arrow { transform: translateX(6px); color: var(--ink); }
.svc-list a:hover span:nth-child(2) { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } .svc-list a { padding: 20px 2px; grid-template-columns: 36px 1fr auto; } }
@media (max-width: 620px) {
  .hero { min-height: 82svh; }
  .promises li { padding: 16px 10px; }
  .promises b { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .svc-arrow { transition: none; } }
/* mid-size screens: the full header row does not fit, use the menu button */
@media (max-width: 820px) {
  .nav > a:not(.nav-cta), .nav > .drop { display: none; }
  .menu-btn { display: flex; }
}
@media (max-width: 620px) { .hero h1 { hyphens: manual; overflow-wrap: normal; font-size: clamp(38px, 11.5vw, 56px); } }

/* rotating photos (public/js/slides.js): cross-fade with a slow drift */
.wall-photo { opacity: 0; transition: opacity 1.6s ease; }
.wall-photo.on { opacity: 1; }
/* only photos that rotate in drift; the first one stays still so the page settles fast */
.wall-photo.on.drift { animation: drift 9s ease-out both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.story-photo { position: relative; }
.story-photo img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.story-photo img.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .wall-photo.on.drift { animation: none; } .wall-photo, .story-photo img { transition: none; } }

/* name-only wordmark */
.mark { font-size: 17px; letter-spacing: -.01em; gap: 0; }

/* language switch inside the phone menu */
.menu .menu-lang { display: inline-flex; justify-self: start; align-self: flex-start; width: max-content; margin: 14px 0 4px; font: 13px/1 var(--mono); }
.menu .menu-lang[hidden] { display: none; }
.menu .menu-lang a { padding: 12px 16px; text-decoration: none; color: var(--graphite); border: 0; font-size: 13px; }
.menu .menu-lang a + a { border-left: 1px solid var(--rule); }
.menu .menu-lang a[aria-current="true"] { background: var(--ink); color: var(--white); }

@media (max-width: 620px) {
  /* header: full name, Quote and the menu button; EN/ES lives in the menu */
  .top { gap: 10px; padding: 14px var(--pad); }
  .mark { font-size: 15px; }
  .nav .lang { display: none; }
  /* footer: tighter, two link columns side by side */
  .foot { flex-direction: column; align-items: stretch; gap: 28px; padding: 36px var(--pad) 28px; }
  .foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .foot-cols > div { gap: 0; align-content: start; }
  .foot-nav a, .foot-cols a { padding: 7px 0; }
  .foot-code { margin: 0; }
}
/* very small phones (320–359 px): keep the full name, Quote and the menu on one line */
@media (max-width: 359px) {
  .top { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .mark { font-size: 13.5px; }
  .nav { gap: 8px; }
  .nav-cta { padding: 8px 8px; }
}

/* ───── quote form, step by step (public/js/site.js) ───── */
.form .step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form.stepped .step[hidden], .quote-done[hidden], .step-bar[hidden] { display: none !important; }
.step-title { display: block; padding: 0; margin: 0 0 18px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; line-height: 1.15; }
.step-hint { margin: -8px 0 22px; color: var(--graphite); font-size: 15px; }
.step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.step .form-note { margin-top: 18px; }
.step-bar { display: grid; gap: 10px; }
.step-count { margin: 0; font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.step-count b { color: var(--ink); font-weight: 500; }
.step-track { height: 2px; background: var(--rule); overflow: hidden; }
.step-track span { display: block; height: 100%; width: var(--done, 33%); background: var(--ink); transition: width .45s cubic-bezier(.2, .7, .2, 1); }
.form.stepped .step-in { animation: step-in .4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* step 1: big tap-to-choose tiles */
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-grid label { cursor: pointer; display: block; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span {
  display: flex; align-items: center; min-height: 64px; padding: 16px 18px;
  border: 1px solid var(--rule); background: var(--primer);
  font-size: 18px; letter-spacing: -.01em; line-height: 1.2;
  transition: border-color .2s, background .2s, color .2s, transform .12s;
}
.choice-grid label:hover span { border-color: var(--ink); }
.choice-grid input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.choice-grid input:focus-visible + span { outline: 2px solid var(--graphite); outline-offset: 2px; }
.choice-grid label:active span { transform: scale(.98); }
.choice-wide { grid-column: 1 / -1; }

/* form buttons: Back on the left, Next / Send on the right */
.form.stepped .form-foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.form.stepped .form-msg { grid-column: 2; }
.form.stepped .step-next, .form.stepped .step-send { grid-column: 3; }
.form.stepped .step-back { grid-column: 1; }
.form.stepped .form-foot > [hidden] { display: none; }

/* after sending */
.quote-done { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--ink); background: var(--primer); outline: none; animation: step-in .5s cubic-bezier(.2, .7, .2, 1) both; }
.done-title { margin: 8px 0 12px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.05; }
.done-body { margin: 0 0 26px; color: #46433d; font-size: 17px; max-width: 46ch; }

@media (max-width: 620px) {
  .choice-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .choice-grid span { min-height: 58px; font-size: 16px; padding: 14px; }
  .step-grid { grid-template-columns: 1fr; gap: 18px; }
  /* phones: the main button full width, Back as a quiet link underneath */
  .form.stepped .form-foot { grid-template-columns: 1fr; gap: 10px; }
  .form.stepped .form-msg { grid-column: 1; order: -1; }
  .form.stepped .step-next, .form.stepped .step-send { grid-column: 1; width: 100%; }
  .form.stepped .step-back { grid-column: 1; order: 2; border: 0; background: none; color: var(--graphite); padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .form.stepped .step-in, .quote-done { animation: none; }
  .step-track span { transition: none; }
}

/* quote section layout: heading + contact on the left, the form on the right;
   on phones the form comes straight after the heading */
.quote-grid { grid-template-areas: "head form" "contact form"; grid-template-rows: auto 1fr; align-items: start; }
.quote-grid > .block-head { grid-area: head; }
.quote-grid > .form, .quote-grid > .quote-done { grid-area: form; }
.quote-grid > .quote-contact { grid-area: contact; }
.quote-contact .contact { margin-top: 0; }
@media (max-width: 960px) {
  .quote-grid { grid-template-areas: "head" "form" "contact"; grid-template-columns: 1fr; }
  .quote-contact { padding-top: 12px; border-top: 1px solid var(--rule); }
}
@media (max-width: 960px) { .quote-grid { gap: 22px; } .quote-grid > .block-head { margin-bottom: 0; } }

/* ───── phone menu: full screen under the header ───── */
.menu {
  /* the header's blur makes it the containing block, so size from its bottom edge */
  position: absolute; top: 100%; left: 0; right: 0; bottom: auto;
  height: calc(100dvh - var(--menu-top, 64px) - var(--dock, 0px)); max-height: none; display: flex; flex-direction: column; gap: 0;
  padding: 8px var(--pad) 24px; border-bottom: 0; box-shadow: none;
  overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
html.menu-open { overflow: hidden; }
.menu > a, .menu .menu-row > a { font-size: 26px !important; letter-spacing: -.02em; padding: 14px 0 !important; }
.menu > a, .menu-row { border-bottom: 1px solid var(--rule); }
.menu-row { display: flex; align-items: center; justify-content: space-between; }
.menu .menu-row > a { border-bottom: 0 !important; flex: 1; }
.menu-expand { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-expand span::before, .menu-expand span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--ink);
  transform: translate(-50%, -50%); transition: transform .25s;
}
.menu-expand span::after { transform: translate(-50%, -50%) rotate(90deg); }
.menu-expand[aria-expanded="true"] span::after { transform: translate(-50%, -50%) rotate(0deg); }
.menu-sub { padding: 4px 0 10px 2px; border-bottom: 1px solid var(--rule); }
.menu-sub[hidden] { display: none; }
.menu .menu-sub a { font-size: 17px; padding: 10px 0; }
.menu-foot { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.menu .menu-foot .menu-call { border: 0; padding: 12px 0; font: 15px var(--mono); }
.menu .menu-foot .menu-lang { margin: 0; }
/* items arrive one after another */
.menu:not([hidden]) > *, .menu:not([hidden]) > .menu-row { animation: menu-in .45s cubic-bezier(.2, .7, .2, 1) both; }
.menu > *:nth-child(2) { animation-delay: 30ms; } .menu > *:nth-child(3) { animation-delay: 60ms; }
.menu > *:nth-child(4) { animation-delay: 90ms; } .menu > *:nth-child(5) { animation-delay: 120ms; }
.menu > *:nth-child(6) { animation-delay: 150ms; } .menu > *:nth-child(7) { animation-delay: 180ms; }
.menu > *:nth-child(8) { animation-delay: 210ms; }
@keyframes menu-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .menu:not([hidden]) > * { animation: none; } }

/* one quote button per screen on phones: the bottom bar has it, so the header doesn't;
   on the contact page the bar keeps only Call (the form is right there) */
@media (max-width: 620px) {
  .nav .nav-cta { display: none; }
  .dock-call-only { grid-template-columns: 1fr !important; }
  .dock-call-only .dock-cta { display: none !important; }
}

/* ───── smooth page changes (browsers that support cross-page view transitions) ───── */
@view-transition { navigation: auto; }
.top { view-transition-name: site-header; }
.dock { view-transition-name: site-dock; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .32s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ───── tap feedback: things press in slightly under a finger ───── */
a, button, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn, .dock a, .nav-cta, .svc-list a, .menu a, .menu-expand, .chips span, .filters button, .faq summary, .work-item, .frame-media {
  transition: transform .12s ease, background-color .2s, color .2s, border-color .2s;
}
.btn:active, .nav-cta:active, .filters button:active { transform: scale(.97); }
.dock a:active { background: #2b2b2b; color: var(--white); }
.dock a:not(.dock-cta):active { background: var(--rule); color: var(--ink); }
.svc-list a:active, .menu a:active, .faq summary:active { opacity: .6; }
.work-item:active, .frame-media:active { transform: scale(.985); }
@media (prefers-reduced-motion: reduce) { .btn:active, .nav-cta:active, .work-item:active { transform: none; } }

/* ───── full-screen photo viewer (public/js/lightbox.js) ───── */
.work-item { cursor: zoom-in; }
.work-item:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
html.lb-open { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(16, 15, 13, var(--lb-fade, 1)); color: #fff;
  animation: lb-in .25s ease both;
}
.lb[hidden] { display: none; }
.lb-top, .lb-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--pad); }
.lb-count { font: 12px var(--mono); letter-spacing: .12em; color: rgba(255,255,255,.7); }
.lb-cap { margin: 0; flex: 1; text-align: center; font: 13px/1.4 var(--mono); letter-spacing: .04em; color: rgba(255,255,255,.85); }
.lb button { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
.lb button:hover { border-color: #fff; }
.lb button:active { transform: scale(.94); }
.lb-x { position: relative; }
.lb-x::before, .lb-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: #fff; }
.lb-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.lb-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.lb-stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 var(--pad); touch-action: none; transition: transform .2s ease; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-from-r { animation: lb-r .3s cubic-bezier(.2, .7, .2, 1) both; }
.lb-from-l { animation: lb-l .3s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes lb-in { from { opacity: 0; } }
@keyframes lb-r { from { opacity: 0; transform: translateX(40px); } }
@keyframes lb-l { from { opacity: 0; transform: translateX(-40px); } }
@media (max-width: 620px) { .lb-stage { padding: 0; } .lb-bottom { padding-bottom: max(12px, env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .lb, .lb-from-r, .lb-from-l { animation: none; } .lb-stage { transition: none; } }

/* header hides on scroll down (public/js/menu.js) */
.top { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.top.hide { transform: translateY(-101%); }
@media (prefers-reduced-motion: reduce) { .top { transition: none; } }

/* phones: the opening screen is just the name, one line and two buttons */
@media (max-width: 620px) {
  .hero .label, .hero .rating { display: none; }
  .hero-short { margin-bottom: 26px; }
}
.choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-grid span { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 620px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 359px) { .choice-grid span { font-size: 15px; padding: 12px; } }
@media (min-width: 961px) { .quote-grid { row-gap: 36px; } }

/* photo viewer: an invisible button covers each job photo */
.work-item { position: relative; }
.work-open { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.work-open:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* no layout jump: with JavaScript on, the quote form starts as step 1 before site.js runs */
.js .form:not(.stepped) .step:not([data-step="1"]),
.js .form:not(.stepped) .step-send { display: none; }
.js .form .step-bar[hidden] { display: grid !important; }

/* ───── front page: services as full-screen panels (Tesla-style) ───── */
html.snap { scroll-snap-type: y proximity; }
.hero, .panel { scroll-snap-align: start; }
.panel {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - var(--head));
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: clamp(48px, 9vh, 110px) var(--pad) clamp(36px, 7vh, 72px);
  background: #2a2824; color: #fff; text-align: center;
}
.panel-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(18,16,13,.62) 0%, rgba(18,16,13,.22) 30%, rgba(18,16,13,.04) 55%, rgba(18,16,13,.62) 100%);
}
.panel-copy h2 { margin: 0 0 10px; font-weight: 400; letter-spacing: -.03em; line-height: 1; font-size: clamp(38px, 5.6vw, 76px); text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.panel-copy p { margin: 0; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.92); text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.panel-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%; }
.panel-actions .btn { min-width: 220px; justify-content: center; text-align: center; background: #fff; color: var(--ink); border-color: #fff; }
.panel-actions .btn:hover { background: transparent; color: #fff; }
.panel-actions .btn-ghost { background: rgba(18,16,13,.28); color: #fff; border-color: rgba(255,255,255,.85); backdrop-filter: blur(4px); }
.panel-actions .btn-ghost:hover { background: #fff; color: var(--ink); }
/* the copy arrives as each panel scrolls in (public/js/reveal.js) */

@media (max-width: 620px) {
  /* phones: each panel fills the screen; the header slides away while scrolling down */
  html:has(.panels) { scroll-padding-top: 0; }
  .panel { min-height: 100svh; padding: calc(var(--head) + 28px) var(--pad) calc(var(--dock) + 28px); }
  .panel-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .panel-actions .btn { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html.snap { scroll-snap-type: none; } }
@media print { .panel { min-height: 0; break-inside: avoid; } }
@media (max-width: 620px) {
  .dock { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
  html.dock-off .dock { transform: translateY(100%); }
  .panel { padding-bottom: max(32px, calc(env(safe-area-inset-bottom) + 24px)); }
}
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* front page story: text only, centred — a calm pause after the photo panels */
.story-solo { grid-template-columns: 1fr !important; max-width: 860px; margin: 0 auto; text-align: center; }
.story-solo .story-text { margin-left: auto; margin-right: auto; max-width: 60ch; }
.story-solo .stats { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.home-story { padding-top: clamp(72px, 12vh, 140px); padding-bottom: clamp(72px, 12vh, 140px); }
@media (max-width: 620px) { .story-solo { text-align: left; } .story-solo .stats { margin-left: 0; text-align: left; } }

/* ───── /work/: one chapter per job type, photos in a single row at the same height ───── */
.work-page .block-head { margin-bottom: clamp(24px, 4vw, 40px); }
.chapter { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--rule); }
.chapter-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.chapter-head h2 { margin: 0; font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; }
.chapter-n { font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
.shots-nav { margin-left: auto; display: flex; gap: 8px; }
.shots-nav[hidden] { display: none; }
.shots-nav button { width: 40px; height: 40px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 16px; }
.shots-nav button:hover:not(:disabled) { background: var(--ink); color: var(--white); }
.shots-nav button:disabled { opacity: .3; cursor: default; }
.shots {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 6px;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shots .work-item { flex: none; width: min-content; scroll-snap-align: start; }
.shots .work-item img {
  height: clamp(260px, 46vh, 460px); width: auto; max-width: none; object-fit: cover;
}
.shots .work-item figcaption { max-width: 100%; }
/* a soft fade on the right edge says "there's more, swipe" */
.chapter { position: relative; }
.chapter.has-more::after {
  content: ""; position: absolute; right: calc(-1 * var(--pad)); bottom: clamp(28px, 4vw, 44px);
  width: 48px; height: clamp(260px, 46vh, 460px);
  background: linear-gradient(to right, transparent, var(--paper)); pointer-events: none;
}
@media (max-width: 620px) {
  .shots { gap: 8px; }
  .shots .work-item img { height: 300px; max-width: 82vw; }
  .chapter.has-more::after { height: 300px; width: 32px; }
  .shots-nav { display: none !important; }
}

/* a small label right under the breadcrumb only repeats the page name: hide it */
.crumbs + .label { display: none; }

/* ───── front page: promises are links ───── */
.promises a { display: flex; flex-direction: column; gap: 6px; height: 100%; color: inherit; text-decoration: none; }
.home-promises li { padding: 0; }
.home-promises a { flex-direction: row; align-items: center; justify-content: center; gap: 8px; padding: 22px var(--pad); }
.promises a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.pr-go { color: var(--graphite); transition: transform .2s; }
.promises a:hover .pr-go { transform: translateX(4px); color: var(--ink); }
.promises a:active { background: var(--primer); }
@media (max-width: 620px) { .home-promises a { padding: 16px 10px; } }

/* services list with a one-line description under each name */
.svc-name { display: grid; gap: 4px; }
.svc-name small { font-size: 15px; letter-spacing: 0; color: var(--graphite); line-height: 1.35; }
.home-services .block-head .muted { margin: 8px 0 0; }
@media (max-width: 620px) { .svc-name small { font-size: 13.5px; } }

/* reviews strip: the whole line is one link */
.rev-band a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; color: inherit; text-decoration: none; font-size: 16px; }
.rev-band .rev-go { font-weight: 500; }
.rev-band a:hover .rev-go span { text-decoration: underline; }

/* the FAQ answer you arrived at gets a brief highlight */
.faq details.flash { animation: flash 1.6s ease-out; }
@keyframes flash { from { background: #efe7cf; } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .faq details.flash { animation: none; } }

/* ───── footer: four top-aligned columns + a thin bottom bar ───── */
.foot { display: block; padding: clamp(48px, 6vw, 80px) var(--pad) 0; border-top: 1px solid var(--rule); }
.foot-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.foot-brand .mark { font-size: 18px; }
.foot-brand .muted { max-width: 34ch; margin-top: 12px; line-height: 1.5; }
.foot .foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 48px); align-items: start; }
.foot .foot-cols > div { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.foot .foot-cols .label { margin: 0 0 6px; }
.foot-reach span { color: var(--graphite); font-size: 14px; }
.foot-reach .foot-phone { font-weight: 600; }
.foot-reach .foot-cta { justify-self: start; margin-top: 8px; padding: 11px 18px; font-size: 13px; }
.foot-reach .foot-cta:hover { text-decoration: none; }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  margin-top: clamp(40px, 5vw, 64px); padding: 20px 0 26px; border-top: 1px solid var(--rule);
  font: 12px/1.5 var(--mono); letter-spacing: .04em; color: var(--graphite);
}
.foot-bottom a { color: var(--graphite); }
.foot-bottom a:hover { color: var(--ink); }
@media (max-width: 960px) {
  .foot-main { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .foot { padding: 40px var(--pad) 0; }
  .foot .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot .foot-cols > div { gap: 2px; }
  .foot .foot-cols a:not(.btn) { padding: 7px 0; }
  .foot-reach { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; padding-bottom: 20px; }
}

/* ───── closing call to action: centred ───── */
.cta-end { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-end .block-head { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-end .block-head h2 { margin-left: auto; margin-right: auto; }
.cta-end .hero-actions { justify-content: center; }
@media (max-width: 620px) {
  .cta-end h2 { hyphens: manual; overflow-wrap: normal; }
  .foot-reach .foot-cta { display: none; }   /* the bottom bar already has Free quote */
}

/* ───── customer quotes (tools/reviews.json): no names, the customer's own words ───── */
.tm-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.tm { margin: 0; padding: clamp(22px, 3vw, 32px); background: var(--primer); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 14px; }
.tm-stars { margin: 0; font-size: 15px; }
.tm blockquote { margin: 0; flex: 1; }
.tm blockquote p { margin: 0; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: #2f2d29; }
.tm blockquote p::before { content: "“"; } .tm blockquote p::after { content: "”"; }
.tm figcaption { font: 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); }
.testimonials .work-more { margin-top: 22px; }
html:not([lang="es"]) .es-only { display: none; }
/* front page strip: one short quote */
.rev-quote { font-style: normal; color: #46433d; }
.rev-quote::before { content: "“"; } .rev-quote::after { content: "”"; }
@media (max-width: 620px) { .tm blockquote p { font-size: 16px; } }

/* ───── FAQ page: side panel (stays put) + questions filling the rest ───── */
.faq-layout { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--head) + 28px); display: grid; gap: 14px; }
.faq-side h1 { margin: 0; font-weight: 400; letter-spacing: -.03em; line-height: 1.05; font-size: clamp(34px, 4vw, 52px); }
.faq-side .muted { margin: 0; }
.faq-toc { display: grid; gap: 2px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--rule); }
.faq-toc a { padding: 6px 0; color: var(--graphite); text-decoration: none; font-size: 15px; }
.faq-toc a:hover, .faq-toc a.on { color: var(--ink); }
.faq-toc a.on { font-weight: 500; }
.faq-help { margin-top: 14px; padding: 20px; border: 1px solid var(--rule); background: var(--paper); display: grid; gap: 8px; }
.faq-help-title { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.faq-help-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.faq-help-actions .btn { padding: 11px 16px; font-size: 13px; }
.faq-main .faq-list { max-width: none; }
.faq-main .faq-group { scroll-margin-top: calc(var(--head) + 20px); }
.faq-main .faq-first { margin-top: 0; }
.faq-by { margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--ink); font-weight: 400; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.02em; }
@media (max-width: 960px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .faq-toc { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .faq-help { display: none; }   /* phones: the bottom bar already has Call / Free quote */
}
.faq-toc a { padding: 4px 0; }
.faq-side { max-height: calc(100vh - var(--head) - 40px); }
@media (max-height: 720px) and (min-width: 961px) { .faq-side { position: static; max-height: none; } }
@media (max-width: 960px) { .faq-side { max-height: none; } .faq-toc a { padding: 8px 0; } }

/* About page: no photo; big title on the left, the story and numbers on the right */
.about-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.about-split .about-head h1 { margin: 0; font-weight: 400; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(40px, 5.2vw, 76px); }
.about-split .about-body > p:first-child { margin-top: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #2f2d29; }
.about-split .about-body p { max-width: 62ch; }
.about-split .stats { margin-top: 32px; }
@media (max-width: 960px) { .about-split { grid-template-columns: 1fr; gap: 18px; } }
.about-split .about-head .label { display: none; }   /* the breadcrumb already says About */
.about-split .about-head h1 { hyphens: manual; overflow-wrap: normal; }

/* Reviews page opening: title, rating line, quotes, Yelp link last */
.reviews-top .block-head h1 { margin: 0 0 14px; font-weight: 400; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(40px, 5.2vw, 76px); hyphens: manual; overflow-wrap: normal; }
.rv-rating { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 17px; color: #46433d; }
.rv-rating .stars { font-size: 20px; }
.reviews-top .block-head { margin-bottom: clamp(24px, 3vw, 36px); }
.rv-yelp { margin: clamp(24px, 3vw, 36px) 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* FAQ page: title across the top, then topics (left) and questions (right) start on the same line */
.faq-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.faq-head h1 { margin: 0; font-weight: 400; letter-spacing: -.03em; line-height: 1.05; font-size: clamp(34px, 4.4vw, 56px); }
.faq-head .muted { margin: 0; }
.faq-side .faq-toc { margin-top: 0; padding-top: 4px; border-top: 0; }
.faq-main h2.faq-group, .faq-main h3.faq-group { font-size: 24px; line-height: 1.2; margin: 40px 0 10px; }
.faq-main h2.faq-first { margin-top: 0; }
.faq-main .faq-by { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); margin: 64px 0 0; padding-top: 20px; }
.faq-main .faq-by + .faq-group { margin-top: 20px; }
