@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
/* Fraunces, fixed at SOFT 100 / WONK 0 and subset to Latin (OFL). */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-soft.woff2") format("woff2");
  font-weight: 300 500;
  font-display: swap;
}

:root {
  --paper: #f8f6f2;
  --surface: #efebe4;
  --ink: #2b2825;
  --ink-soft: #6f6963;
  --rule: #e2dcd2;
  --field: #cfc8bc;
  --accent: #8c6b57;
  --accent-dark: #6f5242;
  --radius: 6px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --gutter: clamp(20px, 5vw, 80px);
  --space: clamp(4.5rem, 10vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
figure { margin: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 350; letter-spacing: -0.01em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 5vw, 4.25rem); font-weight: 300; line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; max-width: 32em; margin: 1.25rem 0 0; color: var(--ink-soft); }
.eyebrow { margin: 0 0 1.25rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.5em 1em; z-index: 20; }
.skip:focus { left: 0; color: var(--paper); }
.draft-bar { margin: 0; padding: 0.3em var(--gutter); background: #ece3cc; color: var(--ink); font-size: 0.8125rem; text-align: center; }

/* Review notes (draft builds only, see static/feedback.js) */
.draft-bar { position: sticky; top: 0; z-index: 30; }
.fb-btn { font: inherit; font-weight: 600; padding: 0.15em 0.8em; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); cursor: pointer; }
.fb-link { font: inherit; padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; }
.fb-picking, .fb-picking * { cursor: crosshair !important; }
.fb-hover, .fb-target { outline: 2px dashed var(--accent) !important; outline-offset: 2px; }
.fb-form { position: fixed; z-index: 40; right: 16px; bottom: 16px; width: min(380px, calc(100vw - 32px)); display: grid; gap: 0.6rem; padding: 1rem; border-radius: 10px; background: #fff; color: var(--ink); font-size: 0.9375rem; box-shadow: 0 10px 34px rgb(43 40 37 / 0.22); }
.fb-form input, .fb-form textarea { font: inherit; width: 100%; padding: 0.4em 0.55em; border: 1px solid var(--field); border-radius: var(--radius); }
.fb-about { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fb-actions { display: flex; gap: 1rem; align-items: center; }
.fb-status { margin: 0; color: var(--ink-soft); font-size: 0.875rem; }
.fb-status:empty { display: none; }
.fb-list { max-height: 50vh; overflow: auto; padding: 0.75rem var(--gutter); background: #f4eedf; font-size: 0.875rem; }
.fb-item { padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
.fb-item p { margin: 0.25rem 0 0; white-space: pre-wrap; }

/* Header */
.site-header { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); padding: 1.5rem var(--gutter); }
.logo { display: block; flex: none; width: clamp(160px, 14vw, 196px); margin-right: auto; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { display: block; width: 100%; height: auto; }
.nav-wide { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); }
.site-header nav a { text-decoration: none; color: var(--ink-soft); }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
.site-header nav a[aria-current] { text-decoration: underline; text-underline-offset: 0.45em; }
.header-phone { font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { cursor: pointer; list-style: none; padding: 0.35rem 0.95rem; border: 1px solid var(--field); border-radius: 999px; font-size: 0.9375rem; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu nav { position: absolute; right: 0; top: 100%; z-index: 10; display: grid; gap: 0.6rem; min-width: 11rem; margin-top: 0.6rem; padding: 1rem 1.25rem; border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgb(43 40 37 / 0.14); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 2.25rem 0 0; }

/* Before and after */
.hero-ba { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.hero-ba-copy h1 { max-width: 10em; font-size: clamp(2.375rem, 4.2vw, 3.75rem); }

.compare { position: relative; overflow: hidden; aspect-ratio: var(--ratio, 3 / 2); border-radius: var(--radius); background: var(--surface); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 6px rgb(0 0 0 / 0.35); pointer-events: none; }
.compare-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; translate: -50% -50%; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2825' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 2px 10px rgb(0 0 0 / 0.3); transition: scale 0.15s; }
.compare.is-dragging .compare-handle::after { scale: 1.08; }
.compare-tag-before, .compare-tag-after { pointer-events: none; }
.compare .compare-tag-after { left: auto; right: 12px; }
.compare-range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.compare:has(.compare-range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.compare-hint { margin: 0.75rem 0 0; color: var(--ink-soft); font-size: 0.9375rem; }
.compare-hint strong { color: var(--ink); font-weight: 500; }

.ba-tag { position: absolute; left: 12px; top: 12px; margin: 0; padding: 0.25em 0.85em; border-radius: 999px; background: rgb(248 246 242 / 0.92); color: var(--ink); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.ba-tag-after { background: var(--ink); color: var(--paper); }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.button { display: inline-block; padding: 0.8em 1.6em; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; transition: background 0.2s; }
.button:hover { background: var(--accent-dark); color: var(--paper); }
.text-link { font-weight: 500; }

/* Sections */
.section { padding: var(--space) var(--gutter); }
.section-compact { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-tint { background: var(--surface); }
.section-title { margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 2rem; }
.page-head { padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter) clamp(2rem, 4vw, 3.5rem); }
.page-head + .section { padding-top: clamp(1rem, 3vw, 2.5rem); }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.service-tile { display: block; text-decoration: none; }
.service-tile:hover { color: inherit; }
.service-tile:hover h3 { color: var(--accent-dark); }
.service-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.1rem; transition: opacity 0.2s; }
.service-tile:hover img { opacity: 0.9; }
.service-tile p { margin: 0.35rem 0 0; color: var(--ink-soft); font-size: 0.96875rem; }

.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.work-main { grid-column: 1 / -1; }
.work img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.work img.top { object-position: 50% 15%; }
.work-main img { aspect-ratio: 2.6; object-position: 50% 25%; }
figcaption { font-size: 0.9375rem; color: var(--ink-soft); margin-top: 0.7rem; }

.reviews-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.reviews-band p { margin: 1rem 0 0; color: var(--ink-soft); }
.widget-slot { display: grid; place-items: center; min-height: 140px; padding: 1.5rem; border-radius: 10px; background: #fff; }
.widget-note { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; text-align: center; }
.widget-slot:has(.ct-reviews-score__wrapper) .widget-note { display: none; }
.widget-slot.is-placeholder { border: 1px dashed var(--field); background: transparent; color: var(--ink-soft); font-size: 0.9375rem; text-align: center; }

.review-us { margin-top: var(--space); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule); }
.review-us h2 { font-size: 1.5rem; }
.review-us p { margin: 0.5rem 0 1.25rem; color: var(--ink-soft); }
.review-us #chktrade_widget { margin: 0 !important; }
.review-us #chktrade_widget a { box-shadow: 0 0 0 1px var(--field); }

.closing { max-width: 40rem; margin: 0 auto; text-align: center; }
.closing p { margin: 1rem 0 0; color: var(--ink-soft); }
.closing .actions { justify-content: center; }

.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.two-up h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.two-up p { margin: 0; }
.two-up .about-copy p + p { margin-top: 1rem; }


.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.gallery img.whole { object-fit: contain; background: var(--surface); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 7vw, 7rem); }
form label { display: block; font-size: 0.9375rem; font-weight: 500; margin: 1.25rem 0 0.4rem; }
form label:first-child { margin-top: 0; }
input, select, textarea { width: 100%; padding: 0.75em 0.9em; font: inherit; color: inherit; background: #fff; border: 1px solid var(--field); border-radius: var(--radius); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgb(140 107 87 / 0.18); }
form .button { margin-top: 0.5rem; }
.form-note { font-size: 0.9375rem; color: var(--ink-soft); }
.form-status { font-weight: 500; min-height: 1.6em; }
aside h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
aside h2:not(:first-child) { margin-top: 2.5rem; }
aside p { margin: 0 0 0.25rem; }
.contact-big { font-size: clamp(1.125rem, 1.8vw, 1.375rem); overflow-wrap: anywhere; }
.prose { max-width: 46em; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 0.5em; }
.prose h2:first-of-type { margin-top: 0; }

/* Footer */
.site-footer { padding: 0 var(--gutter) 2.5rem; color: var(--ink-soft); font-size: 0.9375rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2rem clamp(2rem, 6vw, 6rem); padding: 3rem 0 2rem; border-top: 1px solid var(--rule); }
.site-footer .logo { width: 150px; }
.footer-top p { margin: 0; }
.legal { margin: 0; font-size: 0.8125rem; max-width: 62em; }

@media (max-width: 960px) {
  .nav-wide { display: none; }
  .nav-menu { display: block; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .reviews-band, .ba-grid { grid-template-columns: minmax(0, 1fr); }
  .service-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-up, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .work-main img { aspect-ratio: 3 / 2; }
  .hero-ba { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .header-phone { display: none; }
  .service-tile img { aspect-ratio: 1; }
  .work { grid-template-columns: minmax(0, 1fr); }
  .button { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .service-tile img { transition: none; }
}
