/* Built by build/build.js from build/css/. Edit those files, not this one. */

/* ===== fonts.css: Outfit, served from this site ===== */
@font-face { font-family: "Outfit"; src: url("/fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }


/* ===== bar.css: library: sections/sticky-call-bar-2 ===== */
/* Sticky call bar 2: a header and a bottom bar that react to what the visitor is doing. No script.

   The header (.cb-head): at the top of the page it shows the name, a line under it (licence, area) and the phone
   number. Once the page is scrolled and it is stuck to the top, it gets shorter, drops the line and keeps the
   number.

   The bottom bar (.cb-foot), phones only: Call, and a second action. While the visitor scrolls down to read, it
   slims to the Call button alone. The moment they scroll back up, or reach the bottom, both buttons are back.
   The phone number is never off the screen.

   Both parts are the browser asking itself "am I stuck?" and "which way did the page last move?". A browser
   that cannot ask shows the header and the bar at full size, always: the same as the first sticky call bar.

   Use either part alone. Set on :root to fit the site:
     --cb-bg, --cb-ink      the header's background and text
     --cb-call, --cb-call-ink   the Call buttons
     --cb-h, --cb-h-stuck   the header's height at the top of the page, and when stuck (4.6rem, 3.2rem) */
:root {
  --cb-bg: #fffdf8;
  --cb-ink: #1f1a17;
  --cb-call: #17603a;
  --cb-call-ink: #fff;
  --cb-h: 4.6rem;
  --cb-h-stuck: 3.2rem;
}

/* The page is the thing that scrolls, so it is the thing the bottom bar asks about. */
html { container-type: scroll-state; container-name: cb-page; }

/* ---- The header ---- */
.cb-head {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--cb-h);           /* the room it takes in the page never changes, so nothing below it jumps */
  container-type: scroll-state;
  container-name: cb-head;
  pointer-events: none;          /* the part it gives up when stuck must not swallow taps */
}
.cb-head-in {                    /* the bar that is seen: this is what gets shorter */
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2rem);
  background: var(--cb-bg);
  color: var(--cb-ink);
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  pointer-events: auto;
  overflow: hidden;
  transition: height .25s ease, box-shadow .25s ease;
}
.cb-who { display: grid; min-width: 0; }
.cb-name { font-weight: 800; font-size: 1.1rem; line-height: 1.2; color: inherit; text-decoration: none; letter-spacing: -.01em; transition: font-size .25s ease; }
.cb-extra { font-size: .8rem; line-height: 1.3; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 1.3em; transition: opacity .2s ease, max-height .25s ease; }
.cb-phone {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.6rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  background: var(--cb-call);
  color: var(--cb-call-ink);
}
.cb-phone:focus-visible, .cb-name:focus-visible, .cb-foot :focus-visible { outline: 3px solid var(--cb-call); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }

@container cb-head scroll-state(stuck: top) {
  .cb-head-in { height: var(--cb-h-stuck); box-shadow: 0 4px 14px rgba(0, 0, 0, .16); }
  .cb-name { font-size: .98rem; }
  .cb-extra { opacity: 0; max-height: 0; }
}

/* ---- 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(20 20 20 / .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; } }
.cb-foot :is(a, button) {
  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-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1 system-ui, sans-serif;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: min-height .22s ease, flex-grow .22s ease, opacity .18s ease, padding .22s ease, border-width .22s ease;
}
.cb-foot .cb-call { background: var(--cb-call); color: var(--cb-call-ink); }
.cb-foot .cb-second { background: transparent; border-color: #eee; color: #eee; overflow: hidden; }

/* Scrolling down to read, with more page still to come: slim to the Call button alone. */
@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(20 20 20 / .82); box-shadow: none; }
  .cb-foot :is(a, button) { min-height: 40px; }
  .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, border-width .22s ease, visibility 0s .22s; }
  .cb-foot { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cb-head-in, .cb-name, .cb-extra, .cb-foot, .cb-foot :is(a, button) { transition: none; }
}
@media print { .cb-foot { display: none; } .cb-head { position: static; } }


/* ===== drawer.css: library: sections/quote-drawer ===== */
/* 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) */
:root { --qd-bg: #fffdf8; --qd-ink: #1f1a17; --qd-accent: #f2b233; --qd-time: .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; } }


/* ===== carry.css: library: builders/quote-carry ===== */
/* 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; }


/* ===== photo-carry.css: library: animations/photo-carry ===== */
/* 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);
  }
}


/* ===== line.css: library: animations/progress-line (pl-tape) ===== */
/* 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);
}

/* ---- Pipe: an empty white pipe that fills with water ---- */
.pl-pipe {
  --pl-h: 14px;
  --pl-head: 12px;
  background: linear-gradient(to bottom, #fbfaf6 0 12%, #d8d6cc 22%, #33312e 26% 78%, #b9b7ad 84%, #8f8d84);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .28);
}
.pl-pipe::before { background: linear-gradient(to bottom, transparent 0 26%, #7fc0e6 26%, #2f6f9c 60%, #235676 78%, transparent 78%); }
.pl-pipe::after {              /* the front of the water, rounded */
  top: 26%;
  height: 52%;
  border-radius: 0 99px 99px 0;
  background: linear-gradient(to bottom, #7fc0e6, #2f6f9c 65%, #235676);
}

/* ---- Grout: two rows of tile with an open joint between them, filled as you go ---- */
.pl-grout {
  --pl-h: 16px;
  --pl-head: 16px;
  --pl-tile: #ece7dd;
  --pl-joint: #4a4540;
  --pl-grout: #c9c2b4;
  background:
    repeating-linear-gradient(90deg, var(--pl-joint) 0 3px, transparent 3px 132px),
    linear-gradient(to bottom, var(--pl-tile) 0 38%, var(--pl-joint) 38% 62%, var(--pl-tile) 62%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}
.pl-grout::before {
  background:
    repeating-linear-gradient(90deg, var(--pl-grout) 0 3px, transparent 3px 132px),
    linear-gradient(to bottom, transparent 0 38%, var(--pl-grout) 38% 62%, transparent 62%);
}
.pl-grout::after {             /* the rubber float, on its corner */
  top: 1px;
  height: calc(100% - 2px);
  border-radius: 3px;
  background: linear-gradient(135deg, #2f3338, #50565d);
  transform: rotate(8deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

/* ---- Bead: a bead of silicone run along a joint, with the nozzle at the end ---- */
.pl-bead { --pl-h: 12px; --pl-head: 22px; --pl-bead: #ffffff; }
.pl-bead::before {
  inset: 22% 0 22% 0;
  border-radius: 0 99px 99px 0;
  clip-path: none;
  width: calc(var(--pl) * (100% - var(--pl-head)) + 4px);
  background: linear-gradient(to bottom, var(--pl-bead), color-mix(in srgb, var(--pl-bead), #000 14%));
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.pl-bead::after {              /* the nozzle, cut at an angle */
  clip-path: polygon(0 34%, 100% 0, 100% 100%, 0 66%);
  background: linear-gradient(to bottom, #f1f3f5, #a9b0b7);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35));
}

/* ---- Trench: a strip of ground, dug as you go, with the bucket at the face ---- */
.pl-trench {
  --pl-h: 14px;
  --pl-head: 16px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .25) 0 1.2px, transparent 1.8px) 3px 2px / 23px 9px,
    radial-gradient(circle, rgba(0, 0, 0, .25) 0 1.2px, transparent 1.8px) 12px 6px / 31px 11px,
    linear-gradient(to bottom, color-mix(in srgb, var(--pl-ground), #fff 10%), var(--pl-ground));
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}
.pl-trench::before {
  background: linear-gradient(to bottom, transparent 0 14%, color-mix(in srgb, var(--pl-ground), #000 62%) 14% 30%, color-mix(in srgb, var(--pl-ground), #000 40%) 30% 86%, transparent 86%);
}
.pl-trench::after {            /* the bucket, teeth forward */
  top: -1px;
  height: calc(100% + 2px);
  clip-path: polygon(0 12%, 62% 12%, 62% 0, 100% 22%, 78% 30%, 100% 50%, 78% 58%, 100% 78%, 62% 100%, 62% 88%, 0 88%);
  background: linear-gradient(to bottom, #3a3d41, #1f2124);
}

/* ---- String line: pulled tight from a peg, with flagging tape on the peg that travels ---- */
.pl-string {
  --pl-h: 16px;
  --pl-head: 9px;
  --pl-accent: #ff5fa2;        /* builder's line is usually fluoro pink or orange */
  background: linear-gradient(90deg, #8a5a2b 0 6px, transparent 6px) 0 0 / 100% 100% no-repeat;   /* the peg at the start */
}
.pl-string::before {
  inset: calc(50% - 1px) 0 auto 0;
  height: 2px;
  background: var(--pl-accent);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .35);
}
.pl-string::after {            /* the travelling peg, with a tail of tape */
  border-radius: 1px 1px 3px 3px;
  background:
    linear-gradient(to bottom, var(--pl-accent) 0 30%, transparent 30%) 0 0 / 100% 100% no-repeat,
    linear-gradient(90deg, #a06a34, #7a4d22);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

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


/* ===== reveal.css: library: animations/scroll-reveal ===== */
/* Scroll reveal: elements with class="reveal" fade and rise into place once. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }


/* ===== site.css: Caldan Constructions ===== */
/* Caldan Constructions. Blueprint style: a deep drafting-blue ground, pale "existing" lines and their own sage
   green for "new work", the way a renovation drawing marks what the builder adds. Type: Outfit, a geometric face
   close to the capitals in their logo. The thread through the page is the beam from their own line,
   "On these beams, we build dreams": a dimensioned beam divider, the beam mark on every label. */

:root {
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --card: #fbfaf7;
  --ink: #15191b;
  --ink-2: #485154;
  --rule: #d8d4c9;
  --bp: #0f2433;
  --bp-2: #12293a;
  --bp-3: #1d3a50;
  --bp-ink: #e6eef5;
  --bp-muted: #a9c0d3;
  --sage: #98d09a;
  --sage-2: #c3e6c4;
  --sage-ink: #2c6838;
  --max: 1180px;
  --head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --r: 4px;
  /* the library pieces */
  --cb-bg: var(--paper);
  --cb-ink: var(--ink);
  --cb-call: var(--sage);
  --cb-call-ink: #0c1a12;
  --cb-h: 4.6rem;
  --cb-h-stuck: 3.4rem;
  --qd-bg: var(--paper);
  --qd-ink: var(--ink);
  --qd-accent: var(--sage-ink);
  --header-h: 3.4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  font: 400 1.0625rem/1.62 var(--head);
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--sage-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.3rem); letter-spacing: -.035em; line-height: 1.0; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--sage-ink); outline-offset: 3px; }
.bp-grid :focus-visible, .hero :focus-visible, .foot :focus-visible, .nf :focus-visible { outline-color: var(--sage); }
.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: .7rem 1rem; background: var(--ink); color: #fff; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.section { padding: clamp(3.4rem, 8vw, 6.5rem) 0; }
.small { font-size: .9rem; color: var(--ink-2); }

/* ---- blueprint ground: a 500 mm grid with a heavier line every 2 m ---- */
.bp-grid {
  background-color: var(--bp);
  background-image:
    linear-gradient(rgb(41 78 104 / .55) 1px, transparent 1px),
    linear-gradient(90deg, rgb(41 78 104 / .55) 1px, transparent 1px),
    linear-gradient(rgb(29 58 80 / .5) 1px, transparent 1px),
    linear-gradient(90deg, rgb(29 58 80 / .5) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 25px 25px, 25px 25px;
  background-position: -1px -1px;
  color: var(--bp-ink);
}
.bp-grid a:not(.btn) { color: var(--sage); }
.bp-grid p { color: #cddbe7; }

/* ---- labels: the beam mark before every eyebrow ---- */
.eyebrow {
  display: flex; align-items: center; gap: .65rem;
  margin: 0 0 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage-ink);
}
.eyebrow::before {
  content: ""; flex: none; width: 26px; height: 7px;
  border: 1.5px solid currentColor; border-radius: 1px;
  background: repeating-linear-gradient(135deg, transparent 0 3px, currentColor 3px 4px);
  opacity: .9;
}
.bp-grid .eyebrow, .eyebrow-light { color: var(--sage); }

/* ---- the beam: a dimensioned beam on its two bearings, used as a divider ---- */
.beam { --c: var(--sage-ink); position: relative; height: 38px; color: var(--c); }
.beam i { position: absolute; left: 14px; right: 14px; top: 4px; height: 11px; border: 1.5px solid currentColor; border-radius: 1px;
  background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, currentColor 35%, transparent) 6px 7px); }
.beam::before, .beam::after { content: ""; position: absolute; top: 15px; width: 16px; height: 9px; background: currentColor; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.beam::before { left: 6px; } .beam::after { right: 6px; }
.beam b { position: absolute; left: 14px; right: 14px; top: 31px; height: 0; border-top: 1px solid currentColor; opacity: .7; }
.beam b::before, .beam b::after { content: ""; position: absolute; top: -5px; width: 1px; height: 9px; background: currentColor; transform: rotate(45deg); }
.beam b::before { left: 0; } .beam b::after { right: 0; }
.beam-sec { max-width: calc(var(--max) - 4rem); opacity: .55; }
.beam-light { --c: var(--sage); }
@media (prefers-reduced-motion: no-preference) {
  .beam.in i, .reveal .beam i { transform-origin: left; }
  .js-beam .beam-sec i { transform: scaleX(.02); transition: transform 1.4s cubic-bezier(.6,.1,.2,1); transform-origin: left; }
  .js-beam .beam-sec.in i { transform: none; }
}

/* ---- buttons ---- */
.btns { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: .7rem 1.35rem;
  border: 1.5px solid transparent; border-radius: var(--r);
  font: 600 1rem/1.1 var(--head); letter-spacing: -.005em; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-call { background: var(--sage); color: #0c1a12; border-color: var(--sage); }
.btn-call:hover { background: var(--sage-2); border-color: var(--sage-2); }
.btn-solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-solid:hover { background: #2a3134; }
/* outlined buttons are drawn dashed, like existing work, and go solid (new work) under the pointer */
.btn-line { background: transparent; color: var(--ink); border: 1.5px dashed color-mix(in srgb, var(--ink) 55%, transparent); }
.btn-line:hover { border-style: solid; border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--bp-ink); border: 1.5px dashed rgb(230 238 245 / .55); }
.btn-ghost:hover { border-style: solid; border-color: var(--sage); color: #fff; }
.btn-big { min-height: 3.6rem; font-size: 1.15rem; padding: .8rem 1.6rem; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; border-bottom: 1.5px dashed currentColor; padding-bottom: 2px; }
.text-link:hover { border-bottom-style: solid; }
.text-link-light { color: var(--sage) !important; }
@supports selector(:popover-open) { a.qd-alt { display: none; } }
@supports not selector(:popover-open) { button.qd-open { display: none; } }

/* ---- header (sticky-call-bar-2 underneath) ---- */
.cb-head-in { border-bottom-color: var(--rule); }
.cb-name { text-decoration: none; display: inline-flex; }
.wm { display: inline-flex; align-items: baseline; gap: .38rem; line-height: 1; text-decoration: none; color: inherit; }
.wm b { font-weight: 700; font-size: 1.32rem; letter-spacing: .06em; }
.wm i { font-style: normal; font-weight: 400; font-size: 1.02rem; letter-spacing: .01em; color: var(--sage-ink); }
.wm-light { color: #fff; } .wm-light i { color: var(--sage); }
.cb-extra { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); opacity: 1; margin-top: .3rem; }
.cb-phone { border-radius: var(--r); font-weight: 600; gap: .45rem; }
.cb-phone svg { width: 1.05rem; height: 1.05rem; }
.head-end { display: flex; align-items: center; gap: .55rem; }
.head-plan { display: none; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; padding: .55rem .9rem; border: 1.5px dashed color-mix(in srgb, var(--ink) 45%, transparent); border-radius: var(--r); white-space: nowrap; }
.head-plan:hover, .head-plan[aria-current] { border-style: solid; border-color: var(--ink); }
.menu-btn { width: 2.75rem; height: 2.75rem; display: inline-grid; place-items: center; border: 1.5px solid var(--rule); border-radius: var(--r); background: transparent; cursor: pointer; color: var(--ink); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
@media (max-width: 420px) { .x-wide { display: none; } .cb-phone .num { display: none; } .cb-phone { padding: 0 .8rem; } .cb-phone::after { content: "Call"; } }

/* the menu: a sheet over the page on a phone (a popover), a plain row on a wide screen */
.menu { margin: 0; border: 0; padding: 1rem clamp(1rem, 5vw, 2rem) 2rem; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; inset: 0; background: var(--bp); color: var(--bp-ink); }
.menu::backdrop { background: rgb(0 0 0 / .4); }
.menu:popover-open { display: flex; flex-direction: column; }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.menu-top p { margin: 0; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.menu-close { background: transparent; color: var(--bp-ink); border: 1.5px dashed rgb(230 238 245 / .5); border-radius: var(--r); padding: .5rem .9rem; font: 600 .95rem var(--head); cursor: pointer; }
.menu ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.menu li a { display: block; padding: .72rem 0; font-size: 1.45rem; font-weight: 500; letter-spacing: -.02em; color: var(--bp-ink); text-decoration: none; border-bottom: 1px solid rgb(169 192 211 / .18); }
.menu li a[aria-current] { color: var(--sage); }
.menu .btn { margin-top: .6rem; }
.menu .btn-line { color: var(--bp-ink); border-color: rgb(230 238 245 / .55); }
@media (prefers-reduced-motion: no-preference) {
  .menu:popover-open { animation: menu-in .28s cubic-bezier(.2,.7,.2,1); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
}
@media (min-width: 1300px) {
  .cb-head-in { gap: 1rem; }
  .menu, .menu:popover-open { all: unset; display: flex; flex: 1; justify-content: center; }
  .menu:not(:popover-open) { display: flex; }
  .menu-top, .menu .btn { display: none !important; }
  .menu ul { display: flex; gap: .1rem; margin: 0; }
  .menu li a { white-space: nowrap; font-size: .94rem; padding: .5rem .5rem; border: 0; color: var(--ink); font-weight: 500; letter-spacing: 0; border-radius: var(--r); }
  .menu li a:hover { background: var(--paper-2); }
  .menu li a[aria-current] { color: var(--sage-ink); box-shadow: inset 0 -2px 0 var(--sage-ink); border-radius: 0; }
  .menu-btn { display: none; }
  .head-plan { display: inline-block; }
}

/* the progress tape sits under the stuck header, in their sage */
.pl { --pl-top: var(--cb-h-stuck); --pl-accent: var(--sage); }

/* ---- hero: built to hold their video; for now, the drawing draws itself and drifts ---- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bp); color: var(--bp-ink); min-height: min(calc(100svh - var(--cb-h)), 900px); display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-art { position: absolute; inset: 0; overflow: hidden; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-art .l-grid .g-minor { stroke: #183248; stroke-width: .7; fill: none; }
.hero-art .l-grid .g-major { stroke: #20405a; stroke-width: 1.1; fill: none; }
.hero-art text { font-family: var(--head); }
.hero-light { position: absolute; inset: -20%; background: radial-gradient(closest-side, rgb(152 208 154 / .10), transparent 70%); width: 55%; height: 80%; top: 0; left: 10%; pointer-events: none; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(10 26 38 / .94) 0%, rgb(10 26 38 / .82) 32%, rgb(10 26 38 / .25) 62%, rgb(10 26 38 / 0) 80%),
  linear-gradient(0deg, rgb(10 26 38 / .7) 0%, rgb(10 26 38 / 0) 40%); }
.hero-in { padding-top: clamp(3rem, 10vh, 7rem); padding-bottom: clamp(2.5rem, 7vh, 5rem); }
.hero-in > * { max-width: 40rem; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.08rem, 1.9vw, 1.28rem); color: #d4e1ec; max-width: 34rem; }
.hero-tag { margin: 1.2rem 0 0; max-width: 22rem; color: var(--sage); font-weight: 500; letter-spacing: .01em; }
.hero-tag p { margin: 0 0 .5rem; color: var(--sage); }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 1.6rem 0 0; padding: 0; font-size: .9rem; color: #c3d3e0; }
.trust b { color: var(--sage); font-weight: 600; margin-right: .2rem; }
.hero-note { position: absolute; right: 1rem; top: .9rem; margin: 0; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgb(169 192 211 / .75); }
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: 40vh; min-height: 240px; max-height: 380px; }
  .hero-art svg { width: auto; height: 100%; aspect-ratio: 16 / 9; left: 0; right: auto; transform: translateX(calc(50vw - 50%)); }
  .hero-shade { background: linear-gradient(0deg, var(--bp) 0%, rgb(15 36 51 / 0) 34%); height: calc(min(max(40vh, 240px), 380px) + 1px); bottom: auto; }
  .hero-in { padding-top: .4rem; padding-bottom: 2.4rem; }
  .hero h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); }
  .hero-note { top: .6rem; right: .8rem; }
}
@media (prefers-reduced-motion: no-preference) {
  /* the lines draw in, existing first and new work after, then labels and dimensions */
  .hero-art .l-exist [pathLength], .hero-art .l-new [pathLength], .hero-art .l-dims [pathLength] { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: hero-draw 2.6s cubic-bezier(.55,.1,.25,1) .15s forwards; }
  .hero-art .l-new [pathLength] { animation-duration: 2.2s; animation-delay: 1.2s; }
  .hero-art .l-dims [pathLength] { animation-duration: 1.2s; animation-delay: 2.2s; }
  .hero-art .l-new rect:not([pathLength]), .hero-art text { opacity: 0; animation: hero-fade .9s ease 2.4s forwards; }
  .hero-art .l-grid { opacity: 0; animation: hero-fade 1.2s ease forwards; }
  @keyframes hero-draw { to { stroke-dashoffset: 0; } }
  @keyframes hero-fade { to { opacity: 1; } }
  /* then a slow drift, as a camera would move over the sheet; light passes over it */
  .hero-art svg { animation: hero-drift 38s ease-in-out 3s infinite alternate; transform-origin: 60% 50%; }
  @keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.07) translate(-1.6%, -1.2%); } }
  .hero-light { animation: hero-light 22s ease-in-out infinite alternate; }
  @keyframes hero-light { from { transform: translate(-10%, -5%); } to { transform: translate(110%, 30%); } }
  @media (max-width: 760px) {
    .hero-art svg { animation: hero-pan 30s ease-in-out 2.6s infinite alternate; transform: translateX(calc(100vw - 100%)); }
    @keyframes hero-pan { from { transform: translateX(calc(100vw - 100%)); } to { transform: translateX(0); } }
  }
}

/* ---- page heads (inner pages) ---- */
.phead { padding: clamp(2.6rem, 7vw, 5rem) 0 clamp(2.6rem, 6vw, 4.5rem); }
.phead-short { padding-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.phead-in { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .phead-in { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }
.phead h1 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
.phead .lead, .nf .lead { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: #d4e1ec; max-width: 40rem; }
.crumbs { font-size: .85rem; margin: 0 0 1.4rem; color: var(--bp-muted); }
.crumbs a { color: var(--bp-muted) !important; }
.phead-art { margin: 0; }

/* ---- drawings as figures: a sheet with a fine frame ---- */
.sheet { margin: 0; border: 1px solid rgb(152 208 154 / .28); border-radius: var(--r); overflow: hidden; background: var(--bp); aspect-ratio: 4 / 3; box-shadow: 0 1px 0 rgb(255 255 255 / .04) inset, 0 18px 40px -24px rgb(15 36 51 / .55); }
.sheet img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- section heads ---- */
.sec-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.sec-head p { color: var(--ink-2); font-size: 1.08rem; }
.bp-grid .sec-head p { color: #c9d8e4; }
.sec-head-row { max-width: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-end; justify-content: space-between; }
.sec-head-row > div { max-width: 44rem; }

/* ---- service cards ---- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card a { display: flex; flex-direction: column; height: 100%; padding: .7rem .7rem 1.3rem; background: var(--card); border: 1.5px dashed var(--rule); border-radius: calc(var(--r) + 2px); color: var(--ink); text-decoration: none; transition: border-color .25s, transform .25s, box-shadow .25s; }
.card a:hover { border-style: solid; border-color: var(--sage-ink); box-shadow: 0 16px 34px -22px rgb(15 36 51 / .5); }
.card .sheet { margin-bottom: 1.1rem; }
.card .sheet img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card a:hover .sheet img { transform: scale(1.04); }
.card h3, .card p, .card .more { margin-left: .5rem; margin-right: .5rem; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card .more { margin-top: auto; font-weight: 600; color: var(--sage-ink); }

/* ---- why ---- */
.why-in { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .why-in { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; align-items: start; } }
.why-story p { color: var(--ink-2); font-size: 1.08rem; }
.spec { list-style: none; margin: 0; padding: 0; counter-reset: spec; border-top: 1.5px solid var(--ink); }
.spec li { counter-increment: spec; display: grid; grid-template-columns: 3.2rem 1fr; gap: .2rem 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--rule); }
.spec li::before { content: counter(spec, decimal-leading-zero); grid-row: span 2; font-size: .82rem; font-weight: 600; letter-spacing: .1em; color: var(--sage-ink); padding-top: .25rem; }
.spec b { font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; }
.spec span { color: var(--ink-2); }

/* ---- the scroll story on the blueprint ground ---- */
.story-sec .ss { --ss-top: calc(var(--cb-h-stuck) + 1.2rem); --ss-top-small: calc(var(--cb-h-stuck) + .25rem); --ss-bg: var(--bp); --ss-accent: var(--sage); display: grid; gap: 2rem; }
@media (min-width: 861px) { .story-sec .ss { grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: start; } }
.story-sec .ss-frame { border: 1px solid rgb(152 208 154 / .3); border-radius: var(--r); }
.story-sec .ss-layer img { object-fit: cover; }
.story-sec .ss-step h3 { color: #fff; font-size: 1.4rem; }
.story-sec .ss-step p { color: #c9d8e4; }
.st-caption span { justify-self: start; background: var(--sage); color: #0c1a12; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 2px; }
.st-edge::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--sage); box-shadow: 0 0 18px 2px rgb(152 208 154 / .55); }
.story-more { margin: 2rem 0 0; }

/* ---- rooms (home) ---- */
.rooms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 760px) { .rooms { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1100px) { .rooms { grid-template-columns: repeat(6, 1fr); } }
.rooms a { display: block; color: var(--ink); text-decoration: none; font-weight: 600; }
.rooms .sheet { margin-bottom: .55rem; transition: border-color .25s; }
.rooms a:hover .sheet { border-color: var(--sage-ink); }
.rooms a span { display: inline-flex; gap: .4rem; border-bottom: 1.5px dashed transparent; }
.rooms a:hover span { border-bottom-color: currentColor; }

/* ---- finishes teaser and swatches (drawn as a finishes legend) ---- */
.fin-in { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 900px) { .fin-in { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.swatch-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem .8rem; font-size: .85rem; color: #c9d8e4; letter-spacing: .04em; }
.swatch-row .sw { display: block; aspect-ratio: 1; margin-bottom: .45rem; }
.sw, .fcard-sw { position: relative; border: 1.5px solid var(--sage); border-radius: 2px; background-color: var(--bp-2); }
/* each finish is shown the way a drawing's legend shows a material */
.sw-laminate { background-image: repeating-linear-gradient(0deg, transparent 0 9px, rgb(152 208 154 / .5) 9px 10px); }
.sw-laminate-top { background-image: linear-gradient(transparent 70%, rgb(152 208 154 / .5) 70% 72%, transparent 72%), repeating-linear-gradient(0deg, transparent 0 9px, rgb(152 208 154 / .35) 9px 10px); }
.sw-twopac { background-image: linear-gradient(135deg, rgb(152 208 154 / .22), rgb(152 208 154 / .05) 60%), linear-gradient(transparent 48%, rgb(152 208 154 / .6) 48% 50%, transparent 50%); }
.sw-veneer, .sw-timber, .sw-hardwood { background-image:
  repeating-radial-gradient(ellipse 220% 38% at 30% 120%, transparent 0 6px, rgb(152 208 154 / .45) 6px 7px, transparent 7px 13px); }
.sw-timber { background-image: repeating-radial-gradient(ellipse 260% 30% at 70% -20%, transparent 0 7px, rgb(152 208 154 / .45) 7px 8px, transparent 8px 14px); }
.sw-hardwood { background-image: repeating-linear-gradient(90deg, transparent 0 22px, rgb(152 208 154 / .7) 22px 24px), repeating-radial-gradient(ellipse 30% 260% at 50% 50%, transparent 0 5px, rgb(152 208 154 / .3) 5px 6px); }
.sw-marble { background-image: linear-gradient(120deg, transparent 30%, rgb(152 208 154 / .55) 31%, transparent 33%), linear-gradient(160deg, transparent 55%, rgb(152 208 154 / .4) 56%, transparent 57.5%), linear-gradient(100deg, transparent 70%, rgb(152 208 154 / .35) 71%, transparent 72%), radial-gradient(rgb(152 208 154 / .3) 1px, transparent 1.5px); background-size: auto, auto, auto, 9px 9px; }
.sw-porcelain { background-image: linear-gradient(rgb(152 208 154 / .55) 1px, transparent 1px), linear-gradient(90deg, rgb(152 208 154 / .55) 1px, transparent 1px); background-size: 50% 50%; background-position: -1px -1px; }
.sw-feature { background-image: linear-gradient(rgb(152 208 154 / .5) 1px, transparent 1px), linear-gradient(90deg, rgb(152 208 154 / .5) 1px, transparent 1px), linear-gradient(45deg, rgb(152 208 154 / .14) 25%, transparent 25% 75%, rgb(152 208 154 / .14) 75%); background-size: 12.5% 12.5%, 12.5% 12.5%, 25% 25%; }
.sw-membrane { background-image: repeating-linear-gradient(45deg, transparent 0 6px, rgb(152 208 154 / .5) 6px 7px), repeating-linear-gradient(-45deg, transparent 0 6px, rgb(152 208 154 / .5) 6px 7px); }
.sw-chrome { background-image: linear-gradient(100deg, rgb(152 208 154 / .05) 20%, rgb(195 230 196 / .5) 35%, rgb(152 208 154 / .05) 50%, rgb(152 208 154 / .3) 70%, rgb(152 208 154 / .05) 85%); }
.sw-glazing { background-image: linear-gradient(transparent 49%, rgb(152 208 154 / .7) 49% 51%, transparent 51%), linear-gradient(90deg, transparent 49%, rgb(152 208 154 / .7) 49% 51%, transparent 51%), linear-gradient(135deg, transparent 38%, rgb(152 208 154 / .45) 38% 40%, transparent 40% 44%, rgb(152 208 154 / .45) 44% 46%, transparent 46%); }
.sw-roofing { background-image: repeating-linear-gradient(90deg, transparent 0 10px, rgb(152 208 154 / .55) 10px 11px, transparent 11px 14px, rgb(152 208 154 / .25) 14px 15px); }

/* ---- insurance band ---- */
.insure { background: var(--paper-2); }
.insure-in { display: grid; gap: 2rem; }
@media (min-width: 900px) { .insure-in { grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; } }
.insure p { color: var(--ink-2); }
.insure-side { padding: 1.6rem; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--card); }
.insure-big { font-size: 1.45rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink) !important; margin-bottom: .4rem; }
.bp-grid .insure-big { color: #fff !important; margin-top: 1.6rem; }

/* ---- client themes ---- */
.themes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .themes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .themes { grid-template-columns: repeat(4, 1fr); } }
.themes li { padding: 1.3rem 1.2rem; background: var(--card); border-top: 3px solid var(--sage); border-radius: 0 0 var(--r) var(--r); box-shadow: 0 1px 0 var(--rule); }
.themes b { display: block; font-weight: 600; font-size: 1.08rem; margin-bottom: .35rem; }
.themes span { color: var(--ink-2); font-size: .98rem; }
.themes-link { margin: 1.6rem 0 0; }

/* ---- area ---- */
.area-in { display: grid; gap: 2rem; }
@media (min-width: 900px) { .area-in { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; } }
.area p { color: var(--ink-2); }
.places { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.places li { padding: .45rem .85rem; border: 1.5px dashed color-mix(in srgb, var(--ink) 35%, transparent); border-radius: 999px; font-size: .95rem; }
.places li:first-child { border-style: solid; border-color: var(--sage-ink); color: var(--sage-ink); font-weight: 600; }
.bp-grid .places li { border-color: rgb(230 238 245 / .4); }

/* ---- contact band and forms ---- */
.contact-band { background: var(--paper-2); }
.contact-in { display: grid; gap: 2.4rem; }
@media (min-width: 900px) { .contact-in { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; align-items: start; } }
.contact-band p { color: var(--ink-2); }
.big-call { margin: 1.6rem 0 .8rem; }
.contact-mail a { font-weight: 600; overflow-wrap: anywhere; }
.form-card { padding: clamp(1.2rem, 3vw, 2rem); background: var(--card); border: 1px solid var(--rule); border-radius: calc(var(--r) + 2px); box-shadow: 0 24px 50px -36px rgb(15 36 51 / .45); }
.form-h { font-size: 1.45rem; }
.form .field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.form label, .mq .field label { font-weight: 600; font-size: .95rem; }
.row2 { display: grid; gap: 0 1rem; }
@media (min-width: 520px) { .row2 { grid-template-columns: 1fr 1fr; } }
input, textarea, select { font: inherit; color: var(--ink); }
.form input, .form textarea, .mq .field input, .mq .field textarea {
  width: 100%; min-height: 3rem; padding: .7rem .85rem;
  background: #fff; border: 1.5px solid #b9b4a8; border-radius: var(--r);
}
.form textarea, .mq textarea { min-height: 6rem; resize: vertical; }
.form input:focus, .form textarea:focus, .mq .field input:focus, .mq .field textarea:focus { outline: 3px solid var(--sage-ink); outline-offset: 1px; border-color: var(--sage-ink); }
.form .btn, .mq .field ~ .btn { width: 100%; }
.form-note { font-size: .88rem; color: var(--ink-2); margin: .9rem 0 0; }
.opt-note { font-weight: 400; color: var(--ink-2); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.carry-summary { --carry-accent: var(--sage-ink); background: #fff; }

/* the quote drawer, in the site's look */
.qd { border-top: 4px solid var(--sage); }
.qd-title { font-family: var(--head); font-weight: 600; letter-spacing: -.02em; }
.qd-close { font-family: var(--head); }
.qd .form-note { display: none; }

/* the bottom call bar */
.cb-foot { background: rgb(15 36 51 / .97); }
.cb-foot :is(a, button) { font-family: var(--head); border-radius: var(--r); }
.cb-foot .cb-call svg { width: 1.15rem; height: 1.15rem; flex: none; }
.carry-count:not([hidden]) { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; border-radius: 999px; background: var(--sage); color: #0c1a12; font-size: .8rem; font-weight: 700; }

/* ---- inner page parts ---- */
.split { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } .split-flip > :first-child { order: 2; } }
.split p { color: var(--ink-2); font-size: 1.05rem; }
.bp-grid .split p { color: #c9d8e4; }
.ticks { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .7rem; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 6px; border: 1.5px solid var(--sage-ink); border-radius: 1px; transform: translateY(-2px); }
.plan-cta { max-width: calc(var(--max) - 4rem); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; padding: 1.5rem clamp(1.2rem, 3vw, 2rem); background: var(--bp); color: var(--bp-ink); border-radius: var(--r); border-left: 6px solid var(--sage); }
@media (max-width: 760px) { .plan-cta { margin: 0 1rem; } }
.plan-cta .eyebrow { margin-bottom: .4rem; color: var(--sage); }
.plan-cta-t { margin: 0; font-size: 1.12rem; max-width: 40rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 1rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.steps li { counter-increment: st; padding: 1.3rem 1.2rem 1.4rem; border: 1px solid rgb(152 208 154 / .3); border-radius: var(--r); background: rgb(15 36 51 / .6); }
.steps li::before { content: counter(st, decimal-leading-zero); display: block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--sage); margin-bottom: .7rem; }
.steps b { display: block; color: #fff; font-weight: 600; font-size: 1.12rem; margin-bottom: .35rem; }
.steps span { color: #c9d8e4; font-size: .98rem; }
.steps-light li { background: var(--card); border-color: var(--rule); }
.steps-light li::before { color: var(--sage-ink); }
.steps-light b { color: var(--ink); }
.steps-light span { color: var(--ink-2); }
.kinds { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 800px) { .kinds { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.kinds li { padding: 1.5rem 1.4rem; border: 1px solid rgb(152 208 154 / .3); border-radius: var(--r); background: rgb(15 36 51 / .6); }
.kinds h3 { color: #fff; }
.kinds p { color: #c9d8e4; }
.kinds-light li { background: var(--card); border-color: var(--rule); }
.kinds-light h3 { color: var(--ink); } .kinds-light p { color: var(--ink-2); }
.trio { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 2.4rem; } }
.trio article { border-top: 1.5px solid var(--ink); padding-top: 1.2rem; }
.trio h2 { font-size: 1.55rem; }
.trio p { color: var(--ink-2); }
.mini-gal { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .mini-gal { grid-template-columns: repeat(3, 1fr); } }
.mini-gal a { display: grid; gap: .2rem; color: var(--ink); text-decoration: none; }
.mini-gal .sheet { margin-bottom: .5rem; }
.mini-t { font-weight: 600; } .mini-w { color: var(--ink-2); font-size: .92rem; }
.fact-card { padding: 1.6rem; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--card); }
.fact-card dl { margin: 0; display: grid; gap: .1rem; }
.fact-card dl > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.fact-card dl > div:last-child { border-bottom: 0; }
.fact-card dt { color: var(--ink-2); font-size: .9rem; } .fact-card dd { margin: 0; font-weight: 600; }

/* ---- gallery by room: a filter that needs no script ---- */
.gal-filter { border: 0; margin: 0 0 1.8rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.gal-filter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gal-filter label { padding: .55rem 1rem; border: 1.5px dashed color-mix(in srgb, var(--ink) 40%, transparent); border-radius: 999px; font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.gal-filter label:hover { border-style: solid; }
.gal-filter input:checked + label { background: var(--ink); border: 1.5px solid var(--ink); color: #fff; }
.gal-filter input:focus-visible + label { outline: 3px solid var(--sage-ink); outline-offset: 2px; }
.gal-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
@media (min-width: 680px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } }
.gcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: calc(var(--r) + 2px); overflow: hidden; }
.gcard .sheet { border-radius: 0; border: 0; box-shadow: none; }
.gcard-t { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.gcard-k { margin: 0 0 .35rem; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-ink); }
.gcard h2 { font-size: 1.3rem; margin-bottom: .4rem; }
.gcard p { color: var(--ink-2); font-size: .98rem; }
.gcard .text-link { margin-top: auto; align-self: flex-start; }
.gal-note { margin: 2rem 0 0; font-size: .9rem; color: var(--ink-2); }
.gal:has(#f-kitchens:checked) .gcard:not(.in-kitchens),
.gal:has(#f-bathrooms:checked) .gcard:not(.in-bathrooms),
.gal:has(#f-laundries:checked) .gcard:not(.in-laundries),
.gal:has(#f-whole-home:checked) .gcard:not(.in-whole-home),
.gal:has(#f-extensions:checked) .gcard:not(.in-extensions),
.gal:has(#f-outdoor:checked) .gcard:not(.in-outdoor),
.gal:has(#f-insurance:checked) .gcard:not(.in-insurance) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .gal:has(.gal-filter input:checked) .gcard { animation: gal-in .45s cubic-bezier(.2,.7,.2,1); }
  @keyframes gal-in { from { opacity: 0; transform: translateY(10px); } }
}

/* ---- the finishes library ---- */
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.jump a { padding: .5rem .95rem; border: 1.5px dashed rgb(230 238 245 / .45); border-radius: 999px; color: var(--bp-ink) !important; text-decoration: none; font-weight: 500; font-size: .95rem; }
.jump a:hover { border-style: solid; border-color: var(--sage); }
.fin-group + .fin-group { padding-top: 0; }
.fin-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
@media (min-width: 680px) { .fin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .fin-grid { grid-template-columns: repeat(3, 1fr); } }
.fcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: calc(var(--r) + 2px); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.fcard.is-picked { border-color: var(--sage-ink); box-shadow: 0 0 0 2px var(--sage-ink); }
.fcard-sw { aspect-ratio: 16 / 7; border: 0; border-radius: 0; border-bottom: 1.5px solid var(--sage); }
.fcode { position: absolute; left: .8rem; bottom: .7rem; padding: .2rem .5rem; background: var(--bp); border: 1px solid var(--sage); color: var(--sage); font-size: .75rem; font-weight: 600; letter-spacing: .12em; }
.fcard-t { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.fcard h3 { margin-bottom: .4rem; }
.fcard p { color: var(--ink-2); font-size: .98rem; }
.fsup { font-size: .88rem !important; }
.pick { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem 1rem; border: 1.5px dashed var(--ink); border-radius: var(--r); background: transparent; color: var(--ink); font: 600 .95rem var(--head); cursor: pointer; }
.pick::before { content: "+"; font-size: 1.1rem; line-height: 1; }
.pick:hover { border-style: solid; }
.pick[aria-pressed="true"] { background: var(--sage); border: 1.5px solid var(--sage-ink); color: #0c1a12; }
.pick[aria-pressed="true"]::before { content: "✓"; }
.pick .pick-on, .pick[aria-pressed="true"] .pick-off { display: none; }
.pick[aria-pressed="true"] .pick-on { display: inline; }
.pick[hidden] { display: none; }
.pick-tray { position: fixed; z-index: 40; right: 1rem; bottom: 1rem; display: flex; gap: 1rem; align-items: center; padding: .6rem .6rem .6rem 1.1rem; background: var(--bp); color: var(--bp-ink); border: 1px solid var(--sage); border-radius: var(--r); box-shadow: 0 18px 40px -16px rgb(0 0 0 / .5); }
.pick-tray[hidden] { display: none; }
.pick-tray p { margin: 0; }
.pick-tray b { color: var(--sage); }
@media (max-width: 760px) { .pick-tray { display: none !important; } }
.note-card { padding: 1.6rem clamp(1.2rem, 3vw, 2rem); border: 1.5px dashed var(--ink); border-radius: var(--r); max-width: 52rem; }
.note-card p { color: var(--ink-2); margin: 0; }

/* ---- contact page ---- */
.ways { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1.5px solid var(--ink); }
.ways li { display: grid; gap: .15rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.ways-k { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-ink); }
.ways-v { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.ways-mail { font-size: clamp(1rem, 4.2vw, 1.35rem); overflow-wrap: anywhere; }
.plan-mini { padding: 1.3rem; background: var(--paper-2); border-radius: var(--r); margin-bottom: 1.6rem; }
.plan-mini p { margin-bottom: .9rem; }
.social { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.social a { font-weight: 500; }
.social-dark a { color: var(--ink); }

/* ---- prose (privacy) ---- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose p { color: var(--ink-2); }

/* ---- 404 and the "sent" pages ---- */
.nf { min-height: 62vh; display: flex; align-items: center; padding: 4rem 0; }
.nf h1 { color: #fff; }
.nf-links { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }

/* ---- footer ---- */
.foot { background: #0b1b27; color: #c3d3e0; padding: clamp(3rem, 7vw, 4.5rem) 0 1.4rem; }
.foot-in { display: grid; gap: 2.2rem; }
@media (min-width: 820px) { .foot-in { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; } }
.foot .wm b { font-size: 1.5rem; } .foot .wm i { font-size: 1.15rem; }
.foot-brand p { margin: 1rem 0 0; max-width: 28rem; }
.foot a { color: #e6eef5; }
.foot-contact a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.foot h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin: .3rem 0 1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot-col a { text-decoration: none; } .foot-col a:hover { text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px solid rgb(169 192 211 / .2); font-size: .85rem; color: #9fb4c6; }
.foot-legal p { margin: 0; }
.foot-legal a { color: #9fb4c6; }
.credit { font-size: .8rem; }
@media (max-width: 760px) { .foot { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); } }

@media print {
  .cb-head, .pl, .cb-foot, .hero-media, .menu-btn, .qd { display: none !important; }
  .bp-grid, .hero, .foot { background: #fff !important; color: #000 !important; }
}
