/* Supply Kitchens: the website. Made from the mock-up's stylesheet by tools/make-css.mjs, so change mockup/site.css
   (or the live additions in that script), then run it again. The design is the proposal's: their logo's green (#586453)
   for the header, the box over the hero photo, the panels beside photos and the quote section; cream on the green;
   Libre Baskerville headings; plain Helvetica/Arial. Sizes ease with the window, every photo sits in a frame of fixed
   shape, and nothing moves while photos load. */

@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/libre-baskerville-400.woff2") format("woff2"); }

:root {
  --green: #586453; --green-d: #4B5647; --green-dd: #3C4438; --cream: #F3F1C4; --cream-2: #E9E6B4; --on-green: #ECEACB;
  --ink: #222; --ink-2: #555; --line: #E2E0D6; --tint: #F7F6F0; --field: #8E8B7F; --photo: #E8E6DF;
  --serif: "Baskervville", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1240px; --gut: clamp(20px, 4.6vw, 60px); --dock: 0px;
  --sect: clamp(52px, 6.5vw, 84px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; padding-bottom: var(--dock); overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
img { transition: opacity .45s ease; }
img.loading { opacity: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.2; text-wrap: balance; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #1f6feb; outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 4px; border: 0; cursor: pointer;
  font: 500 15.5px/1.25 var(--sans); text-decoration: none; text-align: center; background: var(--cream); color: var(--green-dd); transition: background .18s, box-shadow .18s; }
.btn:hover { background: var(--cream-2); }
.btn.dark { background: var(--green); color: var(--cream); }
.btn.dark:hover { background: var(--green-d); }
.btn.line { background: none; color: var(--green-dd); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn.line:hover { background: var(--tint); }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-thickness .15s; }
.link:hover { text-decoration-thickness: 2px; }
.or { font-size: 15.5px; }

/* ---------- header: their green band ---------- */
.head { background: var(--green); color: var(--cream); position: relative; z-index: 40; }
.head .wrap { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); min-height: clamp(70px, 7vw, 96px); }
.logo { display: block; flex: none; line-height: 0; }
.logo img { width: clamp(66px, 6.6vw, 92px); height: auto; aspect-ratio: 1;   /* the logo square's edges feathered, so no seam shows */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); mask-composite: intersect; }
.nav { display: flex; gap: clamp(16px, 2vw, 28px); font-size: 15.5px; }
.nav a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; white-space: nowrap; transition: border-color .18s; }
.nav a:hover { border-bottom-color: rgba(243,241,196,.55); }
.nav a[aria-current="page"] { border-bottom-color: var(--cream); }
.head .tel { margin-left: auto; font: 400 19px/1 var(--serif); text-decoration: none; white-space: nowrap; }
.head .tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.head .quote-btn { flex: none; }
.head .call, .burger, .menu { display: none; }

/* ---------- home: the whole photo, with their green box over it ---------- */
.hero { position: relative; }
.hero-photo { aspect-ratio: 16 / 9; max-height: 820px; width: 100%; overflow: hidden; background: var(--photo); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero-in { position: absolute; left: 0; right: 0; bottom: clamp(32px, 4.4vw, 60px); }
.hero .box { width: 580px; max-width: 100%; background: rgba(88,100,83,.96); color: var(--cream); border-radius: 10px; padding: clamp(28px, 3vw, 38px) clamp(26px, 3.2vw, 42px); }
.hero h1 { font-size: clamp(30px, 2.6vw + 10px, 42px); line-height: 1.18; margin: 0 0 16px; }
.hero p { font-size: clamp(16px, .4vw + 13px, 17.5px); line-height: 1.55; margin: 0 0 20px; color: var(--on-green); }
.hero .go { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.area-note { display: block; margin: -6px 0 22px; }

.points { border-bottom: 1px solid var(--line); }
.points .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; padding: 0; }
.points div { padding: clamp(18px, 2vw, 26px) 16px; text-align: center; font: 400 clamp(15px, .3vw + 13.5px, 16.5px)/1.35 var(--serif); color: var(--green-dd); display: grid; place-items: center; }
.points div + div { border-left: 1px solid var(--line); }

.sect { padding: var(--sect) 0; }
.sect.tint { background: var(--tint); }
.sect.snug { padding-top: 8px; }
.sect-head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 3.4vw, 44px); }
.sect-head h2 { font-size: clamp(27px, 1.6vw + 16px, 36px); }
.sect-head p { margin: 14px 0 0; color: var(--ink-2); font-size: clamp(16px, .3vw + 14.5px, 17.5px); }
.sect-foot { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin: clamp(28px, 3vw, 40px) 0 0; }

/* why buy: a plain list with rules */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.why div { border-top: 1px solid var(--line); padding: 22px 0 26px; }
.why h3 { font-size: 19px; margin: 0 0 8px; color: var(--green-dd); }
.why p { margin: 0; color: #444; }

/* ranges: cards with their photos */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 2.8vw, 36px) clamp(16px, 2.2vw, 28px); }
.card { text-decoration: none; display: block; }
.card .ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--photo); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .45s ease; }
.card:hover .ph img { transform: scale(1.03); }
.card h3 { font-size: clamp(18px, .5vw + 15px, 21px); margin: 14px 0 4px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* colour swatches, as in the proposal */
.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 12px; max-width: 980px; margin: 0 auto; }
.swatches .sw { width: 100px; }
.sw { display: block; align-self: start; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.sw i { display: block; height: 52px; border: 1px solid #D3D0C4; margin: 0 0 7px; transition: transform .18s ease, box-shadow .18s ease; }
.sw:hover i { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.1); }
.sw:hover { color: var(--ink); }
.sw[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.sw[aria-pressed="true"] i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green); }
.inside { text-align: center; margin: 30px 0 0; color: var(--ink-2); }

/* how it works: their circle photos */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; text-align: center; }
.steps .c { width: clamp(130px, 13vw, 168px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto 20px; background: var(--photo); box-shadow: 0 0 0 1px var(--line); }
.steps .c img { width: 100%; height: 100%; object-fit: cover; }
.steps h3 { font-size: 20px; margin: 0 0 6px; }
.steps p { margin: 0 auto; max-width: 300px; color: var(--ink-2); }

/* a photo with a green panel beside it: the two always the same height */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 6px; overflow: hidden; }
.pair .ph { position: relative; min-height: clamp(320px, 31vw, 430px); background: var(--photo); }
.pair .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pair .tx { background: var(--green); color: var(--cream); padding: clamp(30px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.pair h2 { font-size: clamp(26px, 1.4vw + 16px, 32px); margin: 0 0 16px; }
.pair h1 { font-size: clamp(28px, 1.6vw + 17px, 36px); margin: 0 0 16px; }
.pair p { color: var(--on-green); }
.pair .tx > :last-child { margin-bottom: 0; }
.pair.flip .ph { order: 2; }
.pair .go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 10px; }
.pair .tx .btn.line { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(243,241,196,.7); }
.pair .tx .btn.line:hover { background: rgba(243,241,196,.1); }

/* testimonials: bordered cards, as in the proposal */
.revs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rev { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px 26px; display: flex; flex-direction: column; }
.rev .ph-tag { align-self: flex-start; margin-bottom: 14px; }
.rev .stars { color: var(--green); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.rev blockquote { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: #333; }
.rev .who { margin-top: auto; font-size: 14.5px; color: var(--ink-2); }
.rev .who b { display: block; color: var(--ink); font-weight: 600; }
.revs.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.google { margin-top: clamp(36px, 4vw, 56px); border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 2.6vw, 30px) clamp(20px, 2.8vw, 34px); background: var(--tint); }
.google h3 { font-size: 22px; margin: 0 0 6px; }
.google > p { margin: 0; color: var(--ink-2); max-width: 720px; }
.google .gr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.google .gc { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; font-size: 15px; }
.google .gc b { display: block; margin-bottom: 4px; }
.google .gc .r { color: var(--ink-2); font-size: 14px; margin-bottom: 10px; }

/* the quote form, on their green */
.quote { background: var(--green); color: var(--cream); padding: clamp(44px, 5.6vw, 72px) 0; }
.quote .wrap { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.quote h2, .quote h1 { font-size: clamp(28px, 1.8vw + 16px, 38px); margin: 0 0 14px; }
.quote .lead { font-size: 17px; line-height: 1.55; color: var(--on-green); margin: 0 0 26px; }
.quote h3 { font-size: 19px; margin: 0 0 16px; }
.next { display: grid; gap: 16px; }
.next > div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; }
.next i { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid var(--cream); display: block; background: var(--green-d); }
.next i img { width: 100%; height: 100%; object-fit: cover; }
.next b { display: block; font-weight: 600; }
.next span { font-size: 15px; color: #E3E1BF; }
.quote .talk { margin-top: 28px; font-size: 15.5px; color: var(--on-green); }
.quote .talk a { color: var(--cream); }
.quote.band .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.quote.band .lead { margin: 0; max-width: 640px; }
.quote.band .go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

.form { background: #fff; color: var(--ink); border-radius: 6px; padding: clamp(22px, 2.8vw, 34px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; align-content: start; }
.form .full { grid-column: 1 / -1; }
.form label, .form .lab { display: block; font-size: 15px; margin: 0 0 6px; color: #2c2c2c; }
.form .opt { color: var(--ink-2); font-size: 14px; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--field); border-radius: 3px; padding: 10px 12px; background: #fff; font-size: 16px; transition: border-color .15s; }
.form textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); outline: 2px solid rgba(88,100,83,.3); outline-offset: 0; }
.form [aria-invalid="true"] { border-color: #B3261E; }
.form .err { color: #B3261E; font-size: 14px; margin-top: 5px; display: none; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; border: 0; margin: 0; padding: 0; min-width: 0; }
.radios legend { float: left; width: 100%; font-size: 15px; margin: 0 0 10px; padding: 0; color: #2c2c2c; }
.radios label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; cursor: pointer; min-height: 32px; }
.radios input { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.files input { font-size: 15px; max-width: 100%; }
.files .hint { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.files ul { margin: 8px 0 0; padding: 0; list-style: none; font-size: 14.5px; overflow-wrap: anywhere; }
.form .send { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; font-size: 15px; color: var(--ink-2); }
.form .send a { color: var(--ink); }
.sent { grid-column: 1 / -1; background: #EEF1EA; border-radius: 4px; padding: 20px 22px; }
.sent h3 { font-size: 21px; margin: 0 0 8px; color: var(--green-dd); }
.sent p { margin: 0 0 8px; }
.sent p:last-child { margin: 0; }

/* ---------- inner pages ---------- */
.page-head { text-align: center; padding: clamp(36px, 4.6vw, 60px) 0 clamp(28px, 3.4vw, 44px); }
.page-head h1 { font-size: clamp(30px, 2.2vw + 16px, 42px); }
.page-head p { max-width: 720px; margin: 14px auto 0; color: var(--ink-2); font-size: clamp(16px, .3vw + 14.5px, 17.5px); }
.crumb { padding: 22px 0 0; font-size: 14.5px; color: var(--ink-2); }

/* the ranges page: each range a photo with its green panel, sides alternating */
.rlist { display: grid; gap: clamp(22px, 2.6vw, 34px); padding-bottom: var(--sect); }
.rlist .pair h2 { margin-bottom: 6px; }
.rlist .pair .sub { font: 400 16px/1.4 var(--serif); color: var(--cream); opacity: .92; margin-bottom: 16px; }
.rlist .mini { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 22px; }
.rlist .mini i { width: 18px; height: 18px; border: 1px solid rgba(243,241,196,.45); }

/* one range: photo on the left, the details beside it, as in the proposal */
.range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 4.4vw, 60px); padding: 22px 0 var(--sect); align-items: start; }
.range > div:first-child { position: sticky; top: 24px; }   /* the photo stays in view beside the details */
.range .main { border-radius: 6px; overflow: hidden; background: var(--photo); aspect-ratio: 5 / 4; }   /* one shape for every photo, so switching photos moves nothing */
.range .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 92px; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 3px; overflow: hidden; cursor: pointer; background: var(--photo); opacity: .75; transition: opacity .18s; }
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-pressed="true"] { opacity: 1; outline: 2px solid var(--green); outline-offset: 2px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.range h1 { font-size: clamp(30px, 2.2vw + 16px, 42px); margin: 0 0 14px; }
.range .intro { font-size: 17px; color: #333; }
.spec { margin: 0 0 30px; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.spec dt { color: var(--ink-2); }
.spec dd { margin: 0; }
.range h2 { font-size: 21px; margin: 0 0 16px; }
.range .swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 14px 10px; margin: 0; }
.range .swatches .sw { width: auto; }
.range .sw { font-size: 13px; }
.range .sw i { height: 44px; }
.swnote { font-size: 14px; color: var(--ink-2); margin: 16px 0 0; }
.range .go { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 26px; }
.strip-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 20px; }
.strip-head h2 { font-size: clamp(23px, 1vw + 16px, 28px); }

/* the gallery: every photo whole, in rows of one shared height */
.filters { display: grid; gap: 14px; margin: 0 0 28px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.frow { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: start; gap: 8px 10px; }
.frow > span { font-weight: 600; font-size: 15px; line-height: 40px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid #CFCCBF; background: #fff; font-size: 15px; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.fbtn:hover { border-color: var(--green); }
.fbtn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.fbtn.chip { padding-left: 10px; }
.fbtn.chip i { width: 16px; height: 16px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); flex: none; }
.fbtn.chip[aria-pressed="true"] { background: #EEF1EA; color: var(--ink); border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.count { color: var(--ink-2); font-size: 15px; margin: -8px 0 18px; }
.justified { display: flex; flex-wrap: wrap; gap: 10px; }
.justified::after { content: ""; flex-grow: 999; }
.tile { position: relative; min-width: 0; padding: 0; border: 0; background: var(--photo); cursor: zoom-in; border-radius: 3px; overflow: hidden; display: block; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-size: 14px; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.55)); opacity: 0; transition: opacity .25s; }
.tile:hover .cap, .tile:focus-visible .cap { opacity: 1; }
.tile.vid { cursor: pointer; }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(34,38,31,.72); }
.play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.slot { background: var(--green); color: var(--cream); cursor: default; display: grid; place-items: center; text-align: center; padding: 18px; }
.slot .in { max-width: 300px; }
.slot b { display: block; font: 400 18px/1.35 var(--serif); margin: 0 0 6px; }
.slot span { font-size: 14px; color: #E3E1BF; }
.slot .play { position: relative; left: auto; top: auto; margin: 0 auto 14px; display: block; background: rgba(243,241,196,.18); }
.empty { padding: 50px 20px; text-align: center; color: var(--ink-2); border: 1px dashed #CFCCBF; border-radius: 6px; }
.note { font-size: 14.5px; color: var(--ink-2); margin: 26px 0 0; }


/* lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: rgba(18,20,16,.95); color: #fff; overflow: hidden; }
.lb::backdrop { background: rgba(18,20,16,.95); }
.lb .stage { position: absolute; inset: 64px 90px 100px; }
.lb .stage img, .lb .stage video { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; object-fit: contain; }
.lb .bar { position: absolute; left: 0; right: 0; bottom: 0; min-height: 88px; padding: 14px 90px; display: flex; align-items: center; gap: 12px 26px; flex-wrap: wrap; justify-content: center; text-align: center; }
.lb .bar p { margin: 0; font-size: 16px; }
.lb .bar .btn { min-height: 42px; }
.lb button.x, .lb button.nav-b { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%; width: 52px; height: 52px; cursor: pointer; font-size: 26px; line-height: 1; z-index: 6; transition: background .15s; }
.lb button:hover { background: rgba(255,255,255,.2); }
.lb .x { top: 14px; right: 18px; }
.lb .prev { left: 20px; top: 50%; margin-top: -26px; }
.lb .next-b { right: 20px; top: 50%; margin-top: -26px; }

/* the workshop page */
.vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.vid { margin: 0; }
.vid .frame { aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; position: relative; background: var(--green); }
.vid .frame video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.vid .frame.slot { display: grid; }
.vid figcaption { margin-top: 10px; font: 400 17px/1.4 var(--serif); }
.build { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.build div { border-top: 1px solid var(--line); padding: 20px 0 24px; }
.build h3 { font-size: 19px; margin: 0 0 6px; color: var(--green-dd); }
.build p { margin: 0; color: #444; }
.insides { display: flex; gap: 10px 18px; flex-wrap: wrap; margin-top: 14px; }
.insides span { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.insides i { width: 28px; height: 28px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.18); display: block; }
.top-pair { padding-top: clamp(24px, 3vw, 40px); }

/* contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); padding-bottom: var(--sect); align-items: start; }
.contact .big { font: 400 clamp(26px, 1.4vw + 16px, 32px)/1.2 var(--serif); text-decoration: none; display: inline-block; margin: 4px 0 18px; color: var(--green-dd); }
.contact .big:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.contact dl { margin: 0; border-top: 1px solid var(--line); }
.contact dl div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact dt { color: var(--ink-2); font-size: 15px; margin-bottom: 2px; }
.contact dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.contact .form { border: 1px solid var(--line); }

/* ---------- footer ---------- */
.foot { background: var(--green); color: var(--cream); padding: clamp(40px, 4.4vw, 56px) 0 30px; border-top: 1px solid rgba(243,241,196,.22); }
.foot .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px 40px; }
.foot img { width: 110px; height: 110px; margin: -12px 0 6px -12px;
  -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent); mask-image: radial-gradient(closest-side, #000 82%, transparent); }
.foot h3 { font-size: 17px; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 7px; font-size: 15px; overflow-wrap: anywhere; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot p { font-size: 15px; color: #E3E1BF; }
.foot .base { grid-column: 1 / -1; border-top: 1px solid rgba(243,241,196,.25); margin-top: 6px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: #E3E1BF; }
.foot .base span:last-child { margin-left: auto; }

/* phone bar: call and quote, always in reach */
.dock { display: none; }

/* ---------- narrower windows: each change is a step, never a jump in a photo's shape ---------- */
@media (max-width: 1180px) {
  .head .tel { display: none; }
  .head .quote-btn { margin-left: auto; }
}
@media (max-width: 1023px) {
  /* the box moves below the photo, full width, just overlapping it, as in the proposal's phone design */
  .hero-in { position: relative; bottom: auto; margin-top: clamp(-56px, -6vw, -40px); }
  .hero .box { width: 100%; }
  .points { margin: clamp(24px, 3vw, 32px) var(--gut) 0; border: 1px solid var(--line); border-radius: 6px; }
  .points .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .points div:nth-child(3) { border-left: 0; }
  .points div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .revs, .revs.two, .google .gr { grid-template-columns: minmax(0, 1fr); }
  .quote .wrap, .quote.band .wrap { grid-template-columns: minmax(0, 1fr); }
  .range { grid-template-columns: minmax(0, 1fr); }
  .range > div:first-child { position: static; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > div:first-child { grid-column: 1 / -1; }
  .foot .base span:last-child { margin-left: 0; }
}
@media (max-width: 960px) {
  .head .wrap { gap: 10px; }
  .nav, .head .quote-btn, .head .tel { display: none; }
  .head .call { display: inline-flex; margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15.5px; background: none; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(243,241,196,.65); }
  .head .call:hover { background: rgba(243,241,196,.1); }
  .burger { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; background: none; border: 0; cursor: pointer; color: var(--cream); }
  .burger i { display: block; width: 22px; height: 15px; border-top: 2px solid; border-bottom: 2px solid; position: relative; }
  .burger i::after { content: ""; position: absolute; left: 0; right: 0; top: 4.5px; border-top: 2px solid; }
  .menu { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--green); border-top: 1px solid rgba(243,241,196,.2); padding: 6px var(--gut) 18px; box-shadow: 0 14px 30px rgba(0,0,0,.22); }
  .menu[hidden] { display: none; }
  .menu a { display: block; padding: 13px 0; font-size: 18px; text-decoration: none; border-bottom: 1px solid rgba(243,241,196,.14); color: var(--cream); }
  .menu a[aria-current="page"] { font-weight: 600; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .pair .ph { min-height: 0; aspect-ratio: 3 / 2; }
  .pair.flip .ph { order: 0; }
  .vids { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --dock: 74px; }
  .hero .go { flex-direction: column; align-items: stretch; text-align: center; }
  .why, .build { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form .send, .quote.band .go, .range .go { flex-direction: column; align-items: stretch; text-align: center; }
  .frow { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .frow > span { line-height: 1.4; font-size: 14px; color: var(--ink-2); }
  .pills { gap: 6px; }
  .fbtn { min-height: 36px; padding: 0 12px; font-size: 14px; }
  .filters { gap: 14px; padding: 16px 0; }
  .justified { gap: 6px; }
  .tile.slot { padding: 8px; }
  .tile.slot .play { transform: scale(.6); margin: -10px auto -6px; }
  .tile.slot b { font-size: 13.5px; margin: 0; }
  .tile.slot span:not(.play) { display: none; }
  .lb .stage { inset: 64px 10px 150px; }
  .lb .bar { padding: 12px 16px 20px; min-height: 140px; }
  .lb .prev, .lb .next-b { top: auto; bottom: 150px; margin: 0; }
  .thumbs button { width: 72px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--green); box-shadow: 0 -6px 20px rgba(0,0,0,.16); }
  .dock .btn { min-height: 50px; font-size: 16px; }
  .dock .call2 { background: none; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(243,241,196,.65); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .points div { padding: 16px 10px; font-size: 14.5px; }
  .swatches .sw { width: calc((100% - 24px) / 3); }
  .range .swatches .sw { width: auto; }
  .spec div { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); font-size: 15px; }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.pad-b { padding-bottom: var(--sect); }
.contact .call-h { font-size: 22px; margin-bottom: 4px; }
.contact dd .ph-tag { margin-top: 8px; }

/* ---------- what the live site adds ---------- */
.foot h2 { font: 400 17px/1.3 var(--serif); margin: 0 0 12px; }
.foot .areas-h { margin-top: 22px; }
.foot address, .contact address { font-style: normal; }
.revs.one { grid-template-columns: minmax(0, 780px); justify-content: center; }
.rev blockquote p { margin: 0 0 12px; }
.rev blockquote p:last-child { margin-bottom: 0; }
.rev .more { margin: -4px 0 16px; font-size: 15px; }
.rev-more { align-self: flex-start; background: none; border: 0; padding: 2px 0; margin: -4px 0 16px; font: inherit; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rev-more:hover { color: var(--green-dd); }
.rq-short[hidden], .rq-full[hidden] { display: none; }
.rev[id] { scroll-margin-top: 110px; }
.rev-show { align-self: flex-start; margin-top: 16px; background: none; border: 1px solid #C9C6B8; border-radius: 4px; padding: 9px 14px; font: inherit; font-size: 14.5px; color: var(--green-dd); cursor: pointer; }
.rev-show:hover { background: var(--tint); }
.rev-show[aria-expanded="true"] { background: var(--tint); }
.rev-media { margin-top: 14px; }
.rev-media[hidden] { display: none; }
.rev-media:not([hidden]) { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.rev-media .tile { aspect-ratio: 4 / 3; width: 100%; }
.rev-media .play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.rev-media .play::after { left: 17px; top: 13px; border-left-width: 13px; border-top-width: 9px; border-bottom-width: 9px; }
@media (max-width: 760px) { .rev-media:not([hidden]) { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; } }
.contact address + .link { display: inline-block; margin-top: 6px; font-size: 15px; }
.visit { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px clamp(32px, 5vw, 72px); align-items: center; }
.visit h2 { margin: 0 0 12px; }
.visit .go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 22px 0 0; }
.visit address { font-style: normal; font-size: 17px; line-height: 1.65; border-left: 3px solid var(--green); padding: 4px 0 4px 20px; }
@media (max-width: 760px) { .visit { grid-template-columns: minmax(0, 1fr); } }
.foot .base a { color: inherit; }
.foot .base span:last-child a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { margin: 0; font-size: 14px; color: var(--ink-2); }
.cta-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 22px; }
.page-head > p + p { margin-top: 10px; }
.faq { max-width: 820px; margin: 0 auto; }
.faq section { padding: 22px 0 16px; border-top: 1px solid var(--line); }
.faq section:last-child { border-bottom: 1px solid var(--line); }
.faq h2 { font-size: clamp(19px, .4vw + 17px, 22px); margin: 0 0 8px; color: var(--green-dd); }
.faq p { color: #444; }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 30px 0 8px; }
.prose p { color: #333; }
.google .more { margin: 18px 0 0; }
p.empty { margin: 0; }
/* the gallery rows: each photo keeps its own shape, all sharing one height */
.justified { --rh: 270px; }
.justified .tile { flex-grow: calc(var(--r) * 100); width: calc(var(--r) * var(--rh)); aspect-ratio: var(--w) / var(--h); }
.tile[hidden] { display: none; }
.tile.vid img { position: absolute; inset: 0; }
@media (max-width: 760px) { .justified { --rh: 104px; } }
/* the homepage's moving workshop close-ups (tools/make-videos.py): they fade in over their still once playing */
.hero-photo.moving { position: relative; }
.hero-photo.moving img { object-position: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.hero-video.on { opacity: 1; }
.hero-pause { position: absolute; top: clamp(12px, 1.6vw, 22px); right: clamp(12px, 1.6vw, 22px); width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(60,68,56,.78); cursor: pointer; display: grid; place-items: center; }
.hero-pause[hidden] { display: none; }
.hero-pause:hover { background: var(--green-dd); }
.hero-pause:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.hero-pause i { display: block; width: 12px; height: 14px; border-left: 4px solid var(--cream); border-right: 4px solid var(--cream); box-sizing: border-box; }
.hero-pause.paused i { width: 0; height: 0; margin-left: 4px; border: 0; border-left: 13px solid var(--cream); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
/* the box over the hero (Rob, 23 Oct 2026: "central, more beautifully styled, classy and sleek"): centred, square
   cornered, a fine cream hairline set just inside its edge, their green with the video softly blurred through it.
   The headline (like every heading) in Baskervville, a finer cut of the Baskerville their own site used; lines kept even. */
/* its small letters are shorter than Libre Baskerville's, so it's drawn 7% larger to keep the same presence at every size */
@font-face { font-family: "Baskervville"; font-style: normal; font-weight: 400; font-display: swap; size-adjust: 107%;
  src: url("/fonts/baskervville-400.woff2") format("woff2"); }
/* its numbers are old-style (the 7 and 9 drop below the line): level ones read better in phone numbers and prices.
   On everything, and firmly, because each "font:" shorthand (the contact page's big number, the prices) quietly resets it */
* { font-variant-numeric: lining-nums !important; }
/* the phone number at the top in the menu's own clean letters rather than the headings' (Rob, 24 Oct 2026) */
.head .tel { font: 500 15.5px/1 var(--sans); letter-spacing: .03em; }
.hero-in { top: 0; bottom: 0; display: grid; place-items: center; pointer-events: none; }
.hero .box { pointer-events: auto; width: min(640px, 100%); text-align: center; border-radius: 3px;
  padding: clamp(36px, 3.8vw, 56px) clamp(30px, 4.4vw, 64px) clamp(34px, 3.6vw, 52px);
  background: rgba(60,68,56,.8); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  outline: 1px solid rgba(243,241,196,.3); outline-offset: -10px; box-shadow: 0 34px 70px -24px rgba(0,0,0,.5); }
.hero h1 { font-weight: 400; font-size: clamp(36px, 3vw + 12px, 60px); line-height: 1.07; letter-spacing: -.012em; text-wrap: balance; margin: 0 0 20px; }
.hero p { max-width: 46ch; margin: 0 auto 28px; font-size: clamp(15.5px, .3vw + 13px, 17px); line-height: 1.62; color: rgba(236,234,203,.88); text-wrap: pretty; }
.hero .go { justify-content: center; gap: 14px 26px; }
.hero .go .btn { border-radius: 2px; min-height: 52px; padding: 0 30px; letter-spacing: .015em; }
.hero .go .or { font-size: 15px; color: rgba(236,234,203,.85); }
/* in a half-width window or on a tablet the three upright panels fill a taller frame almost exactly, so the hero
   stays tall and the box sits over the middle as on a computer, instead of a thin strip with the box hanging below */
@media (max-width: 1023px) and (min-width: 761px) {
  .hero.moving .hero-photo { aspect-ratio: auto; max-height: none; height: 72vh; height: min(72svh, 760px); min-height: 480px; }
  .hero.moving .hero-in { position: absolute; margin: 0; }
  .hero.moving .box { width: min(580px, 100%); }
}
/* on phones the moving hero is tall (its own upright video), with a slim box over its foot: just the headline,
   since the quote and call buttons are already in the bar along the bottom of the screen */
@media (max-width: 760px) {
  .hero-pause { width: 36px; height: 36px; }
  .hero.moving .hero-photo { aspect-ratio: auto; max-height: none; height: 76vh; height: min(76svh, 660px); min-height: 440px; }
  .hero.moving .hero-photo picture { display: contents; }
  .hero.moving .hero-in { position: absolute; left: 0; right: 0; top: auto; bottom: 16px; margin: 0; }
  .hero.moving .box { padding: 24px 22px 26px; outline-offset: -7px; }
  .hero.moving h1 { font-size: clamp(28px, 8vw, 36px); line-height: 1.1; margin: 0; }
  .hero.moving .box p, .hero.moving .box .go { display: none; }
}
/* the homepage's start-to-finish film: a band of their green, the upright film beside the words and its stages */
.proc-sect { background: var(--green); color: var(--cream); }
.proc { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.proc-film .frame { position: relative; aspect-ratio: var(--r, 9 / 16); border-radius: 6px; overflow: hidden; background: var(--green-dd); box-shadow: 0 22px 50px rgba(0,0,0,.28); }
.proc-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.proc-bar { position: absolute; top: 8px; left: 10px; right: 10px; display: flex; gap: 4px; }
.proc-bar button { flex: 1; padding: 9px 0; background: none; border: 0; cursor: pointer; }
.proc-bar i { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.38); overflow: hidden; }
.proc-bar i::after { content: ""; display: block; height: 100%; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
.proc-now { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 56px 66px 18px 18px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.6)); color: #fff; pointer-events: none; }
.proc-now span { display: block; font-size: 13px; opacity: .85; margin-bottom: 2px; }
.proc-now b { font: 400 20px/1.25 var(--serif); }
.proc-play { position: absolute; right: 14px; bottom: 16px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(243,241,196,.92); cursor: pointer; display: grid; place-items: center; }
.proc-play:focus-visible, .proc-bar button:focus-visible, .proc-list button:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.proc-play i { display: block; width: 12px; height: 14px; border-left: 4px solid var(--green-dd); border-right: 4px solid var(--green-dd); box-sizing: border-box; }
.proc-play.paused i { width: 0; height: 0; margin-left: 4px; border: 0; border-left: 13px solid var(--green-dd); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.proc-bar[hidden], .proc-now[hidden], .proc-play[hidden] { display: none; }
.proc h2 { font-size: clamp(26px, 1.4vw + 16px, 32px); margin: 0 0 16px; color: var(--cream); }
.proc .tx p { color: var(--on-green); }
.proc-list { list-style: none; margin: 24px 0 28px; padding: 0; border-top: 1px solid rgba(243,241,196,.2); }
.proc-list li { border-bottom: 1px solid rgba(243,241,196,.2); }
.proc-list button { position: relative; display: block; width: 100%; padding: 11px 0; background: none; border: 0; text-align: left; font: 400 16.5px/1.35 var(--sans); color: var(--on-green); cursor: pointer; }
.proc-list button:hover span { text-decoration: underline; text-underline-offset: 3px; }
.proc-list button[aria-current] { color: var(--cream); font-weight: 600; }
.proc-list i { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--cream); transform: scaleX(var(--p, 0)); transform-origin: left; }
.proc .go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.proc .btn.line { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(243,241,196,.7); }
.proc .btn.line:hover { background: rgba(243,241,196,.1); }
@media (max-width: 960px) {
  .proc { grid-template-columns: minmax(0, 1fr); }
  .proc-film { width: min(100%, 420px); margin: 0 auto; }
}
@media (max-width: 760px) {
  .proc-list { display: none; }
  .proc .tx { margin-top: 4px; }
  .proc .go { flex-direction: column; align-items: stretch; text-align: center; margin-top: 22px; }
}
/* a last row that isn't full (seven or eight ranges) sits in the middle instead of at the left: three to a row on
   six half-columns, so one card or two can be centred */
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cards > .card { grid-column: span 2; }
  .cards > .card:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
  .cards > .card:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
}
@media (max-width: 1023px) and (min-width: 561px) {
  .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(8px, 1.1vw, 14px)); }
}
/* furniture: the page of pieces, a piece's own page, and its enquiry form (on the page, or as a pop-up) */
.piece-card .price { font: 400 18px/1.3 var(--serif); color: var(--green-dd); margin: 2px 0 2px; }
.piece .price { font: 400 clamp(24px, 1vw + 18px, 28px)/1.2 var(--serif); color: var(--green-dd); margin: -4px 0 10px; }
.piece .goes { margin: 0 0 18px; color: var(--ink-2); }
.piece h2 { font-size: 20px; margin: 26px 0 12px; }
.piece .intro p { margin: 0 0 12px; }
.swatches.show { justify-content: flex-start; gap: 12px 10px; margin: 0; }
.swatches.show .sw { width: 84px; cursor: default; }
.opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.opts li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; }
.opts .oi { width: 56px; height: 56px; flex: none; border-radius: 3px; overflow: hidden; background: var(--photo); }
.opts .oi img { width: 100%; height: 100%; object-fit: cover; }
.piece .go { margin-top: 28px; }
.btn.ask { height: auto; min-height: 56px; padding: 12px 26px; line-height: 1.4; white-space: normal; max-width: 470px; }
.enq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.enq-head h2 { margin: 0 0 12px; }
.enq-sect[hidden] { display: none; }
.tick { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.tick input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--green); }
.enq-dialog { width: min(660px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 8px; background: var(--tint); color: var(--ink); overflow: auto; }
.enq-dialog::backdrop { background: rgba(28,32,26,.55); }
.enq-dialog .enq { display: block; padding: clamp(22px, 3vw, 34px); }
.enq-dialog .enq-head { padding-right: 40px; margin-bottom: 18px; }
.enq-dialog .enq-head h2 { font-size: 24px; }
.enq-dialog .x { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; }
.enq-dialog .form { padding: clamp(18px, 2.4vw, 26px); }
@media (max-width: 960px) { .enq { grid-template-columns: minmax(0, 1fr); } }
/* the workshop's videos keep their own shape; upright ones (filmed on a phone) go four to a row */
.vid .frame { aspect-ratio: var(--r, 16 / 9); }
.vids.tall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px clamp(14px, 1.8vw, 24px); }
.vids.tall .frame video { object-fit: contain; }
.vids.tall .vid figcaption { font-size: 16px; }
@media (max-width: 1023px) { .vids.tall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .vids.tall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } .vids.tall .vid figcaption { font-size: 14.5px; } }
/* Tom's walkthroughs on a range page: every tile the same upright shape, so the rows line up, up to five across and never
   wider than a phone clip looks right; a wide clip fills its tile too until it plays, then shows the whole picture (site.js) */
.vids.walks { grid-template-columns: repeat(var(--n, 4), minmax(0, 230px)); justify-content: start; }
.vids.walks .frame { aspect-ratio: 9 / 16; background: var(--green-dd); }
.vids.walks .frame video { object-fit: cover; background: var(--green-dd); }
.vids.walks .frame.wide.playing video { object-fit: contain; }
@media (max-width: 1023px) { .vids.walks { grid-template-columns: repeat(3, minmax(0, 240px)); } }
@media (max-width: 760px) { .vids.walks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* the WhatsApp button (Tom, 24 Oct 2026): WhatsApp's own green so it's known at a glance. A round button in the corner on
   bigger screens; on phones it joins Call and Quote in the bar along the bottom */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: transform .18s, box-shadow .18s; }
.wa-float:hover { transform: scale(1.06); box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.wa-float svg { width: 31px; height: 31px; }
.wa-line { margin: -6px 0 22px; }
.btn.wa-btn { gap: 10px; background: #25D366; color: #fff; }
.btn.wa-btn:hover { background: #1FBE5B; }
.btn.wa-btn svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .dock.has-wa { grid-template-columns: 52px 1fr 1fr; }
  .dock .wa2 { padding: 0; background: #25D366; color: #fff; }
  .dock .wa2 svg { width: 27px; height: 27px; }
}
