/* Dixon Bathrooms: olive and ivory split hard, signwritten capitals, blueprint drawings. */
@font-face { font-family: "League Gothic"; src: url("/fonts/league-gothic.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Google Sans Flex"; src: url("/fonts/google-sans-flex.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --ivory: #f5f2eb;
  --stone: #e7e2d8;
  --stone-deep: #d9d3c6;
  --ink: #242522;
  --ink-soft: #4a4b45;
  --olive: #5c6239;
  --olive-dark: #474c2d;
  --olive-deeper: #3b3f25;
  --olive-logo: #a0a65c;
  --line: #e9ebd3;
  --line-acc: #d3d98f;
  --head: "League Gothic", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, Impact, sans-serif;
  --body: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(20px, 5vw, 56px);
  --hd-h: 60px;
  --bar-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 12px); }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); padding-bottom: var(--bar-h); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--olive-logo); outline-offset: 3px; }
.vh { 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: var(--ivory); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { padding-inline: var(--pad); max-width: 1240px; margin-inline: auto; }

/* type */
.poster { font-family: var(--head); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .9; font-size: clamp(3.1rem, 13.5vw, 7.4rem); text-wrap: balance; }
.poster.sm { font-size: clamp(2.2rem, 9vw, 3.8rem); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 14px; }
.eyebrow a { text-decoration: none; }
.lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 36em; margin-top: 18px; }
.prose p { max-width: 38em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn-solid { background: var(--olive-dark); color: var(--ivory); }
.btn-solid:hover { background: var(--olive-deeper); }
.btn-line { border-color: var(--olive-dark); color: var(--olive-dark); }
.btn-line:hover { background: var(--olive-dark); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--olive-dark); }
.btn-light:hover { background: #fff; }
.btn-line-light { border-color: var(--line); color: var(--ivory); }
.btn-line-light:hover { background: var(--ivory); color: var(--olive-dark); }
.link-light { color: var(--ivory); font-weight: 600; text-underline-offset: 5px; text-decoration-color: var(--olive-logo); }
.link-light::after { content: " →"; }

/* the fluted line: their vanity front, used as a rule */
.fluted, .hd::after, .ft::before { background: repeating-linear-gradient(90deg, transparent 0 5px, currentColor 5px 6px); }

/* header */
.hd { position: sticky; top: 0; z-index: 40; height: var(--hd-h); display: flex; align-items: center; gap: 12px; padding-inline: var(--pad); background: var(--ivory); color: var(--ink); transition: height .3s var(--ease), box-shadow .3s; }
.hd::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; color: rgba(71, 76, 45, .22); opacity: 0; transition: opacity .3s; }
.hd.is-scrolled { --hd-h: 52px; box-shadow: 0 1px 0 rgba(36, 37, 34, .08); }
.hd.is-scrolled::after { opacity: 1; }
.hd-logo { display: block; flex: none; }
.hd-logo img { width: auto; height: 44px; transition: height .3s var(--ease); }
.hd.is-scrolled .hd-logo img { height: 38px; }
.hd-nav { margin-left: auto; }
.hd-nav ul { list-style: none; display: flex; gap: 4px; }
.hd-nav a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.hd-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--olive-logo); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.hd-nav-q a { background: var(--olive-dark); color: var(--ivory); }
.hd-call { font-weight: 600; text-decoration: none; padding: 10px 0 10px 12px; white-space: nowrap; }
.hd-menu { display: none; border: 0; background: transparent; padding: 10px 4px 10px 12px; font-weight: 600; cursor: pointer; }
@media (max-width: 899px) {
  .hd-call { display: none; }
  .hd-menu { display: block; margin-left: auto; }
  .hd-nav { position: fixed; inset: var(--hd-h) 0 auto 0; background: var(--ivory); padding: 8px var(--pad) 20px; box-shadow: 0 20px 30px rgba(36, 37, 34, .12); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease); }
  .hd.menu-open .hd-nav { transform: none; opacity: 1; visibility: visible; }
  .hd-nav ul { flex-direction: column; }
  .hd-nav a { padding: 14px 0; font-family: var(--head); font-size: 2.2rem; text-transform: uppercase; line-height: 1; }
  .hd-nav-q a { display: inline-block; padding: 14px 18px; margin-top: 8px; }
  .hd-nav ul { flex-wrap: wrap; }
}

/* fixed call bar (phone) */
.callbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: var(--bar-h); display: grid; grid-template-columns: 1.5fr 1fr; background: var(--olive-dark); color: var(--ivory); padding-bottom: env(safe-area-inset-bottom); transition: transform .35s var(--ease); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; }
.cb-call span { font-family: var(--head); text-transform: uppercase; font-size: 1.45rem; font-weight: 400; letter-spacing: .02em; }
.cb-quote { background: var(--ivory); color: var(--olive-dark); border-top: 2px solid var(--olive-dark); }
.callbar.is-low .cb-quote { background: var(--olive-logo); color: var(--ink); border-color: var(--olive-logo); }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .callbar { left: auto; right: 24px; bottom: 24px; width: 360px; height: 56px; box-shadow: 0 12px 30px rgba(36, 37, 34, .25); transform: translateY(140%); }
  .callbar.is-on { transform: none; }
}

/* HERO: the steamed screen */
.hero { display: grid; background: var(--olive-dark); color: var(--ivory); }
.hero-glass { position: relative; height: 44svh; min-height: 300px; overflow: hidden; background: var(--stone); touch-action: pan-y; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.steam { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; cursor: grab; }
.steam.is-ready { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-glass::after { content: ""; position: absolute; inset: 0; background: rgba(238, 238, 231, .62); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: opacity .6s; pointer-events: none; }
  .hero-glass.steam-on::after { opacity: 0; }
}
.wipe-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; padding: 8px 14px; background: rgba(36, 37, 34, .55); color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .6s; pointer-events: none; white-space: nowrap; }
.wipe-hint.is-on { opacity: 1; }
.hero-copy { padding: 20px var(--pad) 28px; }
.hero .eyebrow { color: var(--line-acc); }
.hero h1 { font-family: var(--head); font-weight: 400; text-transform: uppercase; line-height: .88; }
.h1-big { display: block; font-size: clamp(3.6rem, 15.5vw, 9.6rem); color: var(--ivory); }
.h1-sub { display: block; margin-top: 8px; font-size: clamp(1.7rem, 7.2vw, 3.2rem); line-height: .95; color: var(--olive-logo); }
.hero-p { color: #dcdec8; margin: 14px 0 18px; font-size: 1rem; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--hd-h)); }
  .hero-glass { order: 2; height: auto; min-height: 0; }
  .hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: 48px var(--pad) 64px; }
}

/* sections */
section { padding-block: clamp(56px, 10vw, 120px); }
.hero, .svc-hero { padding-block: 0; }
.bp { background-color: var(--olive-dark); color: var(--ivory); background-image: linear-gradient(rgba(233, 235, 211, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 235, 211, .055) 1px, transparent 1px); background-size: 28px 28px; }
.bp .eyebrow { color: var(--line-acc); }
.bp .lead, .bp p { color: #dcdec8; }
.bp a:not(.btn) { color: var(--ivory); }

/* rows that swipe, with the next card showing */
.row { list-style: none; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px var(--pad) 8px; scroll-padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--olive-logo) transparent; }
.row > li { flex: 0 0 76%; scroll-snap-align: start; }
.row figure { margin: 0; }
.row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.row figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 10px; }
.row-more a { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 100%; min-height: 220px; padding: 22px; background: var(--olive-dark); color: var(--ivory); text-decoration: none; }
.row-more .poster { font-size: 2.6rem; }
.row-more .poster::after { content: " →"; }
@media (min-width: 900px) { .row > li { flex-basis: 30%; } .row { max-width: 1240px; margin-inline: auto; } }

/* the twelve things */
.must { padding-bottom: 40px; }
.mh { display: grid; gap: 0; margin-top: 28px; }
.mh-photo { margin: 0; }
.mh-pic { position: relative; overflow: hidden; }
.mh-photo img { width: 100%; height: auto; }
.mh-photo figcaption { font-size: .85rem; color: var(--ink-soft); padding: 10px var(--pad) 0; }
.mh-dot { display: none; position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid var(--ivory); background: rgba(71, 76, 45, .82); color: var(--ivory); font: 600 .8rem/1 var(--body); cursor: pointer; padding: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); transition: transform .2s var(--ease), background .2s; }
.js .mh-dot { display: grid; place-items: center; }
.mh-dot::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
.mh-dot.is-active { transform: scale(1.22); background: var(--ivory); color: var(--olive-dark); }
.mh-dot.is-kept { background: var(--olive-logo); color: var(--ink); }
.mh-dot.is-kept.is-active { background: var(--ivory); }
@media (prefers-reduced-motion: no-preference) {
  .mh-dot:not(.is-kept)::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--ivory); animation: ping 2.8s var(--ease) infinite; animation-delay: calc(var(--i, 0) * .2s); }
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 60%, 100% { transform: scale(1.9); opacity: 0; } }
.d1 { left: 29%; top: 22.5%; --i: 1; } .d2 { left: 81%; top: 41%; --i: 2; } .d3 { left: 71.5%; top: 58%; --i: 3; } .d4 { left: 93%; top: 73%; --i: 4; }
.d5 { left: 72%; top: 82%; --i: 5; } .d6 { left: 90%; top: 92%; --i: 6; } .d7 { left: 50%; top: 60%; --i: 7; } .d8 { left: 6%; top: 72%; --i: 8; }
.d9 { left: 20%; top: 52%; --i: 9; } .d10 { left: 45%; top: 38%; --i: 10; } .d11 { left: 33%; top: 78%; --i: 11; } .d12 { left: 37.5%; top: 89%; --i: 12; }
.mh-side { min-width: 0; }
.mh-cards { list-style: none; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px var(--pad) 10px; scroll-padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--olive-logo) transparent; }
.mh-card { flex: 0 0 80%; scroll-snap-align: start; background: #fff; border-top: 6px solid var(--olive-dark); padding: 18px 18px 16px; display: flex; flex-direction: column; transition: border-color .25s; }
.mh-card.is-active { border-top-color: var(--olive-logo); }
.mh-card h3 { font-family: var(--head); font-weight: 400; text-transform: uppercase; font-size: 2rem; line-height: .95; margin-bottom: 8px; }
.mh-card p { font-size: .98rem; color: var(--ink-soft); margin-bottom: 12px; }
.mh-n { font-family: var(--head); font-size: 1.1rem; color: var(--olive); margin-bottom: 4px !important; letter-spacing: .06em; }
.mh-add { margin-top: auto; align-self: flex-start; min-height: 44px; padding: 0 16px; border: 2px solid var(--olive-dark); background: transparent; color: var(--olive-dark); font-weight: 600; cursor: pointer; }
.mh-add-on { display: none; }
.mh-add[aria-pressed="true"] { background: var(--olive-dark); color: var(--ivory); }
.mh-add[aria-pressed="true"] .mh-add-on { display: inline; }
.mh-add[aria-pressed="true"] .mh-add-off { display: none; }
.mh-add[aria-pressed="true"] .mh-add-on::before { content: "✓ "; }
.mh-bar { margin: 10px var(--pad) 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; background: var(--stone); }
.mh-bar p { margin: 0; font-weight: 600; white-space: nowrap; }
.mh-bar .btn { min-height: 44px; padding: 0 14px; font-size: .92rem; }
@media (min-width: 900px) {
  .mh { grid-template-columns: 56fr 44fr; max-width: 1240px; margin: 36px auto 0; padding-inline: var(--pad); gap: 40px; align-items: start; }
  .mh-photo figcaption { padding-inline: 0; }
  .mh-cards { padding-inline: 0; scroll-padding-inline: 0; }
  .mh-card { flex-basis: 88%; }
  .mh-bar { margin-inline: 0; }
}

/* work */
.work { padding-bottom: 40px; }

/* licence / blueprint */
.lic-grid { display: grid; gap: 28px; }
.lic-copy p { max-width: 30em; margin-top: 18px; }
@media (min-width: 900px) { .lic-grid { grid-template-columns: 4fr 6fr; gap: 56px; align-items: center; } }
.svc-row { padding-top: 36px; }
.svc-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.svc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stone); }
.svc-t { font-family: var(--head); font-size: 2rem; text-transform: uppercase; line-height: 1; margin-top: 14px; }
.svc-t::after { content: " →"; color: var(--olive-logo); }
.svc-d { font-size: .95rem; margin-top: 6px; opacity: .85; }
.bp .svc-card { color: var(--ivory); }

/* drawings */
.bp-fig { position: relative; margin: 0; }
.bp-svg { width: 100%; height: auto; display: block; overflow: visible; }
.bp-svg text { font-family: var(--body); fill: var(--line); }
.bp-svg .ln, .bp-svg .ln-t, .bp-svg .cut, .bp-svg .tile, .bp-svg .bed, .bp-svg .sheet, .bp-svg .stud, .bp-svg .ex, .bp-svg .wall, .bp-svg .pocket, .bp-svg .niche, .bp-svg .tb rect, .bp-svg .tb path, .bp-svg .sec-mark circle, .bp-svg .sec-mark path { stroke: var(--line); fill: none; stroke-linejoin: round; stroke-linecap: round; }
.bp-svg .ln { stroke-width: 1.8; }
.bp-svg .ln-t { stroke-width: 1; opacity: .8; }
.bp-svg .cut { stroke-width: 1.4; }
.bp-svg .hatch { stroke: var(--line); stroke-width: .8; opacity: .5; }
.bp-svg .stip { fill: var(--line); opacity: .55; }
.bp-svg .stip-l { fill: none; stroke: var(--line); stroke-width: .6; opacity: .5; }
.bp-svg .mem-h { stroke: var(--line-acc); stroke-width: 1; opacity: .5; }
.bp-svg .memb { stroke: var(--line-acc); stroke-width: 3.2; fill: none; stroke-linecap: round; }
.bp-svg .ln-acc { stroke: var(--line-acc); stroke-width: 2; fill: none; }
.bp-svg .sheet { stroke-width: 1; fill: rgba(233, 235, 211, .08); }
.bp-svg .bed { stroke-width: .8; stroke-dasharray: 3 3; fill: rgba(233, 235, 211, .05); }
.bp-svg .tile { stroke-width: 1.2; fill: rgba(233, 235, 211, .13); }
.bp-svg .grid { stroke: var(--line); stroke-width: .8; stroke-dasharray: 18 5 3 5; opacity: .35; fill: none; }
.bp-svg .dim { stroke: var(--line); stroke-width: 1; fill: none; }
.bp-svg .dim-ar { fill: var(--line); }
.bp-svg .ld { stroke: var(--line); stroke-width: 1; fill: none; opacity: .8; }
.bp-svg .ld-dot { fill: var(--line); }
.bp-svg .bub circle { fill: var(--olive-dark); stroke: var(--line-acc); stroke-width: 1.6; }
.bp-svg .bub text { font-family: var(--head); font-size: 20px; fill: var(--line-acc); }
.bp-svg .lbl { font-size: 15px; letter-spacing: .08em; font-weight: 600; opacity: .9; }
.bp-svg .lbl.acc { fill: var(--line-acc); }
.bp-svg .tb rect, .bp-svg .tb path { stroke-width: 1; }
.bp-svg .tb-t { font-family: var(--head); font-size: 15px; letter-spacing: .05em; }
.bp-svg .tb-s { font-size: 10px; letter-spacing: .12em; opacity: .7; }
.bp-svg .sec-mark circle, .bp-svg .sec-mark path { stroke-width: 1.4; }
.bp-svg .sec-mark text { font-family: var(--head); font-size: 17px; }
.bp-svg .sec-mark .small { font-size: 12px; }
.bp-svg .stud { stroke-width: 1; opacity: .7; }
.bp-svg .ex { stroke-width: 1.3; stroke-dasharray: 7 5; opacity: .85; }
.bp-svg .ex-f { opacity: .45; }
.bp-svg .pipe-c { stroke: var(--line); stroke-width: 2.6; fill: none; stroke-linejoin: round; }
.bp-svg .pipe-h { stroke: var(--line-acc); stroke-width: 2.6; fill: none; stroke-dasharray: 10 3 2 3; stroke-linejoin: round; }
.bp-svg .wire { stroke: var(--line); stroke-width: 1.4; stroke-dasharray: 1 5; stroke-linecap: round; fill: none; }
.bp-svg .mem-area { stroke: none; }
.bp-svg .tile-g { stroke: var(--line); stroke-width: .9; opacity: .55; fill: none; }
.bp-svg .win-mask { fill: var(--olive-dark); stroke: var(--line); stroke-width: 1.8; }
.bp-svg .cl { stroke: var(--line-acc); stroke-width: 1.2; stroke-dasharray: 22 5 3 5; fill: none; }
.bp-svg .flute { stroke: var(--line); stroke-width: .8; opacity: .75; }
.bp-svg .mirror { stroke: var(--line-acc); }
.bp-svg .cutfill { fill: var(--line-acc); opacity: .2; }
.bp-svg .niche { fill: var(--olive-deeper); stroke-width: 1.8; }
.bp-svg .wall { stroke-width: 1.4; }
.bp-svg .wall-out { fill: none; stroke: var(--line-acc); stroke-width: 1.6; stroke-dasharray: 6 4; }
.bp-svg .x-out { stroke: var(--line-acc); stroke-width: 1.4; fill: none; }
.bp-svg .pocket { stroke-dasharray: 4 3; stroke-width: 1.2; }

.bp-legend { list-style: none; counter-reset: lg; margin-top: 18px; display: grid; gap: 8px; }
.bp-legend li { counter-increment: lg; position: relative; padding-left: 38px; font-size: .95rem; color: #dcdec8; }
.bp-legend li::before { content: counter(lg); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border: 1.6px solid var(--line-acc); border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 1rem; color: var(--line-acc); }
.bp-legend strong { color: var(--ivory); font-weight: 600; }
@media (max-width: 899px) {
  .licence .bp-legend { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .licence .bp-legend li { flex: 0 0 72%; scroll-snap-align: start; padding: 12px 12px 12px 48px; background: rgba(0, 0, 0, .14); }
  .licence .bp-legend li::before { left: 12px; top: 12px; }
}

/* the plotter: a drawing is laid down left to right once it is in view */
@media (prefers-reduced-motion: no-preference) {
  .js [data-draw] .bp-svg { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease); }
  .js [data-draw].is-in .bp-svg { clip-path: inset(0 0 0 0); }
  .js [data-draw]::after { content: ""; position: absolute; top: 0; height: 0; left: 0; width: 2px; background: var(--line-acc); box-shadow: 0 0 12px var(--line-acc); opacity: 0; }
  .js [data-draw].is-in::after { animation: plot 2.2s var(--ease) forwards; }
}
@keyframes plot { 0% { left: 0; opacity: 1; height: var(--fig-h, 60%); } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; height: var(--fig-h, 60%); } }

/* proof */
.big-q { margin: 0; }
.big-q p { font-family: var(--head); text-transform: uppercase; font-size: clamp(2.5rem, 11vw, 6rem); line-height: .92; color: var(--olive-dark); margin: 0; text-wrap: balance; }
.big-q footer, .q-row footer, .rev footer { font-size: .9rem; color: var(--ink-soft); margin-top: 16px; }
.q-row blockquote { margin: 0; background: #fff; padding: 20px; height: 100%; }
.q-row blockquote p { margin: 0; }
.q-row .row-more a { min-height: 180px; }

/* place */
.place-groups { display: grid; gap: 26px; margin-top: 32px; }
.place-groups h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--line-acc); margin-bottom: 12px; font-weight: 600; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 9px 14px; border: 1.5px solid rgba(233, 235, 211, .45); text-decoration: none; font-weight: 500; transition: background .2s, color .2s; }
.chips a:hover { background: var(--ivory); color: var(--olive-dark) !important; }
@media (min-width: 900px) { .place-groups { grid-template-columns: 1fr 1fr; } }

/* close */
.close-cta, .svc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.close h2 { max-width: 12em; }

/* inner pages */
.page-hd { padding-bottom: clamp(36px, 6vw, 72px); }
.page-hd h1 { max-width: 14em; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badges span { font-size: .85rem; font-weight: 600; padding: 6px 10px; background: var(--stone); }
.also { margin-top: 26px; font-size: .95rem; color: var(--ink-soft); }

/* before & after */
.ba-grid { display: grid; gap: 40px; margin-top: 36px; }
@media (min-width: 900px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba { margin: 0; }
.ba-frame { --pos: 50%; position: relative; overflow: hidden; aspect-ratio: 1179 / 1273; background: var(--olive-deeper); user-select: none; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--ivory); pointer-events: none; }
.ba-frame::before { content: "‹ ›"; position: absolute; z-index: 2; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--ivory); color: var(--olive-dark); display: grid; place-items: center; font-weight: 700; letter-spacing: .1em; pointer-events: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba-range:focus-visible + .x, .ba-frame:focus-within { outline: 3px solid var(--olive-logo); outline-offset: 3px; }
.ba-tag { position: absolute; z-index: 1; top: 12px; padding: 4px 10px; background: rgba(36, 37, 34, .6); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ba-tag-b { left: 12px; } .ba-tag-a { right: 12px; }
.ba figcaption h3 { font-family: var(--head); text-transform: uppercase; font-size: 2.2rem; margin-top: 16px; font-weight: 400; }
.ba figcaption p { margin-top: 6px; }

/* gallery */
.gal { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.gal figure { margin: 0; }
.gal img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--stone); }
.gal figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 8px; }
@media (min-width: 900px) { .gal { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* reviews */
.reviews { background: var(--stone); }
.rev { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.rev blockquote { margin: 0; padding: 22px; background: var(--ivory); height: 100%; }
@media (min-width: 900px) { .rev { grid-template-columns: repeat(3, 1fr); } }
.rev-cta { margin-top: 30px; }

/* service pages */
.svc-hero { display: grid; background: var(--olive-dark); color: var(--ivory); }
.svc-hero-img img { width: 100%; height: 46svh; min-height: 280px; object-fit: cover; }
.svc-hero-copy { padding: 28px var(--pad) 36px; }
.svc-hero .eyebrow a { color: var(--line-acc); }
.svc-hero .lead { color: #dcdec8; }
@media (min-width: 900px) { .svc-hero { grid-template-columns: 1fr 1fr; } .svc-hero-img { order: 2; } .svc-hero-img img { height: 100%; min-height: 70svh; } .svc-hero-copy { align-self: end; padding-bottom: 64px; } }
.svc-grid { list-style: none; display: grid; gap: 34px; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
.svc-draw .bp-fig { margin-top: 30px; max-width: 900px; }
.faq-sec h2.sm { margin-top: 64px; }
.faq { margin-top: 28px; border-top: 1.5px solid var(--stone-deep); max-width: 52em; }
.faq details { border-bottom: 1.5px solid var(--stone-deep); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--head); font-size: 2rem; color: var(--olive); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 8px; }
.faq-sec .svc-row { padding-inline: 0; }

/* how it works */
.stages-grid { display: grid; }
.stages-fig { position: sticky; top: var(--hd-h); z-index: 2; background: var(--olive-dark); padding: 10px var(--pad) 6px; border-bottom: 1px solid rgba(233, 235, 211, .2); }
.stages-fig .bp-fig { max-width: 560px; margin-inline: auto; }
.stage-now { text-align: center; font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 1.2rem; color: var(--line-acc) !important; margin: 4px 0 0; min-height: 1.4em; }
.steps { list-style: none; padding: 20px var(--pad) 0; }
.step { padding: 26px 0 30px; border-bottom: 1px solid rgba(233, 235, 211, .2); opacity: .55; transition: opacity .4s; }
.no-js .step, .step.is-current { opacity: 1; }
.step h3 { font-family: var(--head); text-transform: uppercase; font-size: 2.4rem; line-height: 1; font-weight: 400; margin: 2px 0 10px; }
.step-n { font-family: var(--head); font-size: 1.2rem; color: var(--line-acc) !important; margin: 0; letter-spacing: .06em; }
@media (max-width: 899px) { .stages-fig .bp-svg { max-height: 36svh; } .step { min-height: 46svh; } }
@media (min-width: 900px) {
  .stages-grid { grid-template-columns: 6fr 5fr; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); gap: 56px; }
  .stages-fig { top: calc(var(--hd-h) + 40px); align-self: start; background: none; border: 0; padding: 0; }
  .steps { padding: 0; }
  .step { min-height: 52svh; display: flex; flex-direction: column; justify-content: center; }
}
.stages .lay { transition: opacity .7s var(--ease); opacity: 0; }
.stages[data-stage="0"] .l0,
.stages[data-stage="1"] .l1,
.stages[data-stage="2"] .l1, .stages[data-stage="2"] .l2,
.stages[data-stage="3"] .l3,
.stages[data-stage="4"] .l4,
.stages[data-stage="5"] .l4, .stages[data-stage="5"] .l5 { opacity: 1; }
.stages[data-stage="3"] .l1 { opacity: .25; }
.stages[data-stage="3"] .l2 { opacity: .5; }
.stages[data-stage="4"] .l3 { opacity: .35; }
.stages[data-stage="4"] .l2 { opacity: .2; }

/* areas */
.area-list { list-style: none; display: grid; gap: 0; margin-top: 24px; border-top: 1.5px solid currentColor; }
.area-list a { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1.5px solid rgba(128, 128, 110, .35); text-decoration: none; }
.area-list .poster { font-size: 2.6rem; }
.area-list span + span { font-size: .95rem; opacity: .85; }
@media (min-width: 900px) { .area-list a { grid-template-columns: 3fr 5fr; align-items: baseline; gap: 30px; } }
.areas-sec { padding-block: 56px; }

/* contact + forms */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-tel a { font-family: var(--head); font-size: 3.4rem; text-decoration: none; color: var(--olive-dark); line-height: 1; }
.qform { background: #fff; padding: 24px 20px; }
.qf-h { font-family: var(--head); text-transform: uppercase; font-size: 2.4rem; line-height: 1; font-weight: 400; }
.qf-lead { color: var(--ink-soft); font-size: .98rem; margin-top: 10px; }
.qf-row { display: grid; gap: 6px; margin-bottom: 14px; }
.qf-row label { font-weight: 600; font-size: .92rem; }
.qf-row label span { font-weight: 400; color: var(--ink-soft); }
.qf-row input, .qf-row select, .qf-row textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #8b8c80; background: var(--ivory); border-radius: 0; }
.qf-row textarea { resize: vertical; }
.qf-row input:focus, .qf-row select:focus, .qf-row textarea:focus { border-color: var(--olive-dark); outline: 2px solid var(--olive-logo); outline-offset: 0; }
.qf-two { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .qf-two { grid-template-columns: 1fr 1fr; } }
.qform .btn { width: 100%; }
.qf-alt { font-size: .9rem; color: var(--ink-soft); margin: 14px 0 0; }

/* the quote drawer */
.drawer { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 92svh; padding: 0; border: 0; background: transparent; overflow: visible; }
.drawer::backdrop { background: rgba(36, 37, 34, .55); }
.drawer-in { position: relative; max-height: 92svh; overflow-y: auto; background: #fff; border-top: 8px solid var(--olive-dark); max-width: 640px; margin-inline: auto; }
.drawer .qform { padding-top: 18px; }
.drawer-x { position: sticky; top: 0; float: right; z-index: 2; margin: 8px 8px 0 0; min-height: 44px; padding: 0 14px; border: 0; background: var(--stone); font-weight: 600; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] .drawer-in { animation: rise .45s var(--ease); }
  .drawer[open]::backdrop { animation: fade .3s ease; }
}
@keyframes rise { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } }

/* footer */
.ft { position: relative; background: var(--ink); color: #d9d9cf; padding: 56px 0 24px; }
.ft::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; color: rgba(160, 166, 92, .5); }
.ft-in { display: grid; gap: 30px; padding-inline: var(--pad); max-width: 1240px; margin-inline: auto; }
.ft-brand img { width: 120px; height: auto; margin-bottom: 14px; }
.ft-brand p { max-width: 24em; font-size: .95rem; }
.ft-col { display: flex; flex-direction: column; gap: 6px; }
.ft-col a { text-decoration: none; padding: 4px 0; }
.ft-col a:hover, .ft-areas a:hover { color: #fff; text-decoration: underline; }
.ft-h { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-logo); margin: 0 0 6px; }
.ft-tel { font-family: var(--head); font-size: 2.2rem; line-height: 1; color: #fff; }
.ft-areas p { font-size: .92rem; line-height: 2; }
.ft-areas a { text-decoration: none; margin-right: 10px; white-space: nowrap; }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 28px var(--pad) 0; max-width: 1240px; margin: 30px auto 0; border-top: 1px solid rgba(217, 217, 207, .15); font-size: .82rem; color: #a9aa9e; }
.ft-base p { margin: 0; }
.ft-base a { color: #a9aa9e; }
@media (min-width: 900px) { .ft-in { grid-template-columns: 1.4fr 1fr 1fr 1.6fr; } }

/* 404 */
.nf { min-height: 70svh; display: flex; align-items: center; }

/* arrivals as you scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .rise.is-in { opacity: 1; transform: none; }
}

/* page changes with depth: the old page steps back, the new one comes forward */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-back .35s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-fwd .45s var(--ease) both; }
  ::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
}
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
@keyframes vt-back { to { opacity: 0; transform: scale(.96); filter: blur(2px); } }
@keyframes vt-fwd { from { opacity: 0; transform: translateY(18px) scale(1.01); } }
/* a job's picture grows into the top of its own page */
.vt-bathroom-renovations { view-transition-name: svc-bathroom-renovations; }
.vt-waterproofing { view-transition-name: svc-waterproofing; }
.vt-tiling { view-transition-name: svc-tiling; }
.vt-building-and-renovating { view-transition-name: svc-building-and-renovating; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

/* home: licence captions, service links, proof link */
.bp-cap { font-size: .92rem; color: #dcdec8; margin-top: 14px; }
.bp-cap a { white-space: nowrap; }
.svc-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.svc-links a { display: inline-block; padding: 10px 14px; border: 1.5px solid rgba(233, 235, 211, .45); text-decoration: none; font-weight: 500; }
.svc-links a::after { content: " →"; color: var(--olive-logo); }
.svc-links a:hover { background: var(--ivory); color: var(--olive-dark) !important; }
@media (min-width: 900px) { .svc-links { grid-column: 1 / -1; } }
.proof-more { margin-top: 22px; }
.proof-more a { font-weight: 600; text-underline-offset: 5px; text-decoration-color: var(--olive-logo); }
.proof-more a::after { content: " →"; }
.place-close { margin-top: 30px; font-weight: 600; color: var(--ivory) !important; }
.place .close-cta { margin-top: 14px; }
@media (max-width: 899px) {
  .ft { padding-top: 44px; }
  .ft-in { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .ft-brand, .ft-areas { grid-column: 1 / -1; }
  .ft-brand { display: flex; gap: 16px; align-items: center; }
  .ft-brand img { width: 84px; margin: 0; flex: none; }
  .ft-brand p { margin: 0; font-size: .88rem; }
  .ft-col a { font-size: .92rem; padding: 3px 0; }
  .ft-tel { font-size: 1.8rem; }
  .ft-areas p { font-size: .85rem; line-height: 1.9; margin: 0; }
  .ft-base { margin-top: 20px; padding-top: 18px; }
  .must .poster { font-size: clamp(2.8rem, 12vw, 7.4rem); }
}
[hidden] { display: none !important; }
.bp-svg path, .bp-svg rect, .bp-svg circle, .bp-svg ellipse { vector-effect: non-scaling-stroke; }
@media (max-width: 899px) { .bp-fig { margin-inline: calc(-1 * var(--pad) + 6px); } .bp-cap, .bp-legend { margin-inline: calc(var(--pad) - 6px); } }
@media (max-width: 899px) {
  .svc-links { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding: 4px var(--pad) 6px; scrollbar-width: none; }
  .svc-links li { flex: none; }
  .chips { gap: 6px; }
  .chips a { padding: 7px 11px; font-size: .95rem; }
  .place-groups { gap: 18px; margin-top: 24px; }
}