/* Elevate Bathroom Renovations. Their colours: brown #382E23 and sand #F6DBBE (site and logo).
   Supporting tones from the materials in their jobs: brushed brass, terrazzo grey, sage tile. */
:root {
  --ink: #382e23;
  --ink-2: #4a3d30;
  --ink-deep: #2a221a;
  --sand: #f6dbbe;
  --sand-2: #efcfac;
  --paper: #fbf4ec;
  --stone: #6b6157;
  --brass: #b08a50;
  --sage: #a9b8a3;
  --terrazzo: #d9d4cb;
  --line: rgba(56, 46, 35, 0.16);
  --line-light: rgba(246, 219, 190, 0.22);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
  --max: 74rem;
  --cut: 23.32cqw;           /* tan(25deg) / 2: the angle of the band through their logo */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 7.4vw, 4.4rem); }
.h2 { font-size: clamp(1.75rem, 5.2vw, 3rem); }
.h3 { font-size: clamp(1.3rem, 3.4vw, 1.75rem); }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.small { font-size: 0.8125rem; }
.label {
  font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone);
  margin: 0 0 0.9rem;
}
.lede { font-size: clamp(1.06rem, 2.4vw, 1.25rem); max-width: 38em; color: var(--ink-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sand); color: var(--ink); padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- buttons: the bottom-left corner is cut at the logo's angle */
.btn {
  --notch: 0.9rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 3rem;
  padding: 0.8rem 1.35rem 0.8rem 1.55rem; font: 600 0.98rem/1.2 var(--sans); text-decoration: none; border: 0;
  cursor: pointer; clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--notch) * 0.466 * 2.2));
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.btn-solid { background: var(--sand); color: var(--ink); }
.btn-solid:hover { background: #fff1e2; }
.btn-light { background: var(--sand); color: var(--ink); }
.btn-line { background: transparent; color: var(--sand); box-shadow: inset 0 0 0 1px var(--line-light); clip-path: none; }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--sand); }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); clip-path: none; min-height: 2.75rem; padding: 0.6rem 1rem; font-size: 0.9rem; }
.btn-quiet:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn:active { transform: translateY(1px); }
.more { display: inline-flex; align-items: center; gap: 0.6em; font-weight: 600; text-decoration: none; padding: 0.6rem 0; min-height: 2.75rem; }
.more::after { content: ""; width: 1.6rem; height: 1px; background: currentColor; transform: rotate(-25deg); transition: width 0.3s var(--ease); }
.more:hover::after { width: 2.4rem; }

/* ---------- header */
.top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  padding: 0.7rem var(--pad); background: var(--ink); color: var(--sand); transition: padding 0.3s var(--ease), box-shadow 0.3s;
}
.top.is-scrolled { padding-top: 0.45rem; padding-bottom: 0.45rem; box-shadow: 0 1px 0 var(--line-light); }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 2.1rem; height: auto; transition: width 0.3s var(--ease); }
.top.is-scrolled .brand img { width: 1.75rem; }
.brand-name { font-weight: 600; letter-spacing: 0.02em; font-size: 1rem; }
.brand-name span { display: none; }
.menu-btn {
  font: 500 0.75rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand);
  background: none; border: 1px solid var(--line-light); padding: 0.75rem 0.9rem; min-height: 2.75rem; cursor: pointer;
}
.menu { list-style: none; margin: 0; padding: 0; }
.top-call { display: none; text-decoration: none; font-weight: 600; white-space: nowrap; }
.top-call .mono { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; margin-right: 0.4rem; }
@media (max-width: 959px) {
  .top nav { margin-left: auto; }
  .menu {
    position: fixed; inset: 3.7rem 0 auto 0; background: var(--ink); padding: 0.5rem var(--pad) 1.5rem;
    display: none; border-top: 1px solid var(--line-light);
  }
  .menu.is-open { display: block; }
  .menu a { display: block; padding: 0.85rem 0; font-size: 1.25rem; text-decoration: none; border-bottom: 1px solid var(--line-light); }
  .menu a[aria-current="page"] { color: #fff; }
  @media (scripting: none) { .menu-btn { display: none; } .menu { display: block; position: static; padding: 0; border: 0; } .top { flex-wrap: wrap; } }
}
@media (min-width: 960px) {
  .menu-btn { display: none; }
  .menu { display: flex; gap: 1.6rem; }
  .menu a { text-decoration: none; font-size: 0.95rem; opacity: 0.85; padding: 0.4rem 0; }
  .menu a:hover, .menu a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--brass); }
  .top-call { display: block; }
  .brand-name span { display: inline; font-weight: 400; opacity: 0.8; }
}

/* ---------- hero: their close-up, cut along the logo's band; the top piece lifts */
.hero { background: var(--ink); color: var(--sand); }
.hero-pic {
  position: relative; container-type: inline-size; height: 46svh; min-height: 18rem; max-height: 34rem;
  overflow: hidden; background: var(--sand);
}
.cut { position: absolute; inset: 0; }
.cut img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.cut-a { clip-path: polygon(0 calc(50% + var(--cut)), 100% calc(50% - var(--cut)), 100% 100%, 0 100%); }
.cut-b {
  clip-path: polygon(0 0, 100% 0, 100% calc(50% - var(--cut)), 0 calc(50% + var(--cut)));
  --lift: -0.7rem; animation: lift 1.6s var(--ease) 0.35s both;
}
@keyframes lift { from { transform: none; } to { transform: translateY(var(--lift)); } }
.hero-caption {
  position: absolute; right: 0.9rem; bottom: 0.7rem; margin: 0; color: #fff; letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.hero-words { padding: 1.6rem var(--pad) 2.4rem; }
.hero-words h1 { color: #fff7ee; max-width: 13ch; }
.hero-words .lede { color: var(--sand); opacity: 0.92; }
.hero-words .label { color: var(--sand); opacity: 0.78; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.4rem 0 1rem; }
.hero-proof { color: var(--sand); opacity: 0.8; margin: 0; }
@media (min-width: 960px) {
  .hero { display: grid; grid-template-columns: 58fr 42fr; min-height: calc(100svh - 4rem); }
  .hero-pic { height: auto; max-height: none; min-height: 100%; }
  .cut-b { --lift: -1.1rem; }
  .hero-words { align-self: center; padding: 3rem var(--pad); }
  .hero-words h1 { font-size: clamp(2.4rem, 4.3vw, 4rem); max-width: 12ch; }
}

/* ---------- places: their jobs from the range to the sea */
.places { padding: clamp(3.5rem, 9vw, 6.5rem) 0 2.5rem; }
.range-line { display: flex; align-items: center; gap: 0.8rem; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-top: 1.2rem; }
.range-line i { --p: 0; position: relative; flex: 1; height: 1px; background: var(--line); }
.range-line i::after {
  content: ""; position: absolute; top: -4px; left: calc(var(--p) * (100% - 9px)); width: 9px; height: 9px; border-radius: 50%;
  background: var(--brass); transition: left 0.2s linear;
}
.places-row {
  list-style: none; margin: 0; padding: 1.4rem var(--pad) 1rem; display: grid; grid-auto-flow: column;
  grid-auto-columns: min(78vw, 24rem); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad); overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--brass) transparent;
}
.place { scroll-snap-align: start; }
.place a { display: block; text-decoration: none; }
.place-pic { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--terrazzo); }
.place-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.place a:hover .place-pic img { transform: scale(1.035); }
.place-label { display: block; margin-top: 0.8rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.place-name { display: block; font-weight: 600; font-size: 1.1rem; margin-top: 0.15rem; }
@media (min-width: 960px) { .places-row { grid-auto-columns: calc((min(100vw, var(--max)) - 2 * var(--pad) - 2rem) / 3.2); padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); } }

/* ---------- "Can I shower tonight?" */
.tonight { background: var(--sand); padding: clamp(3.5rem, 9vw, 6.5rem) 0; position: relative; }
.tonight::before {        /* the logo's band, laid quietly across the corner */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2.4rem; background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}
.t-head, .t-stage { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.t-title { font-size: clamp(2rem, 6.4vw, 3.6rem); }
.t-only { border: 0; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; max-width: 30rem; }
.t-only legend { grid-column: 1 / -1; margin-bottom: 0.6rem; float: left; width: 100%; }
@media (max-width: 420px) { .t-only label { font-size: 0.88rem; } }
.t-only label {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.75rem; min-height: 2.75rem; line-height: 1.25;
  border: 1px solid var(--line); cursor: pointer; font-size: 0.95rem; background: rgba(255, 255, 255, 0.25);
}
.t-only label:has(input:checked) { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.t-only input { accent-color: var(--brass); margin: 0; }
.t-stage { display: grid; gap: 1.2rem; margin-top: 1.6rem; }
.t-figure { margin: 0; position: relative; aspect-ratio: 6 / 5; }
.t-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.5s ease; }
.t-img.is-on { opacity: 1; }
.t-figure figcaption { position: absolute; left: 0; bottom: -0.2rem; color: var(--stone); font-size: 0.68rem; letter-spacing: 0.06em; }
.t-control { margin-bottom: 1rem; }
.t-range { width: 100%; height: 2.75rem; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: grab; }
.t-range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--fill, 0%), var(--line) var(--fill, 0%)); }
.t-range::-moz-range-track { height: 2px; background: var(--line); }
.t-range::-moz-range-progress { height: 2px; background: var(--ink); }
.t-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 1.7rem; height: 1.7rem; margin-top: -0.82rem; border-radius: 50%;
  background: var(--brass); border: 3px solid var(--paper); box-shadow: 0 2px 8px rgba(56, 46, 35, 0.35);
}
.t-range::-moz-range-thumb { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--brass); border: 3px solid var(--paper); }
.t-range:focus-visible { outline: none; }
.t-range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--ink); outline-offset: 2px; }
.t-ticks { list-style: none; margin: 0.1rem 0 0.8rem; padding: 0; display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--stone); }
.t-ticks li.is-here { color: var(--ink); font-weight: 600; }
.t-buttons { display: flex; gap: 0.5rem; }
.t-steps { list-style: none; margin: 0; padding: 0; }
.t-step { padding: 1rem 0; border-top: 1px solid var(--line); }
@media (scripting: enabled) {
  .t-steps .t-step { display: none; border-top: 0; padding-top: 0; }
  .t-steps:not(:has(.is-current)) .t-step:first-child, .t-steps .t-step.is-current { display: block; }
  .t-steps .t-step.is-current { animation: stepIn 0.45s var(--ease); }
}
@media (scripting: none) { .t-note, .t-answer { display: none; } }
.t-n { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); margin: 0 0 0.3rem; }
.t-name { font-size: 1.5rem; margin: 0 0 0.35rem; }
.t-what { margin: 0 0 0.8rem; }
.t-who { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0 0 0.9rem; }
.t-who .label { margin: 0 0.3rem 0 0; }
.chip { font-size: 0.85rem; padding: 0.2rem 0.6rem; background: rgba(255, 255, 255, 0.45); border: 1px solid var(--line); }
.t-tonight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin: 0; }
.t-tonight div { padding: 0.6rem 0.7rem; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.3); }
.t-tonight dt { font: 500 0.68rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.t-tonight dd { margin: 0.2rem 0 0; font-weight: 600; font-size: 1.15rem; }
.t-tonight .on { background: var(--ink); border-color: var(--ink); }
.t-tonight .on dt { color: var(--sand); opacity: 0.8; }
.t-tonight .on dd { color: #fff7ee; }
.t-answer { margin: 0.9rem 0 1rem; font-size: 1.02rem; min-height: 3.2em; }
.t-answer:empty { display: none; }
.t-note { width: 100%; background: var(--ink); color: var(--sand); }
.t-note:hover { background: var(--ink-2); }
.after-tool { padding-top: 1rem; }
@keyframes stepIn { from { opacity: 0; transform: translateY(0.4rem); } to { opacity: 1; transform: none; } }
@media (min-width: 960px) {
  .t-stage { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 3rem; }
}

/* ---------- reviews */
.words { background: var(--ink); color: var(--sand); padding: clamp(3.5rem, 9vw, 6.5rem) 0 3rem; }
.words .label, .words .lede { color: var(--sand); }
.words .label { opacity: 0.75; }
.words .h2 { color: #fff7ee; }
.words-row {
  list-style: none; margin: 0; padding: 1.2rem var(--pad) 1rem; display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 28rem);
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--brass) transparent;
}
.words-row li { scroll-snap-align: start; }
.words blockquote { margin: 0; height: 100%; padding: 1.4rem; border: 1px solid var(--line-light); display: flex; flex-direction: column; justify-content: space-between; }
.words blockquote p { font-size: 1.02rem; }
.words blockquote footer { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
@media (min-width: 960px) { .words-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); max-width: var(--max); margin: 0 auto; overflow: visible; } }

/* ---------- services */
.svc { padding: clamp(3rem, 8vw, 6rem) 0 3rem; }
.svc-row { list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: var(--max); display: grid; gap: 0; }
.svc-row a {
  display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.1rem 0.8rem; padding: 1.1rem 0; text-decoration: none;
  border-top: 1px solid var(--line); position: relative;
}
.svc-row li:last-child a { border-bottom: 1px solid var(--line); }
.svc-row .mono { grid-row: span 2; font-size: 0.75rem; color: var(--stone); padding-top: 0.35rem; }
.svc-row strong { font-size: 1.25rem; }
.svc-row span:last-child { color: var(--ink-2); }
.svc-row a::after { content: ""; position: absolute; right: 0; top: 1.6rem; width: 1.2rem; height: 1px; background: var(--ink); transform: rotate(-25deg); transition: width 0.3s var(--ease); }
.svc-row a:hover::after { width: 2rem; }
@media (min-width: 960px) { .svc-row { grid-template-columns: repeat(3, 1fr); gap: 2rem; } .svc-row li:last-child a { border-bottom: 0; } .svc-row a { border-top: 2px solid var(--ink); } }

/* ---------- founder */
.founder { padding: 2.5rem 0 clamp(3.5rem, 9vw, 6rem); }
.founder-in { display: grid; gap: 1.6rem; align-items: center; grid-template-columns: 1fr; }
.founder-pic { max-width: 16rem; aspect-ratio: 3 / 4; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 92%); }
.founder-pic img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) { .founder-in { grid-template-columns: 0.7fr 1.3fr; gap: 3rem; } .founder-pic { max-width: none; } }

/* ---------- closer */
.closer { background: var(--ink); color: var(--sand); padding: clamp(3.5rem, 10vw, 7rem) 0; position: relative; overflow: hidden; }
.closer::before { content: ""; position: absolute; inset: auto -10% 0 -10%; height: 3.5rem; background: var(--ink-2); transform: skewY(-25deg); transform-origin: left bottom; opacity: 0.5; }
.closer-in { position: relative; }
.closer .label { color: var(--sand); opacity: 0.75; }
.closer .h2 { color: #fff7ee; }
.closer .lede { color: var(--sand); }
.big-phone { display: inline-block; font-size: clamp(2.2rem, 10vw, 4.8rem); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; color: #fff7ee; margin: 0.2rem 0 1rem; }
.big-phone.dark { color: var(--ink); font-size: clamp(2rem, 7vw, 3.2rem); }

/* ---------- page heads and inner pages */
.phead { background: var(--ink); color: var(--sand); }
.phead-in { padding-top: clamp(2.5rem, 8vw, 5rem); padding-bottom: clamp(2rem, 6vw, 3.5rem); }
.phead h1 { color: #fff7ee; max-width: 18ch; }
.phead .label { color: var(--sand); opacity: 0.75; }
.phead .lede { color: var(--sand); }
.phead-pic { max-height: 70svh; overflow: hidden; background: var(--sand); }
.phead-pic img { width: 100%; height: 100%; max-height: 70svh; object-fit: cover; }
.prose { padding-top: clamp(2.5rem, 7vw, 4.5rem); padding-bottom: 1rem; }
.prose > * { max-width: 40rem; }
.prose .h3 { margin-top: 1.8em; }
.mini-jobs { padding: 1.5rem 0 1rem; }
.also { padding-bottom: 3rem; }
.also ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 2rem; }
.jobs { padding: 1rem 0 3rem; }
.job { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) var(--pad); display: grid; gap: 1.2rem; scroll-margin-top: 4rem; }
.job-pic { overflow: hidden; background: var(--terrazzo); }
.job-pic img { width: 100%; max-height: 80svh; object-fit: cover; }
.job-pic.tall img { aspect-ratio: 4 / 5; }
.job + .job { border-top: 1px solid var(--line); }
@media (min-width: 960px) { .job { grid-template-columns: 1.6fr 1fr; align-items: end; gap: 3rem; } .job:nth-child(even) { grid-template-columns: 1fr 1.6fr; } .job:nth-child(even) .job-pic { order: 2; } }
.faq { padding-top: clamp(3rem, 8vw, 5rem); padding-bottom: 3rem; }
.faq details { border-top: 1px solid var(--line); max-width: 46rem; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 600; list-style: none; position: relative; min-height: 2.75rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.9rem; font: 400 1.3rem/1 var(--mono); color: var(--stone); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); max-width: 40rem; }
.contact-grid { display: grid; gap: 2.5rem; padding-top: clamp(2.5rem, 7vw, 4rem); padding-bottom: 4rem; }
.contact-grid .label { margin-top: 1.6rem; }
.hours { border-collapse: collapse; font-size: 0.9rem; }
.hours th { text-align: left; font-weight: 400; padding: 0.2rem 1.5rem 0.2rem 0; }
.quote-box { background: var(--sand); padding: clamp(1.4rem, 4vw, 2.4rem); scroll-margin-top: 5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }

/* ---------- the quote form, on the contact page and in the drawer */
.quote { display: grid; gap: 0.35rem; }
.quote label { font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.6rem; }
.quote input, .quote textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1px solid rgba(56, 46, 35, 0.35); border-radius: 0;
  padding: 0.75rem 0.85rem; min-height: 2.9rem; width: 100%;
}
.quote input:focus, .quote textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--ink); }
.quote .btn { margin-top: 1rem; background: var(--ink); color: var(--sand); }
.quote .btn:hover { background: var(--ink-2); }
.quote .small { color: var(--stone); margin-top: 0.4rem; }
.drawer {
  border: 0; padding: 1.4rem var(--pad) calc(1.6rem + env(safe-area-inset-bottom)); margin: auto 0 0; width: 100%; max-width: 100%;
  max-height: 92svh; background: var(--sand); color: var(--ink); overflow-y: auto;
  transform: translateY(100%); transition: transform 0.45s var(--ease), overlay 0.45s allow-discrete, display 0.45s allow-discrete;
}
.drawer[open] { transform: none; }
@starting-style { .drawer[open] { transform: translateY(100%); } }
.drawer::backdrop { background: rgba(42, 34, 26, 0.55); }
.drawer h2 { font-size: 1.6rem; max-width: 18ch; }
.drawer-close-form { position: absolute; right: var(--pad); top: 1rem; margin: 0; }
.drawer-close { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; background: none; border: 1px solid var(--line); padding: 0.7rem 0.8rem; min-height: 2.75rem; cursor: pointer; color: var(--ink); }
@media (min-width: 760px) { .drawer { max-width: 34rem; margin: auto 1.5rem 1.5rem auto; } }
.form-done { font-weight: 600; }

/* ---------- footer and the phone bar */
.foot { background: var(--ink-deep); color: var(--sand); padding: 3.5rem var(--pad) 6.5rem; }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.foot-grid > :first-child { grid-column: 1 / -1; }
.foot .label { color: var(--sand); opacity: 0.7; }
.foot-mark { width: 2.6rem; margin-bottom: 1rem; }
.foot-line { opacity: 0.85; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { display: inline-block; padding: 0.35rem 0; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot a[href^="tel"] { font-size: 1.3rem; font-weight: 600; text-decoration: none; }
.foot-legal { max-width: var(--max); margin: 2.5rem auto 0; opacity: 0.75; border-top: 1px solid var(--line-light); padding-top: 1.2rem; }
.credit { max-width: var(--max); margin: 0.3rem auto 0; opacity: 0.6; }
.credit a { text-decoration: none; }
@media (min-width: 960px) { .foot { padding-bottom: 3rem; } .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot-grid > :first-child { grid-column: auto; } }
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr auto;
  background: var(--ink); color: var(--sand); padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -1px 0 var(--line-light); transition: box-shadow 0.3s, background-color 0.3s;
}
.callbar.is-raised { box-shadow: 0 -10px 30px rgba(42, 34, 26, 0.28); }
.callbar a { display: flex; flex-direction: column; justify-content: center; padding: 0.55rem var(--pad); min-height: 3.6rem; text-decoration: none; }
.callbar-call .mono { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.callbar-call strong { font-size: 1.15rem; color: #fff7ee; }
.callbar-quote { background: var(--sand); color: var(--ink); font-weight: 600; align-items: center; clip-path: polygon(1.1rem 0, 100% 0, 100% 100%, 0 100%); padding-left: 2rem !important; }
@media (min-width: 960px) { .callbar { display: none; } }

/* ---------- 404 */
.lost { position: relative; overflow: hidden; padding-bottom: 2rem; }
.lost-img { width: min(100%, 44rem); margin: 0 auto; padding: 0 var(--pad); }
.lost-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn-line.light { color: var(--sand); }

/* ---------- motion: sections arrive as they scroll in; a job's picture is carried into its own page */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .places .wrap, .svc-row li, .founder-in, .words .wrap, .job-words, .t-head, .closer-in, .prose > * {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(1.6rem); } to { opacity: 1; transform: none; } }
@view-transition { navigation: auto; }
.job:target .job-pic img { view-transition-name: carry; }
::view-transition-group(carry) { animation-duration: 0.55s; animation-timing-function: var(--ease); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
