/* ---- 00-base.css ---- */
/* Southeast Stone: base. Honed stone, engraving ink, slate and a little brass.
   The thread through the site is their own product's edge profile: the arris on the buttons, the hatched
   slab section that ends in a pencil round (the dividers and the mark), and the edge drawings themselves. */
@font-face { font-family: "Playfair Display"; src: url(/fonts/playfairdisplay.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --paper: #f4f1eb;
  --paper-2: #ebe6dc;
  --paper-3: #ddd6c8;
  --card: #fbf9f5;
  --ink: #1c1d21;
  --ink-2: #4a4d54;
  --ink-3: #6b6e74;
  --line: rgb(28 29 33 / .16);
  --line-2: rgb(28 29 33 / .3);
  --slate: #3a4a66;
  --brass: #a17c2e;
  --brass-text: #7a5b1f;
  --basalt: #17191c;
  --basalt-2: #22252a;
  --on-dark: #ece7dd;
  --on-dark-2: #bdb6a9;
  --head: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, Menlo, monospace;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1220px;
  --header-h: 4.6rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* the library pieces' settings */
  --cb-bg: rgb(244 241 235 / .94);
  --cb-ink: var(--ink);
  --cb-call: var(--basalt);
  --cb-call-ink: var(--on-dark);
  --cb-h: 4.6rem;
  --cb-h-stuck: 3.4rem;
  --qd-bg: var(--card);
  --qd-ink: var(--ink);
  --qd-accent: var(--brass);
  --pc-time: .55s;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--cb-h-stuck) + 1rem); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--slate); color: var(--paper); }

h1, h2, h3 { font-family: var(--head); font-weight: 500; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); line-height: 1.2; }
h4 { font: 600 1rem/1.35 var(--body); margin: 0 0 .4em; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: normal; color: var(--slate); }
h1 em, h2 em { font-style: italic; color: inherit; }
ul, ol { padding-left: 1.2em; }
small, .small { font-size: .875rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 46rem; }
.band { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.band-tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.band-stone { background: var(--paper-2); }
.band-dark { background: var(--basalt); color: var(--on-dark); }
.band-dark a { color: var(--on-dark); }
.band-dark .eyebrow { color: #c9a95c; }
.band-dark .lead, .band-dark .muted { color: var(--on-dark-2); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--ink-2); }
.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  margin: 0 0 1.1rem;
  font: 600 .76rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-text);
}
.eyebrow::before { content: ""; flex: none; width: 1.6rem; height: 1px; background: currentColor; }
.section-head { display: grid; gap: .4rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; } }

/* ---- Buttons: two corners cut at 45°, like an arris on a slab edge ---- */
.btn {
  --c: var(--ink); --t: var(--paper); --k: 9px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: .7rem 1.5rem;
  border: 1.5px solid transparent;
  font: 600 .98rem/1.2 var(--body); letter-spacing: .01em; text-decoration: none; text-align: center;
  color: var(--t); cursor: pointer;
  background: linear-gradient(135deg, transparent var(--k), var(--c) calc(var(--k) + .5px) calc(100% - var(--k) - .5px), transparent calc(100% - var(--k))) border-box;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.btn:hover { --c: var(--slate); }
.btn:active { transform: translateY(1px); }
.btn-line {
  --c: var(--ink); --t: var(--ink); --f: var(--paper);
  background:
    linear-gradient(135deg, transparent calc(var(--k) - .4px), var(--f) var(--k) calc(100% - var(--k)), transparent calc(100% - var(--k) + .4px)) padding-box,
    linear-gradient(135deg, transparent var(--k), var(--c) calc(var(--k) + .5px) calc(100% - var(--k) - .5px), transparent calc(100% - var(--k))) border-box;
}
.btn-line:hover { --f: var(--paper-2); --c: var(--ink); }
.band-dark .btn-solid, .btn-light { --c: var(--on-dark); --t: var(--basalt); }
.band-dark .btn-solid:hover, .btn-light:hover { --c: #fff; }
.band-dark .btn-line { --c: var(--on-dark); --t: var(--on-dark); --f: var(--basalt); }
.band-dark .btn-line:hover { --f: var(--basalt-2); }
.btn-small { min-height: 2.6rem; padding: .5rem 1rem; font-size: .9rem; --k: 7px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: .1em; }
.textlink:hover { border-bottom-width: 2px; }

/* ---- The edge rule: a length of slab in section, hatched, finishing in a pencil round ---- */
.edge {
  --e-ink: var(--ink); --e-hatch: rgb(58 74 102 / .55);
  position: relative; height: 16px; margin: 0; border: 0;
  background:
    linear-gradient(var(--e-ink), var(--e-ink)) 0 2px / calc(100% - 38px) 1.4px no-repeat,
    linear-gradient(var(--e-ink), var(--e-ink)) 0 13px / calc(100% - 38px) 1.4px no-repeat,
    repeating-linear-gradient(-45deg, var(--e-hatch) 0 .8px, transparent .8px 6px) 0 3px / calc(100% - 38px) 10px no-repeat,
    url(/art/edge-cap.svg) right center / 40px 16px no-repeat;
}
.band-dark .edge, .foot .edge { --e-ink: #d9d3c7; --e-hatch: rgb(174 187 212 / .45); background:
    linear-gradient(var(--e-ink), var(--e-ink)) 0 2px / calc(100% - 38px) 1.4px no-repeat,
    linear-gradient(var(--e-ink), var(--e-ink)) 0 13px / calc(100% - 38px) 1.4px no-repeat,
    repeating-linear-gradient(-45deg, var(--e-hatch) 0 .8px, transparent .8px 6px) 0 3px / calc(100% - 38px) 10px no-repeat,
    url(/art/edge-cap-light.svg) right center / 40px 16px no-repeat; }
.edge-short { width: min(14rem, 60%); }

/* ---- Plates: an engraving printed on a sheet, with its plate mark ---- */
.plate { position: relative; margin: 0; background: var(--card); padding: clamp(.5rem, 1.2vw, .8rem); box-shadow: 0 1px 0 var(--line), 0 24px 40px -32px rgb(28 29 33 / .45); }
.plate-in { position: relative; overflow: hidden; outline: 1px solid var(--line-2); outline-offset: -1px; }
.plate-in::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgb(28 29 33 / .12); pointer-events: none; }
.plate img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tag {
  position: absolute; z-index: 2; left: .7rem; bottom: .7rem;
  padding: .28rem .55rem; background: rgb(251 249 245 / .92);
  font: 600 .66rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.plate figcaption { padding: .8rem .2rem .1rem; font-size: .92rem; color: var(--ink-2); }
.plate figcaption strong { display: block; font: 500 1.2rem/1.25 var(--head); color: var(--ink); margin-bottom: .2rem; }

/* ---- Forms ---- */
.form { display: grid; gap: .9rem; }
.field { display: grid; gap: .35rem; }
.field label, .label { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .85rem; color: var(--ink-2); margin: 0; }
.row2 { display: grid; gap: .9rem; }
@media (min-width: 460px) { .row2 { grid-template-columns: 1fr 1fr; } }
input, textarea, select {
  width: 100%; min-height: 3rem; padding: .7rem .85rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 0;
}
textarea { min-height: 6rem; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--ink); }
::placeholder { color: #6b6e74; }
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .88rem; color: var(--ink-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .8rem 1.1rem; background: var(--basalt); color: var(--on-dark); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---- Scroll reveal: sections rise into place as they are scrolled to. No script: the browser ties it to
   scrolling. Without that, or with less motion asked for, everything is simply there. ---- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 55%; }
    .reveal-stagger > * { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  }
}
@keyframes rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }

@media print {
  .cb-foot, .qd, .pl, .nav-toggle, .skip { display: none !important; }
  body { background: #fff; }
}

/* ---- 10-bar.css ---- */
/* Sticky call bar 2 (library: sections/sticky-call-bar-2), fitted to this site: the header shortens once it
   sticks and keeps the number; on phones the bottom bar slims to Call while reading down and comes back in
   full on the way up. No script. The menu is the browser's own popover on small screens. */
html { container-type: scroll-state; container-name: cb-page; }

.cb-head {
  position: sticky; top: 0; z-index: 50;
  height: var(--cb-h);
  container-type: scroll-state; container-name: cb-head;
  pointer-events: none;
}
.cb-head-in {
  position: absolute; inset: 0 0 auto 0; height: 100%;
  display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.6rem);
  padding: 0 var(--gutter);
  background: var(--cb-bg); color: var(--cb-ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  pointer-events: auto; overflow: hidden;
  transition: height .3s var(--ease), box-shadow .3s ease;
}
.brand { display: flex; align-items: center; gap: .65rem; min-width: 0; margin-right: auto; color: inherit; text-decoration: none; }
.brand-mark { flex: none; width: 2.4rem; height: auto; color: var(--ink); transition: width .3s var(--ease); }
.cb-who { display: grid; min-width: 0; }
.cb-name { font: 500 1.2rem/1.15 var(--body); letter-spacing: -.01em; white-space: nowrap; transition: font-size .3s var(--ease); }
.cb-extra { font-size: .74rem; line-height: 1.35; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 1.4em; transition: opacity .2s ease, max-height .3s ease; }
.cb-phone {
  --c: var(--cb-call); --k: 7px;
  flex: none; display: inline-flex; align-items: center;
  min-height: 2.6rem; padding: 0 1rem;
  font: 600 .95rem/1 var(--body); letter-spacing: .01em; white-space: nowrap; text-decoration: none;
  color: var(--cb-call-ink);
  background: linear-gradient(135deg, transparent var(--k), var(--c) calc(var(--k) + .5px) calc(100% - var(--k) - .5px), transparent calc(100% - var(--k)));
}
.cb-phone:hover { --c: var(--slate); }
.cb-phone-word { margin-right: .3em; }

@container cb-head scroll-state(stuck: top) {
  .cb-head-in { height: var(--cb-h-stuck); box-shadow: 0 6px 20px -12px rgb(0 0 0 / .35); }
  .cb-name { font-size: 1.05rem; }
  .cb-extra { opacity: 0; max-height: 0; }
  .brand-mark { width: 2rem; }
}

/* ---- The menu ---- */
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a { text-decoration: none; }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: .45em; }
.nav-toggle, .nav-close {
  flex: none; min-height: 2.6rem; padding: 0 .9rem;
  font: 600 .9rem/1 var(--body); color: var(--ink);
  background: transparent; border: 1px solid var(--line-2); cursor: pointer;
}
.nav-call { display: none; }

@media (min-width: 1120px) {
  .nav[popover] { display: block; position: static; inset: auto; width: auto; height: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; }
  .nav-list { display: flex; gap: clamp(.9rem, 1.6vw, 1.6rem); }
  .nav-list a { font-size: .93rem; font-weight: 500; padding: .5rem 0; }
  .nav-list a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .45em; }
  .nav-toggle, .nav-close { display: none; }
}
@media (max-width: 1119.98px) {
  .nav[popover] {
    position: fixed; inset: 0 0 auto 0; width: 100%; max-width: none; max-height: 100dvh; margin: 0;
    padding: 1.2rem var(--gutter) 1.6rem; border: 0; overflow: auto;
    background: var(--card); color: var(--ink);
    box-shadow: 0 20px 50px -20px rgb(0 0 0 / .5);
  }
  .nav[popover]::backdrop { background: rgb(23 25 28 / .5); }
  .nav-close { display: block; margin: 0 0 .6rem auto; }
  .nav-list a { display: block; padding: .62rem 0; font: 500 1.45rem/1.2 var(--head); border-bottom: 1px solid var(--line); }
  .nav-call { display: block; margin: 1.2rem 0 0; }
  .nav-call a { font-weight: 600; }
  @media (prefers-reduced-motion: no-preference) {
    .nav[popover] { translate: 0 -1rem; opacity: 0; transition: translate .3s var(--ease), opacity .25s ease, overlay .3s allow-discrete, display .3s allow-discrete; }
    .nav[popover]:popover-open { translate: 0 0; opacity: 1; }
    @starting-style { .nav[popover]:popover-open { translate: 0 -1rem; opacity: 0; } }
  }
}
@media (max-width: 520px) {
  .cb-phone-word { display: none; }
  .cb-name { font-size: 1.04rem; }
  .cb-extra { font-size: .68rem; letter-spacing: .02em; }
  .brand-mark { width: 1.9rem; }
  .cb-phone { padding: 0 .75rem; font-size: .9rem; }
  .nav-toggle { padding: 0 .7rem; }
}
@media (max-width: 420px) { .cb-head .cb-phone { display: none; } }
@media (max-width: 340px) { .cb-extra { display: none; } }

/* ---- The bottom bar: phones only ---- */
.cb-foot {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  display: none; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgb(23 25 28 / .97);
  box-shadow: 0 -6px 18px rgb(0 0 0 / .18);
  transition: padding .22s ease, background-color .22s ease, box-shadow .22s ease;
}
@media (max-width: 760px) { .cb-foot { display: flex; } body { padding-bottom: 0; } .foot { padding-bottom: 110px; } }
.cb-foot :is(a, button) {
  --k: 8px;
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 0; min-height: 50px; padding: 0 .9rem;
  border: 0; font: 600 1rem/1 var(--body); white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: min-height .22s ease, flex-grow .22s ease, opacity .18s ease, padding .22s ease;
}
.cb-foot .cb-call { color: var(--basalt); background: linear-gradient(135deg, transparent var(--k), var(--on-dark) calc(var(--k) + .5px) calc(100% - var(--k) - .5px), transparent calc(100% - var(--k))); }
.cb-foot .cb-second { color: var(--on-dark); background: linear-gradient(135deg, transparent calc(var(--k) - .4px), rgb(23 25 28) var(--k) calc(100% - var(--k)), transparent calc(100% - var(--k) + .4px)) padding-box, linear-gradient(135deg, transparent var(--k), #8f8a80 calc(var(--k) + .5px) calc(100% - var(--k) - .5px), transparent calc(100% - var(--k))) border-box; border: 1.5px solid transparent; overflow: hidden; }
.cb-foot :focus-visible { outline: 2px solid #c9a95c; outline-offset: 3px; }

@container cb-page scroll-state((scrolled: block-end) and (scrollable: block-end)) {
  .cb-foot { padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); background: rgb(23 25 28 / .85); box-shadow: none; gap: 0; }
  .cb-foot :is(a, button) { min-height: 42px; }
  .cb-foot .cb-second { flex-grow: 0; flex-basis: 0; padding: 0; border-width: 0; opacity: 0; visibility: hidden; transition: min-height .22s ease, flex-grow .22s ease, opacity .18s ease, padding .22s ease, visibility 0s .22s; }
}
@media (prefers-reduced-motion: reduce) {
  .cb-head-in, .cb-name, .cb-extra, .brand-mark, .cb-foot, .cb-foot :is(a, button) { transition: none; }
}
@media print { .cb-foot { display: none; } .cb-head { position: static; } }

/* ---- 20-drawer.css ---- */
/* Quote drawer (library: sections/quote-drawer). Settings are on :root in 00-base.css.
   Quote drawer: the quote form rises from the bottom of the phone screen, over the page the visitor was
   reading, and goes back down when they tap outside it, press Escape or press Close. No script.

   It is the browser's own "popover": a button with popovertarget="quote" opens the element with id="quote".
   The rise and fall are the browser's own too (it can now animate a thing arriving and leaving).

   On a wide screen it is a card in the bottom right corner instead of a sheet.
   A browser with no popovers shows the form as an ordinary section of the page, where it sits in the markup.

   Set on :root to fit the site:
     --qd-bg, --qd-ink     the drawer's background and text
     --qd-accent           the handle and the focus ring
     --qd-time             how long it takes to rise (.32s) */

.qd {
  position: fixed;
  inset: auto 0 0 0;
  margin: 0;
  width: 100%;
  max-width: none;
  max-height: 88vh;
  max-height: min(88dvh, 46rem);
  padding: 1.6rem clamp(1rem, 5vw, 1.6rem) calc(1.4rem + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 20px 20px 0 0;
  background: var(--qd-bg);
  color: var(--qd-ink);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .3);
  overflow: auto;
  overscroll-behavior: contain;          /* scrolling to the end of the form does not start scrolling the page */
}
.qd::before {                            /* the little handle that says "this is a sheet" */
  content: "";
  position: absolute;
  top: .6rem;
  left: 50%;
  width: 2.6rem;
  height: .28rem;
  margin-left: -1.3rem;
  border-radius: 99px;
  background: currentColor;
  opacity: .22;
}
.qd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 0 0 .8rem; }
.qd-title { margin: 0; font-size: 1.4rem; line-height: 1.15; }
.qd-close {
  flex: none;
  min-width: 2.8rem;
  min-height: 2.8rem;
  padding: 0 .9rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
  opacity: .8;
}
.qd-close:hover { opacity: 1; }
.qd :focus-visible { outline: 3px solid var(--qd-accent); outline-offset: 2px; }
.qd-next { margin: 1.1rem 0 0; padding: .9rem 0 0 1.2rem; border-top: 1px solid rgba(0, 0, 0, .12); font-size: .9rem; line-height: 1.5; }
.qd-next li + li { margin-top: .2rem; }
.qd-alt { display: none; }               /* a plain link to the form, for browsers with no popovers */

/* ---- Rising and falling ---- */
.qd::backdrop { background: rgb(0 0 0 / 0); }
@supports selector(:popover-open) {
  .qd:popover-open::backdrop { background: rgb(0 0 0 / .45); }
  @media (prefers-reduced-motion: no-preference) {
    .qd {
      translate: 0 100%;
      transition: translate var(--qd-time) cubic-bezier(.2, .9, .25, 1), overlay var(--qd-time) allow-discrete, display var(--qd-time) allow-discrete;
    }
    .qd:popover-open { translate: 0 0; }
    @starting-style { .qd:popover-open { translate: 0 100%; } }
    .qd::backdrop { transition: background-color var(--qd-time) ease, overlay var(--qd-time) allow-discrete, display var(--qd-time) allow-discrete; }
    @starting-style { .qd:popover-open::backdrop { background: rgb(0 0 0 / 0); } }
  }
}

/* ---- A wide screen: a card in the corner ---- */
@media (min-width: 48rem) {
  .qd {
    inset: auto 1.5rem 1.5rem auto;
    width: min(27rem, calc(100vw - 3rem));
    max-height: min(84vh, 44rem);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
  }
  .qd::before { display: none; }
  @supports selector(:popover-open) {
    @media (prefers-reduced-motion: no-preference) {
      .qd { translate: 0 1.5rem; opacity: 0; transition: translate var(--qd-time) cubic-bezier(.2, .9, .25, 1), opacity var(--qd-time) ease, overlay var(--qd-time) allow-discrete, display var(--qd-time) allow-discrete; }
      .qd:popover-open { translate: 0 0; opacity: 1; }
      @starting-style { .qd:popover-open { translate: 0 1.5rem; opacity: 0; } }
    }
  }
}

/* ---- No popovers: an ordinary section, and a plain link to it ---- */
@supports not selector(:popover-open) {
  .qd { position: static; max-height: none; border-radius: 16px; box-shadow: none; border: 1px solid rgba(0, 0, 0, .15); }
  .qd::before, .qd-close, .qd-open { display: none; }
  .qd-alt { display: inline; }
}
@media print { .qd { display: none; } }

/* ---- 30-carry.css ---- */
/* Quote carry: the notes shown at the top of a quote form. Everything else about the form is the site's own.
   Class names start with carry-. */
.carry-summary {
  --carry-accent: #f2b233;
  --carry-ink: inherit;
  margin: 0 0 1rem;
  padding: .9rem 1rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .14);
  border-left: 5px solid var(--carry-accent);
  background: rgba(255, 255, 255, .7);
  color: var(--carry-ink);
}
.carry-summary[hidden] { display: none; }
.carry-title { margin: 0 0 .5rem; font-weight: 700; }
.carry-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.carry-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .75rem; align-items: baseline; }
.carry-label { grid-column: 1; font-size: .82rem; opacity: .75; }
.carry-value { grid-column: 1; font-weight: 600; overflow-wrap: anywhere; }
.carry-remove {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  min-height: 2.4rem;          /* a thumb can hit it */
  padding: .3rem .7rem;
  font: inherit;
  font-size: .85rem;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  opacity: .8;
}
.carry-remove:hover { opacity: 1; }
.carry-remove:focus-visible { outline: 3px solid var(--carry-accent); outline-offset: 2px; }
.carry-sent { margin: .7rem 0 0; font-size: .85rem; opacity: .8; }

/* The little count beside a "Get a price" link: <span class="carry-count" data-carry-count hidden></span> */
.carry-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.4em;
  height: 1.4em;
  margin-left: .35em;
  padding: 0 .3em;
  border-radius: 999px;
  font-size: .8em;
  font-weight: 700;
  background: var(--carry-accent, #f2b233);
  color: #1c1408;
}
.carry-count[hidden] { display: none; }

/* ---- 40-line.css ---- */
/* Progress line: a thin line across the top of the screen that fills as the page is scrolled, drawn as a
   thing the trade works with: a tape measure, a pipe filling, a grout joint, a bead of silicone, a trench, a
   string line. No script: the browser ties it to scrolling. See README.md and example.html.

   How to use it: put one element straight after <body>, with the base class and one material:
       <div class="pl pl-tape" aria-hidden="true"></div>

   Where the browser cannot tie an animation to scrolling, the line is simply not shown.

   Set on the element (or :root) to fit the site:
     --pl-top     how far from the top of the screen it sits (0; set it to the height of a sticky header)
     --pl-h       how tall the line is (each material has its own)
     --pl-accent  the colour of the tape, the string and the tool heads
     --pl-ground  the colour of the ground, for the trench */

@property --pl {                /* how far down the page: 0 at the top, 1 at the bottom */
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.pl {
  --pl-top: 0px;
  --pl-h: 12px;
  --pl-head: 14px;              /* the width of the thing at the leading end */
  --pl-accent: #f2c230;
  --pl-ground: #a8482a;
  display: none;
  position: fixed;
  inset: var(--pl-top) 0 auto 0;
  height: var(--pl-h);
  z-index: 30;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .pl { display: block; animation: pl-go linear both; animation-timeline: scroll(root block); }
}
@keyframes pl-go { from { --pl: 0; } to { --pl: 1; } }

/* ::before is what has been done so far. It is uncovered from the left, so its pattern never stretches. */
.pl::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc((1 - var(--pl)) * 100%) 0 0);
}
/* ::after is the thing at the leading end: the tape's hook, the nozzle, the bucket. */
.pl::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(var(--pl) * (100% - var(--pl-head)));
  width: var(--pl-head);
  height: 100%;
}

/* ---- Tape measure: yellow blade, a mark every 10, a taller one every 50, the steel hook at the end ---- */
.pl-tape { --pl-h: 14px; --pl-head: 7px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.pl-tape::before {
  background:
    repeating-linear-gradient(90deg, rgba(20, 16, 8, .85) 0 1.5px, transparent 1.5px 50px) 0 0 / 100% 78% no-repeat,
    repeating-linear-gradient(90deg, rgba(20, 16, 8, .7) 0 1px, transparent 1px 10px) 0 0 / 100% 42% no-repeat,
    linear-gradient(to bottom, color-mix(in srgb, var(--pl-accent), #fff 25%), var(--pl-accent) 45%, color-mix(in srgb, var(--pl-accent), #000 14%));
}
.pl-tape::after {
  top: -1px;
  height: calc(100% + 5px);
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, #8d9399, #e3e6e9 45%, #9aa0a6);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

@media print { .pl { display: none !important; } }

/* ---- 50-photo-carry.css ---- */
/* Photo carry: tap a job's picture in a gallery and that picture grows into the top of the job's own page,
   instead of the page blinking. Going back, it shrinks home again. No script: this is the browser's own
   cross-page "view transition". See README.md and example.html.

   How to use it:
   - Link this stylesheet from every page of the site (both ends of a move must have it).
   - Give the picture in the gallery and the big picture on its page the SAME class: pc-1 for the first job,
     pc-2 for the second, up to pc-24.
   - On any one page, use each number once only.

   Browsers that don't do cross-page transitions simply change page as normal. With "reduce motion" on it is
   switched off. It works alone or with the library's page wipe, which then handles the rest of the page.

   Set on :root to fit the site:
     --pc-time   how long the picture takes to travel (.5s; keep it under .7s) */
:root { --pc-time: .5s; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  /* Twenty-four slots. A name has to be written in a stylesheet, because the sites allow no inline styles. */
  .pc-1 { view-transition-name: pc-1; }   .pc-2 { view-transition-name: pc-2; }   .pc-3 { view-transition-name: pc-3; }
  .pc-4 { view-transition-name: pc-4; }   .pc-5 { view-transition-name: pc-5; }   .pc-6 { view-transition-name: pc-6; }
  .pc-7 { view-transition-name: pc-7; }   .pc-8 { view-transition-name: pc-8; }   .pc-9 { view-transition-name: pc-9; }
  .pc-10 { view-transition-name: pc-10; } .pc-11 { view-transition-name: pc-11; } .pc-12 { view-transition-name: pc-12; }
  .pc-13 { view-transition-name: pc-13; } .pc-14 { view-transition-name: pc-14; } .pc-15 { view-transition-name: pc-15; }
  .pc-16 { view-transition-name: pc-16; } .pc-17 { view-transition-name: pc-17; } .pc-18 { view-transition-name: pc-18; }
  .pc-19 { view-transition-name: pc-19; } .pc-20 { view-transition-name: pc-20; } .pc-21 { view-transition-name: pc-21; }
  .pc-22 { view-transition-name: pc-22; } .pc-23 { view-transition-name: pc-23; } .pc-24 { view-transition-name: pc-24; }

  /* One class for all of them, so the travel is styled once. */
  :is(.pc-1, .pc-2, .pc-3, .pc-4, .pc-5, .pc-6, .pc-7, .pc-8, .pc-9, .pc-10, .pc-11, .pc-12,
      .pc-13, .pc-14, .pc-15, .pc-16, .pc-17, .pc-18, .pc-19, .pc-20, .pc-21, .pc-22, .pc-23, .pc-24) {
    view-transition-class: pc;
  }

  /* The travel: the box moves and resizes from where the picture was to where it will be. */
  ::view-transition-group(.pc) {
    animation-duration: var(--pc-time);
    animation-timing-function: cubic-bezier(.3, .1, .2, 1);
    z-index: 2;                              /* above the rest of the page while it travels */
  }
  /* The small picture and the big one are different shapes. Fill the travelling box with each, cropped, so the
     picture never squashes on the way. */
  ::view-transition-old(.pc), ::view-transition-new(.pc) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation-duration: var(--pc-time);
  }
}

/* ---- 60-story.css ---- */
/* Scroll story: a picture that stays in view while the steps of a job scroll past, each step changing its own
   part of the picture. story.js sets --s1, --s2 ... (0 to 1, one per step) and --ss (the whole story).
   Every one falls back to 1, so with no script the picture is finished and the steps are a plain list.

   Set these on the story to fit the site:
     --ss-top        how far below the top of the screen the picture sticks (clear of a sticky header)
     --ss-top-small  the same on a phone
     --ss-bg         the page colour behind the picture on a phone (the steps pass under it)
     --ss-accent     the colour of the progress line and the step numbers */
.ss { --ss-top: 5.5rem; --ss-top-small: 4rem; --ss-bg: #fff; --ss-accent: currentColor;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }

/* The picture */
.ss-stage { position: sticky; top: var(--ss-top); }
.ss-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; contain: paint; background: var(--ss-bg); }
.ss-layer { position: absolute; inset: 0; }
.ss-layer > svg, .ss-layer > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Which step drives a layer: class ss-p2 means "follow step 2". */
.ss-p1 { --p: var(--s1, 1); } .ss-p2 { --p: var(--s2, 1); } .ss-p3 { --p: var(--s3, 1); } .ss-p4 { --p: var(--s4, 1); }
.ss-p5 { --p: var(--s5, 1); } .ss-p6 { --p: var(--s6, 1); } .ss-p7 { --p: var(--s7, 1); } .ss-p8 { --p: var(--s8, 1); }

/* How a layer arrives. */
.ss-wipe-right { clip-path: inset(0 calc((1 - var(--p, 1)) * 100%) 0 0); }
.ss-wipe-left { clip-path: inset(0 0 0 calc((1 - var(--p, 1)) * 100%)); }
.ss-wipe-down { clip-path: inset(0 0 calc((1 - var(--p, 1)) * 100%) 0); }
.ss-wipe-up { clip-path: inset(calc((1 - var(--p, 1)) * 100%) 0 0 0); }
.ss-iris { clip-path: circle(calc(var(--p, 1) * 90%) at var(--ss-x, 50%) var(--ss-y, 55%)); }
.ss-fade { opacity: var(--p, 1); }
.ss-rise { opacity: var(--p, 1); transform: translateY(calc((1 - var(--p, 1)) * 14px)); }

/* Something that travels with a wipe's edge (a roller, a hose, a saw): visible only while the wipe is moving. */
.ss-edge { position: absolute; top: 0; bottom: 0; left: calc(var(--p, 1) * 100%); width: 0; pointer-events: none;
  opacity: min(calc(var(--p, 1) * 14), calc((1 - var(--p, 1)) * 14), 1); }
.ss-edge-down { position: absolute; left: 0; right: 0; top: calc(var(--p, 1) * 100%); height: 0; pointer-events: none;
  opacity: min(calc(var(--p, 1) * 14), calc((1 - var(--p, 1)) * 14), 1); }

/* A caption on the picture that names the step now showing. */
.ss-caption { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: grid; }
.ss-caption > * { grid-area: 1 / 1; opacity: 0; transition: opacity .25s; }
.ss[data-ss-at="1"] .ss-caption > :nth-child(1), .ss[data-ss-at="2"] .ss-caption > :nth-child(2), .ss[data-ss-at="3"] .ss-caption > :nth-child(3),
.ss[data-ss-at="4"] .ss-caption > :nth-child(4), .ss[data-ss-at="5"] .ss-caption > :nth-child(5), .ss[data-ss-at="6"] .ss-caption > :nth-child(6),
.ss[data-ss-at="7"] .ss-caption > :nth-child(7), .ss[data-ss-at="8"] .ss-caption > :nth-child(8) { opacity: 1; }
.ss:not(.ss-on) .ss-caption > :last-child { opacity: 1; }

/* The progress line under the picture. */
.ss-meter { height: 3px; margin-top: 14px; border-radius: 3px; background: color-mix(in srgb, var(--ss-accent) 18%, transparent); overflow: hidden; }
.ss-meter::after { content: ""; display: block; height: 100%; background: var(--ss-accent); transform-origin: left; transform: scaleX(var(--ss, 1)); }

/* The steps */
.ss-steps { list-style: none; margin: 0; padding: 0; counter-reset: ss; }
.ss-step { counter-increment: ss; padding: 1.1rem 0; }
.ss-step::before { content: counter(ss, decimal-leading-zero); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--ss-accent); margin-bottom: .5rem; }
.ss-step > :first-child { margin-top: 0; }
.ss-step > :last-child { margin-bottom: 0; }

/* While the story is running: each step gets room to be scrolled through, and the one being read stands out. */
.ss-on .ss-step { min-height: 42vh; display: flex; flex-direction: column; justify-content: center; opacity: .34; transition: opacity .3s; }
.ss-on .ss-step.is-now { opacity: 1; }
.ss-on .ss-step:last-child { min-height: 36vh; }

@media (max-width: 860px) {
  .ss { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ss-stage { top: var(--ss-top-small); z-index: 2; background: var(--ss-bg); padding: .5rem 0 .75rem; }
  .ss-frame { aspect-ratio: 16 / 11; max-height: 44vh; margin-inline: auto; }
  /* Each step is about as tall as the space below the picture, so the next one arrives as this one leaves. */
  .ss-on .ss-step { min-height: 30vh; justify-content: flex-start; padding-top: .8rem; }
  .ss-on .ss-step:last-child { min-height: 26vh; }
}
/* Still: scripts off, or the visitor asks for less motion. The finished picture, the steps as a list. */
.ss:not(.ss-on) .ss-stage { position: static; }
.ss:not(.ss-on) .ss-edge, .ss:not(.ss-on) .ss-edge-down, .ss:not(.ss-on) .ss-meter { display: none; }
@media print {
  .ss { display: block; }
  .ss-stage { position: static; }
  .ss-on .ss-step { min-height: 0; opacity: 1; }
  .ss-edge, .ss-edge-down, .ss-meter { display: none; }
}

/* ---- 90-site.css ---- */
/* Southeast Stone: the pages. */

/* ---- Library pieces, fitted ---- */
.pl { --pl-top: calc(var(--cb-h-stuck) - 1px); --pl-accent: #c9a95c; z-index: 49; }
.pl-tape { --pl-h: 9px; opacity: .92; }
.carry-summary { --carry-accent: var(--brass); border-radius: 0; background: var(--paper); }
.carry-remove { border-radius: 0; }
.carry-count { --carry-accent: #c9a95c; border-radius: 0; color: var(--basalt); }
.qd { border-radius: 0; }
.qd::before { border-radius: 0; }
.qd-title { font: 500 1.6rem/1.15 var(--head); }
.qd-close { border-radius: 0; }
.qd-next { border-top-color: var(--line); color: var(--ink-2); }
@media (min-width: 48rem) { .qd { border-radius: 0; } }

/* ---- Hero ---- */
.hero { padding-top: clamp(1.6rem, 4vw, 3.5rem); }
.hero-grid { display: grid; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { margin-bottom: .5em; }
.hero .lead { margin-bottom: 1.6rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 1.6rem 0 0; padding: 0; font-size: .92rem; color: var(--ink-2); }
.hero-facts li { display: flex; align-items: center; gap: .55rem; }
.hero-facts li::before { content: ""; width: .55rem; height: .55rem; flex: none; background: linear-gradient(135deg, transparent 2px, var(--brass) 2.5px calc(100% - 2.5px), transparent calc(100% - 2px)); }
.hero-art { margin: 0; }
.hero-plate { position: relative; overflow: hidden; background: var(--paper); aspect-ratio: 14 / 10; outline: 1px solid var(--line-2); outline-offset: 6px; margin: 6px; }
.hero-plate img { width: 100%; height: 100%; object-fit: cover; }
.hero-art figcaption { display: flex; gap: .8rem; align-items: baseline; margin: .9rem 6px 0; font-size: .85rem; color: var(--ink-2); }
.hero-art figcaption span { font: 600 .66rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-text); }
.hero-edge { margin-top: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .hero { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
}
@media (max-width: 959.98px) {
  .hero-plate { aspect-ratio: 16 / 10; }
}
/* The moving moment: the drawing is uncovered once, the way a print is lifted off the plate, then light
   passes slowly across the polished stone every so often. Still for anyone who asks for less motion. */
.sheen { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-plate img { animation: lift 1.1s var(--ease) both; }
  .sheen::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%;
    background: linear-gradient(105deg, transparent 0 25%, rgb(255 252 244 / .75) 45%, rgb(255 252 244 / .95) 50%, rgb(255 252 244 / .75) 55%, transparent 75%);
    mix-blend-mode: screen;
    translate: -110% 0;
    animation: sheen 11s cubic-bezier(.45, .05, .35, 1) 1.2s infinite;
  }
}
@keyframes lift { from { clip-path: inset(0 55% 0 0); opacity: .35; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes sheen { 0% { translate: -110% 0; } 45%, 100% { translate: 200% 0; } }

/* ---- Section bits ---- */
.more { margin: 2rem 0 0; }
.plan-band .section-head { margin-bottom: 2rem; }

/* ---- Rooms ---- */
.rooms { display: grid; gap: clamp(1rem, 2.4vw, 1.8rem); }
@media (min-width: 760px) { .rooms { grid-template-columns: repeat(3, 1fr); } }
.room { display: grid; gap: .45rem; text-decoration: none; color: inherit; }
.room-img { display: block; overflow: hidden; background: var(--card); outline: 1px solid var(--line-2); outline-offset: -1px; }
.room-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: scale .8s var(--ease); }
.room:hover .room-img img { scale: 1.035; }
.room-name { margin-top: .55rem; font: 500 1.45rem/1.2 var(--head); }
.room-name::after { content: " →"; font-family: var(--body); font-size: .9em; color: var(--brass-text); transition: margin .25s var(--ease); }
.room:hover .room-name::after { margin-left: .25rem; }
.room-sub { color: var(--ink-2); font-size: .95rem; }

/* ---- Stone ---- */
.stone-split { display: grid; gap: clamp(1rem, 3vw, 2rem); }
@media (min-width: 860px) { .stone-split { grid-template-columns: 1fr 1fr; } }
.stone-kind { padding: clamp(1.2rem, 3vw, 2rem); background: var(--card); box-shadow: 0 1px 0 var(--line); }
.stone-kind p:last-child { margin-bottom: 0; }
.swatch-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 1.4rem; }
.swatch-row img { width: 100%; aspect-ratio: 1; outline: 1px solid var(--line); }
.edges-strip { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.edges-strip-head { display: grid; gap: .3rem 3rem; margin-bottom: 1.4rem; }
@media (min-width: 900px) { .edges-strip-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.edges-strip-head h3 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.edges-strip-head p { margin: 0; }
.edge-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .edge-row { grid-template-columns: repeat(4, 1fr); } }
.edge-row li { background: var(--card); padding: .4rem .4rem .7rem; box-shadow: 0 1px 0 var(--line); }
.edge-row img { width: 100%; height: auto; background: var(--paper); }
.edge-row span { display: block; margin-top: .45rem; padding-left: .3rem; font-size: .9rem; font-weight: 500; }

/* ---- The story ---- */
.ss { --ss-top: calc(var(--cb-h-stuck) + 1.5rem); --ss-top-small: calc(var(--cb-h-stuck) - 1px); --ss-bg: var(--paper); --ss-accent: var(--brass); }
.ss-frame { border-radius: 0; outline: 1px solid var(--line-2); outline-offset: -1px; background: var(--paper); }
.ss-layer img { width: 100%; height: 100%; object-fit: cover; }
.ss-caption span { padding: .35rem .6rem; background: rgb(251 249 245 / .94); font: 600 .72rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.ss-note { margin: .7rem 0 0; font-size: .82rem; color: var(--ink-2); }
.ss-step h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.ss-step::before { font-family: var(--mono); color: var(--brass-text); }
.ss-step p { color: var(--ink-2); max-width: 32em; }
@media (max-width: 860px) { .ss-note { display: none; } }

/* ---- Why ---- */
.why { display: grid; gap: 1.6rem 2.6rem; list-style: none; margin: 0 0 clamp(2.5rem, 6vw, 4rem); padding: 0; }
@media (min-width: 700px) { .why { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why li { padding-top: 1.1rem; border-top: 1px solid rgb(236 231 221 / .22); }
.why h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.why p { margin: 0; color: var(--on-dark-2); }
.reviews { display: grid; gap: 1rem 3rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .reviews { grid-template-columns: .9fr 1.1fr; } .reviews-link { grid-column: 2; } }
.reviews h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.themes { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; align-content: start; }
.themes li { padding: .55rem .9rem; border: 1px solid rgb(236 231 221 / .3); font-size: .95rem; }
.band-dark .textlink { border-bottom-color: #c9a95c; }

/* ---- Area ---- */
.area { display: grid; gap: 2rem 4rem; align-items: start; }
@media (min-width: 900px) { .area { grid-template-columns: 1.1fr .9fr; } }
.places { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.places li { padding: .85rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.places strong { color: var(--ink); font: 500 1.2rem/1.2 var(--head); margin-right: .3rem; }

/* ---- Call to action ---- */
.cta { display: grid; gap: 2rem 4rem; align-items: center; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.1fr .9fr; } }
.cta h2 { margin-bottom: .4em; }
.cta-card { padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--card); box-shadow: 0 1px 0 var(--line), 0 30px 50px -40px rgb(0 0 0 / .5); }
.cta-card p { margin-bottom: .5rem; }
.cta-addr { color: var(--ink-2); }
.cta-tel { font: 500 clamp(1.9rem, 1.5rem + 1.5vw, 2.5rem)/1.1 var(--head); text-decoration: none; }
.cta-card .actions { margin-top: 1.2rem; }

/* ---- Footer ---- */
.foot { background: var(--basalt); color: var(--on-dark-2); padding: clamp(3rem, 7vw, 5rem) 0 1.5rem; font-size: .95rem; }
.foot a { color: var(--on-dark); }
.foot-grid { display: grid; gap: 2rem 3rem; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-name { font: 500 1.5rem/1 var(--body); color: var(--on-dark); letter-spacing: -.01em; }
.foot-h { font: 600 .74rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #c9a95c; margin: 0 0 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot-tel { font: 500 1.35rem/1.4 var(--head); text-decoration: none; }
.foot-social { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.foot-base { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-top: 2.6rem; padding-top: 1.3rem; border-top: 1px solid rgb(236 231 221 / .16); font-size: .85rem; }
.foot-base p { margin: 0; }
.credit { margin-left: auto !important; }
.credit a { color: var(--on-dark-2); text-decoration-color: rgb(189 182 169 / .5); }

/* ---- Inner pages ---- */
.crumbs { margin: 0 0 1.2rem; font-size: .85rem; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.page-hero { padding-top: clamp(1.6rem, 4vw, 3.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero-grid { display: grid; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.page-hero .plate img { aspect-ratio: 4 / 3; }
.page-hero.solo .lead { max-width: 44rem; }
.cols { display: grid; gap: 2rem clamp(2rem, 5vw, 5rem); }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; } .cols-wide { grid-template-columns: 1.2fr .8fr; } }
.ticklist { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .65rem; }
.ticklist li { position: relative; padding-left: 1.6rem; }
.ticklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9rem; height: .55rem; background: linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat, repeating-linear-gradient(-45deg, var(--slate) 0 .7px, transparent .7px 3px); border-radius: 0 .3rem .3rem 0; }
.band-dark .ticklist li::before { background: linear-gradient(var(--on-dark), var(--on-dark)) 0 0 / 100% 1px no-repeat, linear-gradient(var(--on-dark), var(--on-dark)) 0 100% / 100% 1px no-repeat, repeating-linear-gradient(-45deg, #aebbd4 0 .7px, transparent .7px 3px); }
.panel { padding: clamp(1.3rem, 3vw, 2rem); background: var(--card); box-shadow: 0 1px 0 var(--line); }
.panel > :last-child { margin-bottom: 0; }
.note { padding: 1.1rem 1.2rem; border-left: 3px solid var(--brass); background: var(--card); font-size: .95rem; }
.note > :last-child { margin-bottom: 0; }
.cards { display: grid; gap: 1rem; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 1.4rem; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.card h3 { font-size: 1.3rem; }
.card > :last-child { margin-bottom: 0; }
.card-img { margin: -1.4rem -1.4rem 1.2rem; }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; font: 500 1.2rem/1.35 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.4rem/1 var(--body); color: var(--brass-text); transition: rotate .25s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details > div { padding: 0 0 1.2rem; color: var(--ink-2); max-width: 46em; }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---- Gallery by room: filtered with radio buttons, no script needed ---- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.8rem; padding: 0; border: 0; }
.filters label { position: relative; }
.filters input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filters span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .45rem 1.05rem; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; font-size: .95rem; }
.filters input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters label:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 3px; }
.gallery { display: grid; gap: clamp(1rem, 2.4vw, 1.8rem); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-page:has(#f-kitchen:checked) .plate:not([data-room="kitchen"]),
.gallery-page:has(#f-bathroom:checked) .plate:not([data-room="bathroom"]),
.gallery-page:has(#f-laundry:checked) .plate:not([data-room="laundry"]) { display: none; }
.plate .plate-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .7rem; font-size: .9rem; }
.plate .plate-links a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass); }
.plate .specs { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.plate .specs li { padding: .2rem .5rem; background: var(--paper-2); font-size: .78rem; color: var(--ink-2); }

/* ---- Stone library ---- */
.lib-nav { position: sticky; top: calc(var(--cb-h-stuck) - 1px); z-index: 20; margin: 0; padding: .6rem var(--gutter); background: rgb(244 241 235 / .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.lib-nav ul { display: flex; gap: .5rem; list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); overflow-x: auto; scrollbar-width: none; }
.lib-nav a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .3rem .9rem; border: 1px solid var(--line-2); background: var(--card); font-size: .9rem; white-space: nowrap; text-decoration: none; }
.lib-nav a:hover { border-color: var(--ink); }
.lib-section { scroll-margin-top: calc(var(--cb-h-stuck) + 4rem); }
.lib-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .lib-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .lib-grid { grid-template-columns: repeat(3, 1fr); } .lib-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.lib-card { position: relative; display: flex; flex-direction: column; background: var(--card); box-shadow: 0 1px 0 var(--line); transition: box-shadow .25s; }
.lib-card.is-picked { box-shadow: inset 0 0 0 1.5px var(--ink); }
.lib-card.is-picked::after { content: ""; position: absolute; top: 0; right: 0; width: 1.3rem; height: 1.3rem; background: linear-gradient(225deg, var(--brass) 50%, transparent 50%); }
.lib-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); background: var(--paper); }
.lib-card.edge-card > img { aspect-ratio: 300 / 230; object-fit: contain; }
.lib-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.1rem 1.2rem 1.2rem; }
.lib-body h3 { margin: 0; font-size: 1.3rem; }
.lib-body p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.lib-body .meta { font-size: .82rem; color: var(--brass-text); font-weight: 600; letter-spacing: .04em; }
.pick { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.6rem; padding: .4rem .9rem; border: 1px solid var(--ink); background: transparent; font: 600 .88rem/1 var(--body); color: var(--ink); cursor: pointer; }
.pick::before { content: "+"; font-size: 1.1rem; line-height: 0; }
.pick[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pick[aria-pressed="true"]::before { content: "✓"; font-size: .9rem; }
.pick[hidden] { display: none; }
.lib-body .pick { margin-top: auto; }
.pick-tray { position: fixed; z-index: 40; right: 1.2rem; bottom: 1.2rem; display: flex; align-items: center; gap: .9rem; padding: .7rem .7rem .7rem 1.1rem; background: var(--basalt); color: var(--on-dark); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .6); }
.pick-tray[hidden] { display: none; }
.pick-tray p { margin: 0; font-size: .92rem; }
@media (max-width: 760px) { .pick-tray { display: none !important; } }
.thick { display: grid; gap: .8rem; }
.thick-bar { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; align-items: center; }
.thick-bar b { font: 600 1rem/1 var(--mono); }
.thick-bar i { display: block; border: 1.4px solid var(--ink); background: repeating-linear-gradient(-45deg, var(--slate) 0 .8px, transparent .8px 6px), var(--card); border-radius: 0 999px 999px 0; }
.thick-bar.t20 i { height: 14px; } .thick-bar.t30 i { height: 21px; } .thick-bar.t40 i { height: 28px; }
.ban { display: grid; gap: 1rem 3rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--basalt); color: var(--on-dark); }
.ban h3 { color: var(--on-dark); }
.ban p { color: var(--on-dark-2); margin: 0; }
@media (min-width: 860px) { .ban { grid-template-columns: .8fr 1.2fr; } }

/* ---- Contact ---- */
.contact-grid { display: grid; gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.contact-list li { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list .k { font: 600 .72rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-text); }
.contact-list .v { font: 500 1.3rem/1.35 var(--head); }
.contact-list .v a { text-decoration-color: var(--line-2); }
.contact-list .v.small-v { font: 400 1.02rem/1.5 var(--body); }

/* ---- Prose (privacy) ---- */
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 2.2rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose li + li { margin-top: .35rem; }

/* ---- 404 and thank-you ---- */
.notfound, .done { padding-block: clamp(3rem, 8vw, 6rem); }
.notfound-art { max-width: 22rem; margin: 0 0 1.4rem; }
.notfound ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }

/* ---- Added for the inner pages ---- */
.h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.cta-card-dark { background: var(--basalt-2); box-shadow: none; outline: 1px solid rgb(236 231 221 / .14); }
.cta-card-dark .cta-addr { color: var(--on-dark-2); }
.places-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.6rem; }
.steps-list { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 1.1rem; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: .9rem; color: var(--ink-2); }
.steps-list li::before { content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; font: 600 .95rem/1 var(--mono); color: var(--paper); background: var(--ink); }
.steps-list strong { color: var(--ink); }
.lib-brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin: 1.6rem 0 2rem; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lib-brands p { margin: 0; color: var(--ink-2); }
.lib-brands strong { display: block; color: var(--ink); margin-bottom: .2rem; }
.lib-brands .pick { margin-top: 0; }
.lib-help { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); justify-content: center; }
.finish-grid { grid-template-columns: 1fr 1fr !important; }
.finish-chip { display: block; height: 4.2rem; margin-bottom: .4rem; outline: 1px solid var(--line-2); }
.f-polished { background: linear-gradient(115deg, transparent 0 38%, rgb(255 255 255 / .95) 44%, transparent 50%) , linear-gradient(115deg, transparent 0 56%, rgb(255 255 255 / .6) 59%, transparent 62%), repeating-linear-gradient(0deg, #3a4a66 0 1px, transparent 1px 4px), #5d6b84; }
.f-honed { background: linear-gradient(115deg, transparent 0 30%, rgb(255 255 255 / .35) 45%, transparent 62%), repeating-linear-gradient(0deg, #3a4a66 0 1px, transparent 1px 4px), #6f7c92; }
.f-matte { background: repeating-linear-gradient(0deg, #3a4a66 0 1px, transparent 1px 4px), #7f8aa0; }
.f-textured { background: radial-gradient(circle at 30% 40%, #2b3850 0 1.2px, transparent 1.6px) 0 0 / 9px 9px, radial-gradient(circle at 70% 70%, #e9e4da 0 1px, transparent 1.4px) 0 0 / 7px 7px, repeating-linear-gradient(0deg, #3a4a66 0 1px, transparent 1px 4px), #7a8499; }
.thick-bar { padding: 1rem 1.2rem; grid-template-columns: 4.2rem 1fr auto; }
.thick-bar .pick { margin: 0; }
.pq-band { padding-top: 0; }
.contact-form .form { margin-top: 1.2rem; }
@media (max-width: 520px) { .thick-bar { grid-template-columns: 3.6rem 1fr; } .thick-bar .pick { grid-column: 1 / -1; justify-self: start; } }

/* Phones: the drawing comes up right after the buttons, so the moving moment is on the first screen. */
@media (max-width: 959.98px) {
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; } .hero h1 { order: 2; } .hero .lead { order: 3; } .hero .actions { order: 4; }
  .hero-art { order: 5; margin-top: 1.6rem; }
  .hero-facts { order: 6; }
  .hero-plate { aspect-ratio: 16 / 9; }
  .hero-plate img { object-position: 30% 70%; }
  .hero .lead { margin-bottom: 1.3rem; }
}
@media (max-width: 520px) {
  .hero .actions .btn { flex: 1 1 auto; }
}
/* Edge drawings are cropped to their own height; show them all in one frame. */
.edge-row img, .lib-card.edge-card > img { aspect-ratio: 300 / 170; object-fit: contain; }

/* ---- A shorter home page (Jack, 22 Nov 2026): compact rows on phones ---- */
.stone-short { display: grid; gap: 1.6rem 4rem; align-items: center; }
@media (min-width: 900px) { .stone-short { grid-template-columns: 1fr 1fr; } }
.stone-short p:last-child { margin-bottom: 0; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; list-style: none; margin: 0; padding: 0; }
.swatches img { width: 100%; aspect-ratio: 1; outline: 1px solid var(--line); }
.swatches span { display: block; margin-top: .3rem; font-size: .82rem; font-weight: 500; }
.reviews-line { margin: 1.8rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgb(236 231 221 / .2); color: var(--on-dark-2); max-width: 46em; }
.cta-band .cta p a:not(.btn) { font-weight: 600; }
@media (max-width: 759.98px) {
  .band { padding-block: 2.6rem; }
  .band-tight { padding-block: 2.2rem; }
  .section-head { margin-bottom: 1.2rem; }
  .hero-facts { margin-top: 1.1rem; }
  .hero-edge { display: none; }
  .hero-art figcaption { margin-top: .5rem; font-size: .78rem; }
  /* rooms: a thumbnail beside the words, not three tall cards */
  .rooms { gap: 0; border-top: 1px solid var(--line); }
  .room { grid-template-columns: 6.2rem 1fr; grid-template-rows: auto 1fr; column-gap: .9rem; row-gap: .1rem; align-items: start; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .room-img { grid-row: 1 / span 2; }
  .room-name { margin: .1rem 0 0; font-size: 1.15rem; }
  .room-sub { font-size: .88rem; }
  .more { margin-top: 1.1rem; }
  .why { grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin-bottom: 0; }
  .why li { padding-top: .7rem; }
  .why h3 { font-size: 1.08rem; margin-bottom: .25rem; }
  .why p { font-size: .88rem; line-height: 1.45; }
  .reviews-line { font-size: .92rem; }
  .cta { gap: 1.2rem; }
  .cta-card { padding: 1.1rem 1.1rem 1.2rem; }
  .cta-tel { font-size: 1.8rem; }
  /* the story: shorter steps on a phone */
  .ss-short.ss-on .ss-step { min-height: 22vh; padding-top: .5rem; }
  .ss-short.ss-on .ss-step:last-child { min-height: 18vh; }
  .ss-short .ss-step h3 { font-size: 1.3rem; margin-bottom: .3rem; }
  .ss-short .ss-frame { max-height: 34vh; }
  /* the footer: two columns of links, no blurb */
  .foot { padding-top: 2.4rem; }
  .foot-brand > p:not(.foot-name):not(.foot-social) { display: none; }
  .foot nav ul { grid-template-columns: 1fr 1fr; column-gap: 1rem; font-size: .9rem; }
  .foot-grid { gap: 1.5rem; }
  .foot-base { margin-top: 1.6rem; }
}
