/* Artisan Concrete Choices: site styles.
   Sections, in order: fonts, design tokens, base, top line, header and menu, buttons, hero, facts row,
   sections, service cards, split sections, gallery, steps, financing and referral bands, reviews, map,
   FAQ, contact, contact form, footer, inner pages, page not found, call bar on phones, motion, tablet, phone, print. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Jost"; src: url("/fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Marcellus"; src: url("/fonts/marcellus.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
  /* colors */
  --ink: #1d1f11;          /* logo diamond: text and dark sections */
  --ink-2: #2b2e1c;
  --ink-soft: #4a4c3d;     /* secondary text */
  --ink-deep: #14150c;     /* footer */
  --stone: #f6f4ee;        /* page background */
  --slab: #e9e6dc;         /* raw concrete: tinted sections */
  --line: #d5d1c4;         /* borders */
  --silver: #c9cabf;       /* logo leaf */
  --stain: #a8541f;        /* acid stain copper: buttons and accents */
  --stain-dk: #8a4317;
  --stain-lt: #e59c5c;
  --white: #fff;
  --on-dark: #e6e7dc;      /* text on dark sections */
  --on-dark-soft: #dfe0d6;
  /* fonts */
  --font-display: "Marcellus", "Times New Roman", serif;
  --font-text: "Jost", "Segoe UI", Arial, sans-serif;
  /* type scale */
  --size-h1: clamp(2.7rem, 5.4vw, 4.6rem);
  --size-h2: clamp(1.9rem, 3.6vw, 2.75rem);
  --size-h3: 1.35rem;
  --size-body: 1.0625rem;
  --size-lead: clamp(1.08rem, 1.5vw, 1.25rem);
  /* layout, radius, shadows, spacing */
  --wrap: 1200px;
  --radius: 6px;
  --shadow-menu: 0 18px 30px rgba(0,0,0,.12);
  --shadow-bar: 0 -6px 20px rgba(0,0,0,.25);
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
  --call-bar-height: 60px;
  /* fine concrete speckle laid over the dark and tinted sections */
  --speck: url("/images/speck.svg");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-text); font-size: var(--size-body); line-height: 1.65; color: var(--ink); background: var(--stone); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--stain-dk); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
h2 { font-size: var(--size-h2); letter-spacing: .005em; }
h3 { font-size: var(--size-h3); line-height: 1.2; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 860px; }
:focus-visible { outline: 3px solid var(--stain-lt); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Top line: the trades ---------- */
.topline { background: var(--ink); color: var(--silver); font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; }
.topline-in { display: flex; align-items: center; justify-content: space-between; gap: .35rem 1.5rem; flex-wrap: wrap; padding-block: .55rem; }
.trades { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .7rem; }
.trades i { display: inline-block; width: 6px; height: 6px; background: var(--stain-lt); transform: rotate(45deg); }

/* ---------- Header and menu ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(246,244,238,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 62px; height: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-txt b { font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; }
.brand-txt small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.site-nav { display: flex; align-items: center; gap: .1rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; padding: .55rem .4rem; border-radius: 4px; white-space: nowrap; }
.site-nav a:hover { color: var(--stain-dk); background: var(--slab); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .6rem 1.3rem; border-radius: var(--radius); font: 600 1rem/1.2 var(--font-text); letter-spacing: .02em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s; }
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding-inline: 1.6rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-stain { background: var(--stain); color: var(--white); }
.btn-stain:hover { background: var(--stain-dk); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.head-call { white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); background: var(--ink) var(--speck); color: var(--white); min-height: min(78vh, 720px); }
.hero-copy { align-self: center; padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4rem) clamp(2.5rem, 6vw, 5rem) max(20px, calc((100vw - var(--wrap)) / 2)); }
.hero h1 { font-size: var(--size-h1); line-height: 1.02; margin-bottom: 1.25rem; }
.kicker { display: block; font: 600 .82rem/1.4 var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--stain-lt); margin-bottom: 1.1rem; }
.lead { font-size: var(--size-lead); color: var(--on-dark-soft); max-width: 34em; margin-bottom: 1.75rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-media { position: relative; overflow: hidden; min-height: 360px; background: #3a3b33; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
/* the photo starts as gray concrete and the color sweeps across it (see Motion) */
.hero-photo-gray { filter: grayscale(1) contrast(.85) brightness(1.02); }
.hero-tag { position: absolute; left: 0; bottom: 0; margin: 0; padding: .5rem 1rem; background: rgba(29,31,17,.82); color: var(--silver); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Facts row (trust strip) ---------- */
.facts { background: var(--slab) var(--speck); border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 1.4rem 1.25rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: .1rem; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.facts span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section-stone { background: var(--slab) var(--speck); }
.section-dark { background: var(--ink) var(--speck); color: var(--on-dark); }
.section-dark h2 { color: var(--white); }
.sec-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.sec-head p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: 1.1rem; }
.sec-head h2 { margin-bottom: .9rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 600 .8rem/1.4 var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--stain-dk); margin-bottom: .8rem; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }
.section-dark .eyebrow, .contact .eyebrow { color: var(--stain-lt); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 110px; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1.35rem 1.4rem 1.5rem; border-top: 3px solid var(--stain); flex: 1; }
.card h3 { margin-bottom: .55rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.cti { display: flex; align-items: center; gap: .8rem; margin: 2rem 0 0; padding: 1rem 1.25rem; background: var(--slab); border-radius: var(--radius); font-weight: 500; }
.dia { flex: none; width: 12px; height: 12px; background: var(--stain); transform: rotate(45deg); }

/* ---------- Split sections (Backyard Pleasures, About) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split-copy h2 { margin-bottom: 1.1rem; }
.split-media { position: relative; }
.ph-main { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.ph-inset { position: absolute; right: -1rem; bottom: -2rem; width: 42%; border-radius: var(--radius); border: 5px solid var(--ink); aspect-ratio: 4 / 3; object-fit: cover; }
#backyard .split-media { margin-bottom: 2rem; }
.ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.5rem; margin: 1.4rem 0 1.9rem; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--stain-lt); transform: rotate(45deg); }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.75rem; margin-top: 1.6rem; }
.why li { padding-left: 1rem; border-left: 3px solid var(--stain); display: flex; flex-direction: column; }
.why b { font-weight: 600; }
.why span { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.gallery-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--slab); color: var(--white); text-decoration: none; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item span { position: absolute; inset: auto 0 0 0; padding: 1.6rem .85rem .65rem; background: linear-gradient(to top, rgba(20,21,12,.88), rgba(20,21,12,0)); font-size: .93rem; font-weight: 500; line-height: 1.3; }

/* ---------- Steps (How it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.35rem; }
.num { position: relative; z-index: 0; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem; color: var(--white); font-family: var(--font-display); font-size: 1.3rem; line-height: 1; }
.num::before { content: ""; position: absolute; inset: 7px; background: var(--ink); transform: rotate(45deg); z-index: -1; }
.steps h3 { margin-bottom: .45rem; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Financing and referral bands ---------- */
.finance { background: var(--stain); color: var(--white); padding-block: clamp(2rem, 4vw, 3rem); }
.finance .eyebrow { color: #ffe3c9; }
.finance h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.finance-in, .refer-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.refer { background: var(--white); border-block: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem); }
.refer-in > div { max-width: 44rem; }
.refer h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .7rem; }
.refer p:last-child { margin: 0; color: var(--ink-soft); }

/* ---------- Reviews ---------- */
.reviews-widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); min-height: 180px; }
.rev-links { margin: 1.5rem 0 0; }

/* ---------- Map (service area) ---------- */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--slab); }
/* at least 600px tall: smaller maps show a pin instead of the outlined service area */
.map iframe { display: block; width: 100%; height: clamp(600px, 50vw, 660px); border: 0; }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 3.2rem 1.05rem 1.25rem; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.35rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--stain); border-bottom: 2px solid var(--stain); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { margin: 0; padding: 0 1.25rem 1.2rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { background: var(--ink) var(--speck); color: var(--on-dark); padding-block: clamp(3.5rem, 8vw, 6rem); }
.contact h2 { color: var(--white); margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.contact-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact-copy p { max-width: 32em; margin-bottom: 1.6rem; }
.contact-card { margin: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: .5rem 1.5rem; }
.contact-card > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: .95rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card dt { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); padding-top: .25rem; }
.contact-card dd { margin: 0; overflow-wrap: anywhere; }
.contact-card a { color: var(--white); }

/* ---------- Contact form (the estimate request, inside the contact section) ---------- */
.estimate { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(255,255,255,.12); scroll-margin-top: 96px; }
.estimate-copy h3 { color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: .8rem; }
.estimate-copy p { max-width: 32em; margin: 0; }
.bt-form-wrap { background: var(--stone); color: var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.bt-form-sent { display: none; scroll-margin-top: 7rem; margin: 0 0 1rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--white); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--stain); }
.bt-form-sent:target { display: block; }
.bt-form-sent p { margin: 0; }
.bt-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bt-form label { display: block; font-weight: 600; margin: 1rem 0 .35rem; }
.bt-form fieldset > label:first-of-type { margin-top: 0; }
.bt-form input:not([type="hidden"]), .bt-form select, .bt-form textarea { display: block; width: 100%; box-sizing: border-box; min-height: 48px; padding: .7rem .85rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); }
.bt-form textarea { min-height: 8rem; resize: vertical; }
.bt-form input:focus-visible, .bt-form select:focus-visible, .bt-form textarea:focus-visible { outline: 3px solid var(--stain); outline-offset: 2px; }
.bt-form :user-invalid { border-color: #b3261e; }
.bt-form-hint { margin: .45rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.bt-form-optional { font-weight: 400; color: var(--ink-soft); }
.bt-form button[type="submit"] { margin-top: 1.25rem; }
.form-note { margin: 1rem 0 0; font-size: .9rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink-deep); color: #b9baae; padding-top: 3rem; font-size: .96rem; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem 4rem; padding-bottom: 2.5rem; }
.foot-brand img { width: 120px; margin-bottom: 1rem; }
.foot-brand p { max-width: 22em; }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem 2rem; align-content: start; }
.foot-nav a { color: var(--on-dark); text-decoration: none; padding: .4rem 0; }
.foot-nav a:hover { color: var(--stain-lt); }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.4rem 1.8rem; display: flex; flex-wrap: wrap; gap: .4rem 2rem; justify-content: space-between; font-size: .88rem; }
.foot-base p { margin: 0; }
.foot-base a { color: var(--on-dark); }

/* ---------- Inner pages: page heading, links, quotes, financing steps, closing band, gallery jump links ---------- */
.site-nav a[aria-current="page"] { color: var(--stain-dk); box-shadow: inset 0 -2px 0 var(--stain); }
.hero-page { grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); min-height: min(62vh, 560px); }
.hero-page h1 { font-size: clamp(2.2rem, 3.6vw, 3.3rem); line-height: 1.08; }
.hero-page .hero-tag { animation-delay: .6s; }
.hero-solo { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.hero-solo .hero-copy { padding-right: max(20px, calc((100vw - var(--wrap)) / 2)); }
.card-more { display: inline-block; margin-top: .9rem; font-weight: 600; color: var(--stain-dk); text-decoration: none; border-bottom: 1px solid currentColor; }
.card-more:hover { color: var(--stain); }
.more-link { margin: 1.75rem 0 0; }
.rev-links { display: flex; flex-wrap: wrap; gap: .8rem; }
.fin-note { margin: 1.1rem 0 0; color: var(--on-dark-soft); }
.fin-note a { color: var(--white); }
.foot-contact a { color: var(--on-dark); }
.ph-contain { object-fit: contain; background: var(--white); border: 1px solid var(--line); }
.portrait { max-width: 360px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem .8rem; }
.portrait img { width: 100%; }
.portrait figcaption { text-align: center; color: var(--ink-soft); font-size: .95rem; margin-top: .5rem; }
.why-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quotes { columns: 3 280px; column-gap: 1.25rem; }
.quote { break-inside: avoid; margin: 0 0 1.25rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--stain); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0 0 .8rem; }
.quote figcaption { font-weight: 600; }
.quote-lg { padding: clamp(1.5rem, 4vw, 2.5rem); }
.quote-lg blockquote p { font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.45; }
.finance p { margin: .6rem 0 0; max-width: 42em; color: #fff4ea; }
.finance-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; width: 100%; }
.finance-steps li { background: rgba(20, 21, 12, .16); border-radius: var(--radius); padding: 1rem 1.15rem; }
.finance-steps b { display: block; margin-bottom: .25rem; }
.finance-steps a { color: var(--white); }
.cta-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem 4rem; align-items: center; }
.cta-in p:last-child { max-width: 32em; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; }
.cta-mail { color: var(--on-dark); text-align: center; overflow-wrap: anywhere; }
.cta-mail:hover { color: var(--stain-lt); }
.contact-page h1 { color: var(--white); font-size: clamp(2.2rem, 3.6vw, 3.3rem); line-height: 1.08; margin-bottom: 1rem; }
.estimate-copy h2 { color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: .8rem; }
.area-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.area-copy h3 { margin: 1.5rem 0 .2rem; }
.area-copy .ticks { margin: .8rem 0 0; }
.jump { background: var(--slab) var(--speck); border-bottom: 1px solid var(--line); }
.jump-in { display: flex; flex-wrap: wrap; gap: .5rem; padding-block: 1rem; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 500; }
.jump a:hover { border-color: var(--stain); color: var(--stain-dk); }
.section[id] { scroll-margin-top: 96px; }
@media (max-width: 960px) {
  .cta-in, .area-in { grid-template-columns: 1fr; }
  .why-3, .why-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finance-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .why-3, .why-4 { grid-template-columns: 1fr; }
  .rev-links .btn { width: 100%; }
}

/* ---------- Page not found ---------- */
.notfound { background: var(--ink) var(--speck); color: var(--on-dark); padding-block: var(--section-pad); }
.notfound h1 { font-size: var(--size-h1); line-height: 1.02; color: var(--white); margin-bottom: 1.25rem; }
.notfound .lead { margin-bottom: 1.75rem; }
.notfound .kicker { margin-bottom: 1.1rem; }

/* ---------- Call bar on phones (hidden on larger screens, see Phone) ---------- */
.call-bar { display: none; }

/* ---------- Motion ---------- */
[data-reveal] { --reveal-distance: 18px; }
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal [data-reveal].is-revealed { transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0s); }
  /* hero: color sweeps over the gray photo, then the caption fades in */
  .hero-photo-color { clip-path: polygon(0 0, 0 0, -35% 100%, -35% 100%); animation: stain 2.3s .45s cubic-bezier(.6, 0, .2, 1) forwards; }
  .hero-tag { opacity: 0; animation: fadein .6s 2.4s forwards; }
}
@keyframes stain { to { clip-path: polygon(0 0, 135% 0, 100% 100%, -35% 100%); } }
@keyframes fadein { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery-item img { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1279px) {
  /* without JavaScript the links wrap in a row under the logo; with it they sit behind the Menu button */
  .head-in { flex-wrap: wrap; }
  .site-nav { order: 3; flex: 1 0 100%; flex-wrap: wrap; padding-bottom: .6rem; }
  .js .head-in { flex-wrap: nowrap; }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .4rem .8rem; background: transparent; border: 2px solid var(--ink); border-radius: var(--radius); font: 600 .95rem var(--font-text); color: var(--ink); cursor: pointer; }
  .nav-toggle-bars { display: block; width: 18px; height: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
  .js .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; background: var(--stone); border-bottom: 1px solid var(--line); padding: .5rem 20px 1rem; box-shadow: var(--shadow-menu); }
  .js .site-nav:not(.is-open) { display: none; }
  .js .site-nav a { padding: .85rem .4rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 2.75rem 20px 2.5rem; }
  .hero-media { aspect-ratio: 16 / 10; min-height: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .facts-in { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .split-rev, .contact-in, .estimate { grid-template-columns: 1fr; }
  .split-rev .split-media { order: -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ph-inset { right: .75rem; }
  .foot-in { grid-template-columns: 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  /* the Call bar stays at the bottom of the screen; the page keeps room for it */
  body { padding-bottom: calc(var(--call-bar-height) + env(safe-area-inset-bottom)); }
  .call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.6fr 1fr; background: var(--ink); box-shadow: var(--shadow-bar); padding-bottom: env(safe-area-inset-bottom); }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: var(--call-bar-height); color: var(--white); font-weight: 600; text-decoration: none; font-size: 1rem; }
  .call-bar svg { width: 1.15em; height: 1.15em; fill: currentColor; }
  .call-bar-call { background: var(--stain); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topline { font-size: .72rem; letter-spacing: .08em; }
  .topline-in { justify-content: center; text-align: center; }
  .trades { justify-content: center; }
  .brand img { width: 48px; }
  .brand { min-width: 0; }
  .brand-txt { white-space: normal; }
  .brand-txt b { font-size: 1rem; line-height: 1.1; }
  .brand-txt small { display: none; }
  .head-in { min-height: 66px; gap: .6rem; }
  .head-call { display: none; } /* the Call bar takes its place */
  .nav-toggle-label { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-media { aspect-ratio: 4 / 3; }
  .cards, .steps { grid-template-columns: 1fr; }
  .ticks, .why { grid-template-columns: 1fr; }
  .gallery { gap: .5rem; }
  .gallery-item span { font-size: .82rem; padding: 1.2rem .6rem .5rem; }
  .finance-in .btn, .refer-in .btn { width: 100%; }
  .foot-nav { grid-template-columns: 1fr; }
  .contact-card { padding-inline: 1.1rem; }
  .contact-card > div { grid-template-columns: 1fr; gap: .15rem; }
}

/* ---------- Videos (backyard and commercial galleries) ---------- */
.video-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; margin-top: clamp(2rem, 5vw, 3rem); }
.video-copy h3 { margin: 0 0 .6rem; }
.video-block video { display: block; width: 100%; height: auto; max-width: 100%; border-radius: var(--radius); background: var(--ink); }
.video-block video.video-upright { max-height: 80vh; width: auto; margin-inline: auto; }
@media (max-width: 767px) {
  .video-block { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .call-bar, .nav-toggle, .site-nav, .skip { display: none; }
  body { padding-bottom: 0; }
}

/* Privacy page */
.bt-privacy-page { padding: 3rem 0 4rem; }
.bt-privacy-wrap { box-sizing: border-box; width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.bt-privacy { max-width: 46rem; overflow-wrap: break-word; }
.bt-privacy h1 { margin-top: 0; }
.bt-privacy-link { margin: 1rem 0 0; }
