/* Stamford Flat Pack
   Palette: Hex orange, Walnut, Birch, Ply, Melamine white.
   Type: Gabarito (headlines), Atkinson Hyperlegible Next (reading). Sentence case throughout. */

@font-face { font-family: "Gabarito"; src: url("../fonts/gabarito-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
	--orange: #F2551D;
	--orange-ink: #B23E0E;      /* orange for text on light backgrounds */
	--orange-soft: #FF9A6E;     /* orange for text on walnut */
	--walnut: #2B1E16;
	--walnut-deep: #1F1510;
	--walnut-soft: #6A584A;     /* secondary text on light */
	--birch: #EDDCBF;
	--birch-deep: #E2CBA3;
	--ply: #CFA971;
	--paper: #FCFBF8;
	--line: rgba(43, 30, 22, .16);
	--line-dark: rgba(252, 251, 248, .16);

	--head: "Gabarito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
	--body: "Atkinson Next", "Atkinson Hyperlegible", system-ui, sans-serif;

	--gutter: clamp(16px, 4vw, 48px);
	--max: 1320px;
	--section: clamp(72px, 10vw, 140px);
	--radius: 5px;
	--hex: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--walnut); font: 400 1.125rem/1.55 var(--body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--orange-ink); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--walnut); color: var(--paper); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Type ---------- */
.section-title { font-size: clamp(2.125rem, 4.4vw, 3.75rem); font-weight: 760; line-height: 1.02; letter-spacing: -0.018em; }
.section-text { font-size: clamp(1.125rem, 1.3vw, 1.25rem); color: var(--walnut-soft); max-width: 46ch; margin: 18px 0 0; }
.page-title { font-size: clamp(2.6rem, 6.4vw, 5.5rem); font-weight: 800; line-height: .98; letter-spacing: -0.022em; max-width: 16ch; }
.page-intro { font-size: clamp(1.15rem, 1.5vw, 1.35rem); color: var(--walnut-soft); max-width: 52ch; margin: 22px 0 0; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--walnut); line-height: 1; }
.brand:hover { color: var(--walnut); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-words { display: flex; flex-direction: column; font-family: var(--head); }
.brand-town { font-weight: 500; font-size: .95rem; letter-spacing: .005em; }
.brand-name { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.01em; margin-top: 1px; }
.brand--dark, .brand--dark:hover { color: var(--paper); }

/* ---------- Buttons: hex-ended, like the logo ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 650; font-size: 1.0625rem; line-height: 1.1; text-decoration: none; cursor: pointer; border: 0; }
.btn--primary { background: var(--orange); color: var(--walnut); padding: 16px 30px; clip-path: var(--hex); transition: background-color .15s; }
.btn--primary:hover { background: #ff6a33; color: var(--walnut); }
.btn--primary:focus-visible { outline: none; background: var(--walnut); color: var(--paper); text-decoration: underline; text-underline-offset: .2em; }
.btn--big { font-size: 1.175rem; padding: 19px 38px; }
.btn--quiet { background: none; padding: 14px 4px; color: var(--walnut); text-decoration: underline; text-decoration-color: var(--ply); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.btn--quiet:hover { color: var(--orange-ink); text-decoration-color: currentColor; }

/* ---------- Placeholders (until photos are added) ---------- */
.ph { position: relative; width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; background-color: var(--birch); background-image: repeating-linear-gradient(0deg, transparent 0 17px, rgba(43, 30, 22, .045) 17px 18px); color: var(--walnut); }
.ph-icon { width: clamp(72px, 22%, 132px); height: auto; opacity: .5; stroke-width: 1.6; }
.ph-note { position: absolute; left: 12px; bottom: 12px; font: 600 .8125rem/1 var(--head); background: var(--paper); color: var(--walnut); padding: 7px 10px; border-radius: 3px; }

/* ---------- Hero: before and after ---------- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(420px, 35fr) minmax(0, 65fr); grid-template-rows: auto 1fr; min-height: max(640px, 100svh); }
.ba { --pos: 50%; position: relative; grid-column: 2; grid-row: 1 / -1; overflow: hidden; background: var(--birch); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba-pane { position: absolute; inset: 0; }
.ba-pane .media-img, .ba-pane .scene, .ba-pane .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { background: #F2E6CF; }
.ba-before { background: var(--birch-deep); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.scene { color: var(--walnut); opacity: .62; }
.ba-tag { position: absolute; top: clamp(20px, 3vw, 32px); font: 650 .9375rem/1 var(--head); background: var(--walnut); color: var(--paper); padding: 9px 13px; border-radius: 3px; white-space: nowrap; }
.ba-tag--before { right: calc(100% - var(--pos) + 22px); }
.ba-tag--after { left: calc(var(--pos) + 22px); background: var(--paper); color: var(--walnut); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 2; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: var(--paper); box-shadow: 0 0 0 1px rgba(43, 30, 22, .12); }
.ba-grip { position: absolute; top: 50%; left: 0; width: 76px; height: 76px; translate: -50% -50%; filter: drop-shadow(0 6px 14px rgba(43, 30, 22, .25)); }
.ba-grip svg { width: 100%; height: 100%; }
.ba-grip-hex { fill: var(--orange); stroke: var(--paper); stroke-width: 4; }
.ba-grip-arrows { fill: none; stroke: var(--walnut); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.ba-hint { position: absolute; top: calc(50% + 52px); left: 0; translate: -50% 0; font: 600 .875rem/1 var(--head); background: var(--paper); color: var(--walnut); padding: 8px 12px; border-radius: 3px; white-space: nowrap; transition: opacity .3s; }
.ba.is-touched .ba-hint { opacity: 0; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; pointer-events: none; }
.ba:has(.ba-range:focus-visible) .ba-grip-hex { stroke: var(--walnut); stroke-width: 7; }
.ba:has(.ba-range:focus-visible) .ba-hint { opacity: 1; outline: 3px solid var(--orange); }
.ba-admin { position: absolute; left: 16px; bottom: 16px; z-index: 3; font: 600 .875rem/1 var(--head); background: var(--paper); padding: 10px 12px; border-radius: 3px; }
.hero > .brand { grid-column: 1; grid-row: 1; justify-self: start; margin: clamp(16px, 2.4vw, 28px) 0 0 var(--gutter); }
.hero-card { grid-column: 1; grid-row: 2; align-self: end; padding: 48px clamp(28px, 3.4vw, 56px) clamp(40px, 5vw, 72px) var(--gutter); }
.hero-title { font-size: clamp(2.75rem, 4.7vw, 4.6rem); font-weight: 800; line-height: .97; letter-spacing: -0.024em; }
.hero-text { font-size: clamp(1.125rem, 1.4vw, 1.3rem); color: var(--walnut-soft); margin: 22px 0 30px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 0; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { margin-bottom: clamp(32px, 5vw, 64px); }
.section-more { margin-top: clamp(24px, 3vw, 40px); }

/* Recent builds */
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 1.8vw, 24px); }
.work-item { grid-column: span 7; }
.work-item:nth-child(4n+2), .work-item:nth-child(4n+3) { grid-column: span 5; }
.work-grid.is-filtered .work-item { grid-column: span var(--span, 6); }
.work-item figure { margin: 0; }
.work-media { display: block; width: 100%; height: clamp(260px, 31vw, 500px); padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--birch); }
button.work-media { cursor: zoom-in; }
.work-media .media-img { width: 100%; height: 100%; object-fit: cover; }
.work-item figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; margin-top: 12px; }
.work-cap { font: 650 1.125rem/1.3 var(--head); }
.work-meta { color: var(--walnut-soft); font-size: .9375rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 4vw, 44px); }
.filter { font: 600 1rem/1 var(--head); background: transparent; border: 2px solid var(--line); color: var(--walnut); padding: 11px 16px; border-radius: 3px; cursor: pointer; }
.filter:hover { border-color: var(--walnut); }
.filter.is-on { background: var(--walnut); border-color: var(--walnut); color: var(--paper); }
.work--page { padding-top: clamp(24px, 4vw, 48px); }

/* Prices */
.prices { background: var(--birch); }
.prices-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.prices-inner .section-head { position: sticky; top: 32px; margin: 0; }
.prices-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 28px 0 0; font-weight: 600; }
.price-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--walnut); }
.price-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(43, 30, 22, .2); }
.price-icon { width: 44px; height: 44px; color: var(--walnut); stroke-width: 1.8; }
.price-name { font: 650 1.1875rem/1.25 var(--head); }
.price-name a { text-decoration-color: var(--ply); }
.price-name small { display: block; font: 400 .9375rem/1.4 var(--body); color: var(--walnut-soft); margin-top: 3px; }
.price-cost { font: 750 1.375rem/1 var(--head); white-space: nowrap; text-align: right; }
.price-notes { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; color: var(--walnut-soft); font-size: .9875rem; }
.price-notes li { position: relative; padding-left: 20px; }
.price-notes li::before { content: ""; position: absolute; left: 0; top: .42em; width: 11px; height: 12px; background: var(--orange); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.prices--page { background: var(--paper); padding-top: clamp(24px, 4vw, 48px); }
.prices--page .price-list, .prices--compact .price-list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px); border-top: 0; }
.prices--page .price-list li:first-child, .prices--compact .price-list li:first-child { border-top: 2px solid var(--walnut); }
@media (min-width: 1001px) {
	.prices--page .price-list, .prices--compact .price-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.prices--page .price-list li:nth-child(2), .prices--compact .price-list li:nth-child(2) { border-top: 2px solid var(--walnut); }
}
.prices--compact .section-title { margin-bottom: 32px; }

/* How it works: a real sequence, so it's numbered */
.how .section-title { margin-bottom: clamp(36px, 5vw, 64px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); counter-reset: none; }
.step { position: relative; }
.step-num { position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 22px; }
.step-num svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--orange); }
.step-num span { position: relative; font: 800 1.75rem/1 var(--head); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: 92px; right: -24px; border-top: 2px dashed var(--ply); }
.step h3 { font-size: 1.5rem; font-weight: 720; line-height: 1.15; margin-bottom: 10px; }
.step p { color: var(--walnut-soft); max-width: 34ch; margin: 0; }

/* Areas */
.where { border-top: 1px solid var(--line); }
.where-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); }
.where-inner .section-head { margin: 0; }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 44px); }
.areas-base { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; font: 800 clamp(1.75rem, 3vw, 2.5rem)/1 var(--head); letter-spacing: -0.015em; padding-bottom: 22px; border-bottom: 2px solid var(--walnut); }
.areas-mark { width: 46px; height: 46px; }
.areas-group h3 { font: 650 1rem/1.2 var(--head); color: var(--orange-ink); margin-bottom: 12px; }
.areas-group ul { list-style: none; margin: 0; padding: 0; }
.areas-group li { padding: 5px 0; font-size: 1.0625rem; }
.areas-group a { text-decoration-color: var(--ply); }
.where--page { border: 0; padding-top: clamp(24px, 4vw, 48px); }

/* Reviews */
.said { background: var(--birch); }
.said .section-title { margin-bottom: clamp(32px, 4vw, 56px); }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 3vw, 48px); }
.review blockquote { margin: 0; font: 500 1.25rem/1.4 var(--head); }
.review-stars { display: flex; gap: 4px; margin-bottom: 14px; }
.review-stars svg { width: 17px; height: 17px; fill: var(--orange); }
.review-by { margin-top: 14px; color: var(--walnut-soft); font-size: .9875rem; }
.reviews-more { margin-top: 28px; }

/* Questions */
.asked-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faqs { border-top: 2px solid var(--walnut); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font: 650 1.1875rem/1.3 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; background: linear-gradient(var(--walnut), var(--walnut)) center / 14px 2.5px no-repeat, linear-gradient(var(--walnut), var(--walnut)) center / 2.5px 14px no-repeat; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--orange-ink); }
.faq-a { color: var(--walnut-soft); max-width: 62ch; padding: 0 40px 12px 0; }
.asked--page { padding-top: clamp(24px, 4vw, 48px); }
.asked--page .faqs { max-width: 880px; }

/* Quote form */
.quote { background: var(--walnut); color: var(--paper); padding-block: var(--section); }
.quote-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote .section-title { color: var(--paper); }
.quote-page .quote .section-title { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; }
.quote-text { font-size: clamp(1.125rem, 1.4vw, 1.25rem); color: rgba(252, 251, 248, .78); margin: 18px 0 0; max-width: 42ch; }
.quote-or { font: 650 1rem/1 var(--head); color: var(--orange-soft); margin: 34px 0 10px; }
.quote-contact { list-style: none; margin: 0; padding: 0; font: 650 1.25rem/1.6 var(--head); }
.quote-contact a { color: var(--paper); text-decoration-color: rgba(252, 251, 248, .35); }
.quote-contact a:hover { color: var(--orange-soft); }
.quote-hours { color: rgba(252, 251, 248, .65); margin-top: 10px; font-size: 1rem; }
.quote-caller { max-width: 38ch; margin: 22px 0 0; padding: 14px 16px; border-left: 3px solid var(--orange); background: rgba(252, 251, 248, .06); border-radius: 0 4px 4px 0; color: rgba(252, 251, 248, .85); font-size: 1rem; line-height: 1.5; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font: 600 1rem/1.25 var(--head); }
.field .opt { font: 400 .875rem var(--body); color: rgba(252, 251, 248, .6); margin-left: 4px; }
.field input, .field textarea { width: 100%; background: var(--paper); color: var(--walnut); border: 2px solid transparent; border-radius: 4px; padding: 13px 14px; font-size: 1.0625rem; line-height: 1.4; }
.field textarea { resize: vertical; min-height: 56px; }
.field input::placeholder, .field textarea::placeholder { color: #8C7B6D; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 85, 29, .35); }
.field.has-error input, .field.has-error textarea { border-color: var(--orange-soft); }
.field-error, .form-error { color: var(--orange-soft); font-weight: 600; font-size: .9375rem; margin: 0; }
.form-error { grid-column: 1 / -1; background: rgba(242, 85, 29, .14); padding: 12px 14px; border-radius: 4px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 8px; }
.form-foot .btn--primary:focus-visible { background: var(--paper); color: var(--walnut); }
.form-small { margin: 0; font-size: .9375rem; color: rgba(252, 251, 248, .65); }
.form-small a { color: inherit; }
.quote-form.is-sending .btn { opacity: .6; pointer-events: none; }
.quote-done { display: grid; grid-template-columns: 72px 1fr; gap: 22px; align-items: center; font: 600 clamp(1.25rem, 2vw, 1.6rem)/1.35 var(--head); }
.quote-done:focus { outline: none; }
.done-mark { width: 72px; height: 72px; }
.quote-done p { margin: 0; }
.quote-embed { background: var(--paper); border-radius: 6px; overflow: hidden; }
.quote-page-brand { padding-top: clamp(16px, 2.4vw, 28px); padding-bottom: clamp(16px, 2.4vw, 28px); }
.quote-page .quote { padding-top: clamp(48px, 7vw, 96px); }

/* Inner page openings */
.page-head { padding-top: clamp(16px, 2.4vw, 28px); padding-bottom: clamp(24px, 4vw, 48px); }
.page-head .brand { margin-bottom: clamp(48px, 9vw, 120px); }
.page-actions { margin-top: 28px; display: flex; gap: 12px 22px; flex-wrap: wrap; align-items: center; }
.prose { max-width: calc(68ch + 2 * var(--gutter)); margin-inline: 0; padding-bottom: var(--section); font-size: 1.1875rem; }
.prose p { max-width: 68ch; }

/* Item pages: big picture left, words right */
.item-head { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); min-height: max(600px, 88svh); }
.item-media { position: relative; background: var(--birch); }
.item-media .media-img, .item-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.item-copy { padding: clamp(20px, 2.4vw, 28px) var(--gutter) clamp(32px, 5vw, 64px) clamp(28px, 5vw, 72px); display: flex; flex-direction: column; }
.item-copy .brand { margin-bottom: auto; padding-bottom: 48px; }
.item-price { font: 800 clamp(1.75rem, 3vw, 2.5rem)/1 var(--head); color: var(--orange-ink); margin: 22px 0 6px; }
.item-note { color: var(--walnut-soft); margin: 0; }
.item-copy .hero-actions { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--walnut-deep); color: rgba(252, 251, 248, .78); padding: clamp(56px, 7vw, 96px) 0 28px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); }
.footer-brand .brand-mark { width: 52px; height: 52px; }
.footer-brand .brand-name { font-size: 1.7rem; }
.footer-tagline { font: 700 1.375rem/1.2 var(--head); color: var(--paper); margin: 26px 0 10px; }
.footer-text { max-width: 40ch; }
.footer-col h2 { font: 650 1rem/1.2 var(--head); color: var(--orange-soft); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a, .footer-base a { color: var(--paper); text-decoration-color: rgba(252, 251, 248, .3); }
.footer-col a:hover, .footer-base a:hover { color: var(--orange-soft); }
.footer-hours { margin-top: 12px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .9375rem; }
.footer-base p { margin: 0; }
.footer-social { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }

/* ---------- Dock and menu (no header bar) ---------- */
.dock { position: fixed; z-index: 40; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); display: flex; align-items: center; gap: 12px; }
.dock-cta { font: 650 1.0625rem/1 var(--head); background: var(--orange); color: var(--walnut); text-decoration: none; padding: 19px 30px; clip-path: var(--hex); transition: opacity .25s, transform .25s, background-color .15s; }
.dock-cta:hover { background: #ff6a33; color: var(--walnut); }
.dock-cta:focus-visible { outline: none; background: var(--walnut); color: var(--paper); text-decoration: underline; }
.view-quote .dock-cta, .dock.is-quiet .dock-cta { opacity: 0; transform: translateY(8px); pointer-events: none; }
.dock-menu { position: relative; width: 66px; height: 66px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; filter: drop-shadow(0 6px 16px rgba(31, 21, 16, .28)); }
.dock-hex { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--walnut); stroke: var(--paper); stroke-width: 3; transition: fill .15s; }
.dock-menu:hover .dock-hex { fill: #3f2d21; }
.dock-menu:focus-visible { outline: none; }
.dock-menu:focus-visible .dock-hex { stroke: var(--orange); stroke-width: 7; }
.dock-lines { position: relative; display: grid; gap: 5px; width: 24px; }
.dock-lines i { display: block; height: 2.5px; background: var(--paper); border-radius: 2px; }
.dock-lines i:nth-child(2) { width: 70%; justify-self: center; }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--walnut); color: var(--paper); overflow-y: auto; }
.menu-inner { min-height: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(16px, 2.4vw, 28px) var(--gutter) clamp(32px, 5vw, 56px); display: flex; flex-direction: column; }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(32px, 7vh, 80px); }
.menu-close { font: 650 1.0625rem/1 var(--head); color: var(--walnut); background: var(--paper); border: 0; padding: 15px 26px; clip-path: var(--hex); cursor: pointer; }
.menu-close:focus-visible { outline: none; background: var(--orange); }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a { display: inline-block; font: 750 clamp(2.25rem, 6.4vw, 4.75rem)/1.08 var(--head); letter-spacing: -0.02em; color: var(--paper); text-decoration: none; padding: 4px 0; }
.menu-links a:hover, .menu-links a:focus-visible { color: var(--orange); outline: none; }
.menu-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 5px; text-underline-offset: .14em; }
.menu-contact { margin-top: auto; padding-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; color: rgba(252, 251, 248, .7); }
.menu-contact ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font: 650 1.1875rem/1.4 var(--head); }
.menu-contact a { color: var(--paper); }
.menu-contact p { margin: 0; }
html.menu-open { overflow: hidden; }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: auto; max-width: min(1400px, 96vw); max-height: 94vh; background: transparent; color: var(--paper); overflow: visible; }
.lightbox::backdrop { background: rgba(31, 21, 16, .92); }
.lightbox img { max-width: 100%; max-height: calc(94vh - 72px); width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; }
.lightbox-cap { margin: 0; font: 600 1.0625rem/1.3 var(--head); }
.lightbox-tools { display: flex; gap: 8px; flex: none; }
.lightbox-tools button { font: 650 1rem/1 var(--head); background: var(--paper); color: var(--walnut); border: 0; border-radius: 3px; padding: 12px 16px; cursor: pointer; }
.lightbox-tools button:focus-visible { outline: 3px solid var(--orange); }

/* ---------- Smaller screens ---------- */
@media (max-width: 1000px) {
	.hero { display: flex; flex-direction: column; min-height: 0; }
	.ba { height: min(66svh, 640px); min-height: 380px; }
	.hero > .brand { position: absolute; z-index: 3; top: 14px; left: 14px; margin: 0; background: var(--paper); padding: 7px 12px 7px 8px; border-radius: 6px; }
	.hero > .brand .brand-mark { width: 36px; height: 36px; }
	.hero > .brand .brand-name { font-size: 1.2rem; }
	.hero > .brand .brand-town { font-size: .85rem; }
	.hero-card { align-self: stretch; padding: 28px var(--gutter) 12px; }
	.hero-text { max-width: 44ch; }
	.prices-inner, .where-inner, .asked-inner, .quote-inner { grid-template-columns: minmax(0, 1fr); }
	.prices-inner .section-head { position: static; }
	.steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 22px; }
	.step-num { grid-row: span 2; margin: 0; }
	.step:not(:last-child)::after { top: 84px; bottom: -28px; left: 35px; right: auto; border-top: 0; border-left: 2px dashed var(--ply); }
	.footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.footer-brand { grid-column: 1 / -1; }
	.item-head { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.item-media { height: 56svh; min-height: 320px; order: 2; }
	.item-copy { order: 1; padding: 20px var(--gutter) 36px; }
	.item-copy .brand { margin-bottom: 36px; padding: 0; }
}

@media (max-width: 760px) {
	body { font-size: 1.0625rem; }
	.ba-grip { width: 62px; height: 62px; }
	.ba-tag { top: auto; bottom: 16px; font-size: .875rem; }
	.work-grid { grid-template-columns: minmax(0, 1fr); }
	.work-item, .work-item:nth-child(4n+2), .work-item:nth-child(4n+3), .work-grid.is-filtered .work-item { grid-column: auto; }
	.work-media { height: auto; aspect-ratio: 4 / 3; }
	.view-home .work .work-item:nth-child(n+5) { display: none; }
	.price-list li { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; }
	.price-icon { width: 36px; height: 36px; }
	.areas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.quote-form { grid-template-columns: minmax(0, 1fr); }
	.field { grid-column: 1 / -1; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.dock { left: 12px; right: 12px; bottom: 12px; }
	.dock-cta { flex: 1; text-align: center; }
	.site-footer { padding-bottom: 104px; }
	.lightbox-bar { flex-direction: column; align-items: stretch; }
}

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

@media print {
	.dock, .menu, .ba-handle, .ba-range, .quote-form { display: none !important; }
}
