/* Authentic Craftsmanship: one stylesheet, mobile first.
   Colors live in the tokens below; the bronze accent is tuned toward the gold in the
   company's own badge so the logo sits naturally on every surface. */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-600.215a93c696.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-700.3787a5a419.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-var.7a19a7027e.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks: local fonts scaled to take the same width as the web fonts, so text
   does not re-wrap (and shift the page) when the web fonts arrive. Ratios measured 2026-09-28:
   Barlow Condensed 700 is 82.2% of Arial Narrow Bold and 67.4% of Arial Bold; Source Sans 3 is
   94.3% of Arial. */
@font-face { font-family: "Barlow Fallback Narrow"; src: local("Arial Narrow Bold"), local("ArialNarrow-Bold"), local("Arial Narrow"); font-weight: 600 700; size-adjust: 82.2%; }
@font-face { font-family: "Barlow Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial"); font-weight: 600 700; size-adjust: 67.4%; }
@font-face { font-family: "Source Sans Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 94.3%; }

:root {
  --ink: #161513;          /* near black */
  --char: #23211e;         /* charcoal */
  --char-2: #2e2b27;
  --warm: #f7f3ec;         /* warm white */
  --paper: #efe8dc;
  --stone: #6b665e;        /* architectural gray, text on light */
  --stone-light: #b9b2a6;  /* text on dark */
  --line: #ddd4c6;
  --line-dark: #3a3631;
  --bronze: #c28b4a;       /* accent fills, rules, icons */
  --bronze-deep: #8a5a24;  /* accent text on light backgrounds (AA) */
  --bronze-light: #deb37c; /* accent text on dark backgrounds (AA) */
  --navy: #182840;         /* from the badge; used sparingly */
  --ok: #2f6b3a;
  --err: #9b2c20;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(22, 21, 19, .08), 0 8px 24px rgba(22, 21, 19, .08);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --head: "Barlow Condensed", "Barlow Fallback Narrow", "Barlow Fallback", sans-serif;
  --body: "Source Sans 3", "Source Sans Fallback", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--warm); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--bronze-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); }
h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 3.4vw, 1.75rem); letter-spacing: .02em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; border-radius: 2px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 700 .95rem/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-deep); margin: 0 0 .9rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--bronze); }
.dark .eyebrow, .hero .eyebrow { color: var(--bronze-light); }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--stone); max-width: 42em; }
.dark .lede { color: var(--stone-light); }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.35rem; border-radius: var(--radius); border: 2px solid transparent; font: 700 1.08rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bronze); color: var(--ink); }
.btn-primary:hover { background: #d59c58; color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--warm); }
.btn-dark:hover { background: var(--char-2); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--warm); border-color: var(--ink); }
.dark .btn-ghost, .hero .btn-ghost { color: var(--warm); }
.dark .btn-ghost:hover, .hero .btn-ghost:hover { background: var(--warm); color: var(--ink); border-color: var(--warm); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font: 700 1rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; color: var(--bronze-deep); }
.text-link:hover { color: var(--ink); }
.text-link .icon { transition: transform .15s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ------------------------------------------------------------ preview banner */
.preview-bar { background: var(--navy); color: #e9edf3; font-size: .88rem; line-height: 1.35; padding: .5rem 0; text-align: center; }
.preview-bar p { margin: 0; }

/* ------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 236, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand picture, .brand img, .footer-brand picture, .footer-brand img { flex: none; }   /* never squeeze the round badge */
.brand { flex: none; }   /* the wordmark never shrinks into the nav */
.site-header > .wrap { max-width: 1320px; }   /* header needs ~1160px on one line; wider than the page's 1180px column */
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--head); text-transform: uppercase; }
.brand-text b { font-size: 1.05rem; letter-spacing: .22em; color: var(--bronze-deep); font-weight: 700; }
.brand-text span { font-size: 1.45rem; letter-spacing: .04em; font-weight: 700; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }
.nav a, .header-phone, .header-cta { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1359px) { .header-phone .num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .header-phone .icon { width: 1.4em; height: 1.4em; } }
.nav a { font: 600 1.12rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: .6rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--bronze); }
.header-phone { display: none; align-items: center; gap: .45rem; font: 700 1.15rem/1 var(--head); letter-spacing: .05em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--bronze-deep); }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .8rem; background: transparent; border: 2px solid var(--ink); border-radius: var(--radius); font: 700 1rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.menu-open .menu-btn .i-menu { display: none; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--warm); }
.menu-open .mobile-nav { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem 0 1rem; }
.mobile-nav li a { display: flex; justify-content: space-between; align-items: center; padding: .95rem 0; border-bottom: 1px solid var(--line); font: 700 1.35rem/1 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.mobile-nav li a[aria-current="page"] { color: var(--bronze-deep); }
.mobile-nav .btn { width: 100%; margin-top: 1rem; }
.mobile-nav .mobile-call { margin-top: .6rem; }
.btn-ghost.on-dark { color: var(--warm); }
.btn-ghost.on-dark:hover { background: var(--warm); color: var(--ink); border-color: var(--warm); }
@media (max-width: 380px) { .brand-text span { font-size: 1.2rem; } .brand-text b { font-size: .9rem; } .brand img { width: 44px; height: 44px; } }
@media (min-width: 1200px) {
  .nav, .header-phone { display: flex; }
  .header-cta { display: inline-flex; min-height: 44px; padding: .65rem 1.1rem; }
  .menu-btn, .mobile-nav, .menu-open .mobile-nav { display: none; }
}

/* ------------------------------------------------------------ hero */
.hero { position: relative; color: var(--warm); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(22, 21, 19, .92) 0%, rgba(22, 21, 19, .78) 45%, rgba(22, 21, 19, .35) 100%); }
.hero-inner { padding: clamp(4rem, 12vw, 8.5rem) 0 clamp(3.5rem, 9vw, 6.5rem); max-width: 760px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--bronze-light); }
.hero .lede { color: #e6ded1; margin-bottom: 1.8rem; }
.hero-proof { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .98rem; color: #d7cfc2; }
.hero-proof a { color: #fff; }
.stars { color: var(--bronze-light); letter-spacing: .12em; }
.page-hero .hero-inner { padding: clamp(3.2rem, 9vw, 6rem) 0 clamp(3rem, 7vw, 4.8rem); }
.page-hero h1 { font-size: clamp(2.5rem, 8vw, 4.6rem); }

/* hero background video: the poster <picture> sits underneath; the video fades in once playing */
.hero .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity .8s ease; }
.hero .hero-video.playing { opacity: 1; }
.video-toggle { position: absolute; right: max(16px, env(safe-area-inset-right)); bottom: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(247, 243, 236, .55); background: rgba(22, 21, 19, .55); color: var(--warm); display: grid; place-items: center; cursor: pointer; }
.video-toggle:hover { background: rgba(22, 21, 19, .85); }
.video-toggle .icon { width: 18px; height: 18px; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.dark { background: var(--char); color: var(--warm); }
.dark a:not(.btn) { color: var(--bronze-light); }
.paper { background: var(--paper); }
.grid { display: grid; gap: clamp(1rem, 3vw, 1.6rem); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) and (max-width: 979px) { .grid-3.services { grid-template-columns: 1fr; } }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } .split.flip > :first-child { order: 2; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; }
.stock-note { font-size: .8rem; color: var(--stone); margin-top: .5rem; }
.dark .stock-note { color: var(--stone-light); }

/* service cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--stone); }
.card-body .text-link { margin-top: auto; }
.card-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bronze-light); margin: -2.9rem 0 .9rem; position: relative; border: 3px solid #fff; }
.card-icon .icon { width: 22px; height: 22px; }
.tag { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font: 700 .85rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; padding: .45rem .65rem; border-radius: 3px; }
a.card { text-decoration: none; color: inherit; }

/* one call band */
.onecall { display: grid; gap: 2rem; }
.onecall h2 { font-size: clamp(2.4rem, 8vw, 4.6rem); }
.onecall h2 span { display: block; }
.onecall h2 span:last-child { color: var(--bronze-light); }
.onecall-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.onecall-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--line-dark); }
.onecall-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.onecall-list .icon { width: 28px; height: 28px; color: var(--bronze-light); margin-top: .2rem; }
.onecall-list h3 { margin: 0 0 .25rem; }
.onecall-list p { margin: 0; color: var(--stone-light); }
@media (min-width: 900px) { .onecall { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 4rem; } }

/* principles */
.principles { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.principle { background: var(--warm); padding: 1.6rem 1.4rem; }
.principle .icon { width: 30px; height: 30px; color: var(--bronze-deep); margin-bottom: .9rem; }
.principle h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.principle p { margin: 0; color: var(--stone); }
@media (min-width: 640px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .principles { grid-template-columns: repeat(5, 1fr); } }

/* checklists */
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks .icon { color: var(--bronze-deep); margin-top: .25rem; }
.dark .checks .icon { color: var(--bronze-light); }
@media (min-width: 640px) { .checks.cols { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.tile-list { display: grid; gap: 1rem; }
@media (min-width: 640px) { .tile-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tile-list { grid-template-columns: repeat(3, 1fr); } }
.tile { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--bronze); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.tile h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.tile p { margin: 0; color: var(--stone); font-size: 1rem; }

/* steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.steps li { counter-increment: step; position: relative; padding: 1.3rem 1.3rem 1.3rem 4.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 1.2rem; top: 1.1rem; font: 700 2rem/1 var(--head); color: var(--bronze-deep); }
.steps h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--stone); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { padding: 4rem 1.3rem 1.4rem; } .steps li::before { top: 1.3rem; } }

/* reviews */
.reviews { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; background: var(--char-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 1.2rem; font-size: 1.08rem; line-height: 1.55; color: #efe9df; }
.review figcaption { margin-top: auto; font-size: .95rem; color: var(--stone-light); }
.review figcaption b { color: var(--warm); display: block; font: 700 1.15rem/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: 2rem; }
.rating-big { font: 700 3rem/1 var(--head); }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ba figure { margin: 0; position: relative; }
.ba img { border-radius: var(--radius); width: 100%; }
.ba figcaption { position: absolute; top: 10px; left: 10px; background: var(--ink); color: var(--warm); font: 700 .9rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; padding: .4rem .6rem; border-radius: 3px; }
.ba-note { font-size: .9rem; color: var(--stone); margin-top: .7rem; }

/* notices */
.notice { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.notice .icon { color: var(--navy); width: 24px; height: 24px; margin-top: .1rem; }
.notice p:last-child { margin: 0; }
.notice h2, .notice h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.license-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.license-card dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0; }
.license-card dt { font-weight: 700; }
.license-card dd { margin: 0; }

/* cta band */
.cta-band { background: var(--ink); color: var(--warm); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--bronze); }
.cta-inner { display: grid; gap: 1.5rem; align-items: center; padding-top: clamp(2.8rem, 7vw, 4.5rem); padding-bottom: clamp(2.8rem, 7vw, 4.5rem); }
.cta-inner h2 { margin: 0 0 .3rem; }
.cta-inner p { margin: 0; color: var(--stone-light); }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; } }

/* owner */
.owner { display: grid; gap: 1.5rem; align-items: center; }
.owner .photo { max-width: 380px; }
@media (min-width: 800px) { .owner { grid-template-columns: 340px 1fr; gap: 3rem; } }

/* ------------------------------------------------------------ forms */
.form-wrap { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .form-wrap { grid-template-columns: 1fr 340px; align-items: start; } }
.estimate { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 2.2rem); box-shadow: var(--shadow); }
fieldset { border: 0; margin: 0 0 1.6rem; padding: 0; min-width: 0; }
legend { font: 700 1.35rem/1.1 var(--head); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .9rem; padding: 0; }
.field { margin-bottom: 1.1rem; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field .hint { display: block; font-size: .92rem; color: var(--stone); margin: -.15rem 0 .45rem; }
.req { color: var(--err); }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: var(--warm); border: 1.5px solid #bfb5a5; border-radius: var(--radius); }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(194, 139, 74, .45); outline-offset: 0; border-color: var(--bronze-deep); background: #fff; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.choices { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .choices.four { grid-template-columns: repeat(4, 1fr); } .choices.three { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 52px; padding: .6rem .5rem; text-align: center; border: 1.5px solid #bfb5a5; border-radius: var(--radius); background: var(--warm); font: 700 1.05rem/1.1 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.choice input:checked + span { background: var(--ink); color: var(--warm); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--bronze); outline-offset: 2px; }
.choice small { display: block; font: 600 .78rem/1.1 var(--body); letter-spacing: 0; text-transform: none; opacity: .85; }
.check { display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: .15rem 0 0; flex: none; accent-color: var(--ink); }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .choice span { border-color: var(--err); }
.error-msg { display: none; color: var(--err); font-weight: 600; font-size: .95rem; margin-top: .35rem; }
.field.invalid .error-msg { display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.dropzone { display: block; border: 2px dashed #bfb5a5; border-radius: var(--radius); padding: 1.4rem; text-align: center; background: var(--warm); cursor: pointer; }
.dropzone:hover, .dropzone.drag { border-color: var(--bronze-deep); background: #fff; }
.dropzone .icon { width: 34px; height: 34px; margin: 0 auto .5rem; color: var(--bronze-deep); }
.dropzone strong { display: block; font: 700 1.2rem/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thumbs { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .6rem; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(22, 21, 19, .8); color: #fff; display: grid; place-items: center; cursor: pointer; }
.thumbs button .icon { width: 16px; height: 16px; }
.demo-note { font-size: .92rem; background: #f3ecdf; border-radius: var(--radius); padding: .7rem .85rem; margin-top: .8rem; color: #4e4a44; }
.form-status { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e6f1e7; border: 1px solid #a8cfad; color: #1e4a26; }
.form-status.bad { background: #f8e6e3; border: 1px solid #e0aaa2; color: #6d1f16; }
.form-status h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.form-status p:last-child { margin-bottom: 0; }
.turnstile { margin: .5rem 0 1rem; min-height: 65px; }   /* reserve the widget's height so it does not shift the page */
.aside-card { background: var(--char); color: var(--warm); border-radius: var(--radius); padding: 1.5rem; }
.aside-card h2 { font-size: 1.7rem; }
.aside-card .big-phone { display: flex; align-items: center; gap: .6rem; font: 700 1.9rem/1 var(--head); color: #fff; text-decoration: none; margin: .4rem 0 1rem; }
.aside-card .big-phone .icon { color: var(--bronze-light); }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { text-align: left; padding: .45rem 0; border-bottom: 1px solid var(--line-dark); font-weight: 400; }
.hours th { font-weight: 600; padding-right: 1rem; }
.small-muted { font-size: .88rem; color: var(--stone-light); }
.small-muted-dark { font-size: .9rem; color: var(--stone); margin-top: 1rem; }
.hint-inline { font-weight: 400; color: var(--stone); }
.aside-card h3 { font-size: 1.2rem; letter-spacing: .1em; margin-top: 1.4rem; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: var(--stone-light); font-size: .98rem; padding: clamp(3rem, 7vw, 4.5rem) 0 1.5rem; }
.site-footer a { color: var(--warm); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.2rem; letter-spacing: .14em; color: var(--warm); margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-brand { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 64px; height: 64px; }
.footer-brand b { font: 700 1.5rem/1.05 var(--head); text-transform: uppercase; color: var(--warm); letter-spacing: .04em; }
.disclosure { border-top: 1px solid var(--line-dark); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .92rem; line-height: 1.55; }
.disclosure strong { color: var(--warm); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 1.2rem; font-size: .85rem; }

/* ------------------------------------------------------------ mobile call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); border-top: 1px solid var(--line-dark); padding: 8px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); gap: 8px; transform: translateY(0); transition: transform .25s ease; }
.callbar .btn { min-height: 48px; font-size: 1.05rem; padding: .6rem .5rem; }
.callbar .btn-ghost { color: var(--warm); }
.callbar.hide { transform: translateY(110%); }
body.has-callbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
@media (min-width: 1200px) { .callbar { display: none; } body.has-callbar { padding-bottom: 0; } }

/* ------------------------------------------------------------ prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.9rem; margin-top: 2rem; }
.credits { font-size: .95rem; }
.credits li { margin-bottom: .35rem; }

/* ------------------------------------------------------------ motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .callbar, .preview-bar, .cta-band { display: none; } }

/* form polish (from QA at 390px) */
.estimate > .notice { margin-bottom: 1.6rem; }
.choice span { flex-direction: column; gap: .2rem; }
.choices.three { grid-template-columns: repeat(3, 1fr); }
.check span { font-weight: 400; }
.dropzone span { font-weight: 400; display: block; }

/* ------------------------------------------------------------ recent work strips */
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 2rem; max-width: none; }
.split-head > div { max-width: 720px; }
.work-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.work-grid a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--char); box-shadow: var(--shadow); }
.work-grid picture, .work-grid img { width: 100%; height: 100%; }
.work-grid img { object-fit: cover; transition: transform .5s ease; }
.work-grid a:hover img { transform: scale(1.04); }
.work-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .75rem; background: linear-gradient(transparent, rgba(22, 21, 19, .88)); color: #fff; font: 700 1.02rem/1.15 var(--head); letter-spacing: .06em; text-transform: uppercase; }

/* ------------------------------------------------------------ projects gallery */
.g-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; position: sticky; top: 72px; z-index: 5; padding: .7rem 0; background: var(--warm); }
.chip { min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid #bfb5a5; background: #fff; font: 700 1rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.chip span { color: var(--stone); font-weight: 600; margin-left: .25rem; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--warm); }
.chip[aria-pressed="true"] span { color: var(--bronze-light); }
.g-section { margin-bottom: 3rem; scroll-margin-top: 150px; }
.g-section[hidden] { display: none; }
.g-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .5rem; margin-bottom: 1rem; }
.g-head h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0; }
.g-count { font: 600 1rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
.g-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .g-grid { grid-template-columns: repeat(3, 1fr); gap: .8rem; } }
@media (min-width: 1100px) { .g-grid { grid-template-columns: repeat(4, 1fr); } }
.g-item { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.g-item picture, .g-item img { width: 100%; height: 100%; }
.g-item img { object-fit: cover; transition: transform .45s ease; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem .6rem .5rem; background: linear-gradient(transparent, rgba(22, 21, 19, .85)); color: #fff; font-size: .82rem; line-height: 1.3; opacity: 0; transition: opacity .25s; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; }
@media (hover: none) { .g-cap { display: none; } }

/* full screen viewer */
.viewer-open { overflow: hidden; }
.viewer { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 11, 10, .96); color: #fff; }
.viewer::backdrop { background: rgba(12, 11, 10, .96); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr auto; }
.viewer-top { display: flex; justify-content: space-between; align-items: center; padding: max(10px, env(safe-area-inset-top)) 12px 8px 16px; }
.viewer-count { font: 700 1rem/1 var(--head); letter-spacing: .12em; color: var(--stone-light); }
.viewer-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 8px; touch-action: pan-y; }
.viewer-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; user-select: none; }
.viewer-cap { margin: 0; padding: 10px 16px max(16px, env(safe-area-inset-bottom)); text-align: center; font-size: 1rem; color: #e9e3d8; min-height: 3.2em; }
.viewer button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(22, 21, 19, .6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.viewer button:hover { background: rgba(255, 255, 255, .15); }
.viewer .v-prev, .viewer .v-next { position: absolute; top: 50%; transform: translateY(-50%); }
.viewer .v-prev { left: 12px; }
.viewer .v-next { right: 12px; }
.viewer .v-prev .icon { transform: rotate(180deg); }
@media (max-width: 600px) { .viewer .v-prev, .viewer .v-next { top: auto; bottom: 8px; transform: none; } }

/* the video pause button sits top right on phones and tablets, clear of the call bar */
@media (max-width: 1199px) { .video-toggle { bottom: auto; top: 14px; } }
