@font-face { font-family: "Young Serif"; src: url("fonts/young-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url("fonts/commissioner.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
    --lichen: #e6e9dc;
    --lichen-deep: #d6dbc6;
    --paper: #fafaf6;
    --walnut: #35251a;
    --walnut-soft: #5d4a3b;
    --ebony: #231c16;
    --ebony-text: #ece6d8;
    --leaf: #587a26;
    --leaf-dark: #46621d;
    --larch: #c49a5c;
    --rule: #c3c8b2;
    --serif: "Young Serif", Georgia, serif;
    --sans: "Commissioner", "Segoe UI", system-ui, sans-serif;
    --max-width: 1200px;
    --r-sm: 4px;
    --r-md: 8px;
    --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--lichen); color: var(--walnut); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--leaf-dark); }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.1; }
h3 { font-family: var(--sans); font-size: 1.2rem; font-weight: 650; line-height: 1.3; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--larch); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--paper); padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
body.is-locked { overflow: hidden; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border-radius: var(--r-sm); border: 1px solid transparent; font-family: inherit; font-size: 1rem; font-weight: 650; text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn-call { background: var(--leaf); color: #fff; }
.btn-call:hover { background: var(--leaf-dark); color: #fff; }
.btn-quiet { background: transparent; color: var(--walnut); border-color: var(--walnut); }
.btn-quiet:hover { background: var(--walnut); color: var(--paper); }

/* top bar + header */
.topbar { background: var(--walnut); color: #e9e2d3; font-size: .875rem; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar p { margin: 0; }
.topbar-phones { display: flex; gap: 22px; }
.topbar a { text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--lichen); border-bottom: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--rule); background: rgba(230, 233, 220, .97); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 32px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; }
.brand-sub { font-size: .8rem; color: var(--walnut-soft); }
.site-nav { display: flex; gap: 22px; }
.site-nav a { text-decoration: none; font-size: .95rem; font-weight: 550; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--larch); color: var(--walnut); }
.nav-toggle { display: none; font-family: inherit; font-size: 1rem; font-weight: 600; background: transparent; color: var(--walnut); border: 1px solid var(--walnut); border-radius: var(--r-sm); min-height: 44px; padding: 8px 14px; cursor: pointer; }

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; max-width: 14ch; }
.lede { font-size: 1.125rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.planks { display: flex; gap: 6px; margin-top: clamp(36px, 5vw, 64px); height: clamp(340px, 58vh, 600px); padding: 0 6px; background: var(--lichen); }
.plank { position: relative; margin: 0; overflow: hidden; border-radius: 2px; min-width: 0; }
.plank img { width: 100%; height: 100%; object-fit: cover; }
.plank figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; color: #fff; font-size: .8rem; font-weight: 600; line-height: 1.3; text-shadow: 0 1px 3px rgba(0, 0, 0, .75); }
.plank-a { flex: 1.1 1 0; } .plank-a img { object-position: 50% 70%; }
.plank-b { flex: 2.6 1 0; } .plank-b img { object-position: 50% 92%; }
.plank-c { flex: 0.8 1 0; }
.plank-d { flex: 1.4 1 0; }
.plank-e { flex: 0.9 1 0; }
/* stain board (the spice) */
.colours { margin-top: clamp(64px, 9vw, 120px); background: var(--ebony); color: var(--ebony-text); padding: clamp(56px, 8vw, 104px) 0; }
.colours a { color: #fff; }
.colours-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.colours-copy p { color: #cfc6b4; max-width: 42ch; }
.swatches { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; border-top: 1px solid #4a3d31; }
.swatch { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 8px 6px; background: transparent; color: var(--ebony-text); border: 0; border-bottom: 1px solid #4a3d31; font-family: inherit; font-size: 1rem; font-weight: 500; text-align: left; cursor: pointer; transition: background-color .15s ease; }
.swatch:hover { background: #2f261f; }
.swatch[aria-checked="true"] { font-weight: 700; color: #fff; }
.swatch[aria-checked="true"] .chip { outline: 2px solid var(--larch); outline-offset: 2px; }
.chip { width: 30px; height: 30px; flex: none; border-radius: 3px; background-size: cover; background-position: center; }
.chip-raw { background-image: url("img/sample-board-raw.jpg"); }
.chip-larch { background-image: url("img/photos/natural-larch-hardwood-floor.jpg"); }
.chip-walnut { background-image: url("img/photos/white-walnut-stained-hardwood-floor.jpg"); }
.chip-oak { background-image: url("img/photos/stained-oak-hardwood-floor.jpg"); }
.chip-fir { background-image: url("img/photos/medium-brown-stained-fir-floor.jpg"); }
.chip-ebony { background-image: url("img/photos/antique-ebony-stained-floor.jpg"); }
.colours-stage { min-width: 0; }
.board { position: relative; aspect-ratio: 1600 / 444; overflow: hidden; border-radius: 2px; box-shadow: 0 2px 0 #120e0b, 0 18px 40px rgba(0, 0, 0, .45); }
.board-wood { width: 100%; height: 100%; object-fit: cover; }
.coat { position: absolute; inset: 0; background: var(--coat, transparent); opacity: var(--op, 0); mix-blend-mode: var(--blend, multiply); pointer-events: none; }
.coat-over { clip-path: inset(0 100% 0 0); }
.rag { position: absolute; top: -10%; left: 0; width: 9%; height: 120%; background: #efe6d2; border-radius: 46% 38% 42% 50%; box-shadow: inset -6px 0 10px rgba(120, 96, 60, .35), 0 6px 16px rgba(0, 0, 0, .4); opacity: 0; transform: translateX(-100%) rotate(-4deg); pointer-events: none; }
.board-label { margin: 14px 0 0; font-family: var(--serif); font-size: 1.35rem; color: #fff; }
.from-job { margin: 28px 0 0; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: end; }
.from-job-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.from-job-cap { font-size: .95rem; color: #cfc6b4; }

/* section heads */
.section-head { max-width: 640px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--walnut-soft); margin: 0; }

/* services */
.services { padding: clamp(64px, 9vw, 120px) 0; }
.services-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.service-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.service-list p { margin: 0; color: var(--walnut-soft); }

/* work */
.work { padding: 0 0 clamp(64px, 9vw, 120px); }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 6px; }
.job { position: relative; padding: 0; margin: 0; border: 0; background: var(--lichen-deep); cursor: zoom-in; overflow: hidden; border-radius: 2px; font-family: inherit; }
.job img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.job:hover img { transform: scale(1.03); }
.job-tall { grid-row: span 2; }
.job-wide { grid-column: span 2; }

/* about */
.about { background: var(--paper); padding: clamp(64px, 9vw, 120px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; }
.about-photo figcaption { font-size: .875rem; color: var(--walnut-soft); margin-top: 8px; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { max-width: 54ch; }
.about-call { font-weight: 650; margin-top: 24px; }

/* reviews */
.reviews { padding: clamp(64px, 9vw, 120px) 0; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.quote { margin: 0; padding: 22px 0; border-top: 1px solid var(--rule); }
.quote blockquote { margin: 0; }
.quote p { margin: 0 0 10px; font-size: 1.05rem; }
.quote figcaption { font-size: .875rem; font-weight: 600; color: var(--walnut-soft); }
.quote-lead { grid-column: 1 / span 2; grid-row: span 2; padding-bottom: 32px; }
.quote-wide { grid-column: span 2; }
.quote-lead p { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.38; max-width: 36ch; }
.services-photo { margin: 28px 0 0; }
.services-photo img { width: 100%; max-width: 380px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; }
.services-photo figcaption { font-size: .875rem; color: var(--walnut-soft); margin-top: 8px; }
/* faq */
.faq { padding: 0 0 clamp(64px, 9vw, 120px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 650; font-size: 1.08rem; transition: color .2s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--walnut), var(--walnut)) center / 14px 2px no-repeat, linear-gradient(var(--walnut), var(--walnut)) center / 2px 14px no-repeat; transition: transform .3s ease; }
.faq-item.is-open summary { color: var(--leaf-dark); }
.faq-item.is-open summary::after { transform: rotate(45deg); }
.faq-answer { overflow: hidden; margin: 0; padding: 0 0 24px; max-width: 62ch; color: var(--walnut-soft); }

/* contact */
.contact { background: var(--lichen-deep); padding: clamp(64px, 9vw, 120px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-copy h2 { margin-bottom: 14px; }
.contact-lines { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.contact-lines li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.contact-lines span { color: var(--walnut-soft); font-size: .9rem; }
.contact-lines a { font-weight: 650; }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: var(--paper); padding: clamp(20px, 3vw, 32px); border-radius: var(--r-md); border: 1px solid var(--rule); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 650; }
.field input, .field select, .field textarea { font-family: inherit; font-size: 1rem; color: var(--walnut); background: #fff; border: 1px solid #b4b9a3; border-radius: var(--r-sm); padding: 10px 12px; min-height: 46px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--larch); outline-offset: 1px; border-color: var(--walnut); }
.field .is-invalid { border-color: #9c3a1e; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin: 0; font-size: .95rem; font-weight: 600; }
.form-note { margin: 0; font-size: .85rem; color: var(--walnut-soft); }

/* footer */
.site-footer { background: var(--ebony); color: #d8d0bf; padding: 48px 0 96px; font-size: .95rem; }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: #fff; }
.site-footer a { color: #fff; }
.footer-meta { line-height: 1.9; margin: 0; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(20, 16, 12, .95); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb-img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; }
.lb-cap { color: #e8e1d2; font-size: .95rem; text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #6d6153; background: #2a221c; color: #fff; cursor: pointer; display: grid; place-items: center; font-family: inherit; }
.lb-btn:hover { background: #3b3027; }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 14px; right: 14px; }

/* draft bar */
.draft-bar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 6px 24px rgba(30, 30, 30, 0.2); font-size: 0.9rem; white-space: nowrap; }
.draft-bar p { margin: 0; }
.draft-btn { background: var(--walnut); color: #fff; text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: var(--r-sm); }
.draft-btn:hover { background: #000; color: #fff; }

@media (max-width: 1080px) {
    .site-nav { gap: 16px; }
    .site-nav a:nth-child(n+5) { display: none; }
}
@media (max-width: 900px) {
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--lichen); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px; }
    .site-nav.is-open { display: flex; }
    .site-nav a, .site-nav a:nth-child(n+5) { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
    .nav-toggle { display: inline-flex; align-items: center; }
    .header-call { display: none; }
    .hero-grid, .colours-grid, .services-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
    .planks { height: 380px; }
    .colours-grid { display: flex; flex-direction: column; gap: 0; }
    .colours-copy, .colours-stage { display: contents; }
    .colours-copy h2 { order: 1; margin-bottom: 12px; }
    .colours-copy p { order: 2; }
    .board { order: 3; margin-top: 8px; }
    .board-label { order: 4; }
    .swatches { order: 5; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; margin-top: 16px; }
    .from-job { order: 6; }
    .from-job-img { max-height: 280px; }
    .plank-d, .plank-e { display: none; }
    .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
    .quotes { grid-template-columns: 1fr; }
    .quote-lead, .quote-wide { grid-column: auto; grid-row: auto; }
    .services-photo { display: none; }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    .topbar-row { justify-content: center; }
    .topbar-row > p:first-child { display: none; }
    .header-row { min-height: 64px; }
    .brand-name { font-size: 1.1rem; }
    .planks { height: 320px; gap: 4px; padding: 0 4px; }
    .plank-a { display: none; }
    .plank-b { flex: 2.2 1 0; }
    .service-list li { grid-template-columns: 1fr; gap: 6px; }
    .from-job { grid-template-columns: 1fr; gap: 10px; }
    .quote-form { grid-template-columns: 1fr; }
    .rag { width: 14%; }
    .draft-bar { left: 8px; right: 8px; bottom: 8px; transform: none; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 12px; font-size: 0.8rem; white-space: normal; }
    .draft-btn { padding: 7px 10px; white-space: nowrap; }
    .lightbox { padding: 56px 12px 80px; }
    .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
    .lb-prev { left: calc(50% - 60px); }
    .lb-next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .rag { display: none; }
}